mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 07:49:37 +08:00
255 lines
2.6 MiB
Executable File
255 lines
2.6 MiB
Executable File
#!/usr/bin/env node
|
||
var E9=Object.defineProperty;var e0e=Object.getOwnPropertyDescriptor;var t0e=Object.getOwnPropertyNames;var r0e=Object.prototype.hasOwnProperty;var n0e=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),i0e=(e,t)=>{for(var r in t)E9(e,r,{get:t[r],enumerable:!0})},a0e=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of t0e(t))!r0e.call(e,i)&&i!==r&&E9(e,i,{get:()=>t[i],enumerable:!(n=e0e(t,i))||n.enumerable});return e};var Oi=e=>a0e(E9({},"__esModule",{value:!0}),e);var m1=h(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.isString=x9;en.isNumber=sM;en.isBoolean=lM;en.isObject=dv;en.isFunction=O9;en.isPlainObject=pv;en.isDictionary=o0e;en.isInstance=s0e;en.isClassAssignableTo=l0e;en.isArray=C9;en.isArrayLike=c0e;en.isAnyJson=u0e;en.isJsonMap=d0e;en.isJsonArray=p0e;en.isKeyOf=f0e;function x9(e){return typeof e=="string"}function sM(e){return typeof e=="number"}function lM(e){return typeof e=="boolean"}function dv(e){return e!=null&&(typeof e=="object"||typeof e=="function")}function O9(e){return typeof e=="function"}function pv(e){let t=n=>dv(n)&&Object.prototype.toString.call(n)==="[object Object]";if(!t(e))return!1;let r=e.constructor;return!(!O9(r)||!t(r.prototype)||!r.prototype.hasOwnProperty("isPrototypeOf"))}function o0e(e){return pv(e)}function s0e(e,t){return e instanceof t}function l0e(e,t){return e===t||((n,i)=>dv(n)&&i in n)(e,"prototype")&&e.prototype instanceof t}function C9(e){return Array.isArray(e)}function c0e(e){let t=r=>dv(r)&&"length"in r;return!O9(e)&&(x9(e)||t(e))}function u0e(e){return e===null||x9(e)||sM(e)||lM(e)||pv(e)||C9(e)}function d0e(e){return pv(e)}function p0e(e){return C9(e)}function f0e(e,t){return Object.keys(e).includes(t)}});var gd=h(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.asString=m0e;Ci.asNumber=h0e;Ci.asBoolean=g0e;Ci.asObject=y0e;Ci.asPlainObject=b0e;Ci.asDictionary=v0e;Ci.asInstance=_0e;Ci.asArray=w0e;Ci.asFunction=S0e;Ci.asJsonMap=E0e;Ci.asJsonArray=x0e;var Xa=m1();function m0e(e,t){return(0,Xa.isString)(e)?e:t}function h0e(e,t){return(0,Xa.isNumber)(e)?e:t}function g0e(e,t){return(0,Xa.isBoolean)(e)?e:t}function y0e(e,t){return(0,Xa.isObject)(e)?e:t}function b0e(e,t){return(0,Xa.isPlainObject)(e)?e:t}function v0e(e,t){return(0,Xa.isDictionary)(e)?e:t}function _0e(e,t,r){return(0,Xa.isInstance)(e,t)?e:r}function w0e(e,t){return(0,Xa.isArray)(e)?e:t}function S0e(e,t){return(0,Xa.isFunction)(e)?e:t}function E0e(e,t){return(0,Xa.isJsonMap)(e)?e:t}function x0e(e,t){return(0,Xa.isJsonArray)(e)?e:t}});var fv=h($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.JsonCloneError=$o.UnexpectedValueTypeError=$o.AssertionFailedError=$o.NamedError=void 0;var cf=class extends Error{name;constructor(t,r){super(r),this.name=t}};$o.NamedError=cf;var T9=class extends cf{constructor(t){super("AssertionFailedError",t)}};$o.AssertionFailedError=T9;var I9=class extends cf{constructor(t){super("UnexpectedValueTypeError",t)}};$o.UnexpectedValueTypeError=I9;var A9=class extends cf{constructor(t){super("JsonCloneError",t.message)}};$o.JsonCloneError=A9});var mv=h(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});h1.toAnyJson=D9;h1.toJsonMap=C0e;h1.toJsonArray=T0e;var O0e=fv(),cM=gd();function D9(e,t){try{return e!==void 0?JSON.parse(JSON.stringify(e)):t}catch(r){throw new O0e.JsonCloneError(r)}}function C0e(e,t){return(0,cM.asJsonMap)(D9(e))??t}function T0e(e,t){return(0,cM.asJsonArray)(D9(e))??t}});var dM=h(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.assert=uM;wn.assertNonNull=Ti;wn.assertString=D0e;wn.assertNumber=L0e;wn.assertBoolean=k0e;wn.assertObject=N0e;wn.assertPlainObject=j0e;wn.assertDictionary=P0e;wn.assertInstance=M0e;wn.assertArray=R0e;wn.assertFunction=F0e;wn.assertAnyJson=$0e;wn.assertJsonMap=U0e;wn.assertJsonArray=z0e;var I0e=fv(),Ya=gd(),A0e=mv();function uM(e,t){if(!e)throw new I0e.AssertionFailedError(t??"Assertion condition was false")}function Ti(e,t){uM(e!=null,t??"Value is not defined")}function D0e(e,t){Ti((0,Ya.asString)(e),t??"Value is not a string")}function L0e(e,t){Ti((0,Ya.asNumber)(e),t??"Value is not a number")}function k0e(e,t){Ti((0,Ya.asBoolean)(e),t??"Value is not a boolean")}function N0e(e,t){Ti((0,Ya.asObject)(e),t??"Value is not an object")}function j0e(e,t){Ti((0,Ya.asPlainObject)(e),t??"Value is not a plain object")}function P0e(e,t){Ti((0,Ya.asDictionary)(e),t??"Value is not a dictionary object")}function M0e(e,t,r){Ti((0,Ya.asInstance)(e,t),r??`Value is not an instance of ${t.name}`)}function R0e(e,t){Ti((0,Ya.asArray)(e),t??"Value is not an array")}function F0e(e,t){Ti((0,Ya.asFunction)(e),t??"Value is not a function")}function $0e(e,t){Ti((0,A0e.toAnyJson)(e),t??"Value is not a JSON-compatible value type")}function U0e(e,t){Ti((0,Ya.asJsonMap)(e),t??"Value is not a JsonMap")}function z0e(e,t){Ti((0,Ya.asJsonArray)(e),t??"Value is not a JsonArray")}});var k9=h(g1=>{"use strict";Object.defineProperty(g1,"__esModule",{value:!0});g1.coerceAnyJson=L9;g1.coerceJsonMap=B0e;g1.coerceJsonArray=V0e;var pM=gd(),q0e=m1();function L9(e,t){return(0,q0e.isAnyJson)(e)?e:t}function B0e(e,t){return(0,pM.asJsonMap)(L9(e))??t}function V0e(e,t){return(0,pM.asJsonArray)(L9(e))??t}});var fM=h(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.ensure=Ii;Fn.ensureString=H0e;Fn.ensureNumber=G0e;Fn.ensureBoolean=J0e;Fn.ensureObject=K0e;Fn.ensurePlainObject=X0e;Fn.ensureDictionary=Y0e;Fn.ensureInstance=Q0e;Fn.ensureArray=eye;Fn.ensureFunction=tye;Fn.ensureAnyJson=rye;Fn.ensureJsonMap=nye;Fn.ensureJsonArray=iye;var W0e=fv(),Qa=gd(),Z0e=mv();function Ii(e,t){if(e==null)throw new W0e.UnexpectedValueTypeError(t??"Value is not defined");return e}function H0e(e,t){return Ii((0,Qa.asString)(e),t??"Value is not a string")}function G0e(e,t){return Ii((0,Qa.asNumber)(e),t??"Value is not a number")}function J0e(e,t){return Ii((0,Qa.asBoolean)(e),t??"Value is not a boolean")}function K0e(e,t){return Ii((0,Qa.asObject)(e),t??"Value is not an object")}function X0e(e,t){return Ii((0,Qa.asPlainObject)(e),t??"Value is not a plain object")}function Y0e(e,t){return Ii((0,Qa.asDictionary)(e),t??"Value is not a dictionary object")}function Q0e(e,t,r){return Ii((0,Qa.asInstance)(e,t),r??`Value is not an instance of ${t.name}`)}function eye(e,t){return Ii((0,Qa.asArray)(e),t??"Value is not an array")}function tye(e,t){return Ii((0,Qa.asFunction)(e),t??"Value is not a function")}function rye(e,t){return Ii((0,Z0e.toAnyJson)(e),t??"Value is not a JSON-compatible value type")}function nye(e,t){return Ii((0,Qa.asJsonMap)(e),t??"Value is not a JsonMap")}function iye(e,t){return Ii((0,Qa.asJsonArray)(e),t??"Value is not a JsonArray")}});var j9=h($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.has=eo;$n.hasString=aye;$n.hasNumber=oye;$n.hasBoolean=sye;$n.hasObject=lye;$n.hasPlainObject=cye;$n.hasDictionary=uye;$n.hasInstance=dye;$n.hasArray=pye;$n.hasFunction=fye;$n.hasAnyJson=N9;$n.hasJsonMap=mye;$n.hasJsonArray=hye;var Ai=m1();function eo(e,t){return(0,Ai.isObject)(e)&&((0,Ai.isArray)(t)?t.every(r=>r in e):t in e)}function aye(e,t){return eo(e,t)&&(0,Ai.isString)(e[t])}function oye(e,t){return eo(e,t)&&(0,Ai.isNumber)(e[t])}function sye(e,t){return eo(e,t)&&(0,Ai.isBoolean)(e[t])}function lye(e,t){return eo(e,t)&&(0,Ai.isObject)(e[t])}function cye(e,t){return eo(e,t)&&(0,Ai.isPlainObject)(e[t])}function uye(e,t){return eo(e,t)&&(0,Ai.isDictionary)(e[t])}function dye(e,t,r){return eo(e,t)&&e[t]instanceof r}function pye(e,t){return eo(e,t)&&(0,Ai.isArray)(e[t])}function fye(e,t){return eo(e,t)&&(0,Ai.isFunction)(e[t])}function N9(e,t){return eo(e,t)&&(0,Ai.isAnyJson)(e[t])}function mye(e,t){return N9(e,t)&&(0,Ai.isJsonMap)(e[t])}function hye(e,t){return N9(e,t)&&(0,Ai.isJsonArray)(e[t])}});var mM=h(P9=>{"use strict";Object.defineProperty(P9,"__esModule",{value:!0});P9.valueOrDefault=gye;function gye(e,t){return e!=null||t===void 0?e:t}});var hM=h(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.get=ro;Un.getString=vye;Un.getNumber=_ye;Un.getBoolean=wye;Un.getObject=Sye;Un.getPlainObject=Eye;Un.getDictionary=xye;Un.getInstance=Oye;Un.getArray=Cye;Un.getFunction=Tye;Un.getAnyJson=M9;Un.getJsonMap=Iye;Un.getJsonArray=Aye;var to=gd(),yye=k9(),bye=j9(),Di=mM();function ro(e,t,r){return(0,Di.valueOrDefault)(t.split(/['"]/).reduce((n,i,a)=>a%2===1?[...n,i]:[...n,...i.split(/[.[\]]/)],[]).filter(n=>!!n).reduce((n,i)=>(0,bye.has)(n,i)?n[i]:void 0,e),r)}function vye(e,t,r){return(0,Di.valueOrDefault)((0,to.asString)(ro(e,t)),r)}function _ye(e,t,r){return(0,Di.valueOrDefault)((0,to.asNumber)(ro(e,t)),r)}function wye(e,t,r){return(0,Di.valueOrDefault)((0,to.asBoolean)(ro(e,t)),r)}function Sye(e,t,r){return(0,Di.valueOrDefault)((0,to.asObject)(ro(e,t)),r)}function Eye(e,t,r){return(0,Di.valueOrDefault)((0,to.asPlainObject)(ro(e,t)),r)}function xye(e,t,r){return(0,Di.valueOrDefault)((0,to.asDictionary)(ro(e,t)),r)}function Oye(e,t,r,n){return(0,Di.valueOrDefault)((0,to.asInstance)(ro(e,t),r),n)}function Cye(e,t,r){return(0,Di.valueOrDefault)((0,to.asArray)(ro(e,t)),r)}function Tye(e,t,r){return(0,Di.valueOrDefault)((0,to.asFunction)(ro(e,t)),r)}function M9(e,t,r){return(0,Di.valueOrDefault)((0,yye.coerceAnyJson)(ro(e,t)),r)}function Iye(e,t,r){return(0,Di.valueOrDefault)((0,to.asJsonMap)(M9(e,t)),r)}function Aye(e,t,r){return(0,Di.valueOrDefault)((0,to.asJsonArray)(M9(e,t)),r)}});var yM=h(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.keysOf=Dye;Pc.entriesOf=gM;Pc.valuesOf=Lye;Pc.definiteEntriesOf=R9;Pc.definiteKeysOf=kye;Pc.definiteValuesOf=Nye;function Dye(e){return Object.keys(e??{})}function gM(e){return Object.entries(e??{})}function Lye(e){return Object.values(e??{})}function R9(e){return gM(e).filter(t=>t[1]!=null)}function kye(e){return R9(e).map(t=>t[0])}function Nye(e){return R9(e).map(t=>t[1])}});var bM=h(zn=>{"use strict";var jye=zn&&zn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ol=zn&&zn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&jye(t,e,r)};Object.defineProperty(zn,"__esModule",{value:!0});Ol(gd(),zn);Ol(dM(),zn);Ol(k9(),zn);Ol(fM(),zn);Ol(hM(),zn);Ol(j9(),zn);Ol(m1(),zn);Ol(yM(),zn);Ol(mv(),zn)});var _M=h(vM=>{"use strict";Object.defineProperty(vM,"__esModule",{value:!0})});var SM=h(wM=>{"use strict";Object.defineProperty(wM,"__esModule",{value:!0})});var xM=h(EM=>{"use strict";Object.defineProperty(EM,"__esModule",{value:!0})});var CM=h(OM=>{"use strict";Object.defineProperty(OM,"__esModule",{value:!0})});var IM=h(TM=>{"use strict";Object.defineProperty(TM,"__esModule",{value:!0})});var DM=h(AM=>{"use strict";Object.defineProperty(AM,"__esModule",{value:!0})});var kM=h(LM=>{"use strict";Object.defineProperty(LM,"__esModule",{value:!0})});var NM=h(Li=>{"use strict";var Pye=Li&&Li.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),yd=Li&&Li.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Pye(t,e,r)};Object.defineProperty(Li,"__esModule",{value:!0});yd(_M(),Li);yd(SM(),Li);yd(xM(),Li);yd(CM(),Li);yd(IM(),Li);yd(DM(),Li);yd(kM(),Li)});var Ke=h(Mc=>{"use strict";var Mye=Mc&&Mc.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),jM=Mc&&Mc.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Mye(t,e,r)};Object.defineProperty(Mc,"__esModule",{value:!0});jM(bM(),Mc);jM(NM(),Mc)});var PM=h(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.AsyncOptionalCreatable=uf.AsyncCreatable=void 0;var F9=class{constructor(t){}static async create(t){let r=new this(t);return await r.init(),r}};uf.AsyncCreatable=F9;var $9=class{constructor(t){}static async create(t){let r=new this(t);return await r.init(),r}};uf.AsyncOptionalCreatable=$9});var U9=h(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.Duration=void 0;df.sleep=Rye;var Cl=class e{static MILLIS_IN_SECONDS=1e3;static SECONDS_IN_MINUTE=60;static MINUTES_IN_HOUR=60;static HOURS_IN_DAY=24;static DAYS_IN_WEEK=7;quantity;unit;constructor(t,r=e.Unit.MINUTES){this.quantity=t,this.unit=r}get minutes(){switch(this.unit){case e.Unit.MILLISECONDS:return Math.round(this.quantity/e.MILLIS_IN_SECONDS/e.SECONDS_IN_MINUTE);case e.Unit.SECONDS:return Math.round(this.quantity/e.SECONDS_IN_MINUTE);case e.Unit.MINUTES:return this.quantity;case e.Unit.HOURS:return this.quantity*e.MINUTES_IN_HOUR;case e.Unit.DAYS:return this.quantity*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY;case e.Unit.WEEKS:return this.quantity*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY*e.DAYS_IN_WEEK}}get hours(){switch(this.unit){case e.Unit.MILLISECONDS:return Math.round(this.quantity/e.MILLIS_IN_SECONDS/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR);case e.Unit.SECONDS:return Math.round(this.quantity/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR);case e.Unit.MINUTES:return Math.round(this.quantity/e.MINUTES_IN_HOUR);case e.Unit.HOURS:return this.quantity;case e.Unit.DAYS:return this.quantity*e.HOURS_IN_DAY;case e.Unit.WEEKS:return this.quantity*e.HOURS_IN_DAY*e.DAYS_IN_WEEK}}get milliseconds(){switch(this.unit){case e.Unit.MILLISECONDS:return this.quantity;case e.Unit.SECONDS:return this.quantity*e.MILLIS_IN_SECONDS;case e.Unit.MINUTES:return this.quantity*e.MILLIS_IN_SECONDS*e.SECONDS_IN_MINUTE;case e.Unit.HOURS:return this.quantity*e.MILLIS_IN_SECONDS*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR;case e.Unit.DAYS:return this.quantity*e.MILLIS_IN_SECONDS*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY;case e.Unit.WEEKS:return this.quantity*e.MILLIS_IN_SECONDS*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY*e.DAYS_IN_WEEK}}get seconds(){switch(this.unit){case e.Unit.MILLISECONDS:return Math.round(this.quantity/e.MILLIS_IN_SECONDS);case e.Unit.SECONDS:return this.quantity;case e.Unit.MINUTES:return this.quantity*e.SECONDS_IN_MINUTE;case e.Unit.HOURS:return this.quantity*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR;case e.Unit.DAYS:return this.quantity*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY;case e.Unit.WEEKS:return this.quantity*e.SECONDS_IN_MINUTE*e.MINUTES_IN_HOUR*e.HOURS_IN_DAY*e.DAYS_IN_WEEK}}get days(){switch(this.unit){case e.Unit.MILLISECONDS:return Math.round(this.quantity/e.MILLIS_IN_SECONDS/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY);case e.Unit.SECONDS:return Math.round(this.quantity/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY);case e.Unit.MINUTES:return Math.round(this.quantity/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY);case e.Unit.HOURS:return Math.round(this.quantity/e.HOURS_IN_DAY);case e.Unit.DAYS:return this.quantity;case e.Unit.WEEKS:return this.quantity*e.DAYS_IN_WEEK}}get weeks(){switch(this.unit){case e.Unit.MILLISECONDS:return Math.round(this.quantity/e.MILLIS_IN_SECONDS/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY/e.DAYS_IN_WEEK);case e.Unit.SECONDS:return Math.round(this.quantity/e.SECONDS_IN_MINUTE/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY/e.DAYS_IN_WEEK);case e.Unit.MINUTES:return Math.round(this.quantity/e.MINUTES_IN_HOUR/e.HOURS_IN_DAY/e.DAYS_IN_WEEK);case e.Unit.HOURS:return Math.round(this.quantity/e.HOURS_IN_DAY/e.DAYS_IN_WEEK);case e.Unit.DAYS:return Math.round(this.quantity/e.DAYS_IN_WEEK);case e.Unit.WEEKS:return this.quantity}}static milliseconds(t){return new e(t,e.Unit.MILLISECONDS)}static seconds(t){return new e(t,e.Unit.SECONDS)}static minutes(t){return new e(t,e.Unit.MINUTES)}static hours(t){return new e(t,e.Unit.HOURS)}static days(t){return new e(t,e.Unit.DAYS)}static weeks(t){return new e(t,e.Unit.WEEKS)}toString(){return Fye(this.quantity,this.unit)}};df.Duration=Cl;(function(e){let t;(function(r){r[r.MINUTES=0]="MINUTES",r[r.MILLISECONDS=1]="MILLISECONDS",r[r.SECONDS=2]="SECONDS",r[r.HOURS=3]="HOURS",r[r.DAYS=4]="DAYS",r[r.WEEKS=5]="WEEKS"})(t=e.Unit||(e.Unit={}))})(Cl||(df.Duration=Cl={}));function Rye(e,t=Cl.Unit.MILLISECONDS){let r=e instanceof Cl?e:new Cl(e,t),n,i,a=()=>{n&&(clearTimeout(n),n=void 0,i())},o=new Promise(s=>{i=s,n=setTimeout(a,r.milliseconds)});return Object.assign(o,{interrupt:a})}var Fye=(e,t)=>{let r=Cl.Unit[t].toLowerCase();return`${e} ${e===1?r.slice(0,r.length-1):r}`}});var hv=h(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.InvalidDefaultEnvValueError=aa.JsonDataFormatError=aa.JsonStringifyError=aa.JsonParseError=aa.NamedError=void 0;var $ye=require("node:util"),bd=class extends Error{name;cause;constructor(t,r,n){typeof r=="string"?(super(r),this.cause=n):(super(),this.cause=r),this.name=t}get fullStack(){return(0,$ye.inspect)(this)}};aa.NamedError=bd;var z9=class e extends bd{path;line;errorPortion;constructor(t,r,n,i){super("JsonParseError",e.format(t,r,n,i),t),this.path=r,this.line=n,this.errorPortion=i}static create(t,r,n){let i=/position (\d+)/.exec(t.message);if(!i)return new e(t,n);let a=parseInt(i[1],10),o=20,s=Math.max(0,a-o),l=Math.min(r.length,a+o),c=r.slice(s,l),u=r.slice(0,a).split(`
|
||
`).length;return new e(t,n,u,c)}static format(t,r,n,i){return n==null?t.message||"Unknown cause":`Parse error in file ${r??"unknown"} on line ${n}
|
||
${i??t.message}`}};aa.JsonParseError=z9;var q9=class extends bd{constructor(t){super("JsonStringifyError",t)}};aa.JsonStringifyError=q9;var B9=class extends bd{constructor(t){super("JsonDataFormatError",t)}};aa.JsonDataFormatError=B9;var V9=class extends bd{constructor(t){super("InvalidDefaultEnvValueError",t)}};aa.InvalidDefaultEnvValueError=V9});var MM=h((pf,y1)=>{(function(){function e(g,x,L){switch(L.length){case 0:return g.call(x);case 1:return g.call(x,L[0]);case 2:return g.call(x,L[0],L[1]);case 3:return g.call(x,L[0],L[1],L[2])}return g.apply(x,L)}function t(g,x,L,U){for(var V=-1,Q=g==null?0:g.length;++V<Q;){var X=g[V];x(U,X,L(X),g)}return U}function r(g,x){for(var L=-1,U=g==null?0:g.length;++L<U&&x(g[L],L,g)!==!1;);}function n(g,x){for(var L=-1,U=g==null?0:g.length,V=0,Q=[];++L<U;){var X=g[L];x(X,L,g)&&(Q[V++]=X)}return Q}function i(g,x){for(var L=-1,U=g==null?0:g.length,V=Array(U);++L<U;)V[L]=x(g[L],L,g);return V}function a(g,x){for(var L=-1,U=x.length,V=g.length;++L<U;)g[V+L]=x[L];return g}function o(g,x){for(var L=-1,U=g==null?0:g.length;++L<U;)if(x(g[L],L,g))return!0;return!1}function s(g,x,L){var U;return L(g,function(V,Q,X){if(x(V,Q,X))return U=Q,!1}),U}function l(g){return function(x){return x==null?Ee:x[g]}}function c(g,x){var L=g.length;for(g.sort(x);L--;)g[L]=g[L].c;return g}function u(g){return function(x){return g(x)}}function d(g,x){return i(x,function(L){return g[L]})}function f(g){var x=-1,L=Array(g.size);return g.forEach(function(U,V){L[++x]=[V,U]}),L}function p(g){var x=Object;return function(L){return g(x(L))}}function m(g){var x=-1,L=Array(g.size);return g.forEach(function(U){L[++x]=U}),L}function y(g){for(var x=g.length;x--&&xge.test(g.charAt(x)););return x}function v(){}function S(g){var x=-1,L=g==null?0:g.length;for(this.clear();++x<L;){var U=g[x];this.set(U[0],U[1])}}function E(g){var x=-1,L=g==null?0:g.length;for(this.clear();++x<L;){var U=g[x];this.set(U[0],U[1])}}function w(g){var x=-1,L=g==null?0:g.length;for(this.clear();++x<L;){var U=g[x];this.set(U[0],U[1])}}function _(g){var x=-1,L=g==null?0:g.length;for(this.__data__=new w;++x<L;)this.add(g[x])}function b(g){this.size=(this.__data__=new E(g)).size}function A(g,x){var L=Qr(g),U=!L&&sf(g),V=!L&&!U&&lf(g),Q=!L&&!U&&!V&&sv(g);if(L=L||U||V||Q){for(var U=g.length,Ae=String,X=-1,ue=Array(U);++X<U;)ue[X]=Ae(X);U=ue}else U=[];var we,Ae=U.length;for(we in g)!x&&!Rn.call(g,we)||L&&(we=="length"||V&&(we=="offset"||we=="parent")||Q&&(we=="buffer"||we=="byteLength"||we=="byteOffset")||Kb(we,Ae))||U.push(we);return U}function j(g,x,L){(L===Ee||ud(g[x],L))&&(L!==Ee||x in g)||$(g,x,L)}function P(g,x,L){var U=g[x];Rn.call(g,x)&&ud(U,L)&&(L!==Ee||x in g)||$(g,x,L)}function T(g,x){for(var L=g.length;L--;)if(ud(g[L][0],x))return L;return-1}function N(g,x,L,U){return tM(g,function(V,Q,X){x(U,V,L(V),X)}),U}function k(g,x){return g&&kc(x,dd(x),g)}function B(g,x){return g&&kc(x,pd(x),g)}function $(g,x,L){x=="__proto__"&&av?av(g,x,{configurable:!0,enumerable:!0,value:L,writable:!0}):g[x]=L}function K(g,x,L,U,V,Q){var X,ue=1&x,$e=2&x,we=4&x;if(L&&(X=V?L(g,U,V,Q):L(g)),X!==Ee)return X;if(!Mn(g))return g;if(U=Qr(g)){if(X=yge(g),!ue)return na(g,X)}else{var Ae=Ka(g),Ze=Ae=="[object Function]"||Ae=="[object GeneratorFunction]";if(lf(g))return Yr(g,ue);if(Ae=="[object Object]"||Ae=="[object Arguments]"||Ze&&!V){if(X=$e||Ze?{}:xP(g),!ue)return $e?l1(g,B(X,g)):Hb(g,k(X,g))}else{if(!It[Ae])return V?g:{};X=bge(g,Ae,ue)}}if(Q||(Q=new b),V=Q.get(g))return V;Q.set(g,X),oM(g)?g.forEach(function(zt){X.add(K(zt,x,L,zt,g,Q))}):aM(g)&&g.forEach(function(zt,hr){X.set(hr,K(zt,x,L,hr,g,Q))});var $e=we?$e?EP:r9:$e?pd:dd,Nt=U?Ee:$e(g);return r(Nt||g,function(zt,hr){Nt&&(hr=zt,zt=g[hr]),P(X,hr,K(zt,x,L,hr,g,Q))}),X}function ae(g,x,L){for(var U=-1,V=g.length;++U<V;){var Q=g[U],X=x(Q);if(X!=null&&(ue===Ee?X===X&&!jc(X):L(X,ue)))var ue=X,we=Q}return we}function ne(g,x,L,U,V){var Q=-1,X=g.length;for(L||(L=vge),V||(V=[]);++Q<X;){var ue=g[Q];0<x&&L(ue)?1<x?ne(ue,x-1,L,U,V):a(V,ue):U||(V[V.length]=ue)}return V}function re(g,x){return g&&rM(g,x,dd)}function ce(g,x){x=fr(x,g);for(var L=0,U=x.length;g!=null&&L<U;)g=g[nf(x[L++])];return L&&L==U?g:Ee}function _e(g,x,L){return x=x(g),Qr(g)?x:a(x,L(g))}function We(g){if(g==null)g=g===Ee?"[object Undefined]":"[object Null]";else if(md&&md in Object(g)){var x=Rn.call(g,md),L=g[md];try{g[md]=Ee;var U=!0}catch{}var V=JP.call(g);U&&(x?g[md]=L:delete g[md]),g=V}else g=JP.call(g);return g}function Me(g,x){return g>x}function Ro(g){return ia(g)&&We(g)=="[object Arguments]"}function Fo(g,x,L,U,V){if(g===x)x=!0;else if(g==null||x==null||!ia(g)&&!ia(x))x=g!==g&&x!==x;else e:{var Q=Qr(g),Ae=Qr(x),X=Q?"[object Array]":Ka(g),ue=Ae?"[object Array]":Ka(x),X=X=="[object Arguments]"?"[object Object]":X,ue=ue=="[object Arguments]"?"[object Object]":ue,we=X=="[object Object]",Ae=ue=="[object Object]";if((ue=X==ue)&&lf(g)){if(!lf(x)){x=!1;break e}Q=!0,we=!1}if(ue&&!we)V||(V=new b),x=Q||sv(g)?SP(g,x,L,U,Fo,V):hge(g,x,X,L,U,Fo,V);else{if(!(1&L)&&(Q=we&&Rn.call(g,"__wrapped__"),X=Ae&&Rn.call(x,"__wrapped__"),Q||X)){g=Q?g.value():g,x=X?x.value():x,V||(V=new b),x=Fo(g,x,L,U,V);break e}if(ue)t:if(V||(V=new b),Q=1&L,X=r9(g),Ae=X.length,ue=r9(x).length,Ae==ue||Q){for(ue=Ae;ue--;){var Ze=X[ue];if(!(Q?Ze in x:Rn.call(x,Ze))){x=!1;break t}}if(we=V.get(g),Ze=V.get(x),we&&Ze)x=we==x&&Ze==g;else{we=!0,V.set(g,x),V.set(x,g);for(var $e=Q;++ue<Ae;){var Ze=X[ue],Nt=g[Ze],zt=x[Ze];if(U)var hr=Q?U(zt,Nt,Ze,x,g,V):U(Nt,zt,Ze,g,x,V);if(hr===Ee?Nt!==zt&&!Fo(Nt,zt,L,U,V):!hr){we=!1;break}$e||($e=Ze=="constructor")}we&&!$e&&(L=g.constructor,U=x.constructor,L!=U&&"constructor"in g&&"constructor"in x&&!(typeof L=="function"&&L instanceof L&&typeof U=="function"&&U instanceof U)&&(we=!1)),V.delete(g),V.delete(x),x=we}}else x=!1;else x=!1}}return x}function a1(g){return ia(g)&&Ka(g)=="[object Map]"}function El(g,x){var L=x.length,U=L;if(g==null)return!U;for(g=Object(g);L--;){var V=x[L];if(V[2]?V[1]!==g[V[0]]:!(V[0]in g))return!1}for(;++L<U;){var V=x[L],Q=V[0],X=g[Q],ue=V[1];if(V[2]){if(X===Ee&&!(Q in g))return!1}else if(V=new b,Ee===void 0?!Fo(ue,X,3,void 0,V):1)return!1}return!0}function o1(g){return ia(g)&&Ka(g)=="[object Set]"}function e9(g){return ia(g)&&ev(g.length)&&!!kt[We(g)]}function Wb(g){return typeof g=="function"?g:g==null?c1:typeof g=="object"?Qr(g)?D(g[0],g[1]):t9(g):UP(g)}function Zb(g,x){return g<x}function s1(g,x){var L=-1,U=Nc(g)?Array(g.length):[];return tM(g,function(V,Q,X){U[++L]=x(V,Q,X)}),U}function t9(g){var x=gge(g);return x.length==1&&x[0][2]?OP(x[0][0],x[0][1]):function(L){return L===g||El(L,x)}}function D(g,x){return n9(g)&&x===x&&!Mn(x)?OP(nf(g),x):function(L){var U=MP(L,g);return U===Ee&&U===x?RP(L,g):Fo(x,U,3)}}function I(g,x,L,U,V){g!==x&&rM(x,function(Q,X){if(V||(V=new b),Mn(Q)){var ue=V,we=a9(g,X),Ae=a9(x,X),Ze=ue.get(Ae);if(Ze)j(g,X,Ze);else{var Ze=U?U(we,Ae,X+"",g,x,ue):Ee,$e=Ze===Ee;if($e){var Nt=Qr(Ae),zt=!Nt&&lf(Ae),hr=!Nt&&!zt&&sv(Ae),Ze=Ae;Nt||zt||hr?Qr(we)?Ze=we:DP(we)?Ze=na(we):zt?($e=!1,Ze=Yr(Ae,!0)):hr?($e=!1,Ze=mr(Ae,!0)):Ze=[]:o9(Ae)||sf(Ae)?(Ze=we,sf(we)?Ze=jP(we):Mn(we)&&!Qb(we)||(Ze=xP(Ae))):$e=!1}$e&&(ue.set(Ae,Ze),I(Ze,Ae,L,U,ue),ue.delete(Ae)),j(g,X,Ze)}}else ue=U?U(a9(g,X),Q,X+"",g,x,V):Ee,ue===Ee&&(ue=Q),j(g,X,ue)},pd)}function W(g,x){var L=[];x=x.length?i(x,function(V){return Qr(V)?function(Q){return ce(Q,V.length===1?V[0]:V)}:V}):[c1];var U=-1;return x=i(x,u(rf())),c(s1(g,function(V){return{a:i(x,function(Q){return Q(V)}),b:++U,c:V}}),function(V,Q){var X;e:{X=-1;for(var ue=V.a,we=Q.a,Ae=ue.length,Ze=L.length;++X<Ae;){var $e;t:{$e=ue[X];var Nt=we[X];if($e!==Nt){var zt=$e!==Ee,hr=$e===null,hd=$e===$e,lv=jc($e),w9=Nt!==Ee,S9=Nt===null,cv=Nt===Nt,uv=jc(Nt);if(!S9&&!uv&&!lv&&$e>Nt||lv&&w9&&cv&&!S9&&!uv||hr&&w9&&cv||!zt&&cv||!hd){$e=1;break t}if(!hr&&!lv&&!uv&&$e<Nt||uv&&zt&&hd&&!hr&&!lv||S9&&zt&&hd||!w9&&hd||!cv){$e=-1;break t}}$e=0}if($e){X=X>=Ze?$e:$e*(L[X]=="desc"?-1:1);break e}}X=V.b-Q.b}return X})}function q(g){return function(x){return ce(x,g)}}function ot(g){return iM(CP(g,void 0,c1),g+"")}function Ut(g){if(typeof g=="string")return g;if(Qr(g))return i(g,Ut)+"";if(jc(g))return eM?eM.call(g):"";var x=g+"";return x=="0"&&1/g==-tv?"-0":x}function ir(g,x){x=fr(x,g);var L;if(2>x.length)L=g;else{L=x;var U=0,V=-1,Q=-1,X=L.length;for(0>U&&(U=-U>X?0:X+U),V=V>X?X:V,0>V&&(V+=X),X=U>V?0:V-U>>>0,U>>>=0,V=Array(X);++Q<X;)V[Q]=L[Q+U];L=ce(g,V)}g=L,g==null||delete g[nf(IP(x))]}function fr(g,x){return Qr(g)?g:n9(g,x)?[g]:Gge(PP(g))}function Yr(g,x){if(x)return g.slice();var L=g.length,L=KP?KP(L):new g.constructor(L);return g.copy(L),L}function xi(g){var x=new g.constructor(g.byteLength);return new iv(x).set(new iv(g)),x}function mr(g,x){return new g.constructor(x?xi(g.buffer):g.buffer,g.byteOffset,g.length)}function na(g,x){var L=-1,U=g.length;for(x||(x=Array(U));++L<U;)x[L]=g[L];return x}function kc(g,x,L){var U=!L;L||(L={});for(var V=-1,Q=x.length;++V<Q;){var X=x[V],ue=Ee;ue===Ee&&(ue=g[X]),U?$(L,X,ue):P(L,X,ue)}return L}function Hb(g,x){return kc(g,_9(g),x)}function l1(g,x){return kc(g,nM(g),x)}function Gb(g){return o9(g)?Ee:g}function SP(g,x,L,U,V,Q){var X=1&L,ue=g.length,we=x.length;if(ue!=we&&!(X&&we>ue))return!1;var we=Q.get(g),Ae=Q.get(x);if(we&&Ae)return we==x&&Ae==g;var we=-1,Ae=!0,Ze=2&L?new _:Ee;for(Q.set(g,x),Q.set(x,g);++we<ue;){var $e=g[we],Nt=x[we];if(U)var zt=X?U(Nt,$e,we,x,g,Q):U($e,Nt,we,g,x,Q);if(zt!==Ee){if(zt)continue;Ae=!1;break}if(Ze){if(!o(x,function(hr,hd){if(!Ze.has(hd)&&($e===hr||V($e,hr,L,U,Q)))return Ze.push(hd)})){Ae=!1;break}}else if($e!==Nt&&!V($e,Nt,L,U,Q)){Ae=!1;break}}return Q.delete(g),Q.delete(x),Ae}function hge(g,x,L,U,V,Q,X){switch(L){case"[object DataView]":if(g.byteLength!=x.byteLength||g.byteOffset!=x.byteOffset)break;g=g.buffer,x=x.buffer;case"[object ArrayBuffer]":if(g.byteLength!=x.byteLength||!Q(new iv(g),new iv(x)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return ud(+g,+x);case"[object Error]":return g.name==x.name&&g.message==x.message;case"[object RegExp]":case"[object String]":return g==x+"";case"[object Map]":var ue=f;case"[object Set]":if(ue||(ue=m),g.size!=x.size&&!(1&U))break;return(L=X.get(g))?L==x:(U|=2,X.set(g,x),x=SP(ue(g),ue(x),U,V,Q,X),X.delete(g),x);case"[object Symbol]":if(f1)return f1.call(g)==f1.call(x)}return!1}function r9(g){return _e(g,dd,_9)}function EP(g){return _e(g,pd,nM)}function rf(){var g=v.iteratee||l9,g=g===l9?Wb:g;return arguments.length?g(arguments[0],arguments[1]):g}function Jb(g,x){var L=g.__data__,U=typeof x;return(U=="string"||U=="number"||U=="symbol"||U=="boolean"?x!=="__proto__":x===null)?L[typeof x=="string"?"string":"hash"]:L.map}function gge(g){for(var x=dd(g),L=x.length;L--;){var U=x[L],V=g[U];x[L]=[U,V,V===V&&!Mn(V)]}return x}function ld(g,x){var L=g==null?Ee:g[x];return!(!Mn(L)||GP&&GP in L)&&(Qb(L)?Mge:Age).test(cd(L))?L:Ee}function yge(g){var x=g.length,L=new g.constructor(x);return x&&typeof g[0]=="string"&&Rn.call(g,"index")&&(L.index=g.index,L.input=g.input),L}function xP(g){return typeof g.constructor!="function"||i9(g)?{}:Zge(f9(g))}function bge(g,x,L){var U=g.constructor;switch(x){case"[object ArrayBuffer]":return xi(g);case"[object Boolean]":case"[object Date]":return new U(+g);case"[object DataView]":return x=L?xi(g.buffer):g.buffer,new g.constructor(x,g.byteOffset,g.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return mr(g,L);case"[object Map]":return new U;case"[object Number]":case"[object String]":return new U(g);case"[object RegExp]":return x=new g.constructor(g.source,Cge.exec(g)),x.lastIndex=g.lastIndex,x;case"[object Set]":return new U;case"[object Symbol]":return f1?Object(f1.call(g)):{}}}function vge(g){return Qr(g)||sf(g)||!!(QP&&g&&g[QP])}function Kb(g,x){var L=typeof g;return x=x??9007199254740991,!!x&&(L=="number"||L!="symbol"&&Lge.test(g))&&-1<g&&g%1==0&&g<x}function Xb(g,x,L){if(!Mn(L))return!1;var U=typeof x;return!!(U=="number"?Nc(L)&&Kb(x,L.length):U=="string"&&x in L)&&ud(L[x],g)}function n9(g,x){if(Qr(g))return!1;var L=typeof g;return!(L!="number"&&L!="symbol"&&L!="boolean"&&g!=null&&!jc(g))||wge.test(g)||!_ge.test(g)||x!=null&&g in Object(x)}function i9(g){var x=g&&g.constructor;return g===(typeof x=="function"&&x.prototype||u1)}function OP(g,x){return function(L){return L!=null&&L[g]===x&&(x!==Ee||g in Object(L))}}function CP(g,x,L){return x=h9(x===Ee?g.length-1:x,0),function(){for(var U=arguments,V=-1,Q=h9(U.length-x,0),X=Array(Q);++V<Q;)X[V]=U[x+V];for(V=-1,Q=Array(x+1);++V<x;)Q[V]=U[V];return Q[x]=L(X),e(g,this,Q)}}function a9(g,x){if((x!=="constructor"||typeof g[x]!="function")&&x!="__proto__")return g[x]}function nf(g){if(typeof g=="string"||jc(g))return g;var x=g+"";return x=="0"&&1/g==-tv?"-0":x}function cd(g){if(g!=null){try{return rv.call(g)}catch{}return g+""}return""}function TP(g){return g!=null&&g.length?ne(g,1):[]}function IP(g){var x=g==null?0:g.length;return x?g[x-1]:Ee}function AP(g,x){var L;if(typeof x!="function")throw new TypeError("Expected a function");return g=s9(g),function(){return 0<--g&&(L=x.apply(this,arguments)),1>=g&&(x=Ee),L}}function Yb(g,x){function L(){var U=arguments,V=x?x.apply(this,U):U[0],Q=L.cache;return Q.has(V)?Q.get(V):(U=g.apply(this,U),L.cache=Q.set(V,U)||Q,U)}if(typeof g!="function"||x!=null&&typeof x!="function")throw new TypeError("Expected a function");return L.cache=new(Yb.Cache||w),L}function ud(g,x){return g===x||g!==g&&x!==x}function Nc(g){return g!=null&&ev(g.length)&&!Qb(g)}function DP(g){return ia(g)&&Nc(g)}function Qb(g){return!!Mn(g)&&(g=We(g),g=="[object Function]"||g=="[object GeneratorFunction]"||g=="[object AsyncFunction]"||g=="[object Proxy]")}function ev(g){return typeof g=="number"&&-1<g&&g%1==0&&9007199254740991>=g}function Mn(g){var x=typeof g;return g!=null&&(x=="object"||x=="function")}function ia(g){return g!=null&&typeof g=="object"}function o9(g){return!(!ia(g)||We(g)!="[object Object]")&&(g=f9(g),g===null||(g=Rn.call(g,"constructor")&&g.constructor,typeof g=="function"&&g instanceof g&&rv.call(g)==Pge))}function LP(g){return typeof g=="string"||!Qr(g)&&ia(g)&&We(g)=="[object String]"}function jc(g){return typeof g=="symbol"||ia(g)&&We(g)=="[object Symbol]"}function kP(g){return g?(g=NP(g),g===tv||g===-tv?17976931348623157e292*(0>g?-1:1):g===g?g:0):g===0?g:0}function s9(g){g=kP(g);var x=g%1;return g===g?x?g-x:g:0}function NP(g){if(typeof g=="number")return g;if(jc(g))return qP;if(Mn(g)&&(g=typeof g.valueOf=="function"?g.valueOf():g,g=Mn(g)?g+"":g),typeof g!="string")return g===0?g:+g;g=g&&g.slice(0,y(g)+1).replace(Ege,"");var x=Ige.test(g);return x||Dge.test(g)?kge(g.slice(2),x?2:8):Tge.test(g)?qP:+g}function jP(g){return kc(g,pd(g))}function PP(g){return g==null?"":Ut(g)}function MP(g,x,L){return g=g==null?Ee:ce(g,x),g===Ee?L:g}function RP(g,x){var L;if(L=g!=null){L=g;var U;U=fr(x,L);for(var V=-1,Q=U.length,X=!1;++V<Q;){var ue=nf(U[V]);if(!(X=L!=null&&L!=null&&ue in Object(L)))break;L=L[ue]}X||++V!=Q?L=X:(Q=L==null?0:L.length,L=!!Q&&ev(Q)&&Kb(ue,Q)&&(Qr(L)||sf(L)))}return L}function dd(g){if(Nc(g))g=A(g);else if(i9(g)){var x,L=[];for(x in Object(g))Rn.call(g,x)&&x!="constructor"&&L.push(x);g=L}else g=$ge(g);return g}function pd(g){if(Nc(g))g=A(g,!0);else if(Mn(g)){var x,L=i9(g),U=[];for(x in g)(x!="constructor"||!L&&Rn.call(g,x))&&U.push(x);g=U}else{if(x=[],g!=null)for(L in Object(g))x.push(L);g=x}return g}function FP(g){return g==null?[]:d(g,dd(g))}function $P(g){return function(){return g}}function c1(g){return g}function l9(g){return Wb(typeof g=="function"?g:K(g,1))}function UP(g){return n9(g)?l(nf(g)):q(g)}function c9(){return[]}function zP(){return!1}var Ee,tv=1/0,qP=NaN,_ge=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wge=/^\w*$/,Sge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ege=/^\s+/,xge=/\s/,Oge=/\\(\\)?/g,Cge=/\w*$/,Tge=/^[-+]0x[0-9a-f]+$/i,Ige=/^0b[01]+$/i,Age=/^\[object .+?Constructor\]$/,Dge=/^0o[0-7]+$/i,Lge=/^(?:0|[1-9]\d*)$/,kt={};kt["[object Float32Array]"]=kt["[object Float64Array]"]=kt["[object Int8Array]"]=kt["[object Int16Array]"]=kt["[object Int32Array]"]=kt["[object Uint8Array]"]=kt["[object Uint8ClampedArray]"]=kt["[object Uint16Array]"]=kt["[object Uint32Array]"]=!0,kt["[object Arguments]"]=kt["[object Array]"]=kt["[object ArrayBuffer]"]=kt["[object Boolean]"]=kt["[object DataView]"]=kt["[object Date]"]=kt["[object Error]"]=kt["[object Function]"]=kt["[object Map]"]=kt["[object Number]"]=kt["[object Object]"]=kt["[object RegExp]"]=kt["[object Set]"]=kt["[object String]"]=kt["[object WeakMap]"]=!1;var It={};It["[object Arguments]"]=It["[object Array]"]=It["[object ArrayBuffer]"]=It["[object DataView]"]=It["[object Boolean]"]=It["[object Date]"]=It["[object Float32Array]"]=It["[object Float64Array]"]=It["[object Int8Array]"]=It["[object Int16Array]"]=It["[object Int32Array]"]=It["[object Map]"]=It["[object Number]"]=It["[object Object]"]=It["[object RegExp]"]=It["[object Set]"]=It["[object String]"]=It["[object Symbol]"]=It["[object Uint8Array]"]=It["[object Uint8ClampedArray]"]=It["[object Uint16Array]"]=It["[object Uint32Array]"]=!0,It["[object Error]"]=It["[object Function]"]=It["[object WeakMap]"]=!1;var kge=parseInt,BP=typeof global=="object"&&global&&global.Object===Object&&global,Nge=typeof self=="object"&&self&&self.Object===Object&&self,xl=BP||Nge||Function("return this")(),u9=typeof pf=="object"&&pf&&!pf.nodeType&&pf,fd=u9&&typeof y1=="object"&&y1&&!y1.nodeType&&y1,VP=fd&&fd.exports===u9,d9=VP&&BP.process,af=function(){try{var g=fd&&fd.f&&fd.f("util").types;return g||d9&&d9.binding&&d9.binding("util")}catch{}}(),WP=af&&af.isMap,ZP=af&&af.isSet,HP=af&&af.isTypedArray,jge=Array.prototype,u1=Object.prototype,p9=xl["__core-js_shared__"],rv=Function.prototype.toString,Rn=u1.hasOwnProperty,GP=function(){var g=/[^.]+$/.exec(p9&&p9.keys&&p9.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),JP=u1.toString,Pge=rv.call(Object),Mge=RegExp("^"+rv.call(Rn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nv=VP?xl.Buffer:Ee,of=xl.Symbol,iv=xl.Uint8Array,KP=nv?nv.g:Ee,f9=p(Object.getPrototypeOf),XP=Object.create,YP=u1.propertyIsEnumerable,Rge=jge.splice,QP=of?of.isConcatSpreadable:Ee,md=of?of.toStringTag:Ee,av=function(){try{var g=ld(Object,"defineProperty");return g({},"",{}),g}catch{}}(),m9=Object.getOwnPropertySymbols,Fge=nv?nv.isBuffer:Ee,$ge=p(Object.keys),h9=Math.max,Uge=Date.now,g9=ld(xl,"DataView"),d1=ld(xl,"Map"),y9=ld(xl,"Promise"),b9=ld(xl,"Set"),v9=ld(xl,"WeakMap"),p1=ld(Object,"create"),zge=cd(g9),qge=cd(d1),Bge=cd(y9),Vge=cd(b9),Wge=cd(v9),ov=of?of.prototype:Ee,f1=ov?ov.valueOf:Ee,eM=ov?ov.toString:Ee,Zge=function(){function g(){}return function(x){return Mn(x)?XP?XP(x):(g.prototype=x,x=new g,g.prototype=Ee,x):{}}}();S.prototype.clear=function(){this.__data__=p1?p1(null):{},this.size=0},S.prototype.delete=function(g){return g=this.has(g)&&delete this.__data__[g],this.size-=g?1:0,g},S.prototype.get=function(g){var x=this.__data__;return p1?(g=x[g],g==="__lodash_hash_undefined__"?Ee:g):Rn.call(x,g)?x[g]:Ee},S.prototype.has=function(g){var x=this.__data__;return p1?x[g]!==Ee:Rn.call(x,g)},S.prototype.set=function(g,x){var L=this.__data__;return this.size+=this.has(g)?0:1,L[g]=p1&&x===Ee?"__lodash_hash_undefined__":x,this},E.prototype.clear=function(){this.__data__=[],this.size=0},E.prototype.delete=function(g){var x=this.__data__;return g=T(x,g),!(0>g)&&(g==x.length-1?x.pop():Rge.call(x,g,1),--this.size,!0)},E.prototype.get=function(g){var x=this.__data__;return g=T(x,g),0>g?Ee:x[g][1]},E.prototype.has=function(g){return-1<T(this.__data__,g)},E.prototype.set=function(g,x){var L=this.__data__,U=T(L,g);return 0>U?(++this.size,L.push([g,x])):L[U][1]=x,this},w.prototype.clear=function(){this.size=0,this.__data__={hash:new S,map:new(d1||E),string:new S}},w.prototype.delete=function(g){return g=Jb(this,g).delete(g),this.size-=g?1:0,g},w.prototype.get=function(g){return Jb(this,g).get(g)},w.prototype.has=function(g){return Jb(this,g).has(g)},w.prototype.set=function(g,x){var L=Jb(this,g),U=L.size;return L.set(g,x),this.size+=L.size==U?0:1,this},_.prototype.add=_.prototype.push=function(g){return this.__data__.set(g,"__lodash_hash_undefined__"),this},_.prototype.has=function(g){return this.__data__.has(g)},b.prototype.clear=function(){this.__data__=new E,this.size=0},b.prototype.delete=function(g){var x=this.__data__;return g=x.delete(g),this.size=x.size,g},b.prototype.get=function(g){return this.__data__.get(g)},b.prototype.has=function(g){return this.__data__.has(g)},b.prototype.set=function(g,x){var L=this.__data__;if(L instanceof E){var U=L.__data__;if(!d1||199>U.length)return U.push([g,x]),this.size=++L.size,this;L=this.__data__=new w(U)}return L.set(g,x),this.size=L.size,this};var tM=function(g,x){return function(L,U){if(L==null)return L;if(!Nc(L))return g(L,U);for(var V=L.length,Q=x?V:-1,X=Object(L);(x?Q--:++Q<V)&&U(X[Q],Q,X)!==!1;);return L}}(re),rM=function(g){return function(x,L,U){var V=-1,Q=Object(x);U=U(x);for(var X=U.length;X--;){var ue=U[g?X:++V];if(L(Q[ue],ue,Q)===!1)break}return x}}(),Hge=av?function(g,x){return av(g,"toString",{configurable:!0,enumerable:!1,value:$P(x),writable:!0})}:c1,_9=m9?function(g){return g==null?[]:(g=Object(g),n(m9(g),function(x){return YP.call(g,x)}))}:c9,nM=m9?function(g){for(var x=[];g;)a(x,_9(g)),g=f9(g);return x}:c9,Ka=We;(g9&&Ka(new g9(new ArrayBuffer(1)))!="[object DataView]"||d1&&Ka(new d1)!="[object Map]"||y9&&Ka(y9.resolve())!="[object Promise]"||b9&&Ka(new b9)!="[object Set]"||v9&&Ka(new v9)!="[object WeakMap]")&&(Ka=function(g){var x=We(g);if(g=(g=x=="[object Object]"?g.constructor:Ee)?cd(g):"")switch(g){case zge:return"[object DataView]";case qge:return"[object Map]";case Bge:return"[object Promise]";case Vge:return"[object Set]";case Wge:return"[object WeakMap]"}return x});var iM=function(g){var x=0,L=0;return function(){var U=Uge(),V=16-(U-L);if(L=U,0<V){if(800<=++x)return arguments[0]}else x=0;return g.apply(Ee,arguments)}}(Hge),Gge=function(g){g=Yb(g,function(L){return x.size===500&&x.clear(),L});var x=g.cache;return g}(function(g){var x=[];return g.charCodeAt(0)===46&&x.push(""),g.replace(Sge,function(L,U,V,Q){x.push(V?Q.replace(Oge,"$1"):U||L)}),x}),Jge=function(g,x){return function(L,U){var V=Qr(L)?t:N,Q=x?x():{};return V(L,g,rf(U,2),Q)}}(function(g,x,L){$(g,L,x)}),Kge=ot(function(g,x){if(g==null)return[];var L=x.length;return 1<L&&Xb(g,x[0],x[1])?x=[]:2<L&&Xb(x[0],x[1],x[2])&&(x=[x[0]]),W(g,ne(x,1))});Yb.Cache=w;var sf=Ro(function(){return arguments}())?Ro:function(g){return ia(g)&&Rn.call(g,"callee")&&!YP.call(g,"callee")},Qr=Array.isArray,lf=Fge||zP,aM=WP?u(WP):a1,oM=ZP?u(ZP):o1,sv=HP?u(HP):e9,Xge=ot(function(g,x){g=Object(g);var L=-1,U=x.length,V=2<U?x[2]:Ee;for(V&&Xb(x[0],x[1],V)&&(U=1);++L<U;)for(var V=x[L],Q=pd(V),X=-1,ue=Q.length;++X<ue;){var we=Q[X],Ae=g[we];(Ae===Ee||ud(Ae,u1[we])&&!Rn.call(g,we))&&(g[we]=V[we])}return g}),Yge=function(g){return ot(function(x,L){var U=-1,V=L.length,X=1<V?L[V-1]:Ee,Q=2<V?L[2]:Ee,X=3<g.length&&typeof X=="function"?(V--,X):Ee;for(Q&&Xb(L[0],L[1],Q)&&(X=3>V?Ee:X,V=1),x=Object(x);++U<V;)(Q=L[U])&&g(x,Q,U,X);return x})}(function(g,x,L){I(g,x,L)}),Qge=function(g){return iM(CP(g,Ee,TP),g+"")}(function(g,x){var L={};if(g==null)return L;var U=!1;x=i(x,function(Q){return Q=fr(Q,g),U||(U=1<Q.length),Q}),kc(g,EP(g),L),U&&(L=K(L,7,Gb));for(var V=x.length;V--;)ir(L,x[V]);return L});v.before=AP,v.constant=$P,v.defaults=Xge,v.flatten=TP,v.iteratee=l9,v.keyBy=Jge,v.keys=dd,v.keysIn=pd,v.mapKeys=function(g,x){var L={};return x=rf(x,3),re(g,function(U,V,Q){$(L,x(U,V,Q),U)}),L},v.memoize=Yb,v.merge=Yge,v.omit=Qge,v.once=function(g){return AP(2,g)},v.property=UP,v.set=function(g,x,L){if(g!=null&&Mn(g)){x=fr(x,g);for(var U=-1,V=x.length,Q=V-1,X=g;X!=null&&++U<V;){var ue=nf(x[U]),we=L;if(ue==="__proto__"||ue==="constructor"||ue==="prototype")break;if(U!=Q){var Ae=X[ue],we=Ee;we===Ee&&(we=Mn(Ae)?Ae:Kb(x[U+1])?[]:{})}P(X,ue,we),X=X[ue]}}return g},v.sortBy=Kge,v.toPlainObject=jP,v.values=FP,v.eq=ud,v.findKey=function(g,x){return s(g,rf(x,3),re)},v.get=MP,v.hasIn=RP,v.identity=c1,v.includes=function(g,x,L,U){if(g=Nc(g)?g:FP(g),L=L&&!U?s9(L):0,U=g.length,0>L&&(L=h9(U+L,0)),LP(g))g=L<=U&&-1<g.indexOf(x,L);else{if(U=!!U){if(x===x)e:{for(L-=1,U=g.length;++L<U;)if(g[L]===x){g=L;break e}g=-1}else e:{for(x=g.length,L+=-1;++L<x;)if(U=g[L],U!==U){g=L;break e}g=-1}U=-1<g}g=U}return g},v.isArguments=sf,v.isArray=Qr,v.isArrayLike=Nc,v.isArrayLikeObject=DP,v.isBuffer=lf,v.isFunction=Qb,v.isLength=ev,v.isMap=aM,v.isObject=Mn,v.isObjectLike=ia,v.isPlainObject=o9,v.isSet=oM,v.isString=LP,v.isSymbol=jc,v.isTypedArray=sv,v.last=IP,v.maxBy=function(g,x){return g&&g.length?ae(g,rf(x,2),Me):Ee},v.minBy=function(g,x){return g&&g.length?ae(g,rf(x,2),Zb):Ee},v.stubArray=c9,v.stubFalse=zP,v.toFinite=kP,v.toInteger=s9,v.toNumber=NP,v.toString=PP,v.VERSION="4.17.21",fd&&((fd.exports=v)._=v,u9._=v)}).call(pf)});var RM=h(ar=>{"use strict";var Uye=ar&&ar.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),zye=ar&&ar.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qye=ar&&ar.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Uye(t,e,r);return zye(t,e),t};Object.defineProperty(ar,"__esModule",{value:!0});ar.defaults=Bye;ar.findKey=Vye;ar.includes=Wye;ar.keyBy=Zye;ar.mapKeys=Hye;ar.minBy=Gye;ar.maxBy=Jye;ar.merge=Kye;ar.omit=Xye;ar.once=Yye;ar.set=Qye;ar.sortBy=ebe;ar.toNumber=tbe;var ki=qye(MM());function Bye(e,...t){return ki.defaults(e,...t)}function Vye(e,t){return ki.findKey(e,t)}function Wye(e,t,r){return ki.includes(e,t,r)}function Zye(e,t){return ki.keyBy(e,t)}function Hye(e,t){return ki.mapKeys(e,t)}function Gye(e,t){return ki.minBy(e,t)}function Jye(e,t){return ki.maxBy(e,t)}function Kye(e,...t){return ki.merge(e,...t)}function Xye(e,...t){return ki.omit(e,...t)}function Yye(e){return ki.once(e)}function Qye(e,t,r){return ki.set(e,t,r)}function ebe(e,...t){return ki.sortBy(e,...t)}function tbe(e){return ki.toNumber(e)}});var FM=h(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.isEmpty=rbe;Rc.lowerFirst=nbe;Rc.camelCaseToTitleCase=ibe;Rc.snakeCase=abe;Rc.upperFirst=obe;Rc.toBoolean=sbe;var b1=Ke();function rbe(e){return e==null?!0:!((0,b1.isNumber)(e)||(0,b1.isBoolean)(e)||(0,b1.isArrayLike)(e)&&e.length>0||(0,b1.hasNumber)(e,"size")&&e.size>0||(0,b1.isObject)(e)&&Object.keys(e).length>0)}function nbe(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ibe(e){return e.replace(/(^\w|\s\w)/g,t=>t.toUpperCase()).replace(/([A-Z][a-z]+)/g," $1").replace(/\s{2,}/g," ").trim()}function abe(e){return e?.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase().replace(/\W/g,"_").replace(/^_+|_+$/g,"")}function obe(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function sbe(e){switch(typeof e){case"boolean":return e;case"string":return e.toLowerCase()==="true"||e==="1";default:return!1}}});var W9=h(Fc=>{"use strict";var lbe=Fc&&Fc.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),$M=Fc&&Fc.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&lbe(t,e,r)};Object.defineProperty(Fc,"__esModule",{value:!0});$M(RM(),Fc);$M(FM(),Fc)});var zM=h(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.env=ff.Env=void 0;var v1=Ke(),cbe=hv(),UM=W9(),gv=class{store;constructor(t=process?.env||{}){this.store=t,this.store=t}getString(t,r){return this.store[t]??r}getStringIn(t,r,n){let i=new RegExp(r.join("|"),"i");if(n&&!i.test(n.toString())){let o=r.join(", ");throw new cbe.InvalidDefaultEnvValueError(`${n} is not a member of ${o}`)}let a=this.getString(t);return a&&i.test(a)?a:n}getKeyOf(t,r,n,i){let a,o;if(typeof n=="function"?i=n:o=n,o===void 0?a=this.getStringIn(t,Object.keys(r)):(i&&(o=i(o)),a=this.getStringIn(t,Object.keys(r),o)),!!a&&(typeof i=="function"&&(a=i(a)),(0,v1.isKeyOf)(r,a)))return a}setString(t,r){if(r==null){this.unset(t);return}this.store[t]=r}getList(t,r){let n=this.getString(t);return n?n.split(","):r}setList(t,r){if(r==null){this.unset(t);return}this.setString(t,r.join(","))}getBoolean(t,r=!1){let n=this.getString(t,r.toString());return(0,UM.toBoolean)(n)}setBoolean(t,r){if(r==null){this.unset(t);return}this.setString(t,r.toString())}getNumber(t,r){let n=this.getString(t);if(n){let i=(0,UM.toNumber)(n);return isNaN(i)&&(0,v1.isNumber)(r)?r:i}return(0,v1.isNumber)(r)?r:void 0}setNumber(t,r){if(r==null){this.unset(t);return}this.setString(t,(0,v1.isNumber)(r)?String(r):r)}unset(t){delete this.store[t]}entries(){return(0,v1.definiteEntriesOf)(this.store)}};ff.Env=gv;ff.env=new gv});var VM=h(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.parseJson=qM;vd.parseJsonMap=ube;vd.cloneJson=dbe;vd.getJsonValuesByName=BM;vd.jsonIncludes=pbe;var $c=Ke(),Z9=hv();function qM(e,t,r=!0){e=e.trim(),!r&&e.length===0&&(e="{}");try{return JSON.parse(e)}catch(n){throw Z9.JsonParseError.create(n,e,t)}}function ube(e,t,r){let n=qM(e,t,r);if(n===null||(0,$c.isJsonArray)(n)||typeof n!="object")throw new Z9.JsonDataFormatError("Expected parsed JSON data to be an object");return n}function dbe(e){try{return JSON.parse(JSON.stringify(e))}catch(t){throw t instanceof SyntaxError||t instanceof TypeError?new Z9.JsonStringifyError(t):t}}function BM(e,t){let r=[];Object.prototype.hasOwnProperty.call(e,t)&&r.push(e[t]);let n=i=>{(0,$c.isJsonMap)(i)&&(r=r.concat(BM(i,t)))};return Object.values(e).forEach(i=>(0,$c.isJsonArray)(i)?i.forEach(n):n(i)),r}function pbe(e,t){return e==null||t===void 0||(0,$c.isNumber)(e)||(0,$c.isBoolean)(e)?!1:(0,$c.isJsonMap)(e)?Object.values(e).includes(t):(0,$c.isJsonArray)(e)||(0,$c.isString)(t)?e.includes(t):!1}});var H9=h(yv=>{"use strict";Object.defineProperty(yv,"__esModule",{value:!0});yv.ensureArray=void 0;var fbe=e=>e!=null?Array.isArray(e)?e:[e]:[];yv.ensureArray=fbe});var WM=h(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});bv.ThrottledPromiseAll=void 0;var mbe=H9(),hbe=U9(),gbe=()=>!1,G9=class{queue;concurrency;wait;timeout;cancel;#e=[];constructor(t={concurrency:1}){this.queue=[],this.concurrency=t.concurrency,this.wait=t.timeout??hbe.Duration.milliseconds(0),this.cancel=t.cancel??gbe}get results(){return this.#e.sort((t,r)=>(t?.index??0)-(r?.index??0)).map(t=>t?.result)}add(t,r){(0,mbe.ensureArray)(t).forEach(n=>this.queue.push({source:n,producer:r}))}async all(){let t;this.wait.milliseconds>0&&(this.timeout||(t=new Promise((r,n)=>{this.timeout=setTimeout(()=>{try{this.timeout&&clearTimeout(this.timeout),this.stop(),n(new Error(`PromiseQueue timed out after ${this.wait.milliseconds} milliseconds`))}catch(i){n(i)}},this.wait.milliseconds)})));try{return t?await Promise.race([this.dequeue(),t]):await this.dequeue(),this.stop(),this.results}catch(r){throw this.stop(),r}}stop(){this.timeout&&clearTimeout(this.timeout),this.queue.splice(0,this.queue.length)}async dequeue(){let t=new Map,r=0;for(;this.queue.length>0||t.size>0;){if(this.cancel())throw this.stop(),new Error("PromiseQueue: Cancelled");for(;t.size<this.concurrency;){let a=this.queue.shift();if(!a)break;let o={...a,index:r++};t.set(o.index,o.producer(a.source,this).then(s=>({index:o.index,result:s})).catch(s=>Promise.reject(s)))}let n=await Promise.race(t.values()),i=n?.index??-1;if(!t.has(i))throw new Error(`PromiseQueue: Could not find index ${n?.index??"<undefined>"} in pool`);t.delete(i),this.#e.push(n)}}};bv.ThrottledPromiseAll=G9});var ZM=h(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.isRejected=Tl.isFulfilled=void 0;Tl.settleAll=vbe;var ybe=e=>e.status==="fulfilled";Tl.isFulfilled=ybe;var bbe=e=>e.status==="rejected";Tl.isRejected=bbe;async function vbe(e){let t=await Promise.allSettled(e);return{fulfilled:t.filter(Tl.isFulfilled).map(r=>r.value),rejected:t.filter(Tl.isRejected).map(r=>r.reason)}}});var HM=h(vv=>{"use strict";Object.defineProperty(vv,"__esModule",{value:!0});vv.logFn=void 0;var _be=e=>(console.log(typeof e=="object"&&!(e instanceof Set)&&!(e instanceof Map)?JSON.stringify(e,null,2):e),e);vv.logFn=_be});var He=h(tn=>{"use strict";var wbe=tn&&tn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Il=tn&&tn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&wbe(t,e,r)};Object.defineProperty(tn,"__esModule",{value:!0});tn.logFn=void 0;Il(PM(),tn);Il(U9(),tn);Il(zM(),tn);Il(hv(),tn);Il(VM(),tn);Il(W9(),tn);Il(H9(),tn);Il(WM(),tn);Il(ZM(),tn);var Sbe=HM();Object.defineProperty(tn,"logFn",{enumerable:!0,get:function(){return Sbe.logFn}})});var K9=h((Gyt,KM)=>{"use strict";var _1=e=>e&&typeof e.message=="string",J9=e=>{if(!e)return;let t=e.cause;if(typeof t=="function"){let r=e.cause();return _1(r)?r:void 0}else return _1(t)?t:void 0},GM=(e,t)=>{if(!_1(e))return"";let r=e.stack||"";if(t.has(e))return r+`
|
||
causes have become circular...`;let n=J9(e);return n?(t.add(e),r+`
|
||
caused by: `+GM(n,t)):r},Ebe=e=>GM(e,new Set),JM=(e,t,r)=>{if(!_1(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=J9(e);if(i){t.add(e);let a=typeof e.cause=="function";return n+(a?"":": ")+JM(i,t,a)}else return n},xbe=e=>JM(e,new Set);KM.exports={isErrorLike:_1,getErrorCause:J9,stackWithCauses:Ebe,messageWithCauses:xbe}});var X9=h((Jyt,YM)=>{"use strict";var Obe=Symbol("circular-ref-tag"),_v=Symbol("pino-raw-err-ref"),XM=Object.create({},{type:{enumerable:!0,writable:!0,value:void 0},message:{enumerable:!0,writable:!0,value:void 0},stack:{enumerable:!0,writable:!0,value:void 0},aggregateErrors:{enumerable:!0,writable:!0,value:void 0},raw:{enumerable:!1,get:function(){return this[_v]},set:function(e){this[_v]=e}}});Object.defineProperty(XM,_v,{writable:!0,value:{}});YM.exports={pinoErrProto:XM,pinoErrorSymbols:{seen:Obe,rawSymbol:_v}}});var tR=h((Kyt,eR)=>{"use strict";eR.exports=Q9;var{messageWithCauses:Cbe,stackWithCauses:Tbe,isErrorLike:QM}=K9(),{pinoErrProto:Ibe,pinoErrorSymbols:Abe}=X9(),{seen:Y9}=Abe,{toString:Dbe}=Object.prototype;function Q9(e){if(!QM(e))return e;e[Y9]=void 0;let t=Object.create(Ibe);t.type=Dbe.call(e.constructor)==="[object Function]"?e.constructor.name:e.name,t.message=Cbe(e),t.stack=Tbe(e),Array.isArray(e.errors)&&(t.aggregateErrors=e.errors.map(r=>Q9(r)));for(let r in e)if(t[r]===void 0){let n=e[r];QM(n)?r!=="cause"&&!Object.prototype.hasOwnProperty.call(n,Y9)&&(t[r]=Q9(n)):t[r]=n}return delete e[Y9],t.raw=e,t}});var nR=h((Xyt,rR)=>{"use strict";rR.exports=Sv;var{isErrorLike:e7}=K9(),{pinoErrProto:Lbe,pinoErrorSymbols:kbe}=X9(),{seen:wv}=kbe,{toString:Nbe}=Object.prototype;function Sv(e){if(!e7(e))return e;e[wv]=void 0;let t=Object.create(Lbe);t.type=Nbe.call(e.constructor)==="[object Function]"?e.constructor.name:e.name,t.message=e.message,t.stack=e.stack,Array.isArray(e.errors)&&(t.aggregateErrors=e.errors.map(r=>Sv(r))),e7(e.cause)&&!Object.prototype.hasOwnProperty.call(e.cause,wv)&&(t.cause=Sv(e.cause));for(let r in e)if(t[r]===void 0){let n=e[r];e7(n)?Object.prototype.hasOwnProperty.call(n,wv)||(t[r]=Sv(n)):t[r]=n}return delete e[wv],t.raw=e,t}});var sR=h((Yyt,oR)=>{"use strict";oR.exports={mapHttpRequest:jbe,reqSerializer:aR};var t7=Symbol("pino-raw-req-ref"),iR=Object.create({},{id:{enumerable:!0,writable:!0,value:""},method:{enumerable:!0,writable:!0,value:""},url:{enumerable:!0,writable:!0,value:""},query:{enumerable:!0,writable:!0,value:""},params:{enumerable:!0,writable:!0,value:""},headers:{enumerable:!0,writable:!0,value:{}},remoteAddress:{enumerable:!0,writable:!0,value:""},remotePort:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[t7]},set:function(e){this[t7]=e}}});Object.defineProperty(iR,t7,{writable:!0,value:{}});function aR(e){let t=e.info||e.socket,r=Object.create(iR);if(r.id=typeof e.id=="function"?e.id():e.id||(e.info?e.info.id:void 0),r.method=e.method,e.originalUrl)r.url=e.originalUrl;else{let n=e.path;r.url=typeof n=="string"?n:e.url?e.url.path||e.url:void 0}return e.query&&(r.query=e.query),e.params&&(r.params=e.params),r.headers=e.headers,r.remoteAddress=t&&t.remoteAddress,r.remotePort=t&&t.remotePort,r.raw=e.raw||e,r}function jbe(e){return{req:aR(e)}}});var dR=h((Qyt,uR)=>{"use strict";uR.exports={mapHttpResponse:Pbe,resSerializer:cR};var r7=Symbol("pino-raw-res-ref"),lR=Object.create({},{statusCode:{enumerable:!0,writable:!0,value:0},headers:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[r7]},set:function(e){this[r7]=e}}});Object.defineProperty(lR,r7,{writable:!0,value:{}});function cR(e){let t=Object.create(lR);return t.statusCode=e.headersSent?e.statusCode:null,t.headers=e.getHeaders?e.getHeaders():e._headers,t.raw=e,t}function Pbe(e){return{res:cR(e)}}});var i7=h((ebt,pR)=>{"use strict";var n7=tR(),Mbe=nR(),Ev=sR(),xv=dR();pR.exports={err:n7,errWithCause:Mbe,mapHttpRequest:Ev.mapHttpRequest,mapHttpResponse:xv.mapHttpResponse,req:Ev.reqSerializer,res:xv.resSerializer,wrapErrorSerializer:function(t){return t===n7?t:function(n){return t(n7(n))}},wrapRequestSerializer:function(t){return t===Ev.reqSerializer?t:function(n){return t(Ev.reqSerializer(n))}},wrapResponseSerializer:function(t){return t===xv.resSerializer?t:function(n){return t(xv.resSerializer(n))}}}});var a7=h((tbt,fR)=>{"use strict";function Rbe(e,t){return t}fR.exports=function(){let t=Error.prepareStackTrace;Error.prepareStackTrace=Rbe;let r=new Error().stack;if(Error.prepareStackTrace=t,!Array.isArray(r))return;let n=r.slice(2),i=[];for(let a of n)a&&i.push(a.getFileName());return i}});var vR=h((rbt,bR)=>{"use strict";function o7(e){if(e===null||typeof e!="object")return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){let t=[];for(let r=0;r<e.length;r++)t[r]=o7(e[r]);return t}if(typeof e=="object"){let t=Object.create(Object.getPrototypeOf(e));for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=o7(e[r]));return t}return e}function mR(e){let t=[],r="",n=!1,i=!1,a="";for(let o=0;o<e.length;o++){let s=e[o];!n&&s==="."?r&&(t.push(r),r=""):s==="["?(r&&(t.push(r),r=""),n=!0):s==="]"&&n?(t.push(r),r="",n=!1,i=!1):(s==='"'||s==="'")&&n?i?s===a?(i=!1,a=""):r+=s:(i=!0,a=s):r+=s}return r&&t.push(r),t}function hR(e,t,r){let n=e;for(let a=0;a<t.length-1;a++){let o=t[a];if(typeof n!="object"||n===null||!(o in n)||typeof n[o]!="object"||n[o]===null)return!1;n=n[o]}let i=t[t.length-1];if(i==="*"){if(Array.isArray(n))for(let a=0;a<n.length;a++)n[a]=r;else if(typeof n=="object"&&n!==null)for(let a in n)Object.prototype.hasOwnProperty.call(n,a)&&(n[a]=r)}else typeof n=="object"&&n!==null&&i in n&&Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=r);return!0}function gR(e,t){let r=e;for(let i=0;i<t.length-1;i++){let a=t[i];if(typeof r!="object"||r===null||!(a in r)||typeof r[a]!="object"||r[a]===null)return!1;r=r[a]}let n=t[t.length-1];if(n==="*"){if(Array.isArray(r))for(let i=0;i<r.length;i++)r[i]=void 0;else if(typeof r=="object"&&r!==null)for(let i in r)Object.prototype.hasOwnProperty.call(r,i)&&delete r[i]}else typeof r=="object"&&r!==null&&n in r&&Object.prototype.hasOwnProperty.call(r,n)&&delete r[n];return!0}var Ov=Symbol("PATH_NOT_FOUND");function Fbe(e,t){let r=e;for(let n of t){if(r==null||typeof r!="object"||r===null||!(n in r))return Ov;r=r[n]}return r}function $be(e,t){let r=e;for(let n of t){if(r==null||typeof r!="object"||r===null)return;r=r[n]}return r}function Ube(e,t,r,n=!1){for(let i of t){let a=mR(i);if(a.includes("*"))yR(e,a,r,i,n);else if(n)gR(e,a);else{let o=Fbe(e,a);if(o===Ov)continue;let s=typeof r=="function"?r(o,a):r;hR(e,a,s)}}}function yR(e,t,r,n,i=!1){let a=t.indexOf("*");if(a===t.length-1){let o=t.slice(0,-1),s=e;for(let l of o){if(s==null||typeof s!="object"||s===null)return;s=s[l]}if(Array.isArray(s))if(i)for(let l=0;l<s.length;l++)s[l]=void 0;else for(let l=0;l<s.length;l++){let c=[...o,l.toString()],u=typeof r=="function"?r(s[l],c):r;s[l]=u}else if(typeof s=="object"&&s!==null)if(i){let l=[];for(let c in s)Object.prototype.hasOwnProperty.call(s,c)&&l.push(c);for(let c of l)delete s[c]}else for(let l in s){let c=[...o,l],u=typeof r=="function"?r(s[l],c):r;s[l]=u}}else zbe(e,t,r,a,n,i)}function zbe(e,t,r,n,i,a=!1){let o=t.slice(0,n),s=t.slice(n+1),l=[];function c(u,d){if(d===o.length){if(Array.isArray(u))for(let f=0;f<u.length;f++)l[d]=f.toString(),c(u[f],d+1);else if(typeof u=="object"&&u!==null)for(let f in u)l[d]=f,c(u[f],d+1)}else if(d<o.length){let f=o[d];u&&typeof u=="object"&&u!==null&&f in u&&(l[d]=f,c(u[f],d+1))}else if(s.includes("*"))yR(u,s,typeof r=="function"?(p,m)=>{let y=[...l.slice(0,d),...m];return r(p,y)}:r,i,a);else if(a)gR(u,s);else{let f=typeof r=="function"?r($be(u,s),[...l.slice(0,d),...s]):r;hR(u,s,f)}}if(o.length===0)c(e,0);else{let u=e;for(let d=0;d<o.length;d++){let f=o[d];if(u==null||typeof u!="object"||u===null)return;u=u[f],l[d]=f}u!=null&&c(u,o.length)}}function qbe(e){if(e.length===0)return null;let t=new Map;for(let r of e){let n=mR(r),i=t;for(let a=0;a<n.length;a++){let o=n[a];i.has(o)||i.set(o,new Map),i=i.get(o)}}return t}function Bbe(e,t){if(!t)return e;function r(n,i,a=0){if(!i||i.size===0||n===null||typeof n!="object")return n;if(n instanceof Date)return new Date(n.getTime());if(Array.isArray(n)){let s=[];for(let l=0;l<n.length;l++){let c=l.toString();i.has(c)||i.has("*")?s[l]=r(n[l],i.get(c)||i.get("*")):s[l]=n[l]}return s}let o=Object.create(Object.getPrototypeOf(n));for(let s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i.has(s)||i.has("*")?o[s]=r(n[s],i.get(s)||i.get("*")):o[s]=n[s]);return o}return r(e,t)}function Vbe(e){if(typeof e!="string")throw new Error("Paths must be (non-empty) strings");if(e==="")throw new Error("Invalid redaction path ()");if(e.includes(".."))throw new Error(`Invalid redaction path (${e})`);if(e.includes(","))throw new Error(`Invalid redaction path (${e})`);let t=0,r=!1,n="";for(let i=0;i<e.length;i++){let a=e[i];if((a==='"'||a==="'")&&t>0)r?a===n&&(r=!1,n=""):(r=!0,n=a);else if(a==="["&&!r)t++;else if(a==="]"&&!r&&(t--,t<0))throw new Error(`Invalid redaction path (${e})`)}if(t!==0)throw new Error(`Invalid redaction path (${e})`)}function Wbe(e){if(!Array.isArray(e))throw new TypeError("paths must be an array");for(let t of e)Vbe(t)}function Zbe(e={}){let{paths:t=[],censor:r="[REDACTED]",serialize:n=JSON.stringify,strict:i=!0,remove:a=!1}=e;Wbe(t);let o=qbe(t);return function(l){if(i&&(l===null||typeof l!="object")&&(l==null||typeof l!="object"))return n?n(l):l;let c=Bbe(l,o),u=l,d=r;return typeof r=="function"&&(d=r),Ube(c,t,d,a),n===!1?(c.restore=function(){return o7(u)},c):typeof n=="function"?n(c):JSON.stringify(c)}}bR.exports=Zbe});var mf=h((nbt,_R)=>{"use strict";var Hbe=Symbol("pino.setLevel"),Gbe=Symbol("pino.getLevel"),Jbe=Symbol("pino.levelVal"),Kbe=Symbol("pino.levelComp"),Xbe=Symbol("pino.useLevelLabels"),Ybe=Symbol("pino.useOnlyCustomLevels"),Qbe=Symbol("pino.mixin"),eve=Symbol("pino.lsCache"),tve=Symbol("pino.chindings"),rve=Symbol("pino.asJson"),nve=Symbol("pino.write"),ive=Symbol("pino.redactFmt"),ave=Symbol("pino.time"),ove=Symbol("pino.timeSliceIndex"),sve=Symbol("pino.stream"),lve=Symbol("pino.stringify"),cve=Symbol("pino.stringifySafe"),uve=Symbol("pino.stringifiers"),dve=Symbol("pino.end"),pve=Symbol("pino.formatOpts"),fve=Symbol("pino.messageKey"),mve=Symbol("pino.errorKey"),hve=Symbol("pino.nestedKey"),gve=Symbol("pino.nestedKeyStr"),yve=Symbol("pino.mixinMergeStrategy"),bve=Symbol("pino.msgPrefix"),vve=Symbol("pino.wildcardFirst"),_ve=Symbol.for("pino.serializers"),wve=Symbol.for("pino.formatters"),Sve=Symbol.for("pino.hooks"),Eve=Symbol.for("pino.metadata");_R.exports={setLevelSym:Hbe,getLevelSym:Gbe,levelValSym:Jbe,levelCompSym:Kbe,useLevelLabelsSym:Xbe,mixinSym:Qbe,lsCacheSym:eve,chindingsSym:tve,asJsonSym:rve,writeSym:nve,serializersSym:_ve,redactFmtSym:ive,timeSym:ave,timeSliceIndexSym:ove,streamSym:sve,stringifySym:lve,stringifySafeSym:cve,stringifiersSym:uve,endSym:dve,formatOptsSym:pve,messageKeySym:fve,errorKeySym:mve,nestedKeySym:hve,wildcardFirstSym:vve,needsMetadataGsym:Eve,useOnlyCustomLevelsSym:Ybe,formattersSym:wve,hooksSym:Sve,nestedKeyStrSym:gve,mixinMergeStrategySym:yve,msgPrefixSym:bve}});var l7=h((ibt,xR)=>{"use strict";var wR=vR(),{redactFmtSym:xve,wildcardFirstSym:Cv}=mf(),s7=/[^.[\]]+|\[([^[\]]*?)\]/g,SR="[Redacted]",ER=!1;function Ove(e,t){let{paths:r,censor:n,remove:i}=Cve(e),a=r.reduce((l,c)=>{s7.lastIndex=0;let u=s7.exec(c),d=s7.exec(c),f=u[1]!==void 0?u[1].replace(/^(?:"|'|`)(.*)(?:"|'|`)$/,"$1"):u[0];if(f==="*"&&(f=Cv),d===null)return l[f]=null,l;if(l[f]===null)return l;let{index:p}=d,m=`${c.substr(p,c.length-1)}`;return l[f]=l[f]||[],f!==Cv&&l[f].length===0&&l[f].push(...l[Cv]||[]),f===Cv&&Object.keys(l).forEach(function(y){l[y]&&l[y].push(m)}),l[f].push(m),l},{}),o={[xve]:wR({paths:r,censor:n,serialize:t,strict:ER,remove:i})},s=(...l)=>t(typeof n=="function"?n(...l):n);return[...Object.keys(a),...Object.getOwnPropertySymbols(a)].reduce((l,c)=>{if(a[c]===null)l[c]=u=>s(u,[c]);else{let u=typeof n=="function"?(d,f)=>n(d,[c,...f]):n;l[c]=wR({paths:a[c],censor:u,serialize:t,strict:ER,remove:i})}return l},o)}function Cve(e){if(Array.isArray(e))return e={paths:e,censor:SR},e;let{paths:t,censor:r=SR,remove:n}=e;if(Array.isArray(t)===!1)throw Error("pino \u2013 redact must contain an array of strings");return n===!0&&(r=void 0),{paths:t,censor:r,remove:n}}xR.exports=Ove});var TR=h((abt,CR)=>{"use strict";var Tve=()=>"",Ive=()=>`,"time":${Date.now()}`,Ave=()=>`,"time":${Math.round(Date.now()/1e3)}`,Dve=()=>`,"time":"${new Date(Date.now()).toISOString()}"`,Lve=1000000n,OR=1000000000n,kve=BigInt(Date.now())*Lve,Nve=process.hrtime.bigint(),jve=()=>{let e=process.hrtime.bigint()-Nve,t=kve+e,r=t/OR,n=t%OR,i=Number(r*1000n+n/1000000n),a=new Date(i),o=a.getUTCFullYear(),s=(a.getUTCMonth()+1).toString().padStart(2,"0"),l=a.getUTCDate().toString().padStart(2,"0"),c=a.getUTCHours().toString().padStart(2,"0"),u=a.getUTCMinutes().toString().padStart(2,"0"),d=a.getUTCSeconds().toString().padStart(2,"0");return`,"time":"${o}-${s}-${l}T${c}:${u}:${d}.${n.toString().padStart(9,"0")}Z"`};CR.exports={nullTime:Tve,epochTime:Ive,unixTime:Ave,isoTime:Dve,isoTimeNano:jve}});var AR=h((obt,IR)=>{"use strict";function Pve(e){try{return JSON.stringify(e)}catch{return'"[Circular]"'}}IR.exports=Mve;function Mve(e,t,r){var n=r&&r.stringify||Pve,i=1;if(typeof e=="object"&&e!==null){var a=t.length+i;if(a===1)return e;var o=new Array(a);o[0]=n(e);for(var s=1;s<a;s++)o[s]=n(t[s]);return o.join(" ")}if(typeof e!="string")return e;var l=t.length;if(l===0)return e;for(var c="",u=1-i,d=-1,f=e&&e.length||0,p=0;p<f;){if(e.charCodeAt(p)===37&&p+1<f){switch(d=d>-1?d:0,e.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;d<p&&(c+=e.slice(d,p)),c+=Number(t[u]),d=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;d<p&&(c+=e.slice(d,p)),c+=Math.floor(Number(t[u])),d=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;d<p&&(c+=e.slice(d,p));var m=typeof t[u];if(m==="string"){c+="'"+t[u]+"'",d=p+2,p++;break}if(m==="function"){c+=t[u].name||"<anonymous>",d=p+2,p++;break}c+=n(t[u]),d=p+2,p++;break;case 115:if(u>=l)break;d<p&&(c+=e.slice(d,p)),c+=String(t[u]),d=p+2,p++;break;case 37:d<p&&(c+=e.slice(d,p)),c+="%",d=p+2,p++,u--;break}++u}++p}return d===-1?e:(d<f&&(c+=e.slice(d)),c)}});var u7=h((sbt,c7)=>{"use strict";if(typeof SharedArrayBuffer<"u"&&typeof Atomics<"u"){let t=function(r){if((r>0&&r<1/0)===!1)throw typeof r!="number"&&typeof r!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");Atomics.wait(e,0,0,Number(r))},e=new Int32Array(new SharedArrayBuffer(4));c7.exports=t}else{let e=function(t){if((t>0&&t<1/0)===!1)throw typeof t!="number"&&typeof t!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");let n=Date.now()+Number(t);for(;n>Date.now(););};c7.exports=e}});var RR=h((lbt,MR)=>{"use strict";var jt=require("fs"),Rve=require("events"),Fve=require("util").inherits,DR=require("path"),p7=u7(),$ve=require("assert"),Tv=100,Iv=Buffer.allocUnsafe(0),Uve=16*1024,LR="buffer",kR="utf8",[zve,qve]=(process.versions.node||"0.0").split(".").map(Number),Bve=zve>=22&&qve>=7;function NR(e,t){t._opening=!0,t._writing=!0,t._asyncDrainScheduled=!1;function r(a,o){if(a){t._reopening=!1,t._writing=!1,t._opening=!1,t.sync?process.nextTick(()=>{t.listenerCount("error")>0&&t.emit("error",a)}):t.emit("error",a);return}let s=t._reopening;t.fd=o,t.file=e,t._reopening=!1,t._opening=!1,t._writing=!1,t.sync?process.nextTick(()=>t.emit("ready")):t.emit("ready"),!t.destroyed&&(!t._writing&&t._len>t.minLength||t._flushPending?t._actualWrite():s&&process.nextTick(()=>t.emit("drain")))}let n=t.append?"a":"w",i=t.mode;if(t.sync)try{t.mkdir&&jt.mkdirSync(DR.dirname(e),{recursive:!0});let a=jt.openSync(e,n,i);r(null,a)}catch(a){throw r(a),a}else t.mkdir?jt.mkdir(DR.dirname(e),{recursive:!0},a=>{if(a)return r(a);jt.open(e,n,i,r)}):jt.open(e,n,i,r)}function no(e){if(!(this instanceof no))return new no(e);let{fd:t,dest:r,minLength:n,maxLength:i,maxWrite:a,periodicFlush:o,sync:s,append:l=!0,mkdir:c,retryEAGAIN:u,fsync:d,contentMode:f,mode:p}=e||{};t=t||r,this._len=0,this.fd=-1,this._bufs=[],this._lens=[],this._writing=!1,this._ending=!1,this._reopening=!1,this._asyncDrainScheduled=!1,this._flushPending=!1,this._hwm=Math.max(n||0,16387),this.file=null,this.destroyed=!1,this.minLength=n||0,this.maxLength=i||0,this.maxWrite=a||Uve,this._periodicFlush=o||0,this._periodicFlushTimer=void 0,this.sync=s||!1,this.writable=!0,this._fsync=d||!1,this.append=l||!1,this.mode=p,this.retryEAGAIN=u||(()=>!0),this.mkdir=c||!1;let m,y;if(f===LR)this._writingBuf=Iv,this.write=Zve,this.flush=Gve,this.flushSync=Kve,this._actualWrite=Yve,m=()=>jt.writeSync(this.fd,this._writingBuf),y=()=>jt.write(this.fd,this._writingBuf,this.release);else if(f===void 0||f===kR)this._writingBuf="",this.write=Wve,this.flush=Hve,this.flushSync=Jve,this._actualWrite=Xve,m=()=>Buffer.isBuffer(this._writingBuf)?jt.writeSync(this.fd,this._writingBuf):jt.writeSync(this.fd,this._writingBuf,"utf8"),y=()=>Buffer.isBuffer(this._writingBuf)?jt.write(this.fd,this._writingBuf,this.release):jt.write(this.fd,this._writingBuf,"utf8",this.release);else throw new Error(`SonicBoom supports "${kR}" and "${LR}", but passed ${f}`);if(typeof t=="number")this.fd=t,process.nextTick(()=>this.emit("ready"));else if(typeof t=="string")NR(t,this);else throw new Error("SonicBoom supports only file descriptors and files");if(this.minLength>=this.maxWrite)throw new Error(`minLength should be smaller than maxWrite (${this.maxWrite})`);this.release=(v,S)=>{if(v){if((v.code==="EAGAIN"||v.code==="EBUSY")&&this.retryEAGAIN(v,this._writingBuf.length,this._len-this._writingBuf.length))if(this.sync)try{p7(Tv),this.release(void 0,0)}catch(_){this.release(_)}else setTimeout(y,Tv);else this._writing=!1,this.emit("error",v);return}this.emit("write",S);let E=d7(this._writingBuf,this._len,S);if(this._len=E.len,this._writingBuf=E.writingBuf,this._writingBuf.length){if(!this.sync){y();return}try{do{let _=m(),b=d7(this._writingBuf,this._len,_);this._len=b.len,this._writingBuf=b.writingBuf}while(this._writingBuf.length)}catch(_){this.release(_);return}}this._fsync&&jt.fsyncSync(this.fd);let w=this._len;this._reopening?(this._writing=!1,this._reopening=!1,this.reopen()):w>this.minLength?this._actualWrite():this._ending?w>0?this._actualWrite():(this._writing=!1,Av(this)):(this._writing=!1,this.sync?this._asyncDrainScheduled||(this._asyncDrainScheduled=!0,process.nextTick(Vve,this)):this.emit("drain"))},this.on("newListener",function(v){v==="drain"&&(this._asyncDrainScheduled=!1)}),this._periodicFlush!==0&&(this._periodicFlushTimer=setInterval(()=>this.flush(null),this._periodicFlush),this._periodicFlushTimer.unref())}function d7(e,t,r){return typeof e=="string"&&(e=Buffer.from(e)),t=Math.max(t-r,0),e=e.subarray(r),{writingBuf:e,len:t}}function Vve(e){e.listenerCount("drain")>0&&(e._asyncDrainScheduled=!1,e.emit("drain"))}Fve(no,Rve);function jR(e,t){return e.length===0?Iv:e.length===1?e[0]:Buffer.concat(e,t)}function Wve(e){if(this.destroyed)throw new Error("SonicBoom destroyed");e=""+e;let t=Buffer.byteLength(e),r=this._len+t,n=this._bufs;return this.maxLength&&r>this.maxLength?(this.emit("drop",e),this._len<this._hwm):(n.length===0||Buffer.byteLength(n[n.length-1])+t>this.maxWrite?n.push(e):n[n.length-1]+=e,this._len=r,!this._writing&&this._len>=this.minLength&&this._actualWrite(),this._len<this._hwm)}function Zve(e){if(this.destroyed)throw new Error("SonicBoom destroyed");let t=this._len+e.length,r=this._bufs,n=this._lens;return this.maxLength&&t>this.maxLength?(this.emit("drop",e),this._len<this._hwm):(r.length===0||n[n.length-1]+e.length>this.maxWrite?(r.push([e]),n.push(e.length)):(r[r.length-1].push(e),n[n.length-1]+=e.length),this._len=t,!this._writing&&this._len>=this.minLength&&this._actualWrite(),this._len<this._hwm)}function PR(e){this._flushPending=!0;let t=()=>{if(this._fsync)this._flushPending=!1,e();else try{jt.fsync(this.fd,n=>{this._flushPending=!1,e(n)})}catch(n){e(n)}this.off("error",r)},r=n=>{this._flushPending=!1,e(n),this.off("drain",t)};this.once("drain",t),this.once("error",r)}function Hve(e){if(e!=null&&typeof e!="function")throw new Error("flush cb must be a function");if(this.destroyed){let t=new Error("SonicBoom destroyed");if(e){e(t);return}throw t}if(this.minLength<=0){e?.();return}e&&PR.call(this,e),!this._writing&&(this._bufs.length===0&&this._bufs.push(""),this._actualWrite())}function Gve(e){if(e!=null&&typeof e!="function")throw new Error("flush cb must be a function");if(this.destroyed){let t=new Error("SonicBoom destroyed");if(e){e(t);return}throw t}if(this.minLength<=0){e?.();return}e&&PR.call(this,e),!this._writing&&(this._bufs.length===0&&(this._bufs.push([]),this._lens.push(0)),this._actualWrite())}no.prototype.reopen=function(e){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this._opening){this.once("ready",()=>{this.reopen(e)});return}if(this._ending)return;if(!this.file)throw new Error("Unable to reopen a file descriptor, you must pass a file to SonicBoom");if(e&&(this.file=e),this._reopening=!0,this._writing)return;let t=this.fd;this.once("ready",()=>{t!==this.fd&&jt.close(t,r=>{if(r)return this.emit("error",r)})}),NR(this.file,this)};no.prototype.end=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this._opening){this.once("ready",()=>{this.end()});return}this._ending||(this._ending=!0,!this._writing&&(this._len>0&&this.fd>=0?this._actualWrite():Av(this)))};function Jve(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this.fd<0)throw new Error("sonic boom is not ready yet");!this._writing&&this._writingBuf.length>0&&(this._bufs.unshift(this._writingBuf),this._writingBuf="");let e="";for(;this._bufs.length||e.length;){e.length<=0&&(e=this._bufs[0]);try{let t=Buffer.isBuffer(e)?jt.writeSync(this.fd,e):jt.writeSync(this.fd,e,"utf8"),r=d7(e,this._len,t);e=r.writingBuf,this._len=r.len,e.length<=0&&this._bufs.shift()}catch(t){if((t.code==="EAGAIN"||t.code==="EBUSY")&&!this.retryEAGAIN(t,e.length,this._len-e.length))throw t;p7(Tv)}}try{jt.fsyncSync(this.fd)}catch{}}function Kve(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this.fd<0)throw new Error("sonic boom is not ready yet");!this._writing&&this._writingBuf.length>0&&(this._bufs.unshift([this._writingBuf]),this._writingBuf=Iv);let e=Iv;for(;this._bufs.length||e.length;){e.length<=0&&(e=jR(this._bufs[0],this._lens[0]));try{let t=jt.writeSync(this.fd,e);e=e.subarray(t),this._len=Math.max(this._len-t,0),e.length<=0&&(this._bufs.shift(),this._lens.shift())}catch(t){if((t.code==="EAGAIN"||t.code==="EBUSY")&&!this.retryEAGAIN(t,e.length,this._len-e.length))throw t;p7(Tv)}}}no.prototype.destroy=function(){this.destroyed||Av(this)};function Xve(){let e=this.release;if(this._writing=!0,this._writingBuf=this._writingBuf.length?this._writingBuf:this._bufs.shift()||"",this.sync)try{let t=Buffer.isBuffer(this._writingBuf)?jt.writeSync(this.fd,this._writingBuf):jt.writeSync(this.fd,this._writingBuf,"utf8");e(null,t)}catch(t){e(t)}else jt.write(this.fd,this._writingBuf,e)}function Yve(){let e=this.release;if(this._writing=!0,this._writingBuf=this._writingBuf.length?this._writingBuf:jR(this._bufs.shift(),this._lens.shift()),this.sync)try{let t=jt.writeSync(this.fd,this._writingBuf);e(null,t)}catch(t){e(t)}else Bve&&(this._writingBuf=Buffer.from(this._writingBuf)),jt.write(this.fd,this._writingBuf,e)}function Av(e){if(e.fd===-1){e.once("ready",Av.bind(null,e));return}e._periodicFlushTimer!==void 0&&clearInterval(e._periodicFlushTimer),e.destroyed=!0,e._bufs=[],e._lens=[],$ve(typeof e.fd=="number",`sonic.fd must be a number, got ${typeof e.fd}`);try{jt.fsync(e.fd,t)}catch{}function t(){e.fd!==1&&e.fd!==2?jt.close(e.fd,r):r()}function r(n){if(n){e.emit("error",n);return}e._ending&&!e._writing&&e.emit("finish"),e.emit("close")}}no.SonicBoom=no;no.default=no;MR.exports=no});var f7=h((cbt,qR)=>{"use strict";var io={exit:[],beforeExit:[]},FR={exit:t_e,beforeExit:r_e},hf;function Qve(){hf===void 0&&(hf=new FinalizationRegistry(n_e))}function e_e(e){io[e].length>0||process.on(e,FR[e])}function $R(e){io[e].length>0||(process.removeListener(e,FR[e]),io.exit.length===0&&io.beforeExit.length===0&&(hf=void 0))}function t_e(){UR("exit")}function r_e(){UR("beforeExit")}function UR(e){for(let t of io[e]){let r=t.deref(),n=t.fn;r!==void 0&&n(r,e)}io[e]=[]}function n_e(e){for(let t of["exit","beforeExit"]){let r=io[t].indexOf(e);io[t].splice(r,r+1),$R(t)}}function zR(e,t,r){if(t===void 0)throw new Error("the object can't be undefined");e_e(e);let n=new WeakRef(t);n.fn=r,Qve(),hf.register(t,n),io[e].push(n)}function i_e(e,t){zR("exit",e,t)}function a_e(e,t){zR("beforeExit",e,t)}function o_e(e){if(hf!==void 0){hf.unregister(e);for(let t of["exit","beforeExit"])io[t]=io[t].filter(r=>{let n=r.deref();return n&&n!==e}),$R(t)}}qR.exports={register:i_e,registerBeforeExit:a_e,unregister:o_e}});var BR=h((ubt,s_e)=>{s_e.exports={name:"thread-stream",version:"3.2.0",description:"A streaming way to send data to a Node.js Worker Thread",main:"index.js",types:"index.d.ts",dependencies:{"real-require":"^0.2.0"},devDependencies:{"@types/node":"^20.1.0","@types/tap":"^15.0.0","@yao-pkg/pkg":"^5.11.5",desm:"^1.3.0",fastbench:"^1.0.1",husky:"^9.0.6","pino-elasticsearch":"^8.0.0","sonic-boom":"^4.0.1",standard:"^17.0.0",tap:"^16.2.0","ts-node":"^10.8.0",typescript:"^5.3.2","why-is-node-running":"^2.2.2"},scripts:{build:"tsc --noEmit",test:'standard && npm run build && npm run transpile && tap "test/**/*.test.*js" && tap --ts test/*.test.*ts',"test:ci":"standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts","test:ci:js":'tap --no-check-coverage --timeout=120 --coverage-report=lcovonly "test/**/*.test.*js"',"test:ci:ts":'tap --ts --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*ts"',"test:yarn":'npm run transpile && tap "test/**/*.test.js" --no-check-coverage',transpile:"sh ./test/ts/transpile.sh",prepare:"husky install"},standard:{ignore:["test/ts/**/*","test/syntax-error.mjs"]},repository:{type:"git",url:"git+https://github.com/mcollina/thread-stream.git"},keywords:["worker","thread","threads","stream"],author:"Matteo Collina <hello@matteocollina.com>",license:"MIT",bugs:{url:"https://github.com/mcollina/thread-stream/issues"},homepage:"https://github.com/mcollina/thread-stream#readme"}});var WR=h((dbt,VR)=>{"use strict";function l_e(e,t,r,n,i){let a=Date.now()+n,o=Atomics.load(e,t);if(o===r){i(null,"ok");return}let s=o,l=c=>{Date.now()>a?i(null,"timed-out"):setTimeout(()=>{s=o,o=Atomics.load(e,t),o===s?l(c>=1e3?1e3:c*2):o===r?i(null,"ok"):i(null,"not-equal")},c)};l(1)}function c_e(e,t,r,n,i){let a=Date.now()+n,o=Atomics.load(e,t);if(o!==r){i(null,"ok");return}let s=l=>{Date.now()>a?i(null,"timed-out"):setTimeout(()=>{o=Atomics.load(e,t),o!==r?i(null,"ok"):s(l>=1e3?1e3:l*2)},l)};s(1)}VR.exports={wait:l_e,waitDiff:c_e}});var HR=h((pbt,ZR)=>{"use strict";ZR.exports={WRITE_INDEX:4,READ_INDEX:8,SEQ_INDEX:2}});var YR=h((fbt,XR)=>{"use strict";var{version:u_e}=BR(),{EventEmitter:d_e}=require("events"),{Worker:p_e}=require("worker_threads"),{join:f_e}=require("path"),{pathToFileURL:m_e}=require("url"),{wait:h_e}=WR(),{WRITE_INDEX:oa,READ_INDEX:ri,SEQ_INDEX:m7}=HR(),g_e=require("buffer"),y_e=require("assert"),ee=Symbol("kImpl"),b_e=g_e.constants.MAX_STRING_LENGTH;function gf(e,t){Atomics.add(e[ee].state,m7,1),t(),Atomics.add(e[ee].state,m7,1),Atomics.notify(e[ee].state,m7)}var w1=class{constructor(t){this._value=t}deref(){return this._value}},Lv=class{register(){}unregister(){}},v_e=process.env.NODE_V8_COVERAGE?Lv:global.FinalizationRegistry||Lv,__e=process.env.NODE_V8_COVERAGE?w1:global.WeakRef||w1,GR=new v_e(e=>{e.exited||e.terminate()});function w_e(e,t){let{filename:r,workerData:n}=t,a=("__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{})["thread-stream-worker"]||f_e(__dirname,"lib","worker.js"),o=new p_e(a,{...t.workerOpts,trackUnmanagedFds:!1,workerData:{filename:r.indexOf("file://")===0?r:m_e(r).href,dataBuf:e[ee].dataBuf,stateBuf:e[ee].stateBuf,workerData:{$context:{threadStreamVersion:u_e},...n}}});return o.stream=new w1(e),o.on("message",S_e),o.on("exit",KR),GR.register(e,o),o}function JR(e){y_e(!e[ee].sync),e[ee].needDrain&&(e[ee].needDrain=!1,e.emit("drain"))}function Dv(e){let t=Atomics.load(e[ee].state,oa),r=e[ee].data.length-t;if(r>0){if(e[ee].buf.length===0){e[ee].flushing=!1,e[ee].ending?v7(e):e[ee].needDrain&&process.nextTick(JR,e);return}let n=e[ee].buf.slice(0,r),i=Buffer.byteLength(n);i<=r?(e[ee].buf=e[ee].buf.slice(r),kv(e,n,Dv.bind(null,e))):e.flush(()=>{if(!e.destroyed){for(gf(e,()=>{Atomics.store(e[ee].state,ri,0),Atomics.store(e[ee].state,oa,0)}),Atomics.notify(e[ee].state,ri);i>e[ee].data.length;)r=r/2,n=e[ee].buf.slice(0,r),i=Buffer.byteLength(n);e[ee].buf=e[ee].buf.slice(r),kv(e,n,Dv.bind(null,e))}})}else if(r===0){if(t===0&&e[ee].buf.length===0)return;e.flush(()=>{gf(e,()=>{Atomics.store(e[ee].state,ri,0),Atomics.store(e[ee].state,oa,0)}),Atomics.notify(e[ee].state,ri),Dv(e)})}else Uo(e,new Error("overwritten"))}function S_e(e){let t=this.stream.deref();if(t===void 0){this.exited=!0,this.terminate();return}if(e?.code!=null)switch(e.code){case"READY":this.stream=new __e(t),t.flush(()=>{t[ee].ready=!0,t.emit("ready")});break;case"ERROR":Uo(t,e.err);break;case"EVENT":Array.isArray(e.args)?t.emit(e.name,...e.args):t.emit(e.name,e.args);break;case"WARNING":process.emitWarning(e.err);break;default:Uo(t,new Error("this should not happen: "+e.code))}}function KR(e){let t=this.stream.deref();t!==void 0&&(GR.unregister(t),t.worker.exited=!0,t.worker.off("exit",KR),Uo(t,e!==0?new Error("the worker thread exited"):null))}var g7=class extends d_e{constructor(t={}){if(super(),t.bufferSize<4)throw new Error("bufferSize must at least fit a 4-byte utf-8 char");this[ee]={},this[ee].stateBuf=new SharedArrayBuffer(128),this[ee].state=new Int32Array(this[ee].stateBuf),this[ee].dataBuf=new SharedArrayBuffer(t.bufferSize||4*1024*1024),this[ee].data=Buffer.from(this[ee].dataBuf),this[ee].sync=t.sync||!1,this[ee].ending=!1,this[ee].ended=!1,this[ee].needDrain=!1,this[ee].destroyed=!1,this[ee].flushing=!1,this[ee].ready=!1,this[ee].finished=!1,this[ee].errored=null,this[ee].closed=!1,this[ee].buf="",this.worker=w_e(this,t),this.on("message",(r,n)=>{this.worker.postMessage(r,n)})}write(t){if(this[ee].destroyed)return y7(this,new Error("the worker has exited")),!1;if(this[ee].ending)return y7(this,new Error("the worker is ending")),!1;if(this[ee].flushing&&this[ee].buf.length+t.length>=b_e)try{h7(this),this[ee].flushing=!0}catch(r){return Uo(this,r),!1}if(this[ee].buf+=t,this[ee].sync)try{return h7(this),!0}catch(r){return Uo(this,r),!1}return this[ee].flushing||(this[ee].flushing=!0,setImmediate(Dv,this)),this[ee].needDrain=this[ee].data.length-this[ee].buf.length-Atomics.load(this[ee].state,oa)<=0,!this[ee].needDrain}end(){this[ee].destroyed||(this[ee].ending=!0,v7(this))}flush(t){if(this[ee].destroyed){typeof t=="function"&&process.nextTick(t,new Error("the worker has exited"));return}let r=Atomics.load(this[ee].state,oa);h_e(this[ee].state,ri,r,1/0,(n,i)=>{if(n){Uo(this,n),process.nextTick(t,n);return}if(i==="not-equal"){this.flush(t);return}process.nextTick(t)})}flushSync(){this[ee].destroyed||(h7(this),b7(this))}unref(){this.worker.unref()}ref(){this.worker.ref()}get ready(){return this[ee].ready}get destroyed(){return this[ee].destroyed}get closed(){return this[ee].closed}get writable(){return!this[ee].destroyed&&!this[ee].ending}get writableEnded(){return this[ee].ending}get writableFinished(){return this[ee].finished}get writableNeedDrain(){return this[ee].needDrain}get writableObjectMode(){return!1}get writableErrored(){return this[ee].errored}};function y7(e,t){setImmediate(()=>{e.emit("error",t)})}function Uo(e,t){e[ee].destroyed||(e[ee].destroyed=!0,t&&(e[ee].errored=t,y7(e,t)),e.worker.exited?setImmediate(()=>{e[ee].closed=!0,e.emit("close")}):e.worker.terminate().catch(()=>{}).then(()=>{e[ee].closed=!0,e.emit("close")}))}function kv(e,t,r){let n=Atomics.load(e[ee].state,oa),i=Buffer.byteLength(t);return e[ee].data.write(t,n),gf(e,()=>{Atomics.store(e[ee].state,oa,n+i)}),r(),!0}function v7(e){if(!(e[ee].ended||!e[ee].ending||e[ee].flushing)){e[ee].ended=!0;try{e.flushSync();let t=Atomics.load(e[ee].state,ri);gf(e,()=>{Atomics.store(e[ee].state,oa,-1)});let r=0;for(;t!==-1;){if(Atomics.wait(e[ee].state,ri,t,1e3),t=Atomics.load(e[ee].state,ri),t===-2){Uo(e,new Error("end() failed"));return}if(++r===10){Uo(e,new Error("end() took too long (10s)"));return}}process.nextTick(()=>{e[ee].finished=!0,e.emit("finish")})}catch(t){Uo(e,t)}}}function h7(e){let t=()=>{e[ee].ending?v7(e):e[ee].needDrain&&process.nextTick(JR,e)};for(e[ee].flushing=!1;e[ee].buf.length!==0;){let r=Atomics.load(e[ee].state,oa),n=e[ee].data.length-r;if(n===0){b7(e),gf(e,()=>{Atomics.store(e[ee].state,ri,0),Atomics.store(e[ee].state,oa,0)}),Atomics.notify(e[ee].state,ri);continue}else if(n<0)throw new Error("overwritten");let i=e[ee].buf.slice(0,n),a=Buffer.byteLength(i);if(a<=n)e[ee].buf=e[ee].buf.slice(n),kv(e,i,t);else{for(b7(e),gf(e,()=>{Atomics.store(e[ee].state,ri,0),Atomics.store(e[ee].state,oa,0)}),Atomics.notify(e[ee].state,ri);a>e[ee].buf.length;)n=n/2,i=e[ee].buf.slice(0,n),a=Buffer.byteLength(i);e[ee].buf=e[ee].buf.slice(n),kv(e,i,t)}}}function b7(e){if(e[ee].flushing)throw new Error("unable to flush while flushing");let t=Atomics.load(e[ee].state,oa),r=0;for(;;){let n=Atomics.load(e[ee].state,ri);if(n===-2)throw Error("_flushSync failed");if(n!==t)Atomics.wait(e[ee].state,ri,n,1e3);else break;if(++r===10)throw new Error("_flushSync took too long (10s)")}}XR.exports=g7});var S7=h((mbt,QR)=>{"use strict";var{createRequire:E_e}=require("module"),x_e=a7(),{join:_7,isAbsolute:O_e,sep:C_e}=require("node:path"),T_e=u7(),w7=f7(),I_e=YR();function A_e(e){w7.register(e,L_e),w7.registerBeforeExit(e,k_e),e.on("close",function(){w7.unregister(e)})}function D_e(e,t,r,n){let i=new I_e({filename:e,workerData:t,workerOpts:r,sync:n});i.on("ready",a),i.on("close",function(){process.removeListener("exit",o)}),process.on("exit",o);function a(){process.removeListener("exit",o),i.unref(),r.autoEnd!==!1&&A_e(i)}function o(){i.closed||(i.flushSync(),T_e(100),i.end())}return i}function L_e(e){e.ref(),e.flushSync(),e.end(),e.once("close",function(){e.unref()})}function k_e(e){e.flushSync()}function N_e(e){let{pipeline:t,targets:r,levels:n,dedupe:i,worker:a={},caller:o=x_e(),sync:s=!1}=e,l={...e.options},c=typeof o=="string"?[o]:o,u="__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{},d=e.target;if(d&&r)throw new Error("only one of target or targets can be specified");return r?(d=u["pino-worker"]||_7(__dirname,"worker.js"),l.targets=r.filter(p=>p.target).map(p=>({...p,target:f(p.target)})),l.pipelines=r.filter(p=>p.pipeline).map(p=>p.pipeline.map(m=>({...m,level:p.level,target:f(m.target)})))):t&&(d=u["pino-worker"]||_7(__dirname,"worker.js"),l.pipelines=[t.map(p=>({...p,target:f(p.target)}))]),n&&(l.levels=n),i&&(l.dedupe=i),l.pinoWillSendConfig=!0,D_e(f(d),l,a,s);function f(p){if(p=u[p]||p,O_e(p)||p.indexOf("file://")===0)return p;if(p==="pino/file")return _7(__dirname,"..","file.js");let m;for(let y of c)try{let v=y==="node:repl"?process.cwd()+C_e:y;m=E_e(v).resolve(p);break}catch{continue}if(!m)throw new Error(`unable to determine transport target for "${p}"`);return m}}QR.exports=N_e});var Mv=h((hbt,pF)=>{"use strict";var eF=require("node:diagnostics_channel"),tF=AR(),{mapHttpRequest:j_e,mapHttpResponse:P_e}=i7(),x7=RR(),rF=f7(),{lsCacheSym:M_e,chindingsSym:oF,writeSym:nF,serializersSym:sF,formatOptsSym:iF,endSym:R_e,stringifiersSym:lF,stringifySym:cF,stringifySafeSym:O7,wildcardFirstSym:uF,nestedKeySym:F_e,formattersSym:dF,messageKeySym:$_e,errorKeySym:U_e,nestedKeyStrSym:z_e,msgPrefixSym:Nv}=mf(),{isMainThread:q_e}=require("worker_threads"),B_e=S7(),Pv;typeof eF.tracingChannel=="function"?Pv=eF.tracingChannel("pino_asJson"):Pv={hasSubscribers:!1,traceSync(e,t,r,...n){return e.call(r,...n)}};function yf(){}function V_e(e,t){if(!t)return r;return function(...i){t.call(this,i,r,e)};function r(n,...i){if(typeof n=="object"){let a=n;n!==null&&(n.method&&n.headers&&n.socket?n=j_e(n):typeof n.setHeader=="function"&&(n=P_e(n)));let o;a===null&&i.length===0?o=[null]:(a=i.shift(),o=i),typeof this[Nv]=="string"&&a!==void 0&&a!==null&&(a=this[Nv]+a),this[nF](n,tF(a,o,this[iF]),e)}else{let a=n===void 0?i.shift():n;typeof this[Nv]=="string"&&a!==void 0&&a!==null&&(a=this[Nv]+a),this[nF](null,tF(a,i,this[iF]),e)}}}function E7(e){let t="",r=0,n=!1,i=255,a=e.length;if(a>100)return JSON.stringify(e);for(var o=0;o<a&&i>=32;o++)i=e.charCodeAt(o),(i===34||i===92)&&(t+=e.slice(r,o)+"\\",r=o,n=!0);return n?t+=e.slice(r):t=e,i<32?JSON.stringify(e):'"'+t+'"'}function W_e(e,t,r,n){if(Pv.hasSubscribers===!1)return aF.call(this,e,t,r,n);let i={instance:this,arguments};return Pv.traceSync(aF,i,this,e,t,r,n)}function aF(e,t,r,n){let i=this[cF],a=this[O7],o=this[lF],s=this[R_e],l=this[oF],c=this[sF],u=this[dF],d=this[$_e],f=this[U_e],p=this[M_e][r]+n;p=p+l;let m;u.log&&(e=u.log(e));let y=o[uF],v="";for(let E in e)if(m=e[E],Object.prototype.hasOwnProperty.call(e,E)&&m!==void 0){c[E]?m=c[E](m):E===f&&c.err&&(m=c.err(m));let w=o[E]||y;switch(typeof m){case"undefined":case"function":continue;case"number":Number.isFinite(m)===!1&&(m=null);case"boolean":w&&(m=w(m));break;case"string":m=(w||E7)(m);break;default:m=(w||i)(m,a)}if(m===void 0)continue;let _=E7(E);v+=","+_+":"+m}let S="";if(t!==void 0){m=c[d]?c[d](t):t;let E=o[d]||y;switch(typeof m){case"function":break;case"number":Number.isFinite(m)===!1&&(m=null);case"boolean":E&&(m=E(m)),S=',"'+d+'":'+m;break;case"string":m=(E||E7)(m),S=',"'+d+'":'+m;break;default:m=(E||i)(m,a),S=',"'+d+'":'+m}}return this[F_e]&&v?p+this[z_e]+v.slice(1)+"}"+S+s:p+v+S+s}function Z_e(e,t){let r,n=e[oF],i=e[cF],a=e[O7],o=e[lF],s=o[uF],l=e[sF],c=e[dF].bindings;t=c(t);for(let u in t)if(r=t[u],((u.length<5||u!=="level"&&u!=="serializers"&&u!=="formatters"&&u!=="customLevels")&&t.hasOwnProperty(u)&&r!==void 0)===!0){if(r=l[u]?l[u](r):r,r=(o[u]||s||i)(r,a),r===void 0)continue;n+=',"'+u+'":'+r}return n}function H_e(e){return e.write!==e.constructor.prototype.write}function jv(e){let t=new x7(e);return t.on("error",r),!e.sync&&q_e&&(rF.register(t,G_e),t.on("close",function(){rF.unregister(t)})),t;function r(n){if(n.code==="EPIPE"){t.write=yf,t.end=yf,t.flushSync=yf,t.destroy=yf;return}t.removeListener("error",r),t.emit("error",n)}}function G_e(e,t){e.destroyed||(t==="beforeExit"?(e.flush(),e.on("drain",function(){e.end()})):e.flushSync())}function J_e(e){return function(r,n,i={},a){if(typeof i=="string")a=jv({dest:i}),i={};else if(typeof a=="string"){if(i&&i.transport)throw Error("only one of option.transport or stream can be specified");a=jv({dest:a})}else if(i instanceof x7||i.writable||i._writableState)a=i,i={};else if(i.transport){if(i.transport instanceof x7||i.transport.writable||i.transport._writableState)throw Error("option.transport do not allow stream, please pass to option directly. e.g. pino(transport)");if(i.transport.targets&&i.transport.targets.length&&i.formatters&&typeof i.formatters.level=="function")throw Error("option.transport.targets do not allow custom level formatters");let l;i.customLevels&&(l=i.useOnlyCustomLevels?i.customLevels:Object.assign({},i.levels,i.customLevels)),a=B_e({caller:n,...i.transport,levels:l})}if(i=Object.assign({},e,i),i.serializers=Object.assign({},e.serializers,i.serializers),i.formatters=Object.assign({},e.formatters,i.formatters),i.prettyPrint)throw new Error("prettyPrint option is no longer supported, see the pino-pretty package (https://github.com/pinojs/pino-pretty)");let{enabled:o,onChild:s}=i;return o===!1&&(i.level="silent"),s||(i.onChild=yf),a||(H_e(process.stdout)?a=process.stdout:a=jv({fd:process.stdout.fd||1})),{opts:i,stream:a}}}function K_e(e,t){try{return JSON.stringify(e)}catch{try{return(t||this[O7])(e)}catch{return'"[unable to serialize, circular reference is too complex to analyze]"'}}}function X_e(e,t,r){return{level:e,bindings:t,log:r}}function Y_e(e){let t=Number(e);return typeof e=="string"&&Number.isFinite(t)?t:e===void 0?1:e}pF.exports={noop:yf,buildSafeSonicBoom:jv,asChindings:Z_e,asJson:W_e,genLog:V_e,createArgsNormalizer:J_e,stringify:K_e,buildFormatters:X_e,normalizeDestFileDescriptor:Y_e}});var Rv=h((gbt,fF)=>{var Q_e={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},e2e={ASC:"ASC",DESC:"DESC"};fF.exports={DEFAULT_LEVELS:Q_e,SORTING_ORDER:e2e}});var I7=h((ybt,yF)=>{"use strict";var{lsCacheSym:t2e,levelValSym:C7,useOnlyCustomLevelsSym:r2e,streamSym:n2e,formattersSym:i2e,hooksSym:a2e,levelCompSym:mF}=mf(),{noop:o2e,genLog:_d}=Mv(),{DEFAULT_LEVELS:zo,SORTING_ORDER:hF}=Rv(),gF={fatal:e=>{let t=_d(zo.fatal,e);return function(...r){let n=this[n2e];if(t.call(this,...r),typeof n.flushSync=="function")try{n.flushSync()}catch{}}},error:e=>_d(zo.error,e),warn:e=>_d(zo.warn,e),info:e=>_d(zo.info,e),debug:e=>_d(zo.debug,e),trace:e=>_d(zo.trace,e)},T7=Object.keys(zo).reduce((e,t)=>(e[zo[t]]=t,e),{}),s2e=Object.keys(T7).reduce((e,t)=>(e[t]='{"level":'+Number(t),e),{});function l2e(e){let t=e[i2e].level,{labels:r}=e.levels,n={};for(let i in r){let a=t(r[i],Number(i));n[i]=JSON.stringify(a).slice(0,-1)}return e[t2e]=n,e}function c2e(e,t){if(t)return!1;switch(e){case"fatal":case"error":case"warn":case"info":case"debug":case"trace":return!0;default:return!1}}function u2e(e){let{labels:t,values:r}=this.levels;if(typeof e=="number"){if(t[e]===void 0)throw Error("unknown level value"+e);e=t[e]}if(r[e]===void 0)throw Error("unknown level "+e);let n=this[C7],i=this[C7]=r[e],a=this[r2e],o=this[mF],s=this[a2e].logMethod;for(let l in r){if(o(r[l],i)===!1){this[l]=o2e;continue}this[l]=c2e(l,a)?gF[l](s):_d(r[l],s)}this.emit("level-change",e,i,t[n],n,this)}function d2e(e){let{levels:t,levelVal:r}=this;return t&&t.labels?t.labels[r]:""}function p2e(e){let{values:t}=this.levels,r=t[e];return r!==void 0&&this[mF](r,this[C7])}function f2e(e,t,r){return e===hF.DESC?t<=r:t>=r}function m2e(e){return typeof e=="string"?f2e.bind(null,e):e}function h2e(e=null,t=!1){let r=e?Object.keys(e).reduce((a,o)=>(a[e[o]]=o,a),{}):null,n=Object.assign(Object.create(Object.prototype,{Infinity:{value:"silent"}}),t?null:T7,r),i=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),t?null:zo,e);return{labels:n,values:i}}function g2e(e,t,r){if(typeof e=="number"){if(![].concat(Object.keys(t||{}).map(a=>t[a]),r?[]:Object.keys(T7).map(a=>+a),1/0).includes(e))throw Error(`default level:${e} must be included in custom levels`);return}let n=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),r?null:zo,t);if(!(e in n))throw Error(`default level:${e} must be included in custom levels`)}function y2e(e,t){let{labels:r,values:n}=e;for(let i in t){if(i in n)throw Error("levels cannot be overridden");if(t[i]in r)throw Error("pre-existing level values cannot be used for new levels")}}function b2e(e){if(typeof e!="function"&&!(typeof e=="string"&&Object.values(hF).includes(e)))throw new Error('Levels comparison should be one of "ASC", "DESC" or "function" type')}yF.exports={initialLsCache:s2e,genLsCache:l2e,levelMethods:gF,getLevel:d2e,setLevel:u2e,isLevelEnabled:p2e,mappings:h2e,assertNoLevelCollisions:y2e,assertDefaultLevelFound:g2e,genLevelComparison:m2e,assertLevelComparison:b2e}});var A7=h((bbt,bF)=>{"use strict";bF.exports={version:"9.14.0"}});var CF=h((_bt,OF)=>{"use strict";var{EventEmitter:v2e}=require("node:events"),{lsCacheSym:_2e,levelValSym:w2e,setLevelSym:$v,getLevelSym:vF,chindingsSym:Uv,parsedChindingsSym:S2e,mixinSym:E2e,asJsonSym:wF,writeSym:x2e,mixinMergeStrategySym:O2e,timeSym:C2e,timeSliceIndexSym:T2e,streamSym:SF,serializersSym:wd,formattersSym:S1,errorKeySym:I2e,messageKeySym:A2e,useOnlyCustomLevelsSym:D2e,needsMetadataGsym:L2e,redactFmtSym:k2e,stringifySym:N2e,formatOptsSym:j2e,stringifiersSym:P2e,msgPrefixSym:L7,hooksSym:M2e}=mf(),{getLevel:R2e,setLevel:F2e,isLevelEnabled:$2e,mappings:U2e,initialLsCache:z2e,genLsCache:q2e,assertNoLevelCollisions:B2e}=I7(),{asChindings:k7,asJson:V2e,buildFormatters:D7,stringify:_F,noop:EF}=Mv(),{version:W2e}=A7(),Z2e=l7(),H2e=class{},xF={constructor:H2e,child:G2e,bindings:J2e,setBindings:K2e,flush:Q2e,isLevelEnabled:$2e,version:W2e,get level(){return this[vF]()},set level(e){this[$v](e)},get levelVal(){return this[w2e]},set levelVal(e){throw Error("levelVal is read-only")},get msgPrefix(){return this[L7]},get[Symbol.toStringTag](){return"Pino"},[_2e]:z2e,[x2e]:Y2e,[wF]:V2e,[vF]:R2e,[$v]:F2e};Object.setPrototypeOf(xF,v2e.prototype);OF.exports=function(){return Object.create(xF)};var Fv=e=>e;function G2e(e,t){if(!e)throw Error("missing bindings for child Pino");let r=this[wd],n=this[S1],i=Object.create(this);if(t==null)return i[S1].bindings!==Fv&&(i[S1]=D7(n.level,Fv,n.log)),i[Uv]=k7(i,e),i[$v](this.level),this.onChild!==EF&&this.onChild(i),i;if(t.hasOwnProperty("serializers")===!0){i[wd]=Object.create(null);for(let u in r)i[wd][u]=r[u];let l=Object.getOwnPropertySymbols(r);for(var a=0;a<l.length;a++){let u=l[a];i[wd][u]=r[u]}for(let u in t.serializers)i[wd][u]=t.serializers[u];let c=Object.getOwnPropertySymbols(t.serializers);for(var o=0;o<c.length;o++){let u=c[o];i[wd][u]=t.serializers[u]}}else i[wd]=r;if(t.hasOwnProperty("formatters")){let{level:l,bindings:c,log:u}=t.formatters;i[S1]=D7(l||n.level,c||Fv,u||n.log)}else i[S1]=D7(n.level,Fv,n.log);if(t.hasOwnProperty("customLevels")===!0&&(B2e(this.levels,t.customLevels),i.levels=U2e(t.customLevels,i[D2e]),q2e(i)),typeof t.redact=="object"&&t.redact!==null||Array.isArray(t.redact)){i.redact=t.redact;let l=Z2e(i.redact,_F),c={stringify:l[k2e]};i[N2e]=_F,i[P2e]=l,i[j2e]=c}typeof t.msgPrefix=="string"&&(i[L7]=(this[L7]||"")+t.msgPrefix),i[Uv]=k7(i,e);let s=t.level||this.level;return i[$v](s),this.onChild(i),i}function J2e(){let t=`{${this[Uv].substr(1)}}`,r=JSON.parse(t);return delete r.pid,delete r.hostname,r}function K2e(e){let t=k7(this,e);this[Uv]=t,delete this[S2e]}function X2e(e,t){return Object.assign(t,e)}function Y2e(e,t,r){let n=this[C2e](),i=this[E2e],a=this[I2e],o=this[A2e],s=this[O2e]||X2e,l,c=this[M2e].streamWrite;e==null?l={}:e instanceof Error?(l={[a]:e},t===void 0&&(t=e.message)):(l=e,t===void 0&&e[o]===void 0&&e[a]&&(t=e[a].message)),i&&(l=s(l,i(l,r,this)));let u=this[wF](l,t,r,n),d=this[SF];d[L2e]===!0&&(d.lastLevel=r,d.lastObj=l,d.lastMsg=t,d.lastTime=n.slice(this[T2e]),d.lastLogger=this),d.write(c?c(u):u)}function Q2e(e){if(e!=null&&typeof e!="function")throw Error("callback must be a function");let t=this[SF];typeof t.flush=="function"?t.flush(e||EF):e&&e()}});var DF=h((M7,AF)=>{"use strict";var{hasOwnProperty:E1}=Object.prototype,Ed=P7();Ed.configure=P7;Ed.stringify=Ed;Ed.default=Ed;M7.stringify=Ed;M7.configure=P7;AF.exports=Ed;var e4e=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function Uc(e){return e.length<5e3&&!e4e.test(e)?`"${e}"`:JSON.stringify(e)}function N7(e,t){if(e.length>200||t)return e.sort(t);for(let r=1;r<e.length;r++){let n=e[r],i=r;for(;i!==0&&e[i-1]>n;)e[i]=e[i-1],i--;e[i]=n}return e}var t4e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function j7(e){return t4e.call(e)!==void 0&&e.length!==0}function TF(e,t,r){e.length<r&&(r=e.length);let n=t===","?"":" ",i=`"0":${n}${e[0]}`;for(let a=1;a<r;a++)i+=`${t}"${a}":${n}${e[a]}`;return i}function r4e(e){if(E1.call(e,"circularValue")){let t=e.circularValue;if(typeof t=="string")return`"${t}"`;if(t==null)return t;if(t===Error||t===TypeError)return{toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return'"[Circular]"'}function n4e(e){let t;if(E1.call(e,"deterministic")&&(t=e.deterministic,typeof t!="boolean"&&typeof t!="function"))throw new TypeError('The "deterministic" argument must be of type boolean or comparator function');return t===void 0?!0:t}function i4e(e,t){let r;if(E1.call(e,t)&&(r=e[t],typeof r!="boolean"))throw new TypeError(`The "${t}" argument must be of type boolean`);return r===void 0?!0:r}function IF(e,t){let r;if(E1.call(e,t)){if(r=e[t],typeof r!="number")throw new TypeError(`The "${t}" argument must be of type number`);if(!Number.isInteger(r))throw new TypeError(`The "${t}" argument must be an integer`);if(r<1)throw new RangeError(`The "${t}" argument must be >= 1`)}return r===void 0?1/0:r}function Sd(e){return e===1?"1 item":`${e} items`}function a4e(e){let t=new Set;for(let r of e)(typeof r=="string"||typeof r=="number")&&t.add(String(r));return t}function o4e(e){if(E1.call(e,"strict")){let t=e.strict;if(typeof t!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(t)return r=>{let n=`Object can not safely be stringified. Received type ${typeof r}`;throw typeof r!="function"&&(n+=` (${r.toString()})`),new Error(n)}}}function P7(e){e={...e};let t=o4e(e);t&&(e.bigint===void 0&&(e.bigint=!1),"circularValue"in e||(e.circularValue=Error));let r=r4e(e),n=i4e(e,"bigint"),i=n4e(e),a=typeof i=="function"?i:void 0,o=IF(e,"maximumDepth"),s=IF(e,"maximumBreadth");function l(p,m,y,v,S,E){let w=m[p];switch(typeof w=="object"&&w!==null&&typeof w.toJSON=="function"&&(w=w.toJSON(p)),w=v.call(m,p,w),typeof w){case"string":return Uc(w);case"object":{if(w===null)return"null";if(y.indexOf(w)!==-1)return r;let _="",b=",",A=E;if(Array.isArray(w)){if(w.length===0)return"[]";if(o<y.length+1)return'"[Array]"';y.push(w),S!==""&&(E+=S,_+=`
|
||
${E}`,b=`,
|
||
${E}`);let B=Math.min(w.length,s),$=0;for(;$<B-1;$++){let ae=l(String($),w,y,v,S,E);_+=ae!==void 0?ae:"null",_+=b}let K=l(String($),w,y,v,S,E);if(_+=K!==void 0?K:"null",w.length-1>s){let ae=w.length-s-1;_+=`${b}"... ${Sd(ae)} not stringified"`}return S!==""&&(_+=`
|
||
${A}`),y.pop(),`[${_}]`}let j=Object.keys(w),P=j.length;if(P===0)return"{}";if(o<y.length+1)return'"[Object]"';let T="",N="";S!==""&&(E+=S,b=`,
|
||
${E}`,T=" ");let k=Math.min(P,s);i&&!j7(w)&&(j=N7(j,a)),y.push(w);for(let B=0;B<k;B++){let $=j[B],K=l($,w,y,v,S,E);K!==void 0&&(_+=`${N}${Uc($)}:${T}${K}`,N=b)}if(P>s){let B=P-s;_+=`${N}"...":${T}"${Sd(B)} not stringified"`,N=b}return S!==""&&N.length>1&&(_=`
|
||
${E}${_}
|
||
${A}`),y.pop(),`{${_}}`}case"number":return isFinite(w)?String(w):t?t(w):"null";case"boolean":return w===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(w);default:return t?t(w):void 0}}function c(p,m,y,v,S,E){switch(typeof m=="object"&&m!==null&&typeof m.toJSON=="function"&&(m=m.toJSON(p)),typeof m){case"string":return Uc(m);case"object":{if(m===null)return"null";if(y.indexOf(m)!==-1)return r;let w=E,_="",b=",";if(Array.isArray(m)){if(m.length===0)return"[]";if(o<y.length+1)return'"[Array]"';y.push(m),S!==""&&(E+=S,_+=`
|
||
${E}`,b=`,
|
||
${E}`);let P=Math.min(m.length,s),T=0;for(;T<P-1;T++){let k=c(String(T),m[T],y,v,S,E);_+=k!==void 0?k:"null",_+=b}let N=c(String(T),m[T],y,v,S,E);if(_+=N!==void 0?N:"null",m.length-1>s){let k=m.length-s-1;_+=`${b}"... ${Sd(k)} not stringified"`}return S!==""&&(_+=`
|
||
${w}`),y.pop(),`[${_}]`}y.push(m);let A="";S!==""&&(E+=S,b=`,
|
||
${E}`,A=" ");let j="";for(let P of v){let T=c(P,m[P],y,v,S,E);T!==void 0&&(_+=`${j}${Uc(P)}:${A}${T}`,j=b)}return S!==""&&j.length>1&&(_=`
|
||
${E}${_}
|
||
${w}`),y.pop(),`{${_}}`}case"number":return isFinite(m)?String(m):t?t(m):"null";case"boolean":return m===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(m);default:return t?t(m):void 0}}function u(p,m,y,v,S){switch(typeof m){case"string":return Uc(m);case"object":{if(m===null)return"null";if(typeof m.toJSON=="function"){if(m=m.toJSON(p),typeof m!="object")return u(p,m,y,v,S);if(m===null)return"null"}if(y.indexOf(m)!==-1)return r;let E=S;if(Array.isArray(m)){if(m.length===0)return"[]";if(o<y.length+1)return'"[Array]"';y.push(m),S+=v;let T=`
|
||
${S}`,N=`,
|
||
${S}`,k=Math.min(m.length,s),B=0;for(;B<k-1;B++){let K=u(String(B),m[B],y,v,S);T+=K!==void 0?K:"null",T+=N}let $=u(String(B),m[B],y,v,S);if(T+=$!==void 0?$:"null",m.length-1>s){let K=m.length-s-1;T+=`${N}"... ${Sd(K)} not stringified"`}return T+=`
|
||
${E}`,y.pop(),`[${T}]`}let w=Object.keys(m),_=w.length;if(_===0)return"{}";if(o<y.length+1)return'"[Object]"';S+=v;let b=`,
|
||
${S}`,A="",j="",P=Math.min(_,s);j7(m)&&(A+=TF(m,b,s),w=w.slice(m.length),P-=m.length,j=b),i&&(w=N7(w,a)),y.push(m);for(let T=0;T<P;T++){let N=w[T],k=u(N,m[N],y,v,S);k!==void 0&&(A+=`${j}${Uc(N)}: ${k}`,j=b)}if(_>s){let T=_-s;A+=`${j}"...": "${Sd(T)} not stringified"`,j=b}return j!==""&&(A=`
|
||
${S}${A}
|
||
${E}`),y.pop(),`{${A}}`}case"number":return isFinite(m)?String(m):t?t(m):"null";case"boolean":return m===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(m);default:return t?t(m):void 0}}function d(p,m,y){switch(typeof m){case"string":return Uc(m);case"object":{if(m===null)return"null";if(typeof m.toJSON=="function"){if(m=m.toJSON(p),typeof m!="object")return d(p,m,y);if(m===null)return"null"}if(y.indexOf(m)!==-1)return r;let v="",S=m.length!==void 0;if(S&&Array.isArray(m)){if(m.length===0)return"[]";if(o<y.length+1)return'"[Array]"';y.push(m);let A=Math.min(m.length,s),j=0;for(;j<A-1;j++){let T=d(String(j),m[j],y);v+=T!==void 0?T:"null",v+=","}let P=d(String(j),m[j],y);if(v+=P!==void 0?P:"null",m.length-1>s){let T=m.length-s-1;v+=`,"... ${Sd(T)} not stringified"`}return y.pop(),`[${v}]`}let E=Object.keys(m),w=E.length;if(w===0)return"{}";if(o<y.length+1)return'"[Object]"';let _="",b=Math.min(w,s);S&&j7(m)&&(v+=TF(m,",",s),E=E.slice(m.length),b-=m.length,_=","),i&&(E=N7(E,a)),y.push(m);for(let A=0;A<b;A++){let j=E[A],P=d(j,m[j],y);P!==void 0&&(v+=`${_}${Uc(j)}:${P}`,_=",")}if(w>s){let A=w-s;v+=`${_}"...":"${Sd(A)} not stringified"`}return y.pop(),`{${v}}`}case"number":return isFinite(m)?String(m):t?t(m):"null";case"boolean":return m===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(m);default:return t?t(m):void 0}}function f(p,m,y){if(arguments.length>1){let v="";if(typeof y=="number"?v=" ".repeat(Math.min(y,10)):typeof y=="string"&&(v=y.slice(0,10)),m!=null){if(typeof m=="function")return l("",{"":p},[],m,v,"");if(Array.isArray(m))return c("",p,[],a4e(m),v,"")}if(v.length!==0)return u("",p,[],v,"")}return d("",p,[])}return f}});var jF=h((wbt,NF)=>{"use strict";var R7=Symbol.for("pino.metadata"),{DEFAULT_LEVELS:kF}=Rv(),s4e=kF.info;function l4e(e,t){e=e||[],t=t||{dedupe:!1};let r=Object.create(kF);r.silent=1/0,t.levels&&typeof t.levels=="object"&&Object.keys(t.levels).forEach(d=>{r[d]=t.levels[d]});let n={write:i,add:s,remove:l,emit:a,flushSync:o,end:c,minLevel:0,lastId:0,streams:[],clone:u,[R7]:!0,streamLevels:r};return Array.isArray(e)?e.forEach(s,n):s.call(n,e),e=null,n;function i(d){let f,p=this.lastLevel,{streams:m}=this,y=0,v;for(let S=c4e(m.length,t.dedupe);d4e(S,m.length,t.dedupe);S=u4e(S,t.dedupe))if(f=m[S],f.level<=p){if(y!==0&&y!==f.level)break;if(v=f.stream,v[R7]){let{lastTime:E,lastMsg:w,lastObj:_,lastLogger:b}=this;v.lastLevel=p,v.lastTime=E,v.lastMsg=w,v.lastObj=_,v.lastLogger=b}v.write(d),t.dedupe&&(y=f.level)}else if(!t.dedupe)break}function a(...d){for(let{stream:f}of this.streams)typeof f.emit=="function"&&f.emit(...d)}function o(){for(let{stream:d}of this.streams)typeof d.flushSync=="function"&&d.flushSync()}function s(d){if(!d)return n;let f=typeof d.write=="function"||d.stream,p=d.write?d:d.stream;if(!f)throw Error("stream object needs to implement either StreamEntry or DestinationStream interface");let{streams:m,streamLevels:y}=this,v;typeof d.levelVal=="number"?v=d.levelVal:typeof d.level=="string"?v=y[d.level]:typeof d.level=="number"?v=d.level:v=s4e;let S={stream:p,level:v,levelVal:void 0,id:++n.lastId};return m.unshift(S),m.sort(LF),this.minLevel=m[0].level,n}function l(d){let{streams:f}=this,p=f.findIndex(m=>m.id===d);return p>=0&&(f.splice(p,1),f.sort(LF),this.minLevel=f.length>0?f[0].level:-1),n}function c(){for(let{stream:d}of this.streams)typeof d.flushSync=="function"&&d.flushSync(),d.end()}function u(d){let f=new Array(this.streams.length);for(let p=0;p<f.length;p++)f[p]={level:d,stream:this.streams[p].stream};return{write:i,add:s,remove:l,minLevel:d,streams:f,clone:u,emit:a,flushSync:o,[R7]:!0}}}function LF(e,t){return e.level-t.level}function c4e(e,t){return t?e-1:0}function u4e(e,t){return t?e-1:e+1}function d4e(e,t,r){return r?e>=0:e<t}NF.exports=l4e});var GF=h((Sbt,sa)=>{"use strict";var p4e=require("node:os"),qF=i7(),f4e=a7(),m4e=l7(),BF=TR(),h4e=CF(),VF=mf(),{configure:g4e}=DF(),{assertDefaultLevelFound:y4e,mappings:WF,genLsCache:b4e,genLevelComparison:v4e,assertLevelComparison:_4e}=I7(),{DEFAULT_LEVELS:ZF,SORTING_ORDER:w4e}=Rv(),{createArgsNormalizer:S4e,asChindings:E4e,buildSafeSonicBoom:PF,buildFormatters:x4e,stringify:F7,normalizeDestFileDescriptor:MF,noop:O4e}=Mv(),{version:C4e}=A7(),{chindingsSym:RF,redactFmtSym:T4e,serializersSym:FF,timeSym:I4e,timeSliceIndexSym:A4e,streamSym:D4e,stringifySym:$F,stringifySafeSym:$7,stringifiersSym:UF,setLevelSym:L4e,endSym:k4e,formatOptsSym:N4e,messageKeySym:j4e,errorKeySym:P4e,nestedKeySym:M4e,mixinSym:R4e,levelCompSym:F4e,useOnlyCustomLevelsSym:$4e,formattersSym:zF,hooksSym:U4e,nestedKeyStrSym:z4e,mixinMergeStrategySym:q4e,msgPrefixSym:B4e}=VF,{epochTime:HF,nullTime:V4e}=BF,{pid:W4e}=process,Z4e=p4e.hostname(),H4e=qF.err,G4e={level:"info",levelComparison:w4e.ASC,levels:ZF,messageKey:"msg",errorKey:"err",nestedKey:null,enabled:!0,base:{pid:W4e,hostname:Z4e},serializers:Object.assign(Object.create(null),{err:H4e}),formatters:Object.assign(Object.create(null),{bindings(e){return e},level(e,t){return{level:t}}}),hooks:{logMethod:void 0,streamWrite:void 0},timestamp:HF,name:void 0,redact:null,customLevels:null,useOnlyCustomLevels:!1,depthLimit:5,edgeLimit:100},J4e=S4e(G4e),K4e=Object.assign(Object.create(null),qF);function U7(...e){let t={},{opts:r,stream:n}=J4e(t,f4e(),...e);r.level&&typeof r.level=="string"&&ZF[r.level.toLowerCase()]!==void 0&&(r.level=r.level.toLowerCase());let{redact:i,crlf:a,serializers:o,timestamp:s,messageKey:l,errorKey:c,nestedKey:u,base:d,name:f,level:p,customLevels:m,levelComparison:y,mixin:v,mixinMergeStrategy:S,useOnlyCustomLevels:E,formatters:w,hooks:_,depthLimit:b,edgeLimit:A,onChild:j,msgPrefix:P}=r,T=g4e({maximumDepth:b,maximumBreadth:A}),N=x4e(w.level,w.bindings,w.log),k=F7.bind({[$7]:T}),B=i?m4e(i,k):{},$=i?{stringify:B[T4e]}:{stringify:k},K="}"+(a?`\r
|
||
`:`
|
||
`),ae=E4e.bind(null,{[RF]:"",[FF]:o,[UF]:B,[$F]:F7,[$7]:T,[zF]:N}),ne="";d!==null&&(f===void 0?ne=ae(d):ne=ae(Object.assign({},d,{name:f})));let re=s instanceof Function?s:s?HF:V4e,ce=re().indexOf(":")+1;if(E&&!m)throw Error("customLevels is required if useOnlyCustomLevels is set true");if(v&&typeof v!="function")throw Error(`Unknown mixin type "${typeof v}" - expected "function"`);if(P&&typeof P!="string")throw Error(`Unknown msgPrefix type "${typeof P}" - expected "string"`);y4e(p,m,E);let _e=WF(m,E);typeof n.emit=="function"&&n.emit("message",{code:"PINO_CONFIG",config:{levels:_e,messageKey:l,errorKey:c}}),_4e(y);let We=v4e(y);return Object.assign(t,{levels:_e,[F4e]:We,[$4e]:E,[D4e]:n,[I4e]:re,[A4e]:ce,[$F]:F7,[$7]:T,[UF]:B,[k4e]:K,[N4e]:$,[j4e]:l,[P4e]:c,[M4e]:u,[z4e]:u?`,${JSON.stringify(u)}:{`:"",[FF]:o,[R4e]:v,[q4e]:S,[RF]:ne,[zF]:N,[U4e]:_,silent:O4e,onChild:j,[B4e]:P}),Object.setPrototypeOf(t,h4e()),b4e(t),t[L4e](p),t}sa.exports=U7;sa.exports.destination=(e=process.stdout.fd)=>typeof e=="object"?(e.dest=MF(e.dest||process.stdout.fd),PF(e)):PF({dest:MF(e),minLength:0});sa.exports.transport=S7();sa.exports.multistream=jF();sa.exports.levels=WF();sa.exports.stdSerializers=K4e;sa.exports.stdTimeFunctions=Object.assign({},BF);sa.exports.symbols=VF;sa.exports.version=C4e;sa.exports.default=U7;sa.exports.pino=U7});var ao=h(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.constants=bf.SEP=void 0;bf.SEP="/";bf.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_SYMLINK:2097152,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}});var z7=h(x1=>{"use strict";Object.defineProperty(x1,"__esModule",{value:!0});x1.Stats=void 0;var X4e=ao(),{S_IFMT:Y4e,S_IFDIR:Q4e,S_IFREG:ewe,S_IFBLK:twe,S_IFCHR:rwe,S_IFLNK:nwe,S_IFIFO:iwe,S_IFSOCK:awe}=X4e.constants,zv=class e{static build(t,r=!1){let n=new e,{uid:i,gid:a,atime:o,mtime:s,ctime:l}=t,c=r?d=>BigInt(d):d=>d;n.uid=c(i),n.gid=c(a),n.rdev=c(t.rdev),n.blksize=c(4096),n.ino=c(t.ino),n.size=c(t.getSize()),n.blocks=c(1),n.atime=o,n.mtime=s,n.ctime=l,n.birthtime=l,n.atimeMs=c(o.getTime()),n.mtimeMs=c(s.getTime());let u=c(l.getTime());if(n.ctimeMs=u,n.birthtimeMs=u,r){n.atimeNs=BigInt(o.getTime())*BigInt(1e6),n.mtimeNs=BigInt(s.getTime())*BigInt(1e6);let d=BigInt(l.getTime())*BigInt(1e6);n.ctimeNs=d,n.birthtimeNs=d}return n.dev=c(0),n.mode=c(t.mode),n.nlink=c(t.nlink),n}_checkModeProperty(t){return(Number(this.mode)&Y4e)===t}isDirectory(){return this._checkModeProperty(Q4e)}isFile(){return this._checkModeProperty(ewe)}isBlockDevice(){return this._checkModeProperty(twe)}isCharacterDevice(){return this._checkModeProperty(rwe)}isSymbolicLink(){return this._checkModeProperty(nwe)}isFIFO(){return this._checkModeProperty(iwe)}isSocket(){return this._checkModeProperty(awe)}};x1.Stats=zv;x1.default=zv});var Al=h(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.bufferFrom=zc.bufferAllocUnsafe=zc.Buffer=void 0;var qv=require("buffer");Object.defineProperty(zc,"Buffer",{enumerable:!0,get:function(){return qv.Buffer}});function JF(e,...t){return new qv.Buffer(e,...t)}var owe=qv.Buffer.allocUnsafe||JF;zc.bufferAllocUnsafe=owe;var swe=qv.Buffer.from||JF;zc.bufferFrom=swe});var Wv=h(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.AssertionError=ni.RangeError=ni.TypeError=ni.Error=void 0;ni.message=YF;ni.E=ge;var qc=require("assert"),q7=require("util"),KF=typeof Symbol>"u"?"_kCode":Symbol("code"),XF={};function V7(e){return class extends e{constructor(r,...n){super(YF(r,n)),this.code=r,this[KF]=r,this.name=`${super.name} [${this[KF]}]`}}}var Vv=typeof globalThis<"u"?globalThis:global,B7=class extends Vv.Error{constructor(t){if(typeof t!="object"||t===null)throw new ni.TypeError("ERR_INVALID_ARG_TYPE","options","object");t.message?super(t.message):super(`${q7.inspect(t.actual).slice(0,128)} ${t.operator} ${q7.inspect(t.expected).slice(0,128)}`),this.generatedMessage=!t.message,this.name="AssertionError [ERR_ASSERTION]",this.code="ERR_ASSERTION",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,ni.Error.captureStackTrace(this,t.stackStartFunction)}};ni.AssertionError=B7;function YF(e,t){qc.strictEqual(typeof e,"string");let r=XF[e];qc(r,`An invalid error message key was used: ${e}.`);let n;if(typeof r=="function")n=r;else{if(n=q7.format,t===void 0||t.length===0)return r;t.unshift(r)}return String(n.apply(null,t))}function ge(e,t){XF[e]=typeof t=="function"?t:String(t)}ni.Error=V7(Vv.Error);ni.TypeError=V7(Vv.TypeError);ni.RangeError=V7(Vv.RangeError);ge("ERR_ARG_NOT_ITERABLE","%s must be iterable");ge("ERR_ASSERTION","%s");ge("ERR_BUFFER_OUT_OF_BOUNDS",uwe);ge("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received");ge("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s");ge("ERR_CPU_USAGE","Unable to obtain cpu usage %s");ge("ERR_DNS_SET_SERVERS_FAILED",(e,t)=>`c-ares failed to set servers: "${e}" [${t}]`);ge("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value");ge("ERR_ENCODING_NOT_SUPPORTED",e=>`The "${e}" encoding is not supported`);ge("ERR_ENCODING_INVALID_ENCODED_DATA",e=>`The encoded data was not valid for encoding ${e}`);ge("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client");ge("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s");ge("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding");ge("ERR_INDEX_OUT_OF_RANGE","Index out of range");ge("ERR_INVALID_ARG_TYPE",lwe);ge("ERR_INVALID_ARRAY_LENGTH",(e,t,r)=>(qc.strictEqual(typeof r,"number"),`The array "${e}" (length ${r}) must be of length ${t}.`));ge("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s");ge("ERR_INVALID_CALLBACK","Callback must be a function");ge("ERR_INVALID_CHAR","Invalid character in %s");ge("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column");ge("ERR_INVALID_FD",'"fd" must be a positive integer: %s');ge("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s');ge("ERR_INVALID_FILE_URL_PATH","File URL path %s");ge("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent");ge("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s");ge("ERR_INVALID_OPT_VALUE",(e,t)=>`The value "${String(t)}" is invalid for option "${e}"`);ge("ERR_INVALID_OPT_VALUE_ENCODING",e=>`The value "${String(e)}" is invalid for option "encoding"`);ge("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL');ge("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s");ge("ERR_INVALID_THIS",'Value of "this" must be of type %s');ge("ERR_INVALID_TUPLE","%s must be an iterable %s tuple");ge("ERR_INVALID_URL","Invalid URL: %s");ge("ERR_INVALID_URL_SCHEME",e=>`The URL must be ${Bv(e,"scheme")}`);ge("ERR_IPC_CHANNEL_CLOSED","Channel closed");ge("ERR_IPC_DISCONNECTED","IPC channel is already disconnected");ge("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe");ge("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks");ge("ERR_MISSING_ARGS",cwe);ge("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ge("ERR_NAPI_CONS_FUNCTION","Constructor must be a function");ge("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object");ge("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support");ge("ERR_NO_LONGER_SUPPORTED","%s is no longer supported");ge("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s");ge("ERR_SOCKET_ALREADY_BOUND","Socket is already bound");ge("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536");ge("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6");ge("ERR_SOCKET_CANNOT_SEND","Unable to send data");ge("ERR_SOCKET_CLOSED","Socket is closed");ge("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running");ge("ERR_STDERR_CLOSE","process.stderr cannot be closed");ge("ERR_STDOUT_CLOSE","process.stdout cannot be closed");ge("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode");ge("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s");ge("ERR_TLS_DH_PARAM_SIZE",e=>`DH parameter size ${e} is less than 2048`);ge("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout");ge("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate");ge("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext');ge("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected");ge("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming");ge("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0");ge("ERR_UNKNOWN_ENCODING","Unknown encoding: %s");ge("ERR_UNKNOWN_SIGNAL","Unknown signal: %s");ge("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type");ge("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type");ge("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");ge("ERR_DIR_CLOSED","Directory handle was closed");ge("ERR_DIR_CONCURRENT_OPERATION","Cannot do synchronous work on directory handle with concurrent asynchronous operations");function lwe(e,t,r){qc(e,"name is required");let n;t.includes("not ")?(n="must not be",t=t.split("not ")[1]):n="must be";let i;if(Array.isArray(e))i=`The ${e.map(o=>`"${o}"`).join(", ")} arguments ${n} ${Bv(t,"type")}`;else if(e.includes(" argument"))i=`The ${e} ${n} ${Bv(t,"type")}`;else{let a=e.includes(".")?"property":"argument";i=`The "${e}" ${a} ${n} ${Bv(t,"type")}`}return arguments.length>=3&&(i+=`. Received type ${r!==null?typeof r:"null"}`),i}function cwe(...e){qc(e.length>0,"At least one arg needs to be specified");let t="The ",r=e.length;switch(e=e.map(n=>`"${n}"`),r){case 1:t+=`${e[0]} argument`;break;case 2:t+=`${e[0]} and ${e[1]} arguments`;break;default:t+=e.slice(0,r-1).join(", "),t+=`, and ${e[r-1]} arguments`;break}return`${t} must be specified`}function Bv(e,t){if(qc(e,"expected is required"),qc(typeof t=="string","thing is required"),Array.isArray(e)){let r=e.length;return qc(r>0,"At least one expected value needs to be specified"),e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function uwe(e,t){return t?"Attempt to write outside buffer bounds":`"${e}" is outside of buffer bounds`}});var O1=h(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.ENCODING_UTF8=void 0;xd.assertEncoding=pwe;xd.strToEncoding=fwe;var W7=Al(),dwe=Wv();xd.ENCODING_UTF8="utf8";function pwe(e){if(e&&!W7.Buffer.isEncoding(e))throw new dwe.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",e)}function fwe(e,t){return!t||t===xd.ENCODING_UTF8?e:t==="buffer"?new W7.Buffer(e):new W7.Buffer(e).toString(t)}});var Hv=h(C1=>{"use strict";Object.defineProperty(C1,"__esModule",{value:!0});C1.Dirent=void 0;var mwe=ao(),hwe=O1(),{S_IFMT:gwe,S_IFDIR:ywe,S_IFREG:bwe,S_IFBLK:vwe,S_IFCHR:_we,S_IFLNK:wwe,S_IFIFO:Swe,S_IFSOCK:Ewe}=mwe.constants,Zv=class e{constructor(){this.name="",this.path="",this.parentPath="",this.mode=0}static build(t,r){let n=new e,{mode:i}=t.getNode();return n.name=(0,hwe.strToEncoding)(t.getName(),r),n.mode=i,n.path=t.getParentPath(),n.parentPath=n.path,n}_checkModeProperty(t){return(this.mode&gwe)===t}isDirectory(){return this._checkModeProperty(ywe)}isFile(){return this._checkModeProperty(bwe)}isBlockDevice(){return this._checkModeProperty(vwe)}isCharacterDevice(){return this._checkModeProperty(_we)}isSymbolicLink(){return this._checkModeProperty(wwe)}isFIFO(){return this._checkModeProperty(Swe)}isSocket(){return this._checkModeProperty(Ewe)}};C1.Dirent=Zv;C1.default=Zv});var ii={};i0e(ii,{__addDisposableResource:()=>E$,__assign:()=>Gv,__asyncDelegator:()=>h$,__asyncGenerator:()=>m$,__asyncValues:()=>g$,__await:()=>vf,__awaiter:()=>l$,__classPrivateFieldGet:()=>_$,__classPrivateFieldIn:()=>S$,__classPrivateFieldSet:()=>w$,__createBinding:()=>Kv,__decorate:()=>t$,__disposeResources:()=>x$,__esDecorate:()=>n$,__exportStar:()=>u$,__extends:()=>QF,__generator:()=>c$,__importDefault:()=>v$,__importStar:()=>b$,__makeTemplateObject:()=>y$,__metadata:()=>s$,__param:()=>r$,__propKey:()=>a$,__read:()=>G7,__rest:()=>e$,__rewriteRelativeImportExtension:()=>O$,__runInitializers:()=>i$,__setFunctionName:()=>o$,__spread:()=>d$,__spreadArray:()=>f$,__spreadArrays:()=>p$,__values:()=>Jv,default:()=>Cwe});function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Z7(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function e$(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function t$(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function r$(e,t){return function(r,n){t(r,n,e)}}function n$(e,t,r,n,i,a){function o(S){if(S!==void 0&&typeof S!="function")throw new TypeError("Function expected");return S}for(var s=n.kind,l=s==="getter"?"get":s==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,u=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d,f=!1,p=r.length-1;p>=0;p--){var m={};for(var y in n)m[y]=y==="access"?{}:n[y];for(var y in n.access)m.access[y]=n.access[y];m.addInitializer=function(S){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(S||null))};var v=(0,r[p])(s==="accessor"?{get:u.get,set:u.set}:u[l],m);if(s==="accessor"){if(v===void 0)continue;if(v===null||typeof v!="object")throw new TypeError("Object expected");(d=o(v.get))&&(u.get=d),(d=o(v.set))&&(u.set=d),(d=o(v.init))&&i.unshift(d)}else(d=o(v))&&(s==="field"?i.unshift(d):u[l]=d)}c&&Object.defineProperty(c,n.name,u),f=!0}function i$(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function a$(e){return typeof e=="symbol"?e:"".concat(e)}function o$(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function s$(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function l$(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})}function c$(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function u$(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Kv(t,e,r)}function Jv(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function G7(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function d$(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(G7(arguments[t]));return e}function p$(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function f$(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function vf(e){return this instanceof vf?(this.v=e,this):new vf(e)}function m$(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(p){return function(m){return Promise.resolve(m).then(p,d)}}function s(p,m){n[p]&&(i[p]=function(y){return new Promise(function(v,S){a.push([p,y,v,S])>1||l(p,y)})},m&&(i[p]=m(i[p])))}function l(p,m){try{c(n[p](m))}catch(y){f(a[0][3],y)}}function c(p){p.value instanceof vf?Promise.resolve(p.value.v).then(u,d):f(a[0][2],p)}function u(p){l("next",p)}function d(p){l("throw",p)}function f(p,m){p(m),a.shift(),a.length&&l(a[0][0],a[0][1])}}function h$(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,a){t[i]=e[i]?function(o){return(r=!r)?{value:vf(e[i](o)),done:!1}:a?a(o):o}:a}}function g$(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Jv=="function"?Jv(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(o){return new Promise(function(s,l){o=e[a](o),i(s,l,o.done,o.value)})}}function i(a,o,s,l){Promise.resolve(l).then(function(c){a({value:c,done:s})},o)}}function y$(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function b$(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=H7(e),n=0;n<r.length;n++)r[n]!=="default"&&Kv(t,e,r[n]);return xwe(t,e),t}function v$(e){return e&&e.__esModule?e:{default:e}}function _$(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function w$(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function S$(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function E$(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(a){return Promise.reject(a)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function x$(e){function t(a){e.error=e.hasError?new Owe(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(i,function(o){return t(o),i()})}else n|=1}catch(o){t(o)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function O$(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,a,o){return n?t?".jsx":".js":i&&(!a||!o)?r:i+a+"."+o.toLowerCase()+"js"}):e}var Z7,Gv,Kv,xwe,H7,Owe,Cwe,ai=n0e(()=>{Z7=function(e,t){return Z7=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Z7(e,t)};Gv=function(){return Gv=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Gv.apply(this,arguments)};Kv=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};xwe=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},H7=function(e){return H7=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},H7(e)};Owe=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};Cwe={__extends:QF,__assign:Gv,__rest:e$,__decorate:t$,__param:r$,__esDecorate:n$,__runInitializers:i$,__propKey:a$,__setFunctionName:o$,__metadata:s$,__awaiter:l$,__generator:c$,__createBinding:Kv,__exportStar:u$,__values:Jv,__read:G7,__spread:d$,__spreadArrays:p$,__spreadArray:f$,__await:vf,__asyncGenerator:m$,__asyncDelegator:h$,__asyncValues:g$,__makeTemplateObject:y$,__importStar:b$,__importDefault:v$,__classPrivateFieldGet:_$,__classPrivateFieldSet:w$,__classPrivateFieldIn:S$,__addDisposableResource:E$,__disposeResources:x$,__rewriteRelativeImportExtension:O$}});var T$=h(C$=>{"use strict";Object.defineProperty(C$,"__esModule",{value:!0})});var K7=h(Xv=>{"use strict";Object.defineProperty(Xv,"__esModule",{value:!0});Xv.flattenJSON=void 0;var Twe=Al(),J7=require("path"),{join:Iwe}=J7.posix?J7.posix:J7,Awe=e=>{let t={};function r(n,i){for(let a in i){let o=i[a],s=Iwe(n,a);typeof o=="string"||o instanceof Twe.Buffer?t[s]=o:typeof o=="object"&&o!==null&&Object.keys(o).length>0?r(s,o):t[s]=null}}return r("",e),t};Xv.flattenJSON=Awe});var Qv=h(Yv=>{"use strict";Object.defineProperty(Yv,"__esModule",{value:!0});Yv.createProcess=I$;var Dwe=()=>{if(typeof process<"u")return process;try{return require("process")}catch{return}};function I$(){let e=Dwe()||{};return e.cwd||(e.cwd=()=>"/"),e.emitWarning||(e.emitWarning=(t,r)=>{console.warn(`${r}${r?": ":""}${t}`)}),e.env||(e.env={}),e}Yv.default=I$()});var Y7=h(n_=>{"use strict";Object.defineProperty(n_,"__esModule",{value:!0});n_.Node=void 0;var r_=Qv(),la=Al(),Lwe=ao(),kwe=require("events"),{S_IFMT:Dl,S_IFDIR:Nwe,S_IFREG:jwe,S_IFLNK:A$,S_IFCHR:Pwe}=Lwe.constants,e_=()=>{var e,t;return(t=(e=r_.default.getuid)===null||e===void 0?void 0:e.call(r_.default))!==null&&t!==void 0?t:0},t_=()=>{var e,t;return(t=(e=r_.default.getgid)===null||e===void 0?void 0:e.call(r_.default))!==null&&t!==void 0?t:0},X7=class extends kwe.EventEmitter{constructor(t,r=438){super(),this._uid=e_(),this._gid=t_(),this._atime=new Date,this._mtime=new Date,this._ctime=new Date,this.rdev=0,this._nlink=1,this.mode=r,this.ino=t}set ctime(t){this._ctime=t}get ctime(){return this._ctime}set uid(t){this._uid=t,this.ctime=new Date}get uid(){return this._uid}set gid(t){this._gid=t,this.ctime=new Date}get gid(){return this._gid}set atime(t){this._atime=t,this.ctime=new Date}get atime(){return this._atime}set mtime(t){this._mtime=t,this.ctime=new Date}get mtime(){return this._mtime}get perm(){return this.mode&~Dl}set perm(t){this.mode=this.mode&Dl|t&~Dl,this.ctime=new Date}set nlink(t){this._nlink=t,this.ctime=new Date}get nlink(){return this._nlink}getString(t="utf8"){return this.atime=new Date,this.getBuffer().toString(t)}setString(t){this.buf=(0,la.bufferFrom)(t,"utf8"),this.touch()}getBuffer(){return this.atime=new Date,this.buf||this.setBuffer((0,la.bufferAllocUnsafe)(0)),(0,la.bufferFrom)(this.buf)}setBuffer(t){this.buf=(0,la.bufferFrom)(t),this.touch()}getSize(){return this.buf?this.buf.length:0}setModeProperty(t){this.mode=t}isFile(){return(this.mode&Dl)===jwe}isDirectory(){return(this.mode&Dl)===Nwe}isSymlink(){return(this.mode&Dl)===A$}isCharacterDevice(){return(this.mode&Dl)===Pwe}makeSymlink(t){this.mode=A$|438,this.symlink=t}write(t,r=0,n=t.length,i=0){if(this.buf||(this.buf=(0,la.bufferAllocUnsafe)(0)),i+n>this.buf.length){let a=(0,la.bufferAllocUnsafe)(i+n);this.buf.copy(a,0,0,this.buf.length),this.buf=a}return t.copy(this.buf,i,r,r+n),this.touch(),n}read(t,r=0,n=t.byteLength,i=0){if(this.atime=new Date,this.buf||(this.buf=(0,la.bufferAllocUnsafe)(0)),i>=this.buf.length)return 0;let a=n;a>t.byteLength&&(a=t.byteLength),a+i>this.buf.length&&(a=this.buf.length-i);let o=t instanceof la.Buffer?t:la.Buffer.from(t.buffer);return this.buf.copy(o,r,i,i+a),a}truncate(t=0){if(!t)this.buf=(0,la.bufferAllocUnsafe)(0);else if(this.buf||(this.buf=(0,la.bufferAllocUnsafe)(0)),t<=this.buf.length)this.buf=this.buf.slice(0,t);else{let r=(0,la.bufferAllocUnsafe)(t);this.buf.copy(r),r.fill(0,this.buf.length),this.buf=r}this.touch()}chmod(t){this.mode=this.mode&Dl|t&~Dl,this.touch()}chown(t,r){this.uid=t,this.gid=r,this.touch()}touch(){this.mtime=new Date,this.emit("change",this)}canRead(t=e_(),r=t_()){return!!(this.perm&4||r===this.gid&&this.perm&32||t===this.uid&&this.perm&256)}canWrite(t=e_(),r=t_()){return!!(this.perm&2||r===this.gid&&this.perm&16||t===this.uid&&this.perm&128)}canExecute(t=e_(),r=t_()){return!!(this.perm&1||r===this.gid&&this.perm&8||t===this.uid&&this.perm&64)}del(){this.emit("delete",this)}toJSON(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}}};n_.Node=X7});var eE=h(i_=>{"use strict";Object.defineProperty(i_,"__esModule",{value:!0});i_.Link=void 0;var Mwe=require("events"),Rwe=ao(),{S_IFREG:Fwe}=Rwe.constants,Q7=class e extends Mwe.EventEmitter{get steps(){return this._steps}set steps(t){this._steps=t;for(let[r,n]of this.children.entries())r==="."||r===".."||n?.syncSteps()}constructor(t,r,n){super(),this.children=new Map,this._steps=[],this.ino=0,this.length=0,this.vol=t,this.parent=r,this.name=n,this.syncSteps()}setNode(t){this.node=t,this.ino=t.ino}getNode(){return this.node}createChild(t,r=this.vol.createNode(Fwe|438)){let n=new e(this.vol,this,t);return n.setNode(r),r.isDirectory()&&(n.children.set(".",n),n.getNode().nlink++),this.setChild(t,n),n}setChild(t,r=new e(this.vol,this,t)){return this.children.set(t,r),r.parent=this,this.length++,r.getNode().isDirectory()&&(r.children.set("..",this),this.getNode().nlink++),this.getNode().mtime=new Date,this.emit("child:add",r,this),r}deleteChild(t){t.getNode().isDirectory()&&(t.children.delete(".."),this.getNode().nlink--),this.children.delete(t.getName()),this.length--,this.getNode().mtime=new Date,this.emit("child:delete",t,this)}getChild(t){return this.getNode().atime=new Date,this.children.get(t)}getPath(){return this.steps.join("/")}getParentPath(){return this.steps.slice(0,-1).join("/")}getName(){return this.steps[this.steps.length-1]}toJSON(){return{steps:this.steps,ino:this.ino,children:Array.from(this.children.keys())}}syncSteps(){this.steps=this.parent?this.parent.steps.concat([this.name]):[this.name]}};i_.Link=Q7});var rE=h(a_=>{"use strict";Object.defineProperty(a_,"__esModule",{value:!0});a_.File=void 0;var $we=ao(),{O_APPEND:Uwe}=$we.constants,tE=class{constructor(t,r,n,i){this.link=t,this.node=r,this.flags=n,this.fd=i,this.position=0,this.flags&Uwe&&(this.position=this.getSize())}getString(t="utf8"){return this.node.getString()}setString(t){this.node.setString(t)}getBuffer(){return this.node.getBuffer()}setBuffer(t){this.node.setBuffer(t)}getSize(){return this.node.getSize()}truncate(t){this.node.truncate(t)}seekTo(t){this.position=t}write(t,r=0,n=t.length,i){typeof i!="number"&&(i=this.position);let a=this.node.write(t,r,n,i);return this.position=i+a,a}read(t,r=0,n=t.byteLength,i){typeof i!="number"&&(i=this.position);let a=this.node.read(t,r,n,i);return this.position=i+a,a}chmod(t){this.node.chmod(t)}chown(t,r){this.node.chown(t,r)}};a_.File=tE});var Sf=h(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.FLAGS=wf.ERRSTR=void 0;var zwe=ao();wf.ERRSTR={PATH_STR:"path must be a string, Buffer, or Uint8Array",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"};var{O_RDONLY:D$,O_WRONLY:o_,O_RDWR:_f,O_CREAT:Bc,O_EXCL:s_,O_TRUNC:l_,O_APPEND:c_,O_SYNC:L$}=zwe.constants,k$;(function(e){e[e.r=D$]="r",e[e["r+"]=_f]="r+",e[e.rs=D$|L$]="rs",e[e.sr=e.rs]="sr",e[e["rs+"]=_f|L$]="rs+",e[e["sr+"]=e["rs+"]]="sr+",e[e.w=o_|Bc|l_]="w",e[e.wx=o_|Bc|l_|s_]="wx",e[e.xw=e.wx]="xw",e[e["w+"]=_f|Bc|l_]="w+",e[e["wx+"]=_f|Bc|l_|s_]="wx+",e[e["xw+"]=e["wx+"]]="xw+",e[e.a=o_|c_|Bc]="a",e[e.ax=o_|c_|Bc|s_]="ax",e[e.xa=e.ax]="xa",e[e["a+"]=_f|c_|Bc]="a+",e[e["ax+"]=_f|c_|Bc|s_]="ax+",e[e["xa+"]=e["ax+"]]="xa+"})(k$||(wf.FLAGS=k$={}))});var iE=h(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.default=typeof queueMicrotask=="function"?queueMicrotask:e=>Promise.resolve().then(()=>e()).catch(()=>{})});var p_=h(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.filenameToSteps=Mr.resolve=Mr.unixify=Mr.isWin=void 0;Mr.isFd=j$;Mr.validateFd=Xwe;Mr.dataToBuffer=Ywe;var u_=require("path"),aE=Al(),N$=Qv(),qwe=O1(),Bwe=Sf();Mr.isWin=N$.default.platform==="win32";var Vwe=u_.resolve,{sep:Wwe}=u_.posix?u_.posix:u_,Zwe=(e,t)=>{let r=e[t];return t>0&&(r==="/"||Mr.isWin&&r==="\\")},Hwe=e=>{let t=e.length-1;if(t<2)return e;for(;Zwe(e,t);)t--;return e.substr(0,t+1)},Gwe=(e,t)=>{if(typeof e!="string")throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),t!==!1&&(e=Hwe(e)),e},Jwe=(e,t=!0)=>Mr.isWin?(e=Gwe(e,t),e.replace(/^([a-zA-Z]+:|\.\/)/,"")):e;Mr.unixify=Jwe;var d_=(e,t=N$.default.cwd())=>Vwe(t,e);Mr.resolve=d_;if(Mr.isWin){let e=d_;Mr.resolve=d_=(t,r)=>(0,Mr.unixify)(e(t,r))}var Kwe=(e,t)=>{let n=d_(e,t).substring(1);return n?n.split(Wwe):[]};Mr.filenameToSteps=Kwe;function j$(e){return e>>>0===e}function Xwe(e){if(!j$(e))throw TypeError(Bwe.ERRSTR.FD)}function Ywe(e,t=qwe.ENCODING_UTF8){return aE.Buffer.isBuffer(e)?e:e instanceof Uint8Array?(0,aE.bufferFrom)(e):(0,aE.bufferFrom)(String(e),t)}});var Vc=h(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.getWriteSyncArgs=Or.getWriteArgs=Or.bufToUint8=void 0;Or.promisify=t6e;Or.validateCallback=M$;Or.modeToNumber=R$;Or.nullCheck=F$;Or.pathToFilename=i6e;Or.createError=_6e;Or.genRndStr6=w6e;Or.flagsToNumber=S6e;Or.streamToBuffer=E6e;Or.bufferToEncoding=T6e;Or.isReadableStream=I6e;var T1=Sf(),oE=Wv(),P$=Al(),Qwe=Al(),e6e=iE(),f_=p_();function t6e(e,t,r=n=>n){return(...n)=>new Promise((i,a)=>{e[t].bind(e)(...n,(o,s)=>o?a(o):i(r(s)))})}function M$(e){if(typeof e!="function")throw TypeError(T1.ERRSTR.CB);return e}function r6e(e,t){if(typeof e=="number")return e;if(typeof e=="string")return parseInt(e,8);if(t)return R$(t)}function R$(e,t){let r=r6e(e,t);if(typeof r!="number"||isNaN(r))throw new TypeError(T1.ERRSTR.MODE_INT);return r}function F$(e,t){if((""+e).indexOf("\0")!==-1){let r=new Error("Path must be a string without null bytes");if(r.code="ENOENT",typeof t!="function")throw r;return(0,e6e.default)(()=>{t(r)}),!1}return!0}function n6e(e){if(e.hostname!=="")throw new oE.TypeError("ERR_INVALID_FILE_URL_HOST",process.platform);let t=e.pathname;for(let r=0;r<t.length;r++)if(t[r]==="%"){let n=t.codePointAt(r+2)|32;if(t[r+1]==="2"&&n===102)throw new oE.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(t)}function i6e(e){if(e instanceof Uint8Array&&(e=(0,Qwe.bufferFrom)(e)),typeof e!="string"&&!P$.Buffer.isBuffer(e)){try{if(!(e instanceof require("url").URL))throw new TypeError(T1.ERRSTR.PATH_STR)}catch{throw new TypeError(T1.ERRSTR.PATH_STR)}e=n6e(e)}let t=String(e);return F$(t),t}var a6e="ENOENT",o6e="EBADF",s6e="EINVAL",l6e="EPERM",c6e="EPROTO",u6e="EEXIST",d6e="ENOTDIR",p6e="EMFILE",f6e="EACCES",m6e="EISDIR",h6e="ENOTEMPTY",g6e="ENOSYS",y6e="ERR_FS_EISDIR",b6e="ERR_OUT_OF_RANGE";function v6e(e,t="",r="",n=""){let i="";switch(r&&(i=` '${r}'`),n&&(i+=` -> '${n}'`),e){case a6e:return`ENOENT: no such file or directory, ${t}${i}`;case o6e:return`EBADF: bad file descriptor, ${t}${i}`;case s6e:return`EINVAL: invalid argument, ${t}${i}`;case l6e:return`EPERM: operation not permitted, ${t}${i}`;case c6e:return`EPROTO: protocol error, ${t}${i}`;case u6e:return`EEXIST: file already exists, ${t}${i}`;case d6e:return`ENOTDIR: not a directory, ${t}${i}`;case m6e:return`EISDIR: illegal operation on a directory, ${t}${i}`;case f6e:return`EACCES: permission denied, ${t}${i}`;case h6e:return`ENOTEMPTY: directory not empty, ${t}${i}`;case p6e:return`EMFILE: too many open files, ${t}${i}`;case g6e:return`ENOSYS: function not implemented, ${t}${i}`;case y6e:return`[ERR_FS_EISDIR]: Path is a directory: ${t} returned EISDIR (is a directory) ${r}`;case b6e:return`[ERR_OUT_OF_RANGE]: value out of range, ${t}${i}`;default:return`${e}: error occurred, ${t}${i}`}}function _6e(e,t="",r="",n="",i=Error){let a=new i(v6e(e,t,r,n));return a.code=e,r&&(a.path=r),a}function w6e(){return Math.random().toString(36).slice(2,8).padEnd(6,"0")}function S6e(e){if(typeof e=="number")return e;if(typeof e=="string"){let t=T1.FLAGS[e];if(typeof t<"u")return t}throw new oE.TypeError("ERR_INVALID_OPT_VALUE","flags",e)}function E6e(e){let t=[];return new Promise((r,n)=>{e.on("data",i=>t.push(i)),e.on("end",()=>r(P$.Buffer.concat(t))),e.on("error",n)})}var x6e=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);Or.bufToUint8=x6e;var O6e=(e,t,r,n,i,a)=>{(0,f_.validateFd)(e);let o=0,s,l=null,c,u,d=typeof t,f=typeof r,p=typeof n,m=typeof i;d!=="string"?f==="function"?u=r:p==="function"?(o=r|0,u=n):m==="function"?(o=r|0,s=n,u=i):(o=r|0,s=n,l=i,u=a):f==="function"?u=r:p==="function"?(l=r,u=n):m==="function"&&(l=r,c=n,u=i);let y=(0,f_.dataToBuffer)(t,c);d!=="string"?typeof s>"u"&&(s=y.length):(o=0,s=y.length);let v=M$(u);return[e,d==="string",y,o,s,l,v]};Or.getWriteArgs=O6e;var C6e=(e,t,r,n,i)=>{(0,f_.validateFd)(e);let a,o,s,l,c=typeof t!="string";c?(o=(r||0)|0,s=n,l=i):(l=r,a=n);let u=(0,f_.dataToBuffer)(t,a);return c?typeof s>"u"&&(s=u.length):(o=0,s=u.length),[e,u,o||0,s,l]};Or.getWriteSyncArgs=C6e;function T6e(e,t){return!t||t==="buffer"?e:e.toString(t)}function I6e(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"&&e.readable===!0}});var W$=h(h_=>{"use strict";Object.defineProperty(h_,"__esModule",{value:!0});h_.Superblock=void 0;var Ll=require("path"),A6e=Y7(),$$=eE(),D6e=rE(),L6e=Al(),U$=Qv(),qo=ao(),z$=Sf(),Re=Vc(),oo=p_(),k6e=K7(),{sep:Wc,relative:q$,join:N6e,dirname:j6e}=Ll.posix?Ll.posix:Ll,{O_RDONLY:sE,O_WRONLY:B$,O_RDWR:P6e,O_CREAT:V$,O_EXCL:M6e,O_TRUNC:R6e,O_APPEND:F6e,O_DIRECTORY:$6e,O_SYMLINK:Ubt,F_OK:zbt,COPYFILE_EXCL:qbt,COPYFILE_FICLONE_FORCE:Bbt}=qo.constants,m_=class e{static fromJSON(t,r){let n=new e;return n.fromJSON(t,r),n}static fromNestedJSON(t,r){let n=new e;return n.fromNestedJSON(t,r),n}constructor(t={}){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.open=(i,a,o,s=!0)=>{let l=this.openFile(i,a,o,s);if(!l)throw(0,Re.createError)("ENOENT","open",i);return l.fd},this.writeFile=(i,a,o,s)=>{let l=typeof i=="number",c;l?c=i:c=this.open((0,Re.pathToFilename)(i),o,s);let u=0,d=a.length,f=o&F6e?void 0:0;try{for(;d>0;){let p=this.write(c,a,u,d,f);u+=p,d-=p,f!==void 0&&(f+=p)}}finally{l||this.close(c)}},this.read=(i,a,o,s,l)=>{if(a.byteLength<s)throw(0,Re.createError)("ERR_OUT_OF_RANGE","read",void 0,void 0,RangeError);let c=this.getFileByFdOrThrow(i);if(c.node.isSymlink())throw(0,Re.createError)("EPERM","read",c.link.getPath());return c.read(a,Number(o),Number(s),l===-1||typeof l!="number"?void 0:l)},this.readv=(i,a,o)=>{let s=this.getFileByFdOrThrow(i),l=o??void 0;l===-1&&(l=void 0);let c=0;for(let u of a){let d=s.read(u,0,u.byteLength,l);if(l=void 0,c+=d,d<u.byteLength)break}return c},this.link=(i,a)=>{let o;try{o=this.getLinkOrThrow(i,"link")}catch(d){throw d.code&&(d=(0,Re.createError)(d.code,"link",i,a)),d}let s=Ll.dirname(a),l;try{l=this.getLinkOrThrow(s,"link")}catch(d){throw d.code&&(d=(0,Re.createError)(d.code,"link",i,a)),d}let c=Ll.basename(a);if(l.getChild(c))throw(0,Re.createError)("EEXIST","link",i,a);let u=o.getNode();u.nlink++,l.createChild(c,u)},this.unlink=i=>{let a=this.getLinkOrThrow(i,"unlink");if(a.length)throw Error("Dir not empty...");this.deleteLink(a);let o=a.getNode();o.nlink--,o.nlink<=0&&this.deleteNode(o)},this.symlink=(i,a)=>{let o=(0,oo.filenameToSteps)(a),s;try{s=this.getLinkParentAsDirOrThrow(o)}catch(d){throw d.code&&(d=(0,Re.createError)(d.code,"symlink",i,a)),d}let l=o[o.length-1];if(s.getChild(l))throw(0,Re.createError)("EEXIST","symlink",i,a);let c=s.getNode();if(!c.canExecute()||!c.canWrite())throw(0,Re.createError)("EACCES","symlink",i,a);let u=s.createChild(l);return u.getNode().makeSymlink(i),u},this.rename=(i,a)=>{let o;try{o=this.getResolvedLinkOrThrow(i)}catch(f){throw f.code&&(f=(0,Re.createError)(f.code,"rename",i,a)),f}let s;try{s=this.getLinkParentAsDirOrThrow(a)}catch(f){throw f.code&&(f=(0,Re.createError)(f.code,"rename",i,a)),f}let l=o.parent;if(!l)throw(0,Re.createError)("EINVAL","rename",i,a);let c=l.getNode(),u=s.getNode();if(!c.canExecute()||!c.canWrite()||!u.canExecute()||!u.canWrite())throw(0,Re.createError)("EACCES","rename",i,a);l.deleteChild(o);let d=Ll.basename(a);o.name=d,o.steps=[...s.steps,d],s.setChild(o.getName(),o)},this.mkdir=(i,a)=>{let o=(0,oo.filenameToSteps)(i);if(!o.length)throw(0,Re.createError)("EEXIST","mkdir",i);let s=this.getLinkParentAsDirOrThrow(i,"mkdir"),l=o[o.length-1];if(s.getChild(l))throw(0,Re.createError)("EEXIST","mkdir",i);let c=s.getNode();if(!c.canWrite()||!c.canExecute())throw(0,Re.createError)("EACCES","mkdir",i);s.createChild(l,this.createNode(qo.constants.S_IFDIR|a))},this.mkdirp=(i,a)=>{let o=!1,s=(0,oo.filenameToSteps)(i),l=null,c=s.length;for(c=s.length;c>=0&&(l=this.getResolvedLink(s.slice(0,c)),!l);c--);for(l||(l=this.root,c=0),l=this.getResolvedLinkOrThrow(Wc+s.slice(0,c).join(Wc),"mkdir"),c;c<s.length;c++){let u=l.getNode();if(u.isDirectory()){if(!u.canExecute()||!u.canWrite())throw(0,Re.createError)("EACCES","mkdir",i)}else throw(0,Re.createError)("ENOTDIR","mkdir",i);o=!0,l=l.createChild(s[c],this.createNode(qo.constants.S_IFDIR|a))}return o?i:void 0},this.rmdir=(i,a=!1)=>{let o=this.getLinkAsDirOrThrow(i,"rmdir");if(o.length&&!a)throw(0,Re.createError)("ENOTEMPTY","rmdir",i);this.deleteLink(o)},this.rm=(i,a=!1,o=!1)=>{var s;let l;try{l=this.getResolvedLinkOrThrow(i,"stat")}catch(c){if(c.code==="ENOENT"&&a)return;throw c}if(l.getNode().isDirectory()&&!o)throw(0,Re.createError)("ERR_FS_EISDIR","rm",i);if(!(!((s=l.parent)===null||s===void 0)&&s.getNode().canWrite()))throw(0,Re.createError)("EACCES","rm",i);this.deleteLink(l)},this.close=i=>{(0,oo.validateFd)(i);let a=this.getFileByFdOrThrow(i,"close");this.closeFile(a)};let r=this.createLink();r.setNode(this.createNode(qo.constants.S_IFDIR|511));let n=this;r.setChild(".",r),r.getNode().nlink++,r.setChild("..",r),r.getNode().nlink++,this.root=r}createLink(t,r,n=!1,i){if(!t)return new $$.Link(this,void 0,"");if(!r)throw new Error("createLink: name cannot be empty");let a=i??(n?511:438),s=i&&i&qo.constants.S_IFMT?i&qo.constants.S_IFMT:n?qo.constants.S_IFDIR:qo.constants.S_IFREG,l=a&~qo.constants.S_IFMT|s;return t.createChild(r,this.createNode(l))}deleteLink(t){let r=t.parent;return r?(r.deleteChild(t),!0):!1}newInoNumber(){let t=this.releasedInos.pop();return t||(this.ino=(this.ino+1)%4294967295,this.ino)}newFdNumber(){let t=this.releasedFds.pop();return typeof t=="number"?t:e.fd--}createNode(t){let r=new A6e.Node(this.newInoNumber(),t);return this.inodes[r.ino]=r,r}deleteNode(t){t.del(),delete this.inodes[t.ino],this.releasedInos.push(t.ino)}walk(t,r=!1,n=!1,i=!1,a){var o;let s,l;t instanceof $$.Link?(s=t.steps,l=Wc+s.join(Wc)):typeof t=="string"?(s=(0,oo.filenameToSteps)(t),l=t):(s=t,l=Wc+s.join(Wc));let c=this.root,u=0;for(;u<s.length;){let d=c.getNode();if(d.isDirectory()){if(i&&!d.canExecute())throw(0,Re.createError)("EACCES",a,l)}else if(u<s.length-1)throw(0,Re.createError)("ENOTDIR",a,l);if(c=(o=c.getChild(s[u]))!==null&&o!==void 0?o:null,!c){if(n)throw(0,Re.createError)("ENOENT",a,l);return null}if(d=c?.getNode(),d.isSymlink()&&(r||u<s.length-1)){let f=Ll.isAbsolute(d.symlink)?d.symlink:N6e(Ll.dirname(c.getPath()),d.symlink);s=(0,oo.filenameToSteps)(f).concat(s.slice(u+1)),c=this.root,u=0;continue}if(n&&!d.isDirectory()&&u<s.length-1){let f=U$.default.platform==="win32"?"ENOENT":"ENOTDIR";throw(0,Re.createError)(f,a,l)}u++}return c}getLink(t){return this.walk(t,!1,!1,!1)}getLinkOrThrow(t,r){return this.walk(t,!1,!0,!0,r)}getResolvedLink(t){return this.walk(t,!0,!1,!1)}getResolvedLinkOrThrow(t,r){return this.walk(t,!0,!0,!0,r)}resolveSymlinks(t){return this.getResolvedLink(t.steps.slice(1))}getLinkAsDirOrThrow(t,r){let n=this.getLinkOrThrow(t,r);if(!n.getNode().isDirectory())throw(0,Re.createError)("ENOTDIR",r,t);return n}getLinkParent(t){return this.getLink(t.slice(0,-1))}getLinkParentAsDirOrThrow(t,r){let n=(t instanceof Array?t:(0,oo.filenameToSteps)(t)).slice(0,-1),i=Wc+n.join(Wc),a=this.getLinkOrThrow(i,r);if(!a.getNode().isDirectory())throw(0,Re.createError)("ENOTDIR",r,i);return a}getFileByFd(t){return this.fds[String(t)]}getFileByFdOrThrow(t,r){if(!(0,oo.isFd)(t))throw TypeError(z$.ERRSTR.FD);let n=this.getFileByFd(t);if(!n)throw(0,Re.createError)("EBADF",r);return n}_toJSON(t=this.root,r={},n,i){let a=!0,o=t.children;t.getNode().isFile()&&(o=new Map([[t.getName(),t.parent.getChild(t.getName())]]),t=t.parent);for(let l of o.keys()){if(l==="."||l==="..")continue;a=!1;let c=t.getChild(l);if(!c)throw new Error("_toJSON: unexpected undefined");let u=c.getNode();if(u.isFile()){let d=c.getPath();n&&(d=q$(n,d)),r[d]=i?u.getBuffer():u.getString()}else u.isDirectory()&&this._toJSON(c,r,n,i)}let s=t.getPath();return n&&(s=q$(n,s)),s&&a&&(r[s]=null),r}toJSON(t,r={},n=!1,i=!1){let a=[];if(t){Array.isArray(t)||(t=[t]);for(let o of t){let s=(0,Re.pathToFilename)(o),l=this.getResolvedLink(s);l&&a.push(l)}}else a.push(this.root);if(!a.length)return r;for(let o of a)this._toJSON(o,r,n?o.getPath():"",i);return r}fromJSON(t,r=U$.default.cwd()){for(let n in t){let i=t[n];if(n=(0,oo.resolve)(n,r),typeof i=="string"||i instanceof L6e.Buffer){let a=j6e(n);this.mkdirp(a,511);let o=(0,oo.dataToBuffer)(i);this.writeFile(n,o,z$.FLAGS.w,438)}else this.mkdirp(n,511)}}fromNestedJSON(t,r){this.fromJSON((0,k6e.flattenJSON)(t),r)}reset(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(qo.constants.S_IFDIR|511))}mountSync(t,r){this.fromJSON(r,t)}openLink(t,r,n=!0){if(this.openFiles>=this.maxFiles)throw(0,Re.createError)("EMFILE","open",t.getPath());let i=t;n&&(i=this.getResolvedLinkOrThrow(t.getPath(),"open"));let a=i.getNode();if(a.isDirectory()){if((r&(sE|P6e|B$))!==sE)throw(0,Re.createError)("EISDIR","open",t.getPath())}else if(r&$6e)throw(0,Re.createError)("ENOTDIR","open",t.getPath());if(!(r&B$)&&!a.canRead()||!(r&sE)&&!a.canWrite())throw(0,Re.createError)("EACCES","open",t.getPath());let o=new D6e.File(t,a,r,this.newFdNumber());return this.fds[o.fd]=o,this.openFiles++,r&R6e&&o.truncate(),o}openFile(t,r,n,i=!0){let a=(0,oo.filenameToSteps)(t),o;try{if(o=i?this.getResolvedLinkOrThrow(t,"open"):this.getLinkOrThrow(t,"open"),o&&r&V$&&r&M6e)throw(0,Re.createError)("EEXIST","open",t)}catch(s){if(s.code==="ENOENT"&&r&V$){let l=Ll.dirname(t),c=this.getResolvedLinkOrThrow(l),u=c.getNode();if(!u.isDirectory())throw(0,Re.createError)("ENOTDIR","open",t);if(!u.canExecute()||!u.canWrite())throw(0,Re.createError)("EACCES","open",t);n??(n=438),o=this.createLink(c,a[a.length-1],!1,n)}else throw s}if(o)return this.openLink(o,r,i);throw(0,Re.createError)("ENOENT","open",t)}closeFile(t){this.fds[t.fd]&&(this.openFiles--,delete this.fds[t.fd],this.releasedFds.push(t.fd))}write(t,r,n,i,a){let o=this.getFileByFdOrThrow(t,"write");if(o.node.isSymlink())throw(0,Re.createError)("EBADF","write",o.link.getPath());return o.write(r,n,i,a===-1||typeof a!="number"?void 0:a)}};h_.Superblock=m_;m_.fd=2147483647});var H$=h(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.Superblock=ca.File=ca.Link=ca.Node=void 0;var Z$=(ai(),Oi(ii));Z$.__exportStar(T$(),ca);Z$.__exportStar(K7(),ca);var U6e=Y7();Object.defineProperty(ca,"Node",{enumerable:!0,get:function(){return U6e.Node}});var z6e=eE();Object.defineProperty(ca,"Link",{enumerable:!0,get:function(){return z6e.Link}});var q6e=rE();Object.defineProperty(ca,"File",{enumerable:!0,get:function(){return q6e.File}});var B6e=W$();Object.defineProperty(ca,"Superblock",{enumerable:!0,get:function(){return B6e.Superblock}})});var G$=h(I1=>{"use strict";Object.defineProperty(I1,"__esModule",{value:!0});I1.StatFs=void 0;var g_=class e{static build(t,r=!1){let n=new e,i=r?u=>BigInt(u):u=>u;n.type=i(2240043254),n.bsize=i(4096);let a=Object.keys(t.inodes).length,o=1e6,s=Math.min(a*2,o),l=o-s;n.blocks=i(o),n.bfree=i(l),n.bavail=i(l);let c=1e6;return n.files=i(c),n.ffree=i(c-a),n}};I1.StatFs=g_;I1.default=g_});var J$=h(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});function V6e(e,t,r){let n=setTimeout.apply(typeof globalThis<"u"?globalThis:global,arguments);return n&&typeof n=="object"&&typeof n.unref=="function"&&n.unref(),n}lE.default=V6e});var K$=h(y_=>{"use strict";Object.defineProperty(y_,"__esModule",{value:!0});y_.FileHandle=void 0;var Sn=Vc(),W6e=require("events"),cE=class extends W6e.EventEmitter{constructor(t,r){super(),this.refs=1,this.closePromise=null,this.position=0,this.readableWebStreamLocked=!1,this.fs=t,this.fd=r}getAsyncId(){return this.fd}appendFile(t,r){return(0,Sn.promisify)(this.fs,"appendFile")(this.fd,t,r)}chmod(t){return(0,Sn.promisify)(this.fs,"fchmod")(this.fd,t)}chown(t,r){return(0,Sn.promisify)(this.fs,"fchown")(this.fd,t,r)}close(){if(this.fd===-1)return Promise.resolve();if(this.closePromise)return this.closePromise;if(this.refs--,this.refs===0){let t=this.fd;this.fd=-1,this.closePromise=(0,Sn.promisify)(this.fs,"close")(t).finally(()=>{this.closePromise=null})}else this.closePromise=new Promise((t,r)=>{this.closeResolve=t,this.closeReject=r}).finally(()=>{this.closePromise=null,this.closeReject=void 0,this.closeResolve=void 0});return this.emit("close"),this.closePromise}datasync(){return(0,Sn.promisify)(this.fs,"fdatasync")(this.fd)}createReadStream(t){return this.fs.createReadStream("",Object.assign(Object.assign({},t),{fd:this}))}createWriteStream(t){return this.fs.createWriteStream("",Object.assign(Object.assign({},t),{fd:this}))}readableWebStream(t={}){let{type:r="bytes",autoClose:n=!1}=t,i=0;if(this.fd===-1)throw new Error("The FileHandle is closed");if(this.closePromise)throw new Error("The FileHandle is closing");if(this.readableWebStreamLocked)throw new Error("An error will be thrown if this method is called more than once or is called after the FileHandle is closed or closing.");this.readableWebStreamLocked=!0,this.ref();let a=()=>{this.readableWebStreamLocked=!1,this.unref(),n&&this.close().catch(()=>{})};return new ReadableStream({type:r==="bytes"?"bytes":void 0,autoAllocateChunkSize:16384,pull:async o=>{var s;try{let l=(s=o.byobRequest)===null||s===void 0?void 0:s.view;if(!l){let u=new Uint8Array(16384),d=await this.read(u,0,u.length,i);if(d.bytesRead===0){o.close(),a();return}i+=d.bytesRead,o.enqueue(u.slice(0,d.bytesRead));return}let c=await this.read(l,l.byteOffset,l.byteLength,i);if(c.bytesRead===0){o.close(),a();return}i+=c.bytesRead,o.byobRequest.respond(c.bytesRead)}catch(l){o.error(l),a()}},cancel:async()=>{a()}})}async read(t,r,n,i){let a=i??this.position,o=await(0,Sn.promisify)(this.fs,"read",s=>({bytesRead:s,buffer:t}))(this.fd,t,r,n,a);return i==null&&(this.position+=o.bytesRead),o}readv(t,r){return(0,Sn.promisify)(this.fs,"readv",n=>({bytesRead:n,buffers:t}))(this.fd,t,r)}readFile(t){return(0,Sn.promisify)(this.fs,"readFile")(this.fd,t)}stat(t){return(0,Sn.promisify)(this.fs,"fstat")(this.fd,t)}sync(){return(0,Sn.promisify)(this.fs,"fsync")(this.fd)}truncate(t){return(0,Sn.promisify)(this.fs,"ftruncate")(this.fd,t)}utimes(t,r){return(0,Sn.promisify)(this.fs,"futimes")(this.fd,t,r)}async write(t,r,n,i){let a=typeof i!="number",o=a?this.position:i,s=await(0,Sn.promisify)(this.fs,"write",l=>({bytesWritten:l,buffer:t}))(this.fd,t,r,n,o);return a&&(this.position+=s.bytesWritten),s}writev(t,r){return(0,Sn.promisify)(this.fs,"writev",n=>({bytesWritten:n,buffers:t}))(this.fd,t,r)}writeFile(t,r){return(0,Sn.promisify)(this.fs,"writeFile")(this.fd,t,r)}async[Symbol.asyncDispose](){await this.close()}ref(){this.refs++}unref(){this.refs--,this.refs===0&&(this.fd=-1,this.closeResolve&&(0,Sn.promisify)(this.fs,"close")(this.fd).then(this.closeResolve,this.closeReject))}};y_.FileHandle=cE});var X$=h(b_=>{"use strict";Object.defineProperty(b_,"__esModule",{value:!0});b_.FsPromises=void 0;var ct=Vc(),Z6e=ao(),uE=class{constructor(t,r,n={}){if(this.fs=t,this.path=r,this.options=n,this.eventQueue=[],this.resolveQueue=[],this.finished=!1,this.maxQueue=n.maxQueue||2048,this.overflow=n.overflow||"ignore",this.startWatching(),n.signal){if(n.signal.aborted){this.finish();return}n.signal.addEventListener("abort",()=>{this.finish()})}}startWatching(){try{this.watcher=this.fs.watch(this.path,this.options,(t,r)=>{this.enqueueEvent({eventType:t,filename:r})})}catch(t){throw this.finish(),t}}enqueueEvent(t){if(!this.finished){if(this.eventQueue.length>=this.maxQueue)if(this.overflow==="throw"){let r=new Error(`Watch queue overflow: more than ${this.maxQueue} events queued`);this.finish(r);return}else this.eventQueue.shift(),console.warn(`Watch queue overflow: dropping event due to exceeding maxQueue of ${this.maxQueue}`);if(this.eventQueue.push(t),this.resolveQueue.length>0){let{resolve:r}=this.resolveQueue.shift(),n=this.eventQueue.shift();r({value:n,done:!1})}}}finish(t){if(!this.finished)for(this.finished=!0,this.watcher&&(this.watcher.close(),this.watcher=null);this.resolveQueue.length>0;){let{resolve:r,reject:n}=this.resolveQueue.shift();t?n(t):r({value:void 0,done:!0})}}async next(){return this.finished?{value:void 0,done:!0}:this.eventQueue.length>0?{value:this.eventQueue.shift(),done:!1}:new Promise((t,r)=>{this.resolveQueue.push({resolve:t,reject:r})})}async return(){return this.finish(),{value:void 0,done:!0}}async throw(t){throw this.finish(t),t}[Symbol.asyncIterator](){return this}},dE=class{constructor(t,r){this.fs=t,this.FileHandle=r,this.constants=Z6e.constants,this.cp=(0,ct.promisify)(this.fs,"cp"),this.opendir=(0,ct.promisify)(this.fs,"opendir"),this.statfs=(0,ct.promisify)(this.fs,"statfs"),this.lutimes=(0,ct.promisify)(this.fs,"lutimes"),this.glob=(0,ct.promisify)(this.fs,"glob"),this.access=(0,ct.promisify)(this.fs,"access"),this.chmod=(0,ct.promisify)(this.fs,"chmod"),this.chown=(0,ct.promisify)(this.fs,"chown"),this.copyFile=(0,ct.promisify)(this.fs,"copyFile"),this.lchmod=(0,ct.promisify)(this.fs,"lchmod"),this.lchown=(0,ct.promisify)(this.fs,"lchown"),this.link=(0,ct.promisify)(this.fs,"link"),this.lstat=(0,ct.promisify)(this.fs,"lstat"),this.mkdir=(0,ct.promisify)(this.fs,"mkdir"),this.mkdtemp=(0,ct.promisify)(this.fs,"mkdtemp"),this.readdir=(0,ct.promisify)(this.fs,"readdir"),this.readlink=(0,ct.promisify)(this.fs,"readlink"),this.realpath=(0,ct.promisify)(this.fs,"realpath"),this.rename=(0,ct.promisify)(this.fs,"rename"),this.rmdir=(0,ct.promisify)(this.fs,"rmdir"),this.rm=(0,ct.promisify)(this.fs,"rm"),this.stat=(0,ct.promisify)(this.fs,"stat"),this.symlink=(0,ct.promisify)(this.fs,"symlink"),this.truncate=(0,ct.promisify)(this.fs,"truncate"),this.unlink=(0,ct.promisify)(this.fs,"unlink"),this.utimes=(0,ct.promisify)(this.fs,"utimes"),this.readFile=(n,i)=>(0,ct.promisify)(this.fs,"readFile")(n instanceof this.FileHandle?n.fd:n,i),this.appendFile=(n,i,a)=>(0,ct.promisify)(this.fs,"appendFile")(n instanceof this.FileHandle?n.fd:n,i,a),this.open=(n,i="r",a)=>(0,ct.promisify)(this.fs,"open",o=>new this.FileHandle(this.fs,o))(n,i,a),this.writeFile=(n,i,a)=>((0,ct.isReadableStream)(i)?(0,ct.streamToBuffer)(i):Promise.resolve(i)).then(s=>(0,ct.promisify)(this.fs,"writeFile")(n instanceof this.FileHandle?n.fd:n,s,a)),this.watch=(n,i)=>{let a=typeof i=="string"?{encoding:i}:i||{};return new uE(this.fs,n,a)}}};b_.FsPromises=dE});var Y$=h(v_=>{"use strict";Object.defineProperty(v_,"__esModule",{value:!0});v_.printTree=void 0;var H6e=(e="",t)=>{let r="",n=t.length-1;for(;n>=0&&!t[n];n--);for(let i=0;i<=n;i++){let a=t[i];if(!a)continue;let o=i===n,s=a(e+(o?" ":"\u2502")+" "),l=s?o?"\u2514\u2500":"\u251C\u2500":"\u2502";r+=`
|
||
`+e+l+(s?" "+s:"")}return r};v_.printTree=H6e});var Q$=h(__=>{"use strict";Object.defineProperty(__,"__esModule",{value:!0});__.printBinary=void 0;var G6e=(e="",t)=>{let r=t[0],n=t[1],i="";return r&&(i+=`
|
||
`+e+"\u2190 "+r(e+" ")),n&&(i+=`
|
||
`+e+"\u2192 "+n(e+" ")),i};__.printBinary=G6e});var eU=h(w_=>{"use strict";Object.defineProperty(w_,"__esModule",{value:!0});w_.printJson=void 0;var J6e=(e="",t,r=2)=>(JSON.stringify(t,null,r)||"nil").split(`
|
||
`).join(`
|
||
`+e);w_.printJson=J6e});var tU=h(A1=>{"use strict";Object.defineProperty(A1,"__esModule",{value:!0});var pE=(ai(),Oi(ii));pE.__exportStar(Y$(),A1);pE.__exportStar(Q$(),A1);pE.__exportStar(eU(),A1)});var rU=h(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.newNotAllowedError=En.newTypeMismatchError=En.newNotFoundError=En.assertCanWrite=En.assertName=En.basename=En.ctx=void 0;var K6e=(e={})=>Object.assign({separator:"/",syncHandleAllowed:!1,mode:"read"},e);En.ctx=K6e;var X6e=(e,t)=>{e[e.length-1]===t&&(e=e.slice(0,-1));let r=e.lastIndexOf(t);return r===-1?e:e.slice(r+1)};En.basename=X6e;var Y6e=/^(\.{1,2})$|^(.*([\/\\]).*)$/,Q6e=(e,t,r)=>{if(!e||Y6e.test(e))throw new TypeError(`Failed to execute '${t}' on '${r}': Name is not allowed.`)};En.assertName=Q6e;var e3e=e=>{if(e!=="readwrite")throw new DOMException("The request is not allowed by the user agent or the platform in the current context.","NotAllowedError")};En.assertCanWrite=e3e;var t3e=()=>new DOMException("A requested file or directory could not be found at the time an operation was processed.","NotFoundError");En.newNotFoundError=t3e;var r3e=()=>new DOMException("The path supplied exists, but was not an entry of requested type.","TypeMismatchError");En.newTypeMismatchError=r3e;var n3e=()=>new DOMException("Permission not granted.","NotAllowedError");En.newNotAllowedError=n3e});var nU=h(D1=>{"use strict";Object.defineProperty(D1,"__esModule",{value:!0});D1.toTreeSync=void 0;var i3e=tU(),a3e=rU(),o3e=(e,t={})=>{var r;let n=t.separator||"/",i=t.dir||n;i[i.length-1]!==n&&(i+=n);let a=t.tab||"",o=(r=t.depth)!==null&&r!==void 0?r:10,s=" (...)";if(o>0){let c=e.readdirSync(i,{withFileTypes:!0});s=(0,i3e.printTree)(a,c.map(u=>d=>u.isDirectory()?(0,D1.toTreeSync)(e,{dir:i+u.name,depth:o-1,tab:d}):u.isSymbolicLink()?""+u.name+" \u2192 "+e.readlinkSync(i+u.name):""+u.name))}return(0,a3e.basename)(i,n)+n+s};D1.toTreeSync=o3e});var oU=h(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.getWriteFileOptions=xe.writeFileDefaults=xe.getRealpathOptsAndCb=xe.getRealpathOptions=xe.getStatfsOptsAndCb=xe.getStatfsOptions=xe.getStatOptsAndCb=xe.getStatOptions=xe.getAppendFileOptsAndCb=xe.getAppendFileOpts=xe.getOpendirOptsAndCb=xe.getOpendirOptions=xe.getReaddirOptsAndCb=xe.getReaddirOptions=xe.getReadFileOptions=xe.getRmOptsAndCb=xe.getRmdirOptions=xe.getDefaultOptsAndCb=xe.getDefaultOpts=xe.optsDefaults=xe.getMkdirOptions=void 0;xe.getOptions=aU;xe.optsGenerator=kl;xe.optsAndCbGenerator=Od;var S_=Sf(),s3e=O1(),fE=Vc(),iU={mode:511,recursive:!1},l3e=e=>typeof e=="number"?Object.assign({},iU,{mode:e}):Object.assign({},iU,e);xe.getMkdirOptions=l3e;var c3e=e=>`Expected options to be either an object or a string, but got ${e} instead`;function aU(e,t){let r;if(t){let n=typeof t;switch(n){case"string":r=Object.assign({},e,{encoding:t});break;case"object":r=Object.assign({},e,t);break;default:throw TypeError(c3e(n))}}else return e;return r.encoding!=="buffer"&&(0,s3e.assertEncoding)(r.encoding),r}function kl(e){return t=>aU(e,t)}function Od(e){return(t,r)=>typeof t=="function"?[e(),t]:[e(t),(0,fE.validateCallback)(r)]}xe.optsDefaults={encoding:"utf8"};xe.getDefaultOpts=kl(xe.optsDefaults);xe.getDefaultOptsAndCb=Od(xe.getDefaultOpts);var u3e={recursive:!1},d3e=e=>Object.assign({},u3e,e);xe.getRmdirOptions=d3e;var p3e=kl(xe.optsDefaults);xe.getRmOptsAndCb=Od(p3e);var f3e={flag:"r"};xe.getReadFileOptions=kl(f3e);var m3e={encoding:"utf8",recursive:!1,withFileTypes:!1};xe.getReaddirOptions=kl(m3e);xe.getReaddirOptsAndCb=Od(xe.getReaddirOptions);var h3e={encoding:"utf8",bufferSize:32,recursive:!1};xe.getOpendirOptions=kl(h3e);xe.getOpendirOptsAndCb=Od(xe.getOpendirOptions);var g3e={encoding:"utf8",mode:438,flag:S_.FLAGS[S_.FLAGS.a]};xe.getAppendFileOpts=kl(g3e);xe.getAppendFileOptsAndCb=Od(xe.getAppendFileOpts);var y3e={bigint:!1},b3e=(e={})=>Object.assign({},y3e,e);xe.getStatOptions=b3e;var v3e=(e,t)=>typeof e=="function"?[(0,xe.getStatOptions)(),e]:[(0,xe.getStatOptions)(e),(0,fE.validateCallback)(t)];xe.getStatOptsAndCb=v3e;var _3e={bigint:!1},w3e=(e={})=>Object.assign({},_3e,e);xe.getStatfsOptions=w3e;var S3e=(e,t)=>typeof e=="function"?[(0,xe.getStatfsOptions)(),e]:[(0,xe.getStatfsOptions)(e),(0,fE.validateCallback)(t)];xe.getStatfsOptsAndCb=S3e;var E3e=xe.optsDefaults;xe.getRealpathOptions=kl(E3e);xe.getRealpathOptsAndCb=Od(xe.getRealpathOptions);xe.writeFileDefaults={encoding:"utf8",mode:438,flag:S_.FLAGS[S_.FLAGS.w]};xe.getWriteFileOptions=kl(xe.writeFileDefaults)});var lU=h(E_=>{"use strict";Object.defineProperty(E_,"__esModule",{value:!0});E_.Dir=void 0;var sU=Vc(),x3e=Hv(),Cd=Wv(),mE=class{constructor(t,r){this.link=t,this.options=r,this.iteratorInfo=[],this.closed=!1,this.operationQueue=null,this.path=t.getPath(),this.iteratorInfo.push(t.children[Symbol.iterator]())}closeBase(){}readBase(t){let r,n,i,a;do{do if({done:r,value:n}=t[t.length-1].next(),!r)[i,a]=n;else break;while(i==="."||i==="..");if(r){if(t.pop(),t.length===0)break;r=!1}else return this.options.recursive&&a.children.size&&t.push(a.children[Symbol.iterator]()),x3e.default.build(a,this.options.encoding)}while(!r);return null}close(t){if(t===void 0)return this.closed?Promise.reject(new Cd.Error("ERR_DIR_CLOSED")):new Promise((r,n)=>{this.close(i=>{i?n(i):r()})});if((0,sU.validateCallback)(t),this.closed){process.nextTick(t,new Cd.Error("ERR_DIR_CLOSED"));return}if(this.operationQueue!==null){this.operationQueue.push(()=>{this.close(t)});return}this.closed=!0;try{this.closeBase(),process.nextTick(t)}catch(r){process.nextTick(t,r)}}closeSync(){if(this.closed)throw new Cd.Error("ERR_DIR_CLOSED");if(this.operationQueue!==null)throw new Cd.Error("ERR_DIR_CONCURRENT_OPERATION");this.closed=!0,this.closeBase()}read(t){if(t===void 0)return new Promise((r,n)=>{this.read((i,a)=>{i?n(i):r(a??null)})});if((0,sU.validateCallback)(t),this.closed){process.nextTick(t,new Cd.Error("ERR_DIR_CLOSED"));return}if(this.operationQueue!==null){this.operationQueue.push(()=>{this.read(t)});return}this.operationQueue=[];try{let r=this.readBase(this.iteratorInfo);process.nextTick(()=>{let n=this.operationQueue;this.operationQueue=null;for(let i of n)i();t(null,r)})}catch(r){process.nextTick(()=>{let n=this.operationQueue;this.operationQueue=null;for(let i of n)i();t(r)})}}readSync(){if(this.closed)throw new Cd.Error("ERR_DIR_CLOSED");if(this.operationQueue!==null)throw new Cd.Error("ERR_DIR_CONCURRENT_OPERATION");return this.readBase(this.iteratorInfo)}[Symbol.asyncIterator](){return{next:async()=>{try{let t=await this.read();return t!==null?{done:!1,value:t}:{done:!0,value:void 0}}catch(t){throw t}},[Symbol.asyncIterator](){return this}}}};E_.Dir=mE});var cU=h(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.toMatcher=Nl.toRegex=void 0;var O3e=e=>/[.^$+{}()|\\]/.test(e)?`\\${e}`:e,C3e=(e,t,r,n)=>{let i=t,a=[],o="",s=1;for(;i<e.length&&s>0;){let u=e[i];if(u==="(")s++,o+=u,i++;else if(u===")")if(s--,s===0){a.push(o),i++;break}else o+=u,i++;else u==="|"&&s===1?(a.push(o),o="",i++):(o+=u,i++)}if(s!==0)return;let l="",c=a.length;for(let u=0;u<c;u++)l+=(l?"|":"")+(0,Nl.toRegex)(a[u],n).source.replace(/^\^/,"").replace(/\$$/,"");switch(r){case"?":return[`(?:${l})?`,i];case"*":return[`(?:${l})*`,i];case"+":return[`(?:${l})+`,i];case"@":return[`(?:${l})`,i];case"!":return[`(?!${l})[^/]*`,i]}},T3e=(e,t)=>{let r="",n=0,i=()=>{n++;let s=[],l="",c=!1;for(;n<e.length;){let d=e[n];if(d==="}"){s.push(l),n++,c=!0;break}if(d===","){s.push(l),l="",n++;continue}l+=d,n++}return c?`(?:${s.map(d=>(0,Nl.toRegex)(d,t).source.replace(/^\^/,"").replace(/\$$/,"")).join("|")})`:"\\{"+O3e(l)},a=!!t?.extglob;for(;n<e.length;){let s=e[n];if(a&&e[n+1]==="("&&(s==="?"||s==="*"||s==="+"||s==="@"||s==="!")){let l=C3e(e,n+2,s,t);if(l){r+=l[0],n=l[1];continue}}switch(s){case"*":{if(e[n+1]==="*"){let l=n+2;for(;e[l]==="*";)l++;e[l]==="/"?(r+="(?:.*/)?",n=l+1):(r+=".*",n=l)}else r+="[^/]*",n++;break}case"?":r+="[^/]",n++;break;case"[":{let l="[";for(n++,n<e.length&&e[n]==="!"&&(l+="^",n++),n<e.length&&e[n]==="]"&&(l+="]",n++);n<e.length&&e[n]!=="]";){let c=e[n];l+=c==="\\"?"\\\\":c,n++}if(n<e.length&&e[n]==="]")l+="]",n++;else{r+="\\[";continue}r+=l;break}case"{":{r+=i();break}case"/":r+="/",n++;break;case".":case"^":case"$":case"+":case"(":case")":case"|":case"\\":r+=`\\${s}`,n++;break;default:r+=s,n++;break}}let o=t?.nocase?"i":"";return new RegExp("^"+r+"$",o)};Nl.toRegex=T3e;var I3e=/^\/(.{1,4096})\/([gimsuy]{0,6})$/,A3e=(e,t)=>{let r=[],n=Array.isArray(e)?e:[e];for(let i of n)if(typeof i=="string"){let a=I3e.exec(i);if(a){let[,o,s]=a;r.push(new RegExp(o,s))}else r.push((0,Nl.toRegex)(i,t))}else r.push(i);return r.length?new Function("p","return "+r.map(i=>i+".test(p)").join("||")):()=>!1};Nl.toMatcher=A3e});var pU=h(gE=>{"use strict";Object.defineProperty(gE,"__esModule",{value:!0});gE.globSync=P3e;var L1=require("path"),D3e=cU(),uU=Vc(),{join:L3e,relative:k3e,resolve:N3e}=L1.posix;function dU(e,t){return(0,D3e.toRegex)(t).test(e)}function j3e(e,t){return t?typeof t=="function"?t(e):(Array.isArray(t)?t:[t]).some(n=>dU(e,n)):!1}function hE(e,t,r,n,i=0){var a;let o=[],s=(a=n.maxdepth)!==null&&a!==void 0?a:1/0,l=n.cwd?(0,uU.pathToFilename)(n.cwd):process.cwd();if(i>s)return o;try{let c=e.readdirSync(t,{withFileTypes:!0});for(let u of c){let d=L3e(t,u.name.toString()),f=k3e(l,d);if(j3e(f,n.exclude))continue;if(r.some(m=>dU(f,m))&&o.push(f),u.isDirectory()&&i<s){let m=hE(e,d,r,n,i+1);o.push(...m)}}}catch{}return o}function P3e(e,t,r={}){let n=r.cwd?(0,uU.pathToFilename)(r.cwd):process.cwd(),i=N3e(n),a={cwd:i,exclude:r.exclude,maxdepth:r.maxdepth,withFileTypes:r.withFileTypes||!1},o=[];if(L1.posix.isAbsolute(t)){let s=L1.posix.dirname(t),l=L1.posix.basename(t),c=hE(e,s,[l],Object.assign(Object.assign({},a),{cwd:s}));o.push(...c.map(u=>L1.posix.resolve(s,u)))}else{let s=hE(e,i,[t],a);o.push(...s)}return o=[...new Set(o)].sort(),o}});var _U=h(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.FSWatcher=ji.StatWatcher=ji.Volume=void 0;ji.pathToSteps=Y3e;ji.dataToStr=Q3e;ji.toUnixTimestamp=Ni;var Zc=require("path"),vE=H$(),yE=z7(),M3e=Hv(),R3e=G$(),Of=Al(),I_=iE(),F3e=J$(),A_=require("stream"),$3e=ao(),yU=require("events"),Td=O1(),U3e=K$(),bU=require("util"),z3e=X$(),q3e=nU(),O_=Sf(),tt=oU(),H=Vc(),B3e=lU(),rn=p_(),V3e=Zc.resolve,{O_RDONLY:ovt,O_WRONLY:svt,O_RDWR:lvt,O_CREAT:cvt,O_EXCL:uvt,O_TRUNC:dvt,O_APPEND:pvt,O_DIRECTORY:fvt,O_SYMLINK:fU,F_OK:bE,R_OK:W3e,W_OK:Z3e,X_OK:H3e,COPYFILE_EXCL:G3e,COPYFILE_FICLONE_FORCE:J3e}=$3e.constants,{sep:K3e,relative:x_,join:mU,dirname:hU,normalize:gU}=Zc.posix?Zc.posix:Zc,X3e=128;function Y3e(e){return(0,rn.filenameToSteps)((0,H.pathToFilename)(e))}function Q3e(e,t=Td.ENCODING_UTF8){return Of.Buffer.isBuffer(e)?e.toString(t):e instanceof Uint8Array?(0,Of.bufferFrom)(e).toString(t):String(e)}function Ni(e){if(typeof e=="string"&&+e==e)return+e;if(e instanceof Date)return e.getTime()/1e3;if(isFinite(e))return e<0?Date.now()/1e3:e;throw new Error("Cannot parse time: "+e)}function Ef(e){if(typeof e!="number")throw TypeError(O_.ERRSTR.UID)}function xf(e){if(typeof e!="number")throw TypeError(O_.ERRSTR.GID)}var Id=class{get promises(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi}constructor(t=new vE.Superblock){this._core=t,this.promisesApi=new z3e.FsPromises(this,U3e.FileHandle),this.openSync=(l,c,u=438)=>{let d=(0,H.modeToNumber)(u),f=(0,H.pathToFilename)(l),p=(0,H.flagsToNumber)(c);return this._core.open(f,p,d,!(p&fU))},this.open=(l,c,u,d)=>{let f=u,p=d;typeof u=="function"&&(f=438,p=u),f=f||438;let m=(0,H.modeToNumber)(f),y=(0,H.pathToFilename)(l),v=(0,H.flagsToNumber)(c);this.wrapAsync(this._core.open,[y,v,m,!(v&fU)],p)},this.closeSync=l=>{this._core.close(l)},this.close=(l,c)=>{(0,rn.validateFd)(l);let u=this._core.getFileByFdOrThrow(l,"close");this.wrapAsync(this._core.close,[u.fd],c)},this.readSync=(l,c,u,d,f)=>((0,rn.validateFd)(l),this._core.read(l,c,u,d,f)),this.read=(l,c,u,d,f,p)=>{if((0,H.validateCallback)(p),d===0)return(0,I_.default)(()=>{p&&p(null,0,c)});Promise.resolve().then(()=>{try{let m=this._core.read(l,c,u,d,f);p(null,m,c)}catch(m){p(m)}})},this.readv=(l,c,u,d)=>{let f=u,p=d;typeof u=="function"&&([f,p]=[null,u]),(0,H.validateCallback)(p),Promise.resolve().then(()=>{try{let m=this._core.readv(l,c,f);p(null,m,c)}catch(m){p(m)}})},this.readvSync=(l,c,u)=>((0,rn.validateFd)(l),this._core.readv(l,c,u??null)),this._readfile=(l,c,u)=>{let d,p=typeof l=="number"&&(0,rn.isFd)(l),m;if(p)m=l;else{let y=(0,H.pathToFilename)(l),v=String(l),S=v.length>1&&v.endsWith("/"),E=this._core.getResolvedLinkOrThrow(y,"open"),w=E.getNode();if(w.isDirectory())throw(0,H.createError)("EISDIR","open",E.getPath());if(S&&w.isFile())throw(0,H.createError)("ENOTDIR","open",v);m=this.openSync(l,c)}try{d=(0,H.bufferToEncoding)(this._core.getFileByFdOrThrow(m).getBuffer(),u)}finally{p||this.closeSync(m)}return d},this.readFileSync=(l,c)=>{let u=(0,tt.getReadFileOptions)(c),d=(0,H.flagsToNumber)(u.flag);return this._readfile(l,d,u.encoding)},this.readFile=(l,c,u)=>{let[d,f]=(0,tt.optsAndCbGenerator)(tt.getReadFileOptions)(c,u),p=(0,H.flagsToNumber)(d.flag);this.wrapAsync(this._readfile,[l,p,d.encoding],f)},this.writeSync=(l,c,u,d,f)=>{let[,p,m,y,v]=(0,H.getWriteSyncArgs)(l,c,u,d,f);return this._write(l,p,m,y,v)},this.write=(l,c,u,d,f,p)=>{let[,m,y,v,S,E,w]=(0,H.getWriteArgs)(l,c,u,d,f,p);Promise.resolve().then(()=>{try{let _=this._write(l,y,v,S,E);m?w(null,_,c):w(null,_,y)}catch(_){w(_)}})},this.writev=(l,c,u,d)=>{let f=u,p=d;typeof u=="function"&&([f,p]=[null,u]),(0,H.validateCallback)(p),Promise.resolve().then(()=>{try{let m=this.writevBase(l,c,f);p(null,m,c)}catch(m){p(m)}})},this.writevSync=(l,c,u)=>((0,rn.validateFd)(l),this.writevBase(l,c,u??null)),this.writeFileSync=(l,c,u)=>{let d=(0,tt.getWriteFileOptions)(u),f=(0,H.flagsToNumber)(d.flag),p=(0,H.modeToNumber)(d.mode),m=(0,rn.dataToBuffer)(c,d.encoding);this._core.writeFile(l,m,f,p)},this.writeFile=(l,c,u,d)=>{let f=u,p=d;typeof u=="function"&&([f,p]=[tt.writeFileDefaults,u]);let m=(0,H.validateCallback)(p),y=(0,tt.getWriteFileOptions)(f),v=(0,H.flagsToNumber)(y.flag),S=(0,H.modeToNumber)(y.mode),E=(0,rn.dataToBuffer)(c,y.encoding);this.wrapAsync(this._core.writeFile,[l,E,v,S],m)},this.copyFileSync=(l,c,u)=>{let d=(0,H.pathToFilename)(l),f=(0,H.pathToFilename)(c);return this._copyFile(d,f,(u||0)|0)},this.copyFile=(l,c,u,d)=>{let f=(0,H.pathToFilename)(l),p=(0,H.pathToFilename)(c),m,y;typeof u=="function"?[m,y]=[0,u]:[m,y]=[u,d],(0,H.validateCallback)(y),this.wrapAsync(this._copyFile,[f,p,m],y)},this._cp=(l,c,u)=>{if(u.filter&&!u.filter(l,c))return;let d=u.dereference?this.statSync(l):this.lstatSync(l),f=null;try{f=this.lstatSync(c)}catch(p){if(p.code!=="ENOENT")throw p}if(f&&d.ino===f.ino&&d.dev===f.dev)throw(0,H.createError)("EINVAL","cp",l,c);if(f){if(d.isDirectory()&&!f.isDirectory())throw(0,H.createError)("EISDIR","cp",l,c);if(!d.isDirectory()&&f.isDirectory())throw(0,H.createError)("ENOTDIR","cp",l,c)}if(d.isDirectory()&&this.isSrcSubdir(l,c))throw(0,H.createError)("EINVAL","cp",l,c);{let p=hU(c);this.existsSync(p)||this.mkdirSync(p,{recursive:!0})}if(d.isDirectory()){if(!u.recursive)throw(0,H.createError)("EISDIR","cp",l);this.cpDirSync(d,f,l,c,u)}else if(d.isFile()||d.isCharacterDevice()||d.isBlockDevice())this.cpFileSync(d,f,l,c,u);else if(d.isSymbolicLink()&&!u.dereference)this.cpSymlinkSync(f,l,c,u);else throw(0,H.createError)("EINVAL","cp",l)},this.linkSync=(l,c)=>{let u=(0,H.pathToFilename)(l),d=(0,H.pathToFilename)(c);this._core.link(u,d)},this.link=(l,c,u)=>{let d=(0,H.pathToFilename)(l),f=(0,H.pathToFilename)(c);this.wrapAsync(this._core.link,[d,f],u)},this.unlinkSync=l=>{let c=(0,H.pathToFilename)(l);this._core.unlink(c)},this.unlink=(l,c)=>{let u=(0,H.pathToFilename)(l);this.wrapAsync(this._core.unlink,[u],c)},this.symlinkSync=(l,c,u)=>{let d=(0,H.pathToFilename)(l),f=(0,H.pathToFilename)(c);this._core.symlink(d,f)},this.symlink=(l,c,u,d)=>{let f=(0,H.validateCallback)(typeof u=="function"?u:d),p=(0,H.pathToFilename)(l),m=(0,H.pathToFilename)(c);this.wrapAsync(this._core.symlink,[p,m],f)},this._lstat=(l,c=!1,u=!1)=>{let d;try{d=this._core.getLinkOrThrow(l,"lstat")}catch(f){if(f.code==="ENOENT"&&!u)return;throw f}return yE.default.build(d.getNode(),c)},this.lstatSync=(l,c)=>{let{throwIfNoEntry:u=!0,bigint:d=!1}=(0,tt.getStatOptions)(c);return this._lstat((0,H.pathToFilename)(l),d,u)},this.renameSync=(l,c)=>{let u=(0,H.pathToFilename)(l),d=(0,H.pathToFilename)(c);this._core.rename(u,d)},this.rename=(l,c,u)=>{let d=(0,H.pathToFilename)(l),f=(0,H.pathToFilename)(c);this.wrapAsync(this._core.rename,[d,f],u)},this.existsSync=l=>{try{return this._exists((0,H.pathToFilename)(l))}catch{return!1}},this.exists=(l,c)=>{let u=(0,H.pathToFilename)(l);if(typeof c!="function")throw Error(O_.ERRSTR.CB);Promise.resolve().then(()=>{try{c(this._exists(u))}catch{c(!1)}})},this.accessSync=(l,c=bE)=>{let u=(0,H.pathToFilename)(l);c=c|0,this._access(u,c)},this.access=(l,c,u)=>{let d=bE,f;typeof c!="function"?[d,f]=[c|0,(0,H.validateCallback)(u)]:f=c;let p=(0,H.pathToFilename)(l);this.wrapAsync(this._access,[p,d],f)},this.appendFileSync=(l,c,u)=>{let d=(0,tt.getAppendFileOpts)(u);(!d.flag||(0,rn.isFd)(l))&&(d.flag="a"),this.writeFileSync(l,c,d)},this.appendFile=(l,c,u,d)=>{let[f,p]=(0,tt.getAppendFileOptsAndCb)(u,d);(!f.flag||(0,rn.isFd)(l))&&(f.flag="a"),this.writeFile(l,c,f,p)},this._readdir=(l,c)=>{let u=(0,rn.filenameToSteps)(l),d=this._core.getResolvedLinkOrThrow(l,"scandir"),f=d.getNode();if(!f.isDirectory())throw(0,H.createError)("ENOTDIR","scandir",l);if(!f.canRead())throw(0,H.createError)("EACCES","scandir",l);let p=[];for(let y of d.children.keys()){let v=d.getChild(y);if(!(!v||y==="."||y==="..")&&(p.push(M3e.default.build(v,c.encoding)),c.recursive&&v.children.size)){let S=Object.assign(Object.assign({},c),{recursive:!0,withFileTypes:!0}),E=this._readdir(v.getPath(),S);p.push(...E)}}if(!rn.isWin&&c.encoding!=="buffer"&&p.sort((y,v)=>y.name<v.name?-1:y.name>v.name?1:0),c.withFileTypes)return p;let m=l;return rn.isWin&&(m=m.replace(/\\/g,"/")),p.map(y=>{if(c.recursive){let v=Zc.join(y.parentPath,y.name.toString());return rn.isWin&&(v=v.replace(/\\/g,"/")),v.replace(m+Zc.posix.sep,"")}return y.name})},this.readdirSync=(l,c)=>{let u=(0,tt.getReaddirOptions)(c),d=(0,H.pathToFilename)(l);return this._readdir(d,u)},this.readdir=(l,c,u)=>{let[d,f]=(0,tt.getReaddirOptsAndCb)(c,u),p=(0,H.pathToFilename)(l);this.wrapAsync(this._readdir,[p,d],f)},this._readlink=(l,c)=>{let d=this._core.getLinkOrThrow(l,"readlink").getNode();if(!d.isSymlink())throw(0,H.createError)("EINVAL","readlink",l);return(0,Td.strToEncoding)(d.symlink,c)},this.readlinkSync=(l,c)=>{let u=(0,tt.getDefaultOpts)(c),d=(0,H.pathToFilename)(l);return this._readlink(d,u.encoding)},this.readlink=(l,c,u)=>{let[d,f]=(0,tt.getDefaultOptsAndCb)(c,u),p=(0,H.pathToFilename)(l);this.wrapAsync(this._readlink,[p,d.encoding],f)},this._fsync=l=>{this._core.getFileByFdOrThrow(l,"fsync")},this.fsyncSync=l=>{this._fsync(l)},this.fsync=(l,c)=>{this.wrapAsync(this._fsync,[l],c)},this._fdatasync=l=>{this._core.getFileByFdOrThrow(l,"fdatasync")},this.fdatasyncSync=l=>{this._fdatasync(l)},this.fdatasync=(l,c)=>{this.wrapAsync(this._fdatasync,[l],c)},this._ftruncate=(l,c)=>{this._core.getFileByFdOrThrow(l,"ftruncate").truncate(c)},this.ftruncateSync=(l,c)=>{this._ftruncate(l,c)},this.ftruncate=(l,c,u)=>{let d=typeof c=="number"?c:0,f=(0,H.validateCallback)(typeof c=="number"?u:c);this.wrapAsync(this._ftruncate,[l,d],f)},this._truncate=(l,c)=>{let u=this.openSync(l,"r+");try{this.ftruncateSync(u,c)}finally{this.closeSync(u)}},this.truncateSync=(l,c)=>{if((0,rn.isFd)(l))return this.ftruncateSync(l,c);this._truncate(l,c)},this.truncate=(l,c,u)=>{let d=typeof c=="number"?c:0,f=(0,H.validateCallback)(typeof c=="number"?u:c);if((0,rn.isFd)(l))return this.ftruncate(l,d,f);this.wrapAsync(this._truncate,[l,d],f)},this._futimes=(l,c,u)=>{let f=this._core.getFileByFdOrThrow(l,"futimes").node;f.atime=new Date(c*1e3),f.mtime=new Date(u*1e3)},this.futimesSync=(l,c,u)=>{this._futimes(l,Ni(c),Ni(u))},this.futimes=(l,c,u,d)=>{this.wrapAsync(this._futimes,[l,Ni(c),Ni(u)],d)},this._utimes=(l,c,u,d=!0)=>{let f=this._core,m=(d?f.getResolvedLinkOrThrow(l,"utimes"):f.getLinkOrThrow(l,"lutimes")).getNode();m.atime=new Date(c*1e3),m.mtime=new Date(u*1e3)},this.utimesSync=(l,c,u)=>{this._utimes((0,H.pathToFilename)(l),Ni(c),Ni(u),!0)},this.utimes=(l,c,u,d)=>{this.wrapAsync(this._utimes,[(0,H.pathToFilename)(l),Ni(c),Ni(u),!0],d)},this.lutimesSync=(l,c,u)=>{this._utimes((0,H.pathToFilename)(l),Ni(c),Ni(u),!1)},this.lutimes=(l,c,u,d)=>{this.wrapAsync(this._utimes,[(0,H.pathToFilename)(l),Ni(c),Ni(u),!1],d)},this.mkdirSync=(l,c)=>{let u=(0,tt.getMkdirOptions)(c),d=(0,H.modeToNumber)(u.mode,511),f=(0,H.pathToFilename)(l);if(u.recursive)return this._core.mkdirp(f,d);this._core.mkdir(f,d)},this.mkdir=(l,c,u)=>{let d=(0,tt.getMkdirOptions)(c),f=(0,H.validateCallback)(typeof c=="function"?c:u),p=(0,H.modeToNumber)(d.mode,511),m=(0,H.pathToFilename)(l);d.recursive?this.wrapAsync(this._core.mkdirp,[m,p],f):this.wrapAsync(this._core.mkdir,[m,p],f)},this._mkdtemp=(l,c,u=5)=>{let d=l+(0,H.genRndStr6)();try{return this._core.mkdir(d,511),(0,Td.strToEncoding)(d,c)}catch(f){if(f.code==="EEXIST"){if(u>1)return this._mkdtemp(l,c,u-1);throw Error("Could not create temp dir.")}else throw f}},this.mkdtempSync=(l,c)=>{let{encoding:u}=(0,tt.getDefaultOpts)(c);if(!l||typeof l!="string")throw new TypeError("filename prefix is required");return(0,H.nullCheck)(l),this._mkdtemp(l,u)},this.mkdtemp=(l,c,u)=>{let[{encoding:d},f]=(0,tt.getDefaultOptsAndCb)(c,u);if(!l||typeof l!="string")throw new TypeError("filename prefix is required");(0,H.nullCheck)(l)&&this.wrapAsync(this._mkdtemp,[l,d],f)},this.rmdirSync=(l,c)=>{let u=(0,tt.getRmdirOptions)(c);this._core.rmdir((0,H.pathToFilename)(l),u.recursive)},this.rmdir=(l,c,u)=>{let d=(0,tt.getRmdirOptions)(c),f=(0,H.validateCallback)(typeof c=="function"?c:u);this.wrapAsync(this._core.rmdir,[(0,H.pathToFilename)(l),d.recursive],f)},this.rmSync=(l,c)=>{this._core.rm((0,H.pathToFilename)(l),c?.force,c?.recursive)},this.rm=(l,c,u)=>{let[d,f]=(0,tt.getRmOptsAndCb)(c,u);this.wrapAsync(this._core.rm,[(0,H.pathToFilename)(l),d?.force,d?.recursive],f)},this._fchmod=(l,c)=>{this._core.getFileByFdOrThrow(l,"fchmod").chmod(c)},this.fchmodSync=(l,c)=>{this._fchmod(l,(0,H.modeToNumber)(c))},this.fchmod=(l,c,u)=>{this.wrapAsync(this._fchmod,[l,(0,H.modeToNumber)(c)],u)},this._chmod=(l,c,u=!0)=>{(u?this._core.getResolvedLinkOrThrow(l,"chmod"):this._core.getLinkOrThrow(l,"chmod")).getNode().chmod(c)},this.chmodSync=(l,c)=>{let u=(0,H.modeToNumber)(c),d=(0,H.pathToFilename)(l);this._chmod(d,u,!0)},this.chmod=(l,c,u)=>{let d=(0,H.modeToNumber)(c),f=(0,H.pathToFilename)(l);this.wrapAsync(this._chmod,[f,d],u)},this._lchmod=(l,c)=>{this._chmod(l,c,!1)},this.lchmodSync=(l,c)=>{let u=(0,H.modeToNumber)(c),d=(0,H.pathToFilename)(l);this._lchmod(d,u)},this.lchmod=(l,c,u)=>{let d=(0,H.modeToNumber)(c),f=(0,H.pathToFilename)(l);this.wrapAsync(this._lchmod,[f,d],u)},this._fchown=(l,c,u)=>{this._core.getFileByFdOrThrow(l,"fchown").chown(c,u)},this.fchownSync=(l,c,u)=>{Ef(c),xf(u),this._fchown(l,c,u)},this.fchown=(l,c,u,d)=>{Ef(c),xf(u),this.wrapAsync(this._fchown,[l,c,u],d)},this._chown=(l,c,u)=>{this._core.getResolvedLinkOrThrow(l,"chown").getNode().chown(c,u)},this.chownSync=(l,c,u)=>{Ef(c),xf(u),this._chown((0,H.pathToFilename)(l),c,u)},this.chown=(l,c,u,d)=>{Ef(c),xf(u),this.wrapAsync(this._chown,[(0,H.pathToFilename)(l),c,u],d)},this._lchown=(l,c,u)=>{this._core.getLinkOrThrow(l,"lchown").getNode().chown(c,u)},this.lchownSync=(l,c,u)=>{Ef(c),xf(u),this._lchown((0,H.pathToFilename)(l),c,u)},this.lchown=(l,c,u,d)=>{Ef(c),xf(u),this.wrapAsync(this._lchown,[(0,H.pathToFilename)(l),c,u],d)},this.statWatchers={},this.cpSync=(l,c,u)=>{var d,f,p,m,y,v,S;let E=(0,H.pathToFilename)(l),w=(0,H.pathToFilename)(c),_={dereference:(d=u?.dereference)!==null&&d!==void 0?d:!1,errorOnExist:(f=u?.errorOnExist)!==null&&f!==void 0?f:!1,filter:u?.filter,force:(p=u?.force)!==null&&p!==void 0?p:!0,mode:(m=u?.mode)!==null&&m!==void 0?m:0,preserveTimestamps:(y=u?.preserveTimestamps)!==null&&y!==void 0?y:!1,recursive:(v=u?.recursive)!==null&&v!==void 0?v:!1,verbatimSymlinks:(S=u?.verbatimSymlinks)!==null&&S!==void 0?S:!1};return this._cp(E,w,_)},this.cp=(l,c,u,d)=>{var f,p,m,y,v,S,E;let w=(0,H.pathToFilename)(l),_=(0,H.pathToFilename)(c),b,A;typeof u=="function"?[b,A]=[{},u]:[b,A]=[u||{},d],(0,H.validateCallback)(A);let j={dereference:(f=b?.dereference)!==null&&f!==void 0?f:!1,errorOnExist:(p=b?.errorOnExist)!==null&&p!==void 0?p:!1,filter:b?.filter,force:(m=b?.force)!==null&&m!==void 0?m:!0,mode:(y=b?.mode)!==null&&y!==void 0?y:0,preserveTimestamps:(v=b?.preserveTimestamps)!==null&&v!==void 0?v:!1,recursive:(S=b?.recursive)!==null&&S!==void 0?S:!1,verbatimSymlinks:(E=b?.verbatimSymlinks)!==null&&E!==void 0?E:!1};this.wrapAsync(this._cp,[w,_,j],A)},this.openAsBlob=async(l,c)=>{let u=(0,H.pathToFilename)(l),d=this._core.getResolvedLinkOrThrow(u,"open"),f=d.getNode();if(f.isDirectory())throw(0,H.createError)("EISDIR","open",d.getPath());let p=f.getBuffer(),m=c?.type||"";return new Blob([p],{type:m})},this.glob=(l,...c)=>{let[u,d]=c.length===1?[{},c[0]]:[c[0],c[1]];this.wrapAsync(this._globSync,[l,u||{}],d)},this.globSync=(l,c={})=>this._globSync(l,c),this._globSync=(l,c={})=>{let{globSync:u}=pU();return u(this,l,c)},this._opendir=(l,c)=>{let u=this._core.getResolvedLinkOrThrow(l,"scandir");if(!u.getNode().isDirectory())throw(0,H.createError)("ENOTDIR","scandir",l);return new B3e.Dir(u,c)},this.opendirSync=(l,c)=>{let u=(0,tt.getOpendirOptions)(c),d=(0,H.pathToFilename)(l);return this._opendir(d,u)},this.opendir=(l,c,u)=>{let[d,f]=(0,tt.getOpendirOptsAndCb)(c,u),p=(0,H.pathToFilename)(l);this.wrapAsync(this._opendir,[p,d],f)};let r=this;this.StatWatcher=class extends C_{constructor(){super(r)}};let n=Bo;this.ReadStream=class extends n{constructor(...l){super(r,...l)}};let i=da;this.WriteStream=class extends i{constructor(...l){super(r,...l)}},this.FSWatcher=class extends T_{constructor(){super(r)}};let a=(l,c)=>{let u=this._core.getResolvedLinkOrThrow(l,"realpath");return(0,Td.strToEncoding)(u.getPath()||"/",c)},o=(l,c,u)=>{let[d,f]=(0,tt.getRealpathOptsAndCb)(c,u),p=(0,H.pathToFilename)(l);r.wrapAsync(a,[p,d.encoding],f)},s=(l,c)=>a((0,H.pathToFilename)(l),(0,tt.getRealpathOptions)(c).encoding);this.realpath=o,this.realpath.native=o,this.realpathSync=s,this.realpathSync.native=s}wrapAsync(t,r,n){(0,H.validateCallback)(n),Promise.resolve().then(()=>{let i;try{i=t.apply(this,r)}catch(a){n(a);return}n(null,i)})}toTree(t={separator:K3e}){return(0,q3e.toTreeSync)(this,t)}reset(){this._core.reset()}toJSON(t,r={},n=!1,i=!1){return this._core.toJSON(t,r,n,i)}fromJSON(t,r){return this._core.fromJSON(t,r)}fromNestedJSON(t,r){return this._core.fromNestedJSON(t,r)}mountSync(t,r){this._core.fromJSON(r,t)}_write(t,r,n,i,a){let o=this._core.getFileByFdOrThrow(t,"write");if(o.node.isSymlink())throw(0,H.createError)("EBADF","write",o.link.getPath());return o.write(r,n,i,a===-1||typeof a!="number"?void 0:a)}writevBase(t,r,n){let i=this._core.getFileByFdOrThrow(t),a=n??void 0;a===-1&&(a=void 0);let o=0;for(let s of r){let l=Of.Buffer.from(s.buffer,s.byteOffset,s.byteLength),c=i.write(l,0,l.byteLength,a);if(a=void 0,o+=c,c<l.byteLength)break}return o}_copyFile(t,r,n){let i=this.readFileSync(t);if(n&G3e&&this.existsSync(r))throw(0,H.createError)("EEXIST","copyFile",t,r);if(n&J3e)throw(0,H.createError)("ENOSYS","copyFile",t,r);this._core.writeFile(r,i,O_.FLAGS.w,438)}isSrcSubdir(t,r){try{let n=gU(t.startsWith("/")?t:"/"+t),i=gU(r.startsWith("/")?r:"/"+r);if(n===i)return!0;let a=x_(n,i);return a===""||!a.startsWith("..")&&!Zc.isAbsolute(a)}catch{return!1}}cpFileSync(t,r,n,i,a){if(r){if(a.errorOnExist)throw(0,H.createError)("EEXIST","cp",i);if(!a.force)return;this.unlinkSync(i)}this.copyFileSync(n,i,a.mode),a.preserveTimestamps&&this.utimesSync(i,t.atime,t.mtime),this.chmodSync(i,Number(t.mode))}cpDirSync(t,r,n,i,a){r||this.mkdirSync(i);let o=this.readdirSync(n);for(let s of o){let l=mU(n,s),c=mU(i,s);a.filter&&!a.filter(l,c)||this._cp(l,c,a)}this.chmodSync(i,Number(t.mode))}cpSymlinkSync(t,r,n,i){let a=String(this.readlinkSync(r));!i.verbatimSymlinks&&!Zc.isAbsolute(a)&&(a=V3e(hU(r),a)),t&&this.unlinkSync(n),this.symlinkSync(a,n)}lstat(t,r,n){let[{throwIfNoEntry:i=!0,bigint:a=!1},o]=(0,tt.getStatOptsAndCb)(r,n);this.wrapAsync(this._lstat,[(0,H.pathToFilename)(t),a,i],o)}_stat(t,r=!1,n=!0){let i;try{i=this._core.getResolvedLinkOrThrow(t,"stat")}catch(a){if(a.code==="ENOENT"&&!n)return;throw a}return yE.default.build(i.getNode(),r)}statSync(t,r){let{bigint:n=!0,throwIfNoEntry:i=!0}=(0,tt.getStatOptions)(r);return this._stat((0,H.pathToFilename)(t),n,i)}stat(t,r,n){let[{bigint:i=!1,throwIfNoEntry:a=!0},o]=(0,tt.getStatOptsAndCb)(r,n);this.wrapAsync(this._stat,[(0,H.pathToFilename)(t),i,a],o)}fstatBase(t,r=!1){let n=this._core.getFileByFd(t);if(!n)throw(0,H.createError)("EBADF","fstat");return yE.default.build(n.node,r)}fstatSync(t,r){return this.fstatBase(t,(0,tt.getStatOptions)(r).bigint)}fstat(t,r,n){let[i,a]=(0,tt.getStatOptsAndCb)(r,n);this.wrapAsync(this.fstatBase,[t,i.bigint],a)}_exists(t){return!!this._stat(t)}_access(t,r){let i=this._core.getLinkOrThrow(t,"access").getNode();if(r!==bE&&(r&W3e&&!i.canRead()||r&Z3e&&!i.canWrite()||r&H3e&&!i.canExecute()))throw(0,H.createError)("EACCES","access",t)}watchFile(t,r,n){let i=(0,H.pathToFilename)(t),a=r,o=n;if(typeof a=="function"&&(o=r,a=null),typeof o!="function")throw Error('"watchFile()" requires a listener function');let s=5007,l=!0;a&&typeof a=="object"&&(typeof a.interval=="number"&&(s=a.interval),typeof a.persistent=="boolean"&&(l=a.persistent));let c=this.statWatchers[i];return c||(c=new this.StatWatcher,c.start(i,l,s),this.statWatchers[i]=c),c.addListener("change",o),c}unwatchFile(t,r){let n=(0,H.pathToFilename)(t),i=this.statWatchers[n];i&&(typeof r=="function"?i.removeListener("change",r):i.removeAllListeners("change"),i.listenerCount("change")===0&&(i.stop(),delete this.statWatchers[n]))}createReadStream(t,r){return new this.ReadStream(t,r)}createWriteStream(t,r){return new this.WriteStream(t,r)}watch(t,r,n){let i=(0,H.pathToFilename)(t),a=r;typeof r=="function"&&(n=r,a=null);let{persistent:o,recursive:s,encoding:l}=(0,tt.getDefaultOpts)(a);o===void 0&&(o=!0),s===void 0&&(s=!1);let c=new this.FSWatcher;return c.start(i,o,s,l),n&&c.addListener("change",n),c}_statfs(t,r=!1){return this._core.getResolvedLinkOrThrow(t,"statfs"),R3e.default.build(this._core,r)}statfsSync(t,r){let{bigint:n=!1}=(0,tt.getStatfsOptions)(r);return this._statfs((0,H.pathToFilename)(t),n)}statfs(t,r,n){let[{bigint:i=!1},a]=(0,tt.getStatfsOptsAndCb)(r,n);this.wrapAsync(this._statfs,[(0,H.pathToFilename)(t),i],a)}};ji.Volume=Id;Id.fromJSON=(e,t)=>new Id(vE.Superblock.fromJSON(e,t));Id.fromNestedJSON=(e,t)=>new Id(vE.Superblock.fromNestedJSON(e,t));function eSe(e){e.emit("stop")}var C_=class extends yU.EventEmitter{constructor(t){super(),this.onInterval=()=>{try{let r=this.vol.statSync(this.filename);this.hasChanged(r)&&(this.emit("change",r,this.prev),this.prev=r)}finally{this.loop()}},this.vol=t}loop(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)}hasChanged(t){return t.mtimeMs>this.prev.mtimeMs||t.nlink!==this.prev.nlink}start(t,r=!0,n=5007){this.filename=(0,H.pathToFilename)(t),this.setTimeout=r?setTimeout.bind(typeof globalThis<"u"?globalThis:global):F3e.default,this.interval=n,this.prev=this.vol.statSync(this.filename),this.loop()}stop(){clearTimeout(this.timeoutRef),(0,I_.default)(()=>{eSe.call(this,this)})}};ji.StatWatcher=C_;var ua;function tSe(e){ua=(0,Of.bufferAllocUnsafe)(e),ua.used=0}bU.inherits(Bo,A_.Readable);ji.ReadStream=Bo;function Bo(e,t,r){if(!(this instanceof Bo))return new Bo(e,t,r);if(this._vol=e,r=Object.assign({},(0,tt.getOptions)(r,{})),r.highWaterMark===void 0&&(r.highWaterMark=64*1024),A_.Readable.call(this,r),this.path=(0,H.pathToFilename)(t),this.fd=r.fd===void 0?null:typeof r.fd!="number"?r.fd.fd:r.fd,this.flags=r.flags===void 0?"r":r.flags,this.mode=r.mode===void 0?438:r.mode,this.start=r.start,this.end=r.end,this.autoClose=r.autoClose===void 0?!0:r.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}Bo.prototype.open=function(){var e=this;this._vol.open(this.path,this.flags,this.mode,(t,r)=>{if(t){e.autoClose&&e.destroy&&e.destroy(),e.emit("error",t);return}e.fd=r,e.emit("open",r),e.read()})};Bo.prototype._read=function(e){if(typeof this.fd!="number")return this.once("open",function(){this._read(e)});if(this.destroyed)return;(!ua||ua.length-ua.used<X3e)&&tSe(this._readableState.highWaterMark);var t=ua,r=Math.min(ua.length-ua.used,e),n=ua.used;if(this.pos!==void 0&&(r=Math.min(this.end-this.pos+1,r)),r<=0)return this.push(null);var i=this;this._vol.read(this.fd,ua,ua.used,r,this.pos,a),this.pos!==void 0&&(this.pos+=r),ua.used+=r;function a(o,s){if(o)i.autoClose&&i.destroy&&i.destroy(),i.emit("error",o);else{var l=null;s>0&&(i.bytesRead+=s,l=t.slice(n,n+s)),i.push(l)}}};Bo.prototype._destroy=function(e,t){this.close(r=>{t(e||r)})};Bo.prototype.close=function(e){var t;if(e&&this.once("close",e),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",vU);return}return(0,I_.default)(()=>this.emit("close"))}typeof((t=this._readableState)===null||t===void 0?void 0:t.closed)=="boolean"?this._readableState.closed=!0:this.closed=!0,this._vol.close(this.fd,r=>{r?this.emit("error",r):this.emit("close")}),this.fd=null};function vU(e){this.close()}bU.inherits(da,A_.Writable);ji.WriteStream=da;function da(e,t,r){if(!(this instanceof da))return new da(e,t,r);if(this._vol=e,r=Object.assign({},(0,tt.getOptions)(r,{})),A_.Writable.call(this,r),this.path=(0,H.pathToFilename)(t),this.fd=r.fd===void 0?null:typeof r.fd!="number"?r.fd.fd:r.fd,this.flags=r.flags===void 0?"w":r.flags,this.mode=r.mode===void 0?438:r.mode,this.start=r.start,this.autoClose=r.autoClose===void 0?!0:!!r.autoClose,this.pos=void 0,this.bytesWritten=0,this.pending=!0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}r.encoding&&this.setDefaultEncoding(r.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}da.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(e,t){if(e){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",e);return}this.fd=t,this.pending=!1,this.emit("open",t)}.bind(this))};da.prototype._write=function(e,t,r){if(!(e instanceof Of.Buffer||e instanceof Uint8Array))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(e,t,r)});var n=this;this._vol.write(this.fd,e,0,e.length,this.pos,(i,a)=>{if(i)return n.autoClose&&n.destroy&&n.destroy(),r(i);n.bytesWritten+=a,r()}),this.pos!==void 0&&(this.pos+=e.length)};da.prototype._writev=function(e,t){if(typeof this.fd!="number")return this.once("open",function(){this._writev(e,t)});let r=this,n=e.length,i=new Array(n);for(var a=0,o=0;o<n;o++){var s=e[o].chunk;i[o]=s,a+=s.length}let l=Of.Buffer.concat(i);this._vol.write(this.fd,l,0,l.length,this.pos,(c,u)=>{if(c)return r.destroy&&r.destroy(),t(c);r.bytesWritten+=u,t()}),this.pos!==void 0&&(this.pos+=a)};da.prototype.close=function(e){var t;if(e&&this.once("close",e),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",vU);return}return(0,I_.default)(()=>this.emit("close"))}typeof((t=this._writableState)===null||t===void 0?void 0:t.closed)=="boolean"?this._writableState.closed=!0:this.closed=!0,this._vol.close(this.fd,r=>{r?this.emit("error",r):this.emit("close")}),this.fd=null};da.prototype._destroy=Bo.prototype._destroy;da.prototype.destroySoon=da.prototype.end;var T_=class extends yU.EventEmitter{constructor(t){super(),this._filename="",this._filenameEncoded="",this._recursive=!1,this._encoding=Td.ENCODING_UTF8,this._listenerRemovers=new Map,this._onParentChild=r=>{r.getName()===this._getName()&&this._emit("rename")},this._emit=r=>{this.emit("change",r,this._filenameEncoded)},this._persist=()=>{this._timer=setTimeout(this._persist,1e6)},this._vol=t}_getName(){return this._steps[this._steps.length-1]}start(t,r=!0,n=!1,i=Td.ENCODING_UTF8){this._filename=(0,H.pathToFilename)(t),this._steps=(0,rn.filenameToSteps)(this._filename),this._filenameEncoded=(0,Td.strToEncoding)(this._filename),this._recursive=n,this._encoding=i;try{this._link=this._vol._core.getLinkOrThrow(this._filename,"FSWatcher")}catch(l){let c=new Error(`watch ${this._filename} ${l.code}`);throw c.code=l.code,c.errno=l.code,c}let a=l=>{var c;let u=l.getPath(),d=l.getNode(),f=()=>{let m=x_(this._filename,u);return m||(m=this._getName()),this.emit("change","change",m)};d.on("change",f);let p=(c=this._listenerRemovers.get(d.ino))!==null&&c!==void 0?c:[];p.push(()=>d.removeListener("change",f)),this._listenerRemovers.set(d.ino,p)},o=l=>{var c;let u=l.getNode(),d=m=>{this.emit("change","rename",x_(this._filename,m.getPath())),a(m),o(m)},f=m=>{let y=v=>{let S=v.getNode().ino,E=this._listenerRemovers.get(S);E&&(E.forEach(w=>w()),this._listenerRemovers.delete(S));for(let[w,_]of v.children.entries())_&&w!=="."&&w!==".."&&y(_)};y(m),this.emit("change","rename",x_(this._filename,m.getPath()))};for(let[m,y]of l.children.entries())y&&m!=="."&&m!==".."&&a(y);if(l.on("child:add",d),l.on("child:delete",f),((c=this._listenerRemovers.get(u.ino))!==null&&c!==void 0?c:[]).push(()=>{l.removeListener("child:add",d),l.removeListener("child:delete",f)}),n)for(let[m,y]of l.children.entries())y&&m!=="."&&m!==".."&&o(y)};a(this._link),o(this._link);let s=this._link.parent;s&&(s.setMaxListeners(s.getMaxListeners()+1),s.on("child:delete",this._onParentChild)),r&&this._persist()}close(){clearTimeout(this._timer),this._listenerRemovers.forEach(r=>{r.forEach(n=>n())}),this._listenerRemovers.clear();let t=this._link.parent;t&&t.removeListener("child:delete",this._onParentChild)}};ji.FSWatcher=T_});var wU=h(D_=>{"use strict";Object.defineProperty(D_,"__esModule",{value:!0});D_.fsSynchronousApiList=void 0;D_.fsSynchronousApiList=["accessSync","appendFileSync","chmodSync","chownSync","closeSync","copyFileSync","existsSync","fchmodSync","fchownSync","fdatasyncSync","fstatSync","fsyncSync","ftruncateSync","futimesSync","lchmodSync","lchownSync","linkSync","lstatSync","mkdirSync","mkdtempSync","openSync","opendirSync","readdirSync","readFileSync","readlinkSync","readSync","readvSync","realpathSync","renameSync","rmdirSync","rmSync","statSync","symlinkSync","truncateSync","unlinkSync","utimesSync","lutimesSync","writeFileSync","writeSync","writevSync"]});var SU=h(L_=>{"use strict";Object.defineProperty(L_,"__esModule",{value:!0});L_.fsCallbackApiList=void 0;L_.fsCallbackApiList=["access","appendFile","chmod","chown","close","copyFile","cp","createReadStream","createWriteStream","exists","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","openAsBlob","opendir","read","readv","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","statfs","symlink","truncate","unlink","unwatchFile","utimes","lutimes","watch","watchFile","write","writev","writeFile"]});var xU=h((Pi,k_)=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.memfs=Pi.fs=Pi.vol=Pi.Volume=void 0;Pi.createFsFromVolume=_E;var rSe=z7(),nSe=Hv(),N_=_U();Object.defineProperty(Pi,"Volume",{enumerable:!0,get:function(){return N_.Volume}});var EU=ao(),iSe=wU(),aSe=SU(),{F_OK:oSe,R_OK:sSe,W_OK:lSe,X_OK:cSe}=EU.constants;Pi.vol=new N_.Volume;function _E(e){let t={F_OK:oSe,R_OK:sSe,W_OK:lSe,X_OK:cSe,constants:EU.constants,Stats:rSe.default,Dirent:nSe.default};for(let r of iSe.fsSynchronousApiList)typeof e[r]=="function"&&(t[r]=e[r].bind(e));for(let r of aSe.fsCallbackApiList)typeof e[r]=="function"&&(t[r]=e[r].bind(e));return t.StatWatcher=e.StatWatcher,t.FSWatcher=e.FSWatcher,t.WriteStream=e.WriteStream,t.ReadStream=e.ReadStream,t.promises=e.promises,typeof e.realpath=="function"&&(t.realpath=e.realpath.bind(e),typeof e.realpath.native=="function"&&(t.realpath.native=e.realpath.native.bind(e))),typeof e.realpathSync=="function"&&(t.realpathSync=e.realpathSync.bind(e),typeof e.realpathSync.native=="function"&&(t.realpathSync.native=e.realpathSync.native.bind(e))),t._toUnixTimestamp=N_.toUnixTimestamp,t.__vol=e,t}Pi.fs=_E(Pi.vol);var uSe=(e={},t="/")=>{let r=N_.Volume.fromNestedJSON(e,t);return{fs:_E(r),vol:r}};Pi.memfs=uSe;k_.exports=Object.assign(Object.assign({},k_.exports),Pi.fs);k_.exports.semantic=!0});var Rr=h(gr=>{"use strict";var dSe=gr&&gr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),pSe=gr&&gr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CU=gr&&gr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&dSe(t,e,r);return pSe(t,e),t};Object.defineProperty(gr,"__esModule",{value:!0});gr.resetFs=gr.setFs=gr.getVirtualFs=gr.fs=void 0;var fSe=CU(require("node:fs")),OU=CU(xU()),mSe=()=>process.env.FORCE_MEMFS==="true"||"window"in globalThis||"self"in globalThis,hSe=e=>{if(mSe()){let t=OU.createFsFromVolume(e??new OU.Volume);return{...t,promises:{...t.promises,writeFile:async(n,i,a)=>{let o=typeof a=="string"?{encoding:a}:a;await t.promises.writeFile(n,i,o)},readFile:async(n,i)=>{let a=typeof i=="string"?i:i?.encoding,o=await t.promises.readFile(n,a?{encoding:a}:void 0);return a?String(o):o}},readFileSync:(n,i)=>{let a=typeof i=="string"?i:i?.encoding,o=t.readFileSync(n,a?{encoding:a}:void 0);return a?String(o):o},writeFileSync:(n,i,a)=>{let o=typeof a=="string"?{encoding:a}:a;t.writeFileSync(n,i,o)}}}return fSe};gr.getVirtualFs=hSe;var gSe=e=>{gr.fs=e};gr.setFs=gSe;var ySe=()=>{gr.fs=(0,gr.getVirtualFs)()};gr.resetFs=ySe;gr.fs=(0,gr.getVirtualFs)()});var wt=h(j_=>{"use strict";Object.defineProperty(j_,"__esModule",{value:!0});j_.SfError=void 0;var TU=Ke(),k1=class e extends Error{name;actions;exitCode;context;data;#e;constructor(t,r="SfError",n,i,a){if(typeof a<"u"&&!(a instanceof Error))throw new TypeError(`The cause, if provided, must be an instance of Error. Received: ${typeof a}`);super(t),this.name=r,this.cause=i instanceof Error?i:a,n?.length&&(this.actions=n),typeof i=="number"?this.exitCode=i:this.exitCode=1}get code(){return this.#e??this.name}set code(t){this.#e=t}static create(t){let r=new e(t.message,t.name,t.actions,t.exitCode,t.cause);return t.data&&(r.data=t.data),t.context&&(r.context=t.context),r}static wrap(t){if((0,TU.isString)(t))return new e(t);if(t instanceof e)return t;let r=bSe(t)??vSe(t)??e.wrap(new Error(`SfError.wrap received type ${typeof t} but expects type Error or string`,{cause:t}));return(0,TU.hasString)(t,"code")&&(r.code=t.code),r}setContext(t){return this.context=t,this}setData(t){return this.data=t,this}toObject(){return{name:this.name,message:this.message??this.name,exitCode:this.exitCode,...this.actions?.length?{actions:this.actions}:{},...this.context?{context:this.context}:{},...this.data?{data:this.data}:{}}}};j_.SfError=k1;var bSe=e=>e instanceof Error?k1.create({message:e.message,name:e.name,cause:e}):void 0,vSe=e=>{if(!(!e||typeof e!="object")&&"message"in e)try{return k1.create(e)}catch{return}}});var Cr=h(pa=>{"use strict";var _Se=pa&&pa.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),wSe=pa&&pa.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),AU=pa&&pa.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&_Se(t,e,r);return wSe(t,e),t};Object.defineProperty(pa,"__esModule",{value:!0});pa.Global=pa.Mode=void 0;var wE=AU(require("node:os")),P_=AU(require("node:path")),SE=He(),IU=Rr(),SSe=wt(),Ad;(function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.DEMO="demo",e.TEST="test"})(Ad||(pa.Mode=Ad={}));var EE=class e{static SFDX_INTEROPERABILITY=SE.env.getBoolean("SF_SFDX_INTEROPERABILITY",!0);static SFDX_STATE_FOLDER=".sfdx";static SF_STATE_FOLDER=".sf";static STATE_FOLDER=e.SFDX_STATE_FOLDER;static get isWeb(){return"window"in globalThis||"self"in globalThis}static get SFDX_DIR(){return P_.join(wE.homedir(),e.SFDX_STATE_FOLDER)}static get SF_DIR(){return P_.join(wE.homedir(),e.SF_STATE_FOLDER)}static get DIR(){return P_.join(wE.homedir(),e.SFDX_STATE_FOLDER)}static getEnvironmentMode(){let t=SE.env.getString("SF_ENV")??SE.env.getString("SFDX_ENV",Ad.PRODUCTION);return t in Ad||t.toUpperCase()in Ad?Ad[t.toUpperCase()]:Ad.PRODUCTION}static async createDir(t){let r=t?P_.join(e.SFDX_DIR,t):e.SFDX_DIR;try{process.platform==="win32"||e.isWeb?await IU.fs.promises.mkdir(r,{recursive:!0}):await IU.fs.promises.mkdir(r,{recursive:!0,mode:448})}catch{throw new SSe.SfError(`Failed to create directory or set permissions for: ${r}`)}}};pa.Global=EE});var xE=h(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.unwrapArray=void 0;var ESe=e=>Array.isArray(e)&&e.length===1?Array.isArray(e[0])?(0,N1.unwrapArray)(e[0]):e[0]:e;N1.unwrapArray=ESe});var jl=h(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.matchesJwtAccessToken=Pt.matchesOpaqueAccessToken=Pt.sfdxAuthUrlRegex=Pt.jwtTokenRegex=Pt.accessTokenRegex=Pt.validatePathDoesNotContainInvalidChars=Pt.validateSalesforceId=Pt.validateEmail=Pt.validateApiVersion=void 0;Pt.trimTo15=xSe;Pt.matchesAccessToken=ASe;function xSe(e){if(e)return e.length&&e.length>15?e.substring(0,15):e}var OSe=e=>e==null||/^[1-9]\d\.0$/.test(e);Pt.validateApiVersion=OSe;var CSe=e=>/^[^.][^@]*@[^.]+(\.[^.\s]+)+$/.test(e);Pt.validateEmail=CSe;var TSe=e=>/[a-zA-Z0-9]{18}|[a-zA-Z0-9]{15}/.test(e)&&(e.length===15||e.length===18);Pt.validateSalesforceId=TSe;var ISe=e=>!/[\["\?<>\|\]]+/.test(e);Pt.validatePathDoesNotContainInvalidChars=ISe;Pt.accessTokenRegex=/(00D\w{12,15})![.\w]*/;Pt.jwtTokenRegex=/eyJ[A-Za-z0-9+=_-]+\.[A-Za-z0-9+=_-]+\.[A-Za-z0-9+=_-]+/;Pt.sfdxAuthUrlRegex=/force:\/\/([a-zA-Z0-9._-]+):([a-zA-Z0-9._-]*):([a-zA-Z0-9._-]+={0,2})@([a-zA-Z0-9._-]+)/;function ASe(e){return(0,Pt.matchesOpaqueAccessToken)(e)||(0,Pt.matchesJwtAccessToken)(e)}var DSe=e=>Pt.accessTokenRegex.test(e);Pt.matchesOpaqueAccessToken=DSe;var LSe=e=>{let t=e.split(".");return t.length!==3||!DU(t[0],!0)?!1:DU(t[1],!1)};Pt.matchesJwtAccessToken=LSe;var DU=(e,t)=>{try{let r=JSON.parse(Buffer.from(e,"base64").toString("utf-8"));return t?"typ"in r&&r.typ==="JWT":!0}catch{return!1}}});var TE=h(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.filterSecrets=Hc.HIDDEN=void 0;var OE=Ke(),CE=jl();Hc.HIDDEN="HIDDEN";var kSe=e=>new RegExp(`(['"][^'"]*${e}[^'"]*['"]\\s*:\\s*)['"][^'"]*['"]`,"gi"),NSe=e=>RegExp(`(['"]\\s*key\\s*['"]\\s*:)\\s*['"]\\s*${e}\\s*['"]\\s*.\\s*['"]\\s*value\\s*['"]\\s*:\\s*['"]\\s*[^'"]*['"]`,"gi"),jSe=[{name:"sid"},{name:"jwt"},{name:"Authorization"},{name:"refresh_token",regex:`refresh[^'"]*token`},{name:"clientsecret"},{name:"authcode"}],PSe=jSe.map(e=>({...e,regexTokens:kSe(e.regex??e.name),hiddenAttrMessage:`"<${e.name} - ${Hc.HIDDEN}>"`,keyRegex:NSe(e.regex??e.name)})),MSe=(...e)=>e.reduce((t,r)=>n=>t(r(n))),RSe=PSe.flatMap(e=>[t=>t.replace(e.regexTokens,`$1${e.hiddenAttrMessage}`),t=>t.replace(e.keyRegex,`$1${e.hiddenAttrMessage}`)]).concat([e=>e.replace(new RegExp(CE.accessTokenRegex,"g"),"<REDACTED ACCESS TOKEN>").replace(new RegExp(CE.jwtTokenRegex,"g"),"<REDACTED JWT TOKEN>").replace(new RegExp(CE.sfdxAuthUrlRegex,"g"),"<REDACTED AUTH URL TOKEN>"),e=>e.replace(/(['"]client.*Id['"])\s*:\s*(['"][^'"]*['"])/gi,(t,r,n)=>n.includes("PlatformCLI")?`${r}:${n}`:`${r}:"<REDACTED CLIENT ID>"`)]),LU=MSe(...RSe),FSe=(...e)=>e.map(t=>t&&((0,OE.isArray)(t)?(0,Hc.filterSecrets)(...t):t instanceof Buffer?"<Buffer>":(0,OE.isObject)(t)?JSON.parse(LU(JSON.stringify(t))):(0,OE.isString)(t)?LU(t):""));Hc.filterSecrets=FSe});var kU=h(M_=>{"use strict";Object.defineProperty(M_,"__esModule",{value:!0});M_.MemoryLogger=void 0;var $Se=require("node:stream"),USe=xE(),zSe=TE(),IE=class extends $Se.Writable{loggedData=[];constructor(){super({objectMode:!0})}_write(t,r,n){let i=(0,USe.unwrapArray)((0,zSe.filterSecrets)([t]));this.loggedData.push(typeof i=="string"?JSON.parse(i):i),n()}};M_.MemoryLogger=IE});var RU=h(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.getOldLogFiles=Dd.cleanup=void 0;var qSe=require("node:path"),NU=Rr(),jU=Cr(),BSe=yt(),PU=100,VSe=7,MU=1e3*60*60*24*VSe,WSe=Math.random()*PU>PU-1,ZSe=async(e=MU,t=!1)=>{if(WSe||t)try{let r=await NU.fs.promises.readdir(jU.Global.SF_DIR),n=(0,Dd.getOldLogFiles)(r,e);await Promise.all(n.map(i=>NU.fs.promises.unlink((0,qSe.join)(jU.Global.SF_DIR,i))))}catch(r){(await BSe.Logger.child("cleanup")).warn("Failed to cleanup old log files",r)}};Dd.cleanup=ZSe;var HSe=(e,t=MU)=>e.filter(r=>r.endsWith(".log")).map(r=>({file:r,date:r.match(/sf-(\d{4}-\d{2}-\d{2}).*\.log/)?.[1]})).filter(GSe).map(r=>({file:r.file,date:new Date(r.date)})).filter(r=>r.date<new Date(Date.now()-t)).map(r=>r.file);Dd.getOldLogFiles=HSe;var GSe=e=>typeof e=="object"&&e!==null&&"date"in e&&typeof e.date=="string"});var yt=h(qn=>{"use strict";var JSe=qn&&qn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),KSe=qn&&qn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),$U=qn&&qn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&JSe(t,e,r);return KSe(t,e),t};Object.defineProperty(qn,"__esModule",{value:!0});qn.computeLevel=qn.Logger=qn.LoggerLevel=void 0;var XSe=$U(require("node:os")),UU=$U(require("node:path")),j1=GF(),DE=He(),AE=Ke(),R_=Cr(),FU=wt(),Cf=xE(),YSe=kU(),QSe=RU(),Tf;(function(e){e[e.TRACE=10]="TRACE",e[e.DEBUG=20]="DEBUG",e[e.INFO=30]="INFO",e[e.WARN=40]="WARN",e[e.ERROR=50]="ERROR",e[e.FATAL=60]="FATAL"})(Tf||(qn.LoggerLevel=Tf={}));var If=class e{static ROOT_NAME="sf";static DEFAULT_LEVEL=Tf.WARN;static LEVEL_NAMES=Object.values(Tf).filter(AE.isString).map(t=>t.toLowerCase());static rootLogger;pinoLogger;memoryLogger;constructor(t){let r=process.env.SFDX_DISABLE_LOG_FILE!=="true"&&process.env.SF_DISABLE_LOG_FILE!=="true",n=typeof t=="string"?{name:t,level:e.DEFAULT_LEVEL,fields:{}}:t;if(e.rootLogger&&n.name===e.ROOT_NAME)throw new FU.SfError("Can not create another root logger.","RedundantRootLoggerError");if(e.rootLogger)this.pinoLogger=e.rootLogger.pinoLogger.child({...n.fields,name:n.name}),this.memoryLogger=e.rootLogger.memoryLogger,this.pinoLogger.trace(`Created '${n.name}' child logger instance`);else{let i=(0,qn.computeLevel)(n.level),a={name:n.name??e.ROOT_NAME,base:n.fields??{},level:i,enabled:r,...R_.Global.isWeb?{browser:{asObject:!0}}:{}};n.useMemoryLogger||R_.Global.getEnvironmentMode()===R_.Mode.TEST||!r?(this.memoryLogger=new YSe.MemoryLogger,this.pinoLogger=(0,j1.pino)(a,this.memoryLogger)):(this.pinoLogger=(0,j1.pino)({...a,transport:{pipeline:[{target:UU.join("..","..","lib","logger","transformStream")},e5e(i)]}}),(0,QSe.cleanup)()),e.rootLogger=this}}static async root(){return Promise.resolve(this.getRoot())}static getRoot(){return this.rootLogger?this.rootLogger:this.rootLogger=new e(e.ROOT_NAME)}static destroyRoot(){this.rootLogger&&(this.rootLogger=void 0)}static async child(t,r){return(await e.root()).child(t,r)}static childFromRoot(t,r){return e.getRoot().child(t,r)}static getLevelByName(t){let r=t.toUpperCase();if(!(0,AE.isKeyOf)(Tf,r))throw new FU.SfError(`Invalid log level "${r}".`,"UnrecognizedLoggerLevelNameError");return Tf[r]}static getRawRootLogger(){return e.getRoot().pinoLogger}getRawLogger(){return this.pinoLogger}getName(){return(this.pinoLogger?.bindings?this.pinoLogger.bindings().name:"")??""}getLevel(){return this.pinoLogger.levelVal}setLevel(t){return this.pinoLogger.level=this.pinoLogger.levels.labels[t??n5e()]??this.pinoLogger.levels.labels[e.DEFAULT_LEVEL],this}shouldLog(t){return(typeof t=="string"?this.pinoLogger.levelVal:t)>=this.getLevel()}getBufferedRecords(){if(!this.memoryLogger)throw new Error("getBufferedRecords is only supported when useMemoryLogging is true");return this.memoryLogger?.loggedData??[]}readLogContentsAsText(){return this.memoryLogger?this.memoryLogger?.loggedData.map(t=>JSON.stringify(t)).join(XSe.EOL):(this.pinoLogger.warn("readLogContentsAsText is not supported for file streams, only used when useMemoryLogging is true"),"")}child(t,r={}){let n=`${this.getName()}:${t}`,i=new e({name:n,fields:r});return this.pinoLogger.trace(`Setup child '${n}' logger instance`),i}addField(t,r){return this.pinoLogger.setBindings({...this.pinoLogger.bindings(),[t]:r}),this}trace(...t){return this.pinoLogger.trace((0,Cf.unwrapArray)(t)),this}debug(...t){return this.pinoLogger.debug((0,Cf.unwrapArray)(t)),this}debugCallback(t){}info(...t){return this.pinoLogger.info((0,Cf.unwrapArray)(t)),this}warn(...t){return this.pinoLogger.warn((0,Cf.unwrapArray)(t)),this}error(...t){return this.pinoLogger.error((0,Cf.unwrapArray)(t)),this}fatal(...t){return console.log(...t),this.pinoLogger.fatal((0,Cf.unwrapArray)(t)),this}};qn.Logger=If;var e5e=(e="warn")=>{let t=new DE.Env;if(process.env.DEBUG)return{target:"pino-pretty",options:{colorize:t.getBoolean("SF_LOG_COLORIZE")||!0,destination:t.getBoolean("SF_LOG_STDERR")?2:1}};let r=new Map([["1m",new Date().toISOString().split(":").slice(0,2).join("-")],["1h",new Date().toISOString().split(":").slice(0,1).join("-")],["1d",new Date().toISOString().split("T")[0]]]),n=t.getString("SF_LOG_ROTATION_PERIOD")??"1d";return{target:"pino/file",options:{destination:UU.join(R_.Global.SF_DIR,`sf-${(0,AE.ensureString)(r.get(n))??r.get("1d")}.log`),mkdir:!0,level:e}}},t5e=e=>{let t=new DE.Env,r=isNaN(t.getNumber("SF_LOG_LEVEL")??NaN)?t.getString("SF_LOG_LEVEL"):t.getNumber("SF_LOG_LEVEL");return typeof r<"u"?typeof r=="string"?r:zU(r):r5e(e)};qn.computeLevel=t5e;var r5e=e=>{switch(typeof e){case"number":return zU(e);case"string":return e;default:return j1.pino.levels.labels[If.DEFAULT_LEVEL]}},zU=e=>j1.pino.levels.labels[e]??Object.entries(j1.pino.levels.labels).find(([t])=>Number(t)>e)?.[1]??"warn",n5e=()=>{let e=new DE.Env().getString("SF_LOG_LEVEL");return e?If.getLevelByName(e):If.DEFAULT_LEVEL}});var bt=h(Wo=>{"use strict";var i5e=Wo&&Wo.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),a5e=Wo&&Wo.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),U_=Wo&&Wo.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&i5e(t,e,r);return a5e(t,e),t};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.Messages=void 0;var o5e=U_(require("node:os")),Vo=U_(require("node:path")),s5e=U_(require("node:util")),l5e=require("node:url"),F_=U_(require("node:fs")),M1=Ke(),LE=He(),c5e=yt(),P1=wt(),kE=(e,t)=>`${e}:${t}`,u5e=/^\s*$/g,d5e=/^#\s*/gm,p5e=/^[*-]\s+|^ {2}/,f5e=/^[*-]\s+/gm,m5e=(e,t)=>{let r=new Map,n=a=>!u5e.exec(a),i=t.split(d5e).filter(n);for(let a of i){let o=a.split(`
|
||
`),s=o.shift(),l=o.join(`
|
||
`).trim();if(s&&l.length>0){let c=s.trim();if(o.filter(d=>!!d.trim()).every(d=>p5e.exec(d))){let f=l.split(f5e).filter(n).map(p=>p.split(`
|
||
`).filter(m=>!!m.trim()).map(m=>m.trim()).join(`
|
||
`));r.set(c,f)}else r.set(c,l)}else throw new Error(`Invalid markdown message file: ${e}
|
||
The line "# <key>" must be immediately followed by the message on a new line.`)}return r},h5e=(e,t)=>{let r;try{if(r=JSON.parse(t),!(0,M1.isObject)(r))throw new Error(`Unexpected token. Found returned content type '${typeof r}'.`)}catch(n){let i=n;if(i.message.startsWith("Unexpected token")){let a=new Error(`Invalid JSON content in message file: ${e}
|
||
${i.message}`);throw a.name=i.name,a}throw n}return new Map(Object.entries(r))},$_=class e{messages;static loaders=new Map;static bundles=new Map;locale;bundleName;constructor(t,r,n){this.messages=n,this.bundleName=t,this.locale=r}static readFile=t=>require(t);static getLocale(){return"en_US"}static setLoaderFunction(t,r,n){this.loaders.set(kE(t,r),n)}static generateFileLoaderFunction(t,r){let n=Vo.extname(r);if(![".json",".js",".md"].includes(n))throw new Error(`Only json, js and md message files are allowed, not ${n}: ${r}`);return i=>{let a,o;if(n===".md"?(a=F_.readFileSync(r,"utf-8"),o=m5e):(a=JSON.stringify(e.readFile(r)),(a==="null"||a==='""')&&(a=""),o=h5e),!a||a.trim().length===0){let l=new Error(`Invalid message file: ${r}. No content.`);throw l.name="SfError",l}let s=o(r,a);return new e(t,i,s)}}static importMessageFile(t,r){let n=Vo.basename(r,Vo.extname(r));e.isCached(t,n)||this.setLoaderFunction(t,n,e.generateFileLoaderFunction(n,r))}static importMessagesDirectoryFromMetaUrl(t,r=!0,n){return e.importMessagesDirectory(Vo.dirname((0,l5e.fileURLToPath)(t)),r,n)}static importMessagesDirectory(t,r=!0,n){let i=t,a=t;if(!Vo.isAbsolute(t))throw new Error("Invalid module path. Relative URLs are not allowed.");for(;a.length>=0;)try{F_.statSync(Vo.join(a,"package.json"));break}catch(s){if(s.code!=="ENOENT")throw s;a=a.substring(0,a.lastIndexOf(Vo.sep))}r&&(i=a);let o=n??g5e(i);i+=`${Vo.sep}messages`;for(let s of F_.readdirSync(i)){let l=Vo.join(i,s),c=F_.statSync(l);c&&(c.isDirectory()||c.isFile()&&this.importMessageFile(o,l))}}static loadMessages(t,r){let n=kE(t,r),i;if(this.isCached(t,r))i=this.bundles.get(n);else if(this.loaders.has(n)){let a=this.loaders.get(n);a&&(i=a(e.getLocale()),this.bundles.set(n,i),i=this.bundles.get(n))}if(i)return i;throw new P1.SfError(`Missing bundle ${n} for locale ${e.getLocale()}.`,"MissingBundleError")}static isCached(t,r){return this.bundles.has(kE(t,r))}getMessage(t,r=[]){return this.getMessageWithMap(t,r,this.messages).join(o5e.EOL)}getMessages(t,r=[]){return this.getMessageWithMap(t,r,this.messages)}createError(t,r=[],n=[],i,a){let{message:o,name:s,actions:l}=this.formatMessageContents({type:"error",key:t,tokens:r,actionTokens:n});return new P1.SfError(o,s,l,i,a)}createWarning(t,r=[],n=[]){return this.formatMessageContents({type:"warning",key:t,tokens:r,actionTokens:n})}createInfo(t,r=[],n=[]){return this.formatMessageContents({type:"info",key:t,tokens:r,actionTokens:n})}formatMessageContents({type:t,key:r,tokens:n=[],actionTokens:i=[],preserveName:a=!1}){let o=(0,LE.upperFirst)(t),s=new RegExp(`${o}$`),l=t==="error"?/^error.*\./:new RegExp(`^${t}.`),c=`${(0,LE.upperFirst)(r.replace(l,""))}${s.exec(r)??a?"":o}`,u=this.getMessage(r,n),d;try{d=this.getMessageWithMap(`${r}.actions`,i,this.messages)}catch{}return{message:u,name:c,actions:d}}getMessageWithMap(t,r=[],n){let i=RegExp(/([a-zA-Z0-9_-]+)\.(.*)/).exec(t);if(i){let l=i[1],c=i[2],u=n.get(l);if(u&&(0,M1.isJsonMap)(u)){let d=new Map(Object.entries(u));return this.getMessageWithMap(c,r,d)}}let a=n.get(t);if(!a)throw new P1.SfError(`Missing message ${this.bundleName}:${t} for locale ${e.getLocale()}.`,"MissingMessageError");let o=(0,LE.ensureArray)(a),s=0;return o.map(l=>{let c=(0,M1.ensureString)(l),u=new RegExp("%[sdifjoO]{1}","gm"),f=(c.match(u)??[]).length;if(f>0){let p=r.slice(s,s+f);return s+=f,s5e.format(c,...p)}else r.length>0&&c5e.Logger.childFromRoot("core:messages").warn(`Unable to render tokens in message. Ensure a specifier (e.g. %s) exists in the message:
|
||
${c}`);return c})}};Wo.Messages=$_;var g5e=e=>{let t=`Invalid or missing package.json file at '${e}'. If not using a package.json, pass in a packageName.`;try{let r=(0,M1.asString)((0,M1.ensureJsonMap)($_.readFile(Vo.join(e,"package.json"))).name);if(!r)throw P1.SfError.create({message:t,name:"MissingPackageName"});return r}catch(r){throw P1.SfError.create({message:t,name:"MissingPackageName",cause:r})}}});var NE=h(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.traverse=oi.SFDX_PROJECT_JSON=void 0;oi.resolveProjectPath=b5e;oi.resolveProjectPathSync=v5e;var z_=require("node:path"),qU=Rr(),y5e=bt(),BU=new y5e.Messages("@salesforce/core","config",new Map([["unknownConfigKey","Unknown config name: %s."],["deprecatedConfigKey","Deprecated config name: %s. Please use %s instead."],["invalidWrite","The writeSync method is not allowed on SfdxConfig. Use the async write method instead."],["invalidConfigValue","Invalid config value: %s."],["invalidInstanceUrl","Specify a valid Salesforce instance URL."],["invalidApiVersion","Specify a valid Salesforce API version, for example, 42.0."],["invalidCustomOrgMetadataTemplates","Specify a valid repository URL or directory for the custom org metadata templates."],["invalidIsvDebuggerSid","Specify a valid Debugger SID."],["invalidIsvDebuggerUrl","Specify a valid Debugger URL."],["invalidNumberConfigValue","Specify a valid positive integer, for example, 150000."],["invalidBooleanConfigValue","The config value can only be set to true or false."],["invalidProjectWorkspace","%s does not contain a valid Salesforce DX project."],["schemaValidationError",`The config file "%s" is not schema valid.
|
||
Due to: %s`],["schemaValidationError.actions",["Fix the invalid entries at %s."]],["missingDefaultPath",'In sfdx-project.json, be sure to specify which package directory (path) is the default. Example: `[{ "path": "packageDirectory1", "default": true }, { "path": "packageDirectory2" }]`'],["missingPackageDirectory",'The path "%s", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.'],["invalidPackageDirectory",'The path "%s", specified in sfdx-project.json, must be indicated as a relative path to the project root.'],["multipleDefaultPaths","In sfdx-project.json, indicate only one package directory (path) as the default."],["singleNonDefaultPackage",'The sfdx-project.json file must include one, and only one, default package directory (path). Because your sfdx-project.json file contains only one package directory, it must be the default. Remove the `"default": false` key and try again.'],["target-org","Username or alias of the org that all commands run against by default. (sf only)"],["target-dev-hub","Username or alias of your default Dev Hub org. (sf only)"],["defaultUsername","Username or alias of the org that all commands run against by default. (sfdx only)"],["defaultDevHubUsername","Username or alias of your default Dev Hub org. (sfdx only)"],["isvDebuggerSid","ISV debugger SID (sfdx only)"],["isvDebuggerUrl","ISV debugger URL (sfdx only)"],["org-isv-debugger-sid","ISV debugger SID."],["org-isv-debugger-url","ISV debugger URL."],["apiVersion","API version of your project. Default: API version of your Dev Hub org. (sfdx only)"],["org-api-version","API version of your project. Default: API version of your Dev Hub org."],["disableTelemetry","Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)"],["disable-telemetry","Disables the collection of usage and user environment information, etc. Default: false."],["maxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)"],["org-max-query-limit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000."],["restDeploy","Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)"],["instanceUrl","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)"],["org-instance-url","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com."],["customOrgMetadataTemplates","A valid repository URL or directory for the custom org metadata templates."],["org-custom-metadata-templates","A valid repository URL or directory for the custom org metadata templates."],["org-capitalize-record-types","Whether record types are capitalized on scratch org creation."],["invalidId","The given id %s is not a valid 15 or 18 character Salesforce ID."]]));oi.SFDX_PROJECT_JSON="sfdx-project.json";async function b5e(e=process.cwd()){let t=await oi.traverse.forFile(e,oi.SFDX_PROJECT_JSON);if(!t)throw BU.createError("invalidProjectWorkspace",[e]);return t}function v5e(e=process.cwd()){let t=oi.traverse.forFileSync(e,oi.SFDX_PROJECT_JSON);if(!t)throw BU.createError("invalidProjectWorkspace",[e]);return t}oi.traverse={forFile:async(e,t)=>{let r;try{qU.fs.statSync((0,z_.join)(e,t)),r=e}catch(n){if(n&&n.code==="ENOENT"){let i=(0,z_.resolve)(e,"..");i!==e&&(r=await oi.traverse.forFile(i,t))}}return r},forFileSync:(e,t)=>{let r;try{qU.fs.statSync((0,z_.join)(e,t)),r=e}catch(n){if(n&&n.code==="ENOENT"){let i=(0,z_.resolve)(e,"..");i!==e&&(r=oi.traverse.forFileSync(i,t))}}return r}}});var WU=h((kvt,VU)=>{var Gc=require("constants"),_5e=process.cwd,q_=null,w5e=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return q_||(q_=_5e.call(process)),q_};try{process.cwd()}catch{}typeof process.chdir=="function"&&(jE=process.chdir,process.chdir=function(e){q_=null,jE.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,jE));var jE;VU.exports=S5e;function S5e(e){Gc.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||r(e),e.chown=a(e.chown),e.fchown=a(e.fchown),e.lchown=a(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=o(e.chownSync),e.fchownSync=o(e.fchownSync),e.lchownSync=o(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=s(e.stat),e.fstat=s(e.fstat),e.lstat=s(e.lstat),e.statSync=l(e.statSync),e.fstatSync=l(e.fstatSync),e.lstatSync=l(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(u,d,f){f&&process.nextTick(f)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(u,d,f,p){p&&process.nextTick(p)},e.lchownSync=function(){}),w5e==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(u){function d(f,p,m){var y=Date.now(),v=0;u(f,p,function S(E){if(E&&(E.code==="EACCES"||E.code==="EPERM"||E.code==="EBUSY")&&Date.now()-y<6e4){setTimeout(function(){e.stat(p,function(w,_){w&&w.code==="ENOENT"?u(f,p,S):m(E)})},v),v<100&&(v+=10);return}m&&m(E)})}return Object.setPrototypeOf&&Object.setPrototypeOf(d,u),d}(e.rename)),e.read=typeof e.read!="function"?e.read:function(u){function d(f,p,m,y,v,S){var E;if(S&&typeof S=="function"){var w=0;E=function(_,b,A){if(_&&_.code==="EAGAIN"&&w<10)return w++,u.call(e,f,p,m,y,v,E);S.apply(this,arguments)}}return u.call(e,f,p,m,y,v,E)}return Object.setPrototypeOf&&Object.setPrototypeOf(d,u),d}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(u){return function(d,f,p,m,y){for(var v=0;;)try{return u.call(e,d,f,p,m,y)}catch(S){if(S.code==="EAGAIN"&&v<10){v++;continue}throw S}}}(e.readSync);function t(u){u.lchmod=function(d,f,p){u.open(d,Gc.O_WRONLY|Gc.O_SYMLINK,f,function(m,y){if(m){p&&p(m);return}u.fchmod(y,f,function(v){u.close(y,function(S){p&&p(v||S)})})})},u.lchmodSync=function(d,f){var p=u.openSync(d,Gc.O_WRONLY|Gc.O_SYMLINK,f),m=!0,y;try{y=u.fchmodSync(p,f),m=!1}finally{if(m)try{u.closeSync(p)}catch{}else u.closeSync(p)}return y}}function r(u){Gc.hasOwnProperty("O_SYMLINK")&&u.futimes?(u.lutimes=function(d,f,p,m){u.open(d,Gc.O_SYMLINK,function(y,v){if(y){m&&m(y);return}u.futimes(v,f,p,function(S){u.close(v,function(E){m&&m(S||E)})})})},u.lutimesSync=function(d,f,p){var m=u.openSync(d,Gc.O_SYMLINK),y,v=!0;try{y=u.futimesSync(m,f,p),v=!1}finally{if(v)try{u.closeSync(m)}catch{}else u.closeSync(m)}return y}):u.futimes&&(u.lutimes=function(d,f,p,m){m&&process.nextTick(m)},u.lutimesSync=function(){})}function n(u){return u&&function(d,f,p){return u.call(e,d,f,function(m){c(m)&&(m=null),p&&p.apply(this,arguments)})}}function i(u){return u&&function(d,f){try{return u.call(e,d,f)}catch(p){if(!c(p))throw p}}}function a(u){return u&&function(d,f,p,m){return u.call(e,d,f,p,function(y){c(y)&&(y=null),m&&m.apply(this,arguments)})}}function o(u){return u&&function(d,f,p){try{return u.call(e,d,f,p)}catch(m){if(!c(m))throw m}}}function s(u){return u&&function(d,f,p){typeof f=="function"&&(p=f,f=null);function m(y,v){v&&(v.uid<0&&(v.uid+=4294967296),v.gid<0&&(v.gid+=4294967296)),p&&p.apply(this,arguments)}return f?u.call(e,d,f,m):u.call(e,d,m)}}function l(u){return u&&function(d,f){var p=f?u.call(e,d,f):u.call(e,d);return p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),p}}function c(u){if(!u||u.code==="ENOSYS")return!0;var d=!process.getuid||process.getuid()!==0;return!!(d&&(u.code==="EINVAL"||u.code==="EPERM"))}}});var GU=h((Nvt,HU)=>{var ZU=require("stream").Stream;HU.exports=E5e;function E5e(e){return{ReadStream:t,WriteStream:r};function t(n,i){if(!(this instanceof t))return new t(n,i);ZU.call(this);var a=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var o=Object.keys(i),s=0,l=o.length;s<l;s++){var c=o[s];this[c]=i[c]}if(this.encoding&&this.setEncoding(this.encoding),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 new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){a._read()});return}e.open(this.path,this.flags,this.mode,function(u,d){if(u){a.emit("error",u),a.readable=!1;return}a.fd=d,a.emit("open",d),a._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);ZU.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var a=Object.keys(i),o=0,s=a.length;o<s;o++){var l=a[o];this[l]=i[l]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var KU=h((jvt,JU)=>{"use strict";JU.exports=O5e;var x5e=Object.getPrototypeOf||function(e){return e.__proto__};function O5e(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:x5e(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}});var FE=h((Pvt,RE)=>{var Ht=require("fs"),C5e=WU(),T5e=GU(),I5e=KU(),B_=require("util"),nn,W_;typeof Symbol=="function"&&typeof Symbol.for=="function"?(nn=Symbol.for("graceful-fs.queue"),W_=Symbol.for("graceful-fs.previous")):(nn="___graceful-fs.queue",W_="___graceful-fs.previous");function A5e(){}function QU(e,t){Object.defineProperty(e,nn,{get:function(){return t}})}var Ld=A5e;B_.debuglog?Ld=B_.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ld=function(){var e=B_.format.apply(B_,arguments);e="GFS4: "+e.split(/\n/).join(`
|
||
GFS4: `),console.error(e)});Ht[nn]||(XU=global[nn]||[],QU(Ht,XU),Ht.close=function(e){function t(r,n){return e.call(Ht,r,function(i){i||YU(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(t,W_,{value:e}),t}(Ht.close),Ht.closeSync=function(e){function t(r){e.apply(Ht,arguments),YU()}return Object.defineProperty(t,W_,{value:e}),t}(Ht.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Ld(Ht[nn]),require("assert").equal(Ht[nn].length,0)}));var XU;global[nn]||QU(global,Ht[nn]);RE.exports=PE(I5e(Ht));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Ht.__patched&&(RE.exports=PE(Ht),Ht.__patched=!0);function PE(e){C5e(e),e.gracefulify=PE,e.createReadStream=b,e.createWriteStream=A;var t=e.readFile;e.readFile=r;function r(T,N,k){return typeof N=="function"&&(k=N,N=null),B(T,N,k);function B($,K,ae,ne){return t($,K,function(re){re&&(re.code==="EMFILE"||re.code==="ENFILE")?Af([B,[$,K,ae],re,ne||Date.now(),Date.now()]):typeof ae=="function"&&ae.apply(this,arguments)})}}var n=e.writeFile;e.writeFile=i;function i(T,N,k,B){return typeof k=="function"&&(B=k,k=null),$(T,N,k,B);function $(K,ae,ne,re,ce){return n(K,ae,ne,function(_e){_e&&(_e.code==="EMFILE"||_e.code==="ENFILE")?Af([$,[K,ae,ne,re],_e,ce||Date.now(),Date.now()]):typeof re=="function"&&re.apply(this,arguments)})}}var a=e.appendFile;a&&(e.appendFile=o);function o(T,N,k,B){return typeof k=="function"&&(B=k,k=null),$(T,N,k,B);function $(K,ae,ne,re,ce){return a(K,ae,ne,function(_e){_e&&(_e.code==="EMFILE"||_e.code==="ENFILE")?Af([$,[K,ae,ne,re],_e,ce||Date.now(),Date.now()]):typeof re=="function"&&re.apply(this,arguments)})}}var s=e.copyFile;s&&(e.copyFile=l);function l(T,N,k,B){return typeof k=="function"&&(B=k,k=0),$(T,N,k,B);function $(K,ae,ne,re,ce){return s(K,ae,ne,function(_e){_e&&(_e.code==="EMFILE"||_e.code==="ENFILE")?Af([$,[K,ae,ne,re],_e,ce||Date.now(),Date.now()]):typeof re=="function"&&re.apply(this,arguments)})}}var c=e.readdir;e.readdir=d;var u=/^v[0-5]\./;function d(T,N,k){typeof N=="function"&&(k=N,N=null);var B=u.test(process.version)?function(ae,ne,re,ce){return c(ae,$(ae,ne,re,ce))}:function(ae,ne,re,ce){return c(ae,ne,$(ae,ne,re,ce))};return B(T,N,k);function $(K,ae,ne,re){return function(ce,_e){ce&&(ce.code==="EMFILE"||ce.code==="ENFILE")?Af([B,[K,ae,ne],ce,re||Date.now(),Date.now()]):(_e&&_e.sort&&_e.sort(),typeof ne=="function"&&ne.call(this,ce,_e))}}}if(process.version.substr(0,4)==="v0.8"){var f=T5e(e);S=f.ReadStream,w=f.WriteStream}var p=e.ReadStream;p&&(S.prototype=Object.create(p.prototype),S.prototype.open=E);var m=e.WriteStream;m&&(w.prototype=Object.create(m.prototype),w.prototype.open=_),Object.defineProperty(e,"ReadStream",{get:function(){return S},set:function(T){S=T},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return w},set:function(T){w=T},enumerable:!0,configurable:!0});var y=S;Object.defineProperty(e,"FileReadStream",{get:function(){return y},set:function(T){y=T},enumerable:!0,configurable:!0});var v=w;Object.defineProperty(e,"FileWriteStream",{get:function(){return v},set:function(T){v=T},enumerable:!0,configurable:!0});function S(T,N){return this instanceof S?(p.apply(this,arguments),this):S.apply(Object.create(S.prototype),arguments)}function E(){var T=this;P(T.path,T.flags,T.mode,function(N,k){N?(T.autoClose&&T.destroy(),T.emit("error",N)):(T.fd=k,T.emit("open",k),T.read())})}function w(T,N){return this instanceof w?(m.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}function _(){var T=this;P(T.path,T.flags,T.mode,function(N,k){N?(T.destroy(),T.emit("error",N)):(T.fd=k,T.emit("open",k))})}function b(T,N){return new e.ReadStream(T,N)}function A(T,N){return new e.WriteStream(T,N)}var j=e.open;e.open=P;function P(T,N,k,B){return typeof k=="function"&&(B=k,k=null),$(T,N,k,B);function $(K,ae,ne,re,ce){return j(K,ae,ne,function(_e,We){_e&&(_e.code==="EMFILE"||_e.code==="ENFILE")?Af([$,[K,ae,ne,re],_e,ce||Date.now(),Date.now()]):typeof re=="function"&&re.apply(this,arguments)})}}return e}function Af(e){Ld("ENQUEUE",e[0].name,e[1]),Ht[nn].push(e),ME()}var V_;function YU(){for(var e=Date.now(),t=0;t<Ht[nn].length;++t)Ht[nn][t].length>2&&(Ht[nn][t][3]=e,Ht[nn][t][4]=e);ME()}function ME(){if(clearTimeout(V_),V_=void 0,Ht[nn].length!==0){var e=Ht[nn].shift(),t=e[0],r=e[1],n=e[2],i=e[3],a=e[4];if(i===void 0)Ld("RETRY",t.name,r),t.apply(null,r);else if(Date.now()-i>=6e4){Ld("TIMEOUT",t.name,r);var o=r.pop();typeof o=="function"&&o.call(null,n)}else{var s=Date.now()-a,l=Math.max(a-i,1),c=Math.min(l*1.2,100);s>=c?(Ld("RETRY",t.name,r),t.apply(null,r.concat([i]))):Ht[nn].push(e)}V_===void 0&&(V_=setTimeout(ME,0))}}});var tz=h((Mvt,ez)=>{function fa(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}ez.exports=fa;fa.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};fa.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};fa.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),r=this._timeouts.shift();else return!1;var n=this,i=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r);return this._options.unref&&i.unref(),!0};fa.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};fa.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};fa.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};fa.prototype.start=fa.prototype.try;fa.prototype.errors=function(){return this._errors};fa.prototype.attempts=function(){return this._attempts};fa.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],a=i.message,o=(e[a]||0)+1;e[a]=o,o>=r&&(t=i,r=o)}return t}});var rz=h(kd=>{var D5e=tz();kd.operation=function(e){var t=kd.timeouts(e);return new D5e(t,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};kd.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort(function(a,o){return a-o}),n};kd.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*t.minTimeout*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};kd.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var a=r[i],o=e[a];e[a]=function(l){var c=kd.operation(t),u=Array.prototype.slice.call(arguments,1),d=u.pop();u.push(function(f){c.retry(f)||(f&&(arguments[0]=c.mainError()),d.apply(this,arguments))}),c.attempt(function(){l.apply(e,u)})}.bind(e,o),e[a].options=t}}});var iz=h((Fvt,nz)=>{nz.exports=rz()});var az=h(($vt,Z_)=>{Z_.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Z_.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Z_.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var uz=h((Uvt,kf)=>{var qt=global.process,Nd=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};Nd(qt)?(oz=require("assert"),Df=az(),sz=/^win/i.test(qt.platform),R1=require("events"),typeof R1!="function"&&(R1=R1.EventEmitter),qt.__signal_exit_emitter__?Fr=qt.__signal_exit_emitter__:(Fr=qt.__signal_exit_emitter__=new R1,Fr.count=0,Fr.emitted={}),Fr.infinite||(Fr.setMaxListeners(1/0),Fr.infinite=!0),kf.exports=function(e,t){if(!Nd(global.process))return function(){};oz.equal(typeof e,"function","a callback must be provided for exit handler"),Lf===!1&&$E();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){Fr.removeListener(r,e),Fr.listeners("exit").length===0&&Fr.listeners("afterexit").length===0&&H_()};return Fr.on(r,e),n},H_=function(){!Lf||!Nd(global.process)||(Lf=!1,Df.forEach(function(t){try{qt.removeListener(t,G_[t])}catch{}}),qt.emit=J_,qt.reallyExit=UE,Fr.count-=1)},kf.exports.unload=H_,jd=function(t,r,n){Fr.emitted[t]||(Fr.emitted[t]=!0,Fr.emit(t,r,n))},G_={},Df.forEach(function(e){G_[e]=function(){if(Nd(global.process)){var r=qt.listeners(e);r.length===Fr.count&&(H_(),jd("exit",null,e),jd("afterexit",null,e),sz&&e==="SIGHUP"&&(e="SIGINT"),qt.kill(qt.pid,e))}}}),kf.exports.signals=function(){return Df},Lf=!1,$E=function(){Lf||!Nd(global.process)||(Lf=!0,Fr.count+=1,Df=Df.filter(function(t){try{return qt.on(t,G_[t]),!0}catch{return!1}}),qt.emit=cz,qt.reallyExit=lz)},kf.exports.load=$E,UE=qt.reallyExit,lz=function(t){Nd(global.process)&&(qt.exitCode=t||0,jd("exit",qt.exitCode,null),jd("afterexit",qt.exitCode,null),UE.call(qt,qt.exitCode))},J_=qt.emit,cz=function(t,r){if(t==="exit"&&Nd(global.process)){r!==void 0&&(qt.exitCode=r);var n=J_.apply(this,arguments);return jd("exit",qt.exitCode,null),jd("afterexit",qt.exitCode,null),n}else return J_.apply(this,arguments)}):kf.exports=function(){return function(){}};var oz,Df,sz,R1,Fr,H_,jd,G_,Lf,$E,UE,lz,J_,cz});var pz=h((zvt,zE)=>{"use strict";var dz=Symbol();function L5e(e,t,r){let n=t[dz];if(n)return t.stat(e,(a,o)=>{if(a)return r(a);r(null,o.mtime,n)});let i=new Date(Math.ceil(Date.now()/1e3)*1e3+5);t.utimes(e,i,i,a=>{if(a)return r(a);t.stat(e,(o,s)=>{if(o)return r(o);let l=s.mtime.getTime()%1e3===0?"s":"ms";Object.defineProperty(t,dz,{value:l}),r(null,s.mtime,l)})})}function k5e(e){let t=Date.now();return e==="s"&&(t=Math.ceil(t/1e3)*1e3),new Date(t)}zE.exports.probe=L5e;zE.exports.getMtime=k5e});var yz=h((qvt,$1)=>{"use strict";var N5e=require("path"),VE=FE(),j5e=iz(),P5e=uz(),fz=pz(),Pl={};function F1(e,t){return t.lockfilePath||`${e}.lock`}function WE(e,t,r){if(!t.realpath)return r(null,N5e.resolve(e));t.fs.realpath(e,r)}function BE(e,t,r){let n=F1(e,t);t.fs.mkdir(n,i=>{if(!i)return fz.probe(n,t.fs,(a,o,s)=>{if(a)return t.fs.rmdir(n,()=>{}),r(a);r(null,o,s)});if(i.code!=="EEXIST")return r(i);if(t.stale<=0)return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:e}));t.fs.stat(n,(a,o)=>{if(a)return a.code==="ENOENT"?BE(e,{...t,stale:0},r):r(a);if(!mz(o,t))return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:e}));hz(e,t,s=>{if(s)return r(s);BE(e,{...t,stale:0},r)})})})}function mz(e,t){return e.mtime.getTime()<Date.now()-t.stale}function hz(e,t,r){t.fs.rmdir(F1(e,t),n=>{if(n&&n.code!=="ENOENT")return r(n);r()})}function K_(e,t){let r=Pl[e];r.updateTimeout||(r.updateDelay=r.updateDelay||t.update,r.updateTimeout=setTimeout(()=>{r.updateTimeout=null,t.fs.stat(r.lockfilePath,(n,i)=>{let a=r.lastUpdate+t.stale<Date.now();if(n)return n.code==="ENOENT"||a?qE(e,r,Object.assign(n,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,K_(e,t));if(!(r.mtime.getTime()===i.mtime.getTime()))return qE(e,r,Object.assign(new Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let s=fz.getMtime(r.mtimePrecision);t.fs.utimes(r.lockfilePath,s,s,l=>{let c=r.lastUpdate+t.stale<Date.now();if(!r.released){if(l)return l.code==="ENOENT"||c?qE(e,r,Object.assign(l,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,K_(e,t));r.mtime=s,r.lastUpdate=Date.now(),r.updateDelay=null,K_(e,t)}})})},r.updateDelay),r.updateTimeout.unref&&r.updateTimeout.unref())}function qE(e,t,r){t.released=!0,t.updateTimeout&&clearTimeout(t.updateTimeout),Pl[e]===t&&delete Pl[e],t.options.onCompromised(r)}function M5e(e,t,r){t={stale:1e4,update:null,realpath:!0,retries:0,fs:VE,onCompromised:n=>{throw n},...t},t.retries=t.retries||0,t.retries=typeof t.retries=="number"?{retries:t.retries}:t.retries,t.stale=Math.max(t.stale||0,2e3),t.update=t.update==null?t.stale/2:t.update||0,t.update=Math.max(Math.min(t.update,t.stale/2),1e3),WE(e,t,(n,i)=>{if(n)return r(n);let a=j5e.operation(t.retries);a.attempt(()=>{BE(i,t,(o,s,l)=>{if(a.retry(o))return;if(o)return r(a.mainError());let c=Pl[i]={lockfilePath:F1(i,t),mtime:s,mtimePrecision:l,options:t,lastUpdate:Date.now()};K_(i,t),r(null,u=>{if(c.released)return u&&u(Object.assign(new Error("Lock is already released"),{code:"ERELEASED"}));gz(i,{...t,realpath:!1},u)})})})})}function gz(e,t,r){t={fs:VE,realpath:!0,...t},WE(e,t,(n,i)=>{if(n)return r(n);let a=Pl[i];if(!a)return r(Object.assign(new Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));a.updateTimeout&&clearTimeout(a.updateTimeout),a.released=!0,delete Pl[i],hz(i,t,r)})}function R5e(e,t,r){t={stale:1e4,realpath:!0,fs:VE,...t},t.stale=Math.max(t.stale||0,2e3),WE(e,t,(n,i)=>{if(n)return r(n);t.fs.stat(F1(i,t),(a,o)=>a?a.code==="ENOENT"?r(null,!1):r(a):r(null,!mz(o,t)))})}function F5e(){return Pl}P5e(()=>{for(let e in Pl){let t=Pl[e].options;try{t.fs.rmdirSync(F1(e,t))}catch{}}});$1.exports.lock=M5e;$1.exports.unlock=gz;$1.exports.check=R5e;$1.exports.getLocks=F5e});var vz=h((Bvt,bz)=>{"use strict";var $5e=FE();function U5e(e){let t=["mkdir","realpath","stat","rmdir","utimes"],r={...e};return t.forEach(n=>{r[n]=(...i)=>{let a=i.pop(),o;try{o=e[`${n}Sync`](...i)}catch(s){return a(s)}a(null,o)}}),r}function z5e(e){return(...t)=>new Promise((r,n)=>{t.push((i,a)=>{i?n(i):r(a)}),e(...t)})}function q5e(e){return(...t)=>{let r,n;if(t.push((i,a)=>{r=i,n=a}),e(...t),r)throw r;return n}}function B5e(e){if(e={...e},e.fs=U5e(e.fs||$5e),typeof e.retries=="number"&&e.retries>0||e.retries&&typeof e.retries.retries=="number"&&e.retries.retries>0)throw Object.assign(new Error("Cannot use retries with the sync api"),{code:"ESYNC"});return e}bz.exports={toPromise:z5e,toSync:q5e,toSyncOptions:B5e}});var wz=h((Vvt,Jc)=>{"use strict";var Nf=yz(),{toPromise:X_,toSync:Y_,toSyncOptions:ZE}=vz();async function _z(e,t){let r=await X_(Nf.lock)(e,t);return X_(r)}function V5e(e,t){let r=Y_(Nf.lock)(e,ZE(t));return Y_(r)}function W5e(e,t){return X_(Nf.unlock)(e,t)}function Z5e(e,t){return Y_(Nf.unlock)(e,ZE(t))}function H5e(e,t){return X_(Nf.check)(e,t)}function G5e(e,t){return Y_(Nf.check)(e,ZE(t))}Jc.exports=_z;Jc.exports.lock=_z;Jc.exports.unlock=W5e;Jc.exports.lockSync=V5e;Jc.exports.unlockSync=Z5e;Jc.exports.check=H5e;Jc.exports.checkSync=G5e});var Sz=h(Q_=>{"use strict";Object.defineProperty(Q_,"__esModule",{value:!0});Q_.timeout=void 0;Q_.timeout=function(e,t){if(e==="INFINITELY")return t(function(){return!1});var r=!1,n=function(){return r};return new Promise(function(i,a){var o=setTimeout(function(){r=!0,a(new Error("Timeout after "+e+"ms"))},e),s=t(n);s.then(function(l){i(l),clearTimeout(o)},function(l){a(l),clearTimeout(o)})})}});var e2=h(Et=>{"use strict";var Ez=Et&&Et.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),GE=Et&&Et.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})},JE=Et&&Et.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(Et,"__esModule",{value:!0});Et.NotRetryableError=Et.RetryError=Et.notEmpty=Et.customizeRetry=Et.customizeDecorator=Et.retryDecorator=Et.retry=Et.wait=Et.defaultRetryConfig=void 0;var J5e=Sz(),K5e=function(e,t){return t},X5e=function(e,t){return e*t},Y5e=function(e,t){return Math.pow(t,e)};Et.defaultRetryConfig={backoff:"FIXED",delay:100,logger:function(){},maxBackOff:5*60*1e3,retries:10,timeout:60*1e3,until:function(){return!0},retryIf:function(){return!0}};function xz(e){return GE(this,void 0,void 0,function(){return JE(this,function(t){return[2,new Promise(function(r){return setTimeout(r,e)})]})})}Et.wait=xz;function KE(e,t){return GE(this,void 0,void 0,function(){var r;return JE(this,function(n){return r=Object.assign({},Et.defaultRetryConfig,t),[2,J5e.timeout(r.timeout,function(i){return t8e(e,r,i)})]})})}Et.retry=KE;function Oz(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return KE(function(){return e.apply(void 0,r)},t)}}Et.retryDecorator=Oz;function Q5e(e){return function(t,r){return Oz(t,Object.assign({},e,r))}}Et.customizeDecorator=Q5e;function e8e(e){return function(t,r){var n=Object.assign({},e,r);return KE(t,n)}}Et.customizeRetry=e8e;function t8e(e,t,r){return GE(this,void 0,void 0,function(){var n,i,a,o,s,l,c;return JE(this,function(u){switch(u.label){case 0:switch(t.backoff){case"EXPONENTIAL":i=Y5e;break;case"FIXED":i=K5e;break;case"LINEAR":i=X5e;break;default:i=t.backoff}t.retries==="INFINITELY"?a=Number.MAX_SAFE_INTEGER:a=t.retries,o=0,u.label=1;case 1:if(!(o<=a))return[3,8];u.label=2;case 2:return u.trys.push([2,4,,5]),[4,e()];case 3:return s=u.sent(),t.until(s)?[2,s]:(t.logger("Until condition not met by "+s),[3,5]);case 4:if(l=u.sent(),!t.retryIf(l))throw l;if(l.name===Tz.name)throw new HE("Met not retryable error. Last error: "+l,l);return n=l,t.logger("Retry failed: "+l.message),[3,5];case 5:return c=i(o+1,t.delay),[4,xz(c>t.maxBackOff?t.maxBackOff:c)];case 6:if(u.sent(),r())return[3,8];u.label=7;case 7:return o++,[3,1];case 8:throw new HE("All retries failed. Last error: "+n,n)}})})}Et.notEmpty=function(e){return Array.isArray(e)?e.length>0:e!=null};var HE=function(e){Ez(t,e);function t(r,n){var i=e.call(this,r)||this;return i.lastError=n,i}return t}(Error);Et.RetryError=HE;var Cz=function(){function e(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.message=t,Error.apply(this,r)}return e}();Cz.prototype=new Error;var Tz=function(e){Ez(t,e);function t(r){var n=e.call(this,r)||this;return Object.defineProperty(n,"name",{value:n.constructor.name}),n}return t}(Cz);Et.NotRetryableError=Tz});var Iz=h(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.lockRetryOptions=Pd.lockOptions=void 0;var r8e=Rr();Pd.lockOptions={stale:1e4};Pd.lockRetryOptions={...Pd.lockOptions,retries:{retries:10,maxTimeout:1e3,factor:2},fs:r8e.fs}});var i2=h(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.pollUntilUnlockSync=xn.pollUntilUnlock=xn.lockInitSync=xn.lockInit=xn.asyncNoop=xn.noop=void 0;var Az=require("node:path"),t2=wz(),n8e=He(),i8e=e2(),jf=Rr(),Dz=wt(),Lz=yt(),r2=Cr(),n2=Iz(),a8e=()=>{};xn.noop=a8e;var o8e=async()=>{};xn.asyncNoop=o8e;var s8e=async e=>{try{await jf.fs.promises.mkdir((0,Az.dirname)(e),{recursive:!0})}catch(r){throw Dz.SfError.wrap(r)}let t=r2.Global.isWeb?xn.asyncNoop:await(0,t2.lock)(e,{...n2.lockRetryOptions,realpath:!1,fs:jf.fs});return{writeAndUnlock:async r=>{(await Lz.Logger.child("fileLocking.writeAndUnlock")).debug(`Writing to file: ${e}`);try{await jf.fs.promises.writeFile(e,r)}finally{await t()}},unlock:t}};xn.lockInit=s8e;var l8e=e=>{try{jf.fs.mkdirSync((0,Az.dirname)(e),{recursive:!0})}catch(r){throw Dz.SfError.wrap(r)}let t=r2.Global.isWeb?xn.noop:(0,t2.lockSync)(e,{...n2.lockOptions,realpath:!1,fs:jf.fs});return{writeAndUnlock:r=>{Lz.Logger.childFromRoot("fileLocking.writeAndUnlock").debug(`Writing to file: ${e}`);try{jf.fs.writeFileSync(e,r)}finally{t()}},unlock:t}};xn.lockInitSync=l8e;var c8e=async e=>{if(!r2.Global.isWeb)try{await(0,i8e.retryDecorator)(t2.check,{timeout:n8e.Duration.minutes(1).milliseconds,delay:10,until:t=>t===!1,retryIf:()=>!1})(e,n2.lockRetryOptions)}catch{}};xn.pollUntilUnlock=c8e;var u8e=e=>{if(r2.Global.isWeb)return;let t=0,r=!0;for(;r&&t<100;)try{r=(0,t2.checkSync)(e,n2.lockOptions),t++}catch{r=!1}};xn.pollUntilUnlockSync=u8e});var Pf=h((Jvt,kz)=>{"use strict";var d8e="2.0.0",p8e=Number.MAX_SAFE_INTEGER||9007199254740991,f8e=16,m8e=250,h8e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];kz.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:f8e,MAX_SAFE_BUILD_LENGTH:m8e,MAX_SAFE_INTEGER:p8e,RELEASE_TYPES:h8e,SEMVER_SPEC_VERSION:d8e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var U1=h((Kvt,Nz)=>{"use strict";var g8e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Nz.exports=g8e});var Mf=h((Zo,jz)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:XE,MAX_SAFE_BUILD_LENGTH:y8e,MAX_LENGTH:b8e}=Pf(),v8e=U1();Zo=jz.exports={};var _8e=Zo.re=[],w8e=Zo.safeRe=[],ye=Zo.src=[],S8e=Zo.safeSrc=[],be=Zo.t={},E8e=0,YE="[a-zA-Z0-9-]",x8e=[["\\s",1],["\\d",b8e],[YE,y8e]],O8e=e=>{for(let[t,r]of x8e)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Ne=(e,t,r)=>{let n=O8e(t),i=E8e++;v8e(e,i,t),be[e]=i,ye[i]=t,S8e[i]=n,_8e[i]=new RegExp(t,r?"g":void 0),w8e[i]=new RegExp(n,r?"g":void 0)};Ne("NUMERICIDENTIFIER","0|[1-9]\\d*");Ne("NUMERICIDENTIFIERLOOSE","\\d+");Ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${YE}*`);Ne("MAINVERSION",`(${ye[be.NUMERICIDENTIFIER]})\\.(${ye[be.NUMERICIDENTIFIER]})\\.(${ye[be.NUMERICIDENTIFIER]})`);Ne("MAINVERSIONLOOSE",`(${ye[be.NUMERICIDENTIFIERLOOSE]})\\.(${ye[be.NUMERICIDENTIFIERLOOSE]})\\.(${ye[be.NUMERICIDENTIFIERLOOSE]})`);Ne("PRERELEASEIDENTIFIER",`(?:${ye[be.NONNUMERICIDENTIFIER]}|${ye[be.NUMERICIDENTIFIER]})`);Ne("PRERELEASEIDENTIFIERLOOSE",`(?:${ye[be.NONNUMERICIDENTIFIER]}|${ye[be.NUMERICIDENTIFIERLOOSE]})`);Ne("PRERELEASE",`(?:-(${ye[be.PRERELEASEIDENTIFIER]}(?:\\.${ye[be.PRERELEASEIDENTIFIER]})*))`);Ne("PRERELEASELOOSE",`(?:-?(${ye[be.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ye[be.PRERELEASEIDENTIFIERLOOSE]})*))`);Ne("BUILDIDENTIFIER",`${YE}+`);Ne("BUILD",`(?:\\+(${ye[be.BUILDIDENTIFIER]}(?:\\.${ye[be.BUILDIDENTIFIER]})*))`);Ne("FULLPLAIN",`v?${ye[be.MAINVERSION]}${ye[be.PRERELEASE]}?${ye[be.BUILD]}?`);Ne("FULL",`^${ye[be.FULLPLAIN]}$`);Ne("LOOSEPLAIN",`[v=\\s]*${ye[be.MAINVERSIONLOOSE]}${ye[be.PRERELEASELOOSE]}?${ye[be.BUILD]}?`);Ne("LOOSE",`^${ye[be.LOOSEPLAIN]}$`);Ne("GTLT","((?:<|>)?=?)");Ne("XRANGEIDENTIFIERLOOSE",`${ye[be.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Ne("XRANGEIDENTIFIER",`${ye[be.NUMERICIDENTIFIER]}|x|X|\\*`);Ne("XRANGEPLAIN",`[v=\\s]*(${ye[be.XRANGEIDENTIFIER]})(?:\\.(${ye[be.XRANGEIDENTIFIER]})(?:\\.(${ye[be.XRANGEIDENTIFIER]})(?:${ye[be.PRERELEASE]})?${ye[be.BUILD]}?)?)?`);Ne("XRANGEPLAINLOOSE",`[v=\\s]*(${ye[be.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ye[be.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ye[be.XRANGEIDENTIFIERLOOSE]})(?:${ye[be.PRERELEASELOOSE]})?${ye[be.BUILD]}?)?)?`);Ne("XRANGE",`^${ye[be.GTLT]}\\s*${ye[be.XRANGEPLAIN]}$`);Ne("XRANGELOOSE",`^${ye[be.GTLT]}\\s*${ye[be.XRANGEPLAINLOOSE]}$`);Ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${XE}})(?:\\.(\\d{1,${XE}}))?(?:\\.(\\d{1,${XE}}))?`);Ne("COERCE",`${ye[be.COERCEPLAIN]}(?:$|[^\\d])`);Ne("COERCEFULL",ye[be.COERCEPLAIN]+`(?:${ye[be.PRERELEASE]})?(?:${ye[be.BUILD]})?(?:$|[^\\d])`);Ne("COERCERTL",ye[be.COERCE],!0);Ne("COERCERTLFULL",ye[be.COERCEFULL],!0);Ne("LONETILDE","(?:~>?)");Ne("TILDETRIM",`(\\s*)${ye[be.LONETILDE]}\\s+`,!0);Zo.tildeTrimReplace="$1~";Ne("TILDE",`^${ye[be.LONETILDE]}${ye[be.XRANGEPLAIN]}$`);Ne("TILDELOOSE",`^${ye[be.LONETILDE]}${ye[be.XRANGEPLAINLOOSE]}$`);Ne("LONECARET","(?:\\^)");Ne("CARETTRIM",`(\\s*)${ye[be.LONECARET]}\\s+`,!0);Zo.caretTrimReplace="$1^";Ne("CARET",`^${ye[be.LONECARET]}${ye[be.XRANGEPLAIN]}$`);Ne("CARETLOOSE",`^${ye[be.LONECARET]}${ye[be.XRANGEPLAINLOOSE]}$`);Ne("COMPARATORLOOSE",`^${ye[be.GTLT]}\\s*(${ye[be.LOOSEPLAIN]})$|^$`);Ne("COMPARATOR",`^${ye[be.GTLT]}\\s*(${ye[be.FULLPLAIN]})$|^$`);Ne("COMPARATORTRIM",`(\\s*)${ye[be.GTLT]}\\s*(${ye[be.LOOSEPLAIN]}|${ye[be.XRANGEPLAIN]})`,!0);Zo.comparatorTrimReplace="$1$2$3";Ne("HYPHENRANGE",`^\\s*(${ye[be.XRANGEPLAIN]})\\s+-\\s+(${ye[be.XRANGEPLAIN]})\\s*$`);Ne("HYPHENRANGELOOSE",`^\\s*(${ye[be.XRANGEPLAINLOOSE]})\\s+-\\s+(${ye[be.XRANGEPLAINLOOSE]})\\s*$`);Ne("STAR","(<|>)?=?\\s*\\*");Ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var a2=h((Xvt,Pz)=>{"use strict";var C8e=Object.freeze({loose:!0}),T8e=Object.freeze({}),I8e=e=>e?typeof e!="object"?C8e:e:T8e;Pz.exports=I8e});var QE=h((Yvt,Fz)=>{"use strict";var Mz=/^[0-9]+$/,Rz=(e,t)=>{if(typeof e=="number"&&typeof t=="number")return e===t?0:e<t?-1:1;let r=Mz.test(e),n=Mz.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},A8e=(e,t)=>Rz(t,e);Fz.exports={compareIdentifiers:Rz,rcompareIdentifiers:A8e}});var an=h((Qvt,Uz)=>{"use strict";var o2=U1(),{MAX_LENGTH:$z,MAX_SAFE_INTEGER:s2}=Pf(),{safeRe:l2,t:c2}=Mf(),D8e=a2(),{compareIdentifiers:ex}=QE(),L8e=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(ex(e[n],r[n])!==0)return!1;return!0},tx=class e{constructor(t,r){if(r=D8e(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>$z)throw new TypeError(`version is longer than ${$z} characters`);o2("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?l2[c2.LOOSE]:l2[c2.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s2||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s2||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s2||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let a=+i;if(a>=0&&a<s2)return a}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(o2("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=t.prerelease[r];if(o2("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ex(n,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],i=t.build[r];if(o2("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ex(n,i)}while(++r)}inc(t,r,n){if(t.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?l2[c2.PRERELEASELOOSE]:l2[c2.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let a=[r,i];if(n===!1&&(a=[r]),L8e(this.prerelease,r)){let o=this.prerelease[r.split(".").length];isNaN(o)&&(this.prerelease=a)}else this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Uz.exports=tx});var Kc=h((e_t,qz)=>{"use strict";var zz=an(),k8e=(e,t,r=!1)=>{if(e instanceof zz)return e;try{return new zz(e,t)}catch(n){if(!r)return null;throw n}};qz.exports=k8e});var Vz=h((t_t,Bz)=>{"use strict";var N8e=Kc(),j8e=(e,t)=>{let r=N8e(e,t);return r?r.version:null};Bz.exports=j8e});var Zz=h((r_t,Wz)=>{"use strict";var P8e=Kc(),M8e=(e,t)=>{let r=P8e(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};Wz.exports=M8e});var Jz=h((n_t,Gz)=>{"use strict";var Hz=an(),R8e=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Hz(e instanceof Hz?e.version:e,r).inc(t,n,i).version}catch{return null}};Gz.exports=R8e});var Yz=h((i_t,Xz)=>{"use strict";var Kz=Kc(),F8e=(e,t)=>{let r=Kz(e,null,!0),n=Kz(t,null,!0),i=r.compare(n);if(i===0)return null;let a=i>0,o=a?r:n,s=a?n:r,l=!!o.prerelease.length;if(!!s.prerelease.length&&!l){if(!s.patch&&!s.minor)return"major";if(s.compareMain(o)===0)return s.minor&&!s.patch?"minor":"patch"}let u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"};Xz.exports=F8e});var eq=h((a_t,Qz)=>{"use strict";var $8e=an(),U8e=(e,t)=>new $8e(e,t).major;Qz.exports=U8e});var rq=h((o_t,tq)=>{"use strict";var z8e=an(),q8e=(e,t)=>new z8e(e,t).minor;tq.exports=q8e});var iq=h((s_t,nq)=>{"use strict";var B8e=an(),V8e=(e,t)=>new B8e(e,t).patch;nq.exports=V8e});var oq=h((l_t,aq)=>{"use strict";var W8e=Kc(),Z8e=(e,t)=>{let r=W8e(e,t);return r&&r.prerelease.length?r.prerelease:null};aq.exports=Z8e});var ma=h((c_t,lq)=>{"use strict";var sq=an(),H8e=(e,t,r)=>new sq(e,r).compare(new sq(t,r));lq.exports=H8e});var uq=h((u_t,cq)=>{"use strict";var G8e=ma(),J8e=(e,t,r)=>G8e(t,e,r);cq.exports=J8e});var pq=h((d_t,dq)=>{"use strict";var K8e=ma(),X8e=(e,t)=>K8e(e,t,!0);dq.exports=X8e});var u2=h((p_t,mq)=>{"use strict";var fq=an(),Y8e=(e,t,r)=>{let n=new fq(e,r),i=new fq(t,r);return n.compare(i)||n.compareBuild(i)};mq.exports=Y8e});var gq=h((f_t,hq)=>{"use strict";var Q8e=u2(),e9e=(e,t)=>e.sort((r,n)=>Q8e(r,n,t));hq.exports=e9e});var bq=h((m_t,yq)=>{"use strict";var t9e=u2(),r9e=(e,t)=>e.sort((r,n)=>t9e(n,r,t));yq.exports=r9e});var z1=h((h_t,vq)=>{"use strict";var n9e=ma(),i9e=(e,t,r)=>n9e(e,t,r)>0;vq.exports=i9e});var d2=h((g_t,_q)=>{"use strict";var a9e=ma(),o9e=(e,t,r)=>a9e(e,t,r)<0;_q.exports=o9e});var rx=h((y_t,wq)=>{"use strict";var s9e=ma(),l9e=(e,t,r)=>s9e(e,t,r)===0;wq.exports=l9e});var nx=h((b_t,Sq)=>{"use strict";var c9e=ma(),u9e=(e,t,r)=>c9e(e,t,r)!==0;Sq.exports=u9e});var p2=h((v_t,Eq)=>{"use strict";var d9e=ma(),p9e=(e,t,r)=>d9e(e,t,r)>=0;Eq.exports=p9e});var f2=h((__t,xq)=>{"use strict";var f9e=ma(),m9e=(e,t,r)=>f9e(e,t,r)<=0;xq.exports=m9e});var ix=h((w_t,Oq)=>{"use strict";var h9e=rx(),g9e=nx(),y9e=z1(),b9e=p2(),v9e=d2(),_9e=f2(),w9e=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return h9e(e,r,n);case"!=":return g9e(e,r,n);case">":return y9e(e,r,n);case">=":return b9e(e,r,n);case"<":return v9e(e,r,n);case"<=":return _9e(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};Oq.exports=w9e});var Tq=h((S_t,Cq)=>{"use strict";var S9e=an(),E9e=Kc(),{safeRe:m2,t:h2}=Mf(),x9e=(e,t)=>{if(e instanceof S9e)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?m2[h2.COERCEFULL]:m2[h2.COERCE]);else{let l=t.includePrerelease?m2[h2.COERCERTLFULL]:m2[h2.COERCERTL],c;for(;(c=l.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||c.index+c[0].length!==r.index+r[0].length)&&(r=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",a=r[4]||"0",o=t.includePrerelease&&r[5]?`-${r[5]}`:"",s=t.includePrerelease&&r[6]?`+${r[6]}`:"";return E9e(`${n}.${i}.${a}${o}${s}`,t)};Cq.exports=x9e});var Aq=h((E_t,Iq)=>{"use strict";var O9e=Kc(),C9e=Pf(),T9e=an(),I9e=(e,t,r)=>{if(!C9e.RELEASE_TYPES.includes(t))return null;let n=A9e(e,r);return n&&D9e(n,t)},A9e=(e,t)=>{let r=e instanceof T9e?e.version:e;return O9e(r,t)},D9e=(e,t)=>{if(L9e(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0;break}return e.format()},L9e=e=>e.startsWith("pre");Iq.exports=I9e});var Lq=h((x_t,Dq)=>{"use strict";var ax=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(t,r)}return this}};Dq.exports=ax});var ha=h((O_t,Pq)=>{"use strict";var k9e=/\s+/g,ox=class e{constructor(t,r){if(r=j9e(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof sx)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(k9e," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!Nq(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&B9e(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let r=this.set[t];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){t=t.replace(q9e,"");let n=((this.options.includePrerelease&&U9e)|(this.options.loose&&z9e))+":"+t,i=kq.get(n);if(i)return i;let a=this.options.loose,o=a?Bn[on.HYPHENRANGELOOSE]:Bn[on.HYPHENRANGE];t=t.replace(o,e7e(this.options.includePrerelease)),Mt("hyphen replace",t),t=t.replace(Bn[on.COMPARATORTRIM],R9e),Mt("comparator trim",t),t=t.replace(Bn[on.TILDETRIM],F9e),Mt("tilde trim",t),t=t.replace(Bn[on.CARETTRIM],$9e),Mt("caret trim",t);let s=t.split(" ").map(d=>V9e(d,this.options)).join(" ").split(/\s+/).map(d=>Q9e(d,this.options));a&&(s=s.filter(d=>(Mt("loose invalid filter",d,this.options),!!d.match(Bn[on.COMPARATORLOOSE])))),Mt("range list",s);let l=new Map,c=s.map(d=>new sx(d,this.options));for(let d of c){if(Nq(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return kq.set(n,u),u}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>jq(n,r)&&t.set.some(i=>jq(i,r)&&n.every(a=>i.every(o=>a.intersects(o,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new P9e(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(t7e(this.set[r],t,this.options))return!0;return!1}};Pq.exports=ox;var N9e=Lq(),kq=new N9e,j9e=a2(),sx=q1(),Mt=U1(),P9e=an(),{safeRe:Bn,src:M9e,t:on,comparatorTrimReplace:R9e,tildeTrimReplace:F9e,caretTrimReplace:$9e}=Mf(),{FLAG_INCLUDE_PRERELEASE:U9e,FLAG_LOOSE:z9e}=Pf(),q9e=new RegExp(M9e[on.BUILD],"g"),Nq=e=>e.value==="<0.0.0-0",B9e=e=>e.value==="",jq=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(a=>i.intersects(a,t)),i=n.pop();return r},V9e=(e,t)=>(e=e.replace(Bn[on.BUILD],""),Mt("comp",e,t),e=G9e(e,t),Mt("caret",e),e=Z9e(e,t),Mt("tildes",e),e=K9e(e,t),Mt("xrange",e),e=Y9e(e,t),Mt("stars",e),e),Tr=e=>!e||e.toLowerCase()==="x"||e==="*",W9e=(e,t,r)=>Tr(e)&&!Tr(t)||Tr(t)&&r&&!Tr(r),Z9e=(e,t)=>e.trim().split(/\s+/).map(r=>H9e(r,t)).join(" "),H9e=(e,t)=>{let r=t.loose?Bn[on.TILDELOOSE]:Bn[on.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,o,s,l)=>{Mt("tilde",e,i,a,o,s,l);let c;return Tr(a)?c="":Tr(o)?c=`>=${a}.0.0${n} <${+a+1}.0.0-0`:Tr(s)?c=`>=${a}.${o}.0${n} <${a}.${+o+1}.0-0`:l?(Mt("replaceTilde pr",l),c=`>=${a}.${o}.${s}-${l} <${a}.${+o+1}.0-0`):c=`>=${a}.${o}.${s} <${a}.${+o+1}.0-0`,Mt("tilde return",c),c})},G9e=(e,t)=>e.trim().split(/\s+/).map(r=>J9e(r,t)).join(" "),J9e=(e,t)=>{Mt("caret",e,t);let r=t.loose?Bn[on.CARETLOOSE]:Bn[on.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,a,o,s,l)=>{Mt("caret",e,i,a,o,s,l);let c;return Tr(a)?c="":Tr(o)?c=`>=${a}.0.0${n} <${+a+1}.0.0-0`:Tr(s)?a==="0"?c=`>=${a}.${o}.0${n} <${a}.${+o+1}.0-0`:c=`>=${a}.${o}.0${n} <${+a+1}.0.0-0`:l?(Mt("replaceCaret pr",l),a==="0"?o==="0"?c=`>=${a}.${o}.${s}-${l} <${a}.${o}.${+s+1}-0`:c=`>=${a}.${o}.${s}-${l} <${a}.${+o+1}.0-0`:c=`>=${a}.${o}.${s}-${l} <${+a+1}.0.0-0`):(Mt("no pr"),a==="0"?o==="0"?c=`>=${a}.${o}.${s} <${a}.${o}.${+s+1}-0`:c=`>=${a}.${o}.${s} <${a}.${+o+1}.0-0`:c=`>=${a}.${o}.${s} <${+a+1}.0.0-0`),Mt("caret return",c),c})},K9e=(e,t)=>(Mt("replaceXRanges",e,t),e.split(/\s+/).map(r=>X9e(r,t)).join(" ")),X9e=(e,t)=>{e=e.trim();let r=t.loose?Bn[on.XRANGELOOSE]:Bn[on.XRANGE];return e.replace(r,(n,i,a,o,s,l)=>{if(Mt("xRange",e,n,i,a,o,s,l),W9e(a,o,s))return e;let c=Tr(a),u=c||Tr(o),d=u||Tr(s),f=d;return i==="="&&f&&(i=""),l=t.includePrerelease?"-0":"",c?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(u&&(o=0),s=0,i===">"?(i=">=",u?(a=+a+1,o=0,s=0):(o=+o+1,s=0)):i==="<="&&(i="<",u?a=+a+1:o=+o+1),i==="<"&&(l="-0"),n=`${i+a}.${o}.${s}${l}`):u?n=`>=${a}.0.0${l} <${+a+1}.0.0-0`:d&&(n=`>=${a}.${o}.0${l} <${a}.${+o+1}.0-0`),Mt("xRange return",n),n})},Y9e=(e,t)=>(Mt("replaceStars",e,t),e.trim().replace(Bn[on.STAR],"")),Q9e=(e,t)=>(Mt("replaceGTE0",e,t),e.trim().replace(Bn[t.includePrerelease?on.GTE0PRE:on.GTE0],"")),e7e=e=>(t,r,n,i,a,o,s,l,c,u,d,f)=>(Tr(n)?r="":Tr(i)?r=`>=${n}.0.0${e?"-0":""}`:Tr(a)?r=`>=${n}.${i}.0${e?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,Tr(c)?l="":Tr(u)?l=`<${+c+1}.0.0-0`:Tr(d)?l=`<${c}.${+u+1}.0-0`:f?l=`<=${c}.${u}.${d}-${f}`:e?l=`<${c}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),t7e=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(Mt(e[n].semver),e[n].semver!==sx.ANY&&e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}});var q1=h((C_t,zq)=>{"use strict";var B1=Symbol("SemVer ANY"),ux=class e{static get ANY(){return B1}constructor(t,r){if(r=Mq(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),cx("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===B1?this.value="":this.value=this.operator+this.semver.version,cx("comp",this)}parse(t){let r=this.options.loose?Rq[Fq.COMPARATORLOOSE]:Rq[Fq.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new $q(n[2],this.options.loose):this.semver=B1}toString(){return this.value}test(t){if(cx("Comparator.test",t,this.options.loose),this.semver===B1||t===B1)return!0;if(typeof t=="string")try{t=new $q(t,this.options)}catch{return!1}return lx(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Uq(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new Uq(this.value,r).test(t.semver):(r=Mq(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||lx(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||lx(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};zq.exports=ux;var Mq=a2(),{safeRe:Rq,t:Fq}=Mf(),lx=ix(),cx=U1(),$q=an(),Uq=ha()});var V1=h((T_t,qq)=>{"use strict";var r7e=ha(),n7e=(e,t,r)=>{try{t=new r7e(t,r)}catch{return!1}return t.test(e)};qq.exports=n7e});var Vq=h((I_t,Bq)=>{"use strict";var i7e=ha(),a7e=(e,t)=>new i7e(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));Bq.exports=a7e});var Zq=h((A_t,Wq)=>{"use strict";var o7e=an(),s7e=ha(),l7e=(e,t,r)=>{let n=null,i=null,a=null;try{a=new s7e(t,r)}catch{return null}return e.forEach(o=>{a.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new o7e(n,r))}),n};Wq.exports=l7e});var Gq=h((D_t,Hq)=>{"use strict";var c7e=an(),u7e=ha(),d7e=(e,t,r)=>{let n=null,i=null,a=null;try{a=new u7e(t,r)}catch{return null}return e.forEach(o=>{a.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new c7e(n,r))}),n};Hq.exports=d7e});var Xq=h((L_t,Kq)=>{"use strict";var dx=an(),p7e=ha(),Jq=z1(),f7e=(e,t)=>{e=new p7e(e,t);let r=new dx("0.0.0");if(e.test(r)||(r=new dx("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],a=null;i.forEach(o=>{let s=new dx(o.semver.version);switch(o.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!a||Jq(s,a))&&(a=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),a&&(!r||Jq(r,a))&&(r=a)}return r&&e.test(r)?r:null};Kq.exports=f7e});var Qq=h((k_t,Yq)=>{"use strict";var m7e=ha(),h7e=(e,t)=>{try{return new m7e(e,t).range||"*"}catch{return null}};Yq.exports=h7e});var g2=h((N_t,nB)=>{"use strict";var g7e=an(),rB=q1(),{ANY:y7e}=rB,b7e=ha(),v7e=V1(),eB=z1(),tB=d2(),_7e=f2(),w7e=p2(),S7e=(e,t,r,n)=>{e=new g7e(e,n),t=new b7e(t,n);let i,a,o,s,l;switch(r){case">":i=eB,a=_7e,o=tB,s=">",l=">=";break;case"<":i=tB,a=w7e,o=eB,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(v7e(e,t,n))return!1;for(let c=0;c<t.set.length;++c){let u=t.set[c],d=null,f=null;if(u.forEach(p=>{p.semver===y7e&&(p=new rB(">=0.0.0")),d=d||p,f=f||p,i(p.semver,d.semver,n)?d=p:o(p.semver,f.semver,n)&&(f=p)}),d.operator===s||d.operator===l||(!f.operator||f.operator===s)&&a(e,f.semver))return!1;if(f.operator===l&&o(e,f.semver))return!1}return!0};nB.exports=S7e});var aB=h((j_t,iB)=>{"use strict";var E7e=g2(),x7e=(e,t,r)=>E7e(e,t,">",r);iB.exports=x7e});var sB=h((P_t,oB)=>{"use strict";var O7e=g2(),C7e=(e,t,r)=>O7e(e,t,"<",r);oB.exports=C7e});var uB=h((M_t,cB)=>{"use strict";var lB=ha(),T7e=(e,t,r)=>(e=new lB(e,r),t=new lB(t,r),e.intersects(t,r));cB.exports=T7e});var pB=h((R_t,dB)=>{"use strict";var I7e=V1(),A7e=ma();dB.exports=(e,t,r)=>{let n=[],i=null,a=null,o=e.sort((u,d)=>A7e(u,d,r));for(let u of o)I7e(u,t,r)?(a=u,i||(i=u)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);let s=[];for(let[u,d]of n)u===d?s.push(u):!d&&u===o[0]?s.push("*"):d?u===o[0]?s.push(`<=${d}`):s.push(`${u} - ${d}`):s.push(`>=${u}`);let l=s.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t}});var bB=h((F_t,yB)=>{"use strict";var fB=ha(),mx=q1(),{ANY:px}=mx,fx=V1(),hx=ma(),D7e=(e,t,r={})=>{if(e===t)return!0;e=new fB(e,r),t=new fB(t,r);let n=!1;e:for(let i of e.set){for(let a of t.set){let o=k7e(i,a,r);if(n=n||o!==null,o)continue e}if(n)return!1}return!0},L7e=[new mx(">=0.0.0-0")],mB=[new mx(">=0.0.0")],k7e=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===px){if(t.length===1&&t[0].semver===px)return!0;r.includePrerelease?e=L7e:e=mB}if(t.length===1&&t[0].semver===px){if(r.includePrerelease)return!0;t=mB}let n=new Set,i,a;for(let p of e)p.operator===">"||p.operator===">="?i=hB(i,p,r):p.operator==="<"||p.operator==="<="?a=gB(a,p,r):n.add(p.semver);if(n.size>1)return null;let o;if(i&&a){if(o=hx(i.semver,a.semver,r),o>0)return null;if(o===0&&(i.operator!==">="||a.operator!=="<="))return null}for(let p of n){if(i&&!fx(p,String(i),r)||a&&!fx(p,String(a),r))return null;for(let m of t)if(!fx(p,String(m),r))return!1;return!0}let s,l,c,u,d=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,f=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of t){if(u=u||p.operator===">"||p.operator===">=",c=c||p.operator==="<"||p.operator==="<=",i){if(f&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===f.major&&p.semver.minor===f.minor&&p.semver.patch===f.patch&&(f=!1),p.operator===">"||p.operator===">="){if(s=hB(i,p,r),s===p&&s!==i)return!1}else if(i.operator===">="&&!p.test(i.semver))return!1}if(a){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=gB(a,p,r),l===p&&l!==a)return!1}else if(a.operator==="<="&&!p.test(a.semver))return!1}if(!p.operator&&(a||i)&&o!==0)return!1}return!(i&&c&&!a&&o!==0||a&&u&&!i&&o!==0||f||d)},hB=(e,t,r)=>{if(!e)return t;let n=hx(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},gB=(e,t,r)=>{if(!e)return t;let n=hx(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};yB.exports=D7e});var W1=h(($_t,wB)=>{"use strict";var gx=Mf(),vB=Pf(),N7e=an(),_B=QE(),j7e=Kc(),P7e=Vz(),M7e=Zz(),R7e=Jz(),F7e=Yz(),$7e=eq(),U7e=rq(),z7e=iq(),q7e=oq(),B7e=ma(),V7e=uq(),W7e=pq(),Z7e=u2(),H7e=gq(),G7e=bq(),J7e=z1(),K7e=d2(),X7e=rx(),Y7e=nx(),Q7e=p2(),eEe=f2(),tEe=ix(),rEe=Tq(),nEe=Aq(),iEe=q1(),aEe=ha(),oEe=V1(),sEe=Vq(),lEe=Zq(),cEe=Gq(),uEe=Xq(),dEe=Qq(),pEe=g2(),fEe=aB(),mEe=sB(),hEe=uB(),gEe=pB(),yEe=bB();wB.exports={parse:j7e,valid:P7e,clean:M7e,inc:R7e,diff:F7e,major:$7e,minor:U7e,patch:z7e,prerelease:q7e,compare:B7e,rcompare:V7e,compareLoose:W7e,compareBuild:Z7e,sort:H7e,rsort:G7e,gt:J7e,lt:K7e,eq:X7e,neq:Y7e,gte:Q7e,lte:eEe,cmp:tEe,coerce:rEe,truncate:nEe,Comparator:iEe,Range:aEe,satisfies:oEe,toComparators:sEe,maxSatisfying:lEe,minSatisfying:cEe,minVersion:uEe,validRange:dEe,outside:pEe,gtr:fEe,ltr:mEe,intersects:hEe,simplifyRange:gEe,subset:yEe,SemVer:N7e,re:gx.re,src:gx.src,tokens:gx.t,SEMVER_SPEC_VERSION:vB.SEMVER_SPEC_VERSION,RELEASE_TYPES:vB.RELEASE_TYPES,compareIdentifiers:_B.compareIdentifiers,rcompareIdentifiers:_B.rcompareIdentifiers}});var SB=h((U_t,bEe)=>{bEe.exports={name:"@salesforce/core",version:"8.31.0",description:"Core libraries to interact with SFDX projects, orgs, and APIs.",main:"lib/index",types:"lib/index.d.ts",license:"BSD-3-Clause",engines:{node:">=18.0.0"},exports:{".":"./lib/index.js","./config":"./lib/config/config.js","./configAggregator":"./lib/config/configAggregator.js","./envVars":"./lib/config/envVars.js","./fs":"./lib/fs/fs.js","./global":"./lib/global.js","./lifecycle":"./lib/lifecycleEvents.js","./logger":"./lib/logger/logger.js","./messages":"./lib/messages.js","./messageTransformer":"./lib/messageTransformer.js","./project":"./lib/sfProject.js","./sfError":"./lib/sfError.js","./stateAggregator":"./lib/stateAggregator/stateAggregator.js","./testSetup":"./lib/testSetup.js","./sfdx-project.schema.json":"./schemas/sfdx-project.schema.json","./project-scratch-def.schema.json":"./schemas/project-scratch-def.schema.json"},scripts:{build:"wireit","bundle-check":"wireit",clean:"sf-clean","clean-all":"sf-clean all",compile:"wireit",docs:"sf-docs",format:"wireit","link-check":"wireit",lint:"wireit","lint-fix":"yarn sf-lint --fix",prepack:"sf-prepack",prepare:"sf-install",test:"wireit","test:nuts":"wireit","test:only":"wireit","test:perf":"ts-node test/perf/logger/main.test.ts","update:features":"ts-node scripts/schemas/update-features.ts","update:settings":"ts-node scripts/schemas/update-settings.ts"},keywords:["force","salesforce","sfdx","salesforcedx"],files:["docs","lib","messages","schemas","!lib/**/*.map","messageTransformer/messageTransformer.ts"],dependencies:{"@jsforce/jsforce-node":"^3.10.13","@salesforce/kit":"^3.2.4","@salesforce/ts-types":"^2.0.12",ajv:"^8.18.0","change-case":"^4.1.2","fast-levenshtein":"^3.0.0",faye:"^1.4.1","form-data":"^4.0.5",js2xmlparser:"^4.0.1",jsonwebtoken:"9.0.3",jszip:"3.10.1",memfs:"4.38.1",pino:"^9.7.0","pino-abstract-transport":"^1.2.0","pino-pretty":"^11.3.0","proper-lockfile":"^4.1.2",semver:"^7.8.0","ts-retry-promise":"^0.8.1",zod:"^4.1.12"},devDependencies:{"@salesforce/dev-scripts":"^10.1.1","@salesforce/ts-sinon":"^1.4.31","@types/benchmark":"^2.1.5","@types/fast-levenshtein":"^0.0.4","@types/jsonwebtoken":"9.0.10","@types/proper-lockfile":"^4.1.4","@types/semver":"^7.7.1",benchmark:"^2.1.4",esbuild:"^0.28.0",mocha:"^11.7.5","ts-node":"^10.9.2","ts-patch":"^3.3.0",typescript:"^5.5.4"},resolutions:{"@jsforce/jsforce-node/node-fetch/whatwg-url":"^14.0.0"},repository:{type:"git",url:"https://github.com/forcedotcom/sfdx-core.git"},publishConfig:{access:"public"},wireit:{build:{dependencies:["compile","lint"]},compile:{command:"tspc -p . --pretty --incremental",dependencies:["build:schema:project","build:schema:scratch"],files:["src/**/*.ts","src/**/*.json","tsconfig.json","messages","messageTransformer"],output:["lib/**","*.tsbuildinfo"],clean:"if-file-deleted"},format:{command:'prettier --write "+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json"',files:["src/**/*.ts","test/**/*.ts","schemas/**/*.json","command-snapshot.json",".prettier*"],output:[]},lint:{command:"eslint src test --color --cache --cache-location .eslintcache",files:["src/**/*.ts","test/**/*.ts","messages/**","**/.eslint*","**/tsconfig.json"],output:[]},"test:compile":{command:'tsc -p "./test" --pretty',files:["test/**/*.ts","**/tsconfig.json"],output:[]},"test:only":{command:'nyc mocha "test/unit/**/*.test.ts"',dependencies:["build:schema:project","build:schema:scratch"],env:{FORCE_COLOR:"2"},files:["test/**/*.ts","src/**/*.ts","**/tsconfig.json",".mocha*","!*.nut.ts",".nycrc"],output:[]},test:{dependencies:["test:only","test:compile","link-check","bundle-check"]},"test:nuts":{command:'mocha "test/**/*.nut.ts" --timeout 500000',dependencies:["compile"],files:["test/nut/**/*","src/**/*.ts","**/tsconfig.json",".mocha*"],output:[]},"bundle-check":{command:"node scripts/build.mjs",dependencies:["compile"],files:["lib/**/*","scripts/build.mjs"],output:["dist/**/*"]},"link-check":{command:'node -e "process.exit(process.env.CI ? 0 : 1)" || linkinator "./*.md" --skip "examples/README.md|CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s|npmjs.com" --markdown --retry --directory-listing --verbosity error',files:["./*.md","./examples/**/*.md","./messages/**/*.md","./!(CHANGELOG).md"],output:[]},"compile-typedoc":{command:"tsc -p typedocExamples"},"build:schema:project":{command:"ts-node scripts/schemas/build-schema-project.ts",files:["src/schema/sfdx-project/**/*.ts","scripts/schemas/build-schema-project.ts","scripts/schemas/consts.ts"],output:["schemas/sfdx-project.schema.json"],clean:"if-file-deleted"},"build:schema:scratch":{command:"ts-node scripts/schemas/build-schema-scratch.ts",files:["src/schema/project-scratch-def/**/*.ts","scripts/schemas/build-schema-scratch.ts","scripts/schemas/consts.ts"],output:["schemas/project-scratch-def.schema.json"],clean:"if-file-deleted"}}}});var sn=h(Mi=>{"use strict";var vEe=Mi&&Mi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),_Ee=Mi&&Mi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),wEe=Mi&&Mi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&vEe(t,e,r);return _Ee(t,e),t};Object.defineProperty(Mi,"__esModule",{value:!0});Mi.cloneUniqueListeners=Mi.Lifecycle=void 0;var SEe=W1(),EB=wEe(SB()),xB=yt(),yx=class e{listeners;uniqueListeners;static telemetryEventName="telemetry";static warningEventName="warning";logger;constructor(t={},r=new Map){this.listeners=t,this.uniqueListeners=r}static staticVersion(){return EB.version}static getInstance(){if(!global.salesforceCoreLifecycle)global.salesforceCoreLifecycle=new e;else if((0,SEe.compare)(global.salesforceCoreLifecycle.version(),e.staticVersion())===-1){let t=global.salesforceCoreLifecycle;global.salesforceCoreLifecycle=new e({...t.listeners},(0,Mi.cloneUniqueListeners)(t.uniqueListeners)),Object.keys(t.listeners).map(r=>{t.removeAllListeners(r)})}return global.salesforceCoreLifecycle}version(){return EB.version}removeAllListeners(t){this.listeners[t]=[],this.uniqueListeners.delete(t)}getListeners(t){let r=this.listeners[t]?.concat(Array.from((this.uniqueListeners.get(t)??[]).values())??[]);return r||(this.listeners[t]=[],[])}onTelemetry(t){this.on(e.telemetryEventName,t)}onWarning(t){this.on(e.warningEventName,t)}on(t,r,n){let i=this.getListeners(t);i.length!==0&&(this.logger||(this.logger=xB.Logger.childFromRoot("Lifecycle")),this.logger.debug(`${i.length+1} lifecycle events with the name ${t} have now been registered. When this event is emitted all ${i.length+1} listeners will fire.`)),n?this.uniqueListeners.has(t)?this.uniqueListeners.get(t)?.has(n)||this.uniqueListeners.get(t)?.set(n,r):this.uniqueListeners.set(t,new Map([[n,r]])):(i.push(r),this.listeners[t]=i)}async emitTelemetry(t){return this.emit(e.telemetryEventName,t)}async emitWarning(t){return this.getListeners(e.warningEventName).length===0&&process.emitWarning(t),this.emit(e.warningEventName,t)}async emit(t,r){let n=this.getListeners(t);if(n.length===0&&t!==e.warningEventName)this.logger||(this.logger=xB.Logger.childFromRoot("Lifecycle")),this.logger.debug(`A lifecycle event with the name ${t} does not exist. An event must be registered before it can be emitted.`);else for(let i of n)await i(r)}};Mi.Lifecycle=yx;var EEe=e=>new Map(Array.from(e.entries())),xEe=e=>new Map(Array.from(e?.entries()??[]).map(([t,r])=>[t,EEe(r)]));Mi.cloneUniqueListeners=xEe});var OB=h(y2=>{"use strict";Object.defineProperty(y2,"__esModule",{value:!0});y2.Cache=void 0;var bx=class e extends Map{static#e;static#t=!0;#r;#n;constructor(){super(),this.#r=0,this.#n=0}static get hits(){return e.instance().#r}static get lookups(){return e.instance().#n}static instance(){return e.#e||(e.#t=!0,e.#e=new e),e.#e}static set(t,r){e.#t&&e.instance().set(t,r)}static get(t){if(e.#t)return e.instance().#n++,e.instance().#r+=e.instance().has(t)?1:0,e.#e.get(t)}static disable(){e.#t=!1}static enable(){e.#t=!0}};y2.Cache=bx});var kB=h(Ur=>{"use strict";var OEe=Ur&&Ur.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),CEe=Ur&&Ur.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),wx=Ur&&Ur.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&OEe(t,e,r);return CEe(t,e),t};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.keyChainImpl=Ur.GenericWindowsKeychainAccess=Ur.GenericUnixKeychainAccess=Ur.GenericKeychainAccess=Ur.KeychainAccess=void 0;var CB=wx(require("node:child_process")),DB=wx(require("node:os")),TEe=require("node:os"),Md=wx(require("node:path")),vx=Ke(),IEe=He(),Ri=Rr(),LB=Cr(),AEe=bt(),$r=new AEe.Messages("@salesforce/core","encryption",new Map([["invalidEncryptedFormatError","The encrypted data is not properly formatted."],["invalidEncryptedFormatError.actions",["If attempting to create a scratch org then re-authorize. Otherwise create a new scratch org."]],["authDecryptError","Failed to decipher auth data. reason: %s."],["unsupportedOperatingSystemError","Unsupported Operating System: %s"],["missingCredentialProgramError","Unable to find required security software: %s"],["credentialProgramAccessError","Unable to execute security software: %s"],["passwordRetryError","Failed to get the password after %i retries."],["passwordRequiredError","A password is required."],["keyChainServiceRequiredError","Unable to get or set a keychain value without a service name."],["keyChainAccountRequiredError","Unable to get or set a keychain value without an account name."],["keyChainUserCanceledError","User canceled authentication."],["keychainPasswordCreationError","Failed to create a password in the keychain."],["genericKeychainServiceError","The service and account specified in %s do not match the version of the toolbelt."],["genericKeychainServiceError.actions",["Check your toolbelt version and re-auth."]],["genericKeychainInvalidPermsError","Invalid file permissions for secret file: %s"],["genericKeychainInvalidPermsError.actions",["Ensure the file %s has the file permission octal value of %s."]],["passwordNotFoundError",`Could not find password.
|
||
%s`],["passwordNotFoundError.actions",["Ensure a valid password is returned with the following command: [%s]"]],["setCredentialError",`Command failed with response:
|
||
%s`],["setCredentialError.actions",["Determine why this command failed to set an encryption key for user %s: [%s]."]],["macKeychainOutOfSync","We\u2019ve encountered an error with the Mac keychain being out of sync with your `sfdx` credentials. To fix the problem, sync your credentials by authenticating into your org again using the auth commands."],["v1CryptoWithV2KeyWarning",'The SF_CRYPTO_V2 environment variable was set to "false" but a v2 crypto key was detected. v1 crypto can only be used with a v1 key. Unset the SF_CRYPTO_V2 environment variable.'],["v2CryptoWithV1KeyWarning",'SF_CRYPTO_V2 was set to "true" but a v1 crypto key was detected. v2 crypto can only be used with a v2 key. To generate a v2 key:\n\n1. Logout of all orgs: `sf org logout --all`\n2. Delete the sfdx keychain entry (account: local, service: sfdx). If `SF_USE_GENERIC_UNIX_KEYCHAIN=true` env var is set, you can delete the `key.json` file.\n3. Set `SF_CRYPTO_V2=true` env var.\n4. Re-Authenticate with your orgs using the CLI org login commands.']])),TB=3,Z1=e=>e.join(" "),IB=(e,t,r)=>process.platform==="win32"?!0:!!(e&parseInt("0001",8)||e&parseInt("0010",8)&&process.getgid&&t===process.getgid()||e&parseInt("0100",8)&&process.getuid&&r===process.getuid()),_x=async(e,t,r)=>{let n;try{let i=t.statSync(e);n=!r(i.mode,i.gid,i.uid)}catch{throw $r.createError("missingCredentialProgramError",[e])}if(n)throw $r.createError("credentialProgramAccessError",[e])},H1=class{osImpl;fsIfc;constructor(t,r){this.osImpl=t,this.fsIfc=r}async validateProgram(){await _x(this.osImpl.getProgram(),this.fsIfc,IB)}async getPassword(t,r,n=0){if(t.service==null){r($r.createError("keyChainServiceRequiredError"));return}if(t.account==null){r($r.createError("keyChainAccountRequiredError"));return}await this.validateProgram();let i=this.osImpl.getCommandFunc(t,CB.spawn),a="",o="";i.stdout&&i.stdout.on("data",s=>{a+=s}),i.stderr&&i.stderr.on("data",s=>{o+=s}),i.on("close",async s=>{try{return await this.osImpl.onGetCommandClose(s,a,o,t,r)}catch(l){if(l.retry){if(n>=TB)throw $r.createError("passwordRetryError",[TB]);return this.getPassword(t,r,n+1)}else throw l}}),i.stdin&&i.stdin.end()}async setPassword(t,r){if(t.service==null){r($r.createError("keyChainServiceRequiredError"));return}if(t.account==null){r($r.createError("keyChainAccountRequiredError"));return}if(t.password==null){r($r.createError("passwordRequiredError"));return}await _x(this.osImpl.getProgram(),this.fsIfc,IB);let n=this.osImpl.setCommandFunc(t,CB.spawn),i="",a="";n.stdout&&n.stdout.on("data",o=>{i+=o}),n.stderr&&n.stderr.on("data",o=>{a+=o}),n.on("close",async o=>this.osImpl.onSetCommandClose(o,i,a,t,r)),n.stdin&&n.stdin.end()}};Ur.KeychainAccess=H1;var Ml={getProgram(){return process.env.SFDX_SECRET_TOOL_PATH??Md.join(Md.sep,"usr","bin","secret-tool")},getProgramOptions(e){return["lookup","user",e.account,"domain",e.service]},getCommandFunc(e,t){return t(Ml.getProgram(),Ml.getProgramOptions(e))},async onGetCommandClose(e,t,r,n,i){if(e===1){let a=`${Ml.getProgram()} ${Z1(Ml.getProgramOptions(n))}`,o=$r.createError("passwordNotFoundError",[],[a]);if(r?.includes("invalid or unencryptable secret"))throw o.retry=!0,o;i(o)}else i(null,t.trim())},setProgramOptions(e){return["store","--label='salesforce.com'","user",e.account,"domain",e.service]},setCommandFunc(e,t){let r=t(Ml.getProgram(),Ml.setProgramOptions(e));return r.stdin&&r.stdin.write(`${e.password??""}
|
||
`),r},async onSetCommandClose(e,t,r,n,i){if(e!==0){let a=`${Ml.getProgram()} ${Z1(Ml.setProgramOptions(n))}`;i($r.createError("setCredentialError",[`${t} - ${r}`],[DB.userInfo().username,a]))}else i(null)}},so={getProgram(){return Md.join(Md.sep,"usr","bin","security")},getProgramOptions(e){return["find-generic-password","-a",e.account,"-s",e.service,"-g"]},getCommandFunc(e,t){return t(so.getProgram(),so.getProgramOptions(e))},async onGetCommandClose(e,t,r,n,i){let a;if(e!==0){switch(e){case 128:{a=$r.createError("keyChainUserCanceledError");break}default:{let o=`${so.getProgram()} ${Z1(so.getProgramOptions(n))}`;a=$r.createError("passwordNotFoundError",[`${t} - ${r}`],[o])}}i(a);return}if(r.includes("password")){let o=RegExp(/"(.*)"/).exec(r);o?.[1]?i(null,o[1]):i($r.createError("passwordNotFoundError",[`${t} - ${r}`]))}else{let o=`${so.getProgram()} ${Z1(so.getProgramOptions(n))}`;i($r.createError("passwordNotFoundError",[`${t} - ${r}`],[o]))}},setProgramOptions(e){let t=["add-generic-password","-a",e.account,"-s",e.service];return e.password&&t.push("-w",e.password),t},setCommandFunc(e,t){return t(so.getProgram(),so.setProgramOptions(e))},async onSetCommandClose(e,t,r,n,i){if(e!==0){let a=`${so.getProgram()} ${Z1(so.setProgramOptions(n))}`;i($r.createError("setCredentialError",[`${t} - ${r}`],[DB.userInfo().username,a]))}else i(null)}},J1=()=>Md.join(LB.Global.DIR,"key.json"),Xc;(function(e){e.SERVICE="service",e.ACCOUNT="account",e.KEY="key"})(Xc||(Xc={}));async function AB(e,t){try{let r={[Xc.ACCOUNT]:e.account,[Xc.KEY]:e.password,[Xc.SERVICE]:e.service},n=J1();await Ri.fs.promises.mkdir(Md.dirname(n),{recursive:!0}),await Ri.fs.promises.writeFile(n,JSON.stringify(r,null,4),{mode:"600"}),t(null,r)}catch(r){t(r)}}async function DEe(){let e=(0,IEe.parseJsonMap)(await Ri.fs.promises.readFile(J1(),"utf8"));return{account:(0,vx.ensureString)(e[Xc.ACCOUNT]),password:(0,vx.asString)(e[Xc.KEY]),service:(0,vx.ensureString)(e[Xc.SERVICE])}}var G1=class{async getPassword(t,r){await this.isValidFileAccess(async n=>{if(n==null)try{let{service:i,account:a,password:o}=await DEe();t.service===i&&t.account===a?r(null,o):r($r.createError("genericKeychainServiceError",[J1()]))}catch(i){r(i)}else n.code==="ENOENT"?r($r.createError("passwordNotFoundError")):r(n)})}async setPassword(t,r){await this.isValidFileAccess(async n=>{n!=null?n.code==="ENOENT"?await AB.call(this,t,r):r(n):await AB.call(this,t,r)})}async isValidFileAccess(t){try{let r=(0,TEe.homedir)();await Ri.fs.promises.access(Md.join(r,LB.Global.SFDX_STATE_FOLDER),Ri.fs.constants.R_OK|Ri.fs.constants.X_OK|Ri.fs.constants.W_OK),await t(null)}catch(r){await t(r)}}};Ur.GenericKeychainAccess=G1;var b2=class extends G1{async isValidFileAccess(t){await super.isValidFileAccess(async r=>{if(r!=null)await t(r);else{let n=J1(),a=((await Ri.fs.promises.stat(n)).mode&511).toString(8),o="600";a===o?await t(null):t($r.createError("genericKeychainInvalidPermsError",[n],[n,o]))}})}};Ur.GenericUnixKeychainAccess=b2;var v2=class extends G1{async isValidFileAccess(t){await super.isValidFileAccess(async r=>{if(r!=null)await t(r);else try{await Ri.fs.promises.access(J1(),Ri.fs.constants.R_OK|Ri.fs.constants.W_OK),await t(null)}catch(n){await t(n)}})}};Ur.GenericWindowsKeychainAccess=v2;Ur.keyChainImpl={generic_unix:new b2,generic_windows:new v2,darwin:new H1(so,Ri.fs),linux:new H1(Ml,Ri.fs),validateProgram:_x}});var NB=h(_2=>{"use strict";Object.defineProperty(_2,"__esModule",{value:!0});_2.retrieveKeychain=void 0;var LEe=He(),kEe=yt(),NEe=bt(),Yc=kB(),jEe=new NEe.Messages("@salesforce/core","encryption",new Map([["invalidEncryptedFormatError","The encrypted data is not properly formatted."],["invalidEncryptedFormatError.actions",["If attempting to create a scratch org then re-authorize. Otherwise create a new scratch org."]],["authDecryptError","Failed to decipher auth data. reason: %s."],["unsupportedOperatingSystemError","Unsupported Operating System: %s"],["missingCredentialProgramError","Unable to find required security software: %s"],["credentialProgramAccessError","Unable to execute security software: %s"],["passwordRetryError","Failed to get the password after %i retries."],["passwordRequiredError","A password is required."],["keyChainServiceRequiredError","Unable to get or set a keychain value without a service name."],["keyChainAccountRequiredError","Unable to get or set a keychain value without an account name."],["keyChainUserCanceledError","User canceled authentication."],["keychainPasswordCreationError","Failed to create a password in the keychain."],["genericKeychainServiceError","The service and account specified in %s do not match the version of the toolbelt."],["genericKeychainServiceError.actions",["Check your toolbelt version and re-auth."]],["genericKeychainInvalidPermsError","Invalid file permissions for secret file: %s"],["genericKeychainInvalidPermsError.actions",["Ensure the file %s has the file permission octal value of %s."]],["passwordNotFoundError",`Could not find password.
|
||
%s`],["passwordNotFoundError.actions",["Ensure a valid password is returned with the following command: [%s]"]],["setCredentialError",`Command failed with response:
|
||
%s`],["setCredentialError.actions",["Determine why this command failed to set an encryption key for user %s: [%s]."]],["macKeychainOutOfSync","We\u2019ve encountered an error with the Mac keychain being out of sync with your `sfdx` credentials. To fix the problem, sync your credentials by authenticating into your org again using the auth commands."],["v1CryptoWithV2KeyWarning",'The SF_CRYPTO_V2 environment variable was set to "false" but a v2 crypto key was detected. v1 crypto can only be used with a v1 key. Unset the SF_CRYPTO_V2 environment variable.'],["v2CryptoWithV1KeyWarning",'SF_CRYPTO_V2 was set to "true" but a v1 crypto key was detected. v2 crypto can only be used with a v2 key. To generate a v2 key:\n\n1. Logout of all orgs: `sf org logout --all`\n2. Delete the sfdx keychain entry (account: local, service: sfdx). If `SF_USE_GENERIC_UNIX_KEYCHAIN=true` env var is set, you can delete the `key.json` file.\n3. Set `SF_CRYPTO_V2=true` env var.\n4. Re-Authenticate with your orgs using the CLI org login commands.']])),PEe=async e=>{let t=await kEe.Logger.child("keyChain"),r=LEe.env.getBoolean("SF_USE_GENERIC_UNIX_KEYCHAIN");if(e.startsWith("win"))return t.debug(`platform: ${e}. Using generic Windows keychain.`),Yc.keyChainImpl.generic_windows;if(e.includes("darwin"))return r?(t.debug(`platform: ${e}. Using generic Unix keychain.`),Yc.keyChainImpl.generic_unix):(t.debug(`platform: ${e}. Using Darwin native keychain.`),Yc.keyChainImpl.darwin);if(e.includes("linux")){if(r)return t.debug(`platform: ${e}. Using generic Unix keychain.`),Yc.keyChainImpl.generic_unix;try{return t.debug(`platform: ${e}. Using Linux keychain.`),await Yc.keyChainImpl.linux.validateProgram(),Yc.keyChainImpl.linux}catch{return t.debug(`platform: ${e}. Using generic Unix keychain.`),Yc.keyChainImpl.generic_unix}}else{if(e==="browser")return t.debug(`platform: ${e}. Using generic keychain.`),Yc.keyChainImpl.generic_unix;throw jEe.createError("unsupportedOperatingSystemError",[e])}};_2.retrieveKeychain=PEe});var xx=h(Go=>{"use strict";var MEe=Go&&Go.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),REe=Go&&Go.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),FEe=Go&&Go.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&MEe(t,e,r);return REe(t,e),t};Object.defineProperty(Go,"__esModule",{value:!0});Go.SecureBuffer=void 0;var Ho=FEe(require("node:crypto")),$Ee=Ke(),Sx="aes-256-cbc",UEe=32,Ex=class{key=Ho.randomBytes(UEe);iv=Ho.randomBytes(16);secret;value(t){if(t){let r=Ho.createDecipheriv(Sx,this.key,this.iv),n=r.update((0,$Ee.ensure)(this.secret)),i=r.final(),a=Buffer.concat([n,i]);try{return t(a)}finally{Ho.randomFillSync(n),Ho.randomFillSync(i),Ho.randomFillSync(a)}}}clear(){this.secret&&Ho.randomFillSync(this.secret);let t=Ho.createCipheriv(Sx,this.key,this.iv);this.secret=Buffer.concat([t.update(Buffer.from("")),t.final()])}consume(t){let r=t;r||(r=Buffer.from(""));let n=Ho.createCipheriv(Sx,this.key,this.iv);this.secret=Buffer.concat([n.update(r),n.final()]),Ho.randomFillSync(r)}};Go.SecureBuffer=Ex});var BB=h(Jo=>{"use strict";var zEe=Jo&&Jo.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),qEe=Jo&&Jo.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),UB=Jo&&Jo.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&zEe(t,e,r);return qEe(t,e),t};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.Crypto=void 0;var Rd=UB(require("node:crypto")),Ox=UB(require("node:os")),Z_t=require("node:path"),E2=Ke(),K1=He(),BEe=yt(),VEe=sn(),WEe=bt(),Cx=OB(),ZEe=Cr(),HEe=wt(),GEe=NB(),zB=xx(),w2=":",Fd={v1:6,v2:12},Tx={v1:"utf8",v2:"hex"},Ix={v1:16,v2:32},S2="aes-256-gcm",JEe=32,jB=/[a-f0-9]/,PB="sfdx",MB="local",RB,eu=()=>(RB??=BEe.Logger.childFromRoot("crypto"),RB),qB=()=>{let e=process.env.SF_CRYPTO_V2?.toLowerCase();return e!==void 0&&(eu().debug(`SF_CRYPTO_V2=${e}`),e!=="true"&&(e="false")),e},ru,tu=()=>(ru||(ru=qB()==="true"?"v2":"v1"),ru),KEe=e=>{if(!ru){let t=qB();e?.length===Ix.v2*2?(ru="v2",eu().debug("Using v2 crypto"),t==="false"&&eu().warn(Qc.getMessage("v1CryptoWithV2KeyWarning"))):e?.length===Ix.v1*2?(ru="v1",eu().debug("Using v1 crypto"),t==="true"&&eu().warn(Qc.getMessage("v2CryptoWithV1KeyWarning"))):(eu().debug("crypto key doesn't match v1 or v2. using SF_CRYPTO_V2."),tu()),VEe.Lifecycle.getInstance().emitTelemetry({eventName:"crypto_version",library:"sfdx-core",function:"detectCryptoVersion",cryptoVersion:ru,cryptoEnvVar:t})}},Qc=new WEe.Messages("@salesforce/core","encryption",new Map([["invalidEncryptedFormatError","The encrypted data is not properly formatted."],["invalidEncryptedFormatError.actions",["If attempting to create a scratch org then re-authorize. Otherwise create a new scratch org."]],["authDecryptError","Failed to decipher auth data. reason: %s."],["unsupportedOperatingSystemError","Unsupported Operating System: %s"],["missingCredentialProgramError","Unable to find required security software: %s"],["credentialProgramAccessError","Unable to execute security software: %s"],["passwordRetryError","Failed to get the password after %i retries."],["passwordRequiredError","A password is required."],["keyChainServiceRequiredError","Unable to get or set a keychain value without a service name."],["keyChainAccountRequiredError","Unable to get or set a keychain value without an account name."],["keyChainUserCanceledError","User canceled authentication."],["keychainPasswordCreationError","Failed to create a password in the keychain."],["genericKeychainServiceError","The service and account specified in %s do not match the version of the toolbelt."],["genericKeychainServiceError.actions",["Check your toolbelt version and re-auth."]],["genericKeychainInvalidPermsError","Invalid file permissions for secret file: %s"],["genericKeychainInvalidPermsError.actions",["Ensure the file %s has the file permission octal value of %s."]],["passwordNotFoundError",`Could not find password.
|
||
%s`],["passwordNotFoundError.actions",["Ensure a valid password is returned with the following command: [%s]"]],["setCredentialError",`Command failed with response:
|
||
%s`],["setCredentialError.actions",["Determine why this command failed to set an encryption key for user %s: [%s]."]],["macKeychainOutOfSync","We\u2019ve encountered an error with the Mac keychain being out of sync with your `sfdx` credentials. To fix the problem, sync your credentials by authenticating into your org again using the auth commands."],["v1CryptoWithV2KeyWarning",'The SF_CRYPTO_V2 environment variable was set to "false" but a v2 crypto key was detected. v1 crypto can only be used with a v1 key. Unset the SF_CRYPTO_V2 environment variable.'],["v2CryptoWithV1KeyWarning",'SF_CRYPTO_V2 was set to "true" but a v1 crypto key was detected. v2 crypto can only be used with a v2 key. To generate a v2 key:\n\n1. Logout of all orgs: `sf org logout --all`\n2. Delete the sfdx keychain entry (account: local, service: sfdx). If `SF_USE_GENERIC_UNIX_KEYCHAIN=true` env var is set, you can delete the `key.json` file.\n3. Set `SF_CRYPTO_V2=true` env var.\n4. Re-Authenticate with your orgs using the CLI org login commands.']])),FB=(e,t)=>{let r=new zB.SecureBuffer;return r.consume(Buffer.from(e,t)),r},$B={getPassword(e,t,r){let n=`${ZEe.Global.DIR}:${t}:${r}`,i=Cx.Cache.get(n);if(i){let a=Tx[tu()],o=(0,E2.ensure)(i.value(s=>s.toString(a)),"Expected the keychain password to be set");return Cx.Cache.set(n,FB(o,a)),new Promise(s=>s({username:r,password:o}))}else return new Promise((a,o)=>e.getPassword({service:t,account:r},(s,l)=>{if(s)return o(s);let c=(0,E2.ensure)(l,"Expected the keychain password to be set");return KEe(c),Cx.Cache.set(n,FB(c,Tx[tu()])),a({username:r,password:c})}))},setPassword(e,t,r,n){return new Promise((i,a)=>e.setPassword({service:t,account:r,password:n},o=>o?a(o):i({username:r,password:n})))}},Ax=class extends K1.AsyncOptionalCreatable{key=new zB.SecureBuffer;options;noResetOnClose;constructor(t){super(t),this.options=t??{}}static unsetCryptoVersion(){ru=void 0}encrypt(t){if(t!=null){if(this.key==null)throw Qc.createError("keychainPasswordCreationError");return this.isV2Crypto()?this.encryptV2(t):this.encryptV1(t)}}decrypt(t){if(t==null)return;let r=t.split(w2);if(r.length!==2)throw Qc.createError("invalidEncryptedFormatError");return this.isV2Crypto()?this.decryptV2(r):this.decryptV1(r)}isEncrypted(t){if(t==null)return!1;let r=t.split(w2);if(r.length!==2)return!1;let n=r[1],i=r[0];return n.length===JEe&&i.length>=Fd[tu()]&&jB.test(n)&&jB.test(r[0])}close(){this.noResetOnClose||this.key.clear()}isV2Crypto(){return tu()==="v2"}async init(){this.options.platform||(this.options.platform=Ox.platform()),this.noResetOnClose=!!this.options.noResetOnClose;try{let t=await this.getKeyChain(this.options.platform),r=(await $B.getPassword(t,PB,MB)).password;this.key.consume(Buffer.from(r,Tx[tu()]))}catch(t){if(t.name==="PasswordNotFoundError"){if(this.options.retryStatus==="KEY_SET")throw eu().debug("a key was set but the retry to get the password failed."),t;eu().debug(`password not found in keychain. Creating new one (Crypto ${tu()}) and re-init.`);let r=Rd.randomBytes(Ix[tu()]).toString("hex");return await $B.setPassword((0,E2.ensure)(this.options.keychain),PB,MB,r),this.init()}else throw t}}encryptV1(t){let r=Rd.randomBytes(Fd.v1).toString("hex");return this.key.value(n=>{let i=Rd.createCipheriv(S2,n.toString("utf8"),r),a=i.update(t,"utf8","hex");a+=i.final("hex");let o=i.getAuthTag().toString("hex");return`${r}${a}${w2}${o}`})}encryptV2(t){let r=Rd.randomBytes(Fd.v2);return this.key.value(n=>{let i=Rd.createCipheriv(S2,n,r),a=r.toString("hex"),o=i.update(t,"utf8","hex");o+=i.final("hex");let s=i.getAuthTag().toString("hex");return`${a}${o}${w2}${s}`})}decryptV1(t){let r=t[1],n=t[0].substring(0,Fd.v1*2),i=t[0].substring(Fd.v1*2,t[0].length);return this.key.value(a=>{let o=Rd.createDecipheriv(S2,a.toString("utf8"),n);try{return o.setAuthTag(Buffer.from(r,"hex")),`${o.update(i,"hex","utf8")}${o.final("utf8")}`}catch(s){let l=Qc.createError("authDecryptError",[s.message],[],s),c=K1.env.getBoolean("SF_USE_GENERIC_UNIX_KEYCHAIN")||K1.env.getBoolean("USE_GENERIC_UNIX_KEYCHAIN");throw Ox.platform()==="darwin"&&!c&&(l.actions=[Qc.getMessage("macKeychainOutOfSync")]),l}})}decryptV2(t){let r=t[1],n=t[0].substring(0,Fd.v2*2),i=t[0].substring(Fd.v2*2,t[0].length);return this.key.value(a=>{let o=Rd.createDecipheriv(S2,a,Buffer.from(n,"hex"));try{return o.setAuthTag(Buffer.from(r,"hex")),`${o.update(i,"hex","utf8")}${o.final("utf8")}`}catch(s){let l=(0,E2.isString)(s)?HEe.SfError.wrap(s):s,c=Qc.createError("authDecryptError",[l.message],[],l),u=K1.env.getBoolean("SF_USE_GENERIC_UNIX_KEYCHAIN")||K1.env.getBoolean("USE_GENERIC_UNIX_KEYCHAIN");throw Ox.platform()==="darwin"&&!u&&(c.actions=[Qc.getMessage("macKeychainOutOfSync")]),c}})}async getKeyChain(t){return this.options.keychain??=await(0,GEe.retrieveKeychain)(t),this.options.keychain}};Jo.Crypto=Ax});var O2=h(x2=>{"use strict";Object.defineProperty(x2,"__esModule",{value:!0});x2.nowBigInt=void 0;var XEe=()=>BigInt((globalThis.performance.now()+globalThis.performance.timeOrigin)*1e6);x2.nowBigInt=XEe});var VB=h(C2=>{"use strict";Object.defineProperty(C2,"__esModule",{value:!0});C2.LWWRegister=void 0;var YEe=O2(),Dx=class{state;constructor(t){this.state=t}get value(){return this.state.value}get timestamp(){return this.state.timestamp}set(t){this.state={timestamp:(0,YEe.nowBigInt)(),value:t}}merge(t){return t.timestamp>this.state.timestamp&&(this.state=t),this.state}};C2.LWWRegister=Dx});var T2=h(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.LWWMap=ga.stateFromContents=ga.SYMBOL_FOR_DELETED=void 0;var Lx=Ke(),kx=O2(),X1=VB();ga.SYMBOL_FOR_DELETED="UNIQUE_IDENTIFIER_FOR_DELETED";var QEe=(e,t)=>Object.fromEntries((0,Lx.entriesOf)(e).map(([r,n])=>[r,new X1.LWWRegister({timestamp:t??(0,kx.nowBigInt)(),value:n})]));ga.stateFromContents=QEe;var Nx=class{#e=new Map;constructor(t){for(let[r,n]of(0,Lx.entriesOf)(t??{}))this.#e.set(r,new X1.LWWRegister(n))}get value(){return Object.fromEntries(Array.from(this.#e.entries()).filter(([,t])=>t.value!==ga.SYMBOL_FOR_DELETED).map(([t,r])=>[t,r.value]))}get state(){return Object.fromEntries(Array.from(this.#e.entries()).map(([t,r])=>[t,r.state]))}merge(t){for(let[r,n]of(0,Lx.entriesOf)(t)){let i=this.#e.get(r);i?i.merge(n):this.#e.set(r,new X1.LWWRegister(n))}return this.state}set(t,r){let n=this.#e.get(t);n?n.set(r):this.#e.set(t,new X1.LWWRegister({timestamp:(0,kx.nowBigInt)(),value:r}))}get(t){let r=this.#e.get(t)?.value;if(r!==ga.SYMBOL_FOR_DELETED)return r}delete(t){this.#e.set(t,new X1.LWWRegister({timestamp:(0,kx.nowBigInt)(),value:ga.SYMBOL_FOR_DELETED}))}has(t){return this.#e.has(t)&&this.#e.get(t)?.value!==ga.SYMBOL_FOR_DELETED}};ga.LWWMap=Nx});var WB=h(D2=>{"use strict";Object.defineProperty(D2,"__esModule",{value:!0});D2.BaseConfigStore=void 0;var exe=He(),I2=Ke(),$d=Ke(),txe=BB(),A2=wt(),rxe=O2(),jx=T2(),Px=class extends exe.AsyncOptionalCreatable{static encryptedKeys=[];options;crypto;contents=new jx.LWWMap;statics=this.constructor;constructor(t){super(t),this.options=t??{},this.setContents(this.initialContents())}entries(){return(0,$d.definiteEntriesOf)(this.contents.value??{})}get(t,r=!1){let n=this.contents.get(t);if(this.hasEncryption()&&r){if((0,$d.isJsonMap)(n))return this.recursiveDecrypt(structuredClone(n),t);if(this.isCryptoKey(t))return this.decrypt(n)}return n}getKeysByValue(t){return this.entries().filter(n=>n[1]===t).map(n=>n[0])}has(t){return this.contents.has(t)??!1}keys(){return Object.keys(this.contents.value??{})}set(t,r){let n=r;this.hasEncryption()&&((0,$d.isJsonMap)(n)?n=this.recursiveEncrypt(n,t):this.isCryptoKey(t)&&(n=this.encrypt(n))),n===void 0?this.unset(t):this.contents.set(t,n)}update(t,r){let n=this.get(t,!0);if((0,I2.isPlainObject)(n)&&(0,I2.isPlainObject)(r)){let i=Object.assign({},n,r);this.set(t,i)}else this.set(t,r)}unset(t){return this.has(t)?(this.contents.delete(t),!0):!1}unsetAll(t){return t.map(r=>this.unset(r)).every(Boolean)}clear(){this.keys().map(t=>this.unset(t))}values(){return(0,$d.definiteValuesOf)(this.contents.value??{})}getContents(t=!1){return this.hasEncryption()&&t?this.recursiveDecrypt(structuredClone(this.contents?.value??{})):this.contents?.value??{}}forEach(t){this.entries().map(r=>t(r[0],r[1]))}toObject(){return this.contents.value??{}}setContentsFromObject(t){let r=this.hasEncryption()?this.recursiveEncrypt(t):t;(0,I2.entriesOf)(r).map(([n,i])=>{this.set(n,i)})}setContentsFromFileContents(t,r){let n=(0,jx.stateFromContents)(t,r??(0,rxe.nowBigInt)());this.contents=new jx.LWWMap(n)}setContents(t={}){let r=this.hasEncryption()?this.recursiveEncrypt(t):t;(0,I2.entriesOf)(r).map(([n,i])=>{this.contents.set(n,i)})}getEncryptedKeys(){return[...this.options?.encryptedKeys??[],...this.statics?.encryptedKeys??[]]}hasEncryption(){return this.getEncryptedKeys().length>0}initialContents(){return{}}async init(){this.hasEncryption()&&await this.initCrypto()}async initCrypto(){this.crypto||(this.crypto=await txe.Crypto.create())}async clearCrypto(){this.crypto&&(this.crypto.close(),delete this.crypto)}isCryptoKey(t){function r(){let n=/\.([a-zA-Z0-9@._-]+)$/,i=/\['([a-zA-Z0-9@._-]+)'\]$/,a=/\["([a-zA-Z0-9@._-]+)"\]$/,o=n.exec(t)??i.exec(t)??a.exec(t);return o?o[1]:t}return(this.statics.encryptedKeys||[]).find(n=>{let i=r();return n instanceof RegExp?n.test(i):n===i})}encrypt(t){if(t){if(!this.crypto)throw new A2.SfError("crypto is not initialized","CryptoNotInitializedError");if(!(0,$d.isString)(t))throw new A2.SfError(`can only encrypt strings but found: ${typeof t} : ${JSON.stringify(t)}`,"InvalidCryptoValueError");return this.crypto.isEncrypted(t)?t:this.crypto.encrypt(t)}}decrypt(t){if(t){if(!this.crypto)throw new A2.SfError("crypto is not initialized","CryptoNotInitializedError");if(!(0,$d.isString)(t))throw new A2.SfError(`can only encrypt strings but found: ${typeof t} : ${JSON.stringify(t)}`,"InvalidCryptoValueError");return this.crypto.isEncrypted(t)?this.crypto.decrypt(t):t}}recursiveEncrypt(t,r){for(let n of Object.keys(t))this.recursiveCrypto(this.encrypt.bind(this),[...r?[r]:[],n],t);return t}recursiveDecrypt(t,r){for(let n of Object.keys(t))this.recursiveCrypto(this.decrypt.bind(this),[...r?[r]:[],n],t);return t}recursiveCrypto(t,r,n){let i=r.pop(),a=n[i];if((0,$d.isJsonMap)(a))for(let o of Object.keys(a))this.recursiveCrypto(t,[...r,i,o],a);else this.isCryptoKey(i)&&(n[i]=t(a))}};D2.BaseConfigStore=Px});var nu=h(j2=>{"use strict";Object.defineProperty(j2,"__esModule",{value:!0});j2.ConfigFile=void 0;var ZB=require("node:os"),HB=require("node:path"),GB=require("node:fs"),L2=He(),si=Rr(),JB=Cr(),nxe=yt(),k2=wt(),KB=NE(),N2=i2(),ixe=WB(),axe=T2(),Mx=class e extends ixe.BaseConfigStore{hasRead=!1;logger;path;constructor(t){super(t),this.logger=nxe.Logger.childFromRoot(this.constructor.name);let r=this.constructor,n={};try{n=r.getDefaultOptions()}catch{}this.options=Object.assign(n,this.options)}static getFileName(){throw new k2.SfError("Unknown filename for config file.")}static getDefaultOptions(t=!1,r){return{isGlobal:t,isState:!0,filename:r??this.getFileName(),stateFolder:JB.Global.SFDX_STATE_FOLDER}}static async resolveRootFolder(t){return t?(0,ZB.homedir)():(0,KB.resolveProjectPath)()}static resolveRootFolderSync(t){return t?(0,ZB.homedir)():(0,KB.resolveProjectPathSync)()}async access(t){try{return await si.fs.promises.access(this.getPath(),t),!0}catch{return!1}}accessSync(t){try{return si.fs.accessSync(this.getPath(),t),!0}catch{return!1}}async read(t=!1,r=!1){try{if(!this.hasRead||r){this.logger.debug(`Reading config file: ${this.getPath()} because ${this.hasRead?"force parameter is true":"hasRead is false"}`),await(0,N2.pollUntilUnlock)(this.getPath());let n=(0,L2.parseJsonMap)(await si.fs.promises.readFile(this.getPath(),"utf8"),this.getPath());this.setContentsFromFileContents(n,(await si.fs.promises.stat(this.getPath(),{bigint:!0})).mtimeNs)}return this.hasRead=!0,this.getContents()}catch(n){if(this.hasRead=!0,n.code==="ENOENT"){if(!t)return this.setContentsFromFileContents({}),this.getContents()}else if(n.name==="JsonParseError")return this.logger.debug(`Contents of ${this.getPath()} could not be parsed as JSON. Using empty object instead.`),this.setContentsFromObject({}),this.getContents();throw n}}readSync(t=!1,r=!1){try{if(!this.hasRead||r){(0,N2.pollUntilUnlockSync)(this.getPath()),this.logger.debug(`Reading config file: ${this.getPath()}`);let n=(0,L2.parseJsonMap)(si.fs.readFileSync(this.getPath(),"utf8"));this.setContentsFromFileContents(n,si.fs.statSync(this.getPath(),{bigint:!0}).mtimeNs)}return this.hasRead=!0,this.getContents()}catch(n){if(this.hasRead=!0,n.code==="ENOENT"&&!t)return this.setContentsFromFileContents({}),this.getContents();throw n}finally{this.hasRead=!0}}async write(){let t=await(0,N2.lockInit)(this.getPath());try{let r=await oxe(this.getPath()),n=(0,L2.parseJsonMap)(await si.fs.promises.readFile(this.getPath(),"utf8"),this.getPath());this.logAndMergeContents(r,n)}catch(r){this.handleWriteError(r)}return await t.writeAndUnlock(JSON.stringify(this.getContents(),null,2)),this.getContents()}writeSync(){let t=(0,N2.lockInitSync)(this.getPath());try{let r=sxe(this.getPath()),n=(0,L2.parseJsonMap)(si.fs.readFileSync(this.getPath(),"utf8"),this.getPath());this.logAndMergeContents(r,n)}catch(r){this.handleWriteError(r)}return t.writeAndUnlock(JSON.stringify(this.getContents(),null,2)),this.getContents()}async exists(){return this.access(GB.constants.R_OK)}existsSync(){return this.accessSync(GB.constants.R_OK)}async stat(){return si.fs.promises.stat(this.getPath())}statSync(){return si.fs.statSync(this.getPath())}async unlink(){if(await this.exists())return si.fs.promises.unlink(this.getPath());throw new k2.SfError(`Target file doesn't exist. path: ${this.getPath()}`,"TargetFileNotFound")}unlinkSync(){if(this.existsSync())return si.fs.unlinkSync(this.getPath());throw new k2.SfError(`Target file doesn't exist. path: ${this.getPath()}`,"TargetFileNotFound")}getPath(){if(!this.path){if(!this.options.filename)throw new k2.SfError("The ConfigOptions filename parameter is invalid.","InvalidParameter");let t=this.options.rootFolder?this.options.rootFolder:e.resolveRootFolderSync(!!this.options.isGlobal);(this.options.isGlobal===!0||this.options.isState===!0)&&(t=(0,HB.join)(t,this.options.stateFolder??JB.Global.SFDX_STATE_FOLDER)),this.path=(0,HB.join)(t,this.options.filePath?this.options.filePath:"",this.options.filename)}return this.path}isGlobal(){return!!this.options.isGlobal}async init(){await super.init(),await this.read(this.options.throwOnNotFound)}logAndMergeContents(t,r){this.logger.debug(`Existing file contents on filesystem (timestamp: ${t.toString()}`,r),this.logger.debug("Contents in configFile in-memory",this.getContents());let n=(0,axe.stateFromContents)(r,t);this.contents.merge(n),this.logger.debug("Result from merge",this.getContents())}handleWriteError(t){if(t instanceof Error&&t.message.includes("ENOENT"))this.logger.debug(`No file found at ${this.getPath()}. Write will create it.`);else if(t instanceof Error&&t.name==="JsonParseError")this.logger.debug(`Could not parse ${this.getPath()} as JSON. Existing contents will be replaced.`);else throw t}};j2.ConfigFile=Mx;var oxe=async e=>XB(await si.fs.promises.stat(e,{bigint:!0})),sxe=e=>XB(si.fs.statSync(e,{bigint:!0})),XB=e=>"mtimeNs"in e?e.mtimeNs:BigInt(e.mtimeMs)*BigInt(1e6)});var M2=h(P2=>{"use strict";Object.defineProperty(P2,"__esModule",{value:!0});P2.TTLConfig=void 0;var lxe=nu(),Rx=class extends lxe.ConfigFile{set(t,r){super.set(t,this.timestamp(r))}getLatestEntry(){let r=this.entries().sort(([,n],[,i])=>new Date(i.timestamp).getTime()-new Date(n.timestamp).getTime());return r.length>0?r[0]:null}getLatestKey(){let[t]=this.getLatestEntry()??[null];return t}isExpired(t,r){return t-new Date(r.timestamp).getTime()>this.options.ttl.milliseconds}async init(){this.hasEncryption()&&await this.initCrypto();let t=await this.read(this.options.throwOnNotFound),r=new Date().getTime();Object.entries(t).filter(([,n])=>this.isExpired(r,n)).map(([n])=>this.unset(n))}timestamp(t){return{...t,timestamp:new Date().toISOString()}}};P2.TTLConfig=Rx});var YB=h(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.lowerCase=Rf.localeLowerCase=void 0;var cxe={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},az:{regexp:/\u0130/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i\u0307",J:"j\u0307",\u012E:"\u012F\u0307",\u00CC:"i\u0307\u0300",\u00CD:"i\u0307\u0301",\u0128:"i\u0307\u0303"}}};function uxe(e,t){var r=cxe[t.toLowerCase()];return Fx(r?e.replace(r.regexp,function(n){return r.map[n]}):e)}Rf.localeLowerCase=uxe;function Fx(e){return e.toLowerCase()}Rf.lowerCase=Fx});var Ud=h(R2=>{"use strict";Object.defineProperty(R2,"__esModule",{value:!0});R2.noCase=void 0;var dxe=YB(),pxe=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],fxe=/[^A-Z0-9]+/gi;function mxe(e,t){t===void 0&&(t={});for(var r=t.splitRegexp,n=r===void 0?pxe:r,i=t.stripRegexp,a=i===void 0?fxe:i,o=t.transform,s=o===void 0?dxe.lowerCase:o,l=t.delimiter,c=l===void 0?" ":l,u=QB(QB(e,n,"$1\0$2"),a,"\0"),d=0,f=u.length;u.charAt(d)==="\0";)d++;for(;u.charAt(f-1)==="\0";)f--;return u.slice(d,f).split("\0").map(s).join(c)}R2.noCase=mxe;function QB(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(n,i){return n.replace(i,r)},e)}});var $x=h(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.pascalCase=iu.pascalCaseTransformMerge=iu.pascalCaseTransform=void 0;var hxe=(ai(),Oi(ii)),gxe=Ud();function eV(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}iu.pascalCaseTransform=eV;function yxe(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}iu.pascalCaseTransformMerge=yxe;function bxe(e,t){return t===void 0&&(t={}),gxe.noCase(e,hxe.__assign({delimiter:"",transform:eV},t))}iu.pascalCase=bxe});var rV=h(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.camelCase=au.camelCaseTransformMerge=au.camelCaseTransform=void 0;var vxe=(ai(),Oi(ii)),Ux=$x();function tV(e,t){return t===0?e.toLowerCase():Ux.pascalCaseTransform(e,t)}au.camelCaseTransform=tV;function _xe(e,t){return t===0?e.toLowerCase():Ux.pascalCaseTransformMerge(e)}au.camelCaseTransformMerge=_xe;function wxe(e,t){return t===void 0&&(t={}),Ux.pascalCase(e,vxe.__assign({transform:tV},t))}au.camelCase=wxe});var zx=h(F2=>{"use strict";Object.defineProperty(F2,"__esModule",{value:!0});F2.upperCaseFirst=void 0;function Sxe(e){return e.charAt(0).toUpperCase()+e.substr(1)}F2.upperCaseFirst=Sxe});var qx=h(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.capitalCase=Ff.capitalCaseTransform=void 0;var Exe=(ai(),Oi(ii)),xxe=Ud(),Oxe=zx();function nV(e){return Oxe.upperCaseFirst(e.toLowerCase())}Ff.capitalCaseTransform=nV;function Cxe(e,t){return t===void 0&&(t={}),xxe.noCase(e,Exe.__assign({delimiter:" ",transform:nV},t))}Ff.capitalCase=Cxe});var iV=h($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.upperCase=$f.localeUpperCase=void 0;var Txe={tr:{regexp:/[\u0069]/g,map:{i:"\u0130"}},az:{regexp:/[\u0069]/g,map:{i:"\u0130"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{i\u0307:"I",j\u0307:"J",\u012F\u0307:"\u012E",i\u0307\u0300:"\xCC",i\u0307\u0301:"\xCD",i\u0307\u0303:"\u0128"}}};function Ixe(e,t){var r=Txe[t.toLowerCase()];return Bx(r?e.replace(r.regexp,function(n){return r.map[n]}):e)}$f.localeUpperCase=Ixe;function Bx(e){return e.toUpperCase()}$f.upperCase=Bx});var aV=h($2=>{"use strict";Object.defineProperty($2,"__esModule",{value:!0});$2.constantCase=void 0;var Axe=(ai(),Oi(ii)),Dxe=Ud(),Lxe=iV();function kxe(e,t){return t===void 0&&(t={}),Dxe.noCase(e,Axe.__assign({delimiter:"_",transform:Lxe.upperCase},t))}$2.constantCase=kxe});var Y1=h(U2=>{"use strict";Object.defineProperty(U2,"__esModule",{value:!0});U2.dotCase=void 0;var Nxe=(ai(),Oi(ii)),jxe=Ud();function Pxe(e,t){return t===void 0&&(t={}),jxe.noCase(e,Nxe.__assign({delimiter:"."},t))}U2.dotCase=Pxe});var oV=h(z2=>{"use strict";Object.defineProperty(z2,"__esModule",{value:!0});z2.headerCase=void 0;var Mxe=(ai(),Oi(ii)),Rxe=qx();function Fxe(e,t){return t===void 0&&(t={}),Rxe.capitalCase(e,Mxe.__assign({delimiter:"-"},t))}z2.headerCase=Fxe});var sV=h(q2=>{"use strict";Object.defineProperty(q2,"__esModule",{value:!0});q2.paramCase=void 0;var $xe=(ai(),Oi(ii)),Uxe=Y1();function zxe(e,t){return t===void 0&&(t={}),Uxe.dotCase(e,$xe.__assign({delimiter:"-"},t))}q2.paramCase=zxe});var lV=h(B2=>{"use strict";Object.defineProperty(B2,"__esModule",{value:!0});B2.pathCase=void 0;var qxe=(ai(),Oi(ii)),Bxe=Y1();function Vxe(e,t){return t===void 0&&(t={}),Bxe.dotCase(e,qxe.__assign({delimiter:"/"},t))}B2.pathCase=Vxe});var uV=h(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.sentenceCase=Uf.sentenceCaseTransform=void 0;var Wxe=(ai(),Oi(ii)),Zxe=Ud(),Hxe=zx();function cV(e,t){var r=e.toLowerCase();return t===0?Hxe.upperCaseFirst(r):r}Uf.sentenceCaseTransform=cV;function Gxe(e,t){return t===void 0&&(t={}),Zxe.noCase(e,Wxe.__assign({delimiter:" ",transform:cV},t))}Uf.sentenceCase=Gxe});var dV=h(V2=>{"use strict";Object.defineProperty(V2,"__esModule",{value:!0});V2.snakeCase=void 0;var Jxe=(ai(),Oi(ii)),Kxe=Y1();function Xxe(e,t){return t===void 0&&(t={}),Kxe.dotCase(e,Jxe.__assign({delimiter:"_"},t))}V2.snakeCase=Xxe});var pV=h(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});var lo=(ai(),Oi(ii));lo.__exportStar(rV(),Fi);lo.__exportStar(qx(),Fi);lo.__exportStar(aV(),Fi);lo.__exportStar(Y1(),Fi);lo.__exportStar(oV(),Fi);lo.__exportStar(Ud(),Fi);lo.__exportStar(sV(),Fi);lo.__exportStar($x(),Fi);lo.__exportStar(lV(),Fi);lo.__exportStar(uV(),Fi);lo.__exportStar(dV(),Fi)});var H2=h(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.envVars=ya.EnvVars=ya.SUPPORTED_ENV_VARS=ya.EnvironmentVariable=void 0;var h2t=require("node:path"),W2=pV(),Yxe=He(),Qxe=bt(),fV=sn(),Q1=new Qxe.Messages("@salesforce/core","envVars",new Map([["forceOpenUrl",'Web page that opens in your browser when you connect to an org. For example, to open Lightning Experience, set to "lightning".'],["forceShowSpinner","Set to true to show a spinner animation on the command line when running asynchronous CLI commands. Default is false."],["forceSpinnerDelay","Speed of the spinner in milliseconds. Default is 60."],["httpProxy","HTTP URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy."],["httpsProxy","HTTPS URL and port of the proxy server when using Salesforce CLI behind a corporate firewall or web proxy."],["nodeExtraCaCerts",'Fully qualified path to your self-signed certificate. Will be installed after you run "sfdx update".'],["nodeTlsRejectUnauthorized","Set to 0 to allow Node.js to use the self-signed certificate in the certificate chain."],["sfdxAccessToken","Specifies an access token when using the auth:accesstoken:store command."],["sfdxApiVersion","The API version for a specific project or all projects. Default value is the API version of your Dev Hub. Overrides the apiVersion config value."],["sfdxAudienceUrl","URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you\u2019re logging into."],["sfdxCodeCoverageRequirement","Code coverage percentages that are displayed in green when you run force:apex:test:\\* with the --codecoverage parameter."],["sfdxContentType","Set to JSON so that all CLI commands output results in JSON format."],["sfdxDefaultdevhubusername","Username or alias of your default Dev Hub org. Overrides the defaultdevhubusername configuration value."],["sfdxDefaultusername","Username or alias of your default org. Overrides the defaultusername configuration value."],["sfdxDisableAutoupdate","Set to true to disable the auto-update feature of Salesforce CLI. Default value is false."],["sfdxAutoupdateDisable","Set to true to disable the auto-update feature of Salesforce CLI. Default value is false."],["sfdxDisableSourceMemberPolling","Set to true to disable polling of your org\u2019s SourceMember object when you run the force:source:push|pull commands. Default value is false."],["sfdxSourceTrackingBatchSize","Number of source-tracked file updates to batch after a deploy or retrieve. The default value is 8,000 (Windows) or 15,000 (Linux/macOS)."],["sfdxDisableTelemetry","Set to true to disable Salesforce CLI from collecting usage information, user environment information, and crash reports. Default value is false. Overrides the disableTelemetry configration variable."],["sfdxDnsTimeout","Number of seconds that the force:org:\\* commands wait for a response when checking whether an org is connected. Default value is 3."],["sfdxDomainRetry","Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom domain to resolve and become available in a scratch org. Default value is 240."],["sfdxImprovedCodeCoverage","Set to true to scope Apex test results to the classes entered during a test run when running force:apex:test:\\*."],["sfdxInstanceUrl","URL of the Salesforce instance that is hosting your org. Default value is https://login.salesforce.com. Overrides the instanceUrl configuration value."],["sfdxJsonToStdout","Set to true to send messages resulting from failed Salesforce CLI commands to stdout instead of stderr."],["sfdxDisableLogFile","Set to true to disable log file writing"],["sfdxLogLevel","Level of messages that the CLI writes to the log file. Valid values are trace, debug, info, warn, error, fatal. Default value is warn."],["sfdxLogRotationCount","The default rotation period for logs. Example '1d' will rotate logs daily (at midnight)."],["sfdxLogRotationPeriod","The number of backup rotated log files to keep. Example: '3' will have the base sf.log file, and the past 3 (period) log files."],["sfdxMaxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default value is 10,000. Overrides the maxQueryLimit configuration value."],["sfdxMdapiTempDir","Directory that contains files (in metadata format) when running certain Salesforce CLI commands, such as force:source:\\*."],["sfdxNpmRegistry","URL to a private npm server, where all packages that you publish are private."],["sfdxPrecompileEnable","Set to true to enable Apex pre-compile before the tests are run with the force:apex:test:run command. Default is false."],["sfdxProjectAutoupdateDisableForPackageCreate","Set to true to disable automatic updates to sfdx-project.json when running force:package:create."],["sfdxProjectAutoupdateDisableForPackageVersionCreate","Set to true to disable automatic updates to sfdx-project.json when running force:package:version:create."],["sfdxRestDeploy","Set to true to make Salesforce CLI use the Metadata REST API for deployments. By default, the CLI uses SOAP."],["sfdxSourceMemberPollingTimeout","Number of seconds you want the force:source:push command to keep polling the SourceMember object before the command times out."],["sfdxUseGenericUnixKeychain","(Linux and macOS only) Set to true if you want to use the generic UNIX keychain instead of the Linux libsecret library or macOS keychain."],["sfdxUseProgressBar","Set to false to disable the progress bar when running force:mdapi:deploy, force:source:deploy, or force:source:push."],["sfdxLazyLoadModules","Set to true to enable lazy loading of sfdx modules"],["sfdxS3Host","URL to S3 host"],["sfdxUpdateInstructions","Text that describes how to update sfdx"],["sfdxInstaller","Boolean indicating that the installer is running"],["sfdxEnv",'Describes if sfdx is in "demo" mode'],["sfTargetOrg","Username or alias of your default org. Overrides the target-org configuration variable."],["sfTargetDevHub","Username or alias of your default Dev Hub org. Overrides the target-dev-hub configuration variable."],["sfAccessToken","Specifies an access token when using a login command that uses access tokens."],["sfOrgApiVersion","API version for a specific project or all projects. Default value is the API version of your Dev Hub. Overrides the apiVersion configuration variable."],["sfAudienceUrl","URL that overrides the aud (audience) field used for JWT authentication so that it matches the expected value of the authorization server URL for the org you\u2019re logging into."],["sfCodeCoverageRequirement","Code coverage percentages that are displayed in green when you run the Apex test CLIcommands with the --code-coverage flag."],["sfContentType","Set to JSON so that all CLI commands output results in JSON format."],["sfDisableAutoupdate","Set to true to disable the auto-update feature of Salesforce CLI. Default value is false."],["sfAutoupdateDisable","Set to true to disable the auto-update feature of Salesforce CLI. Default value is false."],["sfDisableSourceMemberPolling","Set to true to disable polling of your org\u2019s SourceMember object when you run the commands to push and pull source. Default value is false."],["sfDisableTelemetry","Set to true to disable Salesforce CLI from collecting usage information, user environment information, and crash reports. Default value is false. Overrides the disableTelemetry configration variable."],["sfDnsTimeout","Number of seconds that the env commands wait for a response when checking whether an org is connected. Default value is 3."],["sfDomainRetry","Time, in seconds, that Salesforce CLI waits for the Lightning Experience custom domain to resolve and become available in a scratch org. Default value is 240."],["sfImprovedCodeCoverage","Set to true to scope Apex test results to the classes entered during a test run when running the Apex test commands."],["sfOrgInstanceUrl","URL of the Salesforce instance that is hosting your org. Default value is https://login.salesforce.com. Overrides the instanceUrl configuration variable."],["sfJsonToStdout","Set to true to send messages resulting from failed Salesforce CLI commands to stdout instead of stderr."],["sfDisableLogFile","Set to true to disable log file writing"],["sfLogLevel","Level of messages that the CLI writes to the log file. Valid values are trace, debug, info, warn, error, fatal. Default value is warn."],["sfLogRotationCount","The default rotation period for logs. Example '1d' will rotate logs daily (at midnight)."],["sfLogRotationPeriod","The number of backup rotated log files to keep. Example: '3' will have the base sf.log file, and the past 3 (period) log files."],["sfOrgMaxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default value is 10,000. Overrides the maxQueryLimit configuration variable."],["sfMdapiTempDir","Directory that contains files (in metadata format) when running certain Salesforce CLI commands."],["sfNpmRegistry","URL to a private npm server, where all packages that you publish are private."],["sfPrecompileEnable","Set to true to enable Apex pre-compile before the tests are run with the Apex test run command. Default is false."],["sfProjectAutoupdateDisableForPackageCreate","Set to true to disable automatic updates to sfdx-project.json when running the package create command."],["sfProjectAutoupdateDisableForPackageVersionCreate","Set to true to disable automatic updates to sfdx-project.json when running the package version create command."],["sfSourceMemberPollingTimeout","Number of seconds you want the source push command to keep polling the SourceMember object before the command times out."],["sfUseGenericUnixKeychain","(Linux and macOS only) Set to true if you want to use the generic UNIX keychain instead of the Linux libsecret library or macOS keychain."],["sfUseProgressBar","Set to false to disable the progress bar when running the metadata deploy command."],["sfLazyLoadModules","Set to true to enable lazy loading of sf modules"],["sfS3Host","URL to S3 host"],["sfUpdateInstructions","Text that describes how to update sf"],["sfInstaller","Boolean indicating that the installer is running"],["sfEnv",'Describes if sf is in "demo" mode'],["deprecatedEnv","Deprecated environment variable: %s. Please use %s instead."],["deprecatedEnvDisagreement",`Deprecated environment variable: %s. Please use %s instead.
|
||
|
||
Your environment has both variables populated, and with different values. The value from %s will be used.`],["sfCapitalizeRecordTypes","Whether record types are capitalized on scratch org creation."]])),z;(function(e){e.FORCE_OPEN_URL="FORCE_OPEN_URL",e.FORCE_SHOW_SPINNER="FORCE_SHOW_SPINNER",e.FORCE_SPINNER_DELAY="FORCE_SPINNER_DELAY",e.HTTP_PROXY="HTTP_PROXY",e.HTTPS_PROXY="HTTPS_PROXY",e.NODE_EXTRA_CA_CERTS="NODE_EXTRA_CA_CERTS",e.NODE_TLS_REJECT_UNAUTHORIZED="NODE_TLS_REJECT_UNAUTHORIZED",e.SFDX_ACCESS_TOKEN="SFDX_ACCESS_TOKEN",e.SFDX_API_VERSION="SFDX_API_VERSION",e.SFDX_AUDIENCE_URL="SFDX_AUDIENCE_URL",e.SFDX_CONTENT_TYPE="SFDX_CONTENT_TYPE",e.SFDX_DEFAULTDEVHUBUSERNAME="SFDX_DEFAULTDEVHUBUSERNAME",e.SFDX_DEFAULTUSERNAME="SFDX_DEFAULTUSERNAME",e.SFDX_DISABLE_AUTOUPDATE="SFDX_DISABLE_AUTOUPDATE",e.SFDX_AUTOUPDATE_DISABLE="SFDX_AUTOUPDATE_DISABLE",e.SFDX_DISABLE_SOURCE_MEMBER_POLLING="SFDX_DISABLE_SOURCE_MEMBER_POLLING",e.SFDX_SOURCE_TRACKING_BATCH_SIZE="SFDX_SOURCE_TRACKING_BATCH_SIZE",e.SFDX_DISABLE_TELEMETRY="SFDX_DISABLE_TELEMETRY",e.SFDX_DNS_TIMEOUT="SFDX_DNS_TIMEOUT",e.SFDX_DOMAIN_RETRY="SFDX_DOMAIN_RETRY",e.SFDX_IMPROVED_CODE_COVERAGE="SFDX_IMPROVED_CODE_COVERAGE",e.SFDX_INSTANCE_URL="SFDX_INSTANCE_URL",e.SFDX_JSON_TO_STDOUT="SFDX_JSON_TO_STDOUT",e.SFDX_DISABLE_LOG_FILE="SFDX_DISABLE_LOG_FILE",e.SFDX_LOG_LEVEL="SFDX_LOG_LEVEL",e.SFDX_LOG_ROTATION_COUNT="SFDX_LOG_ROTATION_COUNT",e.SFDX_LOG_ROTATION_PERIOD="SFDX_LOG_ROTATION_PERIOD",e.SFDX_MAX_QUERY_LIMIT="SFDX_MAX_QUERY_LIMIT",e.SFDX_MDAPI_TEMP_DIR="SFDX_MDAPI_TEMP_DIR",e.SFDX_NPM_REGISTRY="SFDX_NPM_REGISTRY",e.SFDX_PRECOMPILE_ENABLE="SFDX_PRECOMPILE_ENABLE",e.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE="SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE",e.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE="SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE",e.SFDX_REST_DEPLOY="SFDX_REST_DEPLOY",e.SFDX_SOURCE_MEMBER_POLLING_TIMEOUT="SFDX_SOURCE_MEMBER_POLLING_TIMEOUT",e.SFDX_USE_GENERIC_UNIX_KEYCHAIN="SFDX_USE_GENERIC_UNIX_KEYCHAIN",e.SFDX_USE_PROGRESS_BAR="SFDX_USE_PROGRESS_BAR",e.SFDX_LAZY_LOAD_MODULES="SFDX_LAZY_LOAD_MODULES",e.SFDX_S3_HOST="SFDX_S3_HOST",e.SFDX_UPDATE_INSTRUCTIONS="SFDX_UPDATE_INSTRUCTIONS",e.SFDX_INSTALLER="SFDX_INSTALLER",e.SFDX_ENV="SFDX_ENV",e.SF_TARGET_ORG="SF_TARGET_ORG",e.SF_TARGET_DEV_HUB="SF_TARGET_DEV_HUB",e.SF_ACCESS_TOKEN="SF_ACCESS_TOKEN",e.SF_ORG_API_VERSION="SF_ORG_API_VERSION",e.SF_AUDIENCE_URL="SF_AUDIENCE_URL",e.SF_CONTENT_TYPE="SF_CONTENT_TYPE",e.SF_DISABLE_AUTOUPDATE="SF_DISABLE_AUTOUPDATE",e.SF_AUTOUPDATE_DISABLE="SF_AUTOUPDATE_DISABLE",e.SF_DISABLE_SOURCE_MEMBER_POLLING="SF_DISABLE_SOURCE_MEMBER_POLLING",e.SF_DISABLE_TELEMETRY="SF_DISABLE_TELEMETRY",e.SF_DNS_TIMEOUT="SF_DNS_TIMEOUT",e.SF_DOMAIN_RETRY="SF_DOMAIN_RETRY",e.SF_IMPROVED_CODE_COVERAGE="SF_IMPROVED_CODE_COVERAGE",e.SF_ORG_INSTANCE_URL="SF_ORG_INSTANCE_URL",e.SF_JSON_TO_STDOUT="SF_JSON_TO_STDOUT",e.SF_DISABLE_LOG_FILE="SF_DISABLE_LOG_FILE",e.SF_LOG_LEVEL="SF_LOG_LEVEL",e.SF_LOG_ROTATION_COUNT="SF_LOG_ROTATION_COUNT",e.SF_LOG_ROTATION_PERIOD="SF_LOG_ROTATION_PERIOD",e.SF_ORG_MAX_QUERY_LIMIT="SF_ORG_MAX_QUERY_LIMIT",e.SF_MDAPI_TEMP_DIR="SF_MDAPI_TEMP_DIR",e.SF_NPM_REGISTRY="SF_NPM_REGISTRY",e.SF_PRECOMPILE_ENABLE="SF_PRECOMPILE_ENABLE",e.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE="SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE",e.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE="SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE",e.SF_SOURCE_MEMBER_POLLING_TIMEOUT="SF_SOURCE_MEMBER_POLLING_TIMEOUT",e.SF_SOURCE_TRACKING_BATCH_SIZE="SF_SOURCE_TRACKING_BATCH_SIZE",e.SF_USE_GENERIC_UNIX_KEYCHAIN="SF_USE_GENERIC_UNIX_KEYCHAIN",e.SF_USE_PROGRESS_BAR="SF_USE_PROGRESS_BAR",e.SF_LAZY_LOAD_MODULES="SF_LAZY_LOAD_MODULES",e.SF_S3_HOST="SF_S3_HOST",e.SF_UPDATE_INSTRUCTIONS="SF_UPDATE_INSTRUCTIONS",e.SF_INSTALLER="SF_INSTALLER",e.SF_ENV="SF_ENV",e.SF_CAPITALIZE_RECORD_TYPES="SF_CAPITALIZE_RECORD_TYPES"})(z||(ya.EnvironmentVariable=z={}));var pe=e=>Q1.getMessage((0,W2.camelCase)(e));ya.SUPPORTED_ENV_VARS={[z.FORCE_SHOW_SPINNER]:{description:pe(z.FORCE_SHOW_SPINNER),synonymOf:null},[z.FORCE_SPINNER_DELAY]:{description:pe(z.FORCE_SPINNER_DELAY),synonymOf:null},[z.FORCE_OPEN_URL]:{description:pe(z.FORCE_OPEN_URL),synonymOf:null},[z.HTTP_PROXY]:{description:pe(z.HTTP_PROXY),synonymOf:null},[z.HTTPS_PROXY]:{description:pe(z.HTTPS_PROXY),synonymOf:null},[z.NODE_EXTRA_CA_CERTS]:{description:pe(z.NODE_EXTRA_CA_CERTS),synonymOf:null},[z.NODE_TLS_REJECT_UNAUTHORIZED]:{description:pe(z.NODE_TLS_REJECT_UNAUTHORIZED),synonymOf:null},[z.SFDX_ACCESS_TOKEN]:{description:pe(z.SFDX_ACCESS_TOKEN),synonymOf:z.SF_ACCESS_TOKEN},[z.SFDX_API_VERSION]:{description:pe(z.SFDX_API_VERSION),synonymOf:z.SF_ORG_API_VERSION},[z.SFDX_AUDIENCE_URL]:{description:pe(z.SFDX_AUDIENCE_URL),synonymOf:z.SF_AUDIENCE_URL},[z.SFDX_CONTENT_TYPE]:{description:pe(z.SFDX_CONTENT_TYPE),synonymOf:z.SF_CONTENT_TYPE},[z.SFDX_DEFAULTDEVHUBUSERNAME]:{description:pe(z.SFDX_DEFAULTDEVHUBUSERNAME),synonymOf:z.SF_TARGET_DEV_HUB},[z.SFDX_DEFAULTUSERNAME]:{description:pe(z.SFDX_DEFAULTUSERNAME),synonymOf:z.SF_TARGET_ORG},[z.SFDX_DISABLE_AUTOUPDATE]:{description:pe(z.SFDX_DISABLE_AUTOUPDATE),synonymOf:z.SF_DISABLE_AUTOUPDATE},[z.SFDX_AUTOUPDATE_DISABLE]:{description:pe(z.SFDX_AUTOUPDATE_DISABLE),synonymOf:z.SF_AUTOUPDATE_DISABLE},[z.SFDX_DISABLE_SOURCE_MEMBER_POLLING]:{description:pe(z.SFDX_DISABLE_SOURCE_MEMBER_POLLING),synonymOf:z.SF_DISABLE_SOURCE_MEMBER_POLLING},[z.SFDX_SOURCE_TRACKING_BATCH_SIZE]:{description:pe(z.SFDX_SOURCE_TRACKING_BATCH_SIZE),synonymOf:z.SF_SOURCE_TRACKING_BATCH_SIZE},[z.SFDX_DISABLE_TELEMETRY]:{description:pe(z.SFDX_DISABLE_TELEMETRY),synonymOf:z.SF_DISABLE_TELEMETRY},[z.SFDX_DNS_TIMEOUT]:{description:pe(z.SFDX_DNS_TIMEOUT),synonymOf:z.SF_DNS_TIMEOUT},[z.SFDX_DOMAIN_RETRY]:{description:pe(z.SFDX_DOMAIN_RETRY),synonymOf:z.SF_DOMAIN_RETRY},[z.SFDX_IMPROVED_CODE_COVERAGE]:{description:pe(z.SFDX_IMPROVED_CODE_COVERAGE),synonymOf:z.SF_IMPROVED_CODE_COVERAGE},[z.SFDX_INSTANCE_URL]:{description:pe(z.SFDX_INSTANCE_URL),synonymOf:z.SF_ORG_INSTANCE_URL},[z.SFDX_JSON_TO_STDOUT]:{description:pe(z.SFDX_JSON_TO_STDOUT),synonymOf:z.SF_JSON_TO_STDOUT},[z.SFDX_DISABLE_LOG_FILE]:{description:pe(z.SFDX_DISABLE_LOG_FILE),synonymOf:z.SF_DISABLE_LOG_FILE},[z.SFDX_LOG_LEVEL]:{description:pe(z.SFDX_LOG_LEVEL),synonymOf:z.SF_LOG_LEVEL},[z.SFDX_LOG_ROTATION_COUNT]:{description:pe(z.SFDX_LOG_ROTATION_COUNT),synonymOf:z.SF_LOG_ROTATION_COUNT},[z.SFDX_LOG_ROTATION_PERIOD]:{description:pe(z.SFDX_LOG_ROTATION_PERIOD),synonymOf:z.SF_LOG_ROTATION_PERIOD},[z.SFDX_MAX_QUERY_LIMIT]:{description:pe(z.SFDX_MAX_QUERY_LIMIT),synonymOf:z.SF_ORG_MAX_QUERY_LIMIT},[z.SFDX_MDAPI_TEMP_DIR]:{description:pe(z.SFDX_MDAPI_TEMP_DIR),synonymOf:z.SF_MDAPI_TEMP_DIR},[z.SFDX_NPM_REGISTRY]:{description:pe(z.SFDX_NPM_REGISTRY),synonymOf:z.SF_NPM_REGISTRY},[z.SFDX_PRECOMPILE_ENABLE]:{description:pe(z.SFDX_PRECOMPILE_ENABLE),synonymOf:z.SF_PRECOMPILE_ENABLE},[z.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE]:{description:pe(z.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE),synonymOf:z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE},[z.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE]:{description:Q1.getMessage((0,W2.camelCase)(z.SFDX_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE)),synonymOf:z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE},[z.SFDX_REST_DEPLOY]:{description:pe(z.SFDX_REST_DEPLOY),synonymOf:"SF_ORG_METADATA_REST_DEPLOY"},[z.SFDX_SOURCE_MEMBER_POLLING_TIMEOUT]:{description:pe(z.SFDX_SOURCE_MEMBER_POLLING_TIMEOUT),synonymOf:z.SF_SOURCE_MEMBER_POLLING_TIMEOUT},[z.SFDX_USE_GENERIC_UNIX_KEYCHAIN]:{description:pe(z.SFDX_USE_GENERIC_UNIX_KEYCHAIN),synonymOf:z.SF_USE_GENERIC_UNIX_KEYCHAIN},[z.SFDX_USE_PROGRESS_BAR]:{description:pe(z.SFDX_USE_PROGRESS_BAR),synonymOf:z.SF_USE_PROGRESS_BAR},[z.SFDX_LAZY_LOAD_MODULES]:{description:pe(z.SFDX_USE_PROGRESS_BAR),synonymOf:z.SF_LAZY_LOAD_MODULES},[z.SFDX_S3_HOST]:{description:pe(z.SFDX_S3_HOST),synonymOf:z.SF_S3_HOST},[z.SFDX_UPDATE_INSTRUCTIONS]:{description:pe(z.SFDX_UPDATE_INSTRUCTIONS),synonymOf:null},[z.SFDX_INSTALLER]:{description:pe(z.SFDX_INSTALLER),synonymOf:null},[z.SFDX_ENV]:{description:pe(z.SFDX_ENV),synonymOf:null},[z.SF_TARGET_ORG]:{description:pe(z.SF_TARGET_ORG),synonymOf:null},[z.SF_TARGET_DEV_HUB]:{description:pe(z.SF_TARGET_DEV_HUB),synonymOf:null},[z.SF_ACCESS_TOKEN]:{description:pe(z.SF_ACCESS_TOKEN),synonymOf:null},[z.SF_ORG_API_VERSION]:{description:pe(z.SF_ORG_API_VERSION),synonymOf:null},[z.SF_AUDIENCE_URL]:{description:pe(z.SF_AUDIENCE_URL),synonymOf:null},[z.SF_CONTENT_TYPE]:{description:pe(z.SF_CONTENT_TYPE),synonymOf:null},[z.SF_DISABLE_AUTOUPDATE]:{description:pe(z.SF_DISABLE_AUTOUPDATE),synonymOf:null},[z.SF_AUTOUPDATE_DISABLE]:{description:pe(z.SF_AUTOUPDATE_DISABLE),synonymOf:null},[z.SF_DISABLE_SOURCE_MEMBER_POLLING]:{description:pe(z.SF_DISABLE_SOURCE_MEMBER_POLLING),synonymOf:null},[z.SF_SOURCE_TRACKING_BATCH_SIZE]:{description:pe(z.SFDX_SOURCE_TRACKING_BATCH_SIZE),synonymOf:null},[z.SF_DISABLE_TELEMETRY]:{description:pe(z.SF_DISABLE_TELEMETRY),synonymOf:null},[z.SF_DNS_TIMEOUT]:{description:pe(z.SF_DNS_TIMEOUT),synonymOf:null},[z.SF_DOMAIN_RETRY]:{description:pe(z.SF_DOMAIN_RETRY),synonymOf:null},[z.SF_IMPROVED_CODE_COVERAGE]:{description:pe(z.SF_IMPROVED_CODE_COVERAGE),synonymOf:null},[z.SF_ORG_INSTANCE_URL]:{description:pe(z.SF_ORG_INSTANCE_URL),synonymOf:null},[z.SF_JSON_TO_STDOUT]:{description:pe(z.SF_JSON_TO_STDOUT),synonymOf:null},[z.SF_DISABLE_LOG_FILE]:{description:pe(z.SF_DISABLE_LOG_FILE),synonymOf:null},[z.SF_LOG_LEVEL]:{description:pe(z.SF_LOG_LEVEL),synonymOf:null},[z.SF_LOG_ROTATION_COUNT]:{description:pe(z.SF_LOG_ROTATION_COUNT),synonymOf:null},[z.SF_LOG_ROTATION_PERIOD]:{description:pe(z.SF_LOG_ROTATION_PERIOD),synonymOf:null},[z.SF_ORG_MAX_QUERY_LIMIT]:{description:pe(z.SF_ORG_MAX_QUERY_LIMIT),synonymOf:null},[z.SF_MDAPI_TEMP_DIR]:{description:pe(z.SF_MDAPI_TEMP_DIR),synonymOf:null},[z.SF_NPM_REGISTRY]:{description:pe(z.SF_NPM_REGISTRY),synonymOf:null},[z.SF_PRECOMPILE_ENABLE]:{description:pe(z.SF_PRECOMPILE_ENABLE),synonymOf:null},[z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE]:{description:pe(z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_CREATE),synonymOf:null},[z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE]:{description:Q1.getMessage((0,W2.camelCase)(z.SF_PROJECT_AUTOUPDATE_DISABLE_FOR_PACKAGE_VERSION_CREATE)),synonymOf:null},[z.SF_SOURCE_MEMBER_POLLING_TIMEOUT]:{description:pe(z.SF_SOURCE_MEMBER_POLLING_TIMEOUT),synonymOf:null},[z.SF_USE_GENERIC_UNIX_KEYCHAIN]:{description:pe(z.SF_USE_GENERIC_UNIX_KEYCHAIN),synonymOf:null},[z.SF_USE_PROGRESS_BAR]:{description:pe(z.SF_USE_PROGRESS_BAR),synonymOf:null},[z.SF_LAZY_LOAD_MODULES]:{description:pe(z.SF_LAZY_LOAD_MODULES),synonymOf:null},[z.SF_S3_HOST]:{description:pe(z.SF_S3_HOST),synonymOf:null},[z.SF_UPDATE_INSTRUCTIONS]:{description:pe(z.SF_UPDATE_INSTRUCTIONS),synonymOf:null},[z.SF_INSTALLER]:{description:pe(z.SF_INSTALLER),synonymOf:null},[z.SF_ENV]:{description:pe(z.SF_ENV),synonymOf:null},[z.SF_CAPITALIZE_RECORD_TYPES]:{description:pe(z.SF_CAPITALIZE_RECORD_TYPES),synonymOf:null}};var Z2=class e extends Yxe.Env{constructor(t=process.env){super(t),this.resolve()}static propertyToEnvName(t,r=e.defaultPrefix()){return`${r||""}${(0,W2.snakeCase)(t).toUpperCase()}`}static defaultPrefix(){return"SF_"}getPropertyFromEnv(t,r=e.defaultPrefix()){let n=e.propertyToEnvName(t,r);return this.get(n)}asDictionary(){return Object.fromEntries(this.entries())}asMap(){return new Map(this.entries())}resolve(){let t=new Map;this.entries().forEach(([r,n])=>{if(ya.SUPPORTED_ENV_VARS[r]?.synonymOf){let i=ya.SUPPORTED_ENV_VARS[r].synonymOf;if(i){let a=this.getString(i);a?a!==n&&(fV.Lifecycle.getInstance().emitWarning(Q1.getMessage("deprecatedEnvDisagreement",[r,i,i])),t.set(r,a??n)):(fV.Lifecycle.getInstance().emitWarning(Q1.getMessage("deprecatedEnv",[r,i])),t.set(i,n))}}}),t.forEach((r,n)=>{this.setString(n,r)})}get(t){return this.asMap().get(t)}};ya.EnvVars=Z2;ya.envVars=new Z2});var J2=h(G2=>{"use strict";Object.defineProperty(G2,"__esModule",{value:!0});G2.Mutex=void 0;var Vx=class{mutex=Promise.resolve();async lock(t){let r=await this.acquire();try{return await t()}finally{r()}}async acquire(){let t,r=new Promise(i=>{t=i}),n=this.mutex;return this.mutex=this.mutex.then(()=>r),await n,t}};G2.Mutex=Vx});var yV=h(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.getFileLocation=li.AliasAccessor=li.FILENAME=li.DEFAULT_GROUP=void 0;var gV=require("node:path"),eOe=require("node:os"),mV=He(),Wx=Rr(),tOe=Cr(),rOe=wt(),K2=i2();li.DEFAULT_GROUP="orgs";li.FILENAME="alias.json";var Zx=class extends mV.AsyncOptionalCreatable{fileLocation;aliasStore;getAll(t){if(t){let r=hV(t);return Array.from(this.aliasStore.entries()).filter(([,n])=>r===n).map(([n])=>n)}else return Object.fromEntries(this.aliasStore.entries())}get(t){return this.getAll(t)[0]??null}getValue(t){return this.aliasStore.get(t)??null}getUsername(t){return this.aliasStore.get(t)??null}resolveUsername(t){return this.getUsername(t)??t}resolveAlias(t){return this.aliasStore.has(t)?t:Array.from(this.aliasStore.entries()).find(([,r])=>r===t)?.[0]}async setAndSave(t,r){let n=await(0,K2.lockInit)(this.fileLocation);return await this.readFileToAliasStore(),this.aliasStore.set(t,hV(r)),n.writeAndUnlock(X2(this.aliasStore))}async unsetAndSave(t){let r=await(0,K2.lockInit)(this.fileLocation);return await this.readFileToAliasStore(!1),this.aliasStore.delete(t),r.writeAndUnlock(X2(this.aliasStore))}async unsetValuesAndSave(t){let r=await(0,K2.lockInit)(this.fileLocation);return await this.readFileToAliasStore(!1),(0,mV.ensureArray)(t).flatMap(n=>this.getAll(n)).map(n=>this.aliasStore.delete(n)),r.writeAndUnlock(X2(this.aliasStore))}has(t){return this.aliasStore.has(t)}async init(){this.fileLocation=(0,li.getFileLocation)(),await this.readFileToAliasStore()}async readFileToAliasStore(t=!1){let r=t?await(0,K2.lockInit)(this.fileLocation):void 0;try{if(this.aliasStore=nOe(await Wx.fs.promises.readFile(this.fileLocation,"utf-8")),r)return await r.unlock()}catch(n){if(n instanceof Error&&"code"in n&&typeof n.code=="string"&&["ENOENT","ENOTDIR"].includes(n.code))return await Wx.fs.promises.mkdir((0,gV.dirname)(this.fileLocation),{recursive:!0}),this.aliasStore=new Map,await Wx.fs.promises.writeFile(this.fileLocation,X2(this.aliasStore)),r?await r.unlock():void 0;throw r&&await r.unlock(),n}}};li.AliasAccessor=Zx;var hV=e=>{if(typeof e=="string")return e;let{username:t}=e;if(!t)throw new rOe.SfError(`Invalid aliasee, it must contain a user or username property: ${JSON.stringify(e)}`);return t},nOe=e=>{let t=JSON.parse(e);return new Map(Object.entries(t[li.DEFAULT_GROUP]??{}))},X2=e=>JSON.stringify({[li.DEFAULT_GROUP]:Object.fromEntries(Array.from(e.entries()))}),iOe=()=>(0,gV.join)((0,eOe.homedir)(),tOe.Global.SFDX_STATE_FOLDER,li.FILENAME);li.getFileLocation=iOe});var bV=h(Y2=>{"use strict";Object.defineProperty(Y2,"__esModule",{value:!0});Y2.AuthInfoConfig=void 0;var aOe=nu(),Hx=class extends aOe.ConfigFile{static encryptedKeys=[/token/i,/password/i,/secret/i];static getOptions(t){return{isGlobal:!0,isState:!0,filename:`${t}.json`}}};Y2.AuthInfoConfig=Hx});var Jx=h(ba=>{"use strict";var oOe=ba&&ba.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),sOe=ba&&ba.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),lOe=ba&&ba.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&oOe(t,e,r);return sOe(t,e),t};Object.defineProperty(ba,"__esModule",{value:!0});ba.OrgAccessor=ba.BaseOrgAccessor=void 0;var cOe=lOe(require("node:path")),uOe=Ke(),vV=He(),_V=Rr(),wV=bV(),SV=Cr(),dOe=yt(),pOe=bt(),fOe=sn(),EV=wt();function mOe(e,t){let r=[];for(let n=0,i=e.length;n<i;n+=t)r.push(e.slice(n,n+t));return r}var Q2=class extends vV.AsyncOptionalCreatable{configs=new Map;contents=new Map;logger;async read(t,r=!1,n=!0){try{let i=await this.initAuthFile(t,n);return this.configs.set(t,i),this.get(t,r)}catch(i){let a=EV.SfError.wrap(i);if(["JsonParseError","GenericKeychainInvalidPermsError"].includes(a.name))throw i;return this.logger.debug(`Error when reading auth file for user: ${t} due to: ${a.name}:${a.message}`),null}}async readAll(t=!1){let r=mOe(await this.getAllFiles(),50);for(let n of r){let i=n.map(async a=>{let o=this.parseUsername(a);try{let s=await this.initAuthFile(o);this.configs.set(o,s)}catch(s){let l=EV.SfError.wrap(s),c=`The auth file for ${o} is invalid.`;l.message&&(c+=` Due to: ${l.message}`),await fOe.Lifecycle.getInstance().emitWarning(c),this.logger.debug(`Error when reading auth file for user: ${o} due to: ${l.name}:${l.message}`)}});await Promise.all(i)}return this.getAll(t)}get(t,r=!1,n=!1){let i=this.configs.get(t);if(n&&i?.keys().length===0)throw new pOe.Messages("@salesforce/core","core",new Map([["authInfoCreationError","Must pass a username and/or OAuth options when creating an AuthInfo instance."],["authInfoOverwriteError","Cannot create an AuthInfo instance that will overwrite existing auth data."],["authInfoOverwriteError.actions",["Create the AuthInfo instance using existing auth data by just passing the username. E.g., `AuthInfo.create({ username: 'my@user.org' });`."]],["authCodeExchangeError","Error authenticating with auth code due to: %s"],["authCodeUsernameRetrievalError",`Could not retrieve the username after successful auth code exchange.
|
||
|
||
Due to: %s`],["jwtAuthError","Error authenticating with JWT config due to: %s"],["jwtAuthErrors",`Error authenticating with JWT.
|
||
Errors encountered:
|
||
%s`],["refreshTokenAuthError","Error authenticating with the refresh token due to: %s"],["invalidSfdxAuthUrlError",`Invalid SFDX authorization URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the "instanceUrl" inside the SFDX authorization URL doesn\\'t include the protocol ("https://"). Run "org display --target-org" on an org to see an example of an SFDX authorization URL.`],["orgDataNotAvailableError","An attempt to refresh the authentication token failed with a 'Data Not Found Error'. The org identified by username %s does not appear to exist. Likely cause is that the org was deleted by another user or has expired."],["orgDataNotAvailableError.actions",["Run `sfdx force:org:list --clean` to remove stale org authentications.","Use `sfdx force:config:set` to update the defaultusername.","Use `sfdx force:org:create` to create a new org.","Use `sfdx auth` to authenticate an existing org."]],["namedOrgNotFound","No authorization information found for %s."],["noAliasesFound","Nothing to set."],["invalidFormat","Setting aliases must be in the format <key>=<value> but found: [%s]."],["invalidJsonCasing",'All JSON input must have heads down camelcase keys. E.g., `{ sfdcLoginUrl: "https://login.salesforce.com" }`\nFound "%s" at %s'],["missingClientId","Client ID is required for JWT authentication."]])).createError("namedOrgNotFound",[t]);return i&&this.contents.set(t,i.getContents(r)),this.contents.get(t)}getAll(t=!1){return[...this.configs.keys()].map(r=>this.get(r,t)).filter(r=>!(0,vV.isEmpty)(r))}has(t){return this.contents.has(t)}async exists(t){let r=this.configs.get(t);return r?r.exists():!1}async stat(t){let r=this.configs.get(t);return r?r.stat():null}async hasFile(t){try{return await _V.fs.promises.access(this.parseFilename(t)),!0}catch{return this.logger.debug(`No auth file found for ${t}`),!1}}async list(){return this.getAllFiles()}set(t,r){let n=this.configs.get(t);n?((0,uOe.entriesOf)(r).map(([i,a])=>n.set(i,a)),n.has("username")||n.set("username",t)):this.contents.set(t,{...r,username:r.username??t})}update(t,r){let n=this.get(t)||{},i=Object.assign({},n,r);return this.set(t,i)}async remove(t){await this.configs.get(t)?.unlink(),this.configs.delete(t),this.contents.delete(t)}async write(t){let r=this.configs.get(t);if(r)return await r.write();{let n=this.contents.get(t)??{};await this.read(t,!1,!1);let i=this.configs.get(t);if(i)return i.setContentsFromObject(n),await i.write();this.logger.debug(`Failed to write auth file for ${t}. readConfig not found.`)}}async init(){this.logger=await dOe.Logger.child(this.constructor.name)}async getAllFiles(){let t=this.getFileRegex();try{return(await _V.fs.promises.readdir(SV.Global.DIR)).filter(r=>t.test(r))}catch{return[]}}parseUsername(t){return t.replace(this.getFileExtension(),"")}parseFilename(t){return cOe.join(SV.Global.DIR,`${t}${this.getFileExtension()}`)}};ba.BaseOrgAccessor=Q2;var Gx=class extends Q2{async initAuthFile(t,r=!1){return wV.AuthInfoConfig.create({...wV.AuthInfoConfig.getOptions(t),throwOnNotFound:r})}getFileRegex(){return/^[^.][^@]*@[^.]+(\.[^.\s]+)+\.json$/}getFileExtension(){return".json"}};ba.OrgAccessor=Gx});var xV=h(tg=>{"use strict";Object.defineProperty(tg,"__esModule",{value:!0});tg.SandboxOrgConfig=void 0;var hOe=Cr(),gOe=nu(),eg=class extends gOe.ConfigFile{constructor(t){super(t)}static getOptions(t){return{isGlobal:!0,isState:!0,filename:`${t}.sandbox.json`,orgId:t,stateFolder:hOe.Global.SFDX_STATE_FOLDER}}};tg.SandboxOrgConfig=eg;(function(e){let t;(function(r){r.PROD_ORG_USERNAME="prodOrgUsername"})(t=e.Fields||(e.Fields={}))})(eg||(tg.SandboxOrgConfig=eg={}))});var CV=h(e4=>{"use strict";Object.defineProperty(e4,"__esModule",{value:!0});e4.SandboxAccessor=void 0;var OV=xV(),yOe=Jx(),Kx=class extends yOe.BaseOrgAccessor{async initAuthFile(t,r=!1){return OV.SandboxOrgConfig.create({...OV.SandboxOrgConfig.getOptions(t),throwOnNotFound:r})}getFileRegex(){return/^(00D.*?)\.sandbox\.json$/}getFileExtension(){return".sandbox.json"}};e4.SandboxAccessor=Kx});var zf=h(t4=>{"use strict";Object.defineProperty(t4,"__esModule",{value:!0});t4.StateAggregator=void 0;var bOe=He(),rg=Cr(),vOe=J2(),_Oe=yV(),wOe=Jx(),SOe=CV(),Xx=class e extends bOe.AsyncOptionalCreatable{static instanceMap=new Map;static mutex=new vOe.Mutex;aliases;orgs;sandboxes;static async getInstance(){return e.mutex.lock(async()=>(e.instanceMap.has(rg.Global.DIR)||e.instanceMap.set(rg.Global.DIR,await e.create()),e.instanceMap.get(rg.Global.DIR)))}static clearInstance(t=rg.Global.DIR){e.instanceMap.delete(t)}static async clearInstanceAsync(t=rg.Global.DIR){return e.mutex.lock(()=>{e.clearInstance(t)})}async init(){this.orgs=await wOe.OrgAccessor.create(),this.sandboxes=await SOe.SandboxAccessor.create(),this.aliases=await _Oe.AliasAccessor.create()}};t4.StateAggregator=Xx});var AV=h((x2t,IV)=>{"use strict";var Kt={};IV.exports=Kt;function TV(e){return e<0?-1:1}function EOe(e){return e%1===.5&&!(e&1)?Math.floor(e):Math.round(e)}function ou(e,t){t.unsigned||--e;let r=t.unsigned?0:-Math.pow(2,e),n=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),a=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(o,s){s||(s={});let l=+o;if(s.enforceRange){if(!Number.isFinite(l))throw new TypeError("Argument is not a finite number");if(l=TV(l)*Math.floor(Math.abs(l)),l<r||l>n)throw new TypeError("Argument is not in byte range");return l}if(!isNaN(l)&&s.clamp)return l=EOe(l),l<r&&(l=r),l>n&&(l=n),l;if(!Number.isFinite(l)||l===0)return 0;if(l=TV(l)*Math.floor(Math.abs(l)),l=l%i,!t.unsigned&&l>=a)return l-i;if(t.unsigned){if(l<0)l+=i;else if(l===-0)return 0}return l}}Kt.void=function(){};Kt.boolean=function(e){return!!e};Kt.byte=ou(8,{unsigned:!1});Kt.octet=ou(8,{unsigned:!0});Kt.short=ou(16,{unsigned:!1});Kt["unsigned short"]=ou(16,{unsigned:!0});Kt.long=ou(32,{unsigned:!1});Kt["unsigned long"]=ou(32,{unsigned:!0});Kt["long long"]=ou(32,{unsigned:!1,moduloBitLength:64});Kt["unsigned long long"]=ou(32,{unsigned:!0,moduloBitLength:64});Kt.double=function(e){let t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t};Kt["unrestricted double"]=function(e){let t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t};Kt.float=Kt.double;Kt["unrestricted float"]=Kt["unrestricted double"];Kt.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&e===null?"":String(e)};Kt.ByteString=function(e,t){let r=String(e),n;for(let i=0;(n=r.codePointAt(i))!==void 0;++i)if(n>255)throw new TypeError("Argument is not a valid bytestring");return r};Kt.USVString=function(e){let t=String(e),r=t.length,n=[];for(let i=0;i<r;++i){let a=t.charCodeAt(i);if(a<55296||a>57343)n.push(String.fromCodePoint(a));else if(56320<=a&&a<=57343)n.push(String.fromCodePoint(65533));else if(i===r-1)n.push(String.fromCodePoint(65533));else{let o=t.charCodeAt(i+1);if(56320<=o&&o<=57343){let s=a&1023,l=o&1023;n.push(String.fromCodePoint(65536+1024*s+l)),++i}else n.push(String.fromCodePoint(65533))}}return n.join("")};Kt.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e};Kt.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}});var DV=h((O2t,su)=>{"use strict";su.exports.mixin=function(t,r){let n=Object.getOwnPropertyNames(r);for(let i=0;i<n.length;++i)Object.defineProperty(t,n[i],Object.getOwnPropertyDescriptor(r,n[i]))};su.exports.wrapperSymbol=Symbol("wrapper");su.exports.implSymbol=Symbol("impl");su.exports.wrapperForImpl=function(e){return e[su.exports.wrapperSymbol]};su.exports.implForWrapper=function(e){return e[su.exports.implSymbol]}});var LV=h((C2t,xOe)=>{xOe.exports=[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1e3,1e3],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6e3],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8e3,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8e3]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9e3],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[3e4]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13e3,13e3],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43e3,43e3],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64e3,64e3],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66e3,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[12e4,12e4],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128e3,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23e3]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149e3]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32e3]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195e3,195e3],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[4e4]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918e3,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]});var RV=h((T2t,n4)=>{"use strict";var NV=require("punycode"),kV=LV(),qf={TRANSITIONAL:0,NONTRANSITIONAL:1};function jV(e){return e.split("\0").map(function(t){return t.normalize("NFC")}).join("\0")}function PV(e){for(var t=0,r=kV.length-1;t<=r;){var n=Math.floor((t+r)/2),i=kV[n];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?r=n-1:t=n+1}return null}var OOe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function MV(e){return e.replace(OOe,"_").length}function COe(e,t,r){for(var n=!1,i="",a=MV(e),o=0;o<a;++o){var s=e.codePointAt(o),l=PV(s);switch(l[1]){case"disallowed":n=!0,i+=String.fromCodePoint(s);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,l[2]);break;case"deviation":r===qf.TRANSITIONAL?i+=String.fromCodePoint.apply(String,l[2]):i+=String.fromCodePoint(s);break;case"valid":i+=String.fromCodePoint(s);break;case"disallowed_STD3_mapped":t?(n=!0,i+=String.fromCodePoint(s)):i+=String.fromCodePoint.apply(String,l[2]);break;case"disallowed_STD3_valid":t&&(n=!0),i+=String.fromCodePoint(s);break}}return{string:i,error:n}}var TOe=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function IOe(e,t){e.substr(0,4)==="xn--"&&(e=NV.toUnicode(e),t=qf.NONTRANSITIONAL);var r=!1;(jV(e)!==e||e[3]==="-"&&e[4]==="-"||e[0]==="-"||e[e.length-1]==="-"||e.indexOf(".")!==-1||e.search(TOe)===0)&&(r=!0);for(var n=MV(e),i=0;i<n;++i){var a=PV(e.codePointAt(i));if(r4===qf.TRANSITIONAL&&a[1]!=="valid"||r4===qf.NONTRANSITIONAL&&a[1]!=="valid"&&a[1]!=="deviation"){r=!0;break}}return{label:e,error:r}}function r4(e,t,r){var n=COe(e,t,r);n.string=jV(n.string);for(var i=n.string.split("."),a=0;a<i.length;++a)try{var o=IOe(i[a]);i[a]=o.label,n.error=n.error||o.error}catch{n.error=!0}return{string:i.join("."),error:n.error}}n4.exports.toASCII=function(e,t,r,n){var i=r4(e,t,r),a=i.string.split(".");if(a=a.map(function(l){try{return NV.toASCII(l)}catch{return i.error=!0,l}}),n){var o=a.slice(0,a.length-1).join(".").length;(o.length>253||o.length===0)&&(i.error=!0);for(var s=0;s<a.length;++s)if(a.length>63||a.length===0){i.error=!0;break}}return i.error?null:a.join(".")};n4.exports.toUnicode=function(e,t){var r=r4(e,t,qf.NONTRANSITIONAL);return{domain:r.string,error:r.error}};n4.exports.PROCESSING_OPTIONS=qf});var Ko=h((I2t,$i)=>{"use strict";var Bf=require("punycode"),FV=RV(),qV={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},Ge=Symbol("failure");function $V(e){return Bf.ucs2.decode(e).length}function UV(e,t){let r=e[t];return isNaN(r)?void 0:String.fromCodePoint(r)}function ng(e){return e>=48&&e<=57}function ig(e){return e>=65&&e<=90||e>=97&&e<=122}function AOe(e){return ig(e)||ng(e)}function co(e){return ng(e)||e>=65&&e<=70||e>=97&&e<=102}function zV(e){return e==="."||e.toLowerCase()==="%2e"}function DOe(e){return e=e.toLowerCase(),e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"}function LOe(e,t){return ig(e)&&(t===58||t===124)}function BV(e){return e.length===2&&ig(e.codePointAt(0))&&(e[1]===":"||e[1]==="|")}function kOe(e){return e.length===2&&ig(e.codePointAt(0))&&e[1]===":"}function NOe(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function jOe(e){return e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function Yx(e){return qV[e]!==void 0}function Ir(e){return Yx(e.scheme)}function POe(e){return qV[e]}function VV(e){let t=e.toString(16).toUpperCase();return t.length===1&&(t="0"+t),"%"+t}function MOe(e){let t=new Buffer(e),r="";for(let n=0;n<t.length;++n)r+=VV(t[n]);return r}function ROe(e){let t=new Buffer(e),r=[];for(let n=0;n<t.length;++n)t[n]!==37?r.push(t[n]):t[n]===37&&co(t[n+1])&&co(t[n+2])?(r.push(parseInt(t.slice(n+1,n+3).toString(),16)),n+=2):r.push(t[n]);return new Buffer(r).toString()}function i4(e){return e<=31||e>126}var FOe=new Set([32,34,35,60,62,63,96,123,125]);function WV(e){return i4(e)||FOe.has(e)}var $Oe=new Set([47,58,59,61,64,91,92,93,94,124]);function eO(e){return WV(e)||$Oe.has(e)}function zd(e,t){let r=String.fromCodePoint(e);return t(e)?MOe(r):r}function UOe(e){let t=10;return e.length>=2&&e.charAt(0)==="0"&&e.charAt(1).toLowerCase()==="x"?(e=e.substring(2),t=16):e.length>=2&&e.charAt(0)==="0"&&(e=e.substring(1),t=8),e===""?0:(t===10?/[^0-9]/:t===16?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?Ge:parseInt(e,t)}function zOe(e){let t=e.split(".");if(t[t.length-1]===""&&t.length>1&&t.pop(),t.length>4)return e;let r=[];for(let a of t){if(a==="")return e;let o=UOe(a);if(o===Ge)return e;r.push(o)}for(let a=0;a<r.length-1;++a)if(r[a]>255)return Ge;if(r[r.length-1]>=Math.pow(256,5-r.length))return Ge;let n=r.pop(),i=0;for(let a of r)n+=a*Math.pow(256,3-i),++i;return n}function qOe(e){let t="",r=e;for(let n=1;n<=4;++n)t=String(r%256)+t,n!==4&&(t="."+t),r=Math.floor(r/256);return t}function BOe(e){let t=[0,0,0,0,0,0,0,0],r=0,n=null,i=0;if(e=Bf.ucs2.decode(e),e[i]===58){if(e[i+1]!==58)return Ge;i+=2,++r,n=r}for(;i<e.length;){if(r===8)return Ge;if(e[i]===58){if(n!==null)return Ge;++i,++r,n=r;continue}let a=0,o=0;for(;o<4&&co(e[i]);)a=a*16+parseInt(UV(e,i),16),++i,++o;if(e[i]===46){if(o===0||(i-=o,r>6))return Ge;let s=0;for(;e[i]!==void 0;){let l=null;if(s>0)if(e[i]===46&&s<4)++i;else return Ge;if(!ng(e[i]))return Ge;for(;ng(e[i]);){let c=parseInt(UV(e,i));if(l===null)l=c;else{if(l===0)return Ge;l=l*10+c}if(l>255)return Ge;++i}t[r]=t[r]*256+l,++s,(s===2||s===4)&&++r}if(s!==4)return Ge;break}else if(e[i]===58){if(++i,e[i]===void 0)return Ge}else if(e[i]!==void 0)return Ge;t[r]=a,++r}if(n!==null){let a=r-n;for(r=7;r!==0&&a>0;){let o=t[n+a-1];t[n+a-1]=t[r],t[r]=o,--r,--a}}else if(n===null&&r!==8)return Ge;return t}function VOe(e){let t="",n=ZOe(e).idx,i=!1;for(let a=0;a<=7;++a)if(!(i&&e[a]===0)){if(i&&(i=!1),n===a){t+=a===0?"::":":",i=!0;continue}t+=e[a].toString(16),a!==7&&(t+=":")}return t}function Qx(e,t){if(e[0]==="[")return e[e.length-1]!=="]"?Ge:BOe(e.substring(1,e.length-1));if(!t)return WOe(e);let r=ROe(e),n=FV.toASCII(r,!1,FV.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(n===null||NOe(n))return Ge;let i=zOe(n);return typeof i=="number"||i===Ge?i:n}function WOe(e){if(jOe(e))return Ge;let t="",r=Bf.ucs2.decode(e);for(let n=0;n<r.length;++n)t+=zd(r[n],i4);return t}function ZOe(e){let t=null,r=1,n=null,i=0;for(let a=0;a<e.length;++a)e[a]!==0?(i>r&&(t=n,r=i),n=null,i=0):(n===null&&(n=a),++i);return i>r&&(t=n,r=i),{idx:t,len:r}}function tO(e){return typeof e=="number"?qOe(e):e instanceof Array?"["+VOe(e)+"]":e}function HOe(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function GOe(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}function ZV(e){let t=e.path;t.length!==0&&(e.scheme==="file"&&t.length===1&&KOe(t[0])||t.pop())}function HV(e){return e.username!==""||e.password!==""}function JOe(e){return e.host===null||e.host===""||e.cannotBeABaseURL||e.scheme==="file"}function KOe(e){return/^[A-Za-z]:$/.test(e)}function Xt(e,t,r,n,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=r||"utf-8",this.stateOverride=i,this.url=n,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let o=HOe(this.input);o!==this.input&&(this.parseError=!0),this.input=o}let a=GOe(this.input);for(a!==this.input&&(this.parseError=!0),this.input=a,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=Bf.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){let o=this.input[this.pointer],s=isNaN(o)?void 0:String.fromCodePoint(o),l=this["parse "+this.state](o,s);if(l){if(l===Ge){this.failure=!0;break}}else break}}Xt.prototype["parse scheme start"]=function(t,r){if(ig(t))this.buffer+=r.toLowerCase(),this.state="scheme";else if(!this.stateOverride)this.state="no scheme",--this.pointer;else return this.parseError=!0,Ge;return!0};Xt.prototype["parse scheme"]=function(t,r){if(AOe(t)||t===43||t===45||t===46)this.buffer+=r.toLowerCase();else if(t===58){if(this.stateOverride&&(Ir(this.url)&&!Yx(this.buffer)||!Ir(this.url)&&Yx(this.buffer)||(HV(this.url)||this.url.port!==null)&&this.buffer==="file"||this.url.scheme==="file"&&(this.url.host===""||this.url.host===null))||(this.url.scheme=this.buffer,this.buffer="",this.stateOverride))return!1;this.url.scheme==="file"?((this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47)&&(this.parseError=!0),this.state="file"):Ir(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme?this.state="special relative or authority":Ir(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===47?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else if(!this.stateOverride)this.buffer="",this.state="no scheme",this.pointer=-1;else return this.parseError=!0,Ge;return!0};Xt.prototype["parse no scheme"]=function(t){return this.base===null||this.base.cannotBeABaseURL&&t!==35?Ge:(this.base.cannotBeABaseURL&&t===35?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):this.base.scheme==="file"?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)};Xt.prototype["parse special relative or authority"]=function(t){return t===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0};Xt.prototype["parse path or authority"]=function(t){return t===47?this.state="authority":(this.state="path",--this.pointer),!0};Xt.prototype["parse relative"]=function(t){return this.url.scheme=this.base.scheme,isNaN(t)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):t===47?this.state="relative slash":t===63?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):t===35?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):Ir(this.url)&&t===92?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0};Xt.prototype["parse relative slash"]=function(t){return Ir(this.url)&&(t===47||t===92)?(t===92&&(this.parseError=!0),this.state="special authority ignore slashes"):t===47?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0};Xt.prototype["parse special authority slashes"]=function(t){return t===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0};Xt.prototype["parse special authority ignore slashes"]=function(t){return t!==47&&t!==92?(this.state="authority",--this.pointer):this.parseError=!0,!0};Xt.prototype["parse authority"]=function(t,r){if(t===64){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;let n=$V(this.buffer);for(let i=0;i<n;++i){let a=this.buffer.codePointAt(i);if(a===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}let o=zd(a,eO);this.passwordTokenSeenFlag?this.url.password+=o:this.url.username+=o}this.buffer=""}else if(isNaN(t)||t===47||t===63||t===35||Ir(this.url)&&t===92){if(this.atFlag&&this.buffer==="")return this.parseError=!0,Ge;this.pointer-=$V(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=r;return!0};Xt.prototype["parse hostname"]=Xt.prototype["parse host"]=function(t,r){if(this.stateOverride&&this.url.scheme==="file")--this.pointer,this.state="file host";else if(t===58&&!this.arrFlag){if(this.buffer==="")return this.parseError=!0,Ge;let n=Qx(this.buffer,Ir(this.url));if(n===Ge)return Ge;if(this.url.host=n,this.buffer="",this.state="port",this.stateOverride==="hostname")return!1}else if(isNaN(t)||t===47||t===63||t===35||Ir(this.url)&&t===92){if(--this.pointer,Ir(this.url)&&this.buffer==="")return this.parseError=!0,Ge;if(this.stateOverride&&this.buffer===""&&(HV(this.url)||this.url.port!==null))return this.parseError=!0,!1;let n=Qx(this.buffer,Ir(this.url));if(n===Ge)return Ge;if(this.url.host=n,this.buffer="",this.state="path start",this.stateOverride)return!1}else t===91?this.arrFlag=!0:t===93&&(this.arrFlag=!1),this.buffer+=r;return!0};Xt.prototype["parse port"]=function(t,r){if(ng(t))this.buffer+=r;else if(isNaN(t)||t===47||t===63||t===35||Ir(this.url)&&t===92||this.stateOverride){if(this.buffer!==""){let n=parseInt(this.buffer);if(n>Math.pow(2,16)-1)return this.parseError=!0,Ge;this.url.port=n===POe(this.url.scheme)?null:n,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}else return this.parseError=!0,Ge;return!0};var XOe=new Set([47,92,63,35]);Xt.prototype["parse file"]=function(t){return this.url.scheme="file",t===47||t===92?(t===92&&(this.parseError=!0),this.state="file slash"):this.base!==null&&this.base.scheme==="file"?isNaN(t)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):t===63?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):t===35?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1===0||!LOe(t,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!XOe.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),ZV(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0};Xt.prototype["parse file slash"]=function(t){return t===47||t===92?(t===92&&(this.parseError=!0),this.state="file host"):(this.base!==null&&this.base.scheme==="file"&&(kOe(this.base.path[0])?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0};Xt.prototype["parse file host"]=function(t,r){if(isNaN(t)||t===47||t===92||t===63||t===35)if(--this.pointer,!this.stateOverride&&BV(this.buffer))this.parseError=!0,this.state="path";else if(this.buffer===""){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let n=Qx(this.buffer,Ir(this.url));if(n===Ge)return Ge;if(n==="localhost"&&(n=""),this.url.host=n,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=r;return!0};Xt.prototype["parse path start"]=function(t){return Ir(this.url)?(t===92&&(this.parseError=!0),this.state="path",t!==47&&t!==92&&--this.pointer):!this.stateOverride&&t===63?(this.url.query="",this.state="query"):!this.stateOverride&&t===35?(this.url.fragment="",this.state="fragment"):t!==void 0&&(this.state="path",t!==47&&--this.pointer),!0};Xt.prototype["parse path"]=function(t){if(isNaN(t)||t===47||Ir(this.url)&&t===92||!this.stateOverride&&(t===63||t===35)){if(Ir(this.url)&&t===92&&(this.parseError=!0),DOe(this.buffer)?(ZV(this.url),t!==47&&!(Ir(this.url)&&t===92)&&this.url.path.push("")):zV(this.buffer)&&t!==47&&!(Ir(this.url)&&t===92)?this.url.path.push(""):zV(this.buffer)||(this.url.scheme==="file"&&this.url.path.length===0&&BV(this.buffer)&&(this.url.host!==""&&this.url.host!==null&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="",this.url.scheme==="file"&&(t===void 0||t===63||t===35))for(;this.url.path.length>1&&this.url.path[0]==="";)this.parseError=!0,this.url.path.shift();t===63&&(this.url.query="",this.state="query"),t===35&&(this.url.fragment="",this.state="fragment")}else t===37&&(!co(this.input[this.pointer+1])||!co(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=zd(t,WV);return!0};Xt.prototype["parse cannot-be-a-base-URL path"]=function(t){return t===63?(this.url.query="",this.state="query"):t===35?(this.url.fragment="",this.state="fragment"):(!isNaN(t)&&t!==37&&(this.parseError=!0),t===37&&(!co(this.input[this.pointer+1])||!co(this.input[this.pointer+2]))&&(this.parseError=!0),isNaN(t)||(this.url.path[0]=this.url.path[0]+zd(t,i4))),!0};Xt.prototype["parse query"]=function(t,r){if(isNaN(t)||!this.stateOverride&&t===35){(!Ir(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss")&&(this.encodingOverride="utf-8");let n=new Buffer(this.buffer);for(let i=0;i<n.length;++i)n[i]<33||n[i]>126||n[i]===34||n[i]===35||n[i]===60||n[i]===62?this.url.query+=VV(n[i]):this.url.query+=String.fromCodePoint(n[i]);this.buffer="",t===35&&(this.url.fragment="",this.state="fragment")}else t===37&&(!co(this.input[this.pointer+1])||!co(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=r;return!0};Xt.prototype["parse fragment"]=function(t){return isNaN(t)||(t===0?this.parseError=!0:(t===37&&(!co(this.input[this.pointer+1])||!co(this.input[this.pointer+2]))&&(this.parseError=!0),this.url.fragment+=zd(t,i4))),!0};function YOe(e,t){let r=e.scheme+":";if(e.host!==null?(r+="//",(e.username!==""||e.password!=="")&&(r+=e.username,e.password!==""&&(r+=":"+e.password),r+="@"),r+=tO(e.host),e.port!==null&&(r+=":"+e.port)):e.host===null&&e.scheme==="file"&&(r+="//"),e.cannotBeABaseURL)r+=e.path[0];else for(let n of e.path)r+="/"+n;return e.query!==null&&(r+="?"+e.query),!t&&e.fragment!==null&&(r+="#"+e.fragment),r}function QOe(e){let t=e.scheme+"://";return t+=tO(e.host),e.port!==null&&(t+=":"+e.port),t}$i.exports.serializeURL=YOe;$i.exports.serializeURLOrigin=function(e){switch(e.scheme){case"blob":try{return $i.exports.serializeURLOrigin($i.exports.parseURL(e.path[0]))}catch{return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return QOe({scheme:e.scheme,host:e.host,port:e.port});case"file":return"file://";default:return"null"}};$i.exports.basicURLParse=function(e,t){t===void 0&&(t={});let r=new Xt(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return r.failure?"failure":r.url};$i.exports.setTheUsername=function(e,t){e.username="";let r=Bf.ucs2.decode(t);for(let n=0;n<r.length;++n)e.username+=zd(r[n],eO)};$i.exports.setThePassword=function(e,t){e.password="";let r=Bf.ucs2.decode(t);for(let n=0;n<r.length;++n)e.password+=zd(r[n],eO)};$i.exports.serializeHost=tO;$i.exports.cannotHaveAUsernamePasswordPort=JOe;$i.exports.serializeInteger=function(e){return String(e)};$i.exports.parseURL=function(e,t){return t===void 0&&(t={}),$i.exports.basicURLParse(e,{baseURL:t.baseURL,encodingOverride:t.encodingOverride})}});var JV=h(GV=>{"use strict";var Yt=Ko();GV.implementation=class{constructor(t){let r=t[0],n=t[1],i=null;if(n!==void 0&&(i=Yt.basicURLParse(n),i==="failure"))throw new TypeError("Invalid base URL");let a=Yt.basicURLParse(r,{baseURL:i});if(a==="failure")throw new TypeError("Invalid URL");this._url=a}get href(){return Yt.serializeURL(this._url)}set href(t){let r=Yt.basicURLParse(t);if(r==="failure")throw new TypeError("Invalid URL");this._url=r}get origin(){return Yt.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(t){Yt.basicURLParse(t+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(t){Yt.cannotHaveAUsernamePasswordPort(this._url)||Yt.setTheUsername(this._url,t)}get password(){return this._url.password}set password(t){Yt.cannotHaveAUsernamePasswordPort(this._url)||Yt.setThePassword(this._url,t)}get host(){let t=this._url;return t.host===null?"":t.port===null?Yt.serializeHost(t.host):Yt.serializeHost(t.host)+":"+Yt.serializeInteger(t.port)}set host(t){this._url.cannotBeABaseURL||Yt.basicURLParse(t,{url:this._url,stateOverride:"host"})}get hostname(){return this._url.host===null?"":Yt.serializeHost(this._url.host)}set hostname(t){this._url.cannotBeABaseURL||Yt.basicURLParse(t,{url:this._url,stateOverride:"hostname"})}get port(){return this._url.port===null?"":Yt.serializeInteger(this._url.port)}set port(t){Yt.cannotHaveAUsernamePasswordPort(this._url)||(t===""?this._url.port=null:Yt.basicURLParse(t,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:this._url.path.length===0?"":"/"+this._url.path.join("/")}set pathname(t){this._url.cannotBeABaseURL||(this._url.path=[],Yt.basicURLParse(t,{url:this._url,stateOverride:"path start"}))}get search(){return this._url.query===null||this._url.query===""?"":"?"+this._url.query}set search(t){let r=this._url;if(t===""){r.query=null;return}let n=t[0]==="?"?t.substring(1):t;r.query="",Yt.basicURLParse(n,{url:r,stateOverride:"query"})}get hash(){return this._url.fragment===null||this._url.fragment===""?"":"#"+this._url.fragment}set hash(t){if(t===""){this._url.fragment=null;return}let r=t[0]==="#"?t.substring(1):t;this._url.fragment="",Yt.basicURLParse(r,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}});var YV=h((L2t,ag)=>{"use strict";var va=AV(),XV=DV(),KV=JV(),xt=XV.implSymbol;function zr(e){if(!this||this[xt]||!(this instanceof zr))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let t=[];for(let r=0;r<arguments.length&&r<2;++r)t[r]=arguments[r];t[0]=va.USVString(t[0]),t[1]!==void 0&&(t[1]=va.USVString(t[1])),ag.exports.setup(this,t)}zr.prototype.toJSON=function(){if(!this||!ag.exports.is(this))throw new TypeError("Illegal invocation");let t=[];for(let r=0;r<arguments.length&&r<0;++r)t[r]=arguments[r];return this[xt].toJSON.apply(this[xt],t)};Object.defineProperty(zr.prototype,"href",{get(){return this[xt].href},set(e){e=va.USVString(e),this[xt].href=e},enumerable:!0,configurable:!0});zr.prototype.toString=function(){if(!this||!ag.exports.is(this))throw new TypeError("Illegal invocation");return this.href};Object.defineProperty(zr.prototype,"origin",{get(){return this[xt].origin},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"protocol",{get(){return this[xt].protocol},set(e){e=va.USVString(e),this[xt].protocol=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"username",{get(){return this[xt].username},set(e){e=va.USVString(e),this[xt].username=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"password",{get(){return this[xt].password},set(e){e=va.USVString(e),this[xt].password=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"host",{get(){return this[xt].host},set(e){e=va.USVString(e),this[xt].host=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"hostname",{get(){return this[xt].hostname},set(e){e=va.USVString(e),this[xt].hostname=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"port",{get(){return this[xt].port},set(e){e=va.USVString(e),this[xt].port=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"pathname",{get(){return this[xt].pathname},set(e){e=va.USVString(e),this[xt].pathname=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"search",{get(){return this[xt].search},set(e){e=va.USVString(e),this[xt].search=e},enumerable:!0,configurable:!0});Object.defineProperty(zr.prototype,"hash",{get(){return this[xt].hash},set(e){e=va.USVString(e),this[xt].hash=e},enumerable:!0,configurable:!0});ag.exports={is(e){return!!e&&e[xt]instanceof KV.implementation},create(e,t){let r=Object.create(zr.prototype);return this.setup(r,e,t),r},setup(e,t,r){r||(r={}),r.wrapper=e,e[xt]=new KV.implementation(t,r),e[xt][XV.wrapperSymbol]=e},interface:zr,expose:{Window:{URL:zr},Worker:{URL:zr}}}});var QV=h(Xo=>{"use strict";Xo.URL=YV().interface;Xo.serializeURL=Ko().serializeURL;Xo.serializeURLOrigin=Ko().serializeURLOrigin;Xo.basicURLParse=Ko().basicURLParse;Xo.setTheUsername=Ko().setTheUsername;Xo.setThePassword=Ko().setThePassword;Xo.serializeHost=Ko().serializeHost;Xo.serializeInteger=Ko().serializeInteger;Xo.parseURL=Ko().parseURL});var dW=h((po,uW)=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});function Hf(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var uo=Hf(require("stream")),nW=Hf(require("http")),o4=Hf(require("url")),iW=Hf(QV()),eCe=Hf(require("https")),qd=Hf(require("zlib")),tCe=uo.Readable,Rl=Symbol("buffer"),rO=Symbol("type"),sg=class e{constructor(){this[rO]="";let t=arguments[0],r=arguments[1],n=[],i=0;if(t){let o=t,s=Number(o.length);for(let l=0;l<s;l++){let c=o[l],u;c instanceof Buffer?u=c:ArrayBuffer.isView(c)?u=Buffer.from(c.buffer,c.byteOffset,c.byteLength):c instanceof ArrayBuffer?u=Buffer.from(c):c instanceof e?u=c[Rl]:u=Buffer.from(typeof c=="string"?c:String(c)),i+=u.length,n.push(u)}}this[Rl]=Buffer.concat(n);let a=r&&r.type!==void 0&&String(r.type).toLowerCase();a&&!/[^\u0020-\u007E]/.test(a)&&(this[rO]=a)}get size(){return this[Rl].length}get type(){return this[rO]}text(){return Promise.resolve(this[Rl].toString())}arrayBuffer(){let t=this[Rl],r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);return Promise.resolve(r)}stream(){let t=new tCe;return t._read=function(){},t.push(this[Rl]),t.push(null),t}toString(){return"[object Blob]"}slice(){let t=this.size,r=arguments[0],n=arguments[1],i,a;r===void 0?i=0:r<0?i=Math.max(t+r,0):i=Math.min(r,t),n===void 0?a=t:n<0?a=Math.max(t+n,0):a=Math.min(n,t);let o=Math.max(a-i,0),l=this[Rl].slice(i,i+o),c=new e([],{type:arguments[2]});return c[Rl]=l,c}};Object.defineProperties(sg.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Object.defineProperty(sg.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0});function ln(e,t,r){Error.call(this,e),this.message=e,this.type=t,r&&(this.code=this.errno=r.code),Error.captureStackTrace(this,this.constructor)}ln.prototype=Object.create(Error.prototype);ln.prototype.constructor=ln;ln.prototype.name="FetchError";var oO;try{oO=require("encoding").convert}catch{}var $l=Symbol("Body internals"),eW=uo.PassThrough;function qr(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.size;let i=n===void 0?0:n;var a=r.timeout;let o=a===void 0?0:a;e==null?e=null:aW(e)?e=Buffer.from(e.toString()):cg(e)||Buffer.isBuffer(e)||(Object.prototype.toString.call(e)==="[object ArrayBuffer]"?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof uo||(e=Buffer.from(String(e)))),this[$l]={body:e,disturbed:!1,error:null},this.size=i,this.timeout=o,e instanceof uo&&e.on("error",function(s){let l=s.name==="AbortError"?s:new ln(`Invalid response body while trying to fetch ${t.url}: ${s.message}`,"system",s);t[$l].error=l})}qr.prototype={get body(){return this[$l].body},get bodyUsed(){return this[$l].disturbed},arrayBuffer(){return Vf.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return Vf.call(this).then(function(t){return Object.assign(new sg([],{type:e.toLowerCase()}),{[Rl]:t})})},json(){var e=this;return Vf.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(r){return qr.Promise.reject(new ln(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}})},text(){return Vf.call(this).then(function(e){return e.toString()})},buffer(){return Vf.call(this)},textConverted(){var e=this;return Vf.call(this).then(function(t){return rCe(t,e.headers)})}};Object.defineProperties(qr.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}});qr.mixIn=function(e){for(let t of Object.getOwnPropertyNames(qr.prototype))if(!(t in e)){let r=Object.getOwnPropertyDescriptor(qr.prototype,t);Object.defineProperty(e,t,r)}};function Vf(){var e=this;if(this[$l].disturbed)return qr.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[$l].disturbed=!0,this[$l].error)return qr.Promise.reject(this[$l].error);let t=this.body;if(t===null)return qr.Promise.resolve(Buffer.alloc(0));if(cg(t)&&(t=t.stream()),Buffer.isBuffer(t))return qr.Promise.resolve(t);if(!(t instanceof uo))return qr.Promise.resolve(Buffer.alloc(0));let r=[],n=0,i=!1;return new qr.Promise(function(a,o){let s;e.timeout&&(s=setTimeout(function(){i=!0,o(new ln(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)),t.on("error",function(l){l.name==="AbortError"?(i=!0,o(l)):o(new ln(`Invalid response body while trying to fetch ${e.url}: ${l.message}`,"system",l))}),t.on("data",function(l){if(!(i||l===null)){if(e.size&&n+l.length>e.size){i=!0,o(new ln(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}n+=l.length,r.push(l)}}),t.on("end",function(){if(!i){clearTimeout(s);try{a(Buffer.concat(r,n))}catch(l){o(new ln(`Could not create Buffer from response body for ${e.url}: ${l.message}`,"system",l))}}})})}function rCe(e,t){if(typeof oO!="function")throw new Error("The package `encoding` must be installed to use the textConverted() function");let r=t.get("content-type"),n="utf-8",i,a;return r&&(i=/charset=([^;]*)/i.exec(r)),a=e.slice(0,1024).toString(),!i&&a&&(i=/<meta.+?charset=(['"])(.+?)\1/i.exec(a)),!i&&a&&(i=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(a),i||(i=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(a),i&&i.pop()),i&&(i=/charset=(.*)/i.exec(i.pop()))),!i&&a&&(i=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(a)),i&&(n=i.pop(),(n==="gb2312"||n==="gbk")&&(n="gb18030")),oO(e,"UTF-8",n).toString()}function aW(e){return typeof e!="object"||typeof e.append!="function"||typeof e.delete!="function"||typeof e.get!="function"||typeof e.getAll!="function"||typeof e.has!="function"||typeof e.set!="function"?!1:e.constructor.name==="URLSearchParams"||Object.prototype.toString.call(e)==="[object URLSearchParams]"||typeof e.sort=="function"}function cg(e){return typeof e=="object"&&typeof e.arrayBuffer=="function"&&typeof e.type=="string"&&typeof e.stream=="function"&&typeof e.constructor=="function"&&typeof e.constructor.name=="string"&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function oW(e){let t,r,n=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return n instanceof uo&&typeof n.getBoundary!="function"&&(t=new eW,r=new eW,n.pipe(t),n.pipe(r),e[$l].body=t,n=r),n}function sW(e){return e===null?null:typeof e=="string"?"text/plain;charset=UTF-8":aW(e)?"application/x-www-form-urlencoded;charset=UTF-8":cg(e)?e.type||null:Buffer.isBuffer(e)||Object.prototype.toString.call(e)==="[object ArrayBuffer]"||ArrayBuffer.isView(e)?null:typeof e.getBoundary=="function"?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof uo?null:"text/plain;charset=UTF-8"}function lW(e){let t=e.body;return t===null?0:cg(t)?t.size:Buffer.isBuffer(t)?t.length:t&&typeof t.getLengthSync=="function"&&(t._lengthRetrievers&&t._lengthRetrievers.length==0||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}function nCe(e,t){let r=t.body;r===null?e.end():cg(r)?r.stream().pipe(e):Buffer.isBuffer(r)?(e.write(r),e.end()):r.pipe(e)}qr.Promise=global.Promise;var cW=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,sO=/[^\t\x20-\x7e\x80-\xff]/;function og(e){if(e=`${e}`,cW.test(e)||e==="")throw new TypeError(`${e} is not a legal HTTP header name`)}function tW(e){if(e=`${e}`,sO.test(e))throw new TypeError(`${e} is not a legal HTTP header value`)}function Wf(e,t){t=t.toLowerCase();for(let r in e)if(r.toLowerCase()===t)return r}var or=Symbol("map"),wa=class e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(this[or]=Object.create(null),t instanceof e){let r=t.raw(),n=Object.keys(r);for(let i of n)for(let a of r[i])this.append(i,a);return}if(t!=null)if(typeof t=="object"){let r=t[Symbol.iterator];if(r!=null){if(typeof r!="function")throw new TypeError("Header pairs must be iterable");let n=[];for(let i of t){if(typeof i!="object"||typeof i[Symbol.iterator]!="function")throw new TypeError("Each header pair must be iterable");n.push(Array.from(i))}for(let i of n){if(i.length!==2)throw new TypeError("Each header pair must be a name/value tuple");this.append(i[0],i[1])}}else for(let n of Object.keys(t)){let i=t[n];this.append(n,i)}}else throw new TypeError("Provided initializer must be an object")}get(t){t=`${t}`,og(t);let r=Wf(this[or],t);return r===void 0?null:this[or][r].join(", ")}forEach(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=lO(this),i=0;for(;i<n.length;){var a=n[i];let o=a[0],s=a[1];t.call(r,s,o,this),n=lO(this),i++}}set(t,r){t=`${t}`,r=`${r}`,og(t),tW(r);let n=Wf(this[or],t);this[or][n!==void 0?n:t]=[r]}append(t,r){t=`${t}`,r=`${r}`,og(t),tW(r);let n=Wf(this[or],t);n!==void 0?this[or][n].push(r):this[or][t]=[r]}has(t){return t=`${t}`,og(t),Wf(this[or],t)!==void 0}delete(t){t=`${t}`,og(t);let r=Wf(this[or],t);r!==void 0&&delete this[or][r]}raw(){return this[or]}keys(){return nO(this,"key")}values(){return nO(this,"value")}[Symbol.iterator](){return nO(this,"key+value")}};wa.prototype.entries=wa.prototype[Symbol.iterator];Object.defineProperty(wa.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(wa.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});function lO(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key+value";return Object.keys(e[or]).sort().map(t==="key"?function(n){return n.toLowerCase()}:t==="value"?function(n){return e[or][n].join(", ")}:function(n){return[n.toLowerCase(),e[or][n].join(", ")]})}var cO=Symbol("internal");function nO(e,t){let r=Object.create(uO);return r[cO]={target:e,kind:t,index:0},r}var uO=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==uO)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[cO];let t=e.target,r=e.kind,n=e.index,i=lO(t,r),a=i.length;return n>=a?{value:void 0,done:!0}:(this[cO].index=n+1,{value:i[n],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(uO,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});function iCe(e){let t=Object.assign({__proto__:null},e[or]),r=Wf(e[or],"Host");return r!==void 0&&(t[r]=t[r][0]),t}function aCe(e){let t=new wa;for(let r of Object.keys(e))if(!cW.test(r))if(Array.isArray(e[r]))for(let n of e[r])sO.test(n)||(t[or][r]===void 0?t[or][r]=[n]:t[or][r].push(n));else sO.test(e[r])||(t[or][r]=[e[r]]);return t}var lu=Symbol("Response internals"),oCe=nW.STATUS_CODES,_a=class e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};qr.call(this,t,r);let n=r.status||200,i=new wa(r.headers);if(t!=null&&!i.has("Content-Type")){let a=sW(t);a&&i.append("Content-Type",a)}this[lu]={url:r.url,status:n,statusText:r.statusText||oCe[n],headers:i,counter:r.counter}}get url(){return this[lu].url||""}get status(){return this[lu].status}get ok(){return this[lu].status>=200&&this[lu].status<300}get redirected(){return this[lu].counter>0}get statusText(){return this[lu].statusText}get headers(){return this[lu].headers}clone(){return new e(oW(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}};qr.mixIn(_a.prototype);Object.defineProperties(_a.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}});Object.defineProperty(_a.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});var Fl=Symbol("Request internals"),sCe=o4.URL||iW.URL,lCe=o4.parse,cCe=o4.format;function iO(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new sCe(e).toString()),lCe(e)}var uCe="destroy"in uo.Readable.prototype;function a4(e){return typeof e=="object"&&typeof e[Fl]=="object"}function dCe(e){let t=e&&typeof e=="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}var uu=class e{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n;a4(t)?n=iO(t.url):(t&&t.href?n=iO(t.href):n=iO(`${t}`),t={});let i=r.method||t.method||"GET";if(i=i.toUpperCase(),(r.body!=null||a4(t)&&t.body!==null)&&(i==="GET"||i==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body");let a=r.body!=null?r.body:a4(t)&&t.body!==null?oW(t):null;qr.call(this,a,{timeout:r.timeout||t.timeout||0,size:r.size||t.size||0});let o=new wa(r.headers||t.headers||{});if(a!=null&&!o.has("Content-Type")){let l=sW(a);l&&o.append("Content-Type",l)}let s=a4(t)?t.signal:null;if("signal"in r&&(s=r.signal),s!=null&&!dCe(s))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[Fl]={method:i,redirect:r.redirect||t.redirect||"follow",headers:o,parsedURL:n,signal:s},this.follow=r.follow!==void 0?r.follow:t.follow!==void 0?t.follow:20,this.compress=r.compress!==void 0?r.compress:t.compress!==void 0?t.compress:!0,this.counter=r.counter||t.counter||0,this.agent=r.agent||t.agent}get method(){return this[Fl].method}get url(){return cCe(this[Fl].parsedURL)}get headers(){return this[Fl].headers}get redirect(){return this[Fl].redirect}get signal(){return this[Fl].signal}clone(){return new e(this)}};qr.mixIn(uu.prototype);Object.defineProperty(uu.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(uu.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}});function pCe(e){let t=e[Fl].parsedURL,r=new wa(e[Fl].headers);if(r.has("Accept")||r.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof uo.Readable&&!uCe)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let n=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)&&(n="0"),e.body!=null){let a=lW(e);typeof a=="number"&&(n=String(a))}n&&r.set("Content-Length",n),r.has("User-Agent")||r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip,deflate");let i=e.agent;return typeof i=="function"&&(i=i(t)),Object.assign({},t,{method:e.method,headers:iCe(r),agent:i})}function Zf(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}Zf.prototype=Object.create(Error.prototype);Zf.prototype.constructor=Zf;Zf.prototype.name="AbortError";var lg=o4.URL||iW.URL,rW=uo.PassThrough,fCe=function(t,r){let n=new lg(r).hostname,i=new lg(t).hostname;return n===i||n[n.length-i.length-1]==="."&&n.endsWith(i)},mCe=function(t,r){let n=new lg(r).protocol,i=new lg(t).protocol;return n===i};function cu(e,t){if(!cu.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return qr.Promise=cu.Promise,new cu.Promise(function(r,n){let i=new uu(e,t),a=pCe(i),o=(a.protocol==="https:"?eCe:nW).request,s=i.signal,l=null,c=function(){let y=new Zf("The user aborted a request.");n(y),i.body&&i.body instanceof uo.Readable&&aO(i.body,y),!(!l||!l.body)&&l.body.emit("error",y)};if(s&&s.aborted){c();return}let u=function(){c(),p()},d=o(a),f;s&&s.addEventListener("abort",u);function p(){d.abort(),s&&s.removeEventListener("abort",u),clearTimeout(f)}i.timeout&&d.once("socket",function(m){f=setTimeout(function(){n(new ln(`network timeout at: ${i.url}`,"request-timeout")),p()},i.timeout)}),d.on("error",function(m){n(new ln(`request to ${i.url} failed, reason: ${m.message}`,"system",m)),l&&l.body&&aO(l.body,m),p()}),hCe(d,function(m){s&&s.aborted||l&&l.body&&aO(l.body,m)}),parseInt(process.version.substring(1))<14&&d.on("socket",function(m){m.addListener("close",function(y){let v=m.listenerCount("data")>0;if(l&&v&&!y&&!(s&&s.aborted)){let S=new Error("Premature close");S.code="ERR_STREAM_PREMATURE_CLOSE",l.body.emit("error",S)}})}),d.on("response",function(m){clearTimeout(f);let y=aCe(m.headers);if(cu.isRedirect(m.statusCode)){let _=y.get("Location"),b=null;try{b=_===null?null:new lg(_,i.url).toString()}catch{if(i.redirect!=="manual"){n(new ln(`uri requested responds with an invalid redirect URL: ${_}`,"invalid-redirect")),p();return}}switch(i.redirect){case"error":n(new ln(`uri requested responds with a redirect, redirect mode is set to error: ${i.url}`,"no-redirect")),p();return;case"manual":if(b!==null)try{y.set("Location",b)}catch(j){n(j)}break;case"follow":if(b===null)break;if(i.counter>=i.follow){n(new ln(`maximum redirect reached at: ${i.url}`,"max-redirect")),p();return}let A={headers:new wa(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:i.body,signal:i.signal,timeout:i.timeout,size:i.size};if(!fCe(i.url,b)||!mCe(i.url,b))for(let j of["authorization","www-authenticate","cookie","cookie2"])A.headers.delete(j);if(m.statusCode!==303&&i.body&&lW(i)===null){n(new ln("Cannot follow redirect with body being a readable stream","unsupported-redirect")),p();return}(m.statusCode===303||(m.statusCode===301||m.statusCode===302)&&i.method==="POST")&&(A.method="GET",A.body=void 0,A.headers.delete("content-length")),r(cu(new uu(b,A))),p();return}}m.once("end",function(){s&&s.removeEventListener("abort",u)});let v=m.pipe(new rW),S={url:i.url,status:m.statusCode,statusText:m.statusMessage,headers:y,size:i.size,timeout:i.timeout,counter:i.counter},E=y.get("Content-Encoding");if(!i.compress||i.method==="HEAD"||E===null||m.statusCode===204||m.statusCode===304){l=new _a(v,S),r(l);return}let w={flush:qd.Z_SYNC_FLUSH,finishFlush:qd.Z_SYNC_FLUSH};if(E=="gzip"||E=="x-gzip"){v=v.pipe(qd.createGunzip(w)),l=new _a(v,S),r(l);return}if(E=="deflate"||E=="x-deflate"){let _=m.pipe(new rW);_.once("data",function(b){(b[0]&15)===8?v=v.pipe(qd.createInflate()):v=v.pipe(qd.createInflateRaw()),l=new _a(v,S),r(l)}),_.on("end",function(){l||(l=new _a(v,S),r(l))});return}if(E=="br"&&typeof qd.createBrotliDecompress=="function"){v=v.pipe(qd.createBrotliDecompress()),l=new _a(v,S),r(l);return}l=new _a(v,S),r(l)}),nCe(d,i)})}function hCe(e,t){let r;e.on("socket",function(n){r=n}),e.on("response",function(n){let i=n.headers;i["transfer-encoding"]==="chunked"&&!i["content-length"]&&n.once("close",function(a){if(r&&r.listenerCount("data")>0&&!a){let s=new Error("Premature close");s.code="ERR_STREAM_PREMATURE_CLOSE",t(s)}})})}function aO(e,t){e.destroy?e.destroy(t):(e.emit("error",t),e.end())}cu.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};cu.Promise=global.Promise;uW.exports=po=cu;Object.defineProperty(po,"__esModule",{value:!0});po.default=po;po.Headers=wa;po.Request=uu;po.Response=_a;po.FetchError=ln;po.AbortError=Zf});var dO=h((N2t,pW)=>{var Gf=1e3,Jf=Gf*60,Kf=Jf*60,Bd=Kf*24,gCe=Bd*7,yCe=Bd*365.25;pW.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return bCe(e);if(r==="number"&&isFinite(e))return t.long?_Ce(e):vCe(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function bCe(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*yCe;case"weeks":case"week":case"w":return r*gCe;case"days":case"day":case"d":return r*Bd;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Kf;case"minutes":case"minute":case"mins":case"min":case"m":return r*Jf;case"seconds":case"second":case"secs":case"sec":case"s":return r*Gf;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function vCe(e){var t=Math.abs(e);return t>=Bd?Math.round(e/Bd)+"d":t>=Kf?Math.round(e/Kf)+"h":t>=Jf?Math.round(e/Jf)+"m":t>=Gf?Math.round(e/Gf)+"s":e+"ms"}function _Ce(e){var t=Math.abs(e);return t>=Bd?s4(e,t,Bd,"day"):t>=Kf?s4(e,t,Kf,"hour"):t>=Jf?s4(e,t,Jf,"minute"):t>=Gf?s4(e,t,Gf,"second"):e+" ms"}function s4(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var pO=h((j2t,fW)=>{function wCe(e){r.debug=r,r.default=r,r.coerce=l,r.disable=o,r.enable=i,r.enabled=s,r.humanize=dO(),r.destroy=c,Object.keys(e).forEach(u=>{r[u]=e[u]}),r.names=[],r.skips=[],r.formatters={};function t(u){let d=0;for(let f=0;f<u.length;f++)d=(d<<5)-d+u.charCodeAt(f),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=t;function r(u){let d,f=null,p,m;function y(...v){if(!y.enabled)return;let S=y,E=Number(new Date),w=E-(d||E);S.diff=w,S.prev=d,S.curr=E,d=E,v[0]=r.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let _=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(A,j)=>{if(A==="%%")return"%";_++;let P=r.formatters[j];if(typeof P=="function"){let T=v[_];A=P.call(S,T),v.splice(_,1),_--}return A}),r.formatArgs.call(S,v),(S.log||r.log).apply(S,v)}return y.namespace=u,y.useColors=r.useColors(),y.color=r.selectColor(u),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(p!==r.namespaces&&(p=r.namespaces,m=r.enabled(u)),m),set:v=>{f=v}}),typeof r.init=="function"&&r.init(y),y}function n(u,d){let f=r(this.namespace+(typeof d>"u"?":":d)+u);return f.log=this.log,f}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?r.skips.push(f.slice(1)):r.names.push(f)}function a(u,d){let f=0,p=0,m=-1,y=0;for(;f<u.length;)if(p<d.length&&(d[p]===u[f]||d[p]==="*"))d[p]==="*"?(m=p,y=f,p++):(f++,p++);else if(m!==-1)p=m+1,y++,f=y;else return!1;for(;p<d.length&&d[p]==="*";)p++;return p===d.length}function o(){let u=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),u}function s(u){for(let d of r.skips)if(a(u,d))return!1;for(let d of r.names)if(a(u,d))return!0;return!1}function l(u){return u instanceof Error?u.stack||u.message:u}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}fW.exports=wCe});var mW=h((ci,l4)=>{ci.formatArgs=ECe;ci.save=xCe;ci.load=OCe;ci.useColors=SCe;ci.storage=CCe();ci.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ci.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function SCe(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ECe(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+l4.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}ci.log=console.debug||console.log||(()=>{});function xCe(e){try{e?ci.storage.setItem("debug",e):ci.storage.removeItem("debug")}catch{}}function OCe(){let e;try{e=ci.storage.getItem("debug")||ci.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function CCe(){try{return localStorage}catch{}}l4.exports=pO()(ci);var{formatters:TCe}=l4.exports;TCe.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var gW=h((Br,u4)=>{var ICe=require("tty"),c4=require("util");Br.init=PCe;Br.log=kCe;Br.formatArgs=DCe;Br.save=NCe;Br.load=jCe;Br.useColors=ACe;Br.destroy=c4.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Br.colors=[6,2,3,4,5,1];try{let e=require("supports-color");e&&(e.stderr||e).level>=2&&(Br.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Br.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,a)=>a.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function ACe(){return"colors"in Br.inspectOpts?!!Br.inspectOpts.colors:ICe.isatty(process.stderr.fd)}function DCe(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),a=` ${i};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
||
`).join(`
|
||
`+a),e.push(i+"m+"+u4.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=LCe()+t+" "+e[0]}function LCe(){return Br.inspectOpts.hideDate?"":new Date().toISOString()+" "}function kCe(...e){return process.stderr.write(c4.formatWithOptions(Br.inspectOpts,...e)+`
|
||
`)}function NCe(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function jCe(){return process.env.DEBUG}function PCe(e){e.inspectOpts={};let t=Object.keys(Br.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Br.inspectOpts[t[r]]}u4.exports=pO()(Br);var{formatters:hW}=u4.exports;hW.o=function(e){return this.inspectOpts.colors=this.useColors,c4.inspect(e,this.inspectOpts).split(`
|
||
`).map(t=>t.trim()).join(" ")};hW.O=function(e){return this.inspectOpts.colors=this.useColors,c4.inspect(e,this.inspectOpts)}});var d4=h((P2t,fO)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?fO.exports=mW():fO.exports=gW()});var yW=h(mO=>{"use strict";Object.defineProperty(mO,"__esModule",{value:!0});function MCe(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(a,o)=>{a?i(a):n(o)})})}}mO.default=MCe});var _W=h((gO,vW)=>{"use strict";var bW=gO&&gO.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},RCe=require("events"),FCe=bW(d4()),$Ce=bW(yW()),ug=FCe.default("agent-base");function UCe(e){return!!e&&typeof e.addRequest=="function"}function hO(){let{stack:e}=new Error;return typeof e!="string"?!1:e.split(`
|
||
`).some(t=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function p4(e,t){return new p4.Agent(e,t)}(function(e){class t extends RCe.EventEmitter{constructor(n,i){super();let a=i;typeof n=="function"?this.callback=n:n&&(a=n),this.timeout=null,a&&typeof a.timeout=="number"&&(this.timeout=a.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:hO()?443:80}set defaultPort(n){this.explicitDefaultPort=n}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:hO()?"https:":"http:"}set protocol(n){this.explicitProtocol=n}callback(n,i,a){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(n,i){let a=Object.assign({},i);typeof a.secureEndpoint!="boolean"&&(a.secureEndpoint=hO()),a.host==null&&(a.host="localhost"),a.port==null&&(a.port=a.secureEndpoint?443:80),a.protocol==null&&(a.protocol=a.secureEndpoint?"https:":"http:"),a.host&&a.path&&delete a.path,delete a.agent,delete a.hostname,delete a._defaultAgent,delete a.defaultPort,delete a.createConnection,n._last=!0,n.shouldKeepAlive=!1;let o=!1,s=null,l=a.timeout||this.timeout,c=p=>{n._hadError||(n.emit("error",p),n._hadError=!0)},u=()=>{s=null,o=!0;let p=new Error(`A "socket" was not created for HTTP request before ${l}ms`);p.code="ETIMEOUT",c(p)},d=p=>{o||(s!==null&&(clearTimeout(s),s=null),c(p))},f=p=>{if(o)return;if(s!=null&&(clearTimeout(s),s=null),UCe(p)){ug("Callback returned another Agent instance %o",p.constructor.name),p.addRequest(n,a);return}if(p){p.once("free",()=>{this.freeSocket(p,a)}),n.onSocket(p);return}let m=new Error(`no Duplex stream was returned to agent-base for \`${n.method} ${n.path}\``);c(m)};if(typeof this.callback!="function"){c(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(ug("Converting legacy callback function to promise"),this.promisifiedCallback=$Ce.default(this.callback)):this.promisifiedCallback=this.callback),typeof l=="number"&&l>0&&(s=setTimeout(u,l)),"port"in a&&typeof a.port!="number"&&(a.port=Number(a.port));try{ug("Resolving socket for %o request: %o",a.protocol,`${n.method} ${n.path}`),Promise.resolve(this.promisifiedCallback(n,a)).then(f,d)}catch(p){Promise.reject(p).catch(d)}}freeSocket(n,i){ug("Freeing socket %o %o",n.constructor.name,i),n.destroy()}destroy(){ug("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype})(p4||(p4={}));vW.exports=p4});var wW=h(pg=>{"use strict";var zCe=pg&&pg.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pg,"__esModule",{value:!0});var qCe=zCe(d4()),dg=qCe.default("https-proxy-agent:parse-proxy-response");function BCe(e){return new Promise((t,r)=>{let n=0,i=[];function a(){let d=e.read();d?u(d):e.once("readable",a)}function o(){e.removeListener("end",l),e.removeListener("error",c),e.removeListener("close",s),e.removeListener("readable",a)}function s(d){dg("onclose had error %o",d)}function l(){dg("onend")}function c(d){o(),dg("onerror %o",d),r(d)}function u(d){i.push(d),n+=d.length;let f=Buffer.concat(i,n);if(f.indexOf(`\r
|
||
\r
|
||
`)===-1){dg("have not received end of HTTP headers yet..."),a();return}let m=f.toString("ascii",0,f.indexOf(`\r
|
||
`)),y=+m.split(" ")[1];dg("got proxy server response: %o",m),t({statusCode:y,buffered:f})}e.on("error",c),e.on("close",s),e.on("end",l),a()})}pg.default=BCe});var xW=h(Vd=>{"use strict";var VCe=Vd&&Vd.__awaiter||function(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})},Xf=Vd&&Vd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vd,"__esModule",{value:!0});var SW=Xf(require("net")),EW=Xf(require("tls")),WCe=Xf(require("url")),ZCe=Xf(require("assert")),HCe=Xf(d4()),GCe=_W(),JCe=Xf(wW()),fg=HCe.default("https-proxy-agent:agent"),yO=class extends GCe.Agent{constructor(t){let r;if(typeof t=="string"?r=WCe.default.parse(t):r=t,!r)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");fg("creating new HttpsProxyAgent instance: %o",r),super(r);let n=Object.assign({},r);this.secureProxy=r.secureProxy||YCe(n.protocol),n.host=n.hostname||n.host,typeof n.port=="string"&&(n.port=parseInt(n.port,10)),!n.port&&n.host&&(n.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in n)&&(n.ALPNProtocols=["http 1.1"]),n.host&&n.path&&(delete n.path,delete n.pathname),this.proxy=n}callback(t,r){return VCe(this,void 0,void 0,function*(){let{proxy:n,secureProxy:i}=this,a;i?(fg("Creating `tls.Socket`: %o",n),a=EW.default.connect(n)):(fg("Creating `net.Socket`: %o",n),a=SW.default.connect(n));let o=Object.assign({},n.headers),l=`CONNECT ${`${r.host}:${r.port}`} HTTP/1.1\r
|
||
`;n.auth&&(o["Proxy-Authorization"]=`Basic ${Buffer.from(n.auth).toString("base64")}`);let{host:c,port:u,secureEndpoint:d}=r;XCe(u,d)||(c+=`:${u}`),o.Host=c,o.Connection="close";for(let v of Object.keys(o))l+=`${v}: ${o[v]}\r
|
||
`;let f=JCe.default(a);a.write(`${l}\r
|
||
`);let{statusCode:p,buffered:m}=yield f;if(p===200){if(t.once("socket",KCe),r.secureEndpoint){fg("Upgrading socket connection to TLS");let v=r.servername||r.host;return EW.default.connect(Object.assign(Object.assign({},QCe(r,"host","hostname","path","port")),{socket:a,servername:v}))}return a}a.destroy();let y=new SW.default.Socket({writable:!1});return y.readable=!0,t.once("socket",v=>{fg("replaying proxy buffer for failed request"),ZCe.default(v.listenerCount("data")>0),v.push(m),v.push(null)}),y})}};Vd.default=yO;function KCe(e){e.resume()}function XCe(e,t){return!!(!t&&e===80||t&&e===443)}function YCe(e){return typeof e=="string"?/^https:?$/i.test(e):!1}function QCe(e,...t){let r={},n;for(n in e)t.includes(n)||(r[n]=e[n]);return r}});var CW=h((_O,OW)=>{"use strict";var eTe=_O&&_O.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},bO=eTe(xW());function vO(e){return new bO.default(e)}(function(e){e.HttpsProxyAgent=bO.default,e.prototype=bO.default.prototype})(vO||(vO={}));OW.exports=vO});var fo=h(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.getLogger=yr.Logger=yr.LogLevels=void 0;yr.LogLevels={DEBUG:1,INFO:2,WARN:3,ERROR:4,FATAL:5,NONE:6};var tTe=["","DEBUG","INFO","WARN","ERROR","FATAL","NONE"],rTe=(()=>{let e=process.env.JSFORCE_LOG_LEVEL||global.__JSFORCE_LOG_LEVEL__||"NONE";if(/^(DEBUG|INFO|WARN|ERROR|FATAL|NONE)$/i.test(e))return{"*":e};try{return JSON.parse(e)}catch{return{"*":"NONE"}}})();function nTe(e,t){let r=e[t]||e["*"];return typeof r=="number"?r:yr.LogLevels[r]||yr.LogLevels.NONE}var f4=class e{_moduleName;_logLevel;constructor(t,r=rTe){this._moduleName=t,this._logLevel=typeof r=="number"?r:typeof r=="string"?yr.LogLevels[r]||yr.LogLevels.NONE:nTe(r,t)}createInstance(t=this._logLevel){return new e(this._moduleName,t)}setLogLevel(t){typeof t=="string"?this._logLevel=yr.LogLevels[t]||yr.LogLevels.NONE:this._logLevel=t}log(t,...r){if(this._logLevel<=t){let n=[`${tTe[t]} [${this._moduleName}] `,...r];t<yr.LogLevels.ERROR?console.log(...n):console.error(...n)}}debug(...t){this.log(yr.LogLevels.DEBUG,...t)}info(...t){this.log(yr.LogLevels.INFO,...t)}warn(...t){this.log(yr.LogLevels.WARN,...t)}error(...t){this.log(yr.LogLevels.ERROR,...t)}fatal(...t){this.log(yr.LogLevels.FATAL,...t)}};yr.Logger=f4;var TW={};function iTe(e){let t=TW[e]||new f4(e);return TW[e]=t,t}yr.getLogger=iTe});var Yf=h(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.concatStreamsAsDuplex=du.readAll=du.createLazyStream=void 0;var m4=require("stream"),aTe=fo(),wO=(0,aTe.getLogger)("stream");function oTe(){let e=new m4.PassThrough,t=new m4.PassThrough,r=IW(e,t),n=!1;return{stream:r,setStream:a=>{if(n)throw new Error("stream is already piped to actual stream");n=!0,e.pipe(a).pipe(t)}}}du.createLazyStream=oTe;var SO=class extends m4.Writable{_chunks;_totalBytes;constructor(){super(),this._chunks=[],this._totalBytes=0}_write(t,r,n){this._chunks.push(t),this._totalBytes+=t.length,n()}_writev(t,r){for(let{chunk:n}of t)this._chunks.push(n),this._totalBytes+=n.length;r()}toString(t="utf-8"){return Buffer.concat(this._chunks).toString(t)}};async function sTe(e,t="utf-8"){wO.debug("readAll: starting to read stream");let r=Date.now();return new Promise((n,i)=>{let a=new SO;e.on("error",o=>{wO.error(`readAll: stream error: ${o.message}`),i(o)}).pipe(a).on("finish",()=>{wO.debug(`readAll: stream finished in ${Date.now()-r}ms`),n(a.toString(t))})})}du.readAll=sTe;var EO=class extends m4.Duplex{_writable;_readable;constructor(t,r,n={}){super({writableObjectMode:n.writableObjectMode??t.writableObjectMode,readableObjectMode:n.readableObjectMode??r.readableObjectMode}),this._writable=t,this._readable=r,t.once("finish",()=>{this.end()}),this.once("finish",()=>{t.end()}),r.on("readable",()=>{this._readStream()}),r.once("end",()=>{this.push(null)}),t.on("error",i=>this.emit("error",i)),r.on("error",i=>this.emit("error",i))}_write(t,r,n){this._writable.write(t,r,n)}_read(t){this._readStream(t)}_readStream(t){let r;for(;(r=this._readable.read(t))!==null;)this.push(r)}};function IW(e,t,r){return new EO(e,t,r)}du.concatStreamsAsDuplex=IW});var LW=h((z2t,DW)=>{var AW=require("stream").Stream,lTe=require("util");DW.exports=mo;function mo(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}lTe.inherits(mo,AW);mo.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;return e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(mo.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});mo.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};mo.prototype.resume=function(){this._released||this.release(),this.source.resume()};mo.prototype.pause=function(){this.source.pause()};mo.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};mo.prototype.pipe=function(){var e=AW.prototype.pipe.apply(this,arguments);return this.resume(),e};mo.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};mo.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var PW=h((q2t,jW)=>{var cTe=require("util"),NW=require("stream").Stream,kW=LW();jW.exports=Qt;function Qt(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}cTe.inherits(Qt,NW);Qt.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};Qt.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Qt.prototype.append=function(e){var t=Qt.isStreamLike(e);if(t){if(!(e instanceof kW)){var r=kW.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Qt.prototype.pipe=function(e,t){return NW.prototype.pipe.call(this,e,t),this.resume(),e};Qt.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Qt.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=Qt.isStreamLike(r);n&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};Qt.prototype._pipeNext=function(e){this._currentStream=e;var t=Qt.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};Qt.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};Qt.prototype.write=function(e){this.emit("data",e)};Qt.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Qt.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Qt.prototype.end=function(){this._reset(),this.emit("end")};Qt.prototype.destroy=function(){this._reset(),this.emit("close")};Qt.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Qt.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Qt.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Qt.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var MW=h((B2t,uTe)=>{uTe.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var FW=h((V2t,RW)=>{RW.exports=MW()});var zW=h(ui=>{"use strict";var h4=FW(),dTe=require("path").extname,$W=/^\s*([^;\s]*)(?:;|\s|$)/,pTe=/^text\//i;ui.charset=UW;ui.charsets={lookup:UW};ui.contentType=fTe;ui.extension=mTe;ui.extensions=Object.create(null);ui.lookup=hTe;ui.types=Object.create(null);gTe(ui.extensions,ui.types);function UW(e){if(!e||typeof e!="string")return!1;var t=$W.exec(e),r=t&&h4[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&pTe.test(t[1])?"UTF-8":!1}function fTe(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?ui.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=ui.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function mTe(e){if(!e||typeof e!="string")return!1;var t=$W.exec(e),r=t&&ui.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function hTe(e){if(!e||typeof e!="string")return!1;var t=dTe("x."+e).toLowerCase().substr(1);return t&&ui.types[t]||!1}function gTe(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(h4).forEach(function(i){var a=h4[i],o=a.extensions;if(!(!o||!o.length)){e[i]=o;for(var s=0;s<o.length;s++){var l=o[s];if(t[l]){var c=r.indexOf(h4[t[l]].source),u=r.indexOf(a.source);if(t[l]!=="application/octet-stream"&&(c>u||c===u&&t[l].substr(0,12)==="application/"))continue}t[l]=i}}})}});var BW=h((Z2t,qW)=>{qW.exports=yTe;function yTe(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var xO=h((H2t,WW)=>{var VW=BW();WW.exports=bTe;function bTe(e){var t=!1;return VW(function(){t=!0}),function(n,i){t?e(n,i):VW(function(){e(n,i)})}}});var OO=h((G2t,ZW)=>{ZW.exports=vTe;function vTe(e){Object.keys(e.jobs).forEach(_Te.bind(e)),e.jobs={}}function _Te(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var CO=h((J2t,GW)=>{var HW=xO(),wTe=OO();GW.exports=STe;function STe(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=ETe(t,i,e[i],function(a,o){i in r.jobs&&(delete r.jobs[i],a?wTe(r):r.results[i]=o,n(a,r.results))})}function ETe(e,t,r,n){var i;return e.length==2?i=e(r,HW(n)):i=e(r,t,HW(n)),i}});var TO=h((K2t,JW)=>{JW.exports=xTe;function xTe(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&n.keyedList.sort(r?t:function(i,a){return t(e[i],e[a])}),n}});var IO=h((X2t,KW)=>{var OTe=OO(),CTe=xO();KW.exports=TTe;function TTe(e){Object.keys(this.jobs).length&&(this.index=this.size,OTe(this),CTe(e)(null,this.results))}});var YW=h((Y2t,XW)=>{var ITe=CO(),ATe=TO(),DTe=IO();XW.exports=LTe;function LTe(e,t,r){for(var n=ATe(e);n.index<(n.keyedList||e).length;)ITe(e,t,n,function(i,a){if(i){r(i,a);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return DTe.bind(n,r)}});var AO=h((Q2t,g4)=>{var QW=CO(),kTe=TO(),NTe=IO();g4.exports=jTe;g4.exports.ascending=eZ;g4.exports.descending=PTe;function jTe(e,t,r,n){var i=kTe(e,r);return QW(e,t,i,function a(o,s){if(o){n(o,s);return}if(i.index++,i.index<(i.keyedList||e).length){QW(e,t,i,a);return}n(null,i.results)}),NTe.bind(i,n)}function eZ(e,t){return e<t?-1:e>t?1:0}function PTe(e,t){return-1*eZ(e,t)}});var rZ=h((e4t,tZ)=>{var MTe=AO();tZ.exports=RTe;function RTe(e,t,r){return MTe(e,t,null,r)}});var iZ=h((t4t,nZ)=>{nZ.exports={parallel:YW(),serial:rZ(),serialOrdered:AO()}});var DO=h((r4t,aZ)=>{"use strict";aZ.exports=Object});var sZ=h((n4t,oZ)=>{"use strict";oZ.exports=Error});var cZ=h((i4t,lZ)=>{"use strict";lZ.exports=EvalError});var dZ=h((a4t,uZ)=>{"use strict";uZ.exports=RangeError});var fZ=h((o4t,pZ)=>{"use strict";pZ.exports=ReferenceError});var hZ=h((s4t,mZ)=>{"use strict";mZ.exports=SyntaxError});var y4=h((l4t,gZ)=>{"use strict";gZ.exports=TypeError});var bZ=h((c4t,yZ)=>{"use strict";yZ.exports=URIError});var _Z=h((u4t,vZ)=>{"use strict";vZ.exports=Math.abs});var SZ=h((d4t,wZ)=>{"use strict";wZ.exports=Math.floor});var xZ=h((p4t,EZ)=>{"use strict";EZ.exports=Math.max});var CZ=h((f4t,OZ)=>{"use strict";OZ.exports=Math.min});var IZ=h((m4t,TZ)=>{"use strict";TZ.exports=Math.pow});var DZ=h((h4t,AZ)=>{"use strict";AZ.exports=Math.round});var kZ=h((g4t,LZ)=>{"use strict";LZ.exports=Number.isNaN||function(t){return t!==t}});var jZ=h((y4t,NZ)=>{"use strict";var FTe=kZ();NZ.exports=function(t){return FTe(t)||t===0?t:t<0?-1:1}});var MZ=h((b4t,PZ)=>{"use strict";PZ.exports=Object.getOwnPropertyDescriptor});var LO=h((v4t,RZ)=>{"use strict";var b4=MZ();if(b4)try{b4([],"length")}catch{b4=null}RZ.exports=b4});var $Z=h((_4t,FZ)=>{"use strict";var v4=Object.defineProperty||!1;if(v4)try{v4({},"a",{value:1})}catch{v4=!1}FZ.exports=v4});var kO=h((w4t,UZ)=>{"use strict";UZ.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}});var BZ=h((S4t,qZ)=>{"use strict";var zZ=typeof Symbol<"u"&&Symbol,$Te=kO();qZ.exports=function(){return typeof zZ!="function"||typeof Symbol!="function"||typeof zZ("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:$Te()}});var NO=h((E4t,VZ)=>{"use strict";VZ.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var jO=h((x4t,WZ)=>{"use strict";var UTe=DO();WZ.exports=UTe.getPrototypeOf||null});var GZ=h((O4t,HZ)=>{"use strict";var zTe="Function.prototype.bind called on incompatible ",qTe=Object.prototype.toString,BTe=Math.max,VTe="[object Function]",ZZ=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var a=0;a<r.length;a+=1)n[a+t.length]=r[a];return n},WTe=function(t,r){for(var n=[],i=r||0,a=0;i<t.length;i+=1,a+=1)n[a]=t[i];return n},ZTe=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};HZ.exports=function(t){var r=this;if(typeof r!="function"||qTe.apply(r)!==VTe)throw new TypeError(zTe+r);for(var n=WTe(arguments,1),i,a=function(){if(this instanceof i){var u=r.apply(this,ZZ(n,arguments));return Object(u)===u?u:this}return r.apply(t,ZZ(n,arguments))},o=BTe(0,r.length-n.length),s=[],l=0;l<o;l++)s[l]="$"+l;if(i=Function("binder","return function ("+ZTe(s,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i}});var mg=h((C4t,JZ)=>{"use strict";var HTe=GZ();JZ.exports=Function.prototype.bind||HTe});var _4=h((T4t,KZ)=>{"use strict";KZ.exports=Function.prototype.call});var PO=h((I4t,XZ)=>{"use strict";XZ.exports=Function.prototype.apply});var QZ=h((A4t,YZ)=>{"use strict";YZ.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var tH=h((D4t,eH)=>{"use strict";var GTe=mg(),JTe=PO(),KTe=_4(),XTe=QZ();eH.exports=XTe||GTe.call(KTe,JTe)});var nH=h((L4t,rH)=>{"use strict";var YTe=mg(),QTe=y4(),eIe=_4(),tIe=tH();rH.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new QTe("a function is required");return tIe(YTe,eIe,t)}});var cH=h((k4t,lH)=>{"use strict";var rIe=nH(),iH=LO(),oH;try{oH=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var MO=!!oH&&iH&&iH(Object.prototype,"__proto__"),sH=Object,aH=sH.getPrototypeOf;lH.exports=MO&&typeof MO.get=="function"?rIe([MO.get]):typeof aH=="function"?function(t){return aH(t==null?t:sH(t))}:!1});var mH=h((N4t,fH)=>{"use strict";var uH=NO(),dH=jO(),pH=cH();fH.exports=uH?function(t){return uH(t)}:dH?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return dH(t)}:pH?function(t){return pH(t)}:null});var w4=h((j4t,hH)=>{"use strict";var nIe=Function.prototype.call,iIe=Object.prototype.hasOwnProperty,aIe=mg();hH.exports=aIe.call(nIe,iIe)});var SH=h((P4t,wH)=>{"use strict";var Je,oIe=DO(),sIe=sZ(),lIe=cZ(),cIe=dZ(),uIe=fZ(),rm=hZ(),tm=y4(),dIe=bZ(),pIe=_Z(),fIe=SZ(),mIe=xZ(),hIe=CZ(),gIe=IZ(),yIe=DZ(),bIe=jZ(),vH=Function,RO=function(e){try{return vH('"use strict"; return ('+e+").constructor;")()}catch{}},hg=LO(),vIe=$Z(),FO=function(){throw new tm},_Ie=hg?function(){try{return arguments.callee,FO}catch{try{return hg(arguments,"callee").get}catch{return FO}}}():FO,Qf=BZ()(),Vr=mH(),wIe=jO(),SIe=NO(),_H=PO(),gg=_4(),em={},EIe=typeof Uint8Array>"u"||!Vr?Je:Vr(Uint8Array),Wd={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Je:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Je:ArrayBuffer,"%ArrayIteratorPrototype%":Qf&&Vr?Vr([][Symbol.iterator]()):Je,"%AsyncFromSyncIteratorPrototype%":Je,"%AsyncFunction%":em,"%AsyncGenerator%":em,"%AsyncGeneratorFunction%":em,"%AsyncIteratorPrototype%":em,"%Atomics%":typeof Atomics>"u"?Je:Atomics,"%BigInt%":typeof BigInt>"u"?Je:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Je:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Je:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Je:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":sIe,"%eval%":eval,"%EvalError%":lIe,"%Float16Array%":typeof Float16Array>"u"?Je:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Je:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Je:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Je:FinalizationRegistry,"%Function%":vH,"%GeneratorFunction%":em,"%Int8Array%":typeof Int8Array>"u"?Je:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Je:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Je:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Qf&&Vr?Vr(Vr([][Symbol.iterator]())):Je,"%JSON%":typeof JSON=="object"?JSON:Je,"%Map%":typeof Map>"u"?Je:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Qf||!Vr?Je:Vr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":oIe,"%Object.getOwnPropertyDescriptor%":hg,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Je:Promise,"%Proxy%":typeof Proxy>"u"?Je:Proxy,"%RangeError%":cIe,"%ReferenceError%":uIe,"%Reflect%":typeof Reflect>"u"?Je:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Je:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Qf||!Vr?Je:Vr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Je:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Qf&&Vr?Vr(""[Symbol.iterator]()):Je,"%Symbol%":Qf?Symbol:Je,"%SyntaxError%":rm,"%ThrowTypeError%":_Ie,"%TypedArray%":EIe,"%TypeError%":tm,"%Uint8Array%":typeof Uint8Array>"u"?Je:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Je:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Je:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Je:Uint32Array,"%URIError%":dIe,"%WeakMap%":typeof WeakMap>"u"?Je:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Je:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Je:WeakSet,"%Function.prototype.call%":gg,"%Function.prototype.apply%":_H,"%Object.defineProperty%":vIe,"%Object.getPrototypeOf%":wIe,"%Math.abs%":pIe,"%Math.floor%":fIe,"%Math.max%":mIe,"%Math.min%":hIe,"%Math.pow%":gIe,"%Math.round%":yIe,"%Math.sign%":bIe,"%Reflect.getPrototypeOf%":SIe};if(Vr)try{null.error}catch(e){gH=Vr(Vr(e)),Wd["%Error.prototype%"]=gH}var gH,xIe=function e(t){var r;if(t==="%AsyncFunction%")r=RO("async function () {}");else if(t==="%GeneratorFunction%")r=RO("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=RO("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Vr&&(r=Vr(i.prototype))}return Wd[t]=r,r},yH={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},yg=mg(),S4=w4(),OIe=yg.call(gg,Array.prototype.concat),CIe=yg.call(_H,Array.prototype.splice),bH=yg.call(gg,String.prototype.replace),E4=yg.call(gg,String.prototype.slice),TIe=yg.call(gg,RegExp.prototype.exec),IIe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,AIe=/\\(\\)?/g,DIe=function(t){var r=E4(t,0,1),n=E4(t,-1);if(r==="%"&&n!=="%")throw new rm("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new rm("invalid intrinsic syntax, expected opening `%`");var i=[];return bH(t,IIe,function(a,o,s,l){i[i.length]=s?bH(l,AIe,"$1"):o||a}),i},LIe=function(t,r){var n=t,i;if(S4(yH,n)&&(i=yH[n],n="%"+i[0]+"%"),S4(Wd,n)){var a=Wd[n];if(a===em&&(a=xIe(n)),typeof a>"u"&&!r)throw new tm("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new rm("intrinsic "+t+" does not exist!")};wH.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new tm("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new tm('"allowMissing" argument must be a boolean');if(TIe(/^%?[^%]*%?$/,t)===null)throw new rm("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=DIe(t),i=n.length>0?n[0]:"",a=LIe("%"+i+"%",r),o=a.name,s=a.value,l=!1,c=a.alias;c&&(i=c[0],CIe(n,OIe([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var f=n[u],p=E4(f,0,1),m=E4(f,-1);if((p==='"'||p==="'"||p==="`"||m==='"'||m==="'"||m==="`")&&p!==m)throw new rm("property names with quotes must have matching quotes");if((f==="constructor"||!d)&&(l=!0),i+="."+f,o="%"+i+"%",S4(Wd,o))s=Wd[o];else if(s!=null){if(!(f in s)){if(!r)throw new tm("base intrinsic for "+t+" exists, but the property is not available.");return}if(hg&&u+1>=n.length){var y=hg(s,f);d=!!y,d&&"get"in y&&!("originalValue"in y.get)?s=y.get:s=s[f]}else d=S4(s,f),s=s[f];d&&!l&&(Wd[o]=s)}}return s}});var xH=h((M4t,EH)=>{"use strict";var kIe=kO();EH.exports=function(){return kIe()&&!!Symbol.toStringTag}});var TH=h((R4t,CH)=>{"use strict";var NIe=SH(),OH=NIe("%Object.defineProperty%",!0),jIe=xH()(),PIe=w4(),MIe=y4(),x4=jIe?Symbol.toStringTag:null;CH.exports=function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof i<"u"&&typeof i!="boolean")throw new MIe("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");x4&&(n||!PIe(t,x4))&&(OH?OH(t,x4,{configurable:!i,enumerable:!1,value:r,writable:!1}):t[x4]=r)}});var AH=h((F4t,IH)=>{"use strict";IH.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var bg=h(($4t,LH)=>{"use strict";var qO=PW(),RIe=require("util"),$O=require("path"),FIe=require("http"),$Ie=require("https"),UIe=require("url").parse,zIe=require("fs"),qIe=require("stream").Stream,BIe=require("crypto"),UO=zW(),VIe=iZ(),WIe=TH(),pu=w4(),zO=AH();function DH(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function rt(e){if(!(this instanceof rt))return new rt(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],qO.call(this),e=e||{};for(var t in e)this[t]=e[t]}RIe.inherits(rt,qO);rt.LINE_BREAK=`\r
|
||
`;rt.DEFAULT_CONTENT_TYPE="application/octet-stream";rt.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var n=qO.prototype.append.bind(this);if((typeof t=="number"||t==null)&&(t=String(t)),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,r),a=this._multiPartFooter();n(i),n(t),n(a),this._trackLength(i,t,r)};rt.prototype._trackLength=function(e,t,r){var n=0;r.knownLength!=null?n+=Number(r.knownLength):Buffer.isBuffer(t)?n=t.length:typeof t=="string"&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+rt.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&pu(t,"httpVersion"))&&!(t instanceof qIe))&&(r.knownLength||this._valuesToMeasure.push(t))};rt.prototype._lengthRetriever=function(e,t){pu(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):zIe.stat(e.path,function(r,n){if(r){t(r);return}var i=n.size-(e.start?e.start:0);t(null,i)}):pu(e,"httpVersion")?t(null,Number(e.headers["content-length"])):pu(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume()):t("Unknown stream")};rt.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var n=this._getContentDisposition(t,r),i=this._getContentType(t,r),a="",o={"Content-Disposition":["form-data",'name="'+DH(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};typeof r.header=="object"&&zO(o,r.header);var s;for(var l in o)if(pu(o,l)){if(s=o[l],s==null)continue;Array.isArray(s)||(s=[s]),s.length&&(a+=l+": "+s.join("; ")+rt.LINE_BREAK)}return"--"+this.getBoundary()+rt.LINE_BREAK+a+rt.LINE_BREAK};rt.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath=="string"?r=$O.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=$O.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&pu(e,"httpVersion")&&(r=$O.basename(e.client._httpMessage.path||"")),r)return'filename="'+DH(r)+'"'};rt.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e&&e.name&&(r=UO.lookup(e.name)),!r&&e&&e.path&&(r=UO.lookup(e.path)),!r&&e&&e.readable&&pu(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=UO.lookup(t.filepath||t.filename)),!r&&e&&typeof e=="object"&&(r=rt.DEFAULT_CONTENT_TYPE),r};rt.prototype._multiPartFooter=function(){return function(e){var t=rt.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};rt.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+rt.LINE_BREAK};rt.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)pu(e,t)&&(r[t.toLowerCase()]=e[t]);return r};rt.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};rt.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};rt.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,n=this._streams.length;r<n;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(rt.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};rt.prototype._generateBoundary=function(){this._boundary="--------------------------"+BIe.randomBytes(12).toString("hex")};rt.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};rt.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};rt.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}VIe.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};rt.prototype.submit=function(e,t){var r,n,i={method:"post"};return typeof e=="string"?(e=UIe(e),n=zO({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(n=zO(e,i),n.port||(n.port=n.protocol==="https:"?443:80)),n.headers=this.getHeaders(e.headers),n.protocol==="https:"?r=$Ie.request(n):r=FIe.request(n),this.getLength(function(a,o){if(a&&a!=="Unknown stream"){this._error(a);return}if(o&&r.setHeader("Content-Length",o),this.pipe(r),t){var s,l=function(c,u){return r.removeListener("error",l),r.removeListener("response",s),t.call(this,c,u)};s=l.bind(this,null),r.on("error",l),r.on("response",s)}}.bind(this)),r};rt.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};rt.prototype.toString=function(){return"[object FormData]"};WIe(rt.prototype,"FormData");LH.exports=rt});var PH=h(Sa=>{"use strict";var ZIe=Sa&&Sa.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Sa,"__esModule",{value:!0});Sa.executeWithTimeout=Sa.performRedirectRequest=Sa.isRedirect=Sa.createHttpRequestHandlerStreams=void 0;var kH=require("stream"),NH=Yf(),HIe=ZIe(bg()),GIe=fo(),jH=(0,GIe.getLogger)("request-helper");function JIe(e,t={}){let{body:r}=e,n=new kH.PassThrough,i=new kH.PassThrough,a=(0,NH.concatStreamsAsDuplex)(n,i);return typeof r<"u"&&setTimeout(()=>{r instanceof HIe.default?a.end(r.getBuffer()):a.end(r,"utf8")},0),a.on("response",async o=>{if(a.listenerCount("complete")>0){jH.debug("Processing response");let s=Date.now(),l=await(0,NH.readAll)(a,t.encoding);jH.debug(`Response body read: ${(l.length/1024/1024).toFixed(1)}MB in ${Date.now()-s}ms`),a.emit("complete",{...o,body:l})}}),{input:n,output:i,stream:a}}Sa.createHttpRequestHandlerStreams=JIe;var KIe=new Set([301,302,303,307,308]);function XIe(e){return KIe.has(e)}Sa.isRedirect=XIe;var YIe=10;function QIe(e,t,r,n,i){if(n>=YIe)throw new Error("Reached to maximum redirect count");let a=t.headers.location;if(!a)throw new Error("No redirect URI found");let s=(typeof r=="function"?r:()=>({method:"GET",url:a,headers:e.headers}))(a);if(!s)throw new Error("Cannot handle redirect for "+a);i(s)}Sa.performRedirectRequest=QIe;async function eAe(e,t,r){let n=!1,i=t!=null?setTimeout(()=>{n=!0,r?.()},t):void 0,a;try{a=await e()}finally{i&&clearTimeout(i)}if(n)throw new Error("Request Timeout");return a}Sa.executeWithTimeout=eAe});var _g=h((Ul,O4)=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var MH=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function tAe(e){return MH.includes(e)}var rAe=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...MH];function nAe(e){return rAe.includes(e)}var iAe=["null","undefined","string","number","bigint","boolean","symbol"];function aAe(e){return iAe.includes(e)}function nm(e){return t=>typeof t===e}var{toString:RH}=Object.prototype,vg=e=>{let t=RH.call(e).slice(8,-1);if(/HTML\w+Element/.test(t)&&R.domElement(e))return"HTMLElement";if(nAe(t))return t},Ot=e=>t=>vg(t)===e;function R(e){if(e===null)return"null";switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(R.observable(e))return"Observable";if(R.array(e))return"Array";if(R.buffer(e))return"Buffer";let t=vg(e);if(t)return t;if(e instanceof String||e instanceof Boolean||e instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}R.undefined=nm("undefined");R.string=nm("string");var oAe=nm("number");R.number=e=>oAe(e)&&!R.nan(e);R.bigint=nm("bigint");R.function_=nm("function");R.null_=e=>e===null;R.class_=e=>R.function_(e)&&e.toString().startsWith("class ");R.boolean=e=>e===!0||e===!1;R.symbol=nm("symbol");R.numericString=e=>R.string(e)&&!R.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e));R.array=(e,t)=>Array.isArray(e)?R.function_(t)?e.every(t):!0:!1;R.buffer=e=>{var t,r,n,i;return(i=(n=(r=(t=e)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.isBuffer)===null||n===void 0?void 0:n.call(r,e))!==null&&i!==void 0?i:!1};R.blob=e=>Ot("Blob")(e);R.nullOrUndefined=e=>R.null_(e)||R.undefined(e);R.object=e=>!R.null_(e)&&(typeof e=="object"||R.function_(e));R.iterable=e=>{var t;return R.function_((t=e)===null||t===void 0?void 0:t[Symbol.iterator])};R.asyncIterable=e=>{var t;return R.function_((t=e)===null||t===void 0?void 0:t[Symbol.asyncIterator])};R.generator=e=>{var t,r;return R.iterable(e)&&R.function_((t=e)===null||t===void 0?void 0:t.next)&&R.function_((r=e)===null||r===void 0?void 0:r.throw)};R.asyncGenerator=e=>R.asyncIterable(e)&&R.function_(e.next)&&R.function_(e.throw);R.nativePromise=e=>Ot("Promise")(e);var sAe=e=>{var t,r;return R.function_((t=e)===null||t===void 0?void 0:t.then)&&R.function_((r=e)===null||r===void 0?void 0:r.catch)};R.promise=e=>R.nativePromise(e)||sAe(e);R.generatorFunction=Ot("GeneratorFunction");R.asyncGeneratorFunction=e=>vg(e)==="AsyncGeneratorFunction";R.asyncFunction=e=>vg(e)==="AsyncFunction";R.boundFunction=e=>R.function_(e)&&!e.hasOwnProperty("prototype");R.regExp=Ot("RegExp");R.date=Ot("Date");R.error=Ot("Error");R.map=e=>Ot("Map")(e);R.set=e=>Ot("Set")(e);R.weakMap=e=>Ot("WeakMap")(e);R.weakSet=e=>Ot("WeakSet")(e);R.int8Array=Ot("Int8Array");R.uint8Array=Ot("Uint8Array");R.uint8ClampedArray=Ot("Uint8ClampedArray");R.int16Array=Ot("Int16Array");R.uint16Array=Ot("Uint16Array");R.int32Array=Ot("Int32Array");R.uint32Array=Ot("Uint32Array");R.float32Array=Ot("Float32Array");R.float64Array=Ot("Float64Array");R.bigInt64Array=Ot("BigInt64Array");R.bigUint64Array=Ot("BigUint64Array");R.arrayBuffer=Ot("ArrayBuffer");R.sharedArrayBuffer=Ot("SharedArrayBuffer");R.dataView=Ot("DataView");R.enumCase=(e,t)=>Object.values(t).includes(e);R.directInstanceOf=(e,t)=>Object.getPrototypeOf(e)===t.prototype;R.urlInstance=e=>Ot("URL")(e);R.urlString=e=>{if(!R.string(e))return!1;try{return new URL(e),!0}catch{return!1}};R.truthy=e=>!!e;R.falsy=e=>!e;R.nan=e=>Number.isNaN(e);R.primitive=e=>R.null_(e)||aAe(typeof e);R.integer=e=>Number.isInteger(e);R.safeInteger=e=>Number.isSafeInteger(e);R.plainObject=e=>{if(RH.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};R.typedArray=e=>tAe(vg(e));var lAe=e=>R.safeInteger(e)&&e>=0;R.arrayLike=e=>!R.nullOrUndefined(e)&&!R.function_(e)&&lAe(e.length);R.inRange=(e,t)=>{if(R.number(t))return e>=Math.min(0,t)&&e<=Math.max(t,0);if(R.array(t)&&t.length===2)return e>=Math.min(...t)&&e<=Math.max(...t);throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)};var cAe=1,uAe=["innerHTML","ownerDocument","style","attributes","nodeValue"];R.domElement=e=>R.object(e)&&e.nodeType===cAe&&R.string(e.nodeName)&&!R.plainObject(e)&&uAe.every(t=>t in e);R.observable=e=>{var t,r,n,i;return e?e===((r=(t=e)[Symbol.observable])===null||r===void 0?void 0:r.call(t))||e===((i=(n=e)["@@observable"])===null||i===void 0?void 0:i.call(n)):!1};R.nodeStream=e=>R.object(e)&&R.function_(e.pipe)&&!R.observable(e);R.infinite=e=>e===1/0||e===-1/0;var FH=e=>t=>R.integer(t)&&Math.abs(t%2)===e;R.evenInteger=FH(0);R.oddInteger=FH(1);R.emptyArray=e=>R.array(e)&&e.length===0;R.nonEmptyArray=e=>R.array(e)&&e.length>0;R.emptyString=e=>R.string(e)&&e.length===0;var dAe=e=>R.string(e)&&!/\S/.test(e);R.emptyStringOrWhitespace=e=>R.emptyString(e)||dAe(e);R.nonEmptyString=e=>R.string(e)&&e.length>0;R.nonEmptyStringAndNotWhitespace=e=>R.string(e)&&!R.emptyStringOrWhitespace(e);R.emptyObject=e=>R.object(e)&&!R.map(e)&&!R.set(e)&&Object.keys(e).length===0;R.nonEmptyObject=e=>R.object(e)&&!R.map(e)&&!R.set(e)&&Object.keys(e).length>0;R.emptySet=e=>R.set(e)&&e.size===0;R.nonEmptySet=e=>R.set(e)&&e.size>0;R.emptyMap=e=>R.map(e)&&e.size===0;R.nonEmptyMap=e=>R.map(e)&&e.size>0;R.propertyKey=e=>R.any([R.string,R.number,R.symbol],e);R.formData=e=>Ot("FormData")(e);R.urlSearchParams=e=>Ot("URLSearchParams")(e);var $H=(e,t,r)=>{if(!R.function_(t))throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`);if(r.length===0)throw new TypeError("Invalid number of values");return e.call(r,t)};R.any=(e,...t)=>(R.array(e)?e:[e]).some(n=>$H(Array.prototype.some,n,t));R.all=(e,...t)=>$H(Array.prototype.every,e,t);var le=(e,t,r,n={})=>{if(!e){let{multipleValues:i}=n,a=i?`received values of types ${[...new Set(r.map(o=>`\`${R(o)}\``))].join(", ")}`:`received value of type \`${R(r)}\``;throw new TypeError(`Expected value which is \`${t}\`, ${a}.`)}};Ul.assert={undefined:e=>le(R.undefined(e),"undefined",e),string:e=>le(R.string(e),"string",e),number:e=>le(R.number(e),"number",e),bigint:e=>le(R.bigint(e),"bigint",e),function_:e=>le(R.function_(e),"Function",e),null_:e=>le(R.null_(e),"null",e),class_:e=>le(R.class_(e),"Class",e),boolean:e=>le(R.boolean(e),"boolean",e),symbol:e=>le(R.symbol(e),"symbol",e),numericString:e=>le(R.numericString(e),"string with a number",e),array:(e,t)=>{le(R.array(e),"Array",e),t&&e.forEach(t)},buffer:e=>le(R.buffer(e),"Buffer",e),blob:e=>le(R.blob(e),"Blob",e),nullOrUndefined:e=>le(R.nullOrUndefined(e),"null or undefined",e),object:e=>le(R.object(e),"Object",e),iterable:e=>le(R.iterable(e),"Iterable",e),asyncIterable:e=>le(R.asyncIterable(e),"AsyncIterable",e),generator:e=>le(R.generator(e),"Generator",e),asyncGenerator:e=>le(R.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>le(R.nativePromise(e),"native Promise",e),promise:e=>le(R.promise(e),"Promise",e),generatorFunction:e=>le(R.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>le(R.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>le(R.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>le(R.boundFunction(e),"Function",e),regExp:e=>le(R.regExp(e),"RegExp",e),date:e=>le(R.date(e),"Date",e),error:e=>le(R.error(e),"Error",e),map:e=>le(R.map(e),"Map",e),set:e=>le(R.set(e),"Set",e),weakMap:e=>le(R.weakMap(e),"WeakMap",e),weakSet:e=>le(R.weakSet(e),"WeakSet",e),int8Array:e=>le(R.int8Array(e),"Int8Array",e),uint8Array:e=>le(R.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>le(R.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>le(R.int16Array(e),"Int16Array",e),uint16Array:e=>le(R.uint16Array(e),"Uint16Array",e),int32Array:e=>le(R.int32Array(e),"Int32Array",e),uint32Array:e=>le(R.uint32Array(e),"Uint32Array",e),float32Array:e=>le(R.float32Array(e),"Float32Array",e),float64Array:e=>le(R.float64Array(e),"Float64Array",e),bigInt64Array:e=>le(R.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>le(R.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>le(R.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>le(R.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>le(R.dataView(e),"DataView",e),enumCase:(e,t)=>le(R.enumCase(e,t),"EnumCase",e),urlInstance:e=>le(R.urlInstance(e),"URL",e),urlString:e=>le(R.urlString(e),"string with a URL",e),truthy:e=>le(R.truthy(e),"truthy",e),falsy:e=>le(R.falsy(e),"falsy",e),nan:e=>le(R.nan(e),"NaN",e),primitive:e=>le(R.primitive(e),"primitive",e),integer:e=>le(R.integer(e),"integer",e),safeInteger:e=>le(R.safeInteger(e),"integer",e),plainObject:e=>le(R.plainObject(e),"plain object",e),typedArray:e=>le(R.typedArray(e),"TypedArray",e),arrayLike:e=>le(R.arrayLike(e),"array-like",e),domElement:e=>le(R.domElement(e),"HTMLElement",e),observable:e=>le(R.observable(e),"Observable",e),nodeStream:e=>le(R.nodeStream(e),"Node.js Stream",e),infinite:e=>le(R.infinite(e),"infinite number",e),emptyArray:e=>le(R.emptyArray(e),"empty array",e),nonEmptyArray:e=>le(R.nonEmptyArray(e),"non-empty array",e),emptyString:e=>le(R.emptyString(e),"empty string",e),emptyStringOrWhitespace:e=>le(R.emptyStringOrWhitespace(e),"empty string or whitespace",e),nonEmptyString:e=>le(R.nonEmptyString(e),"non-empty string",e),nonEmptyStringAndNotWhitespace:e=>le(R.nonEmptyStringAndNotWhitespace(e),"non-empty string and not whitespace",e),emptyObject:e=>le(R.emptyObject(e),"empty object",e),nonEmptyObject:e=>le(R.nonEmptyObject(e),"non-empty object",e),emptySet:e=>le(R.emptySet(e),"empty set",e),nonEmptySet:e=>le(R.nonEmptySet(e),"non-empty set",e),emptyMap:e=>le(R.emptyMap(e),"empty map",e),nonEmptyMap:e=>le(R.nonEmptyMap(e),"non-empty map",e),propertyKey:e=>le(R.propertyKey(e),"PropertyKey",e),formData:e=>le(R.formData(e),"FormData",e),urlSearchParams:e=>le(R.urlSearchParams(e),"URLSearchParams",e),evenInteger:e=>le(R.evenInteger(e),"even integer",e),oddInteger:e=>le(R.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>le(R.directInstanceOf(e,t),"T",e),inRange:(e,t)=>le(R.inRange(e,t),"in range",e),any:(e,...t)=>le(R.any(e,...t),"predicate returns truthy for any value",t,{multipleValues:!0}),all:(e,...t)=>le(R.all(e,...t),"predicate returns truthy for all values",t,{multipleValues:!0})};Object.defineProperties(R,{class:{value:R.class_},function:{value:R.function_},null:{value:R.null_}});Object.defineProperties(Ul.assert,{class:{value:Ul.assert.class_},function:{value:Ul.assert.function_},null:{value:Ul.assert.null_}});Ul.default=R;O4.exports=R;O4.exports.default=R;O4.exports.assert=Ul.assert});var VH=h(Ui=>{"use strict";var pAe=Ui&&Ui.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),fAe=Ui&&Ui.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mAe=Ui&&Ui.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&pAe(t,e,r);return fAe(t,e),t},zH=Ui&&Ui.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.setDefaults=void 0;var hAe=require("stream"),BO=mAe(dW()),gAe=zH(CW()),C4=PH(),yAe=fo(),bAe=zH(_g()),qH={};function vAe(e){qH=e}Ui.setDefaults=vAe;async function BH(e,t,r,n,i,a=0){let o=(0,yAe.getLogger)("fetch"),{httpProxy:s,followRedirect:l}=t,c=s?(0,gAe.default)(s):void 0,{url:u,body:d,...f}=e,p=new AbortController,m=0,y=0,v={statusCodes:t.retry?.statusCodes??[420,429,500,502,503,504],maxRetries:t.retry?.maxRetries??5,minTimeout:t.retry?.minTimeout??500,timeoutFactor:t.retry?.timeoutFactor??2,errorCodes:t.retry?.errorCodes??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","UND_ERR_SOCKET","ETIMEDOUT","EPIPE"],methods:t.retry?.methods??["GET","PUT","HEAD","OPTIONS","DELETE"]},S=(j,P)=>v.methods.includes(e.method)?P instanceof BO.Response?P.status===420?y<2:v.statusCodes.includes(P.status)?j!==m:!1:j===m||P.name!="FetchError"?!1:bAe.default.nodeStream(d)&&hAe.Readable.isDisturbed(d)?(o.debug("Body of type stream was read, unable to retry request."),!1):!!("code"in P&&P.code&&v?.errorCodes?.includes(P.code)):!1,E=async(j=v?.maxRetries)=>{let P={...f,...r&&/^(post|put|patch)$/i.test(e.method)?{body:r}:{},redirect:"manual",signal:p.signal,agent:c};try{let T=await(0,BO.default)(u,P);return S(v.maxRetries,T)?(o.debug(`retrying for the ${m+1} time`),o.debug("reason: statusCode match"),await UH(m===0?v.minTimeout:v.minTimeout*v.timeoutFactor**m),i.emit("retry",m),m++,T.status===420&&y++,await E(j)):T}catch(T){o.debug("Request failed");let N=T;if(N.name==="AbortError")throw N;if(S(v.maxRetries,N))return o.debug(`retrying for the ${m+1} time`),o.debug(`Error: ${T.message}`),await UH(m===0?v.minTimeout:v.minTimeout*v.timeoutFactor**m),i.emit("retry",m),m++,E(j);throw o.debug("Skipping retry..."),T}},w,_=t.timeout??18e5;try{w=await(0,C4.executeWithTimeout)(E,_,()=>p.abort())}catch(j){j instanceof BO.AbortError&&(j.message+=" Request was aborted due to timeout of 10 minutes."),i.emit("error",j);return}let b={};for(let j of w.headers.keys())b[j.toLowerCase()]=w.headers.get(j);let A={statusCode:w.status,headers:b};if(l&&(0,C4.isRedirect)(A.statusCode)){try{(0,C4.performRedirectRequest)(e,A,l,a,j=>BH(j,t,void 0,n,i,a+1))}catch(j){i.emit("error",j)}return}i.emit("response",A),w.body.pipe(n)}function _Ae(e,t={}){let r={...qH,...t},{input:n,output:i,stream:a}=(0,C4.createHttpRequestHandlerStreams)(e,r);return BH(e,r,n,i,a),a}Ui.default=_Ae;var UH=e=>new Promise(t=>setTimeout(t,e))});var wg=h(T4=>{"use strict";Object.defineProperty(T4,"__esModule",{value:!0});T4.StreamPromise=void 0;var wAe=require("stream"),VO=class e extends Promise{stream(){return new wAe.Duplex}static create(t){let{stream:r,promise:n}=t(),i=new e((a,o)=>{n.then(a,o)});return i.stream=()=>r,i}};T4.StreamPromise=VO});var ZH=h(WO=>{"use strict";Object.defineProperty(WO,"__esModule",{value:!0});var SAe=require("stream"),WH=0;async function EAe(e,t,r){if(e.method.toUpperCase()!=="GET")throw new Error("JSONP only supports GET request.");WH+=1;let n=`_jsforce_jsonpCallback_${WH}`,i=window,a=e.url;a+=a.indexOf("?")>0?"&":"?",a+=`${t}=${n}`;let o=document.createElement("script");o.type="text/javascript",o.src=a,document.documentElement&&document.documentElement.appendChild(o);let s;try{let l=await new Promise((c,u)=>{s=setTimeout(()=>{u(new Error("JSONP call time out."))},r),i[n]=c});return{statusCode:200,headers:{"content-type":"application/json"},body:JSON.stringify(l)}}finally{clearTimeout(s),document.documentElement&&document.documentElement.removeChild(o),delete i[n]}}function xAe(e="callback",t=1e4){return r=>{let n=new SAe.Transform({transform(i,a,o){o()},flush(){(async()=>{let i=await EAe(r,e,t);n.emit("response",i),n.emit("complete",i),n.push(i.body),n.push(null)})()}});return n.end(),n}}WO.default={supported:typeof window<"u"&&typeof document<"u",createRequest:xAe}});var HH=h(ZO=>{"use strict";Object.defineProperty(ZO,"__esModule",{value:!0});var OAe=require("stream");function CAe(e){let t={};for(let r of e.split(/\n/)){let[n,i]=r.split(/\s*:\s*/);t[n.toLowerCase()]=i}return t}async function TAe(e,t,r){let n={client:t.client,method:e.method,data:r},i=e.headers;if(i){n.headers={};for(let l of Object.keys(i))l.toLowerCase()==="content-type"?n.contentType=i[l]:n.headers[l]=i[l]}let a=await new Promise((l,c)=>{n.success=l,n.failure=c,Sfdc.canvas.client.ajax(e.url,n)}),o=CAe(a.responseHeaders),s=a.payload;return typeof s!="string"&&(s=JSON.stringify(s)),{statusCode:a.status,headers:o,body:s}}function IAe(e){return t=>{let r=[],n=new OAe.Transform({transform(i,a,o){r.push(typeof i=="string"?i:i.toString("utf8")),o()},flush(){(async()=>{let i=r.join(""),a=await TAe(t,e,i);n.emit("response",a),n.emit("complete",a),n.push(a.body),n.push(null)})()}});return t.body&&n.end(t.body),n}}ZO.default={supported:typeof Sfdc=="object"&&typeof Sfdc.canvas<"u",createRequest:IAe}});var Sg=h(sr=>{"use strict";var AAe=sr&&sr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),DAe=sr&&sr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),LAe=sr&&sr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&AAe(t,e,r);return DAe(t,e),t},XH=sr&&sr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(sr,"__esModule",{value:!0});sr.HttpProxyTransport=sr.XdProxyTransport=sr.CanvasTransport=sr.JsonpTransport=sr.Transport=void 0;var YH=LAe(VH()),kAe=wg(),GH=XH(ZH()),JH=XH(HH());function NAe(e){let t=/(\w+)\.(visual\.force|salesforce)\.com$/.exec(e);return t?`${t[1]}.salesforce.com`:e}(0,YH.setDefaults)({httpProxy:process.env.https_proxy??process.env.http_proxy??process.env.HTTPS_PROXY??process.env.HTTP_PROXY??void 0,timeout:process.env.HTTP_TIMEOUT?parseInt(process.env.HTTP_TIMEOUT,10):void 0,followRedirect:!0});var jAe=typeof window<"u"&&window.location&&window.location.host?`https://${NAe(window.location.host)}`:process.env.LOCATION_BASE_URL||"",fu=class{httpRequest(t,r={}){return kAe.StreamPromise.create(()=>{let i=this.getRequestStreamCreator()(t,r),a=new Promise((o,s)=>{i.on("complete",l=>o(l)).on("error",s)});return{stream:i,promise:a}})}getRequestStreamCreator(){return YH.default}};sr.Transport=fu;var HO=class extends fu{static supprted=GH.default.supported;_jsonpParam;constructor(t){super(),this._jsonpParam=t}getRequestStreamCreator(){let t=GH.default.createRequest(this._jsonpParam);return r=>t(r)}};sr.JsonpTransport=HO;var GO=class extends fu{static supported=JH.default.supported;_signedRequest;constructor(t){super(),this._signedRequest=t}getRequestStreamCreator(){let t=JH.default.createRequest(this._signedRequest);return r=>t(r)}};sr.CanvasTransport=GO;function KH(e,t){let r={"salesforceproxy-endpoint":e.url};if(e.headers)for(let i of Object.keys(e.headers))r[i]=e.headers[i];let n=`${Date.now()}.${String(Math.random()).substring(2)}`;return{method:e.method,url:`${t}?${n}`,headers:r,...e.body!=null?{body:e.body}:{}}}var JO=class extends fu{_xdProxyUrl;constructor(t){super(),this._xdProxyUrl=t}httpRequest(t,r={}){let n=this._xdProxyUrl,{url:i,body:a,...o}=t,s=i.startsWith("/")?jAe+i:i,l=KH({...o,url:s,body:a},n);return super.httpRequest(l,{followRedirect:c=>KH({...o,method:"GET",url:c},n)})}};sr.XdProxyTransport=JO;var KO=class extends fu{_httpProxy;constructor(t){super(),this._httpProxy=t}httpRequest(t,r={}){let n={...r,httpProxy:this._httpProxy};return super.httpRequest(t,n)}};sr.HttpProxyTransport=KO;sr.default=fu});var YO=h(XO=>{"use strict";Object.defineProperty(XO,"__esModule",{value:!0});XO.default="3.10.16"});var Eg=h(zi=>{"use strict";var PAe=zi&&zi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),MAe=zi&&zi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),RAe=zi&&zi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&PAe(t,e,r);return MAe(t,e),t},FAe=zi&&zi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(zi,"__esModule",{value:!0});zi.OAuth2=void 0;var QH=require("crypto"),I4=FAe(require("querystring")),QO=RAe(Sg()),$Ae={loginUrl:"https://login.salesforce.com"};function eG(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var A4=class{loginUrl;authzServiceUrl;tokenServiceUrl;revokeServiceUrl;clientId;clientSecret;redirectUri;codeVerifier;_transport;constructor(t){let{loginUrl:r,authzServiceUrl:n,tokenServiceUrl:i,revokeServiceUrl:a,clientId:o,clientSecret:s,redirectUri:l,proxyUrl:c,httpProxy:u,useVerifier:d}=t;if(n&&i)this.loginUrl=n.split("/").slice(0,3).join("/"),this.authzServiceUrl=n,this.tokenServiceUrl=i,this.revokeServiceUrl=a||`${this.loginUrl}/services/oauth2/revoke`;else{this.loginUrl=r??$Ae.loginUrl;let f=this.loginUrl.endsWith("/")?"":"/";this.authzServiceUrl=`${this.loginUrl}${f}services/oauth2/authorize`,this.tokenServiceUrl=`${this.loginUrl}${f}services/oauth2/token`,this.revokeServiceUrl=`${this.loginUrl}${f}services/oauth2/revoke`}this.clientId=o,this.clientSecret=s,this.redirectUri=l,c?this._transport=new QO.XdProxyTransport(c):u?this._transport=new QO.HttpProxyTransport(u):this._transport=new QO.default,d&&(this.codeVerifier=eG((0,QH.randomBytes)(Math.ceil(128)).toString("base64")))}getAuthorizationUrl(t={}){this.codeVerifier&&(t.code_challenge=eG((0,QH.createHash)("sha256").update(this.codeVerifier).digest("base64")));let r={...t,response_type:"code",client_id:this.clientId,redirect_uri:this.redirectUri};return this.authzServiceUrl+(this.authzServiceUrl.includes("?")?"&":"?")+I4.default.stringify(r)}async refreshToken(t){if(!this.clientId)throw new Error("No OAuth2 client id information is specified");let r={grant_type:"refresh_token",refresh_token:t,client_id:this.clientId};return this.clientSecret&&(r.client_secret=this.clientSecret),await this._postParams(r)}async requestToken(t,r={}){if(typeof t=="string"&&(!this.clientId||!this.redirectUri))throw new Error("No OAuth2 client id or redirect uri configuration is specified");let n={...r,...typeof t=="string"?{grant_type:"authorization_code",code:t}:t};return this.clientId&&(n.client_id=this.clientId),this.clientSecret&&(n.client_secret=this.clientSecret),this.redirectUri&&(n.redirect_uri=this.redirectUri),await this._postParams(n)}async authenticate(t,r){if(!this.clientId||!this.clientSecret)throw new Error("No valid OAuth2 client configuration set");return await this._postParams({grant_type:"password",username:t,password:r,client_id:this.clientId,client_secret:this.clientSecret})}async revokeToken(t){let r=await this._transport.httpRequest({method:"POST",url:this.revokeServiceUrl,body:I4.default.stringify({token:t}),headers:{"content-type":"application/x-www-form-urlencoded"}});if(r.statusCode>=400){let n=I4.default.parse(r.body);throw(!n||!n.error)&&(n={error:`ERROR_HTTP_${r.statusCode}`,error_description:r.body}),new class extends Error{constructor({error:i,error_description:a}){super(a),this.name=i}}(n)}}async _postParams(t){this.codeVerifier&&(t.code_verifier=this.codeVerifier);let r=await this._transport.httpRequest({method:"POST",url:this.tokenServiceUrl,body:I4.default.stringify(t),headers:{"content-type":"application/x-www-form-urlencoded"}}),n;try{n=JSON.parse(r.body)}catch{}if(r.statusCode>=400)throw n=n||{error:`ERROR_HTTP_${r.statusCode}`,error_description:r.body},new class extends Error{constructor({error:i,error_description:a}){super(a),this.name=i}}(n);return n}};zi.OAuth2=A4;zi.default=A4});var tC=h(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.Cache=void 0;var UAe=require("events"),eC=class extends UAe.EventEmitter{_fetching=!1;_value=void 0;get(t){if(t){let r=t;this.once("value",n=>r(n)),typeof this._value<"u"&&this.emit("value",this._value)}return this._value}set(t){this._value=t,this.emit("value",this._value)}clear(){this._fetching=!1,this._value=void 0}};function zAe(e,t){return`${e||""}(${[...t].map(r=>JSON.stringify(r)).join(",")})`}function tG(e,t,r){return typeof e.key=="string"?e.key:typeof e.key=="function"?e.key.apply(t,r):zAe(e.namespace,r)}var D4=class{_entries={};get(t){if(this._entries[t])return this._entries[t];let r=new eC;return this._entries[t]=r,r}clear(t){for(let r of Object.keys(this._entries))(!t||r.startsWith(t))&&this._entries[r].clear()}createCachedFunction(t,r,n={strategy:"NOCACHE"}){let i=n.strategy,a=(...o)=>{let s=tG(n,r,o),l=this.get(s),c=async()=>{l._fetching=!0;try{let d=await t.apply(r||this,o);return l.set({error:void 0,result:d}),d}catch(d){throw l.set({error:d,result:void 0}),d}},u;switch(i){case"IMMEDIATE":if(u=l.get(),!u)throw new Error("Function call result is not cached yet.");if(u.error)throw u.error;return u.result;case"HIT":return(async()=>(l._fetching||await c(),new Promise((d,f)=>{l.get(({error:p,result:m})=>{p?f(p):d(m)})})))();case"NOCACHE":default:return c()}};return a.clear=(...o)=>{let s=tG(n,r,o);this.clear(s)},a}};xg.Cache=D4;xg.default=D4});var L4=h(rC=>{(function(){rC.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
||
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(rC)});var Yo=h((rG,mu)=>{(function(){var e,t,r,n,i,a,o,s=[].slice,l={}.hasOwnProperty;e=function(){var c,u,d,f,p,m;if(m=arguments[0],p=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(c=0,d=p.length;c<d;c++)if(f=p[c],f!=null)for(u in f)l.call(f,u)&&(m[u]=f[u]);return m},i=function(c){return!!c&&Object.prototype.toString.call(c)==="[object Function]"},a=function(c){var u;return!!c&&((u=typeof c)=="function"||u==="object")},r=function(c){return i(Array.isArray)?Array.isArray(c):Object.prototype.toString.call(c)==="[object Array]"},n=function(c){var u;if(r(c))return!c.length;for(u in c)if(l.call(c,u))return!1;return!0},o=function(c){var u,d;return a(c)&&(d=Object.getPrototypeOf(c))&&(u=d.constructor)&&typeof u=="function"&&u instanceof u&&Function.prototype.toString.call(u)===Function.prototype.toString.call(Object)},t=function(c){return i(c.valueOf)?c.valueOf():c},mu.exports.assign=e,mu.exports.isFunction=i,mu.exports.isObject=a,mu.exports.isArray=r,mu.exports.isEmpty=n,mu.exports.isPlainObject=o,mu.exports.getValue=t}).call(rG)});var nC=h((nG,iG)=>{(function(){var e;iG.exports=e=function(){function t(){}return t.prototype.hasFeature=function(r,n){return!0},t.prototype.createDocumentType=function(r,n,i){throw new Error("This DOM method is not implemented.")},t.prototype.createDocument=function(r,n,i){throw new Error("This DOM method is not implemented.")},t.prototype.createHTMLDocument=function(r){throw new Error("This DOM method is not implemented.")},t.prototype.getFeature=function(r,n){throw new Error("This DOM method is not implemented.")},t}()}).call(nG)});var sG=h((aG,oG)=>{(function(){var e;oG.exports=e=function(){function t(){}return t.prototype.handleError=function(r){throw new Error(r)},t}()}).call(aG)});var uG=h((lG,cG)=>{(function(){var e;cG.exports=e=function(){function t(r){this.arr=r||[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.arr.length}}),t.prototype.item=function(r){return this.arr[r]||null},t.prototype.contains=function(r){return this.arr.indexOf(r)!==-1},t}()}).call(lG)});var fG=h((dG,pG)=>{(function(){var e,t,r;t=sG(),r=uG(),pG.exports=e=function(){function n(){var i;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new t,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=i=Object.create(this.defaultParams)}return Object.defineProperty(n.prototype,"parameterNames",{get:function(){return new r(Object.keys(this.defaultParams))}}),n.prototype.getParameter=function(i){return this.params.hasOwnProperty(i)?this.params[i]:null},n.prototype.canSetParameter=function(i,a){return!0},n.prototype.setParameter=function(i,a){return a!=null?this.params[i]=a:delete this.params[i]},n}()}).call(dG)});var lr=h((mG,hG)=>{(function(){hG.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(mG)});var iC=h((gG,yG)=>{(function(){var e,t,r;e=lr(),r=qi(),yG.exports=t=function(){function n(i,a,o){if(this.parent=i,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),a==null)throw new Error("Missing attribute name. "+this.debugInfo(a));this.name=this.stringify.name(a),this.value=this.stringify.attValue(o),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(n.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(n.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(n.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(n.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(n.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(n.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(n.prototype,"specified",{get:function(){return!0}}),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(i){return this.options.writer.attribute(this,this.options.writer.filterOptions(i))},n.prototype.debugInfo=function(i){return i=i||this.name,i==null?"parent: <"+this.parent.name+">":"attribute: {"+i+"}, parent: <"+this.parent.name+">"},n.prototype.isEqualNode=function(i){return!(i.namespaceURI!==this.namespaceURI||i.prefix!==this.prefix||i.localName!==this.localName||i.value!==this.value)},n}()}).call(gG)});var k4=h((bG,vG)=>{(function(){var e;vG.exports=e=function(){function t(r){this.nodes=r}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(r){return this.nodes[r]},t.prototype.setNamedItem=function(r){var n;return n=this.nodes[r.nodeName],this.nodes[r.nodeName]=r,n||null},t.prototype.removeNamedItem=function(r){var n;return n=this.nodes[r],delete this.nodes[r],n||null},t.prototype.item=function(r){return this.nodes[Object.keys(this.nodes)[r]]||null},t.prototype.getNamedItemNS=function(r,n){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(r){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(r,n){throw new Error("This DOM method is not implemented.")},t}()}).call(bG)});var N4=h((_G,wG)=>{(function(){var e,t,r,n,i,a,o,s,l,c=function(d,f){for(var p in f)u.call(f,p)&&(d[p]=f[p]);function m(){this.constructor=d}return m.prototype=f.prototype,d.prototype=new m,d.__super__=f.prototype,d},u={}.hasOwnProperty;l=Yo(),s=l.isObject,o=l.isFunction,a=l.getValue,i=qi(),e=lr(),t=iC(),n=k4(),wG.exports=r=function(d){c(f,d);function f(p,m,y){var v,S,E,w;if(f.__super__.constructor.call(this,p),m==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(m),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,y!=null&&this.attribute(y),p.type===e.Document&&(this.isRoot=!0,this.documentObject=p,p.rootObject=this,p.children)){for(w=p.children,S=0,E=w.length;S<E;S++)if(v=w[S],v.type===e.DocType){v.name=this.name;break}}}return Object.defineProperty(f.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(f.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(f.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(f.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(f.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(f.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(f.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new n(this.attribs)),this.attributeMap}}),f.prototype.clone=function(){var p,m,y,v;y=Object.create(this),y.isRoot&&(y.documentObject=null),y.attribs={},v=this.attribs;for(m in v)u.call(v,m)&&(p=v[m],y.attribs[m]=p.clone());return y.children=[],this.children.forEach(function(S){var E;return E=S.clone(),E.parent=y,y.children.push(E)}),y},f.prototype.attribute=function(p,m){var y,v;if(p!=null&&(p=a(p)),s(p))for(y in p)u.call(p,y)&&(v=p[y],this.attribute(y,v));else o(m)&&(m=m.apply()),this.options.keepNullAttributes&&m==null?this.attribs[p]=new t(this,p,""):m!=null&&(this.attribs[p]=new t(this,p,m));return this},f.prototype.removeAttribute=function(p){var m,y,v;if(p==null)throw new Error("Missing attribute name. "+this.debugInfo());if(p=a(p),Array.isArray(p))for(y=0,v=p.length;y<v;y++)m=p[y],delete this.attribs[m];else delete this.attribs[p];return this},f.prototype.toString=function(p){return this.options.writer.element(this,this.options.writer.filterOptions(p))},f.prototype.att=function(p,m){return this.attribute(p,m)},f.prototype.a=function(p,m){return this.attribute(p,m)},f.prototype.getAttribute=function(p){return this.attribs.hasOwnProperty(p)?this.attribs[p].value:null},f.prototype.setAttribute=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getAttributeNode=function(p){return this.attribs.hasOwnProperty(p)?this.attribs[p]:null},f.prototype.setAttributeNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.removeAttributeNode=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagName=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getAttributeNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.setAttributeNS=function(p,m,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.removeAttributeNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getAttributeNodeNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.setAttributeNodeNS=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagNameNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.hasAttribute=function(p){return this.attribs.hasOwnProperty(p)},f.prototype.hasAttributeNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.setIdAttribute=function(p,m){return this.attribs.hasOwnProperty(p)?this.attribs[p].isId:m},f.prototype.setIdAttributeNS=function(p,m,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.setIdAttributeNode=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagName=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByTagNameNS=function(p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.getElementsByClassName=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},f.prototype.isEqualNode=function(p){var m,y,v;if(!f.__super__.isEqualNode.apply(this,arguments).isEqualNode(p)||p.namespaceURI!==this.namespaceURI||p.prefix!==this.prefix||p.localName!==this.localName||p.attribs.length!==this.attribs.length)return!1;for(m=y=0,v=this.attribs.length-1;0<=v?y<=v:y>=v;m=0<=v?++y:--y)if(!this.attribs[m].isEqualNode(p.attribs[m]))return!1;return!0},f}(i)}).call(_G)});var Og=h((SG,EG)=>{(function(){var e,t,r=function(i,a){for(var o in a)n.call(a,o)&&(i[o]=a[o]);function s(){this.constructor=i}return s.prototype=a.prototype,i.prototype=new s,i.__super__=a.prototype,i},n={}.hasOwnProperty;t=qi(),EG.exports=e=function(i){r(a,i);function a(o){a.__super__.constructor.call(this,o),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),a.prototype.clone=function(){return Object.create(this)},a.prototype.substringData=function(o,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(o){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(o,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(o,s){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(o,s,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(o){return!(!a.__super__.isEqualNode.apply(this,arguments).isEqualNode(o)||o.data!==this.data)},a}(t)}).call(SG)});var j4=h((xG,OG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;e=lr(),r=Og(),OG.exports=t=function(a){n(o,a);function o(s,l){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(l)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.cdata(this,this.options.writer.filterOptions(s))},o}(r)}).call(xG)});var P4=h((CG,TG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;e=lr(),t=Og(),TG.exports=r=function(a){n(o,a);function o(s,l){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(l)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.comment(this,this.options.writer.filterOptions(s))},o}(t)}).call(CG)});var M4=h((IG,AG)=>{(function(){var e,t,r,n,i=function(o,s){for(var l in s)a.call(s,l)&&(o[l]=s[l]);function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},a={}.hasOwnProperty;n=Yo().isObject,r=qi(),e=lr(),AG.exports=t=function(o){i(s,o);function s(l,c,u,d){var f;s.__super__.constructor.call(this,l),n(c)&&(f=c,c=f.version,u=f.encoding,d=f.standalone),c||(c="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(c),u!=null&&(this.encoding=this.stringify.xmlEncoding(u)),d!=null&&(this.standalone=this.stringify.xmlStandalone(d))}return s.prototype.toString=function(l){return this.options.writer.declaration(this,this.options.writer.filterOptions(l))},s}(r)}).call(IG)});var R4=h((DG,LG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;r=qi(),e=lr(),LG.exports=t=function(a){n(o,a);function o(s,l,c,u,d,f){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(c==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(l));if(!u)throw new Error("Missing DTD attribute type. "+this.debugInfo(l));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(l));if(d.indexOf("#")!==0&&(d="#"+d),!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(l));if(f&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(l));this.elementName=this.stringify.name(l),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(c),this.attributeType=this.stringify.dtdAttType(u),f&&(this.defaultValue=this.stringify.dtdAttDefault(f)),this.defaultValueType=d}return o.prototype.toString=function(s){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(s))},o}(r)}).call(DG)});var F4=h((kG,NG)=>{(function(){var e,t,r,n,i=function(o,s){for(var l in s)a.call(s,l)&&(o[l]=s[l]);function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},a={}.hasOwnProperty;n=Yo().isObject,r=qi(),e=lr(),NG.exports=t=function(o){i(s,o);function s(l,c,u,d){if(s.__super__.constructor.call(this,l),u==null)throw new Error("Missing DTD entity name. "+this.debugInfo(u));if(d==null)throw new Error("Missing DTD entity value. "+this.debugInfo(u));if(this.pe=!!c,this.name=this.stringify.name(u),this.type=e.EntityDeclaration,!n(d))this.value=this.stringify.dtdEntityValue(d),this.internal=!0;else{if(!d.pubID&&!d.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(u));if(d.pubID&&!d.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(u));if(this.internal=!1,d.pubID!=null&&(this.pubID=this.stringify.dtdPubID(d.pubID)),d.sysID!=null&&(this.sysID=this.stringify.dtdSysID(d.sysID)),d.nData!=null&&(this.nData=this.stringify.dtdNData(d.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(u))}}return Object.defineProperty(s.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(s.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(s.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(s.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(s.prototype,"xmlVersion",{get:function(){return null}}),s.prototype.toString=function(l){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(l))},s}(r)}).call(kG)});var $4=h((jG,PG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;r=qi(),e=lr(),PG.exports=t=function(a){n(o,a);function o(s,l,c){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD element name. "+this.debugInfo());c||(c="(#PCDATA)"),Array.isArray(c)&&(c="("+c.join(",")+")"),this.name=this.stringify.name(l),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(c)}return o.prototype.toString=function(s){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(s))},o}(r)}).call(jG)});var U4=h((MG,RG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;r=qi(),e=lr(),RG.exports=t=function(a){n(o,a);function o(s,l,c){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing DTD notation name. "+this.debugInfo(l));if(!c.pubID&&!c.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(l));this.name=this.stringify.name(l),this.type=e.NotationDeclaration,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID))}return Object.defineProperty(o.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this.sysID}}),o.prototype.toString=function(s){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(s))},o}(r)}).call(MG)});var z4=h((FG,$G)=>{(function(){var e,t,r,n,i,a,o,s,l,c=function(d,f){for(var p in f)u.call(f,p)&&(d[p]=f[p]);function m(){this.constructor=d}return m.prototype=f.prototype,d.prototype=new m,d.__super__=f.prototype,d},u={}.hasOwnProperty;l=Yo().isObject,s=qi(),e=lr(),t=R4(),n=F4(),r=$4(),i=U4(),o=k4(),$G.exports=a=function(d){c(f,d);function f(p,m,y){var v,S,E,w,_,b;if(f.__super__.constructor.call(this,p),this.type=e.DocType,p.children){for(w=p.children,S=0,E=w.length;S<E;S++)if(v=w[S],v.type===e.Element){this.name=v.name;break}}this.documentObject=p,l(m)&&(_=m,m=_.pubID,y=_.sysID),y==null&&(b=[m,y],y=b[0],m=b[1]),m!=null&&(this.pubID=this.stringify.dtdPubID(m)),y!=null&&(this.sysID=this.stringify.dtdSysID(y))}return Object.defineProperty(f.prototype,"entities",{get:function(){var p,m,y,v,S;for(v={},S=this.children,m=0,y=S.length;m<y;m++)p=S[m],p.type===e.EntityDeclaration&&!p.pe&&(v[p.name]=p);return new o(v)}}),Object.defineProperty(f.prototype,"notations",{get:function(){var p,m,y,v,S;for(v={},S=this.children,m=0,y=S.length;m<y;m++)p=S[m],p.type===e.NotationDeclaration&&(v[p.name]=p);return new o(v)}}),Object.defineProperty(f.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(f.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(f.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),f.prototype.element=function(p,m){var y;return y=new r(this,p,m),this.children.push(y),this},f.prototype.attList=function(p,m,y,v,S){var E;return E=new t(this,p,m,y,v,S),this.children.push(E),this},f.prototype.entity=function(p,m){var y;return y=new n(this,!1,p,m),this.children.push(y),this},f.prototype.pEntity=function(p,m){var y;return y=new n(this,!0,p,m),this.children.push(y),this},f.prototype.notation=function(p,m){var y;return y=new i(this,p,m),this.children.push(y),this},f.prototype.toString=function(p){return this.options.writer.docType(this,this.options.writer.filterOptions(p))},f.prototype.ele=function(p,m){return this.element(p,m)},f.prototype.att=function(p,m,y,v,S){return this.attList(p,m,y,v,S)},f.prototype.ent=function(p,m){return this.entity(p,m)},f.prototype.pent=function(p,m){return this.pEntity(p,m)},f.prototype.not=function(p,m){return this.notation(p,m)},f.prototype.up=function(){return this.root()||this.documentObject},f.prototype.isEqualNode=function(p){return!(!f.__super__.isEqualNode.apply(this,arguments).isEqualNode(p)||p.name!==this.name||p.publicId!==this.publicId||p.systemId!==this.systemId)},f}(s)}).call(FG)});var q4=h((UG,zG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;e=lr(),t=qi(),zG.exports=r=function(a){n(o,a);function o(s,l){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(l)}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.raw(this,this.options.writer.filterOptions(s))},o}(t)}).call(UG)});var B4=h((qG,BG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;e=lr(),t=Og(),BG.exports=r=function(a){n(o,a);function o(s,l){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=e.Text,this.value=this.stringify.text(l)}return Object.defineProperty(o.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(o.prototype,"wholeText",{get:function(){var s,l,c;for(c="",l=this.previousSibling;l;)c=l.data+c,l=l.previousSibling;for(c+=this.data,s=this.nextSibling;s;)c=c+s.data,s=s.nextSibling;return c}}),o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.text(this,this.options.writer.filterOptions(s))},o.prototype.splitText=function(s){throw new Error("This DOM method is not implemented."+this.debugInfo())},o.prototype.replaceWholeText=function(s){throw new Error("This DOM method is not implemented."+this.debugInfo())},o}(t)}).call(qG)});var V4=h((VG,WG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;e=lr(),t=Og(),WG.exports=r=function(a){n(o,a);function o(s,l,c){if(o.__super__.constructor.call(this,s),l==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(l),this.name=this.target,c&&(this.value=this.stringify.insValue(c))}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(s))},o.prototype.isEqualNode=function(s){return!(!o.__super__.isEqualNode.apply(this,arguments).isEqualNode(s)||s.target!==this.target)},o}(t)}).call(VG)});var aC=h((ZG,HG)=>{(function(){var e,t,r,n=function(a,o){for(var s in o)i.call(o,s)&&(a[s]=o[s]);function l(){this.constructor=a}return l.prototype=o.prototype,a.prototype=new l,a.__super__=o.prototype,a},i={}.hasOwnProperty;r=qi(),e=lr(),HG.exports=t=function(a){n(o,a);function o(s){o.__super__.constructor.call(this,s),this.type=e.Dummy}return o.prototype.clone=function(){return Object.create(this)},o.prototype.toString=function(s){return""},o}(r)}).call(ZG)});var KG=h((GG,JG)=>{(function(){var e;JG.exports=e=function(){function t(r){this.nodes=r}return Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.item=function(r){return this.nodes[r]||null},t}()}).call(GG)});var QG=h((XG,YG)=>{(function(){YG.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(XG)});var qi=h((eJ,tJ)=>{(function(){var e,t,r,n,i,a,o,s,l,c,u,d,f,p,m,y,v,S,E,w={}.hasOwnProperty;E=Yo(),S=E.isObject,v=E.isFunction,y=E.isEmpty,m=E.getValue,s=null,r=null,n=null,i=null,a=null,f=null,p=null,d=null,o=null,t=null,u=null,l=null,e=null,tJ.exports=c=function(){function _(b){this.parent=b,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,s||(s=N4(),r=j4(),n=P4(),i=M4(),a=z4(),f=q4(),p=B4(),d=V4(),o=aC(),t=lr(),u=KG(),l=k4(),e=QG())}return Object.defineProperty(_.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(_.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(_.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(_.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(_.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new u(this.children)),this.childNodeList}}),Object.defineProperty(_.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(_.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(_.prototype,"previousSibling",{get:function(){var b;return b=this.parent.children.indexOf(this),this.parent.children[b-1]||null}}),Object.defineProperty(_.prototype,"nextSibling",{get:function(){var b;return b=this.parent.children.indexOf(this),this.parent.children[b+1]||null}}),Object.defineProperty(_.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(_.prototype,"textContent",{get:function(){var b,A,j,P,T;if(this.nodeType===t.Element||this.nodeType===t.DocumentFragment){for(T="",P=this.children,A=0,j=P.length;A<j;A++)b=P[A],b.textContent&&(T+=b.textContent);return T}else return null},set:function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),_.prototype.setParent=function(b){var A,j,P,T,N;for(this.parent=b,b&&(this.options=b.options,this.stringify=b.stringify),T=this.children,N=[],j=0,P=T.length;j<P;j++)A=T[j],N.push(A.setParent(this));return N},_.prototype.element=function(b,A,j){var P,T,N,k,B,$,K,ae,ne,re,ce;if($=null,A===null&&j==null&&(ne=[{},null],A=ne[0],j=ne[1]),A==null&&(A={}),A=m(A),S(A)||(re=[A,j],j=re[0],A=re[1]),b!=null&&(b=m(b)),Array.isArray(b))for(N=0,K=b.length;N<K;N++)T=b[N],$=this.element(T);else if(v(b))$=this.element(b.apply());else if(S(b)){for(B in b)if(w.call(b,B))if(ce=b[B],v(ce)&&(ce=ce.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&B.indexOf(this.stringify.convertAttKey)===0)$=this.attribute(B.substr(this.stringify.convertAttKey.length),ce);else if(!this.options.separateArrayItems&&Array.isArray(ce)&&y(ce))$=this.dummy();else if(S(ce)&&y(ce))$=this.element(B);else if(!this.options.keepNullNodes&&ce==null)$=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(ce))for(k=0,ae=ce.length;k<ae;k++)T=ce[k],P={},P[B]=T,$=this.element(P);else S(ce)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&B.indexOf(this.stringify.convertTextKey)===0?$=this.element(ce):($=this.element(B),$.element(ce)):$=this.element(B,ce)}else!this.options.keepNullNodes&&j===null?$=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&b.indexOf(this.stringify.convertTextKey)===0?$=this.text(j):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&b.indexOf(this.stringify.convertCDataKey)===0?$=this.cdata(j):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&b.indexOf(this.stringify.convertCommentKey)===0?$=this.comment(j):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&b.indexOf(this.stringify.convertRawKey)===0?$=this.raw(j):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&b.indexOf(this.stringify.convertPIKey)===0?$=this.instruction(b.substr(this.stringify.convertPIKey.length),j):$=this.node(b,A,j);if($==null)throw new Error("Could not create any elements with: "+b+". "+this.debugInfo());return $},_.prototype.insertBefore=function(b,A,j){var P,T,N,k,B;if(b?.type)return N=b,k=A,N.setParent(this),k?(T=children.indexOf(k),B=children.splice(T),children.push(N),Array.prototype.push.apply(children,B)):children.push(N),N;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return T=this.parent.children.indexOf(this),B=this.parent.children.splice(T),P=this.parent.element(b,A,j),Array.prototype.push.apply(this.parent.children,B),P},_.prototype.insertAfter=function(b,A,j){var P,T,N;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(b));return T=this.parent.children.indexOf(this),N=this.parent.children.splice(T+1),P=this.parent.element(b,A,j),Array.prototype.push.apply(this.parent.children,N),P},_.prototype.remove=function(){var b,A;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return b=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[b,b-b+1].concat(A=[])),this.parent},_.prototype.node=function(b,A,j){var P,T;return b!=null&&(b=m(b)),A||(A={}),A=m(A),S(A)||(T=[A,j],j=T[0],A=T[1]),P=new s(this,b,A),j!=null&&P.text(j),this.children.push(P),P},_.prototype.text=function(b){var A;return S(b)&&this.element(b),A=new p(this,b),this.children.push(A),this},_.prototype.cdata=function(b){var A;return A=new r(this,b),this.children.push(A),this},_.prototype.comment=function(b){var A;return A=new n(this,b),this.children.push(A),this},_.prototype.commentBefore=function(b){var A,j,P;return j=this.parent.children.indexOf(this),P=this.parent.children.splice(j),A=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,P),this},_.prototype.commentAfter=function(b){var A,j,P;return j=this.parent.children.indexOf(this),P=this.parent.children.splice(j+1),A=this.parent.comment(b),Array.prototype.push.apply(this.parent.children,P),this},_.prototype.raw=function(b){var A;return A=new f(this,b),this.children.push(A),this},_.prototype.dummy=function(){var b;return b=new o(this),b},_.prototype.instruction=function(b,A){var j,P,T,N,k;if(b!=null&&(b=m(b)),A!=null&&(A=m(A)),Array.isArray(b))for(N=0,k=b.length;N<k;N++)j=b[N],this.instruction(j);else if(S(b))for(j in b)w.call(b,j)&&(P=b[j],this.instruction(j,P));else v(A)&&(A=A.apply()),T=new d(this,b,A),this.children.push(T);return this},_.prototype.instructionBefore=function(b,A){var j,P,T;return P=this.parent.children.indexOf(this),T=this.parent.children.splice(P),j=this.parent.instruction(b,A),Array.prototype.push.apply(this.parent.children,T),this},_.prototype.instructionAfter=function(b,A){var j,P,T;return P=this.parent.children.indexOf(this),T=this.parent.children.splice(P+1),j=this.parent.instruction(b,A),Array.prototype.push.apply(this.parent.children,T),this},_.prototype.declaration=function(b,A,j){var P,T;return P=this.document(),T=new i(P,b,A,j),P.children.length===0?P.children.unshift(T):P.children[0].type===t.Declaration?P.children[0]=T:P.children.unshift(T),P.root()||P},_.prototype.dtd=function(b,A){var j,P,T,N,k,B,$,K,ae,ne;for(P=this.document(),T=new a(P,b,A),ae=P.children,N=k=0,$=ae.length;k<$;N=++k)if(j=ae[N],j.type===t.DocType)return P.children[N]=T,T;for(ne=P.children,N=B=0,K=ne.length;B<K;N=++B)if(j=ne[N],j.isRoot)return P.children.splice(N,0,T),T;return P.children.push(T),T},_.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},_.prototype.root=function(){var b;for(b=this;b;){if(b.type===t.Document)return b.rootObject;if(b.isRoot)return b;b=b.parent}},_.prototype.document=function(){var b;for(b=this;b;){if(b.type===t.Document)return b;b=b.parent}},_.prototype.end=function(b){return this.document().end(b)},_.prototype.prev=function(){var b;if(b=this.parent.children.indexOf(this),b<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[b-1]},_.prototype.next=function(){var b;if(b=this.parent.children.indexOf(this),b===-1||b===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[b+1]},_.prototype.importDocument=function(b){var A;return A=b.root().clone(),A.parent=this,A.isRoot=!1,this.children.push(A),this},_.prototype.debugInfo=function(b){var A,j;return b=b||this.name,b==null&&!((A=this.parent)!=null&&A.name)?"":b==null?"parent: <"+this.parent.name+">":(j=this.parent)!=null&&j.name?"node: <"+b+">, parent: <"+this.parent.name+">":"node: <"+b+">"},_.prototype.ele=function(b,A,j){return this.element(b,A,j)},_.prototype.nod=function(b,A,j){return this.node(b,A,j)},_.prototype.txt=function(b){return this.text(b)},_.prototype.dat=function(b){return this.cdata(b)},_.prototype.com=function(b){return this.comment(b)},_.prototype.ins=function(b,A){return this.instruction(b,A)},_.prototype.doc=function(){return this.document()},_.prototype.dec=function(b,A,j){return this.declaration(b,A,j)},_.prototype.e=function(b,A,j){return this.element(b,A,j)},_.prototype.n=function(b,A,j){return this.node(b,A,j)},_.prototype.t=function(b){return this.text(b)},_.prototype.d=function(b){return this.cdata(b)},_.prototype.c=function(b){return this.comment(b)},_.prototype.r=function(b){return this.raw(b)},_.prototype.i=function(b,A){return this.instruction(b,A)},_.prototype.u=function(){return this.up()},_.prototype.importXMLBuilder=function(b){return this.importDocument(b)},_.prototype.replaceChild=function(b,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.removeChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.appendChild=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.hasChildNodes=function(){return this.children.length!==0},_.prototype.cloneNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.isSupported=function(b,A){return!0},_.prototype.hasAttributes=function(){return this.attribs.length!==0},_.prototype.compareDocumentPosition=function(b){var A,j;return A=this,A===b?0:this.document()!==b.document()?(j=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?j|=e.Preceding:j|=e.Following,j):A.isAncestor(b)?e.Contains|e.Preceding:A.isDescendant(b)?e.Contains|e.Following:A.isPreceding(b)?e.Preceding:e.Following},_.prototype.isSameNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.lookupPrefix=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.isDefaultNamespace=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.lookupNamespaceURI=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.isEqualNode=function(b){var A,j,P;if(b.nodeType!==this.nodeType||b.children.length!==this.children.length)return!1;for(A=j=0,P=this.children.length-1;0<=P?j<=P:j>=P;A=0<=P?++j:--j)if(!this.children[A].isEqualNode(b.children[A]))return!1;return!0},_.prototype.getFeature=function(b,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.setUserData=function(b,A,j){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.getUserData=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},_.prototype.contains=function(b){return b?b===this||this.isDescendant(b):!1},_.prototype.isDescendant=function(b){var A,j,P,T,N;for(N=this.children,P=0,T=N.length;P<T;P++)if(A=N[P],b===A||(j=A.isDescendant(b),j))return!0;return!1},_.prototype.isAncestor=function(b){return b.isDescendant(this)},_.prototype.isPreceding=function(b){var A,j;return A=this.treePosition(b),j=this.treePosition(this),A===-1||j===-1?!1:A<j},_.prototype.isFollowing=function(b){var A,j;return A=this.treePosition(b),j=this.treePosition(this),A===-1||j===-1?!1:A>j},_.prototype.treePosition=function(b){var A,j;return j=0,A=!1,this.foreachTreeNode(this.document(),function(P){if(j++,!A&&P===b)return A=!0}),A?j:-1},_.prototype.foreachTreeNode=function(b,A){var j,P,T,N,k;for(b||(b=this.document()),N=b.children,P=0,T=N.length;P<T;P++){if(j=N[P],k=A(j))return k;if(k=this.foreachTreeNode(j,A),k)return k}},_}()}).call(eJ)});var oC=h((rJ,nJ)=>{(function(){var e,t=function(n,i){return function(){return n.apply(i,arguments)}},r={}.hasOwnProperty;nJ.exports=e=function(){function n(i){this.assertLegalName=t(this.assertLegalName,this),this.assertLegalChar=t(this.assertLegalChar,this);var a,o,s;i||(i={}),this.options=i,this.options.version||(this.options.version="1.0"),o=i.stringify||{};for(a in o)r.call(o,a)&&(s=o[a],this[a]=s)}return n.prototype.name=function(i){return this.options.noValidation?i:this.assertLegalName(""+i||"")},n.prototype.text=function(i){return this.options.noValidation?i:this.assertLegalChar(this.textEscape(""+i||""))},n.prototype.cdata=function(i){return this.options.noValidation?i:(i=""+i||"",i=i.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(i))},n.prototype.comment=function(i){if(this.options.noValidation)return i;if(i=""+i||"",i.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+i);return this.assertLegalChar(i)},n.prototype.raw=function(i){return this.options.noValidation?i:""+i||""},n.prototype.attValue=function(i){return this.options.noValidation?i:this.assertLegalChar(this.attEscape(i=""+i||""))},n.prototype.insTarget=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.insValue=function(i){if(this.options.noValidation)return i;if(i=""+i||"",i.match(/\?>/))throw new Error("Invalid processing instruction value: "+i);return this.assertLegalChar(i)},n.prototype.xmlVersion=function(i){if(this.options.noValidation)return i;if(i=""+i||"",!i.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+i);return i},n.prototype.xmlEncoding=function(i){if(this.options.noValidation)return i;if(i=""+i||"",!i.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+i);return this.assertLegalChar(i)},n.prototype.xmlStandalone=function(i){return this.options.noValidation?i:i?"yes":"no"},n.prototype.dtdPubID=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdSysID=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdElementValue=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdAttType=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdAttDefault=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdEntityValue=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.dtdNData=function(i){return this.options.noValidation?i:this.assertLegalChar(""+i||"")},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(i){var a,o;if(this.options.noValidation)return i;if(a="",this.options.version==="1.0"){if(a=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=i.match(a))throw new Error("Invalid character in string: "+i+" at index "+o.index)}else if(this.options.version==="1.1"&&(a=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=i.match(a)))throw new Error("Invalid character in string: "+i+" at index "+o.index);return i},n.prototype.assertLegalName=function(i){var a;if(this.options.noValidation)return i;if(this.assertLegalChar(i),a=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!i.match(a))throw new Error("Invalid character in name");return i},n.prototype.textEscape=function(i){var a;return this.options.noValidation?i:(a=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(a,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},n.prototype.attEscape=function(i){var a;return this.options.noValidation?i:(a=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(a,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},n}()}).call(rJ)});var Cg=h((iJ,aJ)=>{(function(){aJ.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(iJ)});var sC=h((oJ,sJ)=>{(function(){var e,t,r,n,i,a,o,s,l,c,u,d,f,p,m,y,v,S={}.hasOwnProperty;v=Yo().assign,e=lr(),l=M4(),c=z4(),r=j4(),n=P4(),d=N4(),p=q4(),m=B4(),f=V4(),u=aC(),i=R4(),a=$4(),o=F4(),s=U4(),t=Cg(),sJ.exports=y=function(){function E(w){var _,b,A;w||(w={}),this.options=w,b=w.writer||{};for(_ in b)S.call(b,_)&&(A=b[_],this["_"+_]=this[_],this[_]=A)}return E.prototype.filterOptions=function(w){var _,b,A,j,P,T,N,k;return w||(w={}),w=v({},this.options,w),_={writer:this},_.pretty=w.pretty||!1,_.allowEmpty=w.allowEmpty||!1,_.indent=(b=w.indent)!=null?b:" ",_.newline=(A=w.newline)!=null?A:`
|
||
`,_.offset=(j=w.offset)!=null?j:0,_.dontPrettyTextNodes=(P=(T=w.dontPrettyTextNodes)!=null?T:w.dontprettytextnodes)!=null?P:0,_.spaceBeforeSlash=(N=(k=w.spaceBeforeSlash)!=null?k:w.spacebeforeslash)!=null?N:"",_.spaceBeforeSlash===!0&&(_.spaceBeforeSlash=" "),_.suppressPrettyCount=0,_.user={},_.state=t.None,_},E.prototype.indent=function(w,_,b){var A;return!_.pretty||_.suppressPrettyCount?"":_.pretty&&(A=(b||0)+_.offset+1,A>0)?new Array(A).join(_.indent):""},E.prototype.endline=function(w,_,b){return!_.pretty||_.suppressPrettyCount?"":_.newline},E.prototype.attribute=function(w,_,b){var A;return this.openAttribute(w,_,b),A=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,_,b),A},E.prototype.cdata=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<![CDATA[",_.state=t.InsideTag,A+=w.value,_.state=t.CloseTag,A+="]]>"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.comment=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<!-- ",_.state=t.InsideTag,A+=w.value,_.state=t.CloseTag,A+=" -->"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.declaration=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<?xml",_.state=t.InsideTag,A+=' version="'+w.version+'"',w.encoding!=null&&(A+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(A+=' standalone="'+w.standalone+'"'),_.state=t.CloseTag,A+=_.spaceBeforeSlash+"?>",A+=this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.docType=function(w,_,b){var A,j,P,T,N;if(b||(b=0),this.openNode(w,_,b),_.state=t.OpenTag,T=this.indent(w,_,b),T+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?T+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(T+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(T+=" [",T+=this.endline(w,_,b),_.state=t.InsideTag,N=w.children,j=0,P=N.length;j<P;j++)A=N[j],T+=this.writeChildNode(A,_,b+1);_.state=t.CloseTag,T+="]"}return _.state=t.CloseTag,T+=_.spaceBeforeSlash+">",T+=this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),T},E.prototype.element=function(w,_,b){var A,j,P,T,N,k,B,$,K,ae,ne,re,ce,_e;b||(b=0),ae=!1,ne="",this.openNode(w,_,b),_.state=t.OpenTag,ne+=this.indent(w,_,b)+"<"+w.name,re=w.attribs;for(K in re)S.call(re,K)&&(A=re[K],ne+=this.attribute(A,_,b));if(P=w.children.length,T=P===0?null:w.children[0],P===0||w.children.every(function(We){return(We.type===e.Text||We.type===e.Raw)&&We.value===""}))_.allowEmpty?(ne+=">",_.state=t.CloseTag,ne+="</"+w.name+">"+this.endline(w,_,b)):(_.state=t.CloseTag,ne+=_.spaceBeforeSlash+"/>"+this.endline(w,_,b));else if(_.pretty&&P===1&&(T.type===e.Text||T.type===e.Raw)&&T.value!=null)ne+=">",_.state=t.InsideTag,_.suppressPrettyCount++,ae=!0,ne+=this.writeChildNode(T,_,b+1),_.suppressPrettyCount--,ae=!1,_.state=t.CloseTag,ne+="</"+w.name+">"+this.endline(w,_,b);else{if(_.dontPrettyTextNodes){for(ce=w.children,N=0,B=ce.length;N<B;N++)if(j=ce[N],(j.type===e.Text||j.type===e.Raw)&&j.value!=null){_.suppressPrettyCount++,ae=!0;break}}for(ne+=">"+this.endline(w,_,b),_.state=t.InsideTag,_e=w.children,k=0,$=_e.length;k<$;k++)j=_e[k],ne+=this.writeChildNode(j,_,b+1);_.state=t.CloseTag,ne+=this.indent(w,_,b)+"</"+w.name+">",ae&&_.suppressPrettyCount--,ne+=this.endline(w,_,b),_.state=t.None}return this.closeNode(w,_,b),ne},E.prototype.writeChildNode=function(w,_,b){switch(w.type){case e.CData:return this.cdata(w,_,b);case e.Comment:return this.comment(w,_,b);case e.Element:return this.element(w,_,b);case e.Raw:return this.raw(w,_,b);case e.Text:return this.text(w,_,b);case e.ProcessingInstruction:return this.processingInstruction(w,_,b);case e.Dummy:return"";case e.Declaration:return this.declaration(w,_,b);case e.DocType:return this.docType(w,_,b);case e.AttributeDeclaration:return this.dtdAttList(w,_,b);case e.ElementDeclaration:return this.dtdElement(w,_,b);case e.EntityDeclaration:return this.dtdEntity(w,_,b);case e.NotationDeclaration:return this.dtdNotation(w,_,b);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},E.prototype.processingInstruction=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<?",_.state=t.InsideTag,A+=w.target,w.value&&(A+=" "+w.value),_.state=t.CloseTag,A+=_.spaceBeforeSlash+"?>",A+=this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.raw=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b),_.state=t.InsideTag,A+=w.value,_.state=t.CloseTag,A+=this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.text=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b),_.state=t.InsideTag,A+=w.value,_.state=t.CloseTag,A+=this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.dtdAttList=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<!ATTLIST",_.state=t.InsideTag,A+=" "+w.elementName+" "+w.attributeName+" "+w.attributeType,w.defaultValueType!=="#DEFAULT"&&(A+=" "+w.defaultValueType),w.defaultValue&&(A+=' "'+w.defaultValue+'"'),_.state=t.CloseTag,A+=_.spaceBeforeSlash+">"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.dtdElement=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<!ELEMENT",_.state=t.InsideTag,A+=" "+w.name+" "+w.value,_.state=t.CloseTag,A+=_.spaceBeforeSlash+">"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.dtdEntity=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<!ENTITY",_.state=t.InsideTag,w.pe&&(A+=" %"),A+=" "+w.name,w.value?A+=' "'+w.value+'"':(w.pubID&&w.sysID?A+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(A+=' SYSTEM "'+w.sysID+'"'),w.nData&&(A+=" NDATA "+w.nData)),_.state=t.CloseTag,A+=_.spaceBeforeSlash+">"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.dtdNotation=function(w,_,b){var A;return this.openNode(w,_,b),_.state=t.OpenTag,A=this.indent(w,_,b)+"<!NOTATION",_.state=t.InsideTag,A+=" "+w.name,w.pubID&&w.sysID?A+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.pubID?A+=' PUBLIC "'+w.pubID+'"':w.sysID&&(A+=' SYSTEM "'+w.sysID+'"'),_.state=t.CloseTag,A+=_.spaceBeforeSlash+">"+this.endline(w,_,b),_.state=t.None,this.closeNode(w,_,b),A},E.prototype.openNode=function(w,_,b){},E.prototype.closeNode=function(w,_,b){},E.prototype.openAttribute=function(w,_,b){},E.prototype.closeAttribute=function(w,_,b){},E}()}).call(oJ)});var W4=h((lJ,cJ)=>{(function(){var e,t,r=function(i,a){for(var o in a)n.call(a,o)&&(i[o]=a[o]);function s(){this.constructor=i}return s.prototype=a.prototype,i.prototype=new s,i.__super__=a.prototype,i},n={}.hasOwnProperty;t=sC(),cJ.exports=e=function(i){r(a,i);function a(o){a.__super__.constructor.call(this,o)}return a.prototype.document=function(o,s){var l,c,u,d,f;for(s=this.filterOptions(s),d="",f=o.children,c=0,u=f.length;c<u;c++)l=f[c],d+=this.writeChildNode(l,s,0);return s.pretty&&d.slice(-s.newline.length)===s.newline&&(d=d.slice(0,-s.newline.length)),d},a}(t)}).call(lJ)});var lC=h((uJ,dJ)=>{(function(){var e,t,r,n,i,a,o,s,l=function(u,d){for(var f in d)c.call(d,f)&&(u[f]=d[f]);function p(){this.constructor=u}return p.prototype=d.prototype,u.prototype=new p,u.__super__=d.prototype,u},c={}.hasOwnProperty;s=Yo().isPlainObject,r=nC(),t=fG(),i=qi(),e=lr(),o=oC(),a=W4(),dJ.exports=n=function(u){l(d,u);function d(f){d.__super__.constructor.call(this,null),this.name="#document",this.type=e.Document,this.documentURI=null,this.domConfig=new t,f||(f={}),f.writer||(f.writer=new a),this.options=f,this.stringify=new o(f)}return Object.defineProperty(d.prototype,"implementation",{value:new r}),Object.defineProperty(d.prototype,"doctype",{get:function(){var f,p,m,y;for(y=this.children,p=0,m=y.length;p<m;p++)if(f=y[p],f.type===e.DocType)return f;return null}}),Object.defineProperty(d.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(d.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===e.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(d.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(d.prototype,"origin",{get:function(){return null}}),Object.defineProperty(d.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(d.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(d.prototype,"contentType",{get:function(){return null}}),d.prototype.end=function(f){var p;return p={},f?s(f)&&(p=f,f=this.options.writer):f=this.options.writer,f.document(this,f.filterOptions(p))},d.prototype.toString=function(f){return this.options.writer.document(this,this.options.writer.filterOptions(f))},d.prototype.createElement=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTextNode=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createComment=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createCDATASection=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createProcessingInstruction=function(f,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttribute=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEntityReference=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagName=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.importNode=function(f,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createElementNS=function(f,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttributeNS=function(f,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagNameNS=function(f,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementById=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.adoptNode=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.renameNode=function(f,p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByClassName=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEvent=function(f){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createNodeIterator=function(f,p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTreeWalker=function(f,p,m){throw new Error("This DOM method is not implemented."+this.debugInfo())},d}(i)}).call(uJ)});var mJ=h((pJ,fJ)=>{(function(){var e,t,r,n,i,a,o,s,l,c,u,d,f,p,m,y,v,S,E,w,_,b,A,j,P={}.hasOwnProperty;j=Yo(),b=j.isObject,_=j.isFunction,A=j.isPlainObject,w=j.getValue,e=lr(),d=lC(),p=N4(),n=j4(),i=P4(),y=q4(),E=B4(),m=V4(),c=M4(),u=z4(),a=R4(),s=F4(),o=$4(),l=U4(),r=iC(),S=oC(),v=W4(),t=Cg(),fJ.exports=f=function(){function T(N,k,B){var $;this.name="?xml",this.type=e.Document,N||(N={}),$={},N.writer?A(N.writer)&&($=N.writer,N.writer=new v):N.writer=new v,this.options=N,this.writer=N.writer,this.writerOptions=this.writer.filterOptions($),this.stringify=new S(N),this.onDataCallback=k||function(){},this.onEndCallback=B||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return T.prototype.createChildNode=function(N){var k,B,$,K,ae,ne,re,ce;switch(N.type){case e.CData:this.cdata(N.value);break;case e.Comment:this.comment(N.value);break;case e.Element:$={},re=N.attribs;for(B in re)P.call(re,B)&&(k=re[B],$[B]=k.value);this.node(N.name,$);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(N.value);break;case e.Text:this.text(N.value);break;case e.ProcessingInstruction:this.instruction(N.target,N.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+N.constructor.name)}for(ce=N.children,ae=0,ne=ce.length;ae<ne;ae++)K=ce[ae],this.createChildNode(K),K.type===e.Element&&this.up();return this},T.prototype.dummy=function(){return this},T.prototype.node=function(N,k,B){var $;if(N==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(N));return this.openCurrent(),N=w(N),k==null&&(k={}),k=w(k),b(k)||($=[k,B],B=$[0],k=$[1]),this.currentNode=new p(this,N,k),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,B!=null&&this.text(B),this},T.prototype.element=function(N,k,B){var $,K,ae,ne,re,ce;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(N)||b(N)||_(N))for(ne=this.options.noValidation,this.options.noValidation=!0,ce=new d(this.options).element("TEMP_ROOT"),ce.element(N),this.options.noValidation=ne,re=ce.children,K=0,ae=re.length;K<ae;K++)$=re[K],this.createChildNode($),$.type===e.Element&&this.up();else this.node(N,k,B);return this},T.prototype.attribute=function(N,k){var B,$;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(N));if(N!=null&&(N=w(N)),b(N))for(B in N)P.call(N,B)&&($=N[B],this.attribute(B,$));else _(k)&&(k=k.apply()),this.options.keepNullAttributes&&k==null?this.currentNode.attribs[N]=new r(this,N,""):k!=null&&(this.currentNode.attribs[N]=new r(this,N,k));return this},T.prototype.text=function(N){var k;return this.openCurrent(),k=new E(this,N),this.onData(this.writer.text(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.cdata=function(N){var k;return this.openCurrent(),k=new n(this,N),this.onData(this.writer.cdata(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.comment=function(N){var k;return this.openCurrent(),k=new i(this,N),this.onData(this.writer.comment(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.raw=function(N){var k;return this.openCurrent(),k=new y(this,N),this.onData(this.writer.raw(k,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.instruction=function(N,k){var B,$,K,ae,ne;if(this.openCurrent(),N!=null&&(N=w(N)),k!=null&&(k=w(k)),Array.isArray(N))for(B=0,ae=N.length;B<ae;B++)$=N[B],this.instruction($);else if(b(N))for($ in N)P.call(N,$)&&(K=N[$],this.instruction($,K));else _(k)&&(k=k.apply()),ne=new m(this,N,k),this.onData(this.writer.processingInstruction(ne,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},T.prototype.declaration=function(N,k,B){var $;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return $=new c(this,N,k,B),this.onData(this.writer.declaration($,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.doctype=function(N,k,B){if(this.openCurrent(),N==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new u(this,k,B),this.currentNode.rootNodeName=N,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},T.prototype.dtdElement=function(N,k){var B;return this.openCurrent(),B=new o(this,N,k),this.onData(this.writer.dtdElement(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.attList=function(N,k,B,$,K){var ae;return this.openCurrent(),ae=new a(this,N,k,B,$,K),this.onData(this.writer.dtdAttList(ae,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.entity=function(N,k){var B;return this.openCurrent(),B=new s(this,!1,N,k),this.onData(this.writer.dtdEntity(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.pEntity=function(N,k){var B;return this.openCurrent(),B=new s(this,!0,N,k),this.onData(this.writer.dtdEntity(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.notation=function(N,k){var B;return this.openCurrent(),B=new l(this,N,k),this.onData(this.writer.dtdNotation(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},T.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},T.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},T.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},T.prototype.openNode=function(N){var k,B,$,K;if(!N.isOpen){if(!this.root&&this.currentLevel===0&&N.type===e.Element&&(this.root=N),B="",N.type===e.Element){this.writerOptions.state=t.OpenTag,B=this.writer.indent(N,this.writerOptions,this.currentLevel)+"<"+N.name,K=N.attribs;for($ in K)P.call(K,$)&&(k=K[$],B+=this.writer.attribute(k,this.writerOptions,this.currentLevel));B+=(N.children?">":"/>")+this.writer.endline(N,this.writerOptions,this.currentLevel),this.writerOptions.state=t.InsideTag}else this.writerOptions.state=t.OpenTag,B=this.writer.indent(N,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+N.rootNodeName,N.pubID&&N.sysID?B+=' PUBLIC "'+N.pubID+'" "'+N.sysID+'"':N.sysID&&(B+=' SYSTEM "'+N.sysID+'"'),N.children?(B+=" [",this.writerOptions.state=t.InsideTag):(this.writerOptions.state=t.CloseTag,B+=">"),B+=this.writer.endline(N,this.writerOptions,this.currentLevel);return this.onData(B,this.currentLevel),N.isOpen=!0}},T.prototype.closeNode=function(N){var k;if(!N.isClosed)return k="",this.writerOptions.state=t.CloseTag,N.type===e.Element?k=this.writer.indent(N,this.writerOptions,this.currentLevel)+"</"+N.name+">"+this.writer.endline(N,this.writerOptions,this.currentLevel):k=this.writer.indent(N,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(N,this.writerOptions,this.currentLevel),this.writerOptions.state=t.None,this.onData(k,this.currentLevel),N.isClosed=!0},T.prototype.onData=function(N,k){return this.documentStarted=!0,this.onDataCallback(N,k+1)},T.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},T.prototype.debugInfo=function(N){return N==null?"":"node: <"+N+">"},T.prototype.ele=function(){return this.element.apply(this,arguments)},T.prototype.nod=function(N,k,B){return this.node(N,k,B)},T.prototype.txt=function(N){return this.text(N)},T.prototype.dat=function(N){return this.cdata(N)},T.prototype.com=function(N){return this.comment(N)},T.prototype.ins=function(N,k){return this.instruction(N,k)},T.prototype.dec=function(N,k,B){return this.declaration(N,k,B)},T.prototype.dtd=function(N,k,B){return this.doctype(N,k,B)},T.prototype.e=function(N,k,B){return this.element(N,k,B)},T.prototype.n=function(N,k,B){return this.node(N,k,B)},T.prototype.t=function(N){return this.text(N)},T.prototype.d=function(N){return this.cdata(N)},T.prototype.c=function(N){return this.comment(N)},T.prototype.r=function(N){return this.raw(N)},T.prototype.i=function(N,k){return this.instruction(N,k)},T.prototype.att=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},T.prototype.a=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},T.prototype.ent=function(N,k){return this.entity(N,k)},T.prototype.pent=function(N,k){return this.pEntity(N,k)},T.prototype.not=function(N,k){return this.notation(N,k)},T}()}).call(pJ)});var yJ=h((hJ,gJ)=>{(function(){var e,t,r,n,i=function(o,s){for(var l in s)a.call(s,l)&&(o[l]=s[l]);function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},a={}.hasOwnProperty;e=lr(),n=sC(),t=Cg(),gJ.exports=r=function(o){i(s,o);function s(l,c){this.stream=l,s.__super__.constructor.call(this,c)}return s.prototype.endline=function(l,c,u){return l.isLastRootNode&&c.state===t.CloseTag?"":s.__super__.endline.call(this,l,c,u)},s.prototype.document=function(l,c){var u,d,f,p,m,y,v,S,E;for(v=l.children,d=f=0,m=v.length;f<m;d=++f)u=v[d],u.isLastRootNode=d===l.children.length-1;for(c=this.filterOptions(c),S=l.children,E=[],p=0,y=S.length;p<y;p++)u=S[p],E.push(this.writeChildNode(u,c,0));return E},s.prototype.attribute=function(l,c,u){return this.stream.write(s.__super__.attribute.call(this,l,c,u))},s.prototype.cdata=function(l,c,u){return this.stream.write(s.__super__.cdata.call(this,l,c,u))},s.prototype.comment=function(l,c,u){return this.stream.write(s.__super__.comment.call(this,l,c,u))},s.prototype.declaration=function(l,c,u){return this.stream.write(s.__super__.declaration.call(this,l,c,u))},s.prototype.docType=function(l,c,u){var d,f,p,m;if(u||(u=0),this.openNode(l,c,u),c.state=t.OpenTag,this.stream.write(this.indent(l,c,u)),this.stream.write("<!DOCTYPE "+l.root().name),l.pubID&&l.sysID?this.stream.write(' PUBLIC "'+l.pubID+'" "'+l.sysID+'"'):l.sysID&&this.stream.write(' SYSTEM "'+l.sysID+'"'),l.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(l,c,u)),c.state=t.InsideTag,m=l.children,f=0,p=m.length;f<p;f++)d=m[f],this.writeChildNode(d,c,u+1);c.state=t.CloseTag,this.stream.write("]")}return c.state=t.CloseTag,this.stream.write(c.spaceBeforeSlash+">"),this.stream.write(this.endline(l,c,u)),c.state=t.None,this.closeNode(l,c,u)},s.prototype.element=function(l,c,u){var d,f,p,m,y,v,S,E,w,_;u||(u=0),this.openNode(l,c,u),c.state=t.OpenTag,this.stream.write(this.indent(l,c,u)+"<"+l.name),w=l.attribs;for(S in w)a.call(w,S)&&(d=w[S],this.attribute(d,c,u));if(p=l.children.length,m=p===0?null:l.children[0],p===0||l.children.every(function(b){return(b.type===e.Text||b.type===e.Raw)&&b.value===""}))c.allowEmpty?(this.stream.write(">"),c.state=t.CloseTag,this.stream.write("</"+l.name+">")):(c.state=t.CloseTag,this.stream.write(c.spaceBeforeSlash+"/>"));else if(c.pretty&&p===1&&(m.type===e.Text||m.type===e.Raw)&&m.value!=null)this.stream.write(">"),c.state=t.InsideTag,c.suppressPrettyCount++,E=!0,this.writeChildNode(m,c,u+1),c.suppressPrettyCount--,E=!1,c.state=t.CloseTag,this.stream.write("</"+l.name+">");else{for(this.stream.write(">"+this.endline(l,c,u)),c.state=t.InsideTag,_=l.children,y=0,v=_.length;y<v;y++)f=_[y],this.writeChildNode(f,c,u+1);c.state=t.CloseTag,this.stream.write(this.indent(l,c,u)+"</"+l.name+">")}return this.stream.write(this.endline(l,c,u)),c.state=t.None,this.closeNode(l,c,u)},s.prototype.processingInstruction=function(l,c,u){return this.stream.write(s.__super__.processingInstruction.call(this,l,c,u))},s.prototype.raw=function(l,c,u){return this.stream.write(s.__super__.raw.call(this,l,c,u))},s.prototype.text=function(l,c,u){return this.stream.write(s.__super__.text.call(this,l,c,u))},s.prototype.dtdAttList=function(l,c,u){return this.stream.write(s.__super__.dtdAttList.call(this,l,c,u))},s.prototype.dtdElement=function(l,c,u){return this.stream.write(s.__super__.dtdElement.call(this,l,c,u))},s.prototype.dtdEntity=function(l,c,u){return this.stream.write(s.__super__.dtdEntity.call(this,l,c,u))},s.prototype.dtdNotation=function(l,c,u){return this.stream.write(s.__super__.dtdNotation.call(this,l,c,u))},s}(n)}).call(hJ)});var vJ=h((bJ,hu)=>{(function(){var e,t,r,n,i,a,o,s,l,c;c=Yo(),s=c.assign,l=c.isFunction,r=nC(),n=lC(),i=mJ(),o=W4(),a=yJ(),e=lr(),t=Cg(),hu.exports.create=function(u,d,f,p){var m,y;if(u==null)throw new Error("Root element needs a name.");return p=s({},d,f,p),m=new n(p),y=m.element(u),p.headless||(m.declaration(p),(p.pubID!=null||p.sysID!=null)&&m.dtd(p)),y},hu.exports.begin=function(u,d,f){var p;return l(u)&&(p=[u,d],d=p[0],f=p[1],u={}),d?new i(u,d,f):new n(u)},hu.exports.stringWriter=function(u){return new o(u)},hu.exports.streamWriter=function(u,d){return new a(u,d)},hu.exports.implementation=new r,hu.exports.nodeType=e,hu.exports.writerState=t}).call(bJ)});var _J=h(cC=>{(function(){"use strict";var e,t,r,n,i,a={}.hasOwnProperty;e=vJ(),t=L4().defaults,n=function(o){return typeof o=="string"&&(o.indexOf("&")>=0||o.indexOf(">")>=0||o.indexOf("<")>=0)},i=function(o){return"<![CDATA["+r(o)+"]]>"},r=function(o){return o.replace("]]>","]]]]><![CDATA[>")},cC.Builder=function(){function o(s){var l,c,u;this.options={},c=t["0.2"];for(l in c)a.call(c,l)&&(u=c[l],this.options[l]=u);for(l in s)a.call(s,l)&&(u=s[l],this.options[l]=u)}return o.prototype.buildObject=function(s){var l,c,u,d,f;return l=this.options.attrkey,c=this.options.charkey,Object.keys(s).length===1&&this.options.rootName===t["0.2"].rootName?(f=Object.keys(s)[0],s=s[f]):f=this.options.rootName,u=function(p){return function(m,y){var v,S,E,w,_,b;if(typeof y!="object")p.options.cdata&&n(y)?m.raw(i(y)):m.txt(y);else if(Array.isArray(y)){for(w in y)if(a.call(y,w)){S=y[w];for(_ in S)E=S[_],m=u(m.ele(_),E).up()}}else for(_ in y)if(a.call(y,_))if(S=y[_],_===l){if(typeof S=="object")for(v in S)b=S[v],m=m.att(v,b)}else if(_===c)p.options.cdata&&n(S)?m=m.raw(i(S)):m=m.txt(S);else if(Array.isArray(S))for(w in S)a.call(S,w)&&(E=S[w],typeof E=="string"?p.options.cdata&&n(E)?m=m.ele(_).raw(i(E)).up():m=m.ele(_,E).up():m=u(m.ele(_),E).up());else typeof S=="object"?m=u(m.ele(_),S).up():typeof S=="string"&&p.options.cdata&&n(S)?m=m.ele(_).raw(i(S)).up():(S==null&&(S=""),m=m.ele(_,S.toString()).up());return m}}(this),d=e.create(f,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),u(d,s).end(this.options.renderOpts)},o}()}).call(cC)});var wJ=h(Z4=>{(function(e){e.parser=function(D,I){return new r(D,I)},e.SAXParser=r,e.SAXStream=u,e.createStream=l,e.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function r(D,I){if(!(this instanceof r))return new r(D,I);var W=this;i(W),W.q=W.c="",W.bufferCheckPosition=e.MAX_BUFFER_LENGTH,W.encoding=null,W.opt=I||{},W.opt.lowercase=W.opt.lowercase||W.opt.lowercasetags,W.looseCase=W.opt.lowercase?"toLowerCase":"toUpperCase",W.opt.maxEntityCount=W.opt.maxEntityCount||512,W.opt.maxEntityDepth=W.opt.maxEntityDepth||4,W.entityCount=W.entityDepth=0,W.tags=[],W.closed=W.closedRoot=W.sawRoot=!1,W.tag=W.error=null,W.strict=!!D,W.noscript=!!(D||W.opt.noscript),W.state=T.BEGIN,W.strictEntities=W.opt.strictEntities,W.ENTITIES=W.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),W.attribList=[],W.opt.xmlns&&(W.ns=Object.create(y)),W.opt.unquotedAttributeValues===void 0&&(W.opt.unquotedAttributeValues=!D),W.trackPosition=W.opt.position!==!1,W.trackPosition&&(W.position=W.line=W.column=0),k(W,"onready")}Object.create||(Object.create=function(D){function I(){}I.prototype=D;var W=new I;return W}),Object.keys||(Object.keys=function(D){var I=[];for(var W in D)D.hasOwnProperty(W)&&I.push(W);return I});function n(D){for(var I=Math.max(e.MAX_BUFFER_LENGTH,10),W=0,q=0,ot=t.length;q<ot;q++){var Ut=D[t[q]].length;if(Ut>I)switch(t[q]){case"textNode":re(D);break;case"cdata":ne(D,"oncdata",D.cdata),D.cdata="";break;case"script":ne(D,"onscript",D.script),D.script="";break;default:_e(D,"Max buffer length exceeded: "+t[q])}W=Math.max(W,Ut)}var ir=e.MAX_BUFFER_LENGTH-W;D.bufferCheckPosition=ir+D.position}function i(D){for(var I=0,W=t.length;I<W;I++)D[t[I]]=""}function a(D){re(D),D.cdata!==""&&(ne(D,"oncdata",D.cdata),D.cdata=""),D.script!==""&&(ne(D,"onscript",D.script),D.script="")}r.prototype={end:function(){We(this)},write:t9,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};var o;try{o=require("stream").Stream}catch{o=function(){}}o||(o=function(){});var s=e.EVENTS.filter(function(D){return D!=="error"&&D!=="end"});function l(D,I){return new u(D,I)}function c(D,I){if(D.length>=2){if(D[0]===255&&D[1]===254)return"utf-16le";if(D[0]===254&&D[1]===255)return"utf-16be"}return D.length>=3&&D[0]===239&&D[1]===187&&D[2]===191?"utf8":D.length>=4?D[0]===60&&D[1]===0&&D[2]===63&&D[3]===0?"utf-16le":D[0]===0&&D[1]===60&&D[2]===0&&D[3]===63?"utf-16be":"utf8":I?"utf8":null}function u(D,I){if(!(this instanceof u))return new u(D,I);o.apply(this),this._parser=new r(D,I),this.writable=!0,this.readable=!0;var W=this;this._parser.onend=function(){W.emit("end")},this._parser.onerror=function(q){W.emit("error",q),W._parser.error=null},this._decoder=null,this._decoderBuffer=null,s.forEach(function(q){Object.defineProperty(W,"on"+q,{get:function(){return W._parser["on"+q]},set:function(ot){if(!ot)return W.removeAllListeners(q),W._parser["on"+q]=ot,ot;W.on(q,ot)},enumerable:!0,configurable:!1})})}u.prototype=Object.create(o.prototype,{constructor:{value:u}}),u.prototype._decodeBuffer=function(D,I){if(this._decoderBuffer&&(D=Buffer.concat([this._decoderBuffer,D]),this._decoderBuffer=null),!this._decoder){var W=c(D,I);if(!W)return this._decoderBuffer=D,"";this._parser.encoding=W,this._decoder=new TextDecoder(W)}return this._decoder.decode(D,{stream:!I})},u.prototype.write=function(D){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(D))D=this._decodeBuffer(D,!1);else if(this._decoderBuffer){var I=this._decodeBuffer(Buffer.alloc(0),!0);I&&(this._parser.write(I),this.emit("data",I))}return this._parser.write(D.toString()),this.emit("data",D),!0},u.prototype.end=function(D){if(D&&D.length&&this.write(D),this._decoderBuffer){var I=this._decodeBuffer(Buffer.alloc(0),!0);I&&(this._parser.write(I),this.emit("data",I))}else if(this._decoder){var W=this._decoder.decode();W&&(this._parser.write(W),this.emit("data",W))}return this._parser.end(),!0},u.prototype.on=function(D,I){var W=this;return!W._parser["on"+D]&&s.indexOf(D)!==-1&&(W._parser["on"+D]=function(){var q=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);q.splice(0,0,D),W.emit.apply(W,q)}),o.prototype.on.call(W,D,I)};var d=/^\[CDATA\[$/i,f=/^DOCTYPE$/i,p="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",y={xml:p,xmlns:m},v=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,S=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,E=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,w=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function _(D){return D===" "||D===`
|
||
`||D==="\r"||D===" "}function b(D){return D==='"'||D==="'"}function A(D){return D===">"||_(D)}function j(D,I){return D.test(I)}function P(D,I){return!j(D,I)}var T=0;e.STATE={BEGIN:T++,BEGIN_WHITESPACE:T++,TEXT:T++,TEXT_ENTITY:T++,OPEN_WAKA:T++,SGML_DECL:T++,SGML_DECL_QUOTED:T++,DOCTYPE:T++,DOCTYPE_QUOTED:T++,DOCTYPE_DTD:T++,DOCTYPE_DTD_QUOTED:T++,COMMENT_STARTING:T++,COMMENT:T++,COMMENT_ENDING:T++,COMMENT_ENDED:T++,CDATA:T++,CDATA_ENDING:T++,CDATA_ENDING_2:T++,PROC_INST:T++,PROC_INST_BODY:T++,PROC_INST_ENDING:T++,OPEN_TAG:T++,OPEN_TAG_SLASH:T++,ATTRIB:T++,ATTRIB_NAME:T++,ATTRIB_NAME_SAW_WHITE:T++,ATTRIB_VALUE:T++,ATTRIB_VALUE_QUOTED:T++,ATTRIB_VALUE_CLOSED:T++,ATTRIB_VALUE_UNQUOTED:T++,ATTRIB_VALUE_ENTITY_Q:T++,ATTRIB_VALUE_ENTITY_U:T++,CLOSE_TAG:T++,CLOSE_TAG_SAW_WHITE:T++,SCRIPT:T++,SCRIPT_ENDING:T++},e.XML_ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'"}),e.ENTITIES=Object.assign(Object.create(null),{amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}),Object.keys(e.ENTITIES).forEach(function(D){var I=e.ENTITIES[D],W=typeof I=="number"?String.fromCharCode(I):I;e.ENTITIES[D]=W});for(var N in e.STATE)e.STATE[e.STATE[N]]=N;T=e.STATE;function k(D,I,W){D[I]&&D[I](W)}function B(D){var I=D&&D.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);return I?I[2]:null}function $(D){return D?D.toLowerCase().replace(/[^a-z0-9]/g,""):null}function K(D,I){let W=$(D),q=$(I);return!W||!q?!0:q==="utf16"?W==="utf16le"||W==="utf16be":W===q}function ae(D,I){if(!(!D.strict||!D.encoding||!I||I.name!=="xml")){var W=B(I.body);W&&!K(D.encoding,W)&&Me(D,"XML declaration encoding "+W+" does not match detected stream encoding "+D.encoding.toUpperCase())}}function ne(D,I,W){D.textNode&&re(D),k(D,I,W)}function re(D){D.textNode=ce(D.opt,D.textNode),D.textNode&&k(D,"ontext",D.textNode),D.textNode=""}function ce(D,I){return D.trim&&(I=I.trim()),D.normalize&&(I=I.replace(/\s+/g," ")),I}function _e(D,I){return re(D),D.trackPosition&&(I+=`
|
||
Line: `+D.line+`
|
||
Column: `+D.column+`
|
||
Char: `+D.c),I=new Error(I),D.error=I,k(D,"onerror",I),D}function We(D){return D.sawRoot&&!D.closedRoot&&Me(D,"Unclosed root tag"),D.state!==T.BEGIN&&D.state!==T.BEGIN_WHITESPACE&&D.state!==T.TEXT&&_e(D,"Unexpected end"),re(D),D.c="",D.closed=!0,k(D,"onend"),r.call(D,D.strict,D.opt),D}function Me(D,I){if(typeof D!="object"||!(D instanceof r))throw new Error("bad call to strictFail");D.strict&&_e(D,I)}function Ro(D){D.strict||(D.tagName=D.tagName[D.looseCase]());var I=D.tags[D.tags.length-1]||D,W=D.tag={name:D.tagName,attributes:{}};D.opt.xmlns&&(W.ns=I.ns),D.attribList.length=0,ne(D,"onopentagstart",W)}function Fo(D,I){var W=D.indexOf(":"),q=W<0?["",D]:D.split(":"),ot=q[0],Ut=q[1];return I&&D==="xmlns"&&(ot="xmlns",Ut=""),{prefix:ot,local:Ut}}function a1(D){if(D.strict||(D.attribName=D.attribName[D.looseCase]()),D.attribList.indexOf(D.attribName)!==-1||D.tag.attributes.hasOwnProperty(D.attribName)){D.attribName=D.attribValue="";return}if(D.opt.xmlns){var I=Fo(D.attribName,!0),W=I.prefix,q=I.local;if(W==="xmlns")if(q==="xml"&&D.attribValue!==p)Me(D,"xml: prefix must be bound to "+p+`
|
||
Actual: `+D.attribValue);else if(q==="xmlns"&&D.attribValue!==m)Me(D,"xmlns: prefix must be bound to "+m+`
|
||
Actual: `+D.attribValue);else{var ot=D.tag,Ut=D.tags[D.tags.length-1]||D;ot.ns===Ut.ns&&(ot.ns=Object.create(Ut.ns)),ot.ns[q]=D.attribValue}D.attribList.push([D.attribName,D.attribValue])}else D.tag.attributes[D.attribName]=D.attribValue,ne(D,"onattribute",{name:D.attribName,value:D.attribValue});D.attribName=D.attribValue=""}function El(D,I){if(D.opt.xmlns){var W=D.tag,q=Fo(D.tagName);W.prefix=q.prefix,W.local=q.local,W.uri=W.ns[q.prefix]||"",W.prefix&&!W.uri&&(Me(D,"Unbound namespace prefix: "+JSON.stringify(D.tagName)),W.uri=q.prefix);var ot=D.tags[D.tags.length-1]||D;W.ns&&ot.ns!==W.ns&&Object.keys(W.ns).forEach(function(Gb){ne(D,"onopennamespace",{prefix:Gb,uri:W.ns[Gb]})});for(var Ut=0,ir=D.attribList.length;Ut<ir;Ut++){var fr=D.attribList[Ut],Yr=fr[0],xi=fr[1],mr=Fo(Yr,!0),na=mr.prefix,kc=mr.local,Hb=na===""?"":W.ns[na]||"",l1={name:Yr,value:xi,prefix:na,local:kc,uri:Hb};na&&na!=="xmlns"&&!Hb&&(Me(D,"Unbound namespace prefix: "+JSON.stringify(na)),l1.uri=na),D.tag.attributes[Yr]=l1,ne(D,"onattribute",l1)}D.attribList.length=0}D.tag.isSelfClosing=!!I,D.sawRoot=!0,D.tags.push(D.tag),ne(D,"onopentag",D.tag),I||(!D.noscript&&D.tagName.toLowerCase()==="script"?D.state=T.SCRIPT:D.state=T.TEXT,D.tag=null,D.tagName=""),D.attribName=D.attribValue="",D.attribList.length=0}function o1(D){if(!D.tagName){Me(D,"Weird empty close tag."),D.textNode+="</>",D.state=T.TEXT;return}if(D.script){if(D.tagName!=="script"){D.script+="</"+D.tagName+">",D.tagName="",D.state=T.SCRIPT;return}ne(D,"onscript",D.script),D.script=""}var I=D.tags.length,W=D.tagName;D.strict||(W=W[D.looseCase]());for(var q=W;I--;){var ot=D.tags[I];if(ot.name!==q)Me(D,"Unexpected close tag");else break}if(I<0){Me(D,"Unmatched closing tag: "+D.tagName),D.textNode+="</"+D.tagName+">",D.state=T.TEXT;return}D.tagName=W;for(var Ut=D.tags.length;Ut-- >I;){var ir=D.tag=D.tags.pop();D.tagName=D.tag.name,ne(D,"onclosetag",D.tagName);var fr={};for(var Yr in ir.ns)fr[Yr]=ir.ns[Yr];var xi=D.tags[D.tags.length-1]||D;D.opt.xmlns&&ir.ns!==xi.ns&&Object.keys(ir.ns).forEach(function(mr){var na=ir.ns[mr];ne(D,"onclosenamespace",{prefix:mr,uri:na})})}I===0&&(D.closedRoot=!0),D.tagName=D.attribValue=D.attribName="",D.attribList.length=0,D.state=T.TEXT}function e9(D){var I=D.entity,W=I.toLowerCase(),q,ot="";return D.ENTITIES[I]?D.ENTITIES[I]:D.ENTITIES[W]?D.ENTITIES[W]:(I=W,I.charAt(0)==="#"&&(I.charAt(1)==="x"?(I=I.slice(2),q=parseInt(I,16),ot=q.toString(16)):(I=I.slice(1),q=parseInt(I,10),ot=q.toString(10))),I=I.replace(/^0+/,""),isNaN(q)||ot.toLowerCase()!==I||q<0||q>1114111||!Wb(q)?(Me(D,"Invalid character entity"),"&"+D.entity+";"):String.fromCodePoint(q))}function Wb(D){return D===9||D===10||D===13||D>=32&&D<=55295||D>=57344&&D<=65533||D>=65536&&D<=1114111}function Zb(D,I){I==="<"?(D.state=T.OPEN_WAKA,D.startTagPosition=D.position):_(I)||(Me(D,"Non-whitespace before first tag."),D.textNode=I,D.state=T.TEXT)}function s1(D,I){var W="";return I<D.length&&(W=D.charAt(I)),W}function t9(D){var I=this;if(this.error)throw this.error;if(I.closed)return _e(I,"Cannot write after close. Assign an onready handler.");if(D===null)return We(I);typeof D=="object"&&(D=D.toString());for(var W=0,q="";q=s1(D,W++),I.c=q,!!q;)switch(I.trackPosition&&(I.position++,q===`
|
||
`?(I.line++,I.column=0):I.column++),I.state){case T.BEGIN:if(I.state=T.BEGIN_WHITESPACE,q==="\uFEFF")continue;Zb(I,q);continue;case T.BEGIN_WHITESPACE:Zb(I,q);continue;case T.TEXT:if(I.sawRoot&&!I.closedRoot){for(var Ut=W-1;q&&q!=="<"&&q!=="&";)q=s1(D,W++),q&&I.trackPosition&&(I.position++,q===`
|
||
`?(I.line++,I.column=0):I.column++);I.textNode+=D.substring(Ut,W-1)}q==="<"&&!(I.sawRoot&&I.closedRoot&&!I.strict)?(I.state=T.OPEN_WAKA,I.startTagPosition=I.position):(!_(q)&&(!I.sawRoot||I.closedRoot)&&Me(I,"Text data outside of root node."),q==="&"?I.state=T.TEXT_ENTITY:I.textNode+=q);continue;case T.SCRIPT:q==="<"?I.state=T.SCRIPT_ENDING:I.script+=q;continue;case T.SCRIPT_ENDING:q==="/"?I.state=T.CLOSE_TAG:(I.script+="<"+q,I.state=T.SCRIPT);continue;case T.OPEN_WAKA:if(q==="!")I.state=T.SGML_DECL,I.sgmlDecl="";else if(!_(q))if(j(v,q))I.state=T.OPEN_TAG,I.tagName=q;else if(q==="/")I.state=T.CLOSE_TAG,I.tagName="";else if(q==="?")I.state=T.PROC_INST,I.procInstName=I.procInstBody="";else{if(Me(I,"Unencoded <"),I.startTagPosition+1<I.position){var ot=I.position-I.startTagPosition;q=new Array(ot).join(" ")+q}I.textNode+="<"+q,I.state=T.TEXT}continue;case T.SGML_DECL:if(I.sgmlDecl+q==="--"){I.state=T.COMMENT,I.comment="",I.sgmlDecl="";continue}I.doctype&&I.doctype!==!0&&I.sgmlDecl?(I.state=T.DOCTYPE_DTD,I.doctype+="<!"+I.sgmlDecl+q,I.sgmlDecl=""):d.test(I.sgmlDecl+q)?(ne(I,"onopencdata"),I.state=T.CDATA,I.sgmlDecl="",I.cdata=""):f.test(I.sgmlDecl+q)?(I.state=T.DOCTYPE,(I.doctype||I.sawRoot)&&Me(I,"Inappropriately located doctype declaration"),I.doctype="",I.sgmlDecl=""):q===">"?(ne(I,"onsgmldeclaration",I.sgmlDecl),I.sgmlDecl="",I.state=T.TEXT):(b(q)&&(I.state=T.SGML_DECL_QUOTED),I.sgmlDecl+=q);continue;case T.SGML_DECL_QUOTED:q===I.q&&(I.state=T.SGML_DECL,I.q=""),I.sgmlDecl+=q;continue;case T.DOCTYPE:q===">"?(I.state=T.TEXT,ne(I,"ondoctype",I.doctype),I.doctype=!0):(I.doctype+=q,q==="["?I.state=T.DOCTYPE_DTD:b(q)&&(I.state=T.DOCTYPE_QUOTED,I.q=q));continue;case T.DOCTYPE_QUOTED:I.doctype+=q,q===I.q&&(I.q="",I.state=T.DOCTYPE);continue;case T.DOCTYPE_DTD:q==="]"?(I.doctype+=q,I.state=T.DOCTYPE):q==="<"?(I.state=T.OPEN_WAKA,I.startTagPosition=I.position):b(q)?(I.doctype+=q,I.state=T.DOCTYPE_DTD_QUOTED,I.q=q):I.doctype+=q;continue;case T.DOCTYPE_DTD_QUOTED:I.doctype+=q,q===I.q&&(I.state=T.DOCTYPE_DTD,I.q="");continue;case T.COMMENT:q==="-"?I.state=T.COMMENT_ENDING:I.comment+=q;continue;case T.COMMENT_ENDING:q==="-"?(I.state=T.COMMENT_ENDED,I.comment=ce(I.opt,I.comment),I.comment&&ne(I,"oncomment",I.comment),I.comment=""):(I.comment+="-"+q,I.state=T.COMMENT);continue;case T.COMMENT_ENDED:q!==">"?(Me(I,"Malformed comment"),I.comment+="--"+q,I.state=T.COMMENT):I.doctype&&I.doctype!==!0?I.state=T.DOCTYPE_DTD:I.state=T.TEXT;continue;case T.CDATA:for(var Ut=W-1;q&&q!=="]";)q=s1(D,W++),q&&I.trackPosition&&(I.position++,q===`
|
||
`?(I.line++,I.column=0):I.column++);I.cdata+=D.substring(Ut,W-1),q==="]"&&(I.state=T.CDATA_ENDING);continue;case T.CDATA_ENDING:q==="]"?I.state=T.CDATA_ENDING_2:(I.cdata+="]"+q,I.state=T.CDATA);continue;case T.CDATA_ENDING_2:q===">"?(I.cdata&&ne(I,"oncdata",I.cdata),ne(I,"onclosecdata"),I.cdata="",I.state=T.TEXT):q==="]"?I.cdata+="]":(I.cdata+="]]"+q,I.state=T.CDATA);continue;case T.PROC_INST:q==="?"?I.state=T.PROC_INST_ENDING:_(q)?I.state=T.PROC_INST_BODY:I.procInstName+=q;continue;case T.PROC_INST_BODY:if(!I.procInstBody&&_(q))continue;q==="?"?I.state=T.PROC_INST_ENDING:I.procInstBody+=q;continue;case T.PROC_INST_ENDING:if(q===">"){let xi={name:I.procInstName,body:I.procInstBody};ae(I,xi),ne(I,"onprocessinginstruction",xi),I.procInstName=I.procInstBody="",I.state=T.TEXT}else I.procInstBody+="?"+q,I.state=T.PROC_INST_BODY;continue;case T.OPEN_TAG:j(S,q)?I.tagName+=q:(Ro(I),q===">"?El(I):q==="/"?I.state=T.OPEN_TAG_SLASH:(_(q)||Me(I,"Invalid character in tag name"),I.state=T.ATTRIB));continue;case T.OPEN_TAG_SLASH:q===">"?(El(I,!0),o1(I)):(Me(I,"Forward-slash in opening tag not followed by >"),I.state=T.ATTRIB);continue;case T.ATTRIB:if(_(q))continue;q===">"?El(I):q==="/"?I.state=T.OPEN_TAG_SLASH:j(v,q)?(I.attribName=q,I.attribValue="",I.state=T.ATTRIB_NAME):Me(I,"Invalid attribute name");continue;case T.ATTRIB_NAME:q==="="?I.state=T.ATTRIB_VALUE:q===">"?(Me(I,"Attribute without value"),I.attribValue=I.attribName,a1(I),El(I)):_(q)?I.state=T.ATTRIB_NAME_SAW_WHITE:j(S,q)?I.attribName+=q:Me(I,"Invalid attribute name");continue;case T.ATTRIB_NAME_SAW_WHITE:if(q==="=")I.state=T.ATTRIB_VALUE;else{if(_(q))continue;Me(I,"Attribute without value"),I.tag.attributes[I.attribName]="",I.attribValue="",ne(I,"onattribute",{name:I.attribName,value:""}),I.attribName="",q===">"?El(I):j(v,q)?(I.attribName=q,I.state=T.ATTRIB_NAME):(Me(I,"Invalid attribute name"),I.state=T.ATTRIB)}continue;case T.ATTRIB_VALUE:if(_(q))continue;b(q)?(I.q=q,I.state=T.ATTRIB_VALUE_QUOTED):(I.opt.unquotedAttributeValues||_e(I,"Unquoted attribute value"),I.state=T.ATTRIB_VALUE_UNQUOTED,I.attribValue=q);continue;case T.ATTRIB_VALUE_QUOTED:if(q!==I.q){q==="&"?I.state=T.ATTRIB_VALUE_ENTITY_Q:I.attribValue+=q;continue}a1(I),I.q="",I.state=T.ATTRIB_VALUE_CLOSED;continue;case T.ATTRIB_VALUE_CLOSED:_(q)?I.state=T.ATTRIB:q===">"?El(I):q==="/"?I.state=T.OPEN_TAG_SLASH:j(v,q)?(Me(I,"No whitespace between attributes"),I.attribName=q,I.attribValue="",I.state=T.ATTRIB_NAME):Me(I,"Invalid attribute name");continue;case T.ATTRIB_VALUE_UNQUOTED:if(!A(q)){q==="&"?I.state=T.ATTRIB_VALUE_ENTITY_U:I.attribValue+=q;continue}a1(I),q===">"?El(I):I.state=T.ATTRIB;continue;case T.CLOSE_TAG:if(I.tagName)q===">"?o1(I):j(S,q)?I.tagName+=q:I.script?(I.script+="</"+I.tagName+q,I.tagName="",I.state=T.SCRIPT):(_(q)||Me(I,"Invalid tagname in closing tag"),I.state=T.CLOSE_TAG_SAW_WHITE);else{if(_(q))continue;P(v,q)?I.script?(I.script+="</"+q,I.state=T.SCRIPT):Me(I,"Invalid tagname in closing tag."):I.tagName=q}continue;case T.CLOSE_TAG_SAW_WHITE:if(_(q))continue;q===">"?o1(I):Me(I,"Invalid characters in closing tag");continue;case T.TEXT_ENTITY:case T.ATTRIB_VALUE_ENTITY_Q:case T.ATTRIB_VALUE_ENTITY_U:var ir,fr;switch(I.state){case T.TEXT_ENTITY:ir=T.TEXT,fr="textNode";break;case T.ATTRIB_VALUE_ENTITY_Q:ir=T.ATTRIB_VALUE_QUOTED,fr="attribValue";break;case T.ATTRIB_VALUE_ENTITY_U:ir=T.ATTRIB_VALUE_UNQUOTED,fr="attribValue";break}if(q===";"){var Yr=e9(I);I.opt.unparsedEntities&&!Object.values(e.XML_ENTITIES).includes(Yr)?((I.entityCount+=1)>I.opt.maxEntityCount&&_e(I,"Parsed entity count exceeds max entity count"),(I.entityDepth+=1)>I.opt.maxEntityDepth&&_e(I,"Parsed entity depth exceeds max entity depth"),I.entity="",I.state=ir,I.write(Yr),I.entityDepth-=1):(I[fr]+=Yr,I.entity="",I.state=ir)}else j(I.entity.length?w:E,q)?I.entity+=q:(Me(I,"Invalid character in entity name"),I[fr]+="&"+I.entity+q,I.entity="",I.state=ir);continue;default:throw new Error(I,"Unknown state: "+I.state)}return I.position>=I.bufferCheckPosition&&n(I),I}String.fromCodePoint||function(){var D=String.fromCharCode,I=Math.floor,W=function(){var q=16384,ot=[],Ut,ir,fr=-1,Yr=arguments.length;if(!Yr)return"";for(var xi="";++fr<Yr;){var mr=Number(arguments[fr]);if(!isFinite(mr)||mr<0||mr>1114111||I(mr)!==mr)throw RangeError("Invalid code point: "+mr);mr<=65535?ot.push(mr):(mr-=65536,Ut=(mr>>10)+55296,ir=mr%1024+56320,ot.push(Ut,ir)),(fr+1===Yr||ot.length>q)&&(xi+=D.apply(null,ot),ot.length=0)}return xi};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:W,configurable:!0,writable:!0}):String.fromCodePoint=W}()})(typeof Z4>"u"?Z4.sax={}:Z4)});var SJ=h(uC=>{(function(){"use strict";uC.stripBOM=function(e){return e[0]==="\uFEFF"?e.substring(1):e}}).call(uC)});var dC=h(Zd=>{(function(){"use strict";var e;e=new RegExp(/(?!xmlns)^.*:/),Zd.normalize=function(t){return t.toLowerCase()},Zd.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},Zd.stripPrefix=function(t){return t.replace(e,"")},Zd.parseNumbers=function(t){return isNaN(t)||(t=t%1===0?parseInt(t,10):parseFloat(t)),t},Zd.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t=t.toLowerCase()==="true"),t}}).call(Zd)});var EJ=h(zl=>{(function(){"use strict";var e,t,r,n,i,a,o,s,l,c=function(f,p){return function(){return f.apply(p,arguments)}},u=function(f,p){for(var m in p)d.call(p,m)&&(f[m]=p[m]);function y(){this.constructor=f}return y.prototype=p.prototype,f.prototype=new y,f.__super__=p.prototype,f},d={}.hasOwnProperty;s=wJ(),n=require("events"),e=SJ(),o=dC(),l=require("timers").setImmediate,t=L4().defaults,i=function(f){return typeof f=="object"&&f!=null&&Object.keys(f).length===0},a=function(f,p,m){var y,v,S;for(y=0,v=f.length;y<v;y++)S=f[y],p=S(p,m);return p},r=function(f,p,m){var y;return y=Object.create(null),y.value=m,y.writable=!0,y.enumerable=!0,y.configurable=!0,Object.defineProperty(f,p,y)},zl.Parser=function(f){u(p,f);function p(m){this.parseStringPromise=c(this.parseStringPromise,this),this.parseString=c(this.parseString,this),this.reset=c(this.reset,this),this.assignOrPush=c(this.assignOrPush,this),this.processAsync=c(this.processAsync,this);var y,v,S;if(!(this instanceof zl.Parser))return new zl.Parser(m);this.options={},v=t["0.2"];for(y in v)d.call(v,y)&&(S=v[y],this.options[y]=S);for(y in m)d.call(m,y)&&(S=m[y],this.options[y]=S);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(o.normalize)),this.reset()}return p.prototype.processAsync=function(){var m,y;try{return this.remaining.length<=this.options.chunkSize?(m=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(m),this.saxParser.close()):(m=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(m),l(this.processAsync))}catch(v){if(y=v,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(y)}},p.prototype.assignOrPush=function(m,y,v){return y in m?(m[y]instanceof Array||r(m,y,[m[y]]),m[y].push(v)):this.options.explicitArray?r(m,y,[v]):r(m,y,v)},p.prototype.reset=function(){var m,y,v,S;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(E){return function(w){if(E.saxParser.resume(),!E.saxParser.errThrown)return E.saxParser.errThrown=!0,E.emit("error",w)}}(this),this.saxParser.onend=function(E){return function(){if(!E.saxParser.ended)return E.saxParser.ended=!0,E.emit("end",E.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],m=this.options.attrkey,y=this.options.charkey,this.saxParser.onopentag=function(E){return function(w){var _,b,A,j,P;if(A={},A[y]="",!E.options.ignoreAttrs){P=w.attributes;for(_ in P)d.call(P,_)&&(!(m in A)&&!E.options.mergeAttrs&&(A[m]={}),b=E.options.attrValueProcessors?a(E.options.attrValueProcessors,w.attributes[_],_):w.attributes[_],j=E.options.attrNameProcessors?a(E.options.attrNameProcessors,_):_,E.options.mergeAttrs?E.assignOrPush(A,j,b):r(A[m],j,b))}return A["#name"]=E.options.tagNameProcessors?a(E.options.tagNameProcessors,w.name):w.name,E.options.xmlns&&(A[E.options.xmlnskey]={uri:w.uri,local:w.local}),S.push(A)}}(this),this.saxParser.onclosetag=function(E){return function(){var w,_,b,A,j,P,T,N,k,B;if(P=S.pop(),j=P["#name"],(!E.options.explicitChildren||!E.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(w=P.cdata,delete P.cdata),k=S[S.length-1],P[y].match(/^\s*$/)&&!w?(_=P[y],delete P[y]):(E.options.trim&&(P[y]=P[y].trim()),E.options.normalize&&(P[y]=P[y].replace(/\s{2,}/g," ").trim()),P[y]=E.options.valueProcessors?a(E.options.valueProcessors,P[y],j):P[y],Object.keys(P).length===1&&y in P&&!E.EXPLICIT_CHARKEY&&(P=P[y])),i(P)&&(typeof E.options.emptyTag=="function"?P=E.options.emptyTag():P=E.options.emptyTag!==""?E.options.emptyTag:_),E.options.validator!=null&&(B="/"+function(){var $,K,ae;for(ae=[],$=0,K=S.length;$<K;$++)A=S[$],ae.push(A["#name"]);return ae}().concat(j).join("/"),function(){var $;try{return P=E.options.validator(B,k&&k[j],P)}catch(K){return $=K,E.emit("error",$)}}()),E.options.explicitChildren&&!E.options.mergeAttrs&&typeof P=="object"){if(!E.options.preserveChildrenOrder)A={},E.options.attrkey in P&&(A[E.options.attrkey]=P[E.options.attrkey],delete P[E.options.attrkey]),!E.options.charsAsChildren&&E.options.charkey in P&&(A[E.options.charkey]=P[E.options.charkey],delete P[E.options.charkey]),Object.getOwnPropertyNames(P).length>0&&(A[E.options.childkey]=P),P=A;else if(k){k[E.options.childkey]=k[E.options.childkey]||[],T={};for(b in P)d.call(P,b)&&r(T,b,P[b]);k[E.options.childkey].push(T),delete P["#name"],Object.keys(P).length===1&&y in P&&!E.EXPLICIT_CHARKEY&&(P=P[y])}}return S.length>0?E.assignOrPush(k,j,P):(E.options.explicitRoot&&(N=P,P={},r(P,j,N)),E.resultObject=P,E.saxParser.ended=!0,E.emit("end",E.resultObject))}}(this),v=function(E){return function(w){var _,b;if(b=S[S.length-1],b)return b[y]+=w,E.options.explicitChildren&&E.options.preserveChildrenOrder&&E.options.charsAsChildren&&(E.options.includeWhiteChars||w.replace(/\\n/g,"").trim()!=="")&&(b[E.options.childkey]=b[E.options.childkey]||[],_={"#name":"__text__"},_[y]=w,E.options.normalize&&(_[y]=_[y].replace(/\s{2,}/g," ").trim()),b[E.options.childkey].push(_)),b}}(this),this.saxParser.ontext=v,this.saxParser.oncdata=function(E){return function(w){var _;if(_=v(w),_)return _.cdata=!0}}(this)},p.prototype.parseString=function(m,y){var v;y!=null&&typeof y=="function"&&(this.on("end",function(S){return this.reset(),y(null,S)}),this.on("error",function(S){return this.reset(),y(S)}));try{return m=m.toString(),m.trim()===""?(this.emit("end",null),!0):(m=e.stripBOM(m),this.options.async?(this.remaining=m,l(this.processAsync),this.saxParser):this.saxParser.write(m).close())}catch(S){if(v=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw v}else return this.emit("error",v),this.saxParser.errThrown=!0}},p.prototype.parseStringPromise=function(m){return new Promise(function(y){return function(v,S){return y.parseString(m,function(E,w){return E?S(E):v(w)})}}(this))},p}(n),zl.parseString=function(f,p,m){var y,v,S;return m!=null?(typeof m=="function"&&(y=m),typeof p=="object"&&(v=p)):(typeof p=="function"&&(y=p),v={}),S=new zl.Parser(v),S.parseString(f,y)},zl.parseStringPromise=function(f,p){var m,y;return typeof p=="object"&&(m=p),y=new zl.Parser(m),y.parseStringPromise(f)}}).call(zl)});var xJ=h(ql=>{(function(){"use strict";var e,t,r,n,i=function(o,s){for(var l in s)a.call(s,l)&&(o[l]=s[l]);function c(){this.constructor=o}return c.prototype=s.prototype,o.prototype=new c,o.__super__=s.prototype,o},a={}.hasOwnProperty;t=L4(),e=_J(),r=EJ(),n=dC(),ql.defaults=t.defaults,ql.processors=n,ql.ValidationError=function(o){i(s,o);function s(l){this.message=l}return s}(Error),ql.Builder=e.Builder,ql.Parser=r.Parser,ql.parseString=r.parseString,ql.parseStringPromise=r.parseStringPromise}).call(ql)});var AJ=h(J4=>{"use strict";var qAe=require("stream"),TJ=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)},ut=class e extends Error{constructor(t,r,n,...i){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,e),this.code=t;for(let a of i)for(let o in a){let s=a[o];this[o]=Buffer.isBuffer(s)?s.toString(n.encoding):s==null?s:JSON.parse(JSON.stringify(s))}}},IJ=function(e){let t=[];for(let r=0,n=e.length;r<n;r++){let i=e[r];if(i==null||i===!1)t[r]={disabled:!0};else if(typeof i=="string")t[r]={name:i};else if(TJ(i)){if(typeof i.name!="string")throw new ut("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=i}else throw new ut("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(i)} at position ${r}`])}return t},H4=class{constructor(t=100){this.size=t,this.length=0,this.buf=Buffer.allocUnsafe(t)}prepend(t){if(Buffer.isBuffer(t)){let r=this.length+t.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),t.copy(this.buf,0),n.copy(this.buf,t.length),this.length+=t.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=t,n.copy(this.buf,1,0,r)}}append(t){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=t}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let t=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,t),this.buf=r}toString(t){return t?this.buf.slice(0,this.length).toString(t):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},BAe=12,VAe=13,WAe=10,ZAe=32,HAe=9,GAe=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:e.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(e.escape)&&Buffer.isBuffer(e.quote)&&Buffer.compare(e.escape,e.quote)===0,expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new H4(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(e.comment!==null?e.comment.length:0,...e.delimiter.map(t=>t.length),e.quote!==null?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new H4(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:e.record_delimiter.length===0?0:Math.max(...e.record_delimiter.map(t=>t.length)),trimChars:[Buffer.from(" ",e.encoding)[0],Buffer.from(" ",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([VAe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([WAe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([BAe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([ZAe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([HAe],"utf8").toString(),e.encoding)]}},JAe=function(e){return e.replace(/([A-Z])/g,function(t,r){return"_"+r.toLowerCase()})},OJ=function(e){let t={};for(let n in e)t[JAe(n)]=e[n];if(t.encoding===void 0||t.encoding===!0)t.encoding="utf8";else if(t.encoding===null||t.encoding===!1)t.encoding=null;else if(typeof t.encoding!="string"&&t.encoding!==null)throw new ut("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(t.bom===void 0||t.bom===null||t.bom===!1)t.bom=!1;else if(t.bom!==!0)throw new ut("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,t.cast===void 0||t.cast===null||t.cast===!1||t.cast==="")t.cast=void 0;else if(typeof t.cast=="function")t.cast_function=t.cast,t.cast=!0;else if(t.cast!==!0)throw new ut("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(t.cast_date===void 0||t.cast_date===null||t.cast_date===!1||t.cast_date==="")t.cast_date=!1;else if(t.cast_date===!0)t.cast_date=function(n){let i=Date.parse(n);return isNaN(i)?n:new Date(i)};else if(typeof t.cast_date!="function")throw new ut("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=null,t.columns===!0)t.cast_first_line_to_header=void 0;else if(typeof t.columns=="function")t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=IJ(t.columns);else if(t.columns===void 0||t.columns===null||t.columns===!1)t.columns=!1;else throw new ut("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);if(t.group_columns_by_name===void 0||t.group_columns_by_name===null||t.group_columns_by_name===!1)t.group_columns_by_name=!1;else{if(t.group_columns_by_name!==!0)throw new ut("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(t.columns===!1)throw new ut("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(t.comment===void 0||t.comment===null||t.comment===!1||t.comment==="")t.comment=null;else if(typeof t.comment=="string"&&(t.comment=Buffer.from(t.comment,t.encoding)),!Buffer.isBuffer(t.comment))throw new ut("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(t.comment_no_infix===void 0||t.comment_no_infix===null||t.comment_no_infix===!1)t.comment_no_infix=!1;else if(t.comment_no_infix!==!0)throw new ut("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);let r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),t.delimiter.length===0)throw new ut("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map(function(n){if(n==null||n===!1)return Buffer.from(",",t.encoding);if(typeof n=="string"&&(n=Buffer.from(n,t.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ut("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return n}),t.escape===void 0||t.escape===!0?t.escape=Buffer.from('"',t.encoding):typeof t.escape=="string"?t.escape=Buffer.from(t.escape,t.encoding):(t.escape===null||t.escape===!1)&&(t.escape=null),t.escape!==null&&!Buffer.isBuffer(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(t.from===void 0||t.from===null)t.from=1;else if(typeof t.from=="string"&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),Number.isInteger(t.from)){if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from_line===void 0||t.from_line===null)t.from_line=1;else if(typeof t.from_line=="string"&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),Number.isInteger(t.from_line)){if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.ignore_last_delimiters===void 0||t.ignore_last_delimiters===null)t.ignore_last_delimiters=!1;else if(typeof t.ignore_last_delimiters=="number")t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),t.ignore_last_delimiters===0&&(t.ignore_last_delimiters=!1);else if(typeof t.ignore_last_delimiters!="boolean")throw new ut("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(t.ignore_last_delimiters===!0&&t.columns===!1)throw new ut("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(t.info===void 0||t.info===null||t.info===!1)t.info=!1;else if(t.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(t.max_record_size===void 0||t.max_record_size===null||t.max_record_size===!1)t.max_record_size=0;else if(!(Number.isInteger(t.max_record_size)&&t.max_record_size>=0))if(typeof t.max_record_size=="string"&&/\d+/.test(t.max_record_size))t.max_record_size=parseInt(t.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);if(t.objname===void 0||t.objname===null||t.objname===!1)t.objname=void 0;else if(Buffer.isBuffer(t.objname)){if(t.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");t.encoding===null||(t.objname=t.objname.toString(t.encoding))}else if(typeof t.objname=="string"){if(t.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof t.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(t.objname!==void 0){if(typeof t.objname=="number"){if(t.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(t.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(t.on_record===void 0||t.on_record===null)t.on_record=void 0;else if(typeof t.on_record!="function")throw new ut("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(t.on_skip!==void 0&&t.on_skip!==null&&typeof t.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(t.quote===null||t.quote===!1||t.quote==="")t.quote=null;else if(t.quote===void 0||t.quote===!0?t.quote=Buffer.from('"',t.encoding):typeof t.quote=="string"&&(t.quote=Buffer.from(t.quote,t.encoding)),!Buffer.isBuffer(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(t.raw===void 0||t.raw===null||t.raw===!1)t.raw=!1;else if(t.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(t.record_delimiter===void 0)t.record_delimiter=[];else if(typeof t.record_delimiter=="string"||Buffer.isBuffer(t.record_delimiter)){if(t.record_delimiter.length===0)throw new ut("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new ut("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map(function(n,i){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ut("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],t);if(n.length===0)throw new ut("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],t);return typeof n=="string"&&(n=Buffer.from(n,t.encoding)),n}),typeof t.relax_column_count!="boolean")if(t.relax_column_count===void 0||t.relax_column_count===null)t.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);if(typeof t.relax_column_count_less!="boolean")if(t.relax_column_count_less===void 0||t.relax_column_count_less===null)t.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);if(typeof t.relax_column_count_more!="boolean")if(t.relax_column_count_more===void 0||t.relax_column_count_more===null)t.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);if(typeof t.relax_quotes!="boolean")if(t.relax_quotes===void 0||t.relax_quotes===null)t.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);if(typeof t.skip_empty_lines!="boolean")if(t.skip_empty_lines===void 0||t.skip_empty_lines===null)t.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);if(typeof t.skip_records_with_empty_values!="boolean")if(t.skip_records_with_empty_values===void 0||t.skip_records_with_empty_values===null)t.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);if(typeof t.skip_records_with_error!="boolean")if(t.skip_records_with_error===void 0||t.skip_records_with_error===null)t.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);if(t.rtrim===void 0||t.rtrim===null||t.rtrim===!1)t.rtrim=!1;else if(t.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(t.ltrim===void 0||t.ltrim===null||t.ltrim===!1)t.ltrim=!1;else if(t.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(t.trim===void 0||t.trim===null||t.trim===!1)t.trim=!1;else if(t.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(t.trim===!0&&e.ltrim!==!1?t.ltrim=!0:t.ltrim!==!0&&(t.ltrim=!1),t.trim===!0&&e.rtrim!==!1?t.rtrim=!0:t.rtrim!==!0&&(t.rtrim=!1),t.to===void 0||t.to===null)t.to=-1;else if(typeof t.to=="string"&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),Number.isInteger(t.to)){if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to_line===void 0||t.to_line===null)t.to_line=-1;else if(typeof t.to_line=="string"&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),Number.isInteger(t.to_line)){if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);return t},CJ=function(e){return e.every(t=>t==null||t.toString&&t.toString().trim()==="")},KAe=13,XAe=10,im={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},YAe=function(e={}){let t={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=OJ(e);return{info:t,original_options:e,options:r,state:GAe(r),__needMoreData:function(n,i,a){if(a)return!1;let{encoding:o,escape:s,quote:l}=this.options,{quoting:c,needMoreDataSize:u,recordDelimiterMaxLength:d}=this.state,f=i-n-1,p=Math.max(u,d===0?Buffer.from(`\r
|
||
`,o).length:d,c?(s===null?0:s.length)+l.length:0,c?l.length+d:0);return f<p},parse:function(n,i,a,o){let{bom:s,comment_no_infix:l,encoding:c,from_line:u,ltrim:d,max_record_size:f,raw:p,relax_quotes:m,rtrim:y,skip_empty_lines:v,to:S,to_line:E}=this.options,{comment:w,escape:_,quote:b,record_delimiter:A}=this.options,{bomSkipped:j,previousBuf:P,rawBuffer:T,escapeIsQuote:N}=this.state,k;if(P===void 0)if(n===void 0){o();return}else k=n;else P!==void 0&&n===void 0?k=P:k=Buffer.concat([P,n]);if(j===!1)if(s===!1)this.state.bomSkipped=!0;else if(k.length<3){if(i===!1){this.state.previousBuf=k;return}}else{for(let K in im)if(im[K].compare(k,0,im[K].length)===0){let ae=im[K].length;this.state.bufBytesStart+=ae,k=k.slice(ae),this.options=OJ({...this.original_options,encoding:K}),{comment:w,escape:_,quote:b}=this.options;break}this.state.bomSkipped=!0}let B=k.length,$;for($=0;$<B&&!this.__needMoreData($,B,i);$++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),E!==-1&&this.info.lines>E){this.state.stop=!0,o();return}this.state.quoting===!1&&A.length===0&&this.__autoDiscoverRecordDelimiter(k,$)&&(A=this.options.record_delimiter);let K=k[$];if(p===!0&&T.append(K),(K===KAe||K===XAe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(_!==null&&this.state.quoting===!0&&this.__isEscape(k,$,K)&&$+_.length<B)if(N){if(this.__isQuote(k,$+_.length)){this.state.escaping=!0,$+=_.length-1;continue}}else{this.state.escaping=!0,$+=_.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(k,$))if(this.state.quoting===!0){let re=k[$+b.length],ce=y&&this.__isCharTrimable(k,$+b.length),_e=w!==null&&this.__compareBytes(w,k,$+b.length,re),We=this.__isDelimiter(k,$+b.length,re),Me=A.length===0?this.__autoDiscoverRecordDelimiter(k,$+b.length):this.__isRecordDelimiter(re,k,$+b.length);if(_!==null&&this.__isEscape(k,$,K)&&this.__isQuote(k,$+_.length))$+=_.length-1;else if(!re||We||Me||_e||ce){this.state.quoting=!1,this.state.wasQuoting=!0,$+=b.length-1;continue}else if(m===!1){let Ro=this.__error(new ut("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(re)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Ro!==void 0)return Ro}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(b),$+=b.length-1}else if(this.state.field.length!==0){if(m===!1){let re=this.__infoField(),ce=Object.keys(im).map(We=>im[We].equals(this.state.field.toString())?We:!1).filter(Boolean)[0],_e=this.__error(new ut("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(re.column)} at line ${re.lines}, value is ${JSON.stringify(this.state.field.toString(c))}`,ce?`(${ce} bom)`:void 0],this.options,re,{field:this.state.field}));if(_e!==void 0)return _e}}else{this.state.quoting=!0,$+=b.length-1;continue}if(this.state.quoting===!1){let re=this.__isRecordDelimiter(K,k,$);if(re!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=re-1;continue}if(v===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=re-1;continue}this.info.bytes=this.state.bufBytesStart+$;let We=this.__onField();if(We!==void 0)return We;this.info.bytes=this.state.bufBytesStart+$+re;let Me=this.__onRecord(a);if(Me!==void 0)return Me;if(S!==-1&&this.info.records>=S){this.state.stop=!0,o();return}}this.state.commenting=!1,$+=re-1;continue}if(this.state.commenting)continue;if(w!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(w,k,$,K)!==0){this.state.commenting=!0;continue}let ce=this.__isDelimiter(k,$,K);if(ce!==0){this.info.bytes=this.state.bufBytesStart+$;let _e=this.__onField();if(_e!==void 0)return _e;$+=ce-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new ut("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let ae=d===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(k,$),ne=y===!1||this.state.wasQuoting===!1;if(ae===!0&&ne===!0)this.state.field.append(K);else{if(y===!0&&!this.__isCharTrimable(k,$))return this.__error(new ut("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));ae===!1&&($+=this.__isCharTrimable(k,$)-1);continue}}if(i===!0)if(this.state.quoting===!0){let K=this.__error(new ut("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(K!==void 0)return K}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+$;let K=this.__onField();if(K!==void 0)return K;let ae=this.__onRecord(a);if(ae!==void 0)return ae}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=$,this.state.previousBuf=k.slice($);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(n){let{columns:i,group_columns_by_name:a,encoding:o,info:s,from:l,relax_column_count:c,relax_column_count_less:u,relax_column_count_more:d,raw:f,skip_records_with_empty_values:p}=this.options,{enabled:m,record:y}=this.state;if(m===!1)return this.__resetRecord();let v=y.length;if(i===!0){if(p===!0&&CJ(y)){this.__resetRecord();return}return this.__firstLineToColumns(y)}if(i===!1&&this.info.records===0&&(this.state.expectedRecordLength=v),v!==this.state.expectedRecordLength){let S=i===!1?new ut("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${v} on line ${this.info.lines}`],this.options,this.__infoField(),{record:y}):new ut("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${i.length},`,`got ${v} on line ${this.info.lines}`],this.options,this.__infoField(),{record:y});if(c===!0||u===!0&&v<this.state.expectedRecordLength||d===!0&&v>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=S;else{let E=this.__error(S);if(E)return E}}if(p===!0&&CJ(y)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:S}=this.options;if(i!==!1){let E={};for(let w=0,_=y.length;w<_;w++)i[w]===void 0||i[w].disabled||(a===!0&&E[i[w].name]!==void 0?Array.isArray(E[i[w].name])?E[i[w].name]=E[i[w].name].concat(y[w]):E[i[w].name]=[E[i[w].name],y[w]]:E[i[w].name]=y[w]);if(f===!0||s===!0){let w=Object.assign({record:E},f===!0?{raw:this.state.rawBuffer.toString(o)}:{},s===!0?{info:this.__infoRecord()}:{}),_=this.__push(S===void 0?w:[E[S],w],n);if(_)return _}else{let w=this.__push(S===void 0?E:[E[S],E],n);if(w)return w}}else if(f===!0||s===!0){let E=Object.assign({record:y},f===!0?{raw:this.state.rawBuffer.toString(o)}:{},s===!0?{info:this.__infoRecord()}:{}),w=this.__push(S===void 0?E:[y[S],E],n);if(w)return w}else{let E=this.__push(S===void 0?y:[y[S],y],n);if(E)return E}}this.__resetRecord()},__firstLineToColumns:function(n){let{firstLineToHeaders:i}=this.state;try{let a=i===void 0?n:i.call(null,n);if(!Array.isArray(a))return this.__error(new ut("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(a)}`],this.options,this.__infoField(),{headers:a}));let o=IJ(a);this.state.expectedRecordLength=o.length,this.options.columns=o,this.__resetRecord();return}catch(a){return a}},__resetRecord:function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:n,encoding:i,rtrim:a,max_record_size:o}=this.options,{enabled:s,wasQuoting:l}=this.state;if(s===!1)return this.__resetField();let c=this.state.field.toString(i);if(a===!0&&l===!1&&(c=c.trimRight()),n===!0){let[u,d]=this.__cast(c);if(u!==void 0)return u;c=d}this.state.record.push(c),o!==0&&typeof c=="string"&&(this.state.record_length+=c.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(n,i){let{on_record:a}=this.options;if(a!==void 0){let o=this.__infoRecord();try{n=a.call(null,n,o)}catch(s){return s}if(n==null)return}i(n)},__cast:function(n){let{columns:i,relax_column_count:a}=this.options;if(Array.isArray(i)===!0&&a&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let s=this.__infoField();return[void 0,this.state.castField.call(null,n,s)]}catch(s){return[s]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let s=this.__infoField();return[void 0,this.options.cast_date.call(null,n,s)]}return[void 0,n]},__isCharTrimable:function(n,i){return((o,s)=>{let{timchars:l}=this.state;e:for(let c=0;c<l.length;c++){let u=l[c];for(let d=0;d<u.length;d++)if(u[d]!==o[s+d])continue e;return u.length}return 0})(n,i)},__isFloat:function(n){return n-parseFloat(n)+1>=0},__compareBytes:function(n,i,a,o){if(n[0]!==o)return 0;let s=n.length;for(let l=1;l<s;l++)if(n[l]!==i[a+l])return 0;return s},__isDelimiter:function(n,i,a){let{delimiter:o,ignore_last_delimiters:s}=this.options;if(s===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(s!==!1&&typeof s=="number"&&this.state.record.length===s-1)return 0;e:for(let l=0;l<o.length;l++){let c=o[l];if(c[0]===a){for(let u=1;u<c.length;u++)if(c[u]!==n[i+u])continue e;return c.length}}return 0},__isRecordDelimiter:function(n,i,a){let{record_delimiter:o}=this.options,s=o.length;e:for(let l=0;l<s;l++){let c=o[l],u=c.length;if(c[0]===n){for(let d=1;d<u;d++)if(c[d]!==i[a+d])continue e;return c.length}}return 0},__isEscape:function(n,i,a){let{escape:o}=this.options;if(o===null)return!1;let s=o.length;if(o[0]===a){for(let l=0;l<s;l++)if(o[l]!==n[i+l])return!1;return!0}return!1},__isQuote:function(n,i){let{quote:a}=this.options;if(a===null)return!1;let o=a.length;for(let s=0;s<o;s++)if(a[s]!==n[i+s])return!1;return!0},__autoDiscoverRecordDelimiter:function(n,i){let{encoding:a}=this.options,o=[Buffer.from(`\r
|
||
`,a),Buffer.from(`
|
||
`,a),Buffer.from("\r",a)];e:for(let s=0;s<o.length;s++){let l=o[s].length;for(let c=0;c<l;c++)if(o[s][c]!==n[i+c])continue e;return this.options.record_delimiter.push(o[s]),this.state.recordDelimiterMaxLength=o[s].length,o[s].length}return 0},__error:function(n){let{encoding:i,raw:a,skip_records_with_error:o}=this.options,s=typeof n=="string"?new Error(n):n;if(o){this.state.recordHasError=!0,this.options.on_skip!==void 0&&this.options.on_skip(s,a?this.state.rawBuffer.toString(i):void 0);return}else return s},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:n,raw:i,encoding:a}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:n===!0,index:this.state.record.length,raw:i?this.state.rawBuffer.toString(a):void 0}},__infoField:function(){let{columns:n}=this.options,i=Array.isArray(n);return{...this.__infoRecord(),column:i===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}},G4=class extends qAe.Transform{constructor(t={}){super({readableObjectMode:!0,...t,encoding:null}),this.api=YAe({on_skip:(r,n)=>{this.emit("skip",r,n)},...t}),this.state=this.api.state,this.options=this.api.options,this.info=this.api.info}_transform(t,r,n){if(this.state.stop===!0)return;let i=this.api.parse(t,!1,a=>{this.push(a)},()=>{this.push(null),this.end(),this.on("end",this.destroy)});i!==void 0&&(this.state.stop=!0),n(i)}_flush(t){if(this.state.stop===!0)return;let r=this.api.parse(void 0,!0,n=>{this.push(n)},()=>{this.push(null),this.on("end",this.destroy)});t(r)}},QAe=function(){let e,t,r;for(let i in arguments){let a=arguments[i],o=typeof a;if(e===void 0&&(typeof a=="string"||Buffer.isBuffer(a)))e=a;else if(t===void 0&&TJ(a))t=a;else if(r===void 0&&o==="function")r=a;else throw new ut("CSV_INVALID_ARGUMENT",["Invalid argument:",`got ${JSON.stringify(a)} at index ${i}`],t||{})}let n=new G4(t);if(r){let i=t===void 0||t.objname===void 0?[]:{};n.on("readable",function(){let a;for(;(a=this.read())!==null;)t===void 0||t.objname===void 0?i.push(a):i[a[0]]=a[1]}),n.on("error",function(a){r(a,void 0,n.api.__infoDataSet())}),n.on("end",function(){r(void 0,i,n.api.__infoDataSet())})}if(e!==void 0){let i=function(){n.write(e),n.end()};typeof setImmediate=="function"?setImmediate(i):setTimeout(i,0)}return n};J4.CsvError=ut;J4.Parser=G4;J4.parse=QAe});var NJ=h(pC=>{"use strict";var ht=class e extends Error{constructor(t,r,n,...i){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,e),this.code=t;for(let a of i)for(let o in a){let s=a[o];this[o]=Buffer.isBuffer(s)?s.toString(n.encoding):s==null?s:JSON.parse(JSON.stringify(s))}}},eDe=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)},kJ=function(e){let t=[];for(let r=0,n=e.length;r<n;r++){let i=e[r];if(i==null||i===!1)t[r]={disabled:!0};else if(typeof i=="string")t[r]={name:i};else if(eDe(i)){if(typeof i.name!="string")throw new ht("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);t[r]=i}else throw new ht("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(i)} at position ${r}`])}return t},K4=class{constructor(t=100){this.size=t,this.length=0,this.buf=Buffer.allocUnsafe(t)}prepend(t){if(Buffer.isBuffer(t)){let r=this.length+t.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),t.copy(this.buf,0),n.copy(this.buf,t.length),this.length+=t.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=t,n.copy(this.buf,1,0,r)}}append(t){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=t}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let t=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,t),this.buf=r}toString(t){return t?this.buf.slice(0,this.length).toString(t):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},tDe=12,rDe=13,nDe=10,iDe=32,aDe=9,oDe=function(e){return{bomSkipped:!1,bufBytesStart:0,castField:e.cast_function,commenting:!1,error:void 0,enabled:e.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(e.escape)&&Buffer.isBuffer(e.quote)&&Buffer.compare(e.escape,e.quote)===0,expectedRecordLength:Array.isArray(e.columns)?e.columns.length:void 0,field:new K4(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(e.comment!==null?e.comment.length:0,...e.delimiter.map(t=>t.length),e.quote!==null?e.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new K4(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:e.record_delimiter.length===0?0:Math.max(...e.record_delimiter.map(t=>t.length)),trimChars:[Buffer.from(" ",e.encoding)[0],Buffer.from(" ",e.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([rDe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([nDe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([tDe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([iDe],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([aDe],"utf8").toString(),e.encoding)]}},sDe=function(e){return e.replace(/([A-Z])/g,function(t,r){return"_"+r.toLowerCase()})},DJ=function(e){let t={};for(let n in e)t[sDe(n)]=e[n];if(t.encoding===void 0||t.encoding===!0)t.encoding="utf8";else if(t.encoding===null||t.encoding===!1)t.encoding=null;else if(typeof t.encoding!="string"&&t.encoding!==null)throw new ht("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(t.encoding)}`],t);if(t.bom===void 0||t.bom===null||t.bom===!1)t.bom=!1;else if(t.bom!==!0)throw new ht("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t);if(t.cast_function=null,t.cast===void 0||t.cast===null||t.cast===!1||t.cast==="")t.cast=void 0;else if(typeof t.cast=="function")t.cast_function=t.cast,t.cast=!0;else if(t.cast!==!0)throw new ht("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t);if(t.cast_date===void 0||t.cast_date===null||t.cast_date===!1||t.cast_date==="")t.cast_date=!1;else if(t.cast_date===!0)t.cast_date=function(n){let i=Date.parse(n);return isNaN(i)?n:new Date(i)};else if(typeof t.cast_date!="function")throw new ht("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(t.cast_date)}`],t);if(t.cast_first_line_to_header=null,t.columns===!0)t.cast_first_line_to_header=void 0;else if(typeof t.columns=="function")t.cast_first_line_to_header=t.columns,t.columns=!0;else if(Array.isArray(t.columns))t.columns=kJ(t.columns);else if(t.columns===void 0||t.columns===null||t.columns===!1)t.columns=!1;else throw new ht("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t);if(t.group_columns_by_name===void 0||t.group_columns_by_name===null||t.group_columns_by_name===!1)t.group_columns_by_name=!1;else{if(t.group_columns_by_name!==!0)throw new ht("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(t.group_columns_by_name)}`],t);if(t.columns===!1)throw new ht("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(t.comment===void 0||t.comment===null||t.comment===!1||t.comment==="")t.comment=null;else if(typeof t.comment=="string"&&(t.comment=Buffer.from(t.comment,t.encoding)),!Buffer.isBuffer(t.comment))throw new ht("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t);if(t.comment_no_infix===void 0||t.comment_no_infix===null||t.comment_no_infix===!1)t.comment_no_infix=!1;else if(t.comment_no_infix!==!0)throw new ht("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t);let r=JSON.stringify(t.delimiter);if(Array.isArray(t.delimiter)||(t.delimiter=[t.delimiter]),t.delimiter.length===0)throw new ht("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);if(t.delimiter=t.delimiter.map(function(n){if(n==null||n===!1)return Buffer.from(",",t.encoding);if(typeof n=="string"&&(n=Buffer.from(n,t.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ht("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],t);return n}),t.escape===void 0||t.escape===!0?t.escape=Buffer.from('"',t.encoding):typeof t.escape=="string"?t.escape=Buffer.from(t.escape,t.encoding):(t.escape===null||t.escape===!1)&&(t.escape=null),t.escape!==null&&!Buffer.isBuffer(t.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`);if(t.from===void 0||t.from===null)t.from=1;else if(typeof t.from=="string"&&/\d+/.test(t.from)&&(t.from=parseInt(t.from)),Number.isInteger(t.from)){if(t.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`);if(t.from_line===void 0||t.from_line===null)t.from_line=1;else if(typeof t.from_line=="string"&&/\d+/.test(t.from_line)&&(t.from_line=parseInt(t.from_line)),Number.isInteger(t.from_line)){if(t.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`);if(t.ignore_last_delimiters===void 0||t.ignore_last_delimiters===null)t.ignore_last_delimiters=!1;else if(typeof t.ignore_last_delimiters=="number")t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters),t.ignore_last_delimiters===0&&(t.ignore_last_delimiters=!1);else if(typeof t.ignore_last_delimiters!="boolean")throw new ht("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(t.ignore_last_delimiters)}`],t);if(t.ignore_last_delimiters===!0&&t.columns===!1)throw new ht("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t);if(t.info===void 0||t.info===null||t.info===!1)t.info=!1;else if(t.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`);if(t.max_record_size===void 0||t.max_record_size===null||t.max_record_size===!1)t.max_record_size=0;else if(!(Number.isInteger(t.max_record_size)&&t.max_record_size>=0))if(typeof t.max_record_size=="string"&&/\d+/.test(t.max_record_size))t.max_record_size=parseInt(t.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`);if(t.objname===void 0||t.objname===null||t.objname===!1)t.objname=void 0;else if(Buffer.isBuffer(t.objname)){if(t.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");t.encoding===null||(t.objname=t.objname.toString(t.encoding))}else if(typeof t.objname=="string"){if(t.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof t.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`);if(t.objname!==void 0){if(typeof t.objname=="number"){if(t.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(t.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(t.on_record===void 0||t.on_record===null)t.on_record=void 0;else if(typeof t.on_record!="function")throw new ht("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t);if(t.on_skip!==void 0&&t.on_skip!==null&&typeof t.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`);if(t.quote===null||t.quote===!1||t.quote==="")t.quote=null;else if(t.quote===void 0||t.quote===!0?t.quote=Buffer.from('"',t.encoding):typeof t.quote=="string"&&(t.quote=Buffer.from(t.quote,t.encoding)),!Buffer.isBuffer(t.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`);if(t.raw===void 0||t.raw===null||t.raw===!1)t.raw=!1;else if(t.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`);if(t.record_delimiter===void 0)t.record_delimiter=[];else if(typeof t.record_delimiter=="string"||Buffer.isBuffer(t.record_delimiter)){if(t.record_delimiter.length===0)throw new ht("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.record_delimiter))throw new ht("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(t.record_delimiter)}`],t);if(t.record_delimiter=t.record_delimiter.map(function(n,i){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ht("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],t);if(n.length===0)throw new ht("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${i},`,`got ${JSON.stringify(n)}`],t);return typeof n=="string"&&(n=Buffer.from(n,t.encoding)),n}),typeof t.relax_column_count!="boolean")if(t.relax_column_count===void 0||t.relax_column_count===null)t.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`);if(typeof t.relax_column_count_less!="boolean")if(t.relax_column_count_less===void 0||t.relax_column_count_less===null)t.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`);if(typeof t.relax_column_count_more!="boolean")if(t.relax_column_count_more===void 0||t.relax_column_count_more===null)t.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`);if(typeof t.relax_quotes!="boolean")if(t.relax_quotes===void 0||t.relax_quotes===null)t.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`);if(typeof t.skip_empty_lines!="boolean")if(t.skip_empty_lines===void 0||t.skip_empty_lines===null)t.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`);if(typeof t.skip_records_with_empty_values!="boolean")if(t.skip_records_with_empty_values===void 0||t.skip_records_with_empty_values===null)t.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`);if(typeof t.skip_records_with_error!="boolean")if(t.skip_records_with_error===void 0||t.skip_records_with_error===null)t.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`);if(t.rtrim===void 0||t.rtrim===null||t.rtrim===!1)t.rtrim=!1;else if(t.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`);if(t.ltrim===void 0||t.ltrim===null||t.ltrim===!1)t.ltrim=!1;else if(t.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`);if(t.trim===void 0||t.trim===null||t.trim===!1)t.trim=!1;else if(t.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`);if(t.trim===!0&&e.ltrim!==!1?t.ltrim=!0:t.ltrim!==!0&&(t.ltrim=!1),t.trim===!0&&e.rtrim!==!1?t.rtrim=!0:t.rtrim!==!0&&(t.rtrim=!1),t.to===void 0||t.to===null)t.to=-1;else if(typeof t.to=="string"&&/\d+/.test(t.to)&&(t.to=parseInt(t.to)),Number.isInteger(t.to)){if(t.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`);if(t.to_line===void 0||t.to_line===null)t.to_line=-1;else if(typeof t.to_line=="string"&&/\d+/.test(t.to_line)&&(t.to_line=parseInt(t.to_line)),Number.isInteger(t.to_line)){if(t.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`);return t},LJ=function(e){return e.every(t=>t==null||t.toString&&t.toString().trim()==="")},lDe=13,cDe=10,am={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},uDe=function(e={}){let t={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=DJ(e);return{info:t,original_options:e,options:r,state:oDe(r),__needMoreData:function(n,i,a){if(a)return!1;let{encoding:o,escape:s,quote:l}=this.options,{quoting:c,needMoreDataSize:u,recordDelimiterMaxLength:d}=this.state,f=i-n-1,p=Math.max(u,d===0?Buffer.from(`\r
|
||
`,o).length:d,c?(s===null?0:s.length)+l.length:0,c?l.length+d:0);return f<p},parse:function(n,i,a,o){let{bom:s,comment_no_infix:l,encoding:c,from_line:u,ltrim:d,max_record_size:f,raw:p,relax_quotes:m,rtrim:y,skip_empty_lines:v,to:S,to_line:E}=this.options,{comment:w,escape:_,quote:b,record_delimiter:A}=this.options,{bomSkipped:j,previousBuf:P,rawBuffer:T,escapeIsQuote:N}=this.state,k;if(P===void 0)if(n===void 0){o();return}else k=n;else P!==void 0&&n===void 0?k=P:k=Buffer.concat([P,n]);if(j===!1)if(s===!1)this.state.bomSkipped=!0;else if(k.length<3){if(i===!1){this.state.previousBuf=k;return}}else{for(let K in am)if(am[K].compare(k,0,am[K].length)===0){let ae=am[K].length;this.state.bufBytesStart+=ae,k=k.slice(ae),this.options=DJ({...this.original_options,encoding:K}),{comment:w,escape:_,quote:b}=this.options;break}this.state.bomSkipped=!0}let B=k.length,$;for($=0;$<B&&!this.__needMoreData($,B,i);$++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),E!==-1&&this.info.lines>E){this.state.stop=!0,o();return}this.state.quoting===!1&&A.length===0&&this.__autoDiscoverRecordDelimiter(k,$)&&(A=this.options.record_delimiter);let K=k[$];if(p===!0&&T.append(K),(K===lDe||K===cDe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(_!==null&&this.state.quoting===!0&&this.__isEscape(k,$,K)&&$+_.length<B)if(N){if(this.__isQuote(k,$+_.length)){this.state.escaping=!0,$+=_.length-1;continue}}else{this.state.escaping=!0,$+=_.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(k,$))if(this.state.quoting===!0){let re=k[$+b.length],ce=y&&this.__isCharTrimable(k,$+b.length),_e=w!==null&&this.__compareBytes(w,k,$+b.length,re),We=this.__isDelimiter(k,$+b.length,re),Me=A.length===0?this.__autoDiscoverRecordDelimiter(k,$+b.length):this.__isRecordDelimiter(re,k,$+b.length);if(_!==null&&this.__isEscape(k,$,K)&&this.__isQuote(k,$+_.length))$+=_.length-1;else if(!re||We||Me||_e||ce){this.state.quoting=!1,this.state.wasQuoting=!0,$+=b.length-1;continue}else if(m===!1){let Ro=this.__error(new ht("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(re)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Ro!==void 0)return Ro}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(b),$+=b.length-1}else if(this.state.field.length!==0){if(m===!1){let re=this.__infoField(),ce=Object.keys(am).map(We=>am[We].equals(this.state.field.toString())?We:!1).filter(Boolean)[0],_e=this.__error(new ht("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(re.column)} at line ${re.lines}, value is ${JSON.stringify(this.state.field.toString(c))}`,ce?`(${ce} bom)`:void 0],this.options,re,{field:this.state.field}));if(_e!==void 0)return _e}}else{this.state.quoting=!0,$+=b.length-1;continue}if(this.state.quoting===!1){let re=this.__isRecordDelimiter(K,k,$);if(re!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=re-1;continue}if(v===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=re-1;continue}this.info.bytes=this.state.bufBytesStart+$;let We=this.__onField();if(We!==void 0)return We;this.info.bytes=this.state.bufBytesStart+$+re;let Me=this.__onRecord(a);if(Me!==void 0)return Me;if(S!==-1&&this.info.records>=S){this.state.stop=!0,o();return}}this.state.commenting=!1,$+=re-1;continue}if(this.state.commenting)continue;if(w!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(w,k,$,K)!==0){this.state.commenting=!0;continue}let ce=this.__isDelimiter(k,$,K);if(ce!==0){this.info.bytes=this.state.bufBytesStart+$;let _e=this.__onField();if(_e!==void 0)return _e;$+=ce-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new ht("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let ae=d===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(k,$),ne=y===!1||this.state.wasQuoting===!1;if(ae===!0&&ne===!0)this.state.field.append(K);else{if(y===!0&&!this.__isCharTrimable(k,$))return this.__error(new ht("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));ae===!1&&($+=this.__isCharTrimable(k,$)-1);continue}}if(i===!0)if(this.state.quoting===!0){let K=this.__error(new ht("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(K!==void 0)return K}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+$;let K=this.__onField();if(K!==void 0)return K;let ae=this.__onRecord(a);if(ae!==void 0)return ae}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=$,this.state.previousBuf=k.slice($);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(n){let{columns:i,group_columns_by_name:a,encoding:o,info:s,from:l,relax_column_count:c,relax_column_count_less:u,relax_column_count_more:d,raw:f,skip_records_with_empty_values:p}=this.options,{enabled:m,record:y}=this.state;if(m===!1)return this.__resetRecord();let v=y.length;if(i===!0){if(p===!0&&LJ(y)){this.__resetRecord();return}return this.__firstLineToColumns(y)}if(i===!1&&this.info.records===0&&(this.state.expectedRecordLength=v),v!==this.state.expectedRecordLength){let S=i===!1?new ht("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${v} on line ${this.info.lines}`],this.options,this.__infoField(),{record:y}):new ht("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${i.length},`,`got ${v} on line ${this.info.lines}`],this.options,this.__infoField(),{record:y});if(c===!0||u===!0&&v<this.state.expectedRecordLength||d===!0&&v>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=S;else{let E=this.__error(S);if(E)return E}}if(p===!0&&LJ(y)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:S}=this.options;if(i!==!1){let E={};for(let w=0,_=y.length;w<_;w++)i[w]===void 0||i[w].disabled||(a===!0&&E[i[w].name]!==void 0?Array.isArray(E[i[w].name])?E[i[w].name]=E[i[w].name].concat(y[w]):E[i[w].name]=[E[i[w].name],y[w]]:E[i[w].name]=y[w]);if(f===!0||s===!0){let w=Object.assign({record:E},f===!0?{raw:this.state.rawBuffer.toString(o)}:{},s===!0?{info:this.__infoRecord()}:{}),_=this.__push(S===void 0?w:[E[S],w],n);if(_)return _}else{let w=this.__push(S===void 0?E:[E[S],E],n);if(w)return w}}else if(f===!0||s===!0){let E=Object.assign({record:y},f===!0?{raw:this.state.rawBuffer.toString(o)}:{},s===!0?{info:this.__infoRecord()}:{}),w=this.__push(S===void 0?E:[y[S],E],n);if(w)return w}else{let E=this.__push(S===void 0?y:[y[S],y],n);if(E)return E}}this.__resetRecord()},__firstLineToColumns:function(n){let{firstLineToHeaders:i}=this.state;try{let a=i===void 0?n:i.call(null,n);if(!Array.isArray(a))return this.__error(new ht("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(a)}`],this.options,this.__infoField(),{headers:a}));let o=kJ(a);this.state.expectedRecordLength=o.length,this.options.columns=o,this.__resetRecord();return}catch(a){return a}},__resetRecord:function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:n,encoding:i,rtrim:a,max_record_size:o}=this.options,{enabled:s,wasQuoting:l}=this.state;if(s===!1)return this.__resetField();let c=this.state.field.toString(i);if(a===!0&&l===!1&&(c=c.trimRight()),n===!0){let[u,d]=this.__cast(c);if(u!==void 0)return u;c=d}this.state.record.push(c),o!==0&&typeof c=="string"&&(this.state.record_length+=c.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(n,i){let{on_record:a}=this.options;if(a!==void 0){let o=this.__infoRecord();try{n=a.call(null,n,o)}catch(s){return s}if(n==null)return}i(n)},__cast:function(n){let{columns:i,relax_column_count:a}=this.options;if(Array.isArray(i)===!0&&a&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let s=this.__infoField();return[void 0,this.state.castField.call(null,n,s)]}catch(s){return[s]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let s=this.__infoField();return[void 0,this.options.cast_date.call(null,n,s)]}return[void 0,n]},__isCharTrimable:function(n,i){return((o,s)=>{let{timchars:l}=this.state;e:for(let c=0;c<l.length;c++){let u=l[c];for(let d=0;d<u.length;d++)if(u[d]!==o[s+d])continue e;return u.length}return 0})(n,i)},__isFloat:function(n){return n-parseFloat(n)+1>=0},__compareBytes:function(n,i,a,o){if(n[0]!==o)return 0;let s=n.length;for(let l=1;l<s;l++)if(n[l]!==i[a+l])return 0;return s},__isDelimiter:function(n,i,a){let{delimiter:o,ignore_last_delimiters:s}=this.options;if(s===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(s!==!1&&typeof s=="number"&&this.state.record.length===s-1)return 0;e:for(let l=0;l<o.length;l++){let c=o[l];if(c[0]===a){for(let u=1;u<c.length;u++)if(c[u]!==n[i+u])continue e;return c.length}}return 0},__isRecordDelimiter:function(n,i,a){let{record_delimiter:o}=this.options,s=o.length;e:for(let l=0;l<s;l++){let c=o[l],u=c.length;if(c[0]===n){for(let d=1;d<u;d++)if(c[d]!==i[a+d])continue e;return c.length}}return 0},__isEscape:function(n,i,a){let{escape:o}=this.options;if(o===null)return!1;let s=o.length;if(o[0]===a){for(let l=0;l<s;l++)if(o[l]!==n[i+l])return!1;return!0}return!1},__isQuote:function(n,i){let{quote:a}=this.options;if(a===null)return!1;let o=a.length;for(let s=0;s<o;s++)if(a[s]!==n[i+s])return!1;return!0},__autoDiscoverRecordDelimiter:function(n,i){let{encoding:a}=this.options,o=[Buffer.from(`\r
|
||
`,a),Buffer.from(`
|
||
`,a),Buffer.from("\r",a)];e:for(let s=0;s<o.length;s++){let l=o[s].length;for(let c=0;c<l;c++)if(o[s][c]!==n[i+c])continue e;return this.options.record_delimiter.push(o[s]),this.state.recordDelimiterMaxLength=o[s].length,o[s].length}return 0},__error:function(n){let{encoding:i,raw:a,skip_records_with_error:o}=this.options,s=typeof n=="string"?new Error(n):n;if(o){this.state.recordHasError=!0,this.options.on_skip!==void 0&&this.options.on_skip(s,a?this.state.rawBuffer.toString(i):void 0);return}else return s},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:n,raw:i,encoding:a}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:n===!0,index:this.state.record.length,raw:i?this.state.rawBuffer.toString(a):void 0}},__infoField:function(){let{columns:n}=this.options,i=Array.isArray(n);return{...this.__infoRecord(),column:i===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}},dDe=function(e,t={}){typeof e=="string"&&(e=Buffer.from(e));let r=t&&t.objname?{}:[],n=uDe(t),i=l=>{n.options.objname===void 0?r.push(l):r[l[0]]=l[1]},a=()=>{},o=n.parse(e,!1,i,a);if(o!==void 0)throw o;let s=n.parse(void 0,!0,i,a);if(s!==void 0)throw s;return r};pC.CsvError=ht;pC.parse=dDe});var $J=h(Y4=>{"use strict";var pDe=require("stream"),ho=class e extends Error{constructor(t,r,...n){Array.isArray(r)&&(r=r.join(" ")),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,e),this.code=t;for(let i of n)for(let a in i){let o=i[a];this[a]=Buffer.isBuffer(o)?o.toString():o==null?o:JSON.parse(JSON.stringify(o))}}},PJ=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)},fDe=46,mDe=/\\(\\)?/g,hDe=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),gDe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yDe=/^\w*$/,bDe=function(e){return Object.prototype.toString.call(e)},MJ=function(e){let t=typeof e;return t==="symbol"||t==="object"&&e&&bDe(e)==="[object Symbol]"},vDe=function(e,t){if(Array.isArray(e))return!1;let r=typeof e;return r==="number"||r==="symbol"||r==="boolean"||!e||MJ(e)?!0:yDe.test(e)||!gDe.test(e)||t!=null&&e in Object(t)},_De=function(e){let t=[];return e.charCodeAt(0)===fDe&&t.push(""),e.replace(hDe,function(r,n,i,a){let o=r;i?o=a.replace(mDe,"$1"):n&&(o=n.trim()),t.push(o)}),t},wDe=function(e,t){return Array.isArray(e)?e:vDe(e,t)?[e]:_De(e)},SDe=function(e){if(typeof e=="string"||MJ(e))return e;let t=`${e}`;return t=="0"&&1/e==-1/0?"-0":t},EDe=function(e,t){t=wDe(t,e);let r=0,n=t.length;for(;e!=null&&r<n;)e=e[SDe(t[r++])];return r&&r===n?e:void 0},RJ=function(e){if(e==null)return[void 0,void 0];if(typeof e!="object")return[Error('Invalid option "columns": expect an array or an object')];if(Array.isArray(e)){let t=[];for(let r of e)if(typeof r=="string")t.push({key:r,header:r});else if(typeof r=="object"&&r!==null&&!Array.isArray(r)){if(!r.key)return[Error('Invalid column definition: property "key" is required')];r.header===void 0&&(r.header=r.key),t.push(r)}else return[Error("Invalid column definition: expect a string or an object")];e=t}else{let t=[];for(let r in e)t.push({key:r,header:e[r]});e=t}return[void 0,e]},xDe=function(e){return e.replace(/([A-Z])/g,function(t,r){return"_"+r.toLowerCase()})},FJ=function(e){let t={};for(let i in e)t[xDe(i)]=e[i];if(t.bom===void 0||t.bom===null||t.bom===!1)t.bom=!1;else if(t.bom!==!0)return[new ho("CSV_OPTION_BOOLEAN_INVALID_TYPE",["option `bom` is optional and must be a boolean value,",`got ${JSON.stringify(t.bom)}`])];if(t.delimiter===void 0||t.delimiter===null)t.delimiter=",";else if(Buffer.isBuffer(t.delimiter))t.delimiter=t.delimiter.toString();else if(typeof t.delimiter!="string")return[new ho("CSV_OPTION_DELIMITER_INVALID_TYPE",["option `delimiter` must be a buffer or a string,",`got ${JSON.stringify(t.delimiter)}`])];if(t.quote===void 0||t.quote===null)t.quote='"';else if(t.quote===!0)t.quote='"';else if(t.quote===!1)t.quote="";else if(Buffer.isBuffer(t.quote))t.quote=t.quote.toString();else if(typeof t.quote!="string")return[new ho("CSV_OPTION_QUOTE_INVALID_TYPE",["option `quote` must be a boolean, a buffer or a string,",`got ${JSON.stringify(t.quote)}`])];if((t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),t.escape_formulas===void 0||t.escape_formulas===null)t.escape_formulas=!1;else if(typeof t.escape_formulas!="boolean")return[new ho("CSV_OPTION_ESCAPE_FORMULAS_INVALID_TYPE",["option `escape_formulas` must be a boolean,",`got ${JSON.stringify(t.escape_formulas)}`])];if((t.quoted_empty===void 0||t.quoted_empty===null)&&(t.quoted_empty=void 0),t.quoted_match===void 0||t.quoted_match===null||t.quoted_match===!1?t.quoted_match=null:Array.isArray(t.quoted_match)||(t.quoted_match=[t.quoted_match]),t.quoted_match)for(let i of t.quoted_match){let a=typeof i=="string",o=i instanceof RegExp;if(!a&&!o)return[new ho("CSV_OPTION_QUOTED_MATCH",["option `quoted_match` must be a string or a regex,",`got ${JSON.stringify(t.quoted_match)}`])]}if((t.quoted_string===void 0||t.quoted_string===null)&&(t.quoted_string=!1),(t.eof===void 0||t.eof===null)&&(t.eof=!0),t.escape===void 0||t.escape===null)t.escape='"';else if(Buffer.isBuffer(t.escape))t.escape=t.escape.toString();else if(typeof t.escape!="string")return[Error(`Invalid Option: escape must be a buffer or a string, got ${JSON.stringify(t.escape)}`)];if(t.escape.length>1)return[Error(`Invalid Option: escape must be one character, got ${t.escape.length} characters`)];if(t.header===void 0||t.header===null||t.header===!1)t.header=!1;else if(t.header!==!0)throw new ho("CSV_INVALID_OPTION_HEADER",["option `header` is expected to be a boolean,",`got ${JSON.stringify(t.header)}`],t);if(t.header_as_comment===void 0||t.header_as_comment===null||t.header_as_comment===!1)t.header_as_comment=!1;else if(t.header_as_comment===!0)t.header_as_comment="#";else if(Buffer.isBuffer(t.header_as_comment))t.header_as_comment=t.header_as_comment.toString();else if(typeof t.header_as_comment!="string")throw new ho("CSV_INVALID_OPTION_HEADER_AS_COMMENT",["option `header_as_comment` must be a boolean, a string or a buffer,",`got ${JSON.stringify(t.header_as_comment)}`],t);let[r,n]=RJ(t.columns);if(r!==void 0)return[r];if(t.columns=n,(t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),(t.cast===void 0||t.cast===null)&&(t.cast={}),(t.cast.bigint===void 0||t.cast.bigint===null)&&(t.cast.bigint=i=>""+i),(t.cast.boolean===void 0||t.cast.boolean===null)&&(t.cast.boolean=i=>i?"1":""),(t.cast.date===void 0||t.cast.date===null)&&(t.cast.date=i=>""+i.getTime()),(t.cast.number===void 0||t.cast.number===null)&&(t.cast.number=i=>""+i),(t.cast.object===void 0||t.cast.object===null)&&(t.cast.object=i=>JSON.stringify(i)),(t.cast.string===void 0||t.cast.string===null)&&(t.cast.string=function(i){return i}),t.on_record!==void 0&&typeof t.on_record!="function")return[Error('Invalid Option: "on_record" must be a function.')];if(t.record_delimiter===void 0||t.record_delimiter===null)t.record_delimiter=`
|
||
`;else if(Buffer.isBuffer(t.record_delimiter))t.record_delimiter=t.record_delimiter.toString();else if(typeof t.record_delimiter!="string")return[Error(`Invalid Option: record_delimiter must be a buffer or a string, got ${JSON.stringify(t.record_delimiter)}`)];switch(t.record_delimiter){case"unix":t.record_delimiter=`
|
||
`;break;case"mac":t.record_delimiter="\r";break;case"windows":t.record_delimiter=`\r
|
||
`;break;case"ascii":t.record_delimiter="";break;case"unicode":t.record_delimiter="\u2028";break}return[void 0,t]},ODe=Buffer.from([239,187,191]),jJ=function(e,t){return t.length!==0&&(e.indexOf(t)!==-1||t.length>1&&(e+t).indexOf(t)<e.length)},CDe=function(e,t,r){return{options:e,state:t,info:r,__transform:function(n,i){if(!Array.isArray(n)&&typeof n!="object")return Error(`Invalid Record: expect an array or an object, got ${JSON.stringify(n)}`);if(this.info.records===0){if(Array.isArray(n)){if(this.options.header===!0&&this.options.columns===void 0)return Error("Undiscoverable Columns: header option requires column option or object records")}else if(this.options.columns===void 0){let[s,l]=RJ(Object.keys(n));if(s)return;this.options.columns=l}}if(this.info.records===0){this.bom(i);let s=this.headers(i);if(s)return s}try{this.options.on_record&&this.options.on_record(n,this.info.records)}catch(s){return s}let a,o;if(this.options.eof){if([a,o]=this.stringify(n),a)return a;if(o===void 0)return;o=o+this.options.record_delimiter}else{if([a,o]=this.stringify(n),a)return a;if(o===void 0)return;(this.options.header||this.info.records)&&(o=this.options.record_delimiter+o)}this.info.records++,i(o)},stringify:function(n,i=!1){if(typeof n!="object")return[void 0,n];let{columns:a}=this.options,o=[];if(Array.isArray(n)){a&&n.splice(a.length);for(let l=0;l<n.length;l++){let c=n[l],[u,d]=this.__cast(c,{index:l,column:l,records:this.info.records,header:i});if(u)return[u];o[l]=[d,c]}}else for(let l=0;l<a.length;l++){let c=EDe(n,a[l].key),[u,d]=this.__cast(c,{index:l,column:a[l].key,records:this.info.records,header:i});if(u)return[u];o[l]=[d,c]}let s="";for(let l=0;l<o.length;l++){let c,u,[d,f]=o[l];if(typeof d=="string")c=this.options;else if(PJ(d)){if(c=d,d=c.value,delete c.value,typeof d!="string"&&d!==void 0&&d!==null&&u)return[Error(`Invalid Casting Value: returned value must return a string, null or undefined, got ${JSON.stringify(d)}`)];if(c={...this.options,...c},[u,c]=FJ(c),u!==void 0)return[u]}else if(d==null)c=this.options;else return[Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(d)}`)];let{delimiter:p,escape:m,quote:y,quoted:v,quoted_empty:S,quoted_string:E,quoted_match:w,record_delimiter:_,escape_formulas:b}=c;if(d===""&&f===""){let A=w&&w.filter(P=>typeof P=="string"?d.indexOf(P)!==-1:P.test(d));A=A&&A.length>0,(A||S===!0||E===!0&&S!==!1)===!0&&(d=y+d+y),s+=d}else if(d){if(typeof d!="string")return[Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(d)}`)];let A=jJ(d,p),j=y!==""&&d.indexOf(y)>=0,P=d.indexOf(m)>=0&&m!==y,T=jJ(d,_),N=E&&typeof f=="string",k=w&&w.filter($=>typeof $=="string"?d.indexOf($)!==-1:$.test(d));if(k=k&&k.length>0,b)switch(d[0]){case"=":case"+":case"-":case"@":case" ":case"\r":case"\uFF1D":case"\uFF0B":case"\uFF0D":case"\uFF20":d=`'${d}`;break}let B=j===!0||A||T||v||N||k;B===!0&&P===!0&&(d=d.replaceAll(m,()=>m+m)),j===!0&&(d=d.replaceAll(y,()=>m+y)),B===!0&&(d=y+d+y),s+=d}else(S===!0||f===""&&E===!0&&S!==!1)&&(s+=y+y);l!==o.length-1&&(s+=p)}return[void 0,s]},bom:function(n){this.options.bom===!0&&n(ODe)},headers:function(n){if(this.options.header===!1||this.options.columns===void 0)return;let i,a=this.options.columns.map(o=>o.header);if(this.options.eof?([i,a]=this.stringify(a,!0),a+=this.options.record_delimiter):[i,a]=this.stringify(a),i)return i;this.options.header_as_comment&&(a=this.options.header_as_comment+" "+a),n(a)},__cast:function(n,i){let a=typeof n;try{return a==="string"?[void 0,this.options.cast.string(n,i)]:a==="bigint"?[void 0,this.options.cast.bigint(n,i)]:a==="number"?[void 0,this.options.cast.number(n,i)]:a==="boolean"?[void 0,this.options.cast.boolean(n,i)]:n instanceof Date?[void 0,this.options.cast.date(n,i)]:a==="object"&&n!==null?[void 0,this.options.cast.object(n,i)]:n===null&&this.options.cast.null!==void 0?[void 0,this.options.cast.null(n,i)]:n===void 0&&this.options.cast.undefined!==void 0?[void 0,this.options.cast.undefined(n,i)]:[void 0,n]}catch(o){return[o]}}}},X4=class extends pDe.Transform{constructor(t={}){super({writableObjectMode:!0,...t});let[r,n]=FJ(t);if(r!==void 0)throw r;this.options=n,this.state={stop:!1},this.info={records:0},this.api=CDe(this.options,this.state,this.info),this.api.options.on_record=(...i)=>{this.emit("record",...i)}}_transform(t,r,n){if(this.state.stop===!0)return;let i=this.api.__transform(t,this.push.bind(this));i!==void 0&&(this.state.stop=!0),n(i)}_flush(t){if(this.state.stop!==!0){if(this.info.records===0){this.api.bom(this.push.bind(this));let r=this.api.headers(this.push.bind(this));r&&t(r)}t()}}},TDe=function(){let e,t,r;for(let i in arguments){let a=arguments[i],o=typeof a;if(e===void 0&&Array.isArray(a))e=a;else if(t===void 0&&PJ(a))t=a;else if(r===void 0&&o==="function")r=a;else throw new ho("CSV_INVALID_ARGUMENT",["Invalid argument:",`got ${JSON.stringify(a)} at index ${i}`])}let n=new X4(t);if(r){let i=[];n.on("readable",function(){let a;for(;(a=this.read())!==null;)i.push(a)}),n.on("error",function(a){r(a)}),n.on("end",function(){try{r(void 0,i.join(""))}catch(a){r(a);return}})}if(e!==void 0){let i=function(){for(let a of e)n.write(a);n.end()};typeof setImmediate=="function"?setImmediate(i):setTimeout(i,0)}return n};Y4.CsvError=ho;Y4.Stringifier=X4;Y4.stringify=TDe});var WJ=h(VJ=>{"use strict";var IDe=/\\(\\)?/g,ADe=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),DDe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,LDe=/^\w*$/,kDe=function(e){return Object.prototype.toString.call(e)},zJ=function(e){let t=typeof e;return t==="symbol"||t==="object"&&e&&kDe(e)==="[object Symbol]"},NDe=function(e,t){if(Array.isArray(e))return!1;let r=typeof e;return r==="number"||r==="symbol"||r==="boolean"||!e||zJ(e)?!0:LDe.test(e)||!DDe.test(e)||t!=null&&e in Object(t)},jDe=function(e){let t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ADe,function(r,n,i,a){let o=r;i?o=a.replace(IDe,"$1"):n&&(o=n.trim()),t.push(o)}),t},PDe=function(e,t){return Array.isArray(e)?e:NDe(e,t)?[e]:jDe(e)},MDe=function(e){if(typeof e=="string"||zJ(e))return e;let t=`${e}`;return t=="0"&&1/e==-1/0?"-0":t},RDe=function(e,t){t=PDe(t,e);let r=0,n=t.length;for(;e!=null&&r<n;)e=e[MDe(t[r++])];return r&&r===n?e:void 0},FDe=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)},qJ=function(e){if(e==null)return[void 0,void 0];if(typeof e!="object")return[Error('Invalid option "columns": expect an array or an object')];if(Array.isArray(e)){let t=[];for(let r of e)if(typeof r=="string")t.push({key:r,header:r});else if(typeof r=="object"&&r!==null&&!Array.isArray(r)){if(!r.key)return[Error('Invalid column definition: property "key" is required')];r.header===void 0&&(r.header=r.key),t.push(r)}else return[Error("Invalid column definition: expect a string or an object")];e=t}else{let t=[];for(let r in e)t.push({key:r,header:e[r]});e=t}return[void 0,e]},Bl=class e extends Error{constructor(t,r,...n){Array.isArray(r)&&(r=r.join(" ")),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,e),this.code=t;for(let i of n)for(let a in i){let o=i[a];this[a]=Buffer.isBuffer(o)?o.toString():o==null?o:JSON.parse(JSON.stringify(o))}}},$De=function(e){return e.replace(/([A-Z])/g,function(t,r){return"_"+r.toLowerCase()})},BJ=function(e){let t={};for(let i in e)t[$De(i)]=e[i];if(t.bom===void 0||t.bom===null||t.bom===!1)t.bom=!1;else if(t.bom!==!0)return[new Bl("CSV_OPTION_BOOLEAN_INVALID_TYPE",["option `bom` is optional and must be a boolean value,",`got ${JSON.stringify(t.bom)}`])];if(t.delimiter===void 0||t.delimiter===null)t.delimiter=",";else if(Buffer.isBuffer(t.delimiter))t.delimiter=t.delimiter.toString();else if(typeof t.delimiter!="string")return[new Bl("CSV_OPTION_DELIMITER_INVALID_TYPE",["option `delimiter` must be a buffer or a string,",`got ${JSON.stringify(t.delimiter)}`])];if(t.quote===void 0||t.quote===null)t.quote='"';else if(t.quote===!0)t.quote='"';else if(t.quote===!1)t.quote="";else if(Buffer.isBuffer(t.quote))t.quote=t.quote.toString();else if(typeof t.quote!="string")return[new Bl("CSV_OPTION_QUOTE_INVALID_TYPE",["option `quote` must be a boolean, a buffer or a string,",`got ${JSON.stringify(t.quote)}`])];if((t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),t.escape_formulas===void 0||t.escape_formulas===null)t.escape_formulas=!1;else if(typeof t.escape_formulas!="boolean")return[new Bl("CSV_OPTION_ESCAPE_FORMULAS_INVALID_TYPE",["option `escape_formulas` must be a boolean,",`got ${JSON.stringify(t.escape_formulas)}`])];if((t.quoted_empty===void 0||t.quoted_empty===null)&&(t.quoted_empty=void 0),t.quoted_match===void 0||t.quoted_match===null||t.quoted_match===!1?t.quoted_match=null:Array.isArray(t.quoted_match)||(t.quoted_match=[t.quoted_match]),t.quoted_match)for(let i of t.quoted_match){let a=typeof i=="string",o=i instanceof RegExp;if(!a&&!o)return[new Bl("CSV_OPTION_QUOTED_MATCH",["option `quoted_match` must be a string or a regex,",`got ${JSON.stringify(t.quoted_match)}`])]}if((t.quoted_string===void 0||t.quoted_string===null)&&(t.quoted_string=!1),(t.eof===void 0||t.eof===null)&&(t.eof=!0),t.escape===void 0||t.escape===null)t.escape='"';else if(Buffer.isBuffer(t.escape))t.escape=t.escape.toString();else if(typeof t.escape!="string")return[Error(`Invalid Option: escape must be a buffer or a string, got ${JSON.stringify(t.escape)}`)];if(t.escape.length>1)return[Error(`Invalid Option: escape must be one character, got ${t.escape.length} characters`)];if(t.header===void 0||t.header===null||t.header===!1)t.header=!1;else if(t.header!==!0)throw new Bl("CSV_INVALID_OPTION_HEADER",["option `header` is expected to be a boolean,",`got ${JSON.stringify(t.header)}`],t);if(t.header_as_comment===void 0||t.header_as_comment===null||t.header_as_comment===!1)t.header_as_comment=!1;else if(t.header_as_comment===!0)t.header_as_comment="#";else if(Buffer.isBuffer(t.header_as_comment))t.header_as_comment=t.header_as_comment.toString();else if(typeof t.header_as_comment!="string")throw new Bl("CSV_INVALID_OPTION_HEADER_AS_COMMENT",["option `header_as_comment` must be a boolean, a string or a buffer,",`got ${JSON.stringify(t.header_as_comment)}`],t);let[r,n]=qJ(t.columns);if(r!==void 0)return[r];if(t.columns=n,(t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),(t.cast===void 0||t.cast===null)&&(t.cast={}),(t.cast.bigint===void 0||t.cast.bigint===null)&&(t.cast.bigint=i=>""+i),(t.cast.boolean===void 0||t.cast.boolean===null)&&(t.cast.boolean=i=>i?"1":""),(t.cast.date===void 0||t.cast.date===null)&&(t.cast.date=i=>""+i.getTime()),(t.cast.number===void 0||t.cast.number===null)&&(t.cast.number=i=>""+i),(t.cast.object===void 0||t.cast.object===null)&&(t.cast.object=i=>JSON.stringify(i)),(t.cast.string===void 0||t.cast.string===null)&&(t.cast.string=function(i){return i}),t.on_record!==void 0&&typeof t.on_record!="function")return[Error('Invalid Option: "on_record" must be a function.')];if(t.record_delimiter===void 0||t.record_delimiter===null)t.record_delimiter=`
|
||
`;else if(Buffer.isBuffer(t.record_delimiter))t.record_delimiter=t.record_delimiter.toString();else if(typeof t.record_delimiter!="string")return[Error(`Invalid Option: record_delimiter must be a buffer or a string, got ${JSON.stringify(t.record_delimiter)}`)];switch(t.record_delimiter){case"unix":t.record_delimiter=`
|
||
`;break;case"mac":t.record_delimiter="\r";break;case"windows":t.record_delimiter=`\r
|
||
`;break;case"ascii":t.record_delimiter="";break;case"unicode":t.record_delimiter="\u2028";break}return[void 0,t]},UDe=Buffer.from([239,187,191]),UJ=function(e,t){return t.length!==0&&(e.indexOf(t)!==-1||t.length>1&&(e+t).indexOf(t)<e.length)},zDe=function(e,t,r){return{options:e,state:t,info:r,__transform:function(n,i){if(!Array.isArray(n)&&typeof n!="object")return Error(`Invalid Record: expect an array or an object, got ${JSON.stringify(n)}`);if(this.info.records===0){if(Array.isArray(n)){if(this.options.header===!0&&this.options.columns===void 0)return Error("Undiscoverable Columns: header option requires column option or object records")}else if(this.options.columns===void 0){let[s,l]=qJ(Object.keys(n));if(s)return;this.options.columns=l}}if(this.info.records===0){this.bom(i);let s=this.headers(i);if(s)return s}try{this.options.on_record&&this.options.on_record(n,this.info.records)}catch(s){return s}let a,o;if(this.options.eof){if([a,o]=this.stringify(n),a)return a;if(o===void 0)return;o=o+this.options.record_delimiter}else{if([a,o]=this.stringify(n),a)return a;if(o===void 0)return;(this.options.header||this.info.records)&&(o=this.options.record_delimiter+o)}this.info.records++,i(o)},stringify:function(n,i=!1){if(typeof n!="object")return[void 0,n];let{columns:a}=this.options,o=[];if(Array.isArray(n)){a&&n.splice(a.length);for(let l=0;l<n.length;l++){let c=n[l],[u,d]=this.__cast(c,{index:l,column:l,records:this.info.records,header:i});if(u)return[u];o[l]=[d,c]}}else for(let l=0;l<a.length;l++){let c=RDe(n,a[l].key),[u,d]=this.__cast(c,{index:l,column:a[l].key,records:this.info.records,header:i});if(u)return[u];o[l]=[d,c]}let s="";for(let l=0;l<o.length;l++){let c,u,[d,f]=o[l];if(typeof d=="string")c=this.options;else if(FDe(d)){if(c=d,d=c.value,delete c.value,typeof d!="string"&&d!==void 0&&d!==null&&u)return[Error(`Invalid Casting Value: returned value must return a string, null or undefined, got ${JSON.stringify(d)}`)];if(c={...this.options,...c},[u,c]=BJ(c),u!==void 0)return[u]}else if(d==null)c=this.options;else return[Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(d)}`)];let{delimiter:p,escape:m,quote:y,quoted:v,quoted_empty:S,quoted_string:E,quoted_match:w,record_delimiter:_,escape_formulas:b}=c;if(d===""&&f===""){let A=w&&w.filter(P=>typeof P=="string"?d.indexOf(P)!==-1:P.test(d));A=A&&A.length>0,(A||S===!0||E===!0&&S!==!1)===!0&&(d=y+d+y),s+=d}else if(d){if(typeof d!="string")return[Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(d)}`)];let A=UJ(d,p),j=y!==""&&d.indexOf(y)>=0,P=d.indexOf(m)>=0&&m!==y,T=UJ(d,_),N=E&&typeof f=="string",k=w&&w.filter($=>typeof $=="string"?d.indexOf($)!==-1:$.test(d));if(k=k&&k.length>0,b)switch(d[0]){case"=":case"+":case"-":case"@":case" ":case"\r":case"\uFF1D":case"\uFF0B":case"\uFF0D":case"\uFF20":d=`'${d}`;break}let B=j===!0||A||T||v||N||k;B===!0&&P===!0&&(d=d.replaceAll(m,()=>m+m)),j===!0&&(d=d.replaceAll(y,()=>m+y)),B===!0&&(d=y+d+y),s+=d}else(S===!0||f===""&&E===!0&&S!==!1)&&(s+=y+y);l!==o.length-1&&(s+=p)}return[void 0,s]},bom:function(n){this.options.bom===!0&&n(UDe)},headers:function(n){if(this.options.header===!1||this.options.columns===void 0)return;let i,a=this.options.columns.map(o=>o.header);if(this.options.eof?([i,a]=this.stringify(a,!0),a+=this.options.record_delimiter):[i,a]=this.stringify(a),i)return i;this.options.header_as_comment&&(a=this.options.header_as_comment+" "+a),n(a)},__cast:function(n,i){let a=typeof n;try{return a==="string"?[void 0,this.options.cast.string(n,i)]:a==="bigint"?[void 0,this.options.cast.bigint(n,i)]:a==="number"?[void 0,this.options.cast.number(n,i)]:a==="boolean"?[void 0,this.options.cast.boolean(n,i)]:n instanceof Date?[void 0,this.options.cast.date(n,i)]:a==="object"&&n!==null?[void 0,this.options.cast.object(n,i)]:n===null&&this.options.cast.null!==void 0?[void 0,this.options.cast.null(n,i)]:n===void 0&&this.options.cast.undefined!==void 0?[void 0,this.options.cast.undefined(n,i)]:[void 0,n]}catch(o){return[o]}}}},qDe=function(e,t={}){let r=[],[n,i]=BJ(t);if(n!==void 0)throw n;let s=zDe(i,{stop:!1},{records:0});for(let l of e){let c=s.__transform(l,function(u){r.push(u)});if(c!==void 0)throw c}if(r.length===0){s.bom(c=>{r.push(c)});let l=s.headers(c=>{r.push(c)});if(l!==void 0)throw l}return r.join("")};VJ.stringify=qDe});var fC=h(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.serializeCSVStream=Qo.parseCSVStream=Qo.toCSV=Qo.parseCSV=void 0;var BDe=AJ(),VDe=NJ(),WDe=$J(),ZDe=WJ(),HDe=["`","^",",","|",";"," "];function GDe(e,t){return(0,VDe.parse)(e,{...t,columns:!0,delimiter:HDe})}Qo.parseCSV=GDe;function JDe(e,t){return(0,ZDe.stringify)(e,{...t,header:!0})}Qo.toCSV=JDe;function KDe(e){return new BDe.Parser({...e,columns:!0})}Qo.parseCSVStream=KDe;function XDe(e){return(0,WDe.stringify)({...e,header:!0})}Qo.serializeCSVStream=XDe});var mC=h(om=>{"use strict";var YDe=om&&om.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(om,"__esModule",{value:!0});om.getBodySize=void 0;var Tg=YDe(_g());function QDe(e,t={}){function r(n){return Tg.default.nodeStream(n)&&Tg.default.function_(n.getBoundary)}if(t&&"content-length"in t)return Number(t["content-length"]);if(!e)return 0;if(Tg.default.string(e))return Buffer.byteLength(e);if(Tg.default.urlSearchParams(e))return Buffer.byteLength(e.toString());if(Tg.default.buffer(e))return e.length;try{if(r(e))return e.getLengthSync()}catch{return}}om.getBodySize=QDe});var sm=h(Vl=>{"use strict";var eLe=Vl&&Vl.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vl,"__esModule",{value:!0});Vl.isBrowser=Vl.HttpApi=void 0;var tLe=require("events"),rLe=eLe(xJ()),nLe=fo(),iLe=wg(),aLe=fC(),oLe=Yf(),sLe=mC();function lLe(e){return JSON.parse(e)}async function cLe(e){return rLe.default.parseStringPromise(e,{explicitArray:!1})}function uLe(e){return e}var Q4=class e extends tLe.EventEmitter{static _logger=(0,nLe.getLogger)("http-api");_conn;_logger;_transport;_responseType;_noContentResponse;_options;constructor(t,r){super(),this._conn=t,this._logger=t._logLevel?e._logger.createInstance(t._logLevel):e._logger,this._responseType=r.responseType,this._transport=r.transport||t._transport,this._noContentResponse=r.noContentResponse,this._options=r}request(t){return iLe.StreamPromise.create(()=>{let{stream:r,setStream:n}=(0,oLe.createLazyStream)(),i=(async()=>{let a=this.getRefreshDelegate();if(a&&a.isRefreshing()){await a.waitRefresh();let u=this.request(t);return n(u.stream()),await u}this.beforeSend(t),this.emit("request",t),this._logger.debug(`<request> method=${t.method}, url=${t.url}`);let o=Date.now(),s=this._transport.httpRequest(t,this._options);n(s.stream());let l;try{l=await s}catch(u){throw this._logger.error(u),u}finally{let u=Date.now();this._logger.debug(`elapsed time: ${u-o} msec`)}if(!l)return;if(this._logger.debug(`<response> status=${String(l.statusCode)}, url=${t.url}`),this.emit("response",l),this.isSessionExpired(l)&&a)return await a.refresh(o),"_message"in t&&t.headers&&"content-length"in t.headers&&delete t.headers["content-length"],this.request(t);if(this.isErrorResponse(l))throw await this.getError(l);return await this.getResponseBody(l)})();return{stream:r,promise:i}})}getRefreshDelegate(){return this._conn._refreshDelegate}beforeSend(t){let r=t.headers||{};if(this._conn.accessToken&&(r.Authorization=`Bearer ${this._conn.accessToken}`),this._conn._callOptions){let o=[];for(let s of Object.keys(this._conn._callOptions))o.push(`${s}=${this._conn._callOptions[s]}`);r["Sforce-Call-Options"]=o.join(", ")}let n=(0,sLe.getBodySize)(t.body,r),i=["GET","HEAD","OPTIONS"].includes(t.method);!("window"in globalThis||"self"in globalThis)&&!i&&t.body&&!("transfer-encoding"in r)&&!("content-length"in r)&&n&&(this._logger.debug(`missing 'content-length' header, setting it to: ${n}`),r["content-length"]=String(n)),t.headers=r}getResponseContentType(t){return this._responseType||t.headers&&t.headers["content-type"]}async parseResponseBody(t){let r=this.getResponseContentType(t)||"",n=/^(text|application)\/xml(;|$)/.test(r)?cLe:/^application\/json(;|$)/.test(r)?lLe:/^text\/csv(;|$)/.test(r)?aLe.parseCSV:uLe;try{return n(t.body)}catch(i){return this._logger.debug(`Failed to parse body of content-type: ${r}. Error: ${i.message}`),t.body}}async getResponseBody(t){if(t.statusCode===204)return this._noContentResponse;let r=await this.parseResponseBody(t),n;if(this.hasErrorInResponseBody(r))throw n=await this.getError(t,r),n;if(t.statusCode===300)throw new Hd("Multiple records found","MULTIPLE_CHOICES",r);return r}isSessionExpired(t){if(t.statusCode===401){let r=["Connected app is not attached to Agent","This session is not valid for use with the REST API"];for(let n of r)if(t.body.includes(n))return!1;return!0}return!1}isErrorResponse(t){return t.statusCode>=400}hasErrorInResponseBody(t){return!1}parseError(t){let r=t;return r.Errors?r.Errors.Error:r}async getError(t,r){let n;try{n=this.parseError(r||await this.parseResponseBody(t))}catch{}if(Array.isArray(n))if(n.length===1)n=n[0];else return new Hd("Multiple errors returned.\n Check `error.data` for the error details","MULTIPLE_API_ERRORS",n);return n=typeof n=="object"&&n!==null&&typeof n.message=="string"?n:{errorCode:`ERROR_HTTP_${t.statusCode}`,message:t.body},t.headers["content-type"]==="text/html"?(this._logger.debug(`html response.body: ${t.body}`),new Hd(`HTTP response contains html content.
|
||
Check that the org exists and can be reached.
|
||
|
||
HTTP status code: ${t.statusCode}.
|
||
REST API Status Codes and Error Responses:
|
||
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm
|
||
|
||
See \`error.data\` for the full html response.`,n.errorCode,n.message)):n instanceof Hd?n:new Hd(n.message,n.errorCode,n)}};Vl.HttpApi=Q4;var Hd=class extends Error{data;errorCode;constructor(t,r,n){super(t),this.name=r||this.name,this.errorCode=this.name,this.data=n}get content(){return this.data}};Vl.default=Q4;Vl.isBrowser="window"in globalThis||"self"in globalThis});var ZJ=h(Ig=>{"use strict";Object.defineProperty(Ig,"__esModule",{value:!0});Ig.SessionRefreshDelegate=void 0;var dLe=fo(),ew=class e{static _logger=(0,dLe.getLogger)("session-refresh-delegate");_refreshFn;_conn;_logger;_lastRefreshedAt=void 0;_refreshPromise=void 0;constructor(t,r){this._conn=t,this._logger=t._logLevel?e._logger.createInstance(t._logLevel):e._logger,this._refreshFn=r}async refresh(t){if(!(this._lastRefreshedAt&&this._lastRefreshedAt>t)){if(this._refreshPromise){await this._refreshPromise;return}try{this._logger.info("<refresh token>"),this._refreshPromise=new Promise((r,n)=>{this._refreshFn(this._conn,(i,a,o)=>{i?n(i):(this._logger.debug("Connection refresh completed."),this._conn.accessToken=a,this._conn.emit("refresh",a,o),r())})}),await this._refreshPromise,this._logger.info("<refresh complete>")}catch(r){throw new Error(`Unable to refresh session due to: ${r.message}`)}finally{this._refreshPromise=void 0,this._lastRefreshedAt=Date.now()}}}isRefreshing(){return!!this._refreshPromise}async waitRefresh(){return this._refreshPromise}};Ig.SessionRefreshDelegate=ew;Ig.default=ew});var Ag=h(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.Parsable=Wl.Serializable=Wl.RecordStream=void 0;var lm=require("stream"),HJ=fC(),pLe=Yf();function fLe(e,t){if(typeof e=="string"){let r=/^\$\{(\w+)\}$/.exec(e);return r?t[r[1]]:e.replace(/\$\{(\w+)\}/g,(n,i)=>{let a=t[i];return typeof a>"u"||a===null?"":String(a)})}return e}function GJ(e,t={}){return Object.keys(e).reduce((r,n)=>{let i=r[n],a;if(n==="attributes")return a={...r},delete a[n],a;if(t.nullValue&&i===null)return{...r,[n]:t.nullValue};if(i!==null&&typeof i=="object"){let o=GJ(i,t);return Object.keys(o).reduce((s,l)=>(s[`${n}.${l}`]=o[l],s),{...r})}return r},e)}function mLe(e,t){return e.pipe(t),(0,pLe.concatStreamsAsDuplex)(e,t,{writableObjectMode:!0})}var hLe={serialize(e={}){let{nullValue:t,...r}=e;return mLe(Gd.map(n=>GJ(n,e)),(0,HJ.serializeCSVStream)(r))},parse(e={}){return(0,HJ.parseCSVStream)(e)}},JJ={csv:hLe},Gd=class e extends lm.PassThrough{constructor(){super({objectMode:!0})}map(t){return this.pipe(e.map(t))}filter(t){return this.pipe(e.filter(t))}on(t,r){return super.on(t==="record"?"data":t,r)}addListener=this.on;static map(t){let r=new lm.Transform({objectMode:!0,transform(n,i,a){let o=t(n)||n;r.push(o),a()}});return r}static recordMapStream(t,r){return e.map(n=>{let i={Id:n.Id};for(let a of Object.keys(t))i[a]=r?t[a]:fLe(t[a],n);return i})}static filter(t){let r=new lm.Transform({objectMode:!0,transform(n,i,a){t(n)&&r.push(n),a()}});return r}};Wl.RecordStream=Gd;var hC=class extends Gd{_dataStreams={};stream(t="csv",r={}){if(this._dataStreams[t])return this._dataStreams[t];let n=JJ[t];if(!n)throw new Error(`Converting [${t}] data stream is not supported.`);let i=new lm.PassThrough;return this.pipe(n.serialize(r)).pipe(i),this._dataStreams[t]=i,i}};Wl.Serializable=hC;var gC=class extends Gd{_dataStreams={};_execParse=!1;_incomings=[];stream(t="csv",r={}){if(this._dataStreams[t])return this._dataStreams[t];let n=JJ[t];if(!n)throw new Error(`Converting [${t}] data stream is not supported.`);let i=new lm.PassThrough,a=n.parse(r);return a.on("error",o=>this.emit("error",o)),a.pipe(this).pipe(new lm.PassThrough({objectMode:!0,highWaterMark:500*1e3})),this._execParse?i.pipe(a):this._incomings.push([i,a]),this._dataStreams[t]=i,i}on(t,r){if((t==="readable"||t==="record")&&!this._execParse){this._execParse=!0;for(let[n,i]of this._incomings)n.pipe(i)}return super.on(t,r)}addListener=this.on};Wl.Parsable=gC;Wl.default=Gd});var yC=h(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.formatDate=um.zeroPad=void 0;function cm(e,t=2){let r="";for(let n=t-1;n>0&&!(e>=10**n);n--)r+="0";return r+String(e)}um.zeroPad=cm;function gLe(e){return`${e.getUTCFullYear()}-${cm(e.getUTCMonth()+1)}-${cm(e.getUTCDate())}T${cm(e.getUTCHours())}:${cm(e.getUTCMinutes())}:${cm(e.getUTCSeconds())}+00:00`}um.formatDate=gLe});var tw=h(Lg=>{"use strict";Object.defineProperty(Lg,"__esModule",{value:!0});Lg.SfDate=void 0;var go=yC();function di(e){return t=>new Dg(`${e}:${String(t)}`)}var Dg=class e{_literal;constructor(t){this._literal=t}toJSON(){return this._literal}toString=this.toJSON;static toDateLiteral(t){let r;typeof t=="number"?r=new Date(t):typeof t=="string"?r=e.parseDate(t):r=t;let n=r.getFullYear(),i=r.getMonth()+1,a=r.getDate(),o=[n,(0,go.zeroPad)(i),(0,go.zeroPad)(a)].join("-");return new e(o)}static toDateTimeLiteral(t){let r;typeof t=="number"?r=new Date(t):typeof t=="string"?r=e.parseDate(t):r=t;let n=r.getUTCFullYear(),i=r.getUTCMonth()+1,a=r.getUTCDate(),o=r.getUTCHours(),s=r.getUTCMinutes(),l=r.getUTCSeconds(),c=`${[n,(0,go.zeroPad)(i),(0,go.zeroPad)(a)].join("-")}T${[(0,go.zeroPad)(o),(0,go.zeroPad)(s),(0,go.zeroPad)(l)].join(":")}Z`;return new e(c)}static toTimeLiteral(t){let r=new Date(0);typeof t=="string"?r=e.parseTime(t):typeof t=="number"?r=new Date(t):r=t;let n=r.getUTCHours(),i=r.getUTCMinutes(),a=r.getUTCSeconds(),o=r.getUTCMilliseconds(),s=`${(0,go.zeroPad)(n)}:${(0,go.zeroPad)(i)}:${(0,go.zeroPad)(a)}.${(0,go.zeroPad)(o,3)}Z`;return new e(s)}static parseDate(t){let r=new Date,n=/^([\d]{4})-?([\d]{2})-?([\d]{2})(T([\d]{2}):?([\d]{2}):?([\d]{2})(.([\d]{3}))?(Z|([+-])([\d]{2}):?([\d]{2})))?$/,i=t.match(n);if(i){if(r=new Date(0),!i[4])r.setFullYear(parseInt(i[1],10)),r.setDate(parseInt(i[3],10)),r.setMonth(parseInt(i[2],10)-1),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0);else if(r.setUTCFullYear(parseInt(i[1],10)),r.setUTCDate(parseInt(i[3],10)),r.setUTCMonth(parseInt(i[2],10)-1),r.setUTCHours(parseInt(i[5],10)),r.setUTCMinutes(parseInt(i[6],10)),r.setUTCSeconds(parseInt(i[7],10)),r.setUTCMilliseconds(parseInt(i[9]||"0",10)),i[10]&&i[10]!=="Z"){let a=parseInt(i[12],10)*60+parseInt(i[13],10);r.setTime((i[11]==="+"?-1:1)*a*60*1e3+r.getTime())}return r}throw new Error(`Invalid date format is specified : ${t}`)}static parseTime(t){let r=/^([\d]{2}):?([\d]{2}):?([\d]{2})(.([\d]{3}))?Z?$/,n=t.match(r);if(n){let i=new Date(0),a=parseInt(n[1],10),o=parseInt(n[2],10),s=parseInt(n[3],10),l=parseInt(n[5]||"0",10);return i.setUTCHours(a),i.setUTCMinutes(o),i.setUTCSeconds(s),i.setUTCMilliseconds(l),i}throw new Error(`Invalid time format is specified : ${t}`)}static YESTERDAY=new e("YESTERDAY");static TODAY=new e("TODAY");static TOMORROW=new e("TOMORROW");static LAST_WEEK=new e("LAST_WEEK");static THIS_WEEK=new e("THIS_WEEK");static NEXT_WEEK=new e("NEXT_WEEK");static LAST_MONTH=new e("LAST_MONTH");static THIS_MONTH=new e("THIS_MONTH");static NEXT_MONTH=new e("NEXT_MONTH");static LAST_90_DAYS=new e("LAST_90_DAYS");static NEXT_90_DAYS=new e("NEXT_90_DAYS");static LAST_N_DAYS=di("LAST_N_DAYS");static NEXT_N_DAYS=di("NEXT_N_DAYS");static NEXT_N_WEEKS=di("NEXT_N_WEEKS");static LAST_N_WEEKS=di("LAST_N_WEEKS");static NEXT_N_MONTHS=di("NEXT_N_MONTHS");static LAST_N_MONTHS=di("LAST_N_MONTHS");static THIS_QUARTER=new e("THIS_QUARTER");static LAST_QUARTER=new e("LAST_QUARTER");static NEXT_QUARTER=new e("NEXT_QUARTER");static NEXT_N_QUARTERS=di("NEXT_N_QUARTERS");static LAST_N_QUARTERS=di("LAST_N_QUARTERS");static THIS_YEAR=new e("THIS_YEAR");static LAST_YEAR=new e("LAST_YEAR");static NEXT_YEAR=new e("NEXT_YEAR");static NEXT_N_YEARS=di("NEXT_N_YEARS");static LAST_N_YEARS=di("LAST_N_YEARS");static THIS_FISCAL_QUARTER=new e("THIS_FISCAL_QUARTER");static LAST_FISCAL_QUARTER=new e("LAST_FISCAL_QUARTER");static NEXT_FISCAL_QUARTER=new e("NEXT_FISCAL_QUARTER");static THIS_FISCAL_YEAR=new e("THIS_FISCAL_YEAR");static NEXT_N_FISCAL_QUARTERS=di("NEXT_N_FISCAL_QUARTERS");static LAST_N_FISCAL_QUARTERS=di("LAST_N_FISCAL_QUARTERS");static LAST_FISCAL_YEAR=new e("LAST_FISCAL_YEAR");static NEXT_FISCAL_YEAR=new e("NEXT_FISCAL_YEAR");static NEXT_N_FISCAL_YEARS=di("NEXT_N_FISCAL_YEARS");static LAST_N_FISCAL_YEARS=di("LAST_N_FISCAL_YEARS")};Lg.SfDate=Dg;Lg.default=Dg});var QJ=h(dm=>{"use strict";var yLe=dm&&dm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(dm,"__esModule",{value:!0});dm.createSOQL=void 0;var bLe=yLe(tw());function vLe(e){return String(e||"").replace(/'/g,"\\'")}function _Le(e,t={}){let r=Object.values(t);return[...e||["Id"],...r.map(n=>`(${YJ(n)})`)].join(", ")}function KJ(e){return Array.isArray(e)?e.length>0?`(${e.map(KJ).join(", ")})`:void 0:e instanceof bLe.default?e.toString():typeof e=="string"?`'${vLe(e)}'`:typeof e=="number"?e.toString():e===null?"null":e}var wLe={"=":"=",$eq:"=","!=":"!=",$ne:"!=",">":">",$gt:">","<":"<",$lt:"<",">=":">=",$gte:">=","<=":"<=",$lte:"<=",$like:"LIKE",$nlike:"NOT LIKE",$in:"IN",$nin:"NOT IN",$includes:"INCLUDES",$excludes:"EXCLUDES",$exists:"EXISTS"};function SLe(e,t){let r="$eq",n=t;if(Array.isArray(t))r="$in";else if(typeof t=="object"&&t!==null){for(let o of Object.keys(t))if(o.startsWith("$")){r=o,n=t[o];break}}let i=wLe[r];if(!i||typeof n>"u")return null;let a=KJ(n);if(typeof a>"u")return null;switch(i){case"NOT LIKE":return`(${["NOT",e,"LIKE",a].join(" ")})`;case"EXISTS":return[e,n?"!=":"=","null"].join(" ");default:return[e,i,a].join(" ")}}function ELe(e=[]){let t=[];if(typeof e=="string"){if(/,|\s+(asc|desc)\s*$/.test(e))return e;t=e.split(/\s+/).map(r=>{let n="ASC",i=r[0];return i==="-"?(n="DESC",r=r.substring(1)):i==="+"&&(r=r.substring(1)),[r,n]})}else Array.isArray(e)?t=e:t=Object.entries(e).map(([r,n])=>[r,n]);return t.map(([r,n])=>{switch(String(n)){case"DESC":case"desc":case"descending":case"-":case"-1":n="DESC";break;default:n="ASC"}return`${r} ${n}`}).join(", ")}function XJ(e={},t="AND",r=0){if(typeof e=="string")return e;let n=[];if(Array.isArray(e))n=e.map(o=>{let s=Object.keys(o).map(l=>({key:l,value:o[l]}));return s.length>1?{key:"$and",value:s.map(l=>({[l.key]:l.value}))}:s[0]});else{let o=e;n=Object.keys(o).map(s=>({key:s,value:o[s]}))}let i=n.map(o=>{let s=r+1,l;switch(o.key){case"$or":case"$and":case"$not":return t!=="NOT"&&n.length===1&&(s=r),l=o.key==="$or"?"OR":o.key==="$and"?"AND":"NOT",XJ(o.value,l,s);default:return SLe(o.key,o.value)}}).filter(o=>o),a;return t==="NOT"?(a=r>0,`${a?"(":""}NOT ${i[0]}${a?")":""}`):(a=r>0&&i.length>1,(a?"(":"")+i.join(` ${t} `)+(a?")":""))}function YJ(e){let t=["SELECT ",_Le(e.fields,e.includes)," FROM ",e.table].join(""),r=XJ(e.conditions);r&&(t+=` WHERE ${r}`);let n=ELe(e.sort);return n&&(t+=` ORDER BY ${n}`),e.limit&&(t+=` LIMIT ${e.limit}`),e.offset&&(t+=` OFFSET ${e.offset}`),t}dm.createSOQL=YJ});var nw=h(Wr=>{"use strict";var xLe=Wr&&Wr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),OLe=Wr&&Wr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CLe=Wr&&Wr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xLe(t,e,r);return OLe(t,e),t};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.SubQuery=Wr.Query=Wr.ResponseTargets=void 0;var TLe=require("events"),ILe=fo(),bC=CLe(Ag()),ALe=QJ(),DLe=["QueryResult","Records","SingleRecord","Count"];Wr.ResponseTargets=DLe.reduce((e,t)=>({...e,[t]:t}),{});var eK=200,tK=1,kg=class e extends TLe.EventEmitter{static _logger=(0,ILe.getLogger)("query");_conn;_logger;_soql;_locator;_config={};_children=[];_options;_executed=!1;_finished=!1;_chaining=!1;_promise;_stream;totalSize=0;totalFetched=0;records=[];constructor(t,r,n){if(super(),this._conn=t,this._logger=t._logLevel?e._logger.createInstance(t._logLevel):e._logger,typeof r=="string")this._soql=r,this._logger.debug(`config is soql: ${r}`);else if(typeof r.locator=="string"){let i=r.locator;this._logger.debug(`config is locator: ${i}`),this._locator=i.includes("/")?this.urlToLocator(i):i}else{this._logger.debug(`config is QueryConfig: ${JSON.stringify(r)}`);let{fields:i,includes:a,sort:o,...s}=r;this._config=s,this.select(i),a&&this.includeChildren(a),o&&this.sort(o)}this._options={headers:{},maxFetch:1e4,autoFetch:!1,scanAll:!1,responseTarget:"QueryResult",...n||{}},this._promise=new Promise((i,a)=>{this.on("response",i),this.on("error",a)}),this._stream=new bC.Serializable,this.on("record",i=>this._stream.push(i)),this.on("end",()=>this._stream.push(null)),this.on("error",i=>{try{this._stream.emit("error",i)}catch{}})}select(t="*"){if(this._soql)throw Error("Cannot set select fields for the query which has already built SOQL.");function r(n){return typeof n=="string"?n.split(/\s*,\s*/):Array.isArray(n)?n.map(r).reduce((i,a)=>[...i,...a],[]):Object.entries(n).map(([i,a])=>typeof a=="number"||typeof a=="boolean"?a?[i]:[]:r(a).map(o=>`${i}.${o}`)).reduce((i,a)=>[...i,...a],[])}return t&&(this._config.fields=r(t)),this}where(t){if(this._soql)throw Error("Cannot set where conditions for the query which has already built SOQL.");return this._config.conditions=t,this}limit(t){if(this._soql)throw Error("Cannot set limit for the query which has already built SOQL.");return this._config.limit=t,this}skip(t){if(this._soql)throw Error("Cannot set skip/offset for the query which has already built SOQL.");return this._config.offset=t,this}offset=this.skip;sort(t,r){if(this._soql)throw Error("Cannot set sort for the query which has already built SOQL.");return typeof t=="string"&&typeof r<"u"?this._config.sort=[[t,r]]:this._config.sort=t,this}orderby=this.sort;include(t,r,n,i={}){if(this._soql)throw Error("Cannot include child relationship into the query which has already built SOQL.");let a={fields:n===null?void 0:n,table:t,conditions:r===null?void 0:r,limit:i.limit,offset:i.offset,sort:i.sort},o=new rw(this._conn,t,a,this);return this._children.push(o),o}includeChildren(t){if(this._soql)throw Error("Cannot include child relationship into the query which has already built SOQL.");for(let r of Object.keys(t)){let{conditions:n,fields:i,...a}=t[r];this.include(r,n,i,a)}return this}maxFetch(t){return this._options.maxFetch=t,this}autoFetch(t){return this._options.autoFetch=t,this}scanAll(t){return this._options.scanAll=t,this}setResponseTarget(t){return t in Wr.ResponseTargets&&(this._options.responseTarget=t),this}execute(t={}){if(this._executed)throw new Error("re-executing already executed query");if(this._finished)throw new Error("executing already closed query");let r={headers:t.headers||this._options.headers,responseTarget:t.responseTarget||this._options.responseTarget,autoFetch:t.autoFetch||this._options.autoFetch,maxFetch:t.maxFetch||this._options.maxFetch,scanAll:t.scanAll||this._options.scanAll};return this.once("fetch",()=>{if(r.responseTarget===Wr.ResponseTargets.Records&&this._chaining){this._logger.debug("--- collecting all fetched records ---");let n=[],i=a=>n.push(a);this.on("record",i),this.once("end",()=>{this.removeListener("record",i),this.emit("response",n,this)})}}),this._executed=!0,(async()=>{this._logger.debug(">>> Query start >>>");try{await this._execute(r),this._logger.debug("*** Query finished ***")}catch(n){this._logger.debug("--- Query error ---",n),this.emit("error",n)}})(),this}exec=this.execute;run=this.execute;locatorToUrl(){return this._locator?[this._conn._baseUrl(),"/query/",this._locator].join(""):""}urlToLocator(t){return t.split("/").pop()}constructResponse(t,r){switch(r){case"Count":return this.totalSize;case"SingleRecord":return this.records?.[0]??null;case"Records":return this.records;default:return{records:this.records,totalSize:this.totalSize,done:t??!0,...this._locator?{nextRecordsUrl:this.locatorToUrl()}:{}}}}async _execute(t){let{headers:r,responseTarget:n,autoFetch:i,maxFetch:a,scanAll:o}=t;this._logger.debug("execute with options",t);let s;if(this._locator)s=this.locatorToUrl();else{let d=await this.toSOQL();this._logger.debug(`SOQL = ${d}`),s=[this._conn._baseUrl(),"/",o?"queryAll":"query","?q=",encodeURIComponent(d)].join("")}let l=await this._conn.request({method:"GET",url:s,headers:r});if(this.emit("fetch"),this.totalSize=l.totalSize,i&&l.records.length>0){let d=Object.keys(l.records[0]);for(let f of l.records)for(let p of d){let m=f[p];m&&typeof m=="object"&&"records"in m&&"nextRecordsUrl"in m&&(f[p]={...m,records:await this._fetchAllSubqueryRecords(f,p,r),done:!0,nextRecordsUrl:void 0})}}this.records=this.records?.concat(a-this.records.length>l.records.length?l.records:l.records.slice(0,a-this.records.length)),this._locator=l.nextRecordsUrl?this.urlToLocator(l.nextRecordsUrl):void 0,this._finished=this._finished||l.done||!i||this.records.length===a||l.records.length===0&&l.done===void 0;let c=l.records?.length??0,u=this.totalFetched;for(let d=0;d<c;d++){if(u>=a){this._finished=!0;break}let f=l.records[d];this.emit("record",f,u,this),u+=1}if(this.totalFetched=u,this._finished){let d=this.constructResponse(l.done,n);return n!==Wr.ResponseTargets.Records&&this.emit("response",d,this),this.emit("end"),d}else return this._execute(t)}stream(t="csv"){return!this._finished&&!this._executed&&this.execute({autoFetch:!0}),t==="record"?this._stream:this._stream.stream(t)}pipe(t){return this.stream("record").pipe(t)}async _expandFields(t){if(this._soql)throw new Error("Cannot expand fields for the query which has already built SOQL.");let{fields:r=[],table:n=""}=this._config,i=t||n;this._logger.debug(`_expandFields: sobject = ${i}, fields = ${r.join(", ")}`);let[a]=await Promise.all([this._expandAsteriskFields(i,r),...this._children.map(async o=>(await o._expandFields(),[]))]);this._config.fields=a,this._config.includes=this._children.map(o=>{let s=o._query._config;return[s.table,s]}).reduce((o,[s,l])=>({...o,[s]:l}),{})}async _findRelationObject(t){let r=this._config.table;if(!r)throw new Error("No table information provided in the query");this._logger.debug(`finding table for relation "${t}" in "${r}"...`);let n=await this._conn.describe$(r),i=t.toUpperCase();for(let a of n.childRelationships)if((a.relationshipName||"").toUpperCase()===i&&a.childSObject)return a.childSObject;throw new Error(`No child relationship found: ${t}`)}async _expandAsteriskFields(t,r){return(await Promise.all(r.map(async i=>this._expandAsteriskField(t,i)))).reduce((i,a)=>[...i,...a],[])}async _expandAsteriskField(t,r){this._logger.debug(`expanding field "${r}" in "${t}"...`);let n=r.split(".");if(n[n.length-1]==="*"){let i=await this._conn.describe$(t);if(this._logger.debug(`table ${t} has been described`),n.length>1){let a=n.shift();for(let o of i.fields)if(o.relationshipName&&a&&o.relationshipName.toUpperCase()===a.toUpperCase()){let l=o.referenceTo||[],c=l.length===1?l[0]:"Name";return(await this._expandAsteriskField(c,n.join("."))).map(d=>`${a}.${d}`)}return[]}return i.fields.map(a=>a.name)}return[r]}async explain(){let t=await this.toSOQL();this._logger.debug(`SOQL = ${t}`);let r=`/query/?explain=${encodeURIComponent(t)}`;return this._conn.request(r)}async toSOQL(){return this._soql?this._soql:(await this._expandFields(),(0,ALe.createSOQL)(this._config))}then(t,r){if(this._chaining=!0,!this._finished&&!this._executed&&this.execute(),!this._promise)throw new Error("invalid state: promise is not set after query execution");return this._promise.then(t,r)}catch(t){return this.then(null,t)}promise(){return Promise.resolve(this)}destroy(t,r){typeof t=="object"&&t!==null&&(r=t,t=void 0),r=r||{};let n=t||this._config.table;if(!n)throw new Error("SOQL based query needs SObject type information to bulk delete.");let i=r.allowBulk===!1?-1:typeof r.bulkThreshold=="number"?r.bulkThreshold:this._conn._ensureVersion(42)?eK:this._conn._maxRequest/2,a=r.bulkApiVersion??tK;return new Promise((o,s)=>{let l=()=>this._conn.sobject(n).deleteBulk().on("response",o).on("error",s),c=[],u=null,d=p=>{if(!p.Id){let y=new Error("Queried record does not include Salesforce record ID.");this.emit("error",y);return}let m={Id:p.Id};if(u)u.write(m);else if(c.push(m),i>=0&&c.length>i&&a===1){u=l();for(let y of c)u.write(y);c=[]}},f=()=>{if(u)u.end();else{let p=c.map(m=>m.Id);c.length>i&&a===2?this._conn.bulk2.loadAndWaitForResults({object:n,operation:"delete",input:c}).then(m=>o(this.mapBulkV2ResultsToSaveResults(m)),s):this._conn.sobject(n).destroy(p,{allowRecursive:!0}).then(o,s)}};this.stream("record").on("data",d).on("end",f).on("error",s)})}delete=this.destroy;del=this.destroy;update(t,r,n){typeof r=="object"&&r!==null&&(n=r,r=void 0),n=n||{};let i=r||this._config&&this._config.table;if(!i)throw new Error("SOQL based query needs SObject type information to bulk update.");let a=typeof t=="function"?bC.default.map(t):bC.default.recordMapStream(t,n.skipRecordTemplateEval),o=n.allowBulk===!1?-1:typeof n.bulkThreshold=="number"?n.bulkThreshold:this._conn._ensureVersion(42)?eK:this._conn._maxRequest/2,s=n.bulkApiVersion??tK;return new Promise((l,c)=>{let u=()=>this._conn.sobject(i).updateBulk().on("response",l).on("error",c),d=[],f=null,p=y=>{if(f?f.write(y):d.push(y),o>=0&&d.length>o&&s===1){f=u();for(let v of d)f.write(v);d=[]}},m=()=>{f?f.end():d.length>o&&s===2?this._conn.bulk2.loadAndWaitForResults({object:i,operation:"update",input:d}).then(y=>l(this.mapBulkV2ResultsToSaveResults(y)),c):this._conn.sobject(i).update(d,{allowRecursive:!0}).then(l,c)};this.stream("record").on("error",c).pipe(a).on("data",p).on("end",m).on("error",c)})}mapBulkV2ResultsToSaveResults(t){let r=t.successfulResults.map(i=>({id:i.sf__Id,success:!0,errors:[]})),n=t.failedResults.map(i=>({success:!1,errors:[{errorCode:i.sf__Error,message:i.sf__Error}]}));return[...r,...n]}async _fetchAllSubqueryRecords(t,r,n){let i=t[r];if(!i||!i.records)return[];let a=[...i.records],o=i.nextRecordsUrl;for(;o;){let s=await this._conn.request({method:"GET",url:o,headers:n});a=a.concat(s.records),o=s.nextRecordsUrl}return a}};Wr.Query=kg;var rw=class{_relName;_query;_parent;constructor(t,r,n,i){this._relName=r,this._query=new kg(t,n),this._parent=i}select(t){return this._query=this._query.select(t),this}where(t){return this._query=this._query.where(t),this}limit(t){return this._query=this._query.limit(t),this}skip(t){return this._query=this._query.skip(t),this}offset=this.skip;sort(t,r){return this._query=this._query.sort(t,r),this}orderby=this.sort;async _expandFields(){let t=await this._parent._findRelationObject(this._relName);return this._query._expandFields(t)}end(){return this._parent}};Wr.SubQuery=rw;Wr.default=kg});var vC=h(Ng=>{"use strict";Object.defineProperty(Ng,"__esModule",{value:!0});Ng.RecordReference=void 0;var iw=class{type;id;_conn;constructor(t,r,n){this._conn=t,this.type=r,this.id=n}async retrieve(t){return await this._conn.retrieve(this.type,this.id,t)}async update(t,r){let n={...t,Id:this.id};return this._conn.update(this.type,n,r)}destroy(t){return this._conn.destroy(this.type,this.id,t)}delete=this.destroy;del=this.destroy;blob(t){let r=[this._conn._baseUrl(),"sobjects",this.type,this.id,t].join("/");return this._conn.request(r).stream()}};Ng.RecordReference=iw;Ng.default=iw});var ow=h(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.QuickAction=void 0;var aw=class{_conn;_path;constructor(t,r){this._conn=t,this._path=r}async describe(){let t=`${this._path}/describe`;return await this._conn.request(t)}async defaultValues(t){let r=`${this._path}/defaultValues`;return t&&(r+=`/${t}`),await this._conn.request(r)}async execute(t,r){let n={contextId:t,record:r};return await this._conn.requestPost(this._path,n)}};jg.QuickAction=aw;jg.default=aw});var wC=h(Bi=>{"use strict";var LLe=Bi&&Bi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),kLe=Bi&&Bi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),NLe=Bi&&Bi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&LLe(t,e,r);return kLe(t,e),t},rK=Bi&&Bi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Bi,"__esModule",{value:!0});Bi.SObject=void 0;var jLe=fo(),PLe=rK(vC()),sw=NLe(nw()),MLe=rK(ow()),lw=class e{static _logger=(0,jLe.getLogger)("sobject");type;_conn;_logger;layouts$;layouts$$;compactLayouts$;compactLayouts$$;approvalLayouts$;approvalLayouts$$;constructor(t,r){this.type=r,this._conn=t,this._logger=t._logLevel?e._logger.createInstance(t._logLevel):e._logger;let n=this._conn.cache,i=u=>u?`layouts.namedLayouts.${u}`:`layouts.${this.type}`,a=e.prototype.layouts;this.layouts=n.createCachedFunction(a,this,{key:i,strategy:"NOCACHE"}),this.layouts$=n.createCachedFunction(a,this,{key:i,strategy:"HIT"}),this.layouts$$=n.createCachedFunction(a,this,{key:i,strategy:"IMMEDIATE"});let o=`compactLayouts.${this.type}`,s=e.prototype.compactLayouts;this.compactLayouts=n.createCachedFunction(s,this,{key:o,strategy:"NOCACHE"}),this.compactLayouts$=n.createCachedFunction(s,this,{key:o,strategy:"HIT"}),this.compactLayouts$$=n.createCachedFunction(s,this,{key:o,strategy:"IMMEDIATE"});let l=`approvalLayouts.${this.type}`,c=e.prototype.approvalLayouts;this.approvalLayouts=n.createCachedFunction(c,this,{key:l,strategy:"NOCACHE"}),this.approvalLayouts$=n.createCachedFunction(c,this,{key:l,strategy:"HIT"}),this.approvalLayouts$$=n.createCachedFunction(c,this,{key:l,strategy:"IMMEDIATE"})}create(t,r){return this._conn.create(this.type,t,r)}insert=this.create;retrieve(t,r){return this._conn.retrieve(this.type,t,r)}update(t,r){return this._conn.update(this.type,t,r)}upsert(t,r,n){return this._conn.upsert(this.type,t,r,n)}destroy(t,r){return this._conn.destroy(this.type,t,r)}delete=this.destroy;del=this.destroy;bulkload(t,r,n){return this._conn.bulk.load(this.type,t,r,n)}createBulk(t){return this.bulkload("insert",t)}insertBulk=this.createBulk;updateBulk(t){return this.bulkload("update",t)}upsertBulk(t,r){return this.bulkload("upsert",{extIdField:r},t)}destroyBulk(t){return this.bulkload("delete",t)}deleteBulk=this.destroyBulk;destroyHardBulk(t){return this.bulkload("hardDelete",t)}deleteHardBulk=this.destroyHardBulk;describe(){return this._conn.describe(this.type)}describe$(){return this._conn.describe$(this.type)}describe$$(){return this._conn.describe$$(this.type)}record(t){return new PLe.default(this._conn,this.type,t)}recent(){return this._conn.recent(this.type)}updated(t,r){return this._conn.updated(this.type,t,r)}deleted(t,r){return this._conn.deleted(this.type,t,r)}async layouts(t){let r=`/sobjects/${this.type}/describe/${t?`namedLayouts/${t}`:"layouts"}`;return await this._conn.request(r)}async compactLayouts(){let t=`/sobjects/${this.type}/describe/compactLayouts`;return await this._conn.request(t)}async approvalLayouts(){let t=`/sobjects/${this.type}/describe/approvalLayouts`;return await this._conn.request(t)}find(t,r,n={}){let{sort:i,limit:a,offset:o,...s}=n,l={fields:r??void 0,includes:n.includes,table:this.type,conditions:t??void 0,sort:i,limit:a,offset:o};return new sw.default(this._conn,l,s).setResponseTarget(sw.ResponseTargets.Records)}findOne(t,r,n={}){return this.find(t,r,{...n,limit:1}).setResponseTarget(sw.ResponseTargets.SingleRecord)}select(t){return this.find(null,t)}count(t){return this.find(t,"count()").setResponseTarget(sw.ResponseTargets.Count)}listviews(){let t=`${this._conn._baseUrl()}/sobjects/${this.type}/listviews`;return this._conn.request(t)}listview(t){return new _C(this._conn,this.type,t)}quickActions(){return this._conn.request(`/sobjects/${this.type}/quickActions`)}quickAction(t){return new MLe.default(this._conn,`/sobjects/${this.type}/quickActions/${t}`)}};Bi.SObject=lw;var _C=class{_conn;type;id;constructor(t,r,n){this._conn=t,this.type=r,this.id=n}results(){let t=`${this._conn._baseUrl()}/sobjects/${this.type}/listviews/${this.id}/results`;return this._conn.request(t)}describe(t={}){let r=`${this._conn._baseUrl()}/sobjects/${this.type}/listviews/${this.id}/describe`;return this._conn.request({method:"GET",url:r,headers:t.headers})}explain(){let t=`/query/?explain=${this.id}`;return this._conn.request(t)}};Bi.default=lw});var nK=h(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.Process=Zl.ApprovalProcess=Zl.ProcessRule=void 0;var cw=class{_conn;constructor(t){this._conn=t}async list(){return(await this._conn.request("/process/rules")).rules}trigger(t){let r=Array.isArray(t)?t:[t];return this._conn.request({method:"POST",url:"/process/rules/",body:JSON.stringify({contextIds:r}),headers:{"content-type":"application/json"}})}};Zl.ProcessRule=cw;var uw=class{_conn;constructor(t){this._conn=t}async list(){return(await this._conn.request("/process/approvals")).approvals}request(t){let r=t.map(n=>"_request"in n?n._request:n);return this._conn.request({method:"POST",url:"/process/approvals",headers:{"content-type":"application/json"},body:JSON.stringify({requests:r})})}_createRequest(t,r,n,i={}){return new SC(this,{actionType:t,contextId:r,comments:n,...i})}submit(t,r,n){return this._createRequest("Submit",t,r,n)}approve(t,r,n={}){return this._createRequest("Approve",t,r,n)}reject(t,r,n={}){return this._createRequest("Reject",t,r,n)}};Zl.ApprovalProcess=uw;var SC=class{_process;_request;_promise;constructor(t,r){this._process=t,this._request=r}then(t,r){this._promise||(this._promise=this._process.request([this]).then(n=>n[0])),this._promise.then(t,r)}},dw=class{rule;approval;constructor(t){this.rule=new cw(t),this.approval=new uw(t)}};Zl.Process=dw;Zl.default=dw});var Jd=h(Vi=>{"use strict";var RLe=Vi&&Vi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),FLe=Vi&&Vi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),$Le=Vi&&Vi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&RLe(t,e,r);return FLe(t,e),t},es=Vi&&Vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.Connection=void 0;var ULe=require("events"),zLe=es(Wi()),Pg=$Le(Sg()),qLe=fo(),iK=es(Eg()),BLe=es(tC()),VLe=es(sm()),aK=es(ZJ()),oK=es(nw()),WLe=es(wC()),ZLe=es(ow()),HLe=es(nK()),pw=yC(),GLe=es(bg()),Mg={loginUrl:"https://login.salesforce.com",instanceUrl:"",version:"50.0",logLevel:"NONE",maxRequest:10};function EC(e){return String(e||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function JLe(e){if(typeof e=="string"){if(e.startsWith("{"))return JSON.parse(e);let t=e.split(".").pop();if(!t)throw new Error("Invalid signed request");let r=Buffer.from(t,"base64").toString("utf-8");return JSON.parse(r)}return e}function xC(e){let[t,r]=e.split("/").slice(-2);return{id:r,organizationId:t,url:e}}async function KLe(e,t){try{if(!e.refreshToken)throw new Error("No refresh token found in the connection");let r=await e.oauth2.refreshToken(e.refreshToken),n=xC(r.id);e._establish({instanceUrl:r.instance_url,accessToken:r.access_token,userInfo:n}),t(void 0,r.access_token,r)}catch(r){if(r instanceof Error)t(r);else throw r}}function XLe(e,t){return async(r,n)=>{try{if(await r.login(e,t),!r.accessToken)throw new Error("Access token not found after login");n(null,r.accessToken)}catch(i){if(i instanceof Error)n(i);else throw i}}}function fw(e){return{success:!1,errors:[e]}}function Hl(e){throw new Error(`API module '${e}' is not loaded, load 'jsforce/api/${e}' explicitly`)}var Ea=200,mw=class e extends ULe.EventEmitter{static _logger=(0,qLe.getLogger)("connection");version;loginUrl;instanceUrl;accessToken;refreshToken;userInfo;limitInfo={};oauth2;sobjects={};cache;_callOptions;_maxRequest;_logger;_logLevel;_transport;_sessionType;_refreshDelegate;describe$;describe$$;describeSObject;describeSObject$;describeSObject$$;describeGlobal$;describeGlobal$$;get analytics(){return Hl("analytics")}get apex(){return Hl("apex")}get bulk(){return Hl("bulk")}get bulk2(){return Hl("bulk2")}get chatter(){return Hl("chatter")}get metadata(){return Hl("metadata")}get soap(){return Hl("soap")}get streaming(){return Hl("streaming")}get tooling(){return Hl("tooling")}constructor(t={}){super();let{loginUrl:r,instanceUrl:n,version:i,oauth2:a,maxRequest:o,logLevel:s,proxyUrl:l,httpProxy:c}=t;if(this.loginUrl=r||Mg.loginUrl,this.instanceUrl=n||Mg.instanceUrl,this.isLightningInstance())throw new Error("lightning URLs are not valid as instance URLs");this.version=i||Mg.version,this.oauth2=a instanceof iK.default?a:new iK.default({loginUrl:this.loginUrl,proxyUrl:l,httpProxy:c,...a});let u=t.refreshFn;!u&&this.oauth2.clientId&&(u=KLe),u&&(this._refreshDelegate=new aK.default(this,u)),this._maxRequest=o||Mg.maxRequest,this._logger=s?e._logger.createInstance(s):e._logger,this._logLevel=s,this._transport=l?new Pg.XdProxyTransport(l):c?new Pg.HttpProxyTransport(c):new Pg.default,this._callOptions=t.callOptions,this.cache=new BLe.default;let d=w=>w?`describe.${w}`:"describe",f=e.prototype.describe;this.describe=this.cache.createCachedFunction(f,this,{key:d,strategy:"NOCACHE"}),this.describe$=this.cache.createCachedFunction(f,this,{key:d,strategy:"HIT"}),this.describe$$=this.cache.createCachedFunction(f,this,{key:d,strategy:"IMMEDIATE"}),this.describeSObject=this.describe,this.describeSObject$=this.describe$,this.describeSObject$$=this.describe$$;let p=e.prototype.describeGlobal;this.describeGlobal=this.cache.createCachedFunction(p,this,{key:"describeGlobal",strategy:"NOCACHE"}),this.describeGlobal$=this.cache.createCachedFunction(p,this,{key:"describeGlobal",strategy:"HIT"}),this.describeGlobal$$=this.cache.createCachedFunction(p,this,{key:"describeGlobal",strategy:"IMMEDIATE"});let{accessToken:m,refreshToken:y,sessionId:v,serverUrl:S,signedRequest:E}=t;this._establish({accessToken:m,refreshToken:y,instanceUrl:n,sessionId:v,serverUrl:S,signedRequest:E}),zLe.default.emit("connection:new",this)}_establish(t){let{accessToken:r,refreshToken:n,instanceUrl:i,sessionId:a,serverUrl:o,signedRequest:s,userInfo:l}=t;if(this.instanceUrl=o?o.split("/").slice(0,3).join("/"):i||this.instanceUrl,this.accessToken=a||r||this.accessToken,this.refreshToken=n||this.refreshToken,this.refreshToken&&!this._refreshDelegate)throw new Error("Refresh token is specified without oauth2 client information or refresh function");let c=s&&JLe(s);c&&(this.accessToken=c.client.oauthToken,Pg.CanvasTransport.supported&&(this._transport=new Pg.CanvasTransport(c))),this.userInfo=l||this.userInfo,this._sessionType=a?"soap":"oauth2",this._resetInstance()}_clearSession(){this.accessToken=null,this.refreshToken=null,this.instanceUrl=Mg.instanceUrl,this.userInfo=null,this._sessionType=null}_resetInstance(){this.limitInfo={},this.sobjects={},this.cache.clear(),this.cache.get("describeGlobal").removeAllListeners("value"),this.cache.get("describeGlobal").on("value",({result:t})=>{if(t)for(let r of t.sobjects)this.sobject(r.name)})}async authorize(t,r={}){let n=await this.oauth2.requestToken(t,r),i=xC(n.id);return this._establish({instanceUrl:n.instance_url,accessToken:n.access_token,refreshToken:n.refresh_token,userInfo:i}),this._logger.debug(`<login> completed. user id = ${i.id}, org id = ${i.organizationId}`),i}async login(t,r){return this._refreshDelegate=new aK.default(this,XLe(t,r)),this.oauth2?.clientId&&this.oauth2.clientSecret?this.loginByOAuth2(t,r):this.loginBySoap(t,r)}async loginByOAuth2(t,r){let n=await this.oauth2.authenticate(t,r),i=xC(n.id);return this._establish({instanceUrl:n.instance_url,accessToken:n.access_token,userInfo:i}),this._logger.info(`<login> completed. user id = ${i.id}, org id = ${i.organizationId}`),i}async loginBySoap(t,r){if(this._logger.warn("DEPRECATION WARNING: The SOAP login() API will be retired in Summer '27 (API version 65.0). Please use OAuth 2.0 Username-Password Flow instead. For more information, see https://help.salesforce.com/s/articleView?id=release-notes.rn_api_upcoming_retirement_258rn.htm&release=258&type=5"),!t||!r)return Promise.reject(new Error("no username password given"));let n=['<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/">',"<se:Header/>","<se:Body>",'<login xmlns="urn:partner.soap.sforce.com">',`<username>${EC(t)}</username>`,`<password>${EC(r)}</password>`,"</login>","</se:Body>","</se:Envelope>"].join(""),i=[this.loginUrl,"services/Soap/u",this.version].join("/"),a=await this._transport.httpRequest({method:"POST",url:i,body:n,headers:{"Content-Type":"text/xml",SOAPAction:'""'}}),o;if(a.statusCode>=400){o=a.body.match(/<faultstring>([^<]+)<\/faultstring>/);let p=o&&o[1];throw new Error(p||a.body)}if(a.body.match(/<passwordExpired>true<\/passwordExpired>/g))throw new Error("Unable to login because the used password has expired.");this._logger.debug(`SOAP response = ${a.body}`),o=a.body.match(/<serverUrl>([^<]+)<\/serverUrl>/);let s=o&&o[1];o=a.body.match(/<sessionId>([^<]+)<\/sessionId>/);let l=o&&o[1];o=a.body.match(/<userId>([^<]+)<\/userId>/);let c=o&&o[1];o=a.body.match(/<organizationId>([^<]+)<\/organizationId>/);let u=o&&o[1];if(!s||!l||!c||!u)throw new Error("could not extract session information from login response");let d=[this.loginUrl,"id",u,c].join("/"),f={id:c,organizationId:u,url:d};return this._establish({serverUrl:s.split("/").slice(0,3).join("/"),sessionId:l,userInfo:f}),this._logger.info(`<login> completed. user id = ${c}, org id = ${u}`),f}async logout(t){return this._refreshDelegate=void 0,this._sessionType==="oauth2"?this.logoutByOAuth2(t):this.logoutBySoap(t)}async logoutByOAuth2(t){let r=t?this.refreshToken:this.accessToken;r&&await this.oauth2.revokeToken(r),this._clearSession(),this._resetInstance()}async logoutBySoap(t){let r=['<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/">',"<se:Header>",'<SessionHeader xmlns="urn:partner.soap.sforce.com">',`<sessionId>${EC(t?this.refreshToken:this.accessToken)}</sessionId>`,"</SessionHeader>","</se:Header>","<se:Body>",'<logout xmlns="urn:partner.soap.sforce.com"/>',"</se:Body>","</se:Envelope>"].join(""),n=await this._transport.httpRequest({method:"POST",url:[this.instanceUrl,"services/Soap/u",this.version].join("/"),body:r,headers:{"Content-Type":"text/xml",SOAPAction:'""'}});if(this._logger.debug(`SOAP statusCode = ${n.statusCode}, response = ${n.body}`),n.statusCode>=400){let i=n.body.match(/<faultstring>([^<]+)<\/faultstring>/),a=i&&i[1];throw new Error(a||n.body)}this._clearSession(),this._resetInstance()}request(t,r={}){let n=typeof t=="string"?{method:"GET",url:t}:t;n={...n,url:this._normalizeUrl(n.url)};let i=new VLe.default(this,r);return i.on("response",a=>{if(a.headers&&a.headers["sforce-limit-info"]){let o=a.headers["sforce-limit-info"].match(/api-usage=(\d+)\/(\d+)/);o&&(this.limitInfo={apiUsage:{used:parseInt(o[1],10),limit:parseInt(o[2],10)}})}}),i.request(n)}requestGet(t,r){let n={method:"GET",url:t};return this.request(n,r)}requestPost(t,r,n){let i={method:"POST",url:t,body:JSON.stringify(r),headers:{"content-type":"application/json"}};return this.request(i,n)}requestPut(t,r,n){let i={method:"PUT",url:t,body:JSON.stringify(r),headers:{"content-type":"application/json"}};return this.request(i,n)}requestPatch(t,r,n){let i={method:"PATCH",url:t,body:JSON.stringify(r),headers:{"content-type":"application/json"}};return this.request(i,n)}requestDelete(t,r){let n={method:"DELETE",url:t};return this.request(n,r)}_baseUrl(){return[this.instanceUrl,"services/data",`v${this.version}`].join("/")}_normalizeUrl(t){return t.startsWith("/")?t.startsWith(this.instanceUrl+"/services/")?t:t.startsWith("/services/")?this.instanceUrl+t:this._baseUrl()+t:t}query(t,r){return new oK.default(this,t,r)}search(t){let r=this._baseUrl()+"/search?q="+encodeURIComponent(t);return this.request(r)}queryMore(t,r){return new oK.default(this,{locator:t},r)}_ensureVersion(t){let r=this.version.split(".");return parseInt(r[0],10)>=t}_supports(t){switch(t){case"sobject-collection":return this._ensureVersion(42);default:return!1}}async retrieve(t,r,n={}){return Array.isArray(r)?this._ensureVersion(42)?this._retrieveMany(t,r,n):this._retrieveParallel(t,r,n):this._retrieveSingle(t,r,n)}async _retrieveSingle(t,r,n){if(!r)throw new Error("Invalid record ID. Specify valid record ID value");let i=[this._baseUrl(),"sobjects",t,r].join("/"),{fields:a,headers:o}=n;return a&&(i+=`?fields=${a.join(",")}`),this.request({method:"GET",url:i,headers:o})}async _retrieveParallel(t,r,n){if(r.length>this._maxRequest)throw new Error("Exceeded max limit of concurrent call");return Promise.all(r.map(i=>this._retrieveSingle(t,i,n).catch(a=>{if(n.allOrNone||a.errorCode!=="NOT_FOUND")throw a;return null})))}async _retrieveMany(t,r,n){if(r.length===0)return[];let i=[this._baseUrl(),"composite","sobjects",t].join("/"),a=n.fields||(await this.describe$(t)).fields.map(o=>o.name);return this.request({method:"POST",url:i,body:JSON.stringify({ids:r,fields:a}),headers:{...n.headers||{},"content-type":"application/json"}})}async create(t,r,n={}){return Array.isArray(r)?this._ensureVersion(42)?await this._createMany(t,r,n):await this._createParallel(t,r,n):await this._createSingle(t,r,n)}async _createSingle(t,r,n){let{Id:i,type:a,attributes:o,...s}=r,l=t||o?.type||a;if(!l)throw new Error("No SObject Type defined in record");let c=[this._baseUrl(),"sobjects",l].join("/"),u,d;if(n?.multipartFileFields){let f=new GLe.default;Object.entries(n.multipartFileFields).forEach(([p,m])=>{f.append(p,Buffer.from(s[p],"base64"),m),delete s[p]}),f.append(t,JSON.stringify(s),{contentType:"application/json"}),u=f.getHeaders()["content-type"],d=f}else u="application/json",d=JSON.stringify(s);return this.request({method:"POST",url:c,body:d,headers:{...n.headers||{},"content-type":u}})}async _createParallel(t,r,n){if(r.length>this._maxRequest)throw new Error("Exceeded max limit of concurrent call");return Promise.all(r.map(i=>this._createSingle(t,i,n).catch(a=>{if(n.allOrNone||!a.errorCode)throw a;return fw(a)})))}async _createMany(t,r,n){if(r.length===0)return Promise.resolve([]);if(r.length>Ea&&n.allowRecursive)return[...await this._createMany(t,r.slice(0,Ea),n),...await this._createMany(t,r.slice(Ea),n)];let i=r.map(o=>{let{Id:s,type:l,attributes:c,...u}=o,d=t||c?.type||l;if(!d)throw new Error("No SObject Type defined in record");return{attributes:{type:d},...u}}),a=[this._baseUrl(),"composite","sobjects"].join("/");return this.request({method:"POST",url:a,body:JSON.stringify({allOrNone:n.allOrNone||!1,records:i}),headers:{...n.headers||{},"content-type":"application/json"}})}insert=this.create;update(t,r,n={}){return Array.isArray(r)?this._ensureVersion(42)?this._updateMany(t,r,n):this._updateParallel(t,r,n):this._updateSingle(t,r,n)}async _updateSingle(t,r,n){let{Id:i,type:a,attributes:o,...s}=r;if(!i)throw new Error("Record id is not found in record.");let l=t||o?.type||a;if(!l)throw new Error("No SObject Type defined in record");let c=[this._baseUrl(),"sobjects",l,i].join("/");return this.request({method:"PATCH",url:c,body:JSON.stringify(s),headers:{...n.headers||{},"content-type":"application/json"}},{noContentResponse:{id:i,success:!0,errors:[]}})}async _updateParallel(t,r,n){if(r.length>this._maxRequest)throw new Error("Exceeded max limit of concurrent call");return Promise.all(r.map(i=>this._updateSingle(t,i,n).catch(a=>{if(n.allOrNone||!a.errorCode)throw a;return fw(a)})))}async _updateMany(t,r,n){if(r.length===0)return[];if(r.length>Ea&&n.allowRecursive)return[...await this._updateMany(t,r.slice(0,Ea),n),...await this._updateMany(t,r.slice(Ea),n)];let i=r.map(o=>{let{Id:s,type:l,attributes:c,...u}=o;if(!s)throw new Error("Record id is not found in record.");let d=t||c?.type||l;if(!d)throw new Error("No SObject Type defined in record");return{id:s,attributes:{type:d},...u}}),a=[this._baseUrl(),"composite","sobjects"].join("/");return this.request({method:"PATCH",url:a,body:JSON.stringify({allOrNone:n.allOrNone||!1,records:i}),headers:{...n.headers||{},"content-type":"application/json"}})}async upsert(t,r,n,i={}){return Array.isArray(r)?this._ensureVersion(46)?this._upsertMany(t,r,n,i):this._upsertParallel(t,r,n,i):this._upsertParallel(t,r,n,i)}async _upsertMany(t,r,n,i={}){if(r.length===0)return[];if(r.length>Ea&&i.allowRecursive)return[...await this._upsertMany(t,r.slice(0,Ea),n,i),...await this._upsertMany(t,r.slice(Ea),n,i)];let a=r.map(s=>{let{[n]:l,type:c,attributes:u,...d}=s,f=c||u?.type||t;if(!l)throw new Error("External ID is not found in record.");if(!f)throw new Error("No SObject Type defined in record");return{[n]:l,attributes:{type:f},...d}}),o=[this._baseUrl(),"composite","sobjects",t,n].join("/");return this.request({method:"PATCH",url:o,body:JSON.stringify({allOrNone:i.allOrNone||!1,records:a}),headers:{...i.headers||{},"content-type":"application/json"}})}async _upsertParallel(t,r,n,i={}){let a=Array.isArray(r),o=Array.isArray(r)?r:[r];if(o.length>this._maxRequest)throw new Error("Exceeded max limit of concurrent call");let s=await Promise.all(o.map(l=>{let{[n]:c,type:u,attributes:d,...f}=l,p=[this._baseUrl(),"sobjects",t,n,c].join("/");return this.request({method:"PATCH",url:p,body:JSON.stringify(f),headers:{...i.headers||{},"content-type":"application/json"}},{noContentResponse:{success:!0,errors:[]}}).catch(m=>{if(!a||i.allOrNone||!m.errorCode)throw m;return fw(m)})}));return a?s:s[0]}async destroy(t,r,n={}){return Array.isArray(r)?this._ensureVersion(42)?this._destroyMany(t,r,n):this._destroyParallel(t,r,n):this._destroySingle(t,r,n)}async _destroySingle(t,r,n){let i=[this._baseUrl(),"sobjects",t,r].join("/");return this.request({method:"DELETE",url:i,headers:n.headers||{}},{noContentResponse:{id:r,success:!0,errors:[]}})}async _destroyParallel(t,r,n){if(r.length>this._maxRequest)throw new Error("Exceeded max limit of concurrent call");return Promise.all(r.map(i=>this._destroySingle(t,i,n).catch(a=>{if(n.allOrNone||!a.errorCode)throw a;return fw(a)})))}async _destroyMany(t,r,n){if(r.length===0)return[];if(r.length>Ea&&n.allowRecursive)return[...await this._destroyMany(t,r.slice(0,Ea),n),...await this._destroyMany(t,r.slice(Ea),n)];let i=[this._baseUrl(),"composite","sobjects?ids="].join("/")+r.join(",");return n.allOrNone&&(i+="&allOrNone=true"),this.request({method:"DELETE",url:i,headers:n.headers||{}})}delete=this.destroy;del=this.destroy;async describe(t){let r=[this._baseUrl(),"sobjects",t,"describe"].join("/");return await this.request(r)}async describeGlobal(){let t=`${this._baseUrl()}/sobjects`;return await this.request(t)}sobject(t){let r=this.sobjects[t]||new WLe.default(this,t);return this.sobjects[t]=r,r}async identity(t={}){let r=this.userInfo?.url;r||(r=(await this.request({method:"GET",url:this._baseUrl(),headers:t.headers})).identity),r+="?format=json",this.accessToken&&(r+=`&oauth_token=${encodeURIComponent(this.accessToken)}`);let n=await this.request({method:"GET",url:r});return this.userInfo={id:n.user_id,organizationId:n.organization_id,url:n.id},n}async recent(t,r){typeof t=="number"&&(r=t,t=void 0);let n;if(t){n=[this._baseUrl(),"sobjects",t].join("/");let{recentItems:i}=await this.request(n);return r?i.slice(0,r):i}return n=`${this._baseUrl()}/recent`,r&&(n+=`?limit=${r}`),this.request(n)}async updated(t,r,n){let i=[this._baseUrl(),"sobjects",t,"updated"].join("/");return typeof r=="string"&&(r=new Date(r)),r=(0,pw.formatDate)(r),i+=`?start=${encodeURIComponent(r)}`,typeof n=="string"&&(n=new Date(n)),n=(0,pw.formatDate)(n),i+=`&end=${encodeURIComponent(n)}`,await this.request(i)}async deleted(t,r,n){let i=[this._baseUrl(),"sobjects",t,"deleted"].join("/");return typeof r=="string"&&(r=new Date(r)),r=(0,pw.formatDate)(r),i+=`?start=${encodeURIComponent(r)}`,typeof n=="string"&&(n=new Date(n)),n=(0,pw.formatDate)(n),i+=`&end=${encodeURIComponent(n)}`,await this.request(i)}async tabs(){let t=[this._baseUrl(),"tabs"].join("/");return await this.request(t)}async limits(){let t=[this._baseUrl(),"limits"].join("/");return await this.request(t)}async theme(){let t=[this._baseUrl(),"theme"].join("/");return await this.request(t)}async quickActions(){return await this.request("/quickActions")}quickAction(t){return new ZLe.default(this,`/quickActions/${t}`)}process=new HLe.default(this);isLightningInstance(){return this.instanceUrl.includes(".lightning.force.com")||this.instanceUrl.includes(".lightning.crmforce.mil")||this.instanceUrl.includes(".lightning.sfcrmapps.cn")}};Vi.Connection=mw;Vi.default=mw});var CC=h(pm=>{"use strict";var YLe=pm&&pm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pm,"__esModule",{value:!0});pm.BaseRegistry=void 0;var QLe=YLe(Jd()),OC=class{_registryConfig={};_saveConfig(){throw new Error("_saveConfig must be implemented in subclass")}_getClients(){return this._registryConfig.clients||(this._registryConfig.clients={})}_getConnections(){return this._registryConfig.connections||(this._registryConfig.connections={})}async getConnectionNames(){return Object.keys(this._getConnections())}async getConnection(t){let r=await this.getConnectionConfig(t);return r?new QLe.default(r):null}async getConnectionConfig(t){t||(t=this._registryConfig.default);let r=this._getConnections(),n=t?r[t]:void 0;if(!n)return null;let{client:i,...a}=n;return i?{...a,oauth2:{...await this.getClientConfig(i)}}:a}async saveConnectionConfig(t,r){let n=this._getConnections(),{oauth2:i,...a}=r,o=a;if(i){let s=this._findClientName(i);s&&(o={...o,client:s}),delete r.oauth2}n[t]=o,this._saveConfig()}_findClientName({clientId:t,loginUrl:r}){let n=this._getClients();for(let i of Object.keys(n)){let a=n[i];if(a.clientId===t&&(a.loginUrl||"https://login.salesforce.com")===r)return i}return null}async setDefaultConnection(t){this._registryConfig.default=t,this._saveConfig()}async removeConnectionConfig(t){let r=this._getConnections();delete r[t],this._saveConfig()}async getClientConfig(t){let n=this._getClients()[t];return n&&{...n}}async getClientNames(){return Object.keys(this._getClients())}async registerClientConfig(t,r){let n=this._getClients();n[t]=r,this._saveConfig()}};pm.BaseRegistry=OC});var cK=h(fm=>{"use strict";var sK=fm&&fm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(fm,"__esModule",{value:!0});fm.FileRegistry=void 0;var Kd=sK(require("fs")),lK=sK(require("path")),eke=CC();function tke(){let e=process.env[process.platform==="win32"?"USERPROFILE":"HOME"];if(!e)throw new Error("cannot find user home directory to store configuration files");return lK.default.join(e,".jsforce","config.json")}var TC=class extends eke.BaseRegistry{_configFilePath;constructor({configFilePath:t}){super(),this._configFilePath=t||tke();try{let r=Kd.default.readFileSync(this._configFilePath,"utf-8");this._registryConfig=JSON.parse(r)}catch{}}_saveConfig(){let t=JSON.stringify(this._registryConfig,null,4);try{Kd.default.writeFileSync(this._configFilePath,t),Kd.default.chmodSync(this._configFilePath,"600")}catch{let n=lK.default.dirname(this._configFilePath);Kd.default.mkdirSync(n),Kd.default.chmodSync(n,"700"),Kd.default.writeFileSync(this._configFilePath,t),Kd.default.chmodSync(this._configFilePath,"600")}}};fm.FileRegistry=TC});var dK=h(mm=>{"use strict";var rke=mm&&mm.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mm,"__esModule",{value:!0});mm.SfdxRegistry=void 0;var nke=require("child_process"),ike=require("util"),ake=rke(Jd());function uK(e){return e!=null}var IC=class{_cliPath;_orgList;_orgInfoMap={};_defaultOrgInfo;constructor({cliPath:t}){this._cliPath=t}_createCommand(t,r={},n=[]){return`${this._cliPath?this._cliPath+"/":""}sfdx ${t} ${Object.keys(r).map(i=>`${i.length>1?"--":"-"}${i}${r[i]!=null?" "+r[i]:""}`).join(" ")} --json ${n.join(" ")}`}async _execCommand(t,r={},n=[]){let i=this._createCommand(t,r,n),a=await new Promise((l,c)=>{(0,nke.exec)(i,(u,d)=>{u&&!d?c(u):l(d)})}),o=(0,ike.stripVTControlCharacters)(a.toString()),s;try{s=JSON.parse(o)}catch{throw new Error(`Unexpectedd output from Sfdx cli: ${o}`)}if(s.status===0&&s.result)return s.result;{let l=new Error(s.message);throw l.name=s.name,l}}async _getOrgList(){return this._orgList||(this._orgList=this._execCommand("force:org:list")),this._orgList}async getConnectionNames(){let{nonScratchOrgs:t,scratchOrgs:r}=await this._getOrgList();return[...t.map(n=>n.alias).filter(uK),...r.map(n=>n.alias).filter(uK),...t.map(n=>n.username),...r.map(n=>n.username)]}async getConnection(t){let r=await this.getConnectionConfig(t);return r?new ake.default(r):null}async _getOrgInfo(t){let r=t?{u:t}:{};if(!t||!this._orgInfoMap[t]){let i=this._execCommand("force:org:display",r);this._memoOrgInfo(i,t)}let n=t?this._orgInfoMap[t]:this._defaultOrgInfo;if(!n)throw new Error("no orginfo found");return n}_memoOrgInfo(t,r){let n=t.then(i=>(this._orgInfoMap[i.username]=n,i.alias&&(this._orgInfoMap[i.alias]=n),i));r?this._orgInfoMap[r]=n:this._defaultOrgInfo=n}async getConnectionConfig(t){let r=await this._getOrgInfo(t);if(!r)return null;let{accessToken:n,instanceUrl:i,loginUrl:a}=r;return{accessToken:n,instanceUrl:i,loginUrl:a}}async saveConnectionConfig(t,r){}async setDefaultConnection(t){}async removeConnectionConfig(t){await this._execCommand("force:org:delete",{u:t})}async getClientConfig(t){return null}async getClientNames(){return[]}async registerClientConfig(t,r){}};mm.SfdxRegistry=IC});var pK=h(hw=>{"use strict";Object.defineProperty(hw,"__esModule",{value:!0});hw.EmptyRegistry=void 0;var oke=CC(),AC=class extends oke.BaseRegistry{_saveConfig(){}};hw.EmptyRegistry=AC});var LC=h(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.EmptyRegistry=Gl.SfdxRegistry=Gl.FileRegistry=void 0;var fK=cK();Object.defineProperty(Gl,"FileRegistry",{enumerable:!0,get:function(){return fK.FileRegistry}});var mK=dK();Object.defineProperty(Gl,"SfdxRegistry",{enumerable:!0,get:function(){return mK.SfdxRegistry}});var hK=pK();Object.defineProperty(Gl,"EmptyRegistry",{enumerable:!0,get:function(){return hK.EmptyRegistry}});var ske=fo(),DC;try{DC=process.env.JSFORCE_CONNECTION_REGISTRY==="sfdx"?new mK.SfdxRegistry({}):new fK.FileRegistry({})}catch(e){(0,ske.getLogger)("registry").error(e),DC=new hK.EmptyRegistry}Gl.default=DC});var kC=h(Xd=>{"use strict";var gK=Xd&&Xd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xd,"__esModule",{value:!0});Xd.BrowserClient=void 0;var lke=require("events"),cke=gK(Jd()),uke=gK(Eg());function dke(e,t,r){let n=screen.width/2-t/2,i=screen.height/2-r/2;return window.open(e,void 0,`location=yes,toolbar=no,status=no,menubar=no,width=${t},height=${r},top=${i},left=${n}`)}function pke(){let e=fke(),t=localStorage.getItem("jsforce_state");if(e&&t&&e.body.get("state")===t){localStorage.removeItem("jsforce_state");let[r,n]=t.split("."),i=new Rg(r);return e.success?(i._storeTokens(Object.fromEntries(e.body)),location.hash=""):i._storeError(e.body),n==="popup"&&window.close(),!0}}function fke(){let e;if(window.location.hash){if(e=new URLSearchParams(window.location.hash.substring(1)),e.get("access_token"))return{success:!0,body:e}}else if(window.location.search&&(e=new URLSearchParams(window.location.search.substring(1)),e.get("error")))return{success:!1,body:e}}var mke=912,hke=513,gke=0,Rg=class extends lke.EventEmitter{_prefix;_config;_connection;constructor(t){super(),this._prefix=t||"jsforce"+gke++}get connection(){return this._connection||(this._connection=new cke.default(this._config)),this._connection}init(t){if(pke())return;this._config=t;let r=this._getTokens();r&&(this.connection._establish(r),setTimeout(()=>{this.emit("connect",this.connection)},10))}login(t={}){let{scope:r,size:n}=t,i=new uke.default(this._config??{}),a=Math.random().toString(36).substring(2),o=[this._prefix,"popup",a].join(".");localStorage.setItem("jsforce_state",o);let s=i.getAuthorizationUrl({response_type:"token",state:o,...r?{scope:r}:{}}),l=dke(s,n?.width??mke,n?.height??hke);return new Promise((c,u)=>{if(!l){let f=[this._prefix,"redirect",a].join(".");localStorage.setItem("jsforce_state",f);let p=i.getAuthorizationUrl({response_type:"token",state:f,...r?{scope:r}:{}});location.href=p;return}this._removeTokens();let d=setInterval(()=>{try{if(!l||l.closed){clearInterval(d);let f=this._getTokens();if(f)this.connection._establish(f),this.emit("connect",this.connection),c({status:"connect"});else{let p=this._getError();p?u(new Error(p.error+": "+p.error_description)):c({status:"cancel"})}}}catch{}},1e3)})}isLoggedIn(){return!!this.connection.accessToken}logout(){this.connection.logout(),this._removeTokens(),this.emit("disconnect")}_getTokens(){let t=new RegExp("(^|;\\s*)"+this._prefix+"_loggedin=true(;|$)");if(document.cookie.match(t)){let r=Number(localStorage.getItem(this._prefix+"_issued_at"));if(Date.now()<r+2*60*60*1e3){let n,i=localStorage.getItem(this._prefix+"_id");if(i){let[a,o]=i.split("/").reverse();n={id:a,organizationId:o,url:i}}return{accessToken:localStorage.getItem(this._prefix+"_access_token"),instanceUrl:localStorage.getItem(this._prefix+"_instance_url"),userInfo:n}}}return null}_storeTokens(t){localStorage.setItem(this._prefix+"_access_token",t.access_token),localStorage.setItem(this._prefix+"_instance_url",t.instance_url),localStorage.setItem(this._prefix+"_issued_at",t.issued_at),localStorage.setItem(this._prefix+"_id",t.id),document.cookie=this._prefix+"_loggedin=true;"}_removeTokens(){localStorage.removeItem(this._prefix+"_access_token"),localStorage.removeItem(this._prefix+"_instance_url"),localStorage.removeItem(this._prefix+"_issued_at"),localStorage.removeItem(this._prefix+"_id"),document.cookie=this._prefix+"_loggedin="}_getError(){try{let t=JSON.parse(localStorage.getItem(this._prefix+"_error")??"");return localStorage.removeItem(this._prefix+"_error"),t}catch{}}_storeError(t){localStorage.setItem(this._prefix+"_error",JSON.stringify(t))}};Xd.BrowserClient=Rg;var yke=new Rg;Xd.default=yke});var Wi=h(Zi=>{"use strict";var bke=Zi&&Zi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),vke=Zi&&Zi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),_ke=Zi&&Zi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&bke(t,e,r);return vke(t,e),t},Fg=Zi&&Zi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zi,"__esModule",{value:!0});Zi.registerModule=void 0;var wke=require("events"),Ske=Fg(YO()),Eke=Fg(Jd()),xke=Fg(Eg()),yK=Fg(tw()),Oke=Fg(LC()),bK=_ke(kC()),NC=class extends wke.EventEmitter{VERSION=Ske.default;Connection=Eke.default;OAuth2=xke.default;SfDate=yK.default;Date=yK.default;BrowserClient=bK.BrowserClient;registry=Oke.default;browser=bK.default};function Cke(e,t){vK.on("connection:new",r=>{let n;Object.defineProperty(r,e,{get(){return n=n??t(r),n},enumerable:!0,configurable:!0})})}Zi.registerModule=Cke;var vK=new NC;Zi.default=vK});var _K=h(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.Analytics=yo.Dashboard=yo.Report=yo.ReportInstance=void 0;var Tke=Wi(),gw=class{_report;_conn;id;constructor(t,r){this._report=t,this._conn=t._conn,this.id=r}retrieve(){let t=[this._conn._baseUrl(),"analytics","reports",this._report.id,"instances",this.id].join("/");return this._conn.request(t)}};yo.ReportInstance=gw;var yw=class{_conn;id;constructor(t,r){this._conn=t,this.id=r}describe(){let t=[this._conn._baseUrl(),"analytics","reports",this.id,"describe"].join("/");return this._conn.request(t)}destroy(){let t=[this._conn._baseUrl(),"analytics","reports",this.id].join("/");return this._conn.request({method:"DELETE",url:t})}delete=this.destroy;del=this.destroy;clone(t){let r=[this._conn._baseUrl(),"analytics","reports"].join("/")+"?cloneId="+this.id,n={reportMetadata:{name:t}};return this._conn.request({method:"POST",url:r,headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})}explain(){let t="/query/?explain="+this.id;return this._conn.request(t)}execute(t={}){let r=[this._conn._baseUrl(),"analytics","reports",this.id].join("/")+"?includeDetails="+(t.details?"true":"false");return this._conn.request({url:r,...t.metadata?{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.metadata)}:{method:"GET"}})}run=this.execute;exec=this.execute;executeAsync(t={}){let r=[this._conn._baseUrl(),"analytics","reports",this.id,"instances"].join("/")+(t.details?"?includeDetails=true":"");return this._conn.request({method:"POST",url:r,...t.metadata?{headers:{"Content-Type":"application/json"},body:JSON.stringify(t.metadata)}:{body:""}})}instance(t){return new gw(this,t)}instances(){let t=[this._conn._baseUrl(),"analytics","reports",this.id,"instances"].join("/");return this._conn.request(t)}};yo.Report=yw;var bw=class{_conn;id;constructor(t,r){this._conn=t,this.id=r}describe(){let t=[this._conn._baseUrl(),"analytics","dashboards",this.id,"describe"].join("/");return this._conn.request(t)}components(t){let r=[this._conn._baseUrl(),"analytics","dashboards",this.id].join("/"),n={componentIds:Array.isArray(t)?t:typeof t=="string"?[t]:void 0};return this._conn.request({method:"POST",url:r,headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})}status(){let t=[this._conn._baseUrl(),"analytics","dashboards",this.id,"status"].join("/");return this._conn.request(t)}refresh(){let t=[this._conn._baseUrl(),"analytics","dashboards",this.id].join("/");return this._conn.request({method:"PUT",url:t,body:""})}clone(t,r){let n=[this._conn._baseUrl(),"analytics","dashboards"].join("/")+"?cloneId="+this.id;return typeof t=="string"&&(t={name:t,folderId:r}),this._conn.request({method:"POST",url:n,headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}destroy(){let t=[this._conn._baseUrl(),"analytics","dashboards",this.id].join("/");return this._conn.request({method:"DELETE",url:t})}delete=this.destroy;del=this.destroy};yo.Dashboard=bw;var $g=class{_conn;constructor(t){this._conn=t}report(t){return new yw(this._conn,t)}reports(){let t=[this._conn._baseUrl(),"analytics","reports"].join("/");return this._conn.request(t)}dashboard(t){return new bw(this._conn,t)}dashboards(){let t=[this._conn._baseUrl(),"analytics","dashboards"].join("/");return this._conn.request(t)}};yo.Analytics=$g;(0,Tke.registerModule)("analytics",e=>new $g(e));yo.default=$g});var wK=h(zg=>{"use strict";Object.defineProperty(zg,"__esModule",{value:!0});zg.Apex=void 0;var Ike=Wi(),Ug=class{_conn;constructor(t){this._conn=t}_baseUrl(){return`${this._conn.instanceUrl}/services/apexrest`}_createRequestParams(t,r,n,i={}){let a=typeof i.headers=="object"?i.headers:{};/^(GET|DELETE)$/i.test(t)||(a["content-type"]="application/json");let o={method:t,url:this._baseUrl()+r,headers:a};return n&&(o.body=JSON.stringify(n)),o}get(t,r){return this._conn.request(this._createRequestParams("GET",t,void 0,r))}post(t,r,n){let i=this._createRequestParams("POST",t,r,n);return this._conn.request(i)}put(t,r,n){let i=this._createRequestParams("PUT",t,r,n);return this._conn.request(i)}patch(t,r,n){let i=this._createRequestParams("PATCH",t,r,n);return this._conn.request(i)}delete(t,r){return this._conn.request(this._createRequestParams("DELETE",t,void 0,r))}del=this.delete};zg.Apex=Ug;(0,Ike.registerModule)("apex",e=>new Ug(e));zg.default=Ug});var SK=h((Lwt,jC)=>{typeof Object.create=="function"?jC.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:jC.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var xa=h((kwt,MC)=>{try{if(PC=require("util"),typeof PC.inherits!="function")throw"";MC.exports=PC.inherits}catch{MC.exports=SK()}var PC});var RC=h((Nwt,EK)=>{EK.exports=require("stream")});var AK=h((jwt,IK)=>{"use strict";function xK(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function OK(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xK(Object(r),!0).forEach(function(n){Ake(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xK(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ake(e,t,r){return t=TK(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CK(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,TK(n.key),n)}}function Lke(e,t,r){return t&&CK(e.prototype,t),r&&CK(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function TK(e){var t=kke(e,"string");return typeof t=="symbol"?t:String(t)}function kke(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nke=require("buffer"),vw=Nke.Buffer,jke=require("util"),FC=jke.inspect,Pke=FC&&FC.custom||"inspect";function Mke(e,t,r){vw.prototype.copy.call(e,t,r)}IK.exports=function(){function e(){Dke(this,e),this.head=null,this.tail=null,this.length=0}return Lke(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return vw.alloc(0);for(var n=vw.allocUnsafe(r>>>0),i=this.head,a=0;i;)Mke(i.data,n,a),a+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,a=n.data;for(r-=a.length;n=n.next;){var o=n.data,s=r>o.length?o.length:r;if(s===o.length?a+=o:a+=o.slice(0,r),r-=s,r===0){s===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++i}return this.length-=i,a}},{key:"_getBuffer",value:function(r){var n=vw.allocUnsafe(r),i=this.head,a=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,s=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,s),r-=s,r===0){s===o.length?(++a,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(s));break}++a}return this.length-=a,n}},{key:Pke,value:function(r,n){return FC(this,OK(OK({},n),{},{depth:0,customInspect:!1}))}}]),e}()});var UC=h((Pwt,LK)=>{"use strict";function Rke(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick($C,this,e)):process.nextTick($C,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?process.nextTick(_w,r):(r._writableState.errorEmitted=!0,process.nextTick(DK,r,a)):process.nextTick(DK,r,a):t?(process.nextTick(_w,r),t(a)):process.nextTick(_w,r)}),this)}function DK(e,t){$C(e,t),_w(e)}function _w(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Fke(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),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 $C(e,t){e.emit("error",t)}function $ke(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}LK.exports={destroy:Rke,undestroy:Fke,errorOrDestroy:$ke}});var gu=h((Mwt,jK)=>{"use strict";var NK={};function Oa(e,t,r){r||(r=Error);function n(a,o,s){return typeof t=="string"?t:t(a,o,s)}class i extends r{constructor(o,s,l){super(n(o,s,l))}}i.prototype.name=r.name,i.prototype.code=e,NK[e]=i}function kK(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function Uke(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function zke(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function qke(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}Oa("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);Oa("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&Uke(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(zke(e," argument"))i=`The ${e} ${n} ${kK(t,"type")}`;else{let a=qke(e,".")?"property":"argument";i=`The "${e}" ${a} ${n} ${kK(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);Oa("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Oa("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});Oa("ERR_STREAM_PREMATURE_CLOSE","Premature close");Oa("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});Oa("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Oa("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Oa("ERR_STREAM_WRITE_AFTER_END","write after end");Oa("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Oa("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);Oa("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");jK.exports.codes=NK});var zC=h((Rwt,PK)=>{"use strict";var Bke=gu().codes.ERR_INVALID_OPT_VALUE;function Vke(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Wke(e,t,r,n){var i=Vke(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var a=n?r:"highWaterMark";throw new Bke(a,i)}return Math.floor(i)}return e.objectMode?16:16*1024}PK.exports={getHighWaterMark:Wke}});var qC=h((Fwt,MK)=>{MK.exports=require("util").deprecate});var WC=h(($wt,qK)=>{"use strict";qK.exports=er;function FK(e){var t=this;this.next=null,this.entry=null,this.finish=function(){bNe(t,e)}}var hm;er.WritableState=Bg;var Zke={deprecate:qC()},$K=RC(),Sw=require("buffer").Buffer,Hke=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Gke(e){return Sw.from(e)}function Jke(e){return Sw.isBuffer(e)||e instanceof Hke}var VC=UC(),Kke=zC(),Xke=Kke.getHighWaterMark,yu=gu().codes,Yke=yu.ERR_INVALID_ARG_TYPE,Qke=yu.ERR_METHOD_NOT_IMPLEMENTED,eNe=yu.ERR_MULTIPLE_CALLBACK,tNe=yu.ERR_STREAM_CANNOT_PIPE,rNe=yu.ERR_STREAM_DESTROYED,nNe=yu.ERR_STREAM_NULL_VALUES,iNe=yu.ERR_STREAM_WRITE_AFTER_END,aNe=yu.ERR_UNKNOWN_ENCODING,gm=VC.errorOrDestroy;xa()(er,$K);function oNe(){}function Bg(e,t,r){hm=hm||Yd(),e=e||{},typeof r!="boolean"&&(r=t instanceof hm),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Xke(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){fNe(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new FK(this)}Bg.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Bg.prototype,"buffer",{get:Zke.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var ww;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ww=Function.prototype[Symbol.hasInstance],Object.defineProperty(er,Symbol.hasInstance,{value:function(t){return ww.call(this,t)?!0:this!==er?!1:t&&t._writableState instanceof Bg}})):ww=function(t){return t instanceof this};function er(e){hm=hm||Yd();var t=this instanceof hm;if(!t&&!ww.call(er,this))return new er(e);this._writableState=new Bg(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),$K.call(this)}er.prototype.pipe=function(){gm(this,new tNe)};function sNe(e,t){var r=new iNe;gm(e,r),process.nextTick(t,r)}function lNe(e,t,r,n){var i;return r===null?i=new nNe:typeof r!="string"&&!t.objectMode&&(i=new Yke("chunk",["string","Buffer"],r)),i?(gm(e,i),process.nextTick(n,i),!1):!0}er.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&Jke(e);return a&&!Sw.isBuffer(e)&&(e=Gke(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=oNe),n.ending?sNe(this,r):(a||lNe(this,n,e,r))&&(n.pendingcb++,i=uNe(this,n,a,e,t,r)),i};er.prototype.cork=function(){this._writableState.corked++};er.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&UK(this,e))};er.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new aNe(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(er.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function cNe(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Sw.from(t,r)),t}Object.defineProperty(er.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function uNe(e,t,r,n,i,a){if(!r){var o=cNe(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else BC(e,t,!1,s,n,i,a);return l}function BC(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new rNe("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function dNe(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(qg,e,t),e._writableState.errorEmitted=!0,gm(e,n)):(i(n),e._writableState.errorEmitted=!0,gm(e,n),qg(e,t))}function pNe(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function fNe(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new eNe;if(pNe(r),t)dNe(e,r,n,t,i);else{var a=zK(r)||e.destroyed;!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&UK(e,r),n?process.nextTick(RK,e,r,a,i):RK(e,r,a,i)}}function RK(e,t,r,n){r||mNe(e,t),t.pendingcb--,n(),qg(e,t)}function mNe(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function UK(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=!0;r;)i[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,BC(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new FK(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,u=r.callback,d=t.objectMode?1:l.length;if(BC(e,t,!1,d,l,c,u),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}er.prototype._write=function(e,t,r){r(new Qke("_write()"))};er.prototype._writev=null;er.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||yNe(this,n,r),this};Object.defineProperty(er.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function zK(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function hNe(e,t){e._final(function(r){t.pendingcb--,r&&gm(e,r),t.prefinished=!0,e.emit("prefinish"),qg(e,t)})}function gNe(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(hNe,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function qg(e,t){var r=zK(t);if(r&&(gNe(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function yNe(e,t,r){t.ending=!0,qg(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function bNe(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(er.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});er.prototype.destroy=VC.destroy;er.prototype._undestroy=VC.undestroy;er.prototype._destroy=function(e,t){t(e)}});var Yd=h((Uwt,VK)=>{"use strict";var vNe=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};VK.exports=ts;var BK=GC(),HC=WC();xa()(ts,BK);for(ZC=vNe(HC.prototype),Ew=0;Ew<ZC.length;Ew++)xw=ZC[Ew],ts.prototype[xw]||(ts.prototype[xw]=HC.prototype[xw]);var ZC,xw,Ew;function ts(e){if(!(this instanceof ts))return new ts(e);BK.call(this,e),HC.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",_Ne)))}Object.defineProperty(ts.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(ts.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(ts.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function _Ne(){this._writableState.ended||process.nextTick(wNe,this)}function wNe(e){e.end()}Object.defineProperty(ts.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var HK=h((JC,ZK)=>{var Ow=require("buffer"),Jl=Ow.Buffer;function WK(e,t){for(var r in e)t[r]=e[r]}Jl.from&&Jl.alloc&&Jl.allocUnsafe&&Jl.allocUnsafeSlow?ZK.exports=Ow:(WK(Ow,JC),JC.Buffer=ym);function ym(e,t,r){return Jl(e,t,r)}WK(Jl,ym);ym.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Jl(e,t,r)};ym.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Jl(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};ym.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Jl(e)};ym.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Ow.SlowBuffer(e)}});var Wg=h(JK=>{"use strict";var XC=HK().Buffer,GK=XC.isEncoding||function(e){switch(e=""+e,e&&e.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 SNe(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function ENe(e){var t=SNe(e);if(typeof t!="string"&&(XC.isEncoding===GK||!GK(e)))throw new Error("Unknown encoding: "+e);return t||e}JK.StringDecoder=Vg;function Vg(e){this.encoding=ENe(e);var t;switch(this.encoding){case"utf16le":this.text=ANe,this.end=DNe,t=4;break;case"utf8":this.fillLast=CNe,t=4;break;case"base64":this.text=LNe,this.end=kNe,t=3;break;default:this.write=NNe,this.end=jNe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=XC.allocUnsafe(t)}Vg.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};Vg.prototype.end=INe;Vg.prototype.text=TNe;Vg.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function KC(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function xNe(e,t,r){var n=t.length-1;if(n<r)return 0;var i=KC(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=KC(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=KC(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function ONe(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function CNe(e){var t=this.lastTotal-this.lastNeed,r=ONe(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function TNe(e,t){var r=xNe(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function INe(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function ANe(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function DNe(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function LNe(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function kNe(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function NNe(e){return e.toString(this.encoding)}function jNe(e){return e&&e.length?this.write(e):""}});var Cw=h((qwt,YK)=>{"use strict";var KK=gu().codes.ERR_STREAM_PREMATURE_CLOSE;function PNe(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function MNe(){}function RNe(e){return e.setHeader&&typeof e.abort=="function"}function XK(e,t,r){if(typeof t=="function")return XK(e,null,t);t||(t={}),r=PNe(r||MNe);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||s()},o=e._writableState&&e._writableState.finished,s=function(){i=!1,o=!0,n||r.call(e)},l=e._readableState&&e._readableState.endEmitted,c=function(){n=!1,l=!0,i||r.call(e)},u=function(m){r.call(e,m)},d=function(){var m;if(n&&!l)return(!e._readableState||!e._readableState.ended)&&(m=new KK),r.call(e,m);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(m=new KK),r.call(e,m)},f=function(){e.req.on("finish",s)};return RNe(e)?(e.on("complete",s),e.on("abort",d),e.req?f():e.on("request",f)):i&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",c),e.on("finish",s),t.error!==!1&&e.on("error",u),e.on("close",d),function(){e.removeListener("complete",s),e.removeListener("abort",d),e.removeListener("request",f),e.req&&e.req.removeListener("finish",s),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",s),e.removeListener("end",c),e.removeListener("error",u),e.removeListener("close",d)}}YK.exports=XK});var eX=h((Bwt,QK)=>{"use strict";var Tw;function bu(e,t,r){return t=FNe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FNe(e){var t=$Ne(e,"string");return typeof t=="symbol"?t:String(t)}function $Ne(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var UNe=Cw(),vu=Symbol("lastResolve"),Qd=Symbol("lastReject"),Zg=Symbol("error"),Iw=Symbol("ended"),ep=Symbol("lastPromise"),YC=Symbol("handlePromise"),tp=Symbol("stream");function _u(e,t){return{value:e,done:t}}function zNe(e){var t=e[vu];if(t!==null){var r=e[tp].read();r!==null&&(e[ep]=null,e[vu]=null,e[Qd]=null,t(_u(r,!1)))}}function qNe(e){process.nextTick(zNe,e)}function BNe(e,t){return function(r,n){e.then(function(){if(t[Iw]){r(_u(void 0,!0));return}t[YC](r,n)},n)}}var VNe=Object.getPrototypeOf(function(){}),WNe=Object.setPrototypeOf((Tw={get stream(){return this[tp]},next:function(){var t=this,r=this[Zg];if(r!==null)return Promise.reject(r);if(this[Iw])return Promise.resolve(_u(void 0,!0));if(this[tp].destroyed)return new Promise(function(o,s){process.nextTick(function(){t[Zg]?s(t[Zg]):o(_u(void 0,!0))})});var n=this[ep],i;if(n)i=new Promise(BNe(n,this));else{var a=this[tp].read();if(a!==null)return Promise.resolve(_u(a,!1));i=new Promise(this[YC])}return this[ep]=i,i}},bu(Tw,Symbol.asyncIterator,function(){return this}),bu(Tw,"return",function(){var t=this;return new Promise(function(r,n){t[tp].destroy(null,function(i){if(i){n(i);return}r(_u(void 0,!0))})})}),Tw),VNe),ZNe=function(t){var r,n=Object.create(WNe,(r={},bu(r,tp,{value:t,writable:!0}),bu(r,vu,{value:null,writable:!0}),bu(r,Qd,{value:null,writable:!0}),bu(r,Zg,{value:null,writable:!0}),bu(r,Iw,{value:t._readableState.endEmitted,writable:!0}),bu(r,YC,{value:function(a,o){var s=n[tp].read();s?(n[ep]=null,n[vu]=null,n[Qd]=null,a(_u(s,!1))):(n[vu]=a,n[Qd]=o)},writable:!0}),r));return n[ep]=null,UNe(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var a=n[Qd];a!==null&&(n[ep]=null,n[vu]=null,n[Qd]=null,a(i)),n[Zg]=i;return}var o=n[vu];o!==null&&(n[ep]=null,n[vu]=null,n[Qd]=null,o(_u(void 0,!0))),n[Iw]=!0}),t.on("readable",qNe.bind(null,n)),n};QK.exports=ZNe});var iX=h((Vwt,nX)=>{"use strict";function tX(e,t,r,n,i,a,o){try{var s=e[a](o),l=s.value}catch(c){r(c);return}s.done?t(l):Promise.resolve(l).then(n,i)}function HNe(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function o(l){tX(a,n,i,o,s,"next",l)}function s(l){tX(a,n,i,o,s,"throw",l)}o(void 0)})}}function rX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function GNe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rX(Object(r),!0).forEach(function(n){JNe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rX(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function JNe(e,t,r){return t=KNe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KNe(e){var t=XNe(e,"string");return typeof t=="symbol"?t:String(t)}function XNe(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var YNe=gu().codes.ERR_INVALID_ARG_TYPE;function QNe(e,t,r){var n;if(t&&typeof t.next=="function")n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])n=t[Symbol.iterator]();else throw new YNe("iterable",["Iterable"],t);var i=new e(GNe({objectMode:!0},r)),a=!1;i._read=function(){a||(a=!0,o())};function o(){return s.apply(this,arguments)}function s(){return s=HNe(function*(){try{var l=yield n.next(),c=l.value,u=l.done;u?i.push(null):i.push(yield c)?o():a=!1}catch(d){i.destroy(d)}}),s.apply(this,arguments)}return i}nX.exports=QNe});var GC=h((Zwt,mX)=>{"use strict";mX.exports=st;var bm;st.ReadableState=lX;var Wwt=require("events").EventEmitter,sX=function(t,r){return t.listeners(r).length},Gg=RC(),Aw=require("buffer").Buffer,eje=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tje(e){return Aw.from(e)}function rje(e){return Aw.isBuffer(e)||e instanceof eje}var QC=require("util"),ze;QC&&QC.debuglog?ze=QC.debuglog("stream"):ze=function(){};var nje=AK(),oT=UC(),ije=zC(),aje=ije.getHighWaterMark,Dw=gu().codes,oje=Dw.ERR_INVALID_ARG_TYPE,sje=Dw.ERR_STREAM_PUSH_AFTER_EOF,lje=Dw.ERR_METHOD_NOT_IMPLEMENTED,cje=Dw.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,vm,eT,tT;xa()(st,Gg);var Hg=oT.errorOrDestroy,rT=["error","close","destroy","pause","resume"];function uje(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function lX(e,t,r){bm=bm||Yd(),e=e||{},typeof r!="boolean"&&(r=t instanceof bm),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=aje(this,e,"readableHighWaterMark",r),this.buffer=new nje,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=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(vm||(vm=Wg().StringDecoder),this.decoder=new vm(e.encoding),this.encoding=e.encoding)}function st(e){if(bm=bm||Yd(),!(this instanceof st))return new st(e);var t=this instanceof bm;this._readableState=new lX(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Gg.call(this)}Object.defineProperty(st.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});st.prototype.destroy=oT.destroy;st.prototype._undestroy=oT.undestroy;st.prototype._destroy=function(e,t){t(e)};st.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=Aw.from(e,t),t=""),n=!0),cX(this,e,t,!1,n)};st.prototype.unshift=function(e){return cX(this,e,null,!0,!1)};function cX(e,t,r,n,i){ze("readableAddChunk",t);var a=e._readableState;if(t===null)a.reading=!1,fje(e,a);else{var o;if(i||(o=dje(a,t)),o)Hg(e,o);else if(a.objectMode||t&&t.length>0)if(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==Aw.prototype&&(t=tje(t)),n)a.endEmitted?Hg(e,new cje):nT(e,a,t,!0);else if(a.ended)Hg(e,new sje);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?nT(e,a,t,!1):aT(e,a)):nT(e,a,t,!1)}else n||(a.reading=!1,aT(e,a))}return!a.ended&&(a.length<a.highWaterMark||a.length===0)}function nT(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Lw(e)),aT(e,t)}function dje(e,t){var r;return!rje(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new oje("chunk",["string","Buffer","Uint8Array"],t)),r}st.prototype.isPaused=function(){return this._readableState.flowing===!1};st.prototype.setEncoding=function(e){vm||(vm=Wg().StringDecoder);var t=new vm(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var aX=1073741824;function pje(e){return e>=aX?e=aX:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function oX(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=pje(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}st.prototype.read=function(e){ze("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return ze("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?iT(this):Lw(this),null;if(e=oX(e,t),e===0&&t.ended)return t.length===0&&iT(this),null;var n=t.needReadable;ze("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,ze("length less than watermark",n)),t.ended||t.reading?(n=!1,ze("reading or ended",n)):n&&(ze("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=oX(r,t)));var i;return e>0?i=pX(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&iT(this)),i!==null&&this.emit("data",i),i};function fje(e,t){if(ze("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?Lw(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,uX(e)))}}function Lw(e){var t=e._readableState;ze("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(ze("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(uX,e))}function uX(e){var t=e._readableState;ze("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,sT(e)}function aT(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(mje,e,t))}function mje(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(ze("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}st.prototype._read=function(e){Hg(this,new lje("_read()"))};st.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,ze("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?s:y;n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);function o(v,S){ze("onunpipe"),v===r&&S&&S.hasUnpiped===!1&&(S.hasUnpiped=!0,u())}function s(){ze("onend"),e.end()}var l=hje(r);e.on("drain",l);var c=!1;function u(){ze("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",d),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}r.on("data",d);function d(v){ze("ondata");var S=e.write(v);ze("dest.write",S),S===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&fX(n.pipes,e)!==-1)&&!c&&(ze("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(v){ze("onerror",v),y(),e.removeListener("error",f),sX(e,"error")===0&&Hg(e,v)}uje(e,"error",f);function p(){e.removeListener("finish",m),y()}e.once("close",p);function m(){ze("onfinish"),e.removeListener("close",p),y()}e.once("finish",m);function y(){ze("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(ze("pipe resume"),r.resume()),e};function hje(e){return function(){var r=e._readableState;ze("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&sX(e,"data")&&(r.flowing=!0,sT(e))}}st.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=fX(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};st.prototype.on=function(e,t){var r=Gg.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,ze("on readable",n.length,n.reading),n.length?Lw(this):n.reading||process.nextTick(gje,this)),r};st.prototype.addListener=st.prototype.on;st.prototype.removeListener=function(e,t){var r=Gg.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(dX,this),r};st.prototype.removeAllListeners=function(e){var t=Gg.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(dX,this),t};function dX(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function gje(e){ze("readable nexttick read 0"),e.read(0)}st.prototype.resume=function(){var e=this._readableState;return e.flowing||(ze("resume"),e.flowing=!e.readableListening,yje(this,e)),e.paused=!1,this};function yje(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(bje,e,t))}function bje(e,t){ze("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),sT(e),t.flowing&&!t.reading&&e.read(0)}st.prototype.pause=function(){return ze("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(ze("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function sT(e){var t=e._readableState;for(ze("flow",t.flowing);t.flowing&&e.read()!==null;);}st.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(ze("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(ze("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var s=t.push(o);s||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(s){return function(){return e[s].apply(e,arguments)}}(i));for(var a=0;a<rT.length;a++)e.on(rT[a],this.emit.bind(this,rT[a]));return this._read=function(o){ze("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(st.prototype[Symbol.asyncIterator]=function(){return eT===void 0&&(eT=eX()),eT(this)});Object.defineProperty(st.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(st.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(st.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});st._fromList=pX;Object.defineProperty(st.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function pX(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function iT(e){var t=e._readableState;ze("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(vje,t,e))}function vje(e,t){if(ze("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(st.from=function(e,t){return tT===void 0&&(tT=iX()),tT(st,e,t)});function fX(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var lT=h((Hwt,gX)=>{"use strict";gX.exports=Kl;var kw=gu().codes,_je=kw.ERR_METHOD_NOT_IMPLEMENTED,wje=kw.ERR_MULTIPLE_CALLBACK,Sje=kw.ERR_TRANSFORM_ALREADY_TRANSFORMING,Eje=kw.ERR_TRANSFORM_WITH_LENGTH_0,Nw=Yd();xa()(Kl,Nw);function xje(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new wje);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Kl(e){if(!(this instanceof Kl))return new Kl(e);Nw.call(this,e),this._transformState={afterTransform:xje.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Oje)}function Oje(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){hX(e,t,r)}):hX(this,null,null)}Kl.prototype.push=function(e,t){return this._transformState.needTransform=!1,Nw.prototype.push.call(this,e,t)};Kl.prototype._transform=function(e,t,r){r(new _je("_transform()"))};Kl.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Kl.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Kl.prototype._destroy=function(e,t){Nw.prototype._destroy.call(this,e,function(r){t(r)})};function hX(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Eje;if(e._transformState.transforming)throw new Sje;return e.push(null)}});var vX=h((Gwt,bX)=>{"use strict";bX.exports=Jg;var yX=lT();xa()(Jg,yX);function Jg(e){if(!(this instanceof Jg))return new Jg(e);yX.call(this,e)}Jg.prototype._transform=function(e,t,r){r(null,e)}});var xX=h((Jwt,EX)=>{"use strict";var cT;function Cje(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var SX=gu().codes,Tje=SX.ERR_MISSING_ARGS,Ije=SX.ERR_STREAM_DESTROYED;function _X(e){if(e)throw e}function Aje(e){return e.setHeader&&typeof e.abort=="function"}function Dje(e,t,r,n){n=Cje(n);var i=!1;e.on("close",function(){i=!0}),cT===void 0&&(cT=Cw()),cT(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var a=!1;return function(o){if(!i&&!a){if(a=!0,Aje(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Ije("pipe"))}}}function wX(e){e()}function Lje(e,t){return e.pipe(t)}function kje(e){return!e.length||typeof e[e.length-1]!="function"?_X:e.pop()}function Nje(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=kje(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Tje("streams");var i,a=t.map(function(o,s){var l=s<t.length-1,c=s>0;return Dje(o,l,c,function(u){i||(i=u),u&&a.forEach(wX),!l&&(a.forEach(wX),n(i))})});return t.reduce(Lje)}EX.exports=Nje});var OX=h((Ca,Xg)=>{var Kg=require("stream");process.env.READABLE_STREAM==="disable"&&Kg?(Xg.exports=Kg.Readable,Object.assign(Xg.exports,Kg),Xg.exports.Stream=Kg):(Ca=Xg.exports=GC(),Ca.Stream=Kg||Ca,Ca.Readable=Ca,Ca.Writable=WC(),Ca.Duplex=Yd(),Ca.Transform=lT(),Ca.PassThrough=vX(),Ca.finished=Cw(),Ca.pipeline=xX())});var IX=h((Kwt,TX)=>{TX.exports=Ta;var jje=xa(),uT=OX();jje(Ta,uT.Readable);function Ta(e,t){var r=this;if(!(r instanceof Ta))return new Ta(e,t);uT.Readable.call(r,t),r.destroyed=!1,r._drained=!1,r._forwarding=!1,r._current=null,r._toStreams2=t&&t.objectMode?Pje:Mje,typeof e=="function"?r._queue=e:(r._queue=e.map(r._toStreams2),r._queue.forEach(function(n){typeof n!="function"&&r._attachErrorListener(n)})),r._next()}Ta.obj=function(e){return new Ta(e,{objectMode:!0,highWaterMark:16})};Ta.prototype._read=function(){this._drained=!0,this._forward()};Ta.prototype._forward=function(){if(!(this._forwarding||!this._drained||!this._current)){this._forwarding=!0;for(var e;(e=this._current.read())!==null&&this._drained;)this._drained=this.push(e);this._forwarding=!1}};Ta.prototype.destroy=function(e){this.destroyed||(this.destroyed=!0,this._current&&this._current.destroy&&this._current.destroy(),typeof this._queue!="function"&&this._queue.forEach(function(t){t.destroy&&t.destroy()}),e&&this.emit("error",e),this.emit("close"))};Ta.prototype._next=function(){var e=this;if(e._current=null,typeof e._queue=="function")e._queue(function(r,n){if(r)return e.destroy(r);n=e._toStreams2(n),e._attachErrorListener(n),e._gotNextStream(n)});else{var t=e._queue.shift();typeof t=="function"&&(t=e._toStreams2(t()),e._attachErrorListener(t)),e._gotNextStream(t)}};Ta.prototype._gotNextStream=function(e){var t=this;if(!e){t.push(null),t.destroy();return}t._current=e,t._forward(),e.on("readable",r),e.once("end",i),e.once("close",n);function r(){t._forward()}function n(){e._readableState.ended||t.destroy()}function i(){t._current=null,e.removeListener("readable",r),e.removeListener("end",i),e.removeListener("close",n),t._next()}};Ta.prototype._attachErrorListener=function(e){var t=this;if(!e)return;e.once("error",r);function r(n){e.removeListener("error",r),t.destroy(n)}};function Pje(e){return CX(e,{objectMode:!0,highWaterMark:16})}function Mje(e){return CX(e)}function CX(e,t){if(!e||typeof e=="function"||e._readableState)return e;var r=new uT.Readable(t).wrap(e);return e.destroy&&(r.destroy=e.destroy.bind(e)),r}});var DX=h(bo=>{"use strict";var pT=bo&&bo.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bo,"__esModule",{value:!0});bo.Bulk=bo.Batch=bo.Job=void 0;var Rje=require("events"),Fje=require("stream"),$je=pT(IX()),jw=Ag(),Uje=pT(sm()),zje=Wi(),qje=Yf(),AX=pT(_g()),Yg=class extends Rje.EventEmitter{type;operation;options;id;state;_bulk;_batches;_jobInfo;_error;constructor(t,r,n,i,a){super(),this._bulk=t,this.type=r,this.operation=n,this.options=i||{},this.id=a??null,this.state=this.id?"Open":"Unknown",this._batches={},this.on("error",o=>this._error=o)}info(){return this._jobInfo||(this._jobInfo=this.check()),this._jobInfo}open(){let t=this._bulk,r=this.options;if(!this.type||!this.operation)throw new Error("type / operation is required to open a new job");if(!this._jobInfo){let n=this.operation.toLowerCase();n==="harddelete"&&(n="hardDelete"),n==="queryall"&&(n="queryAll");let i=`
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
|
||
<operation>${n}</operation>
|
||
<object>${this.type}</object>
|
||
${r.extIdField?`<externalIdFieldName>${r.extIdField}</externalIdFieldName>`:""}
|
||
${r.concurrencyMode?`<concurrencyMode>${r.concurrencyMode}</concurrencyMode>`:""}
|
||
${r.assignmentRuleId?`<assignmentRuleId>${r.assignmentRuleId}</assignmentRuleId>`:""}
|
||
<contentType>CSV</contentType>
|
||
</jobInfo>
|
||
`.trim();this._jobInfo=(async()=>{try{let a=await t._request({method:"POST",path:"/job",body:i,headers:{"Content-Type":"application/xml; charset=utf-8"},responseType:"application/xml"});return this.emit("open",a.jobInfo),this.id=a.jobInfo.id,this.state=a.jobInfo.state,a.jobInfo}catch(a){throw this.emit("error",a),a}})()}return this._jobInfo}createBatch(){let t=new Qg(this);return t.on("queue",()=>{this._batches[t.id]=t}),t}batch(t){let r=this._batches[t];return r||(r=new Qg(this,t),this._batches[t]=r),r}check(){let t=this._bulk,r=t._logger;return this._jobInfo=(async()=>{let n=await this.ready(),i=await t._request({method:"GET",path:"/job/"+n,responseType:"application/xml"});return r.debug(i.jobInfo),this.id=i.jobInfo.id,this.type=i.jobInfo.object,this.operation=i.jobInfo.operation,this.state=i.jobInfo.state,i.jobInfo})(),this._jobInfo}ready(){return this.id?Promise.resolve(this.id):this.open().then(({id:t})=>t)}async list(){let t=this._bulk,r=t._logger,n=await this.ready(),i=await t._request({method:"GET",path:"/job/"+n+"/batch",responseType:"application/xml"});return r.debug(i.batchInfoList.batchInfo),Array.isArray(i.batchInfoList.batchInfo)?i.batchInfoList.batchInfo:[i.batchInfoList.batchInfo]}async close(){if(this.id)try{let t=await this._changeState("Closed");return this.id=null,this.emit("close",t),t}catch(t){throw this.emit("error",t),t}}async abort(){if(this.id)try{let t=await this._changeState("Aborted");return this.id=null,this.emit("abort",t),t}catch(t){throw this.emit("error",t),t}}async _changeState(t){let r=this._bulk,n=r._logger;return this._jobInfo=(async()=>{let i=await this.ready(),a=`
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
|
||
<state>${t}</state>
|
||
</jobInfo>
|
||
`.trim(),o=await r._request({method:"POST",path:"/job/"+i,body:a,headers:{"Content-Type":"application/xml; charset=utf-8"},responseType:"application/xml"});return n.debug(o.jobInfo),this.state=o.jobInfo.state,o.jobInfo})(),this._jobInfo}};bo.Job=Yg;var Pw=class extends Error{jobId;batchId;constructor(t,r,n){super(t),this.name="PollingTimeout",this.jobId=r,this.batchId=n}},Qg=class extends Fje.Writable{job;id;_bulk;_uploadStream;_downloadStream;_dataStream;_result;_error;constructor(t,r){super({objectMode:!0}),this.job=t,this.id=r,this._bulk=t._bulk,this.on("error",l=>this._error=l);let n={nullValue:"#N/A"},i=this._uploadStream=new jw.Serializable,a=i.stream("csv",n),s=(this._downloadStream=new jw.Parsable).stream("csv",n);this.on("finish",()=>i.end()),a.once("readable",async()=>{try{await this.job.ready(),a.pipe(this._createRequestStream())}catch(l){this.emit("error",l)}}),this._dataStream=(0,qje.concatStreamsAsDuplex)(a,s)}_createRequestStream(){let t=this._bulk,r=t._logger,n=t._request({method:"POST",path:"/job/"+this.job.id+"/batch",headers:{"Content-Type":"text/csv"},responseType:"application/xml"});return(async()=>{try{let i=await n;r.debug(i.batchInfo),this.id=i.batchInfo.id,this.emit("queue",i.batchInfo)}catch(i){this.emit("error",i)}})(),n.stream()}_write(t,r,n){let{Id:i,type:a,attributes:o,...s}=t,l;switch(this.job.operation){case"insert":l=s;break;case"delete":case"hardDelete":l={Id:i};break;default:l={Id:i,...s}}this._uploadStream.write(l,r,n)}stream(){return this._dataStream}execute(t){if(this._result)throw new Error("Batch already executed.");if(this._result=new Promise((r,n)=>{this.once("response",r),this.once("error",n)}),AX.default.nodeStream(t))t.pipe(this._dataStream);else{let r=structuredClone(t);if(Array.isArray(r)){for(let n of r){for(let i of Object.keys(n))typeof n[i]=="boolean"&&(n[i]=String(n[i]));this.write(n)}this.end()}else typeof r=="string"&&(this._dataStream.write(r,"utf8"),this._dataStream.end())}return this}run=this.execute;exec=this.execute;then(t,r){return this._result||this.execute(),this._result.then(t,r)}async check(){let t=this._bulk,r=t._logger,n=this.job.id,i=this.id;if(!n||!i)throw new Error("Batch not started.");let a=await t._request({method:"GET",path:"/job/"+n+"/batch/"+i,responseType:"application/xml"});return r.debug(a.batchInfo),a.batchInfo}poll(t,r){let n=this.job.id,i=this.id;if(!n||!i)throw new Error("Batch not started.");let o=new Date().getTime()+r;if(r===0)throw new Pw(`Skipping polling because of timeout = 0ms. Job Id = ${n} | Batch Id = ${i}`,n,i);let s=async()=>{let l=new Date().getTime();if(o<l){let u=new Pw("Polling time out. Job Id = "+n+" , batch Id = "+i,n,i);this.emit("error",u);return}let c;try{c=await this.check()}catch(u){this.emit("error",u);return}c.state==="Failed"?parseInt(c.numberRecordsProcessed,10)>0?this.retrieve():this.emit("error",new Error(c.stateMessage)):c.state==="Completed"?this.retrieve():c.state==="NotProcessed"?this.emit("error",new Error("Job has been aborted")):(this.emit("inProgress",c),setTimeout(s,t))};setTimeout(s,t)}async retrieve(){let t=this._bulk,r=this.job.id,n=this.job,i=this.id;if(!r||!i)throw new Error("Batch not started.");try{let a=await t._request({method:"GET",path:"/job/"+r+"/batch/"+i+"/result"}),o;if(n.operation==="query"||n.operation==="queryAll"){let l=a["result-list"].result;o=(Array.isArray(l)?l:[l]).map(c=>({id:c,batchId:i,jobId:r}))}else o=a.map(l=>({id:l.Id||null,success:l.Success==="true",created:l.Created==="true",errors:l.Error?[l.Error]:[]}));return this.emit("response",o),o}catch(a){throw this.emit("error",a),a}}result(t){let r=this.job.id,n=this.id;if(!r||!n)throw new Error("Batch not started.");let i=new jw.Parsable,a=i.stream("csv");return this._bulk._request({method:"GET",path:"/job/"+r+"/batch/"+n+"/result/"+t,responseType:"application/octet-stream"}).stream().pipe(a),i}};bo.Batch=Qg;var dT=class extends Uje.default{beforeSend(t){t.headers={...t.headers,"X-SFDC-SESSION":this._conn.accessToken??""}}isSessionExpired(t){return t.statusCode===400&&t.body.includes("<exceptionCode>InvalidSessionId</exceptionCode>")}hasErrorInResponseBody(t){return!!t.error}parseError(t){return{errorCode:t.error.exceptionCode,message:t.error.exceptionMessage}}},e0=class{_conn;_logger;pollInterval=1e3;pollTimeout=3e4;constructor(t){this._conn=t,this._logger=t._logger}_request(t){let r=this._conn,{path:n,responseType:i,...a}=t,o=[r.instanceUrl,"services/async",r.version].join("/"),s={...a,url:o+n};return new dT(this._conn,{responseType:i}).request(s)}load(t,r,n,i){let a={};typeof n=="string"||Array.isArray(n)||AX.default.nodeStream(n)?i=n:a=n;let o=this.createJob(t,r,a),s=o.createBatch(),l=()=>o.close(),c=u=>{u.name!=="PollingTimeout"&&l()};return s.on("response",l),s.on("error",c),s.on("queue",()=>{s?.poll(this.pollInterval,this.pollTimeout)}),s.execute(i)}async query(t){let r=t.replace(/\([\s\S]+\)/g,"").match(/FROM\s+(\w+)/i);if(!r)throw new Error("No sobject type found in query, maybe caused by invalid SOQL.");let n=r[1],i=new jw.Parsable,a=i.stream("csv"),s=(await this.load(n,"query",t)).map(l=>this.job(l.jobId).batch(l.batchId).result(l.id).stream());return(0,$je.default)(s).pipe(a),i}createJob(t,r,n={}){return new Yg(this,t,r,n)}job(t){return new Yg(this,null,null,null,t)}};bo.Bulk=e0;(0,zje.registerModule)("bulk",e=>new e0(e));bo.default=e0});var jX=h(vo=>{"use strict";var LX=vo&&vo.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vo,"__esModule",{value:!0});vo.IngestJobV2=vo.QueryJobV2=vo.BulkV2=void 0;var kX=require("events"),Bje=require("stream"),Mw=Ag(),Vje=LX(sm()),Wje=Wi(),_m=fo(),Zje=Yf(),Hje=LX(_g()),wm=class extends Error{jobId;constructor(t,r){super(t),this.name="JobPollingTimeout",this.jobId=r}},Rw=class extends Vje.default{hasErrorInResponseBody(t){return Array.isArray(t)&&typeof t[0]=="object"&&"errorCode"in t[0]}isSessionExpired(t){return t.statusCode===401&&t.body.includes("INVALID_SESSION_ID")}parseError(t){return{errorCode:t[0].errorCode,message:t[0].message}}},t0=class{connection;logger;pollInterval=1e3;pollTimeout=3e4;constructor(t){this.connection=t,this.logger=this.connection._logLevel?(0,_m.getLogger)("bulk2").createInstance(this.connection._logLevel):(0,_m.getLogger)("bulk2")}createJob(t){return new n0(this.connection,{bodyParams:t,pollingOptions:this})}job(t="ingest",r){return t==="ingest"?new n0(this.connection,{id:r.id,pollingOptions:this}):new r0(this.connection,{id:r.id,pollingOptions:this})}async loadAndWaitForResults(t){t.pollTimeout||(t.pollTimeout=this.pollTimeout),t.pollInterval||(t.pollInterval=this.pollInterval);let{pollInterval:r,pollTimeout:n,input:i,...a}=t,o=this.createJob(a);try{return await o.open(),await o.uploadData(i),await o.close(),await o.poll(r,n),await o.getAllResults()}catch(s){let l=s;throw this.logger.error(`bulk load failed due to: ${l.message}`),l.name!=="JobPollingTimeoutError"&&o.delete().catch(c=>c),l}}async query(t,r){let n=new r0(this.connection,{bodyParams:{query:t,operation:r?.scanAll?"queryAll":"query",columnDelimiter:r?.columnDelimiter,lineEnding:r?.lineEnding},pollingOptions:this}),i=new Mw.Parsable,a=i.stream("csv");try{await n.open(),await n.poll(r?.pollInterval,r?.pollTimeout),(await n.result().then(s=>s.stream())).pipe(a)}catch(o){let s=o;throw this.logger.error(`bulk query failed due to: ${s.message}`),s.name!=="JobPollingTimeoutError"&&n.delete().catch(l=>l),s}return i}};vo.BulkV2=t0;var r0=class extends kX.EventEmitter{connection;logger;_id;bodyParams;pollingOptions;error;jobInfo;locator;constructor(t,r){super(),this.connection=t,this.logger=this.connection._logLevel?(0,_m.getLogger)("bulk2:QueryJobV2").createInstance(this.connection._logLevel):(0,_m.getLogger)("bulk2:QueryJobV2"),"id"in r?this._id=r.id:this.bodyParams=r.bodyParams,this.pollingOptions=r.pollingOptions,this.on("error",n=>this.error=n)}get id(){return this.jobInfo?this.jobInfo.id:this._id}getInfo(){if(this.jobInfo)return this.jobInfo;throw new Error("No internal job info. Make sure to call `await job.check`.")}async open(){if(!this.bodyParams)throw new Error("Missing required body params to open a new query job.");try{this.jobInfo=await this.createQueryRequest({method:"POST",body:JSON.stringify(this.bodyParams),headers:{"Content-Type":"application/json; charset=utf-8"},responseType:"application/json"}),this.logger.debug(`Successfully created job ${this.id}`),this.emit("open",this.jobInfo)}catch(t){throw this.emit("error",t),t}return this.jobInfo}async abort(){try{let t="Aborted";return this.jobInfo=await this.createQueryRequest({method:"PATCH",path:`/${this.id}`,body:JSON.stringify({state:t}),headers:{"Content-Type":"application/json; charset=utf-8"},responseType:"application/json"}),this.logger.debug(`Successfully aborted job ${this.id}`),this.jobInfo}catch(t){throw this.emit("error",t),t}}async poll(t=this.pollingOptions.pollInterval,r=this.pollingOptions.pollTimeout){let n=this.id,a=Date.now()+r;if(this.logger.debug("Start polling for job status"),this.logger.debug(`Polling options: timeout:${r}ms | interval: ${t}ms.`),r===0)throw new wm(`Skipping polling because of timeout = 0ms. Job Id = ${n}`,n);for(;a>Date.now();)try{let s=await this.check();switch(s.state){case"Aborted":throw new Error("Job has been aborted");case"UploadComplete":case"InProgress":this.emit("inProgress",s),await NX(t);break;case"Failed":throw this.logger.debug(s),new Error("Query job failed to complete");case"JobComplete":this.logger.debug(`Job ${this.id} was successfully processed.`),this.emit("jobComplete",s);return}}catch(s){throw this.emit("error",s),s}let o=new wm(`Polling timed out after ${r}ms. Job Id = ${n}`,n);throw this.emit("error",o),o}async check(){try{let t=await this.createQueryRequest({method:"GET",path:`/${this.id}`,responseType:"application/json"});return this.jobInfo=t,t}catch(t){throw this.emit("error",t),t}}async result(){let t=new Mw.Parsable,r=t.stream("csv"),n=`/${this.id}/results`;for(;this.locator!=="null";){let i=this.createQueryRequest({method:"GET",path:this.locator?`${n}?locator=${this.locator}`:n,headers:{Accept:"text/csv"}});i.stream().pipe(r),await i}return t}async delete(){return this.createQueryRequest({method:"DELETE",path:`/${this.id}`})}createQueryRequest(t){let{path:r,responseType:n}=t,i=`services/data/v${this.connection.version}/jobs/query`,a=new URL(r?i+r:i,this.connection.instanceUrl).toString(),o=new Rw(this.connection,{responseType:n});return o.on("response",s=>{this.locator=s.headers["sforce-locator"],this.logger.debug(`sforce-locator: ${this.locator}`)}),o.request({...t,url:a})}};vo.QueryJobV2=r0;var n0=class extends kX.EventEmitter{connection;logger;_id;bodyParams;jobData;pollingOptions;bulkJobSuccessfulResults;bulkJobFailedResults;bulkJobUnprocessedRecords;error;jobInfo;constructor(t,r){super(),this.connection=t,this.logger=this.connection._logLevel?(0,_m.getLogger)("bulk2:IngestJobV2").createInstance(this.connection._logLevel):(0,_m.getLogger)("bulk2:IngestJobV2"),this.pollingOptions=r.pollingOptions,"id"in r?this._id=r.id:this.bodyParams=r.bodyParams,this.jobData=new fT({createRequest:n=>this.createIngestRequest(n),job:this}),this.on("error",n=>this.error=n)}get id(){return this.jobInfo?this.jobInfo.id:this._id}getInfo(){if(this.jobInfo)return this.jobInfo;throw new Error("No internal job info. Make sure to call `await job.check`.")}async open(){if(!this.bodyParams)throw new Error("Missing required body params to open a new ingest job.");try{this.jobInfo=await this.createIngestRequest({method:"POST",body:JSON.stringify(this.bodyParams),headers:{"Content-Type":"application/json; charset=utf-8"},responseType:"application/json"}),this.logger.debug(`Successfully created job ${this.id}`),this.emit("open")}catch(t){throw this.emit("error",t),t}return this.jobInfo}async uploadData(t){await this.jobData.execute(t).result,this.logger.debug(`Successfully uploaded data to job ${this.id}`)}async close(){try{let t="UploadComplete";this.jobInfo=await this.createIngestRequest({method:"PATCH",path:`/${this.id}`,body:JSON.stringify({state:t}),headers:{"Content-Type":"application/json; charset=utf-8"},responseType:"application/json"}),this.logger.debug(`Successfully closed job ${this.id}`),this.emit("close")}catch(t){throw this.emit("error",t),t}}async abort(){try{let t="Aborted";this.jobInfo=await this.createIngestRequest({method:"PATCH",path:`/${this.id}`,body:JSON.stringify({state:t}),headers:{"Content-Type":"application/json; charset=utf-8"},responseType:"application/json"}),this.logger.debug(`Successfully aborted job ${this.id}`),this.emit("aborted")}catch(t){throw this.emit("error",t),t}}async poll(t=this.pollingOptions.pollInterval,r=this.pollingOptions.pollTimeout){let n=this.id,a=Date.now()+r;if(r===0)throw new wm(`Skipping polling because of timeout = 0ms. Job Id = ${n}`,n);for(this.logger.debug("Start polling for job status"),this.logger.debug(`Polling options: timeout:${r}ms | interval: ${t}ms.`);a>Date.now();)try{let s=await this.check();switch(s.state){case"Open":throw new Error("Job is still open. Make sure close the job by `close` method on the job instance before polling.");case"Aborted":throw new Error("Job has been aborted");case"UploadComplete":case"InProgress":this.emit("inProgress",s),await NX(t);break;case"Failed":throw this.logger.debug(s),new Error(`Ingest job failed to complete due to: ${s.errorMessage}`);case"JobComplete":this.logger.debug(`Job ${this.id} was successfully processed.`),this.emit("jobComplete",s);return}}catch(s){throw this.emit("error",s),s}let o=new wm(`Polling timed out after ${r}ms. Job Id = ${n}`,n);throw this.emit("error",o),o}async check(){try{let t=await this.createIngestRequest({method:"GET",path:`/${this.id}`,responseType:"application/json"});return this.jobInfo=t,t}catch(t){throw this.emit("error",t),t}}async getAllResults(){let[t,r,n]=await Promise.all([this.getSuccessfulResults(),this.getFailedResults(),this.getUnprocessedRecords()]);return{successfulResults:t,failedResults:r,unprocessedRecords:n}}async getSuccessfulResults(t){let r={method:"GET",path:`/${this.id}/successfulResults`};if(t)return this.createIngestRequest({...r,responseType:"text/plain"});if(this.bulkJobSuccessfulResults)return this.bulkJobSuccessfulResults;let n=await this.createIngestRequest({method:"GET",path:`/${this.id}/successfulResults`,responseType:"text/csv"});return this.bulkJobSuccessfulResults=n??[],this.bulkJobSuccessfulResults}async getFailedResults(t){let r={method:"GET",path:`/${this.id}/failedResults`};if(t)return this.createIngestRequest({...r,responseType:"text/plain"});if(this.bulkJobFailedResults)return this.bulkJobFailedResults;let n=await this.createIngestRequest({...r,responseType:"text/csv"});return this.bulkJobFailedResults=n??[],this.bulkJobFailedResults}async getUnprocessedRecords(t){let r={method:"GET",path:`/${this.id}/unprocessedrecords`};if(t)return this.createIngestRequest({...r,responseType:"text/plain"});if(this.bulkJobUnprocessedRecords)return this.bulkJobUnprocessedRecords;let n=await this.createIngestRequest({...r,responseType:"text/csv"});return this.bulkJobUnprocessedRecords=n??[],this.bulkJobUnprocessedRecords}async delete(){return this.createIngestRequest({method:"DELETE",path:`/${this.id}`})}createIngestRequest(t){let{path:r,responseType:n}=t,i=`/services/data/v${this.connection.version}/jobs/ingest`,a=new URL(r?i+r:i,this.connection.instanceUrl).toString();return new Rw(this.connection,{responseType:n}).request({...t,url:a})}};vo.IngestJobV2=n0;var fT=class extends Bje.Writable{job;uploadStream;downloadStream;dataStream;result;constructor(t){super({objectMode:!0});let r=t.createRequest;this.job=t.job,this.uploadStream=new Mw.Serializable,this.downloadStream=new Mw.Parsable;let n={nullValue:"#N/A"},i=this.uploadStream.stream("csv",n),a=this.downloadStream.stream("csv",n);this.dataStream=(0,Zje.concatStreamsAsDuplex)(i,a),this.on("finish",()=>this.uploadStream.end()),i.once("readable",()=>{try{let o=r({method:"PUT",path:`/${this.job.id}/batches`,headers:{"Content-Type":"text/csv"},responseType:"application/json"});(async()=>{try{let s=await o;this.emit("response",s)}catch(s){this.emit("error",s)}})(),i.pipe(o.stream())}catch(o){this.emit("error",o)}})}_write(t,r,n){let{Id:i,type:a,attributes:o,...s}=t,l;switch(this.job.getInfo().operation){case"insert":l=s;break;case"delete":case"hardDelete":l={Id:i};break;default:l={Id:i,...s}}this.uploadStream.write(l,r,n)}stream(){return this.dataStream}execute(t){if(this.result)throw new Error("Data can only be uploaded to a job once.");if(this.result=new Promise((r,n)=>{this.once("response",()=>r()),this.once("error",n)}),Hje.default.nodeStream(t))t.pipe(this.dataStream);else{let r=structuredClone(t);if(Array.isArray(r)){for(let n of r){for(let i of Object.keys(n))typeof n[i]=="boolean"&&(n[i]=String(n[i]));this.write(n)}this.end()}else typeof r=="string"&&(this.dataStream.write(r,"utf8"),this.dataStream.end())}return this}};function NX(e){return new Promise(t=>setTimeout(t,e))}(0,Wje.registerModule)("bulk2",e=>new t0(e));vo.default=t0});var Fw=h(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.emptyFunc=On.identityFunc=On.isPromiseLike=On.isNumber=On.isFunction=On.isMapObject=On.isObject=void 0;function PX(e){let t=typeof e;return e!=null&&(t=="object"||t=="function")}On.isObject=PX;function Gje(e){let t=typeof e;return e!=null&&t=="object"}On.isMapObject=Gje;function MX(e){return typeof e=="function"}On.isFunction=MX;function Jje(e){return typeof e=="number"}On.isNumber=Jje;function Kje(e){return PX(e)&&MX(e.then)}On.isPromiseLike=Kje;function Xje(e){return e}On.identityFunc=Xje;function Yje(){}On.emptyFunc=Yje});var RX=h(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.Chatter=rp.Resource=void 0;var Qje=Wi(),ePe=Fw(),$w=class{_chatter;_request;_promise;constructor(t,r){this._chatter=t,this._request=r}batchParams(){let{method:t,url:r,body:n}=this._request;return{method:t,url:this._chatter._normalizeUrl(r),...typeof n<"u"?{richInput:n}:{}}}promise(){return this._promise||(this._promise=this._chatter._request(this._request))}stream(){return this._chatter._request(this._request).stream()}then(t,r){return this.promise().then(t,r)}};function tPe(e,t){if(t){let r=Object.keys(t).map(n=>`${n}=${encodeURIComponent(String(t[n]??""))}`).join("&");e+=(e.indexOf("?")>0?"&":"?")+r}return e}var Uw=class extends $w{_url;constructor(t,r,n){super(t,{method:"GET",url:tPe(r,n)}),this._url=this._request.url}create(t){return this._chatter.request({method:"POST",url:this._url,body:t})}retrieve(){return this._chatter.request({method:"GET",url:this._url})}update(t){return this._chatter.request({method:"POST",url:this._url,body:t})}destroy(){return this._chatter.request({method:"DELETE",url:this._url})}delete=this.destroy;del=this.destroy};rp.Resource=Uw;var i0=class{_conn;constructor(t){this._conn=t}_request(t){let{method:r,url:n,headers:i,body:a}=t,o=i??{},s;/^(put|post|patch)$/i.test(r)&&((0,ePe.isObject)(a)?(o={...i,"Content-Type":"application/json"},s=JSON.stringify(a)):s=a);let l=this._normalizeUrl(n);return this._conn.request({method:r,url:l,headers:o,body:s})}_normalizeUrl(t){return t.startsWith("/chatter/")||t.startsWith("/connect/")?"/services/data/v"+this._conn.version+t:/^\/v[\d]+\.[\d]+\//.test(t)?"/services/data"+t:!t.startsWith("/services/")&&t.startsWith("/")?"/services/data/v"+this._conn.version+"/chatter"+t:t}request(t){return new $w(this,t)}resource(t,r){return new Uw(this,t,r)}async batch(t){let r=t.map(i=>{let a=rPe();return i._promise=a.promise,a}),n=await this.request({method:"POST",url:this._normalizeUrl("/connect/batch"),body:{batchRequests:t.map(i=>i.batchParams())}});return n.results.forEach((i,a)=>{let o=r[a];i.statusCode>=400?o.reject(i.result):o.resolve(i.result)}),n}};rp.Chatter=i0;function rPe(){let e=()=>{},t=()=>{};return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}(0,Qje.registerModule)("chatter",e=>new i0(e));rp.default=i0});var FX=h(zw=>{"use strict";Object.defineProperty(zw,"__esModule",{value:!0});zw.isJWTToken=void 0;function nPe(e){let t=e.split(".");if(t.length!==3)return!1;let r=t[0];try{return JSON.parse(atob(r)),!0}catch{return!1}}zw.isJWTToken=nPe});var hT=h(Hi=>{"use strict";var iPe=Hi&&Hi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),aPe=Hi&&Hi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),oPe=Hi&&Hi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&iPe(t,e,r);return aPe(t,e),t};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.SOAP=Hi.castTypeUsingSchema=void 0;var $X=oPe(sm()),rs=Fw(),sPe=mC(),lPe=FX();function UX(e,t){if(e.extends&&t[e.extends]){let r=t[e.extends];return{...UX(r,t),...e.props}}return e.props}function qw(e){return e==null||(0,rs.isMapObject)(e)&&(0,rs.isMapObject)(e.$)&&e.$["xsi:nil"]==="true"}function Sm(e,t,r={}){if(Array.isArray(t)){let n=t.length===2&&t[0]==="?",i=n?t[1]:t[0];return e==null?n?null:[]:(Array.isArray(e)?e:[e]).map(a=>Sm(a,i,r))}else if((0,rs.isMapObject)(t)){if("type"in t&&"props"in t&&(0,rs.isMapObject)(t.props)){let o=UX(t,r);return Sm(e,o,r)}let n="?"in t,i="?"in t?t["?"]:t;if(n&&qw(e))return null;let a=(0,rs.isMapObject)(e)?e:{};return Object.keys(i).reduce((o,s)=>{let l=i[s],c=a[s],u=Array.isArray(l)&&l.length===2&&l[0]==="?"||(0,rs.isMapObject)(l)&&"?"in l||typeof l=="string"&&l.startsWith("?");return typeof c>"u"&&u?o:{...o,[s]:Sm(c,l,r)}},a)}else{let n=typeof t=="string"&&t.startsWith("?"),i=typeof t=="string"?n?t.substring(1):t:"any";switch(i){case"string":return qw(e)?n?null:"":String(e);case"number":return qw(e)?n?null:0:Number(e);case"boolean":return qw(e)?n?null:!1:e==="true";case"null":return null;default:{if(r[i]){let a=Sm(e,r[i],r);return(0,rs.isMapObject)(a)&&Object.keys(a).length===0&&n?null:a}return e}}}}Hi.castTypeUsingSchema=Sm;function mT(e,t){let r=t.shift();if(!r)return e;if((0,rs.isMapObject)(e)){for(let n of Object.keys(e))if(r.test(n))return mT(e[n],t);return null}}function Bw(e,t){if((0,rs.isObject)(e)&&(t=e,e=null),Array.isArray(t))return t.map(r=>Bw(e,r)).join("");{let r=[];if(t===null)r.push('xsi:nil="true"'),t="";else if((0,rs.isMapObject)(t)){let a=[];for(let o of Object.keys(t)){let s=t[o];if(o.startsWith("@")){let l=o.substring(1);r.push(`${l}="${s}"`)}else a.push(Bw(o,s))}t=a.join("")}else t=String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");let n=e?"<"+e+(r.length>0?" "+r.join(" "):"")+">":"",i=e?"</"+e+">":"";return n+t+i}}var Vw=class extends $X.default{_endpointUrl;_xmlns;constructor(t,r){if(super(t,r),this._conn.accessToken&&(0,lPe.isJWTToken)(this._conn.accessToken))throw new Error('SOAP API does not support JWT-based access tokens. You must disable the "Issue JSON Web Token (JWT)-based access tokens" setting in your Connected App or External Client App');this._endpointUrl=r.endpointUrl,this._xmlns=r.xmlns||"urn:partner.soap.sforce.com"}async invoke(t,r,n,i){let a=await this.request({method:"POST",url:this._endpointUrl,headers:{"Content-Type":"text/xml",SOAPAction:'""'},_message:{[t]:r}});return n?Sm(a,n,i):a}beforeSend(t){t.body=this._createEnvelope(t._message);let r=t.headers||{},n=(0,sPe.getBodySize)(t.body,t.headers);!$X.isBrowser&&t.method==="POST"&&!("transfer-encoding"in r)&&!("content-length"in r)&&n&&(this._logger.debug(`missing 'content-length' header, setting it to: ${n}`),r["content-length"]=String(n)),t.headers=r}isSessionExpired(t){return t.statusCode===500&&/<faultcode>[a-zA-Z]+:INVALID_SESSION_ID<\/faultcode>/.test(t.body)}parseError(t){let r=mT(t,[/:Envelope$/,/:Body$/,/:Fault$/]);return{errorCode:r.faultcode,message:r.faultstring}}async getResponseBody(t){let r=await super.getResponseBody(t);return mT(r,[/:Envelope$/,/:Body$/,/.+/])}_createEnvelope(t){let r={},n=this._conn;return n.accessToken&&(r.SessionHeader={sessionId:n.accessToken}),n._callOptions&&(r.CallOptions=n._callOptions),['<?xml version="1.0" encoding="UTF-8"?>','<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"',' xmlns:xsd="http://www.w3.org/2001/XMLSchema"',' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">','<soapenv:Header xmlns="'+this._xmlns+'">',Bw(r),"</soapenv:Header>",'<soapenv:Body xmlns="'+this._xmlns+'">',Bw(t),"</soapenv:Body>","</soapenv:Envelope>"].join("")}};Hi.SOAP=Vw;Hi.default=Vw});var gT=h(Ww=>{"use strict";Object.defineProperty(Ww,"__esModule",{value:!0});Ww.ApiSchemas=void 0;Ww.ApiSchemas={CancelDeployResult:{type:"CancelDeployResult",props:{done:"boolean",id:"string"}},DeployResult:{type:"DeployResult",props:{canceledBy:"?string",canceledByName:"?string",checkOnly:"boolean",completedDate:"?string",createdBy:"string",createdByName:"string",createdDate:"string",details:"DeployDetails",done:"boolean",errorMessage:"?string",errorStatusCode:"?string",id:"string",ignoreWarnings:"boolean",lastModifiedDate:"?string",numberComponentErrors:"number",numberComponentsDeployed:"number",numberComponentsTotal:"number",numberTestErrors:"number",numberTestsCompleted:"number",numberTestsTotal:"number",rollbackOnError:"boolean",runTestsEnabled:"boolean",startDate:"?string",stateDetail:"?string",status:"string",success:"boolean"}},DeployDetails:{type:"DeployDetails",props:{componentFailures:["DeployMessage"],componentSuccesses:["DeployMessage"],retrieveResult:"?RetrieveResult",runTestResult:"?RunTestsResult"}},DeployMessage:{type:"DeployMessage",props:{changed:"boolean",columnNumber:"?number",componentType:"?string",created:"boolean",createdDate:"string",deleted:"boolean",fileName:"string",fullName:"string",id:"?string",lineNumber:"?number",problem:"?string",problemType:"?string",success:"boolean"}},RetrieveResult:{type:"RetrieveResult",props:{done:"boolean",errorMessage:"?string",errorStatusCode:"?string",fileProperties:["FileProperties"],id:"string",messages:["RetrieveMessage"],status:"string",success:"boolean",zipFile:"string"}},FileProperties:{type:"FileProperties",props:{createdById:"string",createdByName:"string",createdDate:"string",fileName:"string",fullName:"string",id:"string",lastModifiedById:"string",lastModifiedByName:"string",lastModifiedDate:"string",manageableState:"?string",namespacePrefix:"?string",type:"string"}},RetrieveMessage:{type:"RetrieveMessage",props:{fileName:"string",problem:"string"}},RunTestsResult:{type:"RunTestsResult",props:{apexLogId:"?string",codeCoverage:["CodeCoverageResult"],codeCoverageWarnings:["CodeCoverageWarning"],failures:["RunTestFailure"],flowCoverage:["FlowCoverageResult"],flowCoverageWarnings:["FlowCoverageWarning"],numFailures:"number",numTestsRun:"number",successes:["RunTestSuccess"],totalTime:"number"}},CodeCoverageResult:{type:"CodeCoverageResult",props:{dmlInfo:["CodeLocation"],id:"string",locationsNotCovered:["CodeLocation"],methodInfo:["CodeLocation"],name:"string",namespace:"?string",numLocations:"number",numLocationsNotCovered:"number",soqlInfo:["CodeLocation"],soslInfo:["CodeLocation"],type:"string"}},CodeLocation:{type:"CodeLocation",props:{column:"number",line:"number",numExecutions:"number",time:"number"}},CodeCoverageWarning:{type:"CodeCoverageWarning",props:{id:"string",message:"string",name:"?string",namespace:"?string"}},RunTestFailure:{type:"RunTestFailure",props:{id:"string",message:"string",methodName:"?string",name:"string",namespace:"?string",packageName:"string",seeAllData:"?boolean",stackTrace:"?string",time:"number",type:"string"}},FlowCoverageResult:{type:"FlowCoverageResult",props:{elementsNotCovered:["string"],flowId:"string",flowName:"string",flowNamespace:"?string",numElements:"number",numElementsNotCovered:"number",processType:"string"}},FlowCoverageWarning:{type:"FlowCoverageWarning",props:{flowId:"?string",flowName:"?string",flowNamespace:"?string",message:"string"}},RunTestSuccess:{type:"RunTestSuccess",props:{id:"string",methodName:"string",name:"string",namespace:"?string",seeAllData:"?boolean",time:"number"}},Metadata:{type:"Metadata",props:{fullName:"?string"}},AccountRelationshipShareRule:{type:"AccountRelationshipShareRule",props:{accessLevel:"string",accountToCriteriaField:"string",description:"?string",entityType:"string",masterLabel:"string",staticFormulaCriteria:"?string",type:"string"},extends:"Metadata"},AccountSettings:{type:"AccountSettings",props:{enableAccountHistoryTracking:"?boolean",enableAccountInsightsInMobile:"?boolean",enableAccountOwnerReport:"?boolean",enableAccountTeams:"?boolean",enableContactHistoryTracking:"?boolean",enableRelateContactToMultipleAccounts:"?boolean",showViewHierarchyLink:"?boolean"},extends:"Metadata"},ActionLinkGroupTemplate:{type:"ActionLinkGroupTemplate",props:{actionLinkTemplates:["ActionLinkTemplate"],category:"string",executionsAllowed:"string",hoursUntilExpiration:"?number",isPublished:"boolean",name:"string"},extends:"Metadata"},ActionLinkTemplate:{type:"ActionLinkTemplate",props:{actionUrl:"string",headers:"?string",isConfirmationRequired:"boolean",isGroupDefault:"boolean",label:"?string",labelKey:"string",linkType:"string",method:"string",position:"number",requestBody:"?string",userAlias:"?string",userVisibility:"string"}},ActionPlanTemplate:{type:"ActionPlanTemplate",props:{actionPlanTemplateItem:["ActionPlanTemplateItem"],description:"?string",name:"string",targetEntityType:"string",uniqueName:"string"},extends:"Metadata"},ActionPlanTemplateItem:{type:"ActionPlanTemplateItem",props:{actionPlanTemplateItemValue:["ActionPlanTemplateItemValue"],displayOrder:"?number",isRequired:"?boolean",name:"string",uniqueName:"string"}},ActionPlanTemplateItemValue:{type:"ActionPlanTemplateItemValue",props:{name:"string",valueFormula:"?string",valueLiteral:"?string"}},ActionsSettings:{type:"ActionsSettings",props:{enableDefaultQuickActionsOn:"?boolean",enableMdpEnabled:"?boolean",enableThirdPartyActions:"?boolean"},extends:"Metadata"},ActivitiesSettings:{type:"ActivitiesSettings",props:{allowUsersToRelateMultipleContactsToTasksAndEvents:"?boolean",autoRelateEventAttendees:"?boolean",enableActivityReminders:"?boolean",enableClickCreateEvents:"?boolean",enableDragAndDropScheduling:"?boolean",enableEmailTracking:"?boolean",enableGroupTasks:"?boolean",enableListViewScheduling:"?boolean",enableLogNote:"?boolean",enableMultidayEvents:"?boolean",enableRecurringEvents:"?boolean",enableRecurringTasks:"?boolean",enableRollUpActivToContactsAcct:"?boolean",enableSidebarCalendarShortcut:"?boolean",enableSimpleTaskCreateUI:"?boolean",enableUNSTaskDelegatedToNotifications:"?boolean",enableUserListViewCalendars:"?boolean",meetingRequestsLogo:"?string",showCustomLogoMeetingRequests:"?boolean",showEventDetailsMultiUserCalendar:"?boolean",showHomePageHoverLinksForEvents:"?boolean",showMyTasksHoverLinks:"?boolean"},extends:"Metadata"},AddressSettings:{type:"AddressSettings",props:{countriesAndStates:"CountriesAndStates"},extends:"Metadata"},CountriesAndStates:{type:"CountriesAndStates",props:{countries:["Country"]}},Country:{type:"Country",props:{active:"boolean",integrationValue:"string",isoCode:"string",label:"string",orgDefault:"boolean",standard:"boolean",states:["State"],visible:"boolean"}},State:{type:"State",props:{active:"boolean",integrationValue:"string",isoCode:"string",label:"string",standard:"boolean",visible:"boolean"}},AnalyticSnapshot:{type:"AnalyticSnapshot",props:{description:"?string",groupColumn:"?string",mappings:["AnalyticSnapshotMapping"],name:"string",runningUser:"?string",sourceReport:"string",targetObject:"string"},extends:"Metadata"},AnalyticSnapshotMapping:{type:"AnalyticSnapshotMapping",props:{aggregateType:"?string",sourceField:"string",sourceType:"string",targetField:"string"}},AnalyticsSettings:{type:"AnalyticsSettings",props:{alwaysGenPreviews:"?boolean",analyticsAdoptionMetadata:"?boolean",canAccessAnalyticsViaAPI:"?boolean",canAnnotateDashboards:"?boolean",canEnableSavedView:"?boolean",canExploreDataConversationally:"?boolean",canShareAppsWithCommunities:"?boolean",canSubscribeDashboardWidgets:"?boolean",canViewThumbnailAssets:"?boolean",enableAnalyticsSubtotals:"?boolean",enableAutoCompleteCombo:"?boolean",enableDashboardComponentSnapshot:"?boolean",enableDashboardFlexiTable:"?boolean",enableEmailReportsToPortalUsers:"?boolean",enableFloatingReportHeaders:"?boolean",enableInsights:"?boolean",enableLightningReportBuilder:"?boolean",enableLotusNotesImages:"?boolean",enableMassEnableReportBuilder:"?boolean",enableNewChartsEngine:"?boolean",enablePowerInsights:"?boolean",enableRemoveFooterForRepDisplay:"?boolean",enableRemoveFooterFromRepExp:"?boolean",enableReportFieldToFieldPref:"?boolean",enableReportUniqueRowCountPref:"?boolean",enableSFXJoinedReportsEnable:"?boolean",enableSmartDataDiscovery:"?boolean",enableUseOldChartsLookAndFeel:"?boolean",enableWaveReplication:"?boolean",enableWaveSharingInheritance:"?boolean",enableWaveTemplate:"?boolean",enableWaveTrendedDatasetCleanup:"?boolean"},extends:"Metadata"},AnimationRule:{type:"AnimationRule",props:{animationFrequency:"string",developerName:"string",isActive:"boolean",masterLabel:"string",recordTypeContext:"string",recordTypeName:"?string",sobjectType:"string",targetField:"string",targetFieldChangeToValues:"string"},extends:"Metadata"},ApexSettings:{type:"ApexSettings",props:{enableAggregateCodeCoverageOnly:"?boolean",enableApexAccessRightsPref:"?boolean",enableApexApprovalLockUnlock:"?boolean",enableApexCtrlImplicitWithSharingPref:"?boolean",enableApexPropertyGetterPref:"?boolean",enableAuraApexCtrlAuthUserAccessCheckPref:"?boolean",enableAuraApexCtrlGuestUserAccessCheckPref:"?boolean",enableCompileOnDeploy:"?boolean",enableDisableParallelApexTesting:"?boolean",enableDoNotEmailDebugLog:"?boolean",enableGaplessTestAutoNum:"?boolean",enableMngdCtrlActionAccessPref:"?boolean",enableNonCertifiedApexMdCrud:"?boolean"},extends:"Metadata"},ApexTestSuite:{type:"ApexTestSuite",props:{testClassName:["string"]},extends:"Metadata"},AppExperienceSettings:{type:"AppExperienceSettings",props:{doesHideAllAppsInAppLauncher:"?boolean"},extends:"Metadata"},AppMenu:{type:"AppMenu",props:{appMenuItems:["AppMenuItem"]},extends:"Metadata"},AppMenuItem:{type:"AppMenuItem",props:{name:"string",type:"string"}},AppointmentSchedulingPolicy:{type:"AppointmentSchedulingPolicy",props:{appointmentStartTimeInterval:"string",masterLabel:"string",shouldConsiderCalendarEvents:"boolean",shouldEnforceExcludedResource:"boolean",shouldEnforceRequiredResource:"boolean",shouldMatchSkill:"boolean",shouldMatchSkillLevel:"boolean",shouldRespectVisitingHours:"boolean",shouldUsePrimaryMembers:"boolean",shouldUseSecondaryMembers:"boolean"},extends:"Metadata"},ApprovalProcess:{type:"ApprovalProcess",props:{active:"boolean",allowRecall:"?boolean",allowedSubmitters:["ApprovalSubmitter"],approvalPageFields:"?ApprovalPageField",approvalStep:["ApprovalStep"],description:"?string",emailTemplate:"?string",enableMobileDeviceAccess:"?boolean",entryCriteria:"?ApprovalEntryCriteria",finalApprovalActions:"?ApprovalAction",finalApprovalRecordLock:"?boolean",finalRejectionActions:"?ApprovalAction",finalRejectionRecordLock:"?boolean",initialSubmissionActions:"?ApprovalAction",label:"string",nextAutomatedApprover:"?NextAutomatedApprover",postTemplate:"?string",recallActions:"?ApprovalAction",recordEditability:"string",showApprovalHistory:"?boolean"},extends:"Metadata"},ApprovalSubmitter:{type:"ApprovalSubmitter",props:{submitter:"?string",type:"string"}},ApprovalPageField:{type:"ApprovalPageField",props:{field:["string"]}},ApprovalStep:{type:"ApprovalStep",props:{allowDelegate:"?boolean",approvalActions:"?ApprovalAction",assignedApprover:"ApprovalStepApprover",description:"?string",entryCriteria:"?ApprovalEntryCriteria",ifCriteriaNotMet:"?string",label:"string",name:"string",rejectBehavior:"?ApprovalStepRejectBehavior",rejectionActions:"?ApprovalAction"}},ApprovalAction:{type:"ApprovalAction",props:{action:["WorkflowActionReference"]}},WorkflowActionReference:{type:"WorkflowActionReference",props:{name:"string",type:"string"}},ApprovalStepApprover:{type:"ApprovalStepApprover",props:{approver:["Approver"],whenMultipleApprovers:"?string"}},Approver:{type:"Approver",props:{name:"?string",type:"string"}},ApprovalEntryCriteria:{type:"ApprovalEntryCriteria",props:{booleanFilter:"?string",criteriaItems:["FilterItem"],formula:"?string"}},FilterItem:{type:"FilterItem",props:{field:"string",operation:"string",value:"?string",valueField:"?string"}},DuplicateRuleFilterItem:{type:"DuplicateRuleFilterItem",props:{sortOrder:"number",table:"string"},extends:"FilterItem"},ApprovalStepRejectBehavior:{type:"ApprovalStepRejectBehavior",props:{type:"string"}},NextAutomatedApprover:{type:"NextAutomatedApprover",props:{useApproverFieldOfRecordOwner:"?boolean",userHierarchyField:"string"}},ArchiveSettings:{type:"ArchiveSettings",props:{enableEntityArchivingEnabled:"?boolean"},extends:"Metadata"},AssignmentRule:{type:"AssignmentRule",props:{active:"?boolean",ruleEntry:["RuleEntry"]},extends:"Metadata"},RuleEntry:{type:"RuleEntry",props:{assignedTo:"?string",assignedToType:"?string",booleanFilter:"?string",businessHours:"?string",businessHoursSource:"?string",criteriaItems:["FilterItem"],disableEscalationWhenModified:"?boolean",escalationAction:["EscalationAction"],escalationStartTime:"?string",formula:"?string",notifyCcRecipients:"?boolean",overrideExistingTeams:"?boolean",replyToEmail:"?string",senderEmail:"?string",senderName:"?string",team:["string"],template:"?string"}},EscalationAction:{type:"EscalationAction",props:{assignedTo:"?string",assignedToTemplate:"?string",assignedToType:"?string",minutesToEscalation:"?number",notifyCaseOwner:"?boolean",notifyEmail:["string"],notifyTo:"?string",notifyToTemplate:"?string"}},AssignmentRules:{type:"AssignmentRules",props:{assignmentRule:["AssignmentRule"]},extends:"Metadata"},Audience:{type:"Audience",props:{audienceName:"string",container:"string",criteria:"AudienceCriteria",description:"?string",formula:"?string",formulaFilterType:"?string",targets:"?PersonalizationTargetInfos"},extends:"Metadata"},AudienceCriteria:{type:"AudienceCriteria",props:{criterion:["AudienceCriterion"]}},AudienceCriterion:{type:"AudienceCriterion",props:{criteriaNumber:"?number",criterionValue:"?AudienceCriteriaValue",operator:"?string",type:"string"}},AudienceCriteriaValue:{type:"AudienceCriteriaValue",props:{city:"?string",country:"?string",domain:"?string",entityField:"?string",entityType:"?string",fieldValue:"?string",isEnabled:"?string",permissionName:"?string",permissionType:"?string",profile:"?string",subdivision:"?string"}},PersonalizationTargetInfos:{type:"PersonalizationTargetInfos",props:{target:["PersonalizationTargetInfo"]}},PersonalizationTargetInfo:{type:"PersonalizationTargetInfo",props:{groupName:"string",priority:"?number",targetType:"string",targetValue:"string"}},AuraDefinitionBundle:{type:"AuraDefinitionBundle",props:{SVGContent:"?string",apiVersion:"?number",controllerContent:"?string",description:"?string",designContent:"?string",documentationContent:"?string",helperContent:"?string",markup:"?string",modelContent:"?string",packageVersions:["PackageVersion"],rendererContent:"?string",styleContent:"?string",testsuiteContent:"?string",type:"?string"},extends:"Metadata"},PackageVersion:{type:"PackageVersion",props:{majorNumber:"number",minorNumber:"number",namespace:"string"}},AuthProvider:{type:"AuthProvider",props:{appleTeam:"?string",authorizeUrl:"?string",consumerKey:"?string",consumerSecret:"?string",customMetadataTypeRecord:"?string",defaultScopes:"?string",ecKey:"?string",errorUrl:"?string",executionUser:"?string",friendlyName:"string",iconUrl:"?string",idTokenIssuer:"?string",includeOrgIdInIdentifier:"?boolean",linkKickoffUrl:"?string",logoutUrl:"?string",oauthKickoffUrl:"?string",plugin:"?string",portal:"?string",providerType:"string",registrationHandler:"?string",sendAccessTokenInHeader:"?boolean",sendClientCredentialsInHeader:"?boolean",sendSecretInApis:"?boolean",ssoKickoffUrl:"?string",tokenUrl:"?string",userInfoUrl:"?string"},extends:"Metadata"},AutoResponseRule:{type:"AutoResponseRule",props:{active:"?boolean",ruleEntry:["RuleEntry"]},extends:"Metadata"},AutoResponseRules:{type:"AutoResponseRules",props:{autoResponseRule:["AutoResponseRule"]},extends:"Metadata"},BlockchainSettings:{type:"BlockchainSettings",props:{enableBcp:"?boolean",enableBcpCoin:"?boolean"},extends:"Metadata"},Bot:{type:"Bot",props:{botMlDomain:"?LocalMlDomain",botUser:"?string",botVersions:["BotVersion"],contextVariables:["ConversationContextVariable"],description:"?string",label:"?string"},extends:"Metadata"},LocalMlDomain:{type:"LocalMlDomain",props:{label:"string",mlIntents:["MlIntent"],mlSlotClasses:["MlSlotClass"],name:"string"}},MlIntent:{type:"MlIntent",props:{description:"?string",developerName:"string",label:"string",mlIntentUtterances:["MlIntentUtterance"],relatedMlIntents:["MlRelatedIntent"]}},MlIntentUtterance:{type:"MlIntentUtterance",props:{utterance:"string"}},MlRelatedIntent:{type:"MlRelatedIntent",props:{relatedMlIntent:"string"}},MlSlotClass:{type:"MlSlotClass",props:{dataType:"string",description:"?string",developerName:"string",extractionRegex:"?string",extractionType:"?string",label:"string",mlSlotClassValues:["MlSlotClassValue"]}},MlSlotClassValue:{type:"MlSlotClassValue",props:{synonymGroup:"?SynonymGroup",value:"string"}},SynonymGroup:{type:"SynonymGroup",props:{languages:["string"],terms:["string"]}},BotVersion:{type:"BotVersion",props:{botDialogGroups:["BotDialogGroup"],botDialogs:["BotDialog"],conversationVariables:["ConversationVariable"],entryDialog:"string",mainMenuDialog:"string",responseDelayMilliseconds:"?number"},extends:"Metadata"},BotDialogGroup:{type:"BotDialogGroup",props:{description:"?string",developerName:"string",label:"string"}},BotDialog:{type:"BotDialog",props:{botDialogGroup:"?string",botSteps:["BotStep"],description:"?string",developerName:"string",label:"string",mlIntent:"?string",mlIntentTrainingEnabled:"?boolean",showInFooterMenu:"?boolean"}},BotStep:{type:"BotStep",props:{booleanFilter:"?string",botInvocation:"?BotInvocation",botMessages:["BotMessage"],botNavigation:"?BotNavigation",botStepConditions:["BotStepCondition"],botSteps:["BotStep"],botVariableOperation:"?BotVariableOperation",conversationRecordLookup:"?ConversationRecordLookup",conversationSystemMessage:"?ConversationSystemMessage",type:"string"}},BotInvocation:{type:"BotInvocation",props:{invocationActionName:"?string",invocationActionType:"?string",invocationMappings:["BotInvocationMapping"]}},BotInvocationMapping:{type:"BotInvocationMapping",props:{parameterName:"string",type:"string",value:"?string",variableName:"?string",variableType:"?string"}},BotMessage:{type:"BotMessage",props:{message:"string"}},BotNavigation:{type:"BotNavigation",props:{botNavigationLinks:["BotNavigationLink"],type:"string"}},BotNavigationLink:{type:"BotNavigationLink",props:{label:"?string",targetBotDialog:"string"}},BotStepCondition:{type:"BotStepCondition",props:{leftOperandName:"string",leftOperandType:"string",operatorType:"string",rightOperandValue:"?string"}},BotVariableOperation:{type:"BotVariableOperation",props:{botInvocation:"?BotInvocation",botMessages:["BotMessage"],botQuickReplyOptions:["BotQuickReplyOption"],botVariableOperands:["BotVariableOperand"],invalidInputBotNavigation:"?BotNavigation",quickReplyOptionTemplate:"?string",quickReplyType:"?string",quickReplyWidgetType:"?string",sourceVariableName:"?string",sourceVariableType:"?string",type:"string"}},BotQuickReplyOption:{type:"BotQuickReplyOption",props:{literalValue:"string"}},BotVariableOperand:{type:"BotVariableOperand",props:{disableAutoFill:"?boolean",sourceName:"?string",sourceType:"?string",sourceValue:"?string",targetName:"string",targetType:"string"}},ConversationRecordLookup:{type:"ConversationRecordLookup",props:{SObjectType:"string",lookupFields:["ConversationRecordLookupField"],maxLookupResults:"number",sourceVariableName:"string",sourceVariableType:"string",targetVariableName:"string"}},ConversationRecordLookupField:{type:"ConversationRecordLookupField",props:{fieldName:"string"}},ConversationSystemMessage:{type:"ConversationSystemMessage",props:{systemMessageMappings:["ConversationSystemMessageMapping"],type:"string"}},ConversationSystemMessageMapping:{type:"ConversationSystemMessageMapping",props:{mappingType:"string",parameterType:"string",variableName:"string"}},ConversationVariable:{type:"ConversationVariable",props:{SObjectType:"?string",collectionType:"?string",dataType:"string",developerName:"string",label:"string"}},ConversationContextVariable:{type:"ConversationContextVariable",props:{SObjectType:"?string",contextVariableMappings:["ConversationContextVariableMapping"],dataType:"string",developerName:"string",label:"string"}},ConversationContextVariableMapping:{type:"ConversationContextVariableMapping",props:{SObjectType:"string",fieldName:"string",messageType:"string"}},BotSettings:{type:"BotSettings",props:{enableBots:"?boolean"},extends:"Metadata"},BrandingSet:{type:"BrandingSet",props:{brandingSetProperty:["BrandingSetProperty"],description:"?string",masterLabel:"string",type:"?string"},extends:"Metadata"},BrandingSetProperty:{type:"BrandingSetProperty",props:{propertyName:"string",propertyValue:"?string"}},BusinessHoursEntry:{type:"BusinessHoursEntry",props:{active:"?boolean",default:"boolean",fridayEndTime:"?string",fridayStartTime:"?string",mondayEndTime:"?string",mondayStartTime:"?string",name:"?string",saturdayEndTime:"?string",saturdayStartTime:"?string",sundayEndTime:"?string",sundayStartTime:"?string",thursdayEndTime:"?string",thursdayStartTime:"?string",timeZoneId:"?string",tuesdayEndTime:"?string",tuesdayStartTime:"?string",wednesdayEndTime:"?string",wednesdayStartTime:"?string"},extends:"Metadata"},BusinessHoursSettings:{type:"BusinessHoursSettings",props:{businessHours:["BusinessHoursEntry"],holidays:["Holiday"]},extends:"Metadata"},Holiday:{type:"Holiday",props:{activityDate:"?string",businessHours:["string"],description:"?string",endTime:"?string",isRecurring:"?boolean",name:"?string",recurrenceDayOfMonth:"?number",recurrenceDayOfWeek:["string"],recurrenceDayOfWeekMask:"?number",recurrenceEndDate:"?string",recurrenceInstance:"?string",recurrenceInterval:"?number",recurrenceMonthOfYear:"?string",recurrenceStartDate:"?string",recurrenceType:"?string",startTime:"?string"}},BusinessProcess:{type:"BusinessProcess",props:{description:"?string",isActive:"?boolean",values:["PicklistValue"]},extends:"Metadata"},PicklistValue:{type:"PicklistValue",props:{color:"?string",default:"boolean",description:"?string",isActive:"?boolean",allowEmail:"?boolean",closed:"?boolean",controllingFieldValues:["string"],converted:"?boolean",cssExposed:"?boolean",forecastCategory:"?string",highPriority:"?boolean",probability:"?number",reverseRole:"?string",reviewed:"?boolean",won:"?boolean"},extends:"Metadata"},CMSConnectSource:{type:"CMSConnectSource",props:{cmsConnectAsset:["CMSConnectAsset"],cmsConnectLanguage:["CMSConnectLanguage"],cmsConnectPersonalization:"?CMSConnectPersonalization",cmsConnectResourceType:["CMSConnectResourceType"],connectionType:"string",cssScope:"?string",developerName:"string",languageEnabled:"?string",masterLabel:"string",namedCredential:"?string",personalizationEnabled:"?string",rootPath:"?string",sortOrder:"number",status:"string",type:"string",websiteUrl:"?string"},extends:"Metadata"},CMSConnectAsset:{type:"CMSConnectAsset",props:{assetPath:"string",assetType:"string",sortOrder:"number"}},CMSConnectLanguage:{type:"CMSConnectLanguage",props:{cmsLanguage:"string",language:"string"}},CMSConnectPersonalization:{type:"CMSConnectPersonalization",props:{connectorPage:"string",connectorPageAsset:"string"}},CMSConnectResourceType:{type:"CMSConnectResourceType",props:{cmsConnectResourceDefinition:["CMSConnectResourceDefinition"],developerName:"string",masterLabel:"string",resourceType:"string"}},CMSConnectResourceDefinition:{type:"CMSConnectResourceDefinition",props:{developerName:"string",masterLabel:"string",options:"number",payloadType:"string",resourceIdPath:"?string",resourceNamePath:"?string",resourcePath:"string",rootNodePath:"?string"}},CallCenter:{type:"CallCenter",props:{adapterUrl:"?string",customSettings:"?string",displayName:"string",displayNameLabel:"string",internalNameLabel:"string",sections:["CallCenterSection"],version:"?string"},extends:"Metadata"},CallCenterSection:{type:"CallCenterSection",props:{items:["CallCenterItem"],label:"string",name:"string"}},CallCenterItem:{type:"CallCenterItem",props:{label:"string",name:"string",value:"string"}},CampaignInfluenceModel:{type:"CampaignInfluenceModel",props:{isActive:"?boolean",isDefaultModel:"boolean",isModelLocked:"boolean",modelDescription:"?string",name:"string",recordPreference:"?string"},extends:"Metadata"},CampaignSettings:{type:"CampaignSettings",props:{enableAutoCampInfluenceDisabled:"?boolean",enableB2bmaCampaignInfluence2:"?boolean",enableCampaignHistoryTrackEnabled:"?boolean",enableCampaignInfluence2:"?boolean",enableCampaignMemberTWCF:"?boolean",enableSuppressNoValueCI2:"?boolean"},extends:"Metadata"},CanvasMetadata:{type:"CanvasMetadata",props:{accessMethod:"string",canvasOptions:"?string",canvasUrl:"string",lifecycleClass:"?string",locationOptions:"?string",samlInitiationMethod:"?string"},extends:"Metadata"},CaseClassificationSettings:{type:"CaseClassificationSettings",props:{caseClassificationRecommendations:"?boolean",reRunAttributeBasedRules:"?boolean",runAssignmentRules:"?boolean"},extends:"Metadata"},CaseSettings:{type:"CaseSettings",props:{caseAssignNotificationTemplate:"?string",caseAutoProcUser:"?boolean",caseCloseNotificationTemplate:"?string",caseCommentNotificationTemplate:"?string",caseCreateNotificationTemplate:"?string",caseFeedItemSettings:["FeedItemSettings"],caseFeedReadUnreadLtng:"?boolean",caseMergeInLightning:"?boolean",closeCaseThroughStatusChange:"?boolean",defaultCaseFeedLayoutOn:"?boolean",defaultCaseOwner:"?string",defaultCaseOwnerType:"?string",defaultCaseUser:"?string",emailActionDefaultsHandlerClass:"?string",emailToCase:"?EmailToCaseSettings",enableCaseFeed:"?boolean",enableCollapseEmailThread:"?boolean",enableDraftEmails:"?boolean",enableEarlyEscalationRuleTriggers:"?boolean",enableEmailActionDefaultsHandler:"?boolean",enableSuggestedArticlesApplication:"?boolean",enableSuggestedArticlesCustomerPortal:"?boolean",enableSuggestedArticlesPartnerPortal:"?boolean",enableSuggestedSolutions:"?boolean",escalateCaseBefore:"?boolean",genericMessageEnabled:"?boolean",keepRecordTypeOnAssignmentRule:"?boolean",notifyContactOnCaseComment:"?boolean",notifyDefaultCaseOwner:"?boolean",notifyOwnerOnCaseComment:"?boolean",notifyOwnerOnCaseOwnerChange:"?boolean",predictiveSupportEnabled:"?boolean",showEmailAttachmentsInCaseAttachmentsRL:"?boolean",showFewerCloseActions:"?boolean",systemUserEmail:"?string",useSystemEmailAddress:"?boolean",useSystemUserAsDefaultCaseUser:"?boolean",webToCase:"?WebToCaseSettings"},extends:"Metadata"},FeedItemSettings:{type:"FeedItemSettings",props:{characterLimit:"?number",displayFormat:"?string",feedItemType:"string"}},EmailToCaseSettings:{type:"EmailToCaseSettings",props:{enableE2CAttachmentAsFile:"?boolean",enableE2CSourceTracking:"?boolean",enableEmailToCase:"?boolean",enableHtmlEmail:"?boolean",enableOnDemandEmailToCase:"?boolean",enableThreadIDInBody:"?boolean",enableThreadIDInSubject:"?boolean",notifyOwnerOnNewCaseEmail:"?boolean",overEmailLimitAction:"?string",preQuoteSignature:"?boolean",routingAddresses:["EmailToCaseRoutingAddress"],unauthorizedSenderAction:"?string"}},EmailToCaseRoutingAddress:{type:"EmailToCaseRoutingAddress",props:{addressType:"?string",authorizedSenders:"?string",caseOrigin:"?string",caseOwner:"?string",caseOwnerType:"?string",casePriority:"?string",createTask:"?boolean",emailAddress:"?string",emailServicesAddress:"?string",isVerified:"?boolean",routingName:"?string",saveEmailHeaders:"?boolean",taskStatus:"?string"}},WebToCaseSettings:{type:"WebToCaseSettings",props:{caseOrigin:"?string",defaultResponseTemplate:"?string",enableWebToCase:"?boolean"}},CaseSubjectParticle:{type:"CaseSubjectParticle",props:{index:"number",textField:"?string",type:"string"},extends:"Metadata"},ChannelLayout:{type:"ChannelLayout",props:{enabledChannels:["string"],label:"string",layoutItems:["ChannelLayoutItem"],recordType:"?string"},extends:"Metadata"},ChannelLayoutItem:{type:"ChannelLayoutItem",props:{field:"string"}},ChatterAnswersSettings:{type:"ChatterAnswersSettings",props:{emailFollowersOnBestAnswer:"?boolean",emailFollowersOnReply:"?boolean",emailOwnerOnPrivateReply:"?boolean",emailOwnerOnReply:"?boolean",enableAnswerViaEmail:"?boolean",enableChatterAnswers:"boolean",enableFacebookSSO:"?boolean",enableInlinePublisher:"?boolean",enableReputation:"?boolean",enableRichTextEditor:"?boolean",facebookAuthProvider:"?string",showInPortals:"?boolean"},extends:"Metadata"},ChatterEmailsMDSettings:{type:"ChatterEmailsMDSettings",props:{enableChatterDigestEmailsApiOnly:"?boolean",enableChatterEmailAttachment:"?boolean",enableCollaborationEmail:"?boolean",enableDisplayAppDownloadBadges:"?boolean",enableEmailReplyToChatter:"?boolean",enableEmailToChatter:"?boolean"},extends:"Metadata"},ChatterExtension:{type:"ChatterExtension",props:{compositionComponent:"string",description:"string",extensionName:"string",headerText:"?string",hoverText:"?string",icon:"string",isProtected:"?boolean",masterLabel:"string",renderComponent:"string",type:"string"},extends:"Metadata"},ChatterSettings:{type:"ChatterSettings",props:{allowChatterGroupArchiving:"?boolean",allowRecordsInChatterGroup:"?boolean",allowSharingInChatterGroup:"?boolean",enableApprovalRequest:"?boolean",enableChatter:"?boolean",enableChatterEmoticons:"?boolean",enableFeedEdit:"?boolean",enableFeedPinning:"?boolean",enableFeedsDraftPosts:"?boolean",enableFeedsRichText:"?boolean",enableInviteCsnUsers:"?boolean",enableOutOfOfficeEnabledPref:"?boolean",enableRichLinkPreviewsInFeed:"?boolean",enableTodayRecsInFeed:"?boolean",unlistedGroupsEnabled:"?boolean"},extends:"Metadata"},CleanDataService:{type:"CleanDataService",props:{cleanRules:["CleanRule"],description:"string",masterLabel:"string",matchEngine:"string"},extends:"Metadata"},CleanRule:{type:"CleanRule",props:{bulkEnabled:"boolean",bypassTriggers:"boolean",bypassWorkflow:"boolean",description:"string",developerName:"string",fieldMappings:["FieldMapping"],masterLabel:"string",matchRule:"string",sourceSobjectType:"string",status:"string",targetSobjectType:"string"}},FieldMapping:{type:"FieldMapping",props:{SObjectType:"string",developerName:"string",fieldMappingRows:["FieldMappingRow"],masterLabel:"string"}},FieldMappingRow:{type:"FieldMappingRow",props:{SObjectType:"string",fieldMappingFields:["FieldMappingField"],fieldName:"string",mappingOperation:"string"}},FieldMappingField:{type:"FieldMappingField",props:{dataServiceField:"string",dataServiceObjectName:"string",priority:"number"}},CommandAction:{type:"CommandAction",props:{actionType:"string",description:"?string",intents:["CommandActionIntent"],label:"string",parameters:["CommandActionParam"],responseTemplates:["CommandActionResponse"],target:"?string"},extends:"Metadata"},CommandActionIntent:{type:"CommandActionIntent",props:{phrase:"string",responseTemplates:["CommandActionResponse"]}},CommandActionResponse:{type:"CommandActionResponse",props:{template:"string"}},CommandActionParam:{type:"CommandActionParam",props:{defaultValue:"?string",description:"?string",name:"string",required:"?boolean",type:"string"}},CommunitiesSettings:{type:"CommunitiesSettings",props:{canModerateAllFeedPosts:"?boolean",canModerateInternalFeedPosts:"?boolean",embeddedVisualforcePages:"?boolean",enableCommunityWorkspaces:"?boolean",enableCspContactVisibilityPref:"?boolean",enableCspNotesOnAccConPref:"?boolean",enableEnablePRM:"?boolean",enableExternalAccHierPref:"?boolean",enableGuestRecordReassignOrgPref:"?boolean",enableInviteChatterGuestEnabled:"?boolean",enableNetPortalUserReportOpts:"?boolean",enableNetworksEnabled:"?boolean",enableOotbProfExtUserOpsEnable:"?boolean",enablePRMAccRelPref:"?boolean",enablePowerCustomerCaseStatus:"?boolean",enableRelaxPartnerAccountFieldPref:"?boolean",enableUsernameUniqForOrgPref:"?boolean"},extends:"Metadata"},Community:{type:"Community",props:{active:"?boolean",chatterAnswersFacebookSsoUrl:"?string",communityFeedPage:"?string",dataCategoryName:"?string",description:"?string",emailFooterDocument:"?string",emailHeaderDocument:"?string",emailNotificationUrl:"?string",enableChatterAnswers:"?boolean",enablePrivateQuestions:"?boolean",expertsGroup:"?string",portal:"?string",reputationLevels:"?ReputationLevels",showInPortal:"?boolean",site:"?string"},extends:"Metadata"},ReputationLevels:{type:"ReputationLevels",props:{chatterAnswersReputationLevels:["ChatterAnswersReputationLevel"],ideaReputationLevels:["IdeaReputationLevel"]}},ChatterAnswersReputationLevel:{type:"ChatterAnswersReputationLevel",props:{name:"string",value:"number"}},IdeaReputationLevel:{type:"IdeaReputationLevel",props:{name:"string",value:"number"}},CommunityTemplateDefinition:{type:"CommunityTemplateDefinition",props:{baseTemplate:"?string",bundlesInfo:["CommunityTemplateBundleInfo"],category:"string",defaultBrandingSet:"?string",defaultThemeDefinition:"string",description:"?string",enableExtendedCleanUpOnDelete:"?boolean",masterLabel:"string",navigationLinkSet:["NavigationLinkSet"],pageSetting:["CommunityTemplatePageSetting"],publisher:"?string"},extends:"Metadata"},CommunityTemplateBundleInfo:{type:"CommunityTemplateBundleInfo",props:{description:"?string",image:"?string",order:"number",title:"string",type:"string"}},CommunityThemeBundleInfo:{type:"CommunityThemeBundleInfo",props:{},extends:"CommunityTemplateBundleInfo"},NavigationLinkSet:{type:"NavigationLinkSet",props:{navigationMenuItem:["NavigationMenuItem"]}},NavigationMenuItem:{type:"NavigationMenuItem",props:{defaultListViewId:"?string",label:"string",menuItemBranding:"?NavigationMenuItemBranding",position:"number",publiclyAvailable:"?boolean",subMenu:"?NavigationSubMenu",target:"?string",targetPreference:"?string",type:"string"}},NavigationMenuItemBranding:{type:"NavigationMenuItemBranding",props:{tileImage:"?string"}},NavigationSubMenu:{type:"NavigationSubMenu",props:{navigationMenuItem:["NavigationMenuItem"]}},CommunityTemplatePageSetting:{type:"CommunityTemplatePageSetting",props:{page:"string",themeLayout:"string"}},CommunityThemeDefinition:{type:"CommunityThemeDefinition",props:{bundlesInfo:["CommunityThemeBundleInfo"],customThemeLayoutType:["CommunityCustomThemeLayoutType"],defaultBrandingSet:"?string",description:"?string",enableExtendedCleanUpOnDelete:"?boolean",masterLabel:"string",publisher:"?string",themeRouteOverride:["CommunityThemeRouteOverride"],themeSetting:["CommunityThemeSetting"]},extends:"Metadata"},CommunityCustomThemeLayoutType:{type:"CommunityCustomThemeLayoutType",props:{description:"?string",label:"string"}},CommunityThemeRouteOverride:{type:"CommunityThemeRouteOverride",props:{customThemeLayoutType:"?string",pageAttributes:"string",pageType:"string",themeLayoutType:"?string"}},CommunityThemeSetting:{type:"CommunityThemeSetting",props:{customThemeLayoutType:"?string",themeLayout:"string",themeLayoutType:"?string"}},CompactLayout:{type:"CompactLayout",props:{fields:["string"],label:"string"},extends:"Metadata"},CompanySettings:{type:"CompanySettings",props:{enableCustomFiscalYear:"boolean",fiscalYear:"?FiscalYearSettings"},extends:"Metadata"},FiscalYearSettings:{type:"FiscalYearSettings",props:{fiscalYearNameBasedOn:"?string",startMonth:"?string"}},ConnectedApp:{type:"ConnectedApp",props:{attributes:["ConnectedAppAttribute"],canvas:"?CanvasMetadata",canvasConfig:"?ConnectedAppCanvasConfig",contactEmail:"string",contactPhone:"?string",description:"?string",iconUrl:"?string",infoUrl:"?string",ipRanges:["ConnectedAppIpRange"],label:"string",logoUrl:"?string",mobileAppConfig:"?ConnectedAppMobileDetailConfig",mobileStartUrl:"?string",oauthConfig:"?ConnectedAppOauthConfig",permissionSetName:["string"],plugin:"?string",pluginExecutionUser:"?string",profileName:["string"],samlConfig:"?ConnectedAppSamlConfig",startUrl:"?string"},extends:"Metadata"},ConnectedAppAttribute:{type:"ConnectedAppAttribute",props:{formula:"string",key:"string"}},ConnectedAppCanvasConfig:{type:"ConnectedAppCanvasConfig",props:{accessMethod:"string",canvasUrl:"string",lifecycleClass:"?string",locations:["string"],options:["string"],samlInitiationMethod:"?string"}},ConnectedAppIpRange:{type:"ConnectedAppIpRange",props:{description:"?string",end:"string",start:"string"}},ConnectedAppMobileDetailConfig:{type:"ConnectedAppMobileDetailConfig",props:{applicationBinaryFile:"?string",applicationBinaryFileName:"?string",applicationBundleIdentifier:"?string",applicationFileLength:"?number",applicationIconFile:"?string",applicationIconFileName:"?string",applicationInstallUrl:"?string",devicePlatform:"string",deviceType:"?string",minimumOsVersion:"?string",privateApp:"?boolean",version:"string"}},ConnectedAppOauthConfig:{type:"ConnectedAppOauthConfig",props:{callbackUrl:"string",certificate:"?string",consumerKey:"?string",consumerSecret:"?string",idTokenConfig:"?ConnectedAppOauthIdToken",isAdminApproved:"?boolean",scopes:["string"],singleLogoutUrl:"?string"}},ConnectedAppOauthIdToken:{type:"ConnectedAppOauthIdToken",props:{idTokenAudience:"?string",idTokenIncludeAttributes:"?boolean",idTokenIncludeCustomPerms:"?boolean",idTokenIncludeStandardClaims:"?boolean",idTokenValidity:"?number"}},ConnectedAppSamlConfig:{type:"ConnectedAppSamlConfig",props:{acsUrl:"string",certificate:"?string",encryptionCertificate:"?string",encryptionType:"?string",entityUrl:"string",issuer:"?string",samlIdpSLOBindingEnum:"?string",samlNameIdFormat:"?string",samlSloUrl:"?string",samlSubjectCustomAttr:"?string",samlSubjectType:"string"}},ConnectedAppSettings:{type:"ConnectedAppSettings",props:{enableAdminApprovedAppsOnly:"?boolean",enableSkipUserProvisioningWizardWelcomePage:"?boolean"},extends:"Metadata"},ContentSettings:{type:"ContentSettings",props:{enableChatterFileLink:"?boolean",enableContent:"?boolean",enableContentAutoAssign:"?boolean",enableContentDistForPortalUsers:"?boolean",enableContentDistPwOptionsBit1:"?boolean",enableContentDistPwOptionsBit2:"?boolean",enableContentDistribution:"?boolean",enableContentSupportMultiLanguage:"?boolean",enableContentWorkspaceAccess:"?boolean",enableFileShareSetByRecord:"?boolean",enableFilesUsrShareNetRestricted:"?boolean",enableJPGPreviews:"?boolean",enableLibraryManagedFiles:"?boolean",enableSiteGuestUserToUploadFiles:"?boolean",enableUploadFilesOnAttachments:"?boolean",skipContentAssetTriggers:"?boolean",skipContentAssetTriggersOnDeploy:"?boolean"},extends:"Metadata"},ContractSettings:{type:"ContractSettings",props:{autoCalculateEndDate:"?boolean",autoExpirationDelay:"?string",autoExpirationRecipient:"?string",autoExpireContracts:"?boolean",enableContractHistoryTracking:"?boolean",notifyOwnersOnContractExpiration:"?boolean"},extends:"Metadata"},CorsWhitelistOrigin:{type:"CorsWhitelistOrigin",props:{urlPattern:"string"},extends:"Metadata"},CspTrustedSite:{type:"CspTrustedSite",props:{context:"?string",description:"?string",endpointUrl:"string",isActive:"boolean"},extends:"Metadata"},CurrencySettings:{type:"CurrencySettings",props:{enableCurrencyEffectiveDates:"?boolean",enableCurrencySymbolWithMultiCurrency:"?boolean",enableMultiCurrency:"?boolean",isMultiCurrencyActivationAllowed:"?boolean",isParenCurrencyConvDisabled:"?boolean"},extends:"Metadata"},CustomApplication:{type:"CustomApplication",props:{actionOverrides:["AppActionOverride"],brand:"?AppBrand",consoleConfig:"?ServiceCloudConsoleConfig",defaultLandingTab:"?string",description:"?string",formFactors:["string"],isNavAutoTempTabsDisabled:"?boolean",isNavPersonalizationDisabled:"?boolean",isServiceCloudConsole:"?boolean",label:"?string",logo:"?string",navType:"?string",preferences:"?AppPreferences",profileActionOverrides:["AppProfileActionOverride"],setupExperience:"?string",subscriberTabs:["string"],tabs:["string"],uiType:"?string",utilityBar:"?string",workspaceConfig:"?AppWorkspaceConfig"},extends:"Metadata"},AppActionOverride:{type:"AppActionOverride",props:{pageOrSobjectType:"string"},extends:"ActionOverride"},ActionOverride:{type:"ActionOverride",props:{actionName:"?string",comment:"?string",content:"?string",formFactor:"?string",skipRecordTypeSelect:"?boolean",type:"?string"}},AppBrand:{type:"AppBrand",props:{footerColor:"?string",headerColor:"?string",logo:"?string",logoVersion:"?number",shouldOverrideOrgTheme:"?boolean"}},ServiceCloudConsoleConfig:{type:"ServiceCloudConsoleConfig",props:{componentList:"?AppComponentList",detailPageRefreshMethod:"string",footerColor:"?string",headerColor:"?string",keyboardShortcuts:"KeyboardShortcuts",listPlacement:"ListPlacement",listRefreshMethod:"string",liveAgentConfig:"?LiveAgentConfig",primaryTabColor:"?string",pushNotifications:["PushNotification"],tabLimitConfig:"?TabLimitConfig",whitelistedDomains:["string"]}},AppComponentList:{type:"AppComponentList",props:{alignment:"string",components:["string"]}},KeyboardShortcuts:{type:"KeyboardShortcuts",props:{customShortcuts:["CustomShortcut"],defaultShortcuts:["DefaultShortcut"]}},CustomShortcut:{type:"CustomShortcut",props:{description:"?string",eventName:"string"},extends:"DefaultShortcut"},DefaultShortcut:{type:"DefaultShortcut",props:{action:"string",active:"boolean",keyCommand:"string"}},ListPlacement:{type:"ListPlacement",props:{height:"?number",location:"string",units:"?string",width:"?number"}},LiveAgentConfig:{type:"LiveAgentConfig",props:{enableLiveChat:"?boolean",openNewAccountSubtab:"?boolean",openNewCaseSubtab:"?boolean",openNewContactSubtab:"?boolean",openNewLeadSubtab:"?boolean",openNewVFPageSubtab:"?boolean",pageNamesToOpen:["string"],showKnowledgeArticles:"?boolean"}},PushNotification:{type:"PushNotification",props:{fieldNames:["string"],objectName:"string"}},TabLimitConfig:{type:"TabLimitConfig",props:{maxNumberOfPrimaryTabs:"?string",maxNumberOfSubTabs:"?string"}},AppPreferences:{type:"AppPreferences",props:{enableCustomizeMyTabs:"boolean",enableKeyboardShortcuts:"boolean",enableListViewHover:"boolean",enableListViewReskin:"boolean",enableMultiMonitorComponents:"boolean",enablePinTabs:"boolean",enableTabHover:"boolean",enableTabLimits:"boolean",saveUserSessions:"boolean"}},AppProfileActionOverride:{type:"AppProfileActionOverride",props:{profile:"string"},extends:"ProfileActionOverride"},ProfileActionOverride:{type:"ProfileActionOverride",props:{actionName:"string",content:"?string",formFactor:"string",pageOrSobjectType:"string",recordType:"?string",type:"string"}},AppWorkspaceConfig:{type:"AppWorkspaceConfig",props:{mappings:["WorkspaceMapping"]}},WorkspaceMapping:{type:"WorkspaceMapping",props:{fieldName:"?string",tab:"string"}},CustomApplicationComponent:{type:"CustomApplicationComponent",props:{buttonIconUrl:"?string",buttonStyle:"?string",buttonText:"?string",buttonWidth:"?number",height:"?number",isHeightFixed:"boolean",isHidden:"boolean",isWidthFixed:"boolean",visualforcePage:"string",width:"?number"},extends:"Metadata"},CustomFeedFilter:{type:"CustomFeedFilter",props:{criteria:["FeedFilterCriterion"],description:"?string",isProtected:"?boolean",label:"string"},extends:"Metadata"},FeedFilterCriterion:{type:"FeedFilterCriterion",props:{feedItemType:"string",feedItemVisibility:"?string",relatedSObjectType:"?string"}},CustomField:{type:"CustomField",props:{businessOwnerGroup:"?string",businessOwnerUser:"?string",businessStatus:"?string",caseSensitive:"?boolean",complianceGroup:"?string",customDataType:"?string",defaultValue:"?string",deleteConstraint:"?string",deprecated:"?boolean",description:"?string",displayFormat:"?string",encryptionScheme:"?string",escapeMarkup:"?boolean",externalDeveloperName:"?string",externalId:"?boolean",fieldManageability:"?string",formula:"?string",formulaTreatBlanksAs:"?string",inlineHelpText:"?string",isAIPredictionField:"?boolean",isConvertLeadDisabled:"?boolean",isFilteringDisabled:"?boolean",isNameField:"?boolean",isSortingDisabled:"?boolean",label:"?string",length:"?number",lookupFilter:"?LookupFilter",maskChar:"?string",maskType:"?string",metadataRelationshipControllingField:"?string",populateExistingRows:"?boolean",precision:"?number",referenceTargetField:"?string",referenceTo:"?string",relationshipLabel:"?string",relationshipName:"?string",relationshipOrder:"?number",reparentableMasterDetail:"?boolean",required:"?boolean",restrictedAdminField:"?boolean",scale:"?number",securityClassification:"?string",startingNumber:"?number",stripMarkup:"?boolean",summarizedField:"?string",summaryFilterItems:["FilterItem"],summaryForeignKey:"?string",summaryOperation:"?string",trackFeedHistory:"?boolean",trackHistory:"?boolean",trackTrending:"?boolean",translateData:"?boolean",type:"?string",unique:"?boolean",valueSet:"?ValueSet",visibleLines:"?number",writeRequiresMasterRead:"?boolean"},extends:"Metadata"},LookupFilter:{type:"LookupFilter",props:{active:"boolean",booleanFilter:"?string",description:"?string",errorMessage:"?string",filterItems:["FilterItem"],infoMessage:"?string",isOptional:"boolean"}},ValueSet:{type:"ValueSet",props:{controllingField:"?string",restricted:"?boolean",valueSetDefinition:"?ValueSetValuesDefinition",valueSetName:"?string",valueSettings:["ValueSettings"]}},ValueSetValuesDefinition:{type:"ValueSetValuesDefinition",props:{sorted:"boolean",value:["CustomValue"]}},CustomValue:{type:"CustomValue",props:{color:"?string",default:"boolean",description:"?string",isActive:"?boolean",label:"?string"},extends:"Metadata"},StandardValue:{type:"StandardValue",props:{allowEmail:"?boolean",closed:"?boolean",converted:"?boolean",cssExposed:"?boolean",forecastCategory:"?string",groupingString:"?string",highPriority:"?boolean",probability:"?number",reverseRole:"?string",reviewed:"?boolean",won:"?boolean"},extends:"CustomValue"},ValueSettings:{type:"ValueSettings",props:{controllingFieldValue:["string"],valueName:"string"}},CustomHelpMenuSection:{type:"CustomHelpMenuSection",props:{customHelpMenuItems:["CustomHelpMenuItem"],masterLabel:"string"},extends:"Metadata"},CustomHelpMenuItem:{type:"CustomHelpMenuItem",props:{linkUrl:"string",masterLabel:"string",sortOrder:"number"}},CustomLabel:{type:"CustomLabel",props:{categories:"?string",language:"string",protected:"boolean",shortDescription:"string",value:"string"},extends:"Metadata"},CustomLabels:{type:"CustomLabels",props:{labels:["CustomLabel"]},extends:"Metadata"},CustomMetadata:{type:"CustomMetadata",props:{description:"?string",label:"?string",protected:"?boolean",values:["CustomMetadataValue"]},extends:"Metadata"},CustomMetadataValue:{type:"CustomMetadataValue",props:{field:"string",value:"?any"}},CustomNotificationType:{type:"CustomNotificationType",props:{customNotifTypeName:"string",description:"?string",desktop:"boolean",masterLabel:"string",mobile:"boolean"},extends:"Metadata"},CustomObject:{type:"CustomObject",props:{actionOverrides:["ActionOverride"],allowInChatterGroups:"?boolean",articleTypeChannelDisplay:"?ArticleTypeChannelDisplay",businessProcesses:["BusinessProcess"],compactLayoutAssignment:"?string",compactLayouts:["CompactLayout"],customHelp:"?string",customHelpPage:"?string",customSettingsType:"?string",deploymentStatus:"?string",deprecated:"?boolean",description:"?string",enableActivities:"?boolean",enableBulkApi:"?boolean",enableDataTranslation:"?boolean",enableDivisions:"?boolean",enableEnhancedLookup:"?boolean",enableFeeds:"?boolean",enableHistory:"?boolean",enableLicensing:"?boolean",enableReports:"?boolean",enableSearch:"?boolean",enableSharing:"?boolean",enableStreamingApi:"?boolean",eventType:"?string",externalDataSource:"?string",externalName:"?string",externalRepository:"?string",externalSharingModel:"?string",fieldSets:["FieldSet"],fields:["CustomField"],gender:"?string",historyRetentionPolicy:"?HistoryRetentionPolicy",household:"?boolean",indexes:["Index"],label:"?string",listViews:["ListView"],nameField:"?CustomField",pluralLabel:"?string",profileSearchLayouts:["ProfileSearchLayouts"],publishBehavior:"?string",recordTypeTrackFeedHistory:"?boolean",recordTypeTrackHistory:"?boolean",recordTypes:["RecordType"],searchLayouts:"?SearchLayouts",sharingModel:"?string",sharingReasons:["SharingReason"],sharingRecalculations:["SharingRecalculation"],startsWith:"?string",validationRules:["ValidationRule"],visibility:"?string",webLinks:["WebLink"]},extends:"Metadata"},ArticleTypeChannelDisplay:{type:"ArticleTypeChannelDisplay",props:{articleTypeTemplates:["ArticleTypeTemplate"]}},ArticleTypeTemplate:{type:"ArticleTypeTemplate",props:{channel:"string",page:"?string",template:"string"}},FieldSet:{type:"FieldSet",props:{availableFields:["FieldSetItem"],description:"string",displayedFields:["FieldSetItem"],label:"string"},extends:"Metadata"},FieldSetItem:{type:"FieldSetItem",props:{field:"?string",isFieldManaged:"?boolean",isRequired:"?boolean"}},HistoryRetentionPolicy:{type:"HistoryRetentionPolicy",props:{archiveAfterMonths:"number",archiveRetentionYears:"number",description:"?string"}},Index:{type:"Index",props:{fields:["IndexField"],label:"string"},extends:"Metadata"},IndexField:{type:"IndexField",props:{name:"string",sortDirection:"string"}},ListView:{type:"ListView",props:{booleanFilter:"?string",columns:["string"],division:"?string",filterScope:"string",filters:["ListViewFilter"],label:"string",language:"?string",queue:"?string",sharedTo:"?SharedTo"},extends:"Metadata"},ListViewFilter:{type:"ListViewFilter",props:{field:"string",operation:"string",value:"?string"}},SharedTo:{type:"SharedTo",props:{allCustomerPortalUsers:"?string",allInternalUsers:"?string",allPartnerUsers:"?string",channelProgramGroup:["string"],channelProgramGroups:["string"],group:["string"],groups:["string"],guestUser:["string"],managerSubordinates:["string"],managers:["string"],portalRole:["string"],portalRoleAndSubordinates:["string"],queue:["string"],role:["string"],roleAndSubordinates:["string"],roleAndSubordinatesInternal:["string"],roles:["string"],rolesAndSubordinates:["string"],territories:["string"],territoriesAndSubordinates:["string"],territory:["string"],territoryAndSubordinates:["string"]}},ProfileSearchLayouts:{type:"ProfileSearchLayouts",props:{fields:["string"],profileName:"?string"}},RecordType:{type:"RecordType",props:{active:"boolean",businessProcess:"?string",compactLayoutAssignment:"?string",description:"?string",label:"string",picklistValues:["RecordTypePicklistValue"]},extends:"Metadata"},RecordTypePicklistValue:{type:"RecordTypePicklistValue",props:{picklist:"string",values:["PicklistValue"]}},SearchLayouts:{type:"SearchLayouts",props:{customTabListAdditionalFields:["string"],excludedStandardButtons:["string"],listViewButtons:["string"],lookupDialogsAdditionalFields:["string"],lookupFilterFields:["string"],lookupPhoneDialogsAdditionalFields:["string"],massQuickActions:["string"],searchFilterFields:["string"],searchResultsAdditionalFields:["string"],searchResultsCustomButtons:["string"]}},SharingReason:{type:"SharingReason",props:{label:"string"},extends:"Metadata"},SharingRecalculation:{type:"SharingRecalculation",props:{className:"string"}},ValidationRule:{type:"ValidationRule",props:{active:"boolean",description:"?string",errorConditionFormula:"string",errorDisplayField:"?string",errorMessage:"string"},extends:"Metadata"},WebLink:{type:"WebLink",props:{availability:"string",description:"?string",displayType:"string",encodingKey:"?string",hasMenubar:"?boolean",hasScrollbars:"?boolean",hasToolbar:"?boolean",height:"?number",isResizable:"?boolean",linkType:"string",masterLabel:"?string",openType:"string",page:"?string",position:"?string",protected:"boolean",requireRowSelection:"?boolean",scontrol:"?string",showsLocation:"?boolean",showsStatus:"?boolean",url:"?string",width:"?number"},extends:"Metadata"},CustomObjectTranslation:{type:"CustomObjectTranslation",props:{caseValues:["ObjectNameCaseValue"],fieldSets:["FieldSetTranslation"],fields:["CustomFieldTranslation"],gender:"?string",layouts:["LayoutTranslation"],nameFieldLabel:"?string",quickActions:["QuickActionTranslation"],recordTypes:["RecordTypeTranslation"],sharingReasons:["SharingReasonTranslation"],standardFields:["StandardFieldTranslation"],startsWith:"?string",validationRules:["ValidationRuleTranslation"],webLinks:["WebLinkTranslation"],workflowTasks:["WorkflowTaskTranslation"]},extends:"Metadata"},ObjectNameCaseValue:{type:"ObjectNameCaseValue",props:{article:"?string",caseType:"?string",plural:"?boolean",possessive:"?string",value:"string"}},FieldSetTranslation:{type:"FieldSetTranslation",props:{label:"string",name:"string"}},CustomFieldTranslation:{type:"CustomFieldTranslation",props:{caseValues:["ObjectNameCaseValue"],gender:"?string",help:"?string",label:"?string",lookupFilter:"?LookupFilterTranslation",name:"string",picklistValues:["PicklistValueTranslation"],relationshipLabel:"?string",startsWith:"?string"}},LookupFilterTranslation:{type:"LookupFilterTranslation",props:{errorMessage:"string",informationalMessage:"string"}},PicklistValueTranslation:{type:"PicklistValueTranslation",props:{masterLabel:"string",translation:"?string"}},LayoutTranslation:{type:"LayoutTranslation",props:{layout:"string",layoutType:"?string",sections:["LayoutSectionTranslation"]}},LayoutSectionTranslation:{type:"LayoutSectionTranslation",props:{label:"string",section:"string"}},QuickActionTranslation:{type:"QuickActionTranslation",props:{label:"string",name:"string"}},RecordTypeTranslation:{type:"RecordTypeTranslation",props:{description:"?string",label:"string",name:"string"}},SharingReasonTranslation:{type:"SharingReasonTranslation",props:{label:"string",name:"string"}},StandardFieldTranslation:{type:"StandardFieldTranslation",props:{label:"?string",name:"string"}},ValidationRuleTranslation:{type:"ValidationRuleTranslation",props:{errorMessage:"string",name:"string"}},WebLinkTranslation:{type:"WebLinkTranslation",props:{label:"string",name:"string"}},WorkflowTaskTranslation:{type:"WorkflowTaskTranslation",props:{description:"?string",name:"string",subject:"?string"}},CustomPageWebLink:{type:"CustomPageWebLink",props:{availability:"string",description:"?string",displayType:"string",encodingKey:"?string",hasMenubar:"?boolean",hasScrollbars:"?boolean",hasToolbar:"?boolean",height:"?number",isResizable:"?boolean",linkType:"string",masterLabel:"?string",openType:"string",page:"?string",position:"?string",protected:"boolean",requireRowSelection:"?boolean",scontrol:"?string",showsLocation:"?boolean",showsStatus:"?boolean",url:"?string",width:"?number"},extends:"Metadata"},CustomPermission:{type:"CustomPermission",props:{connectedApp:"?string",description:"?string",label:"string",requiredPermission:["CustomPermissionDependencyRequired"]},extends:"Metadata"},CustomPermissionDependencyRequired:{type:"CustomPermissionDependencyRequired",props:{customPermission:"string",dependency:"boolean"}},CustomSite:{type:"CustomSite",props:{active:"boolean",allowHomePage:"boolean",allowStandardAnswersPages:"?boolean",allowStandardIdeasPages:"boolean",allowStandardLookups:"boolean",allowStandardPortalPages:"boolean",allowStandardSearch:"boolean",analyticsTrackingCode:"?string",authorizationRequiredPage:"?string",bandwidthExceededPage:"?string",browserXssProtection:"boolean",changePasswordPage:"?string",chatterAnswersForgotPasswordConfirmPage:"?string",chatterAnswersForgotPasswordPage:"?string",chatterAnswersHelpPage:"?string",chatterAnswersLoginPage:"?string",chatterAnswersRegistrationPage:"?string",clickjackProtectionLevel:"string",contentSniffingProtection:"boolean",cspUpgradeInsecureRequests:"boolean",customWebAddresses:["SiteWebAddress"],description:"?string",enableAuraRequests:"?boolean",favoriteIcon:"?string",fileNotFoundPage:"?string",forgotPasswordPage:"?string",genericErrorPage:"?string",guestProfile:"?string",inMaintenancePage:"?string",inactiveIndexPage:"?string",indexPage:"string",masterLabel:"string",myProfilePage:"?string",portal:"?string",referrerPolicyOriginWhenCrossOrigin:"boolean",requireHttps:"boolean",requireInsecurePortalAccess:"boolean",robotsTxtPage:"?string",rootComponent:"?string",selfRegPage:"?string",serverIsDown:"?string",siteAdmin:"?string",siteRedirectMappings:["SiteRedirectMapping"],siteTemplate:"?string",siteType:"string",subdomain:"?string",urlPathPrefix:"?string"},extends:"Metadata"},SiteWebAddress:{type:"SiteWebAddress",props:{certificate:"?string",domainName:"string",primary:"boolean"}},SiteRedirectMapping:{type:"SiteRedirectMapping",props:{action:"string",isActive:"?boolean",source:"string",target:"string"}},CustomTab:{type:"CustomTab",props:{actionOverrides:["ActionOverride"],auraComponent:"?string",customObject:"?boolean",description:"?string",flexiPage:"?string",frameHeight:"?number",hasSidebar:"?boolean",icon:"?string",label:"?string",lwcComponent:"?string",motif:"?string",page:"?string",scontrol:"?string",splashPageLink:"?string",url:"?string",urlEncodingKey:"?string"},extends:"Metadata"},Dashboard:{type:"Dashboard",props:{backgroundEndColor:"string",backgroundFadeDirection:"string",backgroundStartColor:"string",chartTheme:"?string",colorPalette:"?string",dashboardChartTheme:"?string",dashboardColorPalette:"?string",dashboardFilters:["DashboardFilter"],dashboardGridLayout:"?DashboardGridLayout",dashboardResultRefreshedDate:"?string",dashboardResultRunningUser:"?string",dashboardType:"?string",description:"?string",folderName:"?string",isGridLayout:"?boolean",leftSection:"?DashboardComponentSection",middleSection:"?DashboardComponentSection",numSubscriptions:"?number",rightSection:"?DashboardComponentSection",runningUser:"?string",textColor:"string",title:"string",titleColor:"string",titleSize:"number"},extends:"Metadata"},DashboardFilter:{type:"DashboardFilter",props:{dashboardFilterOptions:["DashboardFilterOption"],name:"string"}},DashboardFilterOption:{type:"DashboardFilterOption",props:{operator:"string",values:["string"]}},DashboardGridLayout:{type:"DashboardGridLayout",props:{dashboardGridComponents:["DashboardGridComponent"],numberOfColumns:"number",rowHeight:"number"}},DashboardGridComponent:{type:"DashboardGridComponent",props:{colSpan:"number",columnIndex:"number",dashboardComponent:"DashboardComponent",rowIndex:"number",rowSpan:"number"}},DashboardComponent:{type:"DashboardComponent",props:{autoselectColumnsFromReport:"?boolean",chartAxisRange:"?string",chartAxisRangeMax:"?number",chartAxisRangeMin:"?number",chartSummary:["ChartSummary"],componentChartTheme:"?string",componentType:"string",dashboardFilterColumns:["DashboardFilterColumn"],dashboardTableColumn:["DashboardTableColumn"],decimalPrecision:"?number",displayUnits:"?string",drillDownUrl:"?string",drillEnabled:"?boolean",drillToDetailEnabled:"?boolean",enableHover:"?boolean",expandOthers:"?boolean",flexComponentProperties:"?DashboardFlexTableComponentProperties",footer:"?string",gaugeMax:"?number",gaugeMin:"?number",groupingColumn:["string"],groupingSortProperties:"?DashboardComponentGroupingSortProperties",header:"?string",indicatorBreakpoint1:"?number",indicatorBreakpoint2:"?number",indicatorHighColor:"?string",indicatorLowColor:"?string",indicatorMiddleColor:"?string",legendPosition:"?string",maxValuesDisplayed:"?number",metricLabel:"?string",page:"?string",pageHeightInPixels:"?number",report:"?string",scontrol:"?string",scontrolHeightInPixels:"?number",showPercentage:"?boolean",showPicturesOnCharts:"?boolean",showPicturesOnTables:"?boolean",showRange:"?boolean",showTotal:"?boolean",showValues:"?boolean",sortBy:"?string",title:"?string",useReportChart:"?boolean"}},ChartSummary:{type:"ChartSummary",props:{aggregate:"?string",axisBinding:"?string",column:"string"}},DashboardFilterColumn:{type:"DashboardFilterColumn",props:{column:"string"}},DashboardTableColumn:{type:"DashboardTableColumn",props:{aggregateType:"?string",calculatePercent:"?boolean",column:"string",decimalPlaces:"?number",showSubTotal:"?boolean",showTotal:"?boolean",sortBy:"?string"}},DashboardFlexTableComponentProperties:{type:"DashboardFlexTableComponentProperties",props:{decimalPrecision:"?number",flexTableColumn:["DashboardComponentColumn"],flexTableSortInfo:"?DashboardComponentSortInfo",hideChatterPhotos:"?boolean"}},DashboardComponentColumn:{type:"DashboardComponentColumn",props:{breakPoint1:"?number",breakPoint2:"?number",breakPointOrder:"?number",highRangeColor:"?number",lowRangeColor:"?number",midRangeColor:"?number",reportColumn:"string",showSubTotal:"?boolean",showTotal:"?boolean",type:"string"}},DashboardComponentSortInfo:{type:"DashboardComponentSortInfo",props:{sortColumn:"?string",sortOrder:"?string"}},DashboardComponentGroupingSortProperties:{type:"DashboardComponentGroupingSortProperties",props:{groupingSorts:["DashboardComponentGroupingSort"]}},DashboardComponentGroupingSort:{type:"DashboardComponentGroupingSort",props:{groupingLevel:"string",inheritedReportGroupingSort:"?string",sortColumn:"?string",sortOrder:"?string"}},DashboardComponentSection:{type:"DashboardComponentSection",props:{columnSize:"string",components:["DashboardComponent"]}},DataCategoryGroup:{type:"DataCategoryGroup",props:{active:"boolean",dataCategory:"DataCategory",description:"?string",label:"string",objectUsage:"?ObjectUsage"},extends:"Metadata"},DataCategory:{type:"DataCategory",props:{dataCategory:["DataCategory"],label:"string",name:"string"}},ObjectUsage:{type:"ObjectUsage",props:{object:["string"]}},DataDotComSettings:{type:"DataDotComSettings",props:{enableAccountExportButtonOff:"?boolean",enableAccountImportButtonOff:"?boolean",enableAllowDupeContactFromLead:"?boolean",enableAllowDupeLeadFromContact:"?boolean",enableCleanUpgradeRequested:"?boolean",enableContactExportButtonOff:"?boolean",enableContactImportButtonOff:"?boolean"},extends:"Metadata"},DelegateGroup:{type:"DelegateGroup",props:{customObjects:["string"],groups:["string"],label:"string",loginAccess:"boolean",permissionSets:["string"],profiles:["string"],roles:["string"]},extends:"Metadata"},DeploymentSettings:{type:"DeploymentSettings",props:{doesSkipAsyncApexValidation:"?boolean"},extends:"Metadata"},DevHubSettings:{type:"DevHubSettings",props:{enableShapeExportPref:"?boolean"},extends:"Metadata"},DiscoverySettings:{type:"DiscoverySettings",props:{enableEinsteinAnswersPref:"?boolean"},extends:"Metadata"},DocumentType:{type:"DocumentType",props:{description:"string",isActive:"boolean",masterLabel:"string"},extends:"Metadata"},DuplicateRule:{type:"DuplicateRule",props:{actionOnInsert:"string",actionOnUpdate:"string",alertText:"?string",description:"?string",duplicateRuleFilter:"?DuplicateRuleFilter",duplicateRuleMatchRules:["?","DuplicateRuleMatchRule"],isActive:"boolean",masterLabel:"string",operationsOnInsert:["string"],operationsOnUpdate:["string"],securityOption:"string",sortOrder:"number"},extends:"Metadata"},DuplicateRuleFilter:{type:"DuplicateRuleFilter",props:{booleanFilter:"?string",duplicateRuleFilterItems:["DuplicateRuleFilterItem"]}},DuplicateRuleMatchRule:{type:"DuplicateRuleMatchRule",props:{matchRuleSObjectType:"string",matchingRule:"string",objectMapping:"?ObjectMapping"}},ObjectMapping:{type:"ObjectMapping",props:{inputObject:"string",mappingFields:["ObjectMappingField"],outputObject:"string"}},ObjectMappingField:{type:"ObjectMappingField",props:{inputField:"string",outputField:"string"}},EACSettings:{type:"EACSettings",props:{enableEACForEveryonePref:"?boolean",enableInboxActivitySharing:"?boolean",enableInsightsInTimeline:"?boolean",enableInsightsInTimelineEacStd:"?boolean"},extends:"Metadata"},EmailAdministrationSettings:{type:"EmailAdministrationSettings",props:{enableComplianceBcc:"?boolean",enableEmailConsentManagement:"?boolean",enableEmailSenderIdCompliance:"?boolean",enableEmailSpfCompliance:"?boolean",enableEmailToSalesforce:"?boolean",enableEmailWorkflowApproval:"?boolean",enableEnhancedEmailEnabled:"?boolean",enableHandleBouncedEmails:"?boolean",enableHtmlEmail:"?boolean",enableListEmailLogActivities:"?boolean",enableResendBouncedEmails:"?boolean",enableRestrictTlsToDomains:"?boolean",enableSendThroughGmailPref:"?boolean",enableSendViaExchangePref:"?boolean",enableSendViaGmailPref:"?boolean",enableSetMatchingEmailsOnBounce:"?boolean",enableUseOrgFootersForExtTrans:"?boolean",sendEmailsEvenWhenAutomationUpdatesSameRecord:"?boolean",sendMassEmailNotification:"?boolean",sendTextOnlySystemEmails:"?boolean"},extends:"Metadata"},EmailIntegrationSettings:{type:"EmailIntegrationSettings",props:{doesEmailLogAsEmailMessageInOutlook:"?boolean",doesGmailStayConnectedToSalesforce:"?boolean",enableContactAndEventSync:"?boolean",enableEmailTrackingInMobile:"?boolean",enableEngageForOutlook:"?boolean",enableGmailIntegration:"?boolean",enableOutlookIntegration:"?boolean",enableProductivityFeatures:"?boolean",enableSupplementalContactInfoInMobile:"?boolean",isLayoutCustomizationAllowed:"?boolean",shouldUseTrustedDomainsList:"?boolean"},extends:"Metadata"},EmailServicesFunction:{type:"EmailServicesFunction",props:{apexClass:"string",attachmentOption:"string",authenticationFailureAction:"string",authorizationFailureAction:"string",authorizedSenders:"?string",emailServicesAddresses:["EmailServicesAddress"],errorRoutingAddress:"?string",functionInactiveAction:"string",functionName:"string",isActive:"?boolean",isAuthenticationRequired:"?boolean",isErrorRoutingEnabled:"?boolean",isTextAttachmentsAsBinary:"?boolean",isTlsRequired:"?boolean",overLimitAction:"string"},extends:"Metadata"},EmailServicesAddress:{type:"EmailServicesAddress",props:{authorizedSenders:"?string",developerName:"string",isActive:"?boolean",localPart:"string",runAsUser:"string"}},EmailTemplateSettings:{type:"EmailTemplateSettings",props:{enableLwcEmailTemplateBuilder:"?boolean",enableTemplateEnhancedFolderPref:"?boolean"},extends:"Metadata"},EmbeddedServiceBranding:{type:"EmbeddedServiceBranding",props:{contrastInvertedColor:"?string",contrastPrimaryColor:"?string",embeddedServiceConfig:"string",font:"?string",height:"?number",masterLabel:"string",navBarColor:"?string",primaryColor:"?string",secondaryColor:"?string",width:"?number"},extends:"Metadata"},EmbeddedServiceConfig:{type:"EmbeddedServiceConfig",props:{areGuestUsersAllowed:"?boolean",authMethod:"?string",embeddedServiceAppointmentSettings:"?EmbeddedServiceAppointmentSettings",embeddedServiceCustomComponents:["EmbeddedServiceCustomComponent"],embeddedServiceCustomLabels:["EmbeddedServiceCustomLabel"],embeddedServiceFlowConfig:"?EmbeddedServiceFlowConfig",embeddedServiceFlows:["EmbeddedServiceFlow"],embeddedServiceLayouts:["EmbeddedServiceLayout"],masterLabel:"string",shouldHideAuthDialog:"?boolean",site:"string"},extends:"Metadata"},EmbeddedServiceAppointmentSettings:{type:"EmbeddedServiceAppointmentSettings",props:{appointmentConfirmImg:"?string",enabled:"boolean",homeImg:"?string",logoImg:"?string",shouldShowExistingAppointment:"?boolean",shouldShowNewAppointment:"?boolean"}},EmbeddedServiceCustomComponent:{type:"EmbeddedServiceCustomComponent",props:{componentBundleType:"?string",customComponent:"?string",customComponentType:"?string"}},EmbeddedServiceCustomLabel:{type:"EmbeddedServiceCustomLabel",props:{customLabel:"?string",feature:"?string",labelKey:"?string"}},EmbeddedServiceFlowConfig:{type:"EmbeddedServiceFlowConfig",props:{enabled:"boolean"},extends:"Metadata"},EmbeddedServiceFlow:{type:"EmbeddedServiceFlow",props:{flow:"string",flowType:"string",isAuthenticationRequired:"boolean"}},EmbeddedServiceLayout:{type:"EmbeddedServiceLayout",props:{embeddedServiceLayoutRules:["EmbeddedServiceLayoutRule"],layout:"string",layoutType:"?string"}},EmbeddedServiceLayoutRule:{type:"EmbeddedServiceLayoutRule",props:{appointmentStatus:"string"}},EmbeddedServiceLiveAgent:{type:"EmbeddedServiceLiveAgent",props:{avatarImg:"?string",embeddedServiceConfig:"string",embeddedServiceQuickActions:["EmbeddedServiceQuickAction"],enabled:"boolean",fontSize:"string",headerBackgroundImg:"?string",isOfflineCaseEnabled:"?boolean",isQueuePositionEnabled:"?boolean",liveAgentChatUrl:"?string",liveAgentContentUrl:"?string",liveChatButton:"string",liveChatDeployment:"string",masterLabel:"string",offlineCaseBackgroundImg:"?string",prechatBackgroundImg:"?string",prechatEnabled:"boolean",prechatJson:"?string",scenario:"string",smallCompanyLogoImg:"?string",waitingStateBackgroundImg:"?string"},extends:"Metadata"},EmbeddedServiceQuickAction:{type:"EmbeddedServiceQuickAction",props:{embeddedServiceLiveAgent:"string",order:"number",quickActionDefinition:"string",quickActionType:"?string"}},EmbeddedServiceMenuSettings:{type:"EmbeddedServiceMenuSettings",props:{branding:"?string",embeddedServiceMenuItems:["EmbeddedServiceMenuItem"],isEnabled:"?boolean",masterLabel:"?string",site:"?string"},extends:"Metadata"},EmbeddedServiceMenuItem:{type:"EmbeddedServiceMenuItem",props:{channel:"?string",channelType:"?string",displayOrder:"?number",phoneNumber:"?string"}},EncryptionKeySettings:{type:"EncryptionKeySettings",props:{canOptOutOfDerivationWithBYOK:"?boolean",enableCacheOnlyKeys:"?boolean",enableReplayDetection:"?boolean"},extends:"Metadata"},EnhancedNotesSettings:{type:"EnhancedNotesSettings",props:{enableEnhancedNotes:"?boolean",enableTasksOnEnhancedNotes:"?boolean"},extends:"Metadata"},EntitlementProcess:{type:"EntitlementProcess",props:{SObjectType:"?string",active:"?boolean",businessHours:"?string",description:"?string",entryStartDateField:"?string",exitCriteriaBooleanFilter:"?string",exitCriteriaFilterItems:["FilterItem"],exitCriteriaFormula:"?string",isRecordTypeApplied:"?boolean",isVersionDefault:"?boolean",milestones:["EntitlementProcessMilestoneItem"],name:"?string",recordType:"?string",versionMaster:"?string",versionNotes:"?string",versionNumber:"?number"},extends:"Metadata"},EntitlementProcessMilestoneItem:{type:"EntitlementProcessMilestoneItem",props:{businessHours:"?string",criteriaBooleanFilter:"?string",milestoneCriteriaFilterItems:["FilterItem"],milestoneCriteriaFormula:"?string",milestoneName:"?string",minutesCustomClass:"?string",minutesToComplete:"?number",successActions:["WorkflowActionReference"],timeTriggers:["EntitlementProcessMilestoneTimeTrigger"],useCriteriaStartTime:"?boolean"}},EntitlementProcessMilestoneTimeTrigger:{type:"EntitlementProcessMilestoneTimeTrigger",props:{actions:["WorkflowActionReference"],timeLength:"?number",workflowTimeTriggerUnit:"string"}},EntitlementSettings:{type:"EntitlementSettings",props:{assetLookupLimitedToActiveEntitlementsOnAccount:"?boolean",assetLookupLimitedToActiveEntitlementsOnContact:"?boolean",assetLookupLimitedToSameAccount:"?boolean",assetLookupLimitedToSameContact:"?boolean",enableEntitlementVersioning:"boolean",enableEntitlements:"boolean",enableMilestoneFeedItem:"?boolean",enableMilestoneStoppedTime:"?boolean",entitlementLookupLimitedToActiveStatus:"?boolean",entitlementLookupLimitedToSameAccount:"?boolean",entitlementLookupLimitedToSameAsset:"?boolean",entitlementLookupLimitedToSameContact:"?boolean",ignoreMilestoneBusinessHours:"?boolean"},extends:"Metadata"},EntitlementTemplate:{type:"EntitlementTemplate",props:{businessHours:"?string",casesPerEntitlement:"?number",entitlementProcess:"?string",isPerIncident:"?boolean",term:"?number",type:"?string"},extends:"Metadata"},EntityImplements:{type:"EntityImplements",props:{fieldMap:["FieldImplements"],interface:"?string",isDefault:"?boolean"},extends:"Metadata"},FieldImplements:{type:"FieldImplements",props:{field:"?string",interfaceField:"?string"}},EscalationRule:{type:"EscalationRule",props:{active:"?boolean",ruleEntry:["RuleEntry"]},extends:"Metadata"},EscalationRules:{type:"EscalationRules",props:{escalationRule:["EscalationRule"]},extends:"Metadata"},EssentialsSettings:{type:"EssentialsSettings",props:{emailConnectorEnabled:"?boolean",essentialsAppEnabled:"?boolean"},extends:"Metadata"},EssentialsTrialOrgSettings:{type:"EssentialsTrialOrgSettings",props:{enableSampleDataDeleted:"?boolean"},extends:"Metadata"},EventSettings:{type:"EventSettings",props:{enableApexLimitEvents:"?boolean",enableDeleteMonitoringData:"?boolean",enableDynamicStreamingChannel:"?boolean",enableEventLogWaveIntegration:"?boolean",enableLoginForensics:"?boolean",enableStreamingApi:"?boolean",enableTerminateOldestSession:"?boolean",enableTransactionSecurityPolicies:"?boolean"},extends:"Metadata"},ExperienceBundleSettings:{type:"ExperienceBundleSettings",props:{enableExperienceBundleMetadata:"?boolean"},extends:"Metadata"},ExternalDataSource:{type:"ExternalDataSource",props:{authProvider:"?string",certificate:"?string",customConfiguration:"?string",customHttpHeaders:["CustomHttpHeader"],endpoint:"?string",isWritable:"?boolean",label:"string",oauthRefreshToken:"?string",oauthScope:"?string",oauthToken:"?string",password:"?string",principalType:"string",protocol:"string",repository:"?string",type:"string",username:"?string",version:"?string"},extends:"Metadata"},CustomHttpHeader:{type:"CustomHttpHeader",props:{description:"?string",headerFieldName:"string",headerFieldValue:"string",isActive:"?boolean"}},ExternalServiceRegistration:{type:"ExternalServiceRegistration",props:{description:"?string",label:"string",namedCredential:"?string",schema:"?string",schemaType:"?string",schemaUrl:"?string",status:"string"},extends:"Metadata"},ExternalServicesSettings:{type:"ExternalServicesSettings",props:{enableEnhancedExternalServices:"?boolean"},extends:"Metadata"},FieldServiceSettings:{type:"FieldServiceSettings",props:{capacityUsageCalcClassId:"?string",doesAllowEditSaForCrew:"?boolean",doesShareSaParentWoWithAr:"?boolean",doesShareSaWithAr:"?boolean",enableWorkOrders:"?boolean",fieldServiceNotificationsOrgPref:"?boolean",fieldServiceOrgPref:"?boolean",isGeoCodeSyncEnabled:"?boolean",isLocationHistoryEnabled:"?boolean",serviceAppointmentsDueDateOffsetOrgValue:"?number",workOrderLineItemSearchFields:["string"],workOrderSearchFields:["string"]},extends:"Metadata"},FileUploadAndDownloadSecuritySettings:{type:"FileUploadAndDownloadSecuritySettings",props:{dispositions:["FileTypeDispositionAssignmentBean"],noHtmlUploadAsAttachment:"boolean"},extends:"Metadata"},FileTypeDispositionAssignmentBean:{type:"FileTypeDispositionAssignmentBean",props:{behavior:"string",fileType:"string",securityRiskFileType:"boolean"}},FilesConnectSettings:{type:"FilesConnectSettings",props:{enableContentHubAllowed:"?boolean",enableContentHubCvtLinksAllowed:"?boolean",enableContentHubEOSearchLayout:"?boolean"},extends:"Metadata"},FlexiPage:{type:"FlexiPage",props:{description:"?string",flexiPageRegions:["FlexiPageRegion"],masterLabel:"string",parentFlexiPage:"?string",platformActionlist:"?PlatformActionList",quickActionList:"?QuickActionList",sobjectType:"?string",template:"FlexiPageTemplateInstance",type:"string"},extends:"Metadata"},FlexiPageRegion:{type:"FlexiPageRegion",props:{appendable:"?string",componentInstances:["ComponentInstance"],mode:"?string",name:"string",prependable:"?string",replaceable:"?string",type:"string"}},ComponentInstance:{type:"ComponentInstance",props:{componentInstanceProperties:["ComponentInstanceProperty"],componentName:"string",visibilityRule:"?UiFormulaRule"}},ComponentInstanceProperty:{type:"ComponentInstanceProperty",props:{name:"?string",type:"?string",value:"?string"}},UiFormulaRule:{type:"UiFormulaRule",props:{booleanFilter:"?string",criteria:["UiFormulaCriterion"]}},UiFormulaCriterion:{type:"UiFormulaCriterion",props:{leftValue:"string",operator:"string",rightValue:"?string"}},PlatformActionList:{type:"PlatformActionList",props:{actionListContext:"string",platformActionListItems:["PlatformActionListItem"],relatedSourceEntity:"?string"},extends:"Metadata"},PlatformActionListItem:{type:"PlatformActionListItem",props:{actionName:"string",actionType:"string",sortOrder:"number",subtype:"?string"}},QuickActionList:{type:"QuickActionList",props:{quickActionListItems:["QuickActionListItem"]}},QuickActionListItem:{type:"QuickActionListItem",props:{quickActionName:"string"}},FlexiPageTemplateInstance:{type:"FlexiPageTemplateInstance",props:{name:"string",properties:["ComponentInstanceProperty"]}},Flow:{type:"Flow",props:{actionCalls:["FlowActionCall"],apexPluginCalls:["FlowApexPluginCall"],assignments:["FlowAssignment"],choices:["FlowChoice"],constants:["FlowConstant"],decisions:["FlowDecision"],description:"?string",dynamicChoiceSets:["FlowDynamicChoiceSet"],formulas:["FlowFormula"],interviewLabel:"?string",isAdditionalPermissionRequiredToRun:"?boolean",isTemplate:"?boolean",label:"string",loops:["FlowLoop"],processMetadataValues:["FlowMetadataValue"],processType:"?string",recordCreates:["FlowRecordCreate"],recordDeletes:["FlowRecordDelete"],recordLookups:["FlowRecordLookup"],recordUpdates:["FlowRecordUpdate"],screens:["FlowScreen"],stages:["FlowStage"],start:"?FlowStart",startElementReference:"?string",status:"?string",steps:["FlowStep"],subflows:["FlowSubflow"],textTemplates:["FlowTextTemplate"],variables:["FlowVariable"],waits:["FlowWait"]},extends:"Metadata"},FlowActionCall:{type:"FlowActionCall",props:{actionName:"string",actionType:"string",connector:"?FlowConnector",faultConnector:"?FlowConnector",inputParameters:["FlowActionCallInputParameter"],outputParameters:["FlowActionCallOutputParameter"]},extends:"FlowNode"},FlowNode:{type:"FlowNode",props:{label:"?string",locationX:"number",locationY:"number"},extends:"FlowElement"},FlowElement:{type:"FlowElement",props:{description:"?string",name:"?string"},extends:"FlowBaseElement"},FlowBaseElement:{type:"FlowBaseElement",props:{processMetadataValues:["FlowMetadataValue"]}},FlowMetadataValue:{type:"FlowMetadataValue",props:{name:"string",value:"?FlowElementReferenceOrValue"}},FlowElementReferenceOrValue:{type:"FlowElementReferenceOrValue",props:{booleanValue:"?boolean",dateTimeValue:"?string",dateValue:"?string",elementReference:"?string",numberValue:"?number",stringValue:"?string"}},FlowActionCallInputParameter:{type:"FlowActionCallInputParameter",props:{name:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowActionCallOutputParameter:{type:"FlowActionCallOutputParameter",props:{assignToReference:"string",name:"string"},extends:"FlowBaseElement"},FlowApexPluginCallInputParameter:{type:"FlowApexPluginCallInputParameter",props:{name:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowApexPluginCallOutputParameter:{type:"FlowApexPluginCallOutputParameter",props:{assignToReference:"string",name:"string"},extends:"FlowBaseElement"},FlowAssignmentItem:{type:"FlowAssignmentItem",props:{assignToReference:"string",operator:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowChoiceUserInput:{type:"FlowChoiceUserInput",props:{isRequired:"?boolean",promptText:"?string",validationRule:"?FlowInputValidationRule"},extends:"FlowBaseElement"},FlowInputValidationRule:{type:"FlowInputValidationRule",props:{errorMessage:"string",formulaExpression:"string"}},FlowCondition:{type:"FlowCondition",props:{leftValueReference:"string",operator:"string",rightValue:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowConnector:{type:"FlowConnector",props:{targetReference:"string"},extends:"FlowBaseElement"},FlowInputFieldAssignment:{type:"FlowInputFieldAssignment",props:{field:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowOutputFieldAssignment:{type:"FlowOutputFieldAssignment",props:{assignToReference:"string",field:"string"},extends:"FlowBaseElement"},FlowRecordFilter:{type:"FlowRecordFilter",props:{field:"string",operator:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowScreenFieldInputParameter:{type:"FlowScreenFieldInputParameter",props:{name:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowScreenFieldOutputParameter:{type:"FlowScreenFieldOutputParameter",props:{assignToReference:"string",name:"string"},extends:"FlowBaseElement"},FlowScreenRule:{type:"FlowScreenRule",props:{conditionLogic:"?string",conditions:["FlowCondition"],label:"string",ruleActions:["FlowScreenRuleAction"]},extends:"FlowBaseElement"},FlowScreenRuleAction:{type:"FlowScreenRuleAction",props:{attribute:"string",fieldReference:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowSubflowInputAssignment:{type:"FlowSubflowInputAssignment",props:{name:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowSubflowOutputAssignment:{type:"FlowSubflowOutputAssignment",props:{assignToReference:"string",name:"string"},extends:"FlowBaseElement"},FlowVisibilityRule:{type:"FlowVisibilityRule",props:{conditionLogic:"?string",conditions:["FlowCondition"]},extends:"FlowBaseElement"},FlowWaitEventInputParameter:{type:"FlowWaitEventInputParameter",props:{name:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowBaseElement"},FlowWaitEventOutputParameter:{type:"FlowWaitEventOutputParameter",props:{assignToReference:"string",name:"string"},extends:"FlowBaseElement"},FlowChoice:{type:"FlowChoice",props:{choiceText:"string",dataType:"string",userInput:"?FlowChoiceUserInput",value:"?FlowElementReferenceOrValue"},extends:"FlowElement"},FlowConstant:{type:"FlowConstant",props:{dataType:"string",value:"?FlowElementReferenceOrValue"},extends:"FlowElement"},FlowDynamicChoiceSet:{type:"FlowDynamicChoiceSet",props:{dataType:"string",displayField:"string",filters:["FlowRecordFilter"],limit:"?number",object:"string",outputAssignments:["FlowOutputFieldAssignment"],picklistField:"?string",picklistObject:"?string",sortField:"?string",sortOrder:"?string",valueField:"?string"},extends:"FlowElement"},FlowFormula:{type:"FlowFormula",props:{dataType:"?string",expression:"string",scale:"?number"},extends:"FlowElement"},FlowRule:{type:"FlowRule",props:{conditionLogic:"string",conditions:["FlowCondition"],connector:"?FlowConnector",label:"string"},extends:"FlowElement"},FlowScreenField:{type:"FlowScreenField",props:{choiceReferences:["string"],dataType:"?string",defaultSelectedChoiceReference:"?string",defaultValue:"?FlowElementReferenceOrValue",extensionName:"?string",fieldText:"?string",fieldType:"string",helpText:"?string",inputParameters:["FlowScreenFieldInputParameter"],isRequired:"?boolean",isVisible:"?boolean",outputParameters:["FlowScreenFieldOutputParameter"],scale:"?number",storeOutputAutomatically:"?boolean",validationRule:"?FlowInputValidationRule",visibilityRule:"?FlowVisibilityRule"},extends:"FlowElement"},FlowStage:{type:"FlowStage",props:{isActive:"boolean",label:"string",stageOrder:"number"},extends:"FlowElement"},FlowTextTemplate:{type:"FlowTextTemplate",props:{text:"string"},extends:"FlowElement"},FlowVariable:{type:"FlowVariable",props:{apexClass:"?string",dataType:"string",isCollection:"?boolean",isInput:"?boolean",isOutput:"?boolean",objectType:"?string",scale:"?number",value:"?FlowElementReferenceOrValue"},extends:"FlowElement"},FlowWaitEvent:{type:"FlowWaitEvent",props:{conditionLogic:"?string",conditions:["FlowCondition"],connector:"FlowConnector",eventType:"string",inputParameters:["FlowWaitEventInputParameter"],label:"string",outputParameters:["FlowWaitEventOutputParameter"]},extends:"FlowElement"},FlowApexPluginCall:{type:"FlowApexPluginCall",props:{apexClass:"string",connector:"?FlowConnector",faultConnector:"?FlowConnector",inputParameters:["FlowApexPluginCallInputParameter"],outputParameters:["FlowApexPluginCallOutputParameter"]},extends:"FlowNode"},FlowAssignment:{type:"FlowAssignment",props:{assignmentItems:["FlowAssignmentItem"],connector:"?FlowConnector"},extends:"FlowNode"},FlowDecision:{type:"FlowDecision",props:{defaultConnector:"?FlowConnector",defaultConnectorLabel:"?string",rules:["FlowRule"]},extends:"FlowNode"},FlowLoop:{type:"FlowLoop",props:{assignNextValueToReference:"string",collectionReference:"string",iterationOrder:"?string",nextValueConnector:"?FlowConnector",noMoreValuesConnector:"?FlowConnector"},extends:"FlowNode"},FlowRecordCreate:{type:"FlowRecordCreate",props:{assignRecordIdToReference:"?string",connector:"?FlowConnector",faultConnector:"?FlowConnector",inputAssignments:["FlowInputFieldAssignment"],inputReference:"?string",object:"?string"},extends:"FlowNode"},FlowRecordDelete:{type:"FlowRecordDelete",props:{connector:"?FlowConnector",faultConnector:"?FlowConnector",filters:["FlowRecordFilter"],inputReference:"?string",object:"?string"},extends:"FlowNode"},FlowRecordLookup:{type:"FlowRecordLookup",props:{assignNullValuesIfNoRecordsFound:"?boolean",connector:"?FlowConnector",faultConnector:"?FlowConnector",filters:["FlowRecordFilter"],getFirstRecordOnly:"?boolean",object:"string",outputAssignments:["FlowOutputFieldAssignment"],outputReference:"?string",queriedFields:["string"],sortField:"?string",sortOrder:"?string",storeOutputAutomatically:"?boolean"},extends:"FlowNode"},FlowRecordUpdate:{type:"FlowRecordUpdate",props:{connector:"?FlowConnector",faultConnector:"?FlowConnector",filters:["FlowRecordFilter"],inputAssignments:["FlowInputFieldAssignment"],inputReference:"?string",object:"?string"},extends:"FlowNode"},FlowScreen:{type:"FlowScreen",props:{allowBack:"?boolean",allowFinish:"?boolean",allowPause:"?boolean",connector:"?FlowConnector",fields:["FlowScreenField"],helpText:"?string",pausedText:"?string",rules:["FlowScreenRule"],showFooter:"?boolean",showHeader:"?boolean"},extends:"FlowNode"},FlowStart:{type:"FlowStart",props:{connector:"?FlowConnector",filters:["FlowRecordFilter"],object:"?string",schedule:"?FlowSchedule",triggerType:"?string"},extends:"FlowNode"},FlowSchedule:{type:"FlowSchedule",props:{frequency:"?string",startDate:"?string",startTime:"?string"}},FlowStep:{type:"FlowStep",props:{connectors:["FlowConnector"]},extends:"FlowNode"},FlowSubflow:{type:"FlowSubflow",props:{connector:"?FlowConnector",flowName:"string",inputAssignments:["FlowSubflowInputAssignment"],outputAssignments:["FlowSubflowOutputAssignment"]},extends:"FlowNode"},FlowWait:{type:"FlowWait",props:{defaultConnector:"?FlowConnector",defaultConnectorLabel:"string",faultConnector:"?FlowConnector",waitEvents:["FlowWaitEvent"]},extends:"FlowNode"},FlowCategory:{type:"FlowCategory",props:{description:"?string",flowCategoryItems:["FlowCategoryItems"],masterLabel:"string"},extends:"Metadata"},FlowCategoryItems:{type:"FlowCategoryItems",props:{flow:"string"}},FlowDefinition:{type:"FlowDefinition",props:{activeVersionNumber:"?number",description:"?string",masterLabel:"?string"},extends:"Metadata"},FlowSettings:{type:"FlowSettings",props:{enableFlowBREncodedFixEnabled:"?boolean",enableFlowDeployAsActiveEnabled:"?boolean",enableFlowFieldFilterEnabled:"?boolean",enableFlowFormulasFixEnabled:"?boolean",enableFlowInterviewSharingEnabled:"?boolean",enableFlowNullPreviousValueFix:"?boolean",enableFlowPauseEnabled:"?boolean",enableFlowUseApexExceptionEmail:"?boolean",enableInvocableFlowFixEnabled:"?boolean",enableLightningRuntimeEnabled:"?boolean",enableUseFlowBuilder:"?boolean",isAccessToInvokedApexRequired:"?boolean",isEnhancedFlowListViewVisible:"?boolean",isManageFlowRequiredForAutomationCharts:"?boolean"},extends:"Metadata"},Folder:{type:"Folder",props:{accessType:"?string",folderShares:["FolderShare"],name:"string",publicFolderAccess:"?string",sharedTo:"?SharedTo"},extends:"Metadata"},FolderShare:{type:"FolderShare",props:{accessLevel:"string",sharedTo:"string",sharedToType:"string"}},DashboardFolder:{type:"DashboardFolder",props:{},extends:"Folder"},DocumentFolder:{type:"DocumentFolder",props:{},extends:"Folder"},EmailFolder:{type:"EmailFolder",props:{},extends:"Folder"},ReportFolder:{type:"ReportFolder",props:{},extends:"Folder"},ForecastingSettings:{type:"ForecastingSettings",props:{defaultToPersonalCurrency:"?boolean",enableForecasts:"?boolean",forecastingCategoryMappings:["ForecastingCategoryMapping"],forecastingDisplayedFamilySettings:["ForecastingDisplayedFamilySettings"],forecastingTypeSettings:["ForecastingTypeSettings"]},extends:"Metadata"},ForecastingCategoryMapping:{type:"ForecastingCategoryMapping",props:{forecastingItemCategoryApiName:"string",weightedSourceCategories:["WeightedSourceCategory"]}},WeightedSourceCategory:{type:"WeightedSourceCategory",props:{sourceCategoryApiName:"string",weight:"number"}},ForecastingDisplayedFamilySettings:{type:"ForecastingDisplayedFamilySettings",props:{productFamily:"?string"}},ForecastingTypeSettings:{type:"ForecastingTypeSettings",props:{active:"boolean",adjustmentsSettings:"AdjustmentsSettings",displayedCategoryApiNames:["string"],forecastRangeSettings:"ForecastRangeSettings",forecastedCategoryApiNames:["string"],forecastingDateType:"string",hasProductFamily:"boolean",isAmount:"boolean",isAvailable:"boolean",isQuantity:"boolean",managerAdjustableCategoryApiNames:["string"],masterLabel:"string",name:"string",opportunityListFieldsLabelMappings:["OpportunityListFieldsLabelMapping"],opportunityListFieldsSelectedSettings:"OpportunityListFieldsSelectedSettings",opportunityListFieldsUnselectedSettings:"OpportunityListFieldsUnselectedSettings",opportunitySplitName:"?string",ownerAdjustableCategoryApiNames:["string"],quotasSettings:"QuotasSettings",territory2ModelName:"?string"}},AdjustmentsSettings:{type:"AdjustmentsSettings",props:{enableAdjustments:"boolean",enableOwnerAdjustments:"boolean"}},ForecastRangeSettings:{type:"ForecastRangeSettings",props:{beginning:"number",displaying:"number",periodType:"string"}},OpportunityListFieldsLabelMapping:{type:"OpportunityListFieldsLabelMapping",props:{field:"string",label:"string"}},OpportunityListFieldsSelectedSettings:{type:"OpportunityListFieldsSelectedSettings",props:{field:["string"]}},OpportunityListFieldsUnselectedSettings:{type:"OpportunityListFieldsUnselectedSettings",props:{field:["string"]}},QuotasSettings:{type:"QuotasSettings",props:{showQuotas:"boolean"}},Form:{type:"Form",props:{description:"?string",formSections:["FormSection"],masterLabel:"string"},extends:"Metadata"},FormSection:{type:"FormSection",props:{formColumns:["FormColumn"],masterLabel:"string",tabOrderType:"string"},extends:"Metadata"},FormColumn:{type:"FormColumn",props:{formItems:["FormItem"]}},FormItem:{type:"FormItem",props:{emptySpace:"?boolean",expression:"?string",formLayoutableItem:"?string",helpText:"?string"}},FormulaSettings:{type:"FormulaSettings",props:{enableDSTAwareDatevalue:"?boolean"},extends:"Metadata"},GlobalValueSet:{type:"GlobalValueSet",props:{customValue:["CustomValue"],description:"?string",masterLabel:"string",sorted:"boolean"},extends:"Metadata"},GlobalValueSetTranslation:{type:"GlobalValueSetTranslation",props:{valueTranslation:["ValueTranslation"]},extends:"Metadata"},ValueTranslation:{type:"ValueTranslation",props:{masterLabel:"string",translation:"?string"}},GoogleAppsSettings:{type:"GoogleAppsSettings",props:{enableGmailButtons:"?boolean",enableGmailButtonsAndLinks:"?boolean",enableGmailLinks:"?boolean",enableGoogleDocs:"?boolean",enableGoogleDocsTab:"?boolean",enableGoogleTalk:"?boolean",googleAppsDomain:"?string",googleAppsDomainLinked:"?boolean",googleAppsDomainValidated:"?boolean"},extends:"Metadata"},Group:{type:"Group",props:{doesIncludeBosses:"?boolean",name:"string"},extends:"Metadata"},HighVelocitySalesSettings:{type:"HighVelocitySalesSettings",props:{enableDispositionCategory:"?boolean",enableEngagementWaveAnalyticsPref:"?boolean",enableHighVelocitySales:"?boolean",enableHighVelocitySalesSetup:"?boolean"},extends:"Metadata"},HomePageComponent:{type:"HomePageComponent",props:{body:"?string",height:"?number",links:["string"],page:"?string",pageComponentType:"string",showLabel:"?boolean",showScrollbars:"?boolean",width:"?string"},extends:"Metadata"},HomePageLayout:{type:"HomePageLayout",props:{narrowComponents:["string"],wideComponents:["string"]},extends:"Metadata"},IdeasSettings:{type:"IdeasSettings",props:{enableChatterProfile:"?boolean",enableHtmlIdea:"?boolean",enableIdeaMultipleCategory:"?boolean",enableIdeaThemes:"?boolean",enableIdeas:"?boolean",enableIdeasControllerExtensions:"?boolean",enableIdeasReputation:"?boolean",halfLife:"?number",ideasProfilePage:"?string"},extends:"Metadata"},IndustriesManufacturingSettings:{type:"IndustriesManufacturingSettings",props:{enableIndManufacturing:"?boolean",enableIndustriesMfgAccountForecast:"?boolean"},extends:"Metadata"},IndustriesSettings:{type:"IndustriesSettings",props:{allowMultipleProducersToWorkOnSamePolicy:"?boolean",enableAccessToMasterListOfCoverageTypes:"?boolean",enableBlockResourceAvailabilityOrgPref:"?boolean",enableEventManagementOrgPref:"?boolean",enableHCReferralScoring:"?boolean",enableManyToManyRelationships:"?boolean",enableMortgageRlaTotalsOrgPref:"?boolean",enableMultiResourceOrgPref:"?boolean",enableObjectDetection:"?boolean",enableOverbookingOrgPref:"?boolean",enableProviderSearchSyncOrgPref:"?boolean",enableReferralScoring:"?boolean",enableSentimentAnalysis:"?boolean"},extends:"Metadata"},InstalledPackage:{type:"InstalledPackage",props:{activateRSS:"boolean",password:"?string",versionNumber:"string"},extends:"Metadata"},IntegrationHubSettings:{type:"IntegrationHubSettings",props:{canonicalName:"?string",canonicalNameBindingChar:"?string",description:"?string",isEnabled:"?boolean",isProtected:"?boolean",masterLabel:"string",setupData:"?string",setupDefinition:"?string",setupNamespace:"?string",setupSimpleName:"string",uUID:"?string",version:"?string",versionBuild:"?number",versionMajor:"?number",versionMinor:"?number",versionSetUuid:"?string"},extends:"Metadata"},IntegrationHubSettingsType:{type:"IntegrationHubSettingsType",props:{canonicalName:"?string",canonicalNameBindingChar:"?string",description:"?string",isEnabled:"?boolean",isProtected:"?boolean",masterLabel:"string",setupNamespace:"?string",setupSimpleName:"string",uUID:"?string",version:"?string",versionBuild:"?number",versionMajor:"?number",versionMinor:"?number",versionSetUuid:"?string"},extends:"Metadata"},InvocableActionSettings:{type:"InvocableActionSettings",props:{isPartialSaveAllowed:"?boolean"},extends:"Metadata"},IoTSettings:{type:"IoTSettings",props:{enableIoT:"?boolean",enableIoTInsightsPilot:"?boolean",enableIoTUsageEmail:"?boolean"},extends:"Metadata"},IsvHammerSettings:{type:"IsvHammerSettings",props:{enableIsvHammerSubIsOptedOut:"?boolean"},extends:"Metadata"},KeywordList:{type:"KeywordList",props:{description:"?string",keywords:["Keyword"],masterLabel:"string"},extends:"Metadata"},Keyword:{type:"Keyword",props:{keyword:"string"}},KnowledgeSettings:{type:"KnowledgeSettings",props:{answers:"?KnowledgeAnswerSettings",cases:"?KnowledgeCaseSettings",defaultLanguage:"?string",enableChatterQuestionKBDeflection:"?boolean",enableCreateEditOnArticlesTab:"?boolean",enableExternalMediaContent:"?boolean",enableKnowledge:"?boolean",enableKnowledgeArticleTextHighlights:"?boolean",enableKnowledgeKeywordAutoComplete:"?boolean",enableKnowledgeTitleAutoComplete:"?boolean",enableLightningKbAutoLoadRichTextField:"?boolean",enableLightningKnowledge:"?boolean",languages:"?KnowledgeLanguageSettings",showArticleSummariesCustomerPortal:"?boolean",showArticleSummariesInternalApp:"?boolean",showArticleSummariesPartnerPortal:"?boolean",showValidationStatusField:"?boolean",suggestedArticles:"?KnowledgeSuggestedArticlesSettings"},extends:"Metadata"},KnowledgeAnswerSettings:{type:"KnowledgeAnswerSettings",props:{assignTo:"?string",defaultArticleType:"?string",enableArticleCreation:"?boolean"}},KnowledgeCaseSettings:{type:"KnowledgeCaseSettings",props:{articlePDFCreationProfile:"?string",articlePublicSharingCommunities:"?KnowledgeCommunitiesSettings",articlePublicSharingSites:"?KnowledgeSitesSettings",articlePublicSharingSitesChatterAnswers:"?KnowledgeSitesSettings",assignTo:"?string",customizationClass:"?string",defaultContributionArticleType:"?string",editor:"?string",enableArticleCreation:"?boolean",enableArticlePublicSharingSites:"?boolean",enableCaseDataCategoryMapping:"?boolean",useProfileForPDFCreation:"?boolean"}},KnowledgeCommunitiesSettings:{type:"KnowledgeCommunitiesSettings",props:{community:["string"]}},KnowledgeSitesSettings:{type:"KnowledgeSitesSettings",props:{site:["string"]}},KnowledgeLanguageSettings:{type:"KnowledgeLanguageSettings",props:{language:["KnowledgeLanguage"]}},KnowledgeLanguage:{type:"KnowledgeLanguage",props:{active:"?boolean",defaultAssignee:"?string",defaultAssigneeType:"?string",defaultReviewer:"?string",defaultReviewerType:"?string",name:"string"}},KnowledgeSuggestedArticlesSettings:{type:"KnowledgeSuggestedArticlesSettings",props:{caseFields:"?KnowledgeCaseFieldsSettings",useSuggestedArticlesForCase:"?boolean",workOrderFields:"?KnowledgeWorkOrderFieldsSettings",workOrderLineItemFields:"?KnowledgeWorkOrderLineItemFieldsSettings"}},KnowledgeCaseFieldsSettings:{type:"KnowledgeCaseFieldsSettings",props:{field:["KnowledgeCaseField"]}},KnowledgeCaseField:{type:"KnowledgeCaseField",props:{name:"?string"}},KnowledgeWorkOrderFieldsSettings:{type:"KnowledgeWorkOrderFieldsSettings",props:{field:["KnowledgeWorkOrderField"]}},KnowledgeWorkOrderField:{type:"KnowledgeWorkOrderField",props:{name:"?string"}},KnowledgeWorkOrderLineItemFieldsSettings:{type:"KnowledgeWorkOrderLineItemFieldsSettings",props:{field:["KnowledgeWorkOrderLineItemField"]}},KnowledgeWorkOrderLineItemField:{type:"KnowledgeWorkOrderLineItemField",props:{name:"?string"}},LanguageSettings:{type:"LanguageSettings",props:{enableCanadaIcuFormat:"?boolean",enableEndUserLanguages:"?boolean",enableICULocaleDateFormat:"?boolean",enablePlatformLanguages:"?boolean",enableTranslationWorkbench:"?boolean",useLanguageFallback:"?boolean"},extends:"Metadata"},Layout:{type:"Layout",props:{customButtons:["string"],customConsoleComponents:"?CustomConsoleComponents",emailDefault:"?boolean",excludeButtons:["string"],feedLayout:"?FeedLayout",headers:["string"],layoutSections:["LayoutSection"],miniLayout:"?MiniLayout",multilineLayoutFields:["string"],platformActionList:"?PlatformActionList",quickActionList:"?QuickActionList",relatedContent:"?RelatedContent",relatedLists:["RelatedListItem"],relatedObjects:["string"],runAssignmentRulesDefault:"?boolean",showEmailCheckbox:"?boolean",showHighlightsPanel:"?boolean",showInteractionLogPanel:"?boolean",showKnowledgeComponent:"?boolean",showRunAssignmentRulesCheckbox:"?boolean",showSolutionSection:"?boolean",showSubmitAndAttachButton:"?boolean",summaryLayout:"?SummaryLayout"},extends:"Metadata"},CustomConsoleComponents:{type:"CustomConsoleComponents",props:{primaryTabComponents:"?PrimaryTabComponents",subtabComponents:"?SubtabComponents"}},PrimaryTabComponents:{type:"PrimaryTabComponents",props:{containers:["Container"]}},Container:{type:"Container",props:{height:"?number",isContainerAutoSizeEnabled:"boolean",region:"string",sidebarComponents:["SidebarComponent"],style:"string",unit:"string",width:"?number"}},SidebarComponent:{type:"SidebarComponent",props:{componentType:"string",createAction:"?string",enableLinking:"?boolean",height:"?number",label:"?string",lookup:"?string",page:"?string",relatedLists:["RelatedList"],unit:"?string",updateAction:"?string",width:"?number"}},RelatedList:{type:"RelatedList",props:{hideOnDetail:"boolean",name:"string"}},SubtabComponents:{type:"SubtabComponents",props:{containers:["Container"]}},FeedLayout:{type:"FeedLayout",props:{autocollapsePublisher:"?boolean",compactFeed:"?boolean",feedFilterPosition:"?string",feedFilters:["FeedLayoutFilter"],fullWidthFeed:"?boolean",hideSidebar:"?boolean",highlightExternalFeedItems:"?boolean",leftComponents:["FeedLayoutComponent"],rightComponents:["FeedLayoutComponent"],useInlineFiltersInConsole:"?boolean"}},FeedLayoutFilter:{type:"FeedLayoutFilter",props:{feedFilterName:"?string",feedFilterType:"string",feedItemType:"?string"}},FeedLayoutComponent:{type:"FeedLayoutComponent",props:{componentType:"string",height:"?number",page:"?string"}},LayoutSection:{type:"LayoutSection",props:{customLabel:"?boolean",detailHeading:"?boolean",editHeading:"?boolean",label:"?string",layoutColumns:["LayoutColumn"],style:"string"}},LayoutColumn:{type:"LayoutColumn",props:{layoutItems:["LayoutItem"],reserved:"?string"}},LayoutItem:{type:"LayoutItem",props:{analyticsCloudComponent:"?AnalyticsCloudComponentLayoutItem",behavior:"?string",canvas:"?string",component:"?string",customLink:"?string",emptySpace:"?boolean",field:"?string",height:"?number",page:"?string",reportChartComponent:"?ReportChartComponentLayoutItem",scontrol:"?string",showLabel:"?boolean",showScrollbars:"?boolean",width:"?string"}},AnalyticsCloudComponentLayoutItem:{type:"AnalyticsCloudComponentLayoutItem",props:{assetType:"string",devName:"string",error:"?string",filter:"?string",height:"?number",hideOnError:"?boolean",showHeader:"?boolean",showSharing:"?boolean",showTitle:"?boolean",width:"?string"}},ReportChartComponentLayoutItem:{type:"ReportChartComponentLayoutItem",props:{cacheData:"?boolean",contextFilterableField:"?string",error:"?string",hideOnError:"?boolean",includeContext:"?boolean",reportName:"string",showTitle:"?boolean",size:"?string"}},MiniLayout:{type:"MiniLayout",props:{fields:["string"],relatedLists:["RelatedListItem"]}},RelatedListItem:{type:"RelatedListItem",props:{customButtons:["string"],excludeButtons:["string"],fields:["string"],relatedList:"string",sortField:"?string",sortOrder:"?string"}},RelatedContent:{type:"RelatedContent",props:{relatedContentItems:["RelatedContentItem"]}},RelatedContentItem:{type:"RelatedContentItem",props:{layoutItem:"LayoutItem"}},SummaryLayout:{type:"SummaryLayout",props:{masterLabel:"string",sizeX:"number",sizeY:"?number",sizeZ:"?number",summaryLayoutItems:["SummaryLayoutItem"],summaryLayoutStyle:"string"}},SummaryLayoutItem:{type:"SummaryLayoutItem",props:{customLink:"?string",field:"?string",posX:"number",posY:"?number",posZ:"?number"}},LeadConfigSettings:{type:"LeadConfigSettings",props:{doesEnableLeadConvertDefaultSubjectBlankTaskCreation:"?boolean",doesHideOpportunityInConvertLeadWindow:"?boolean",doesPreserveLeadStatus:"?boolean",doesSelectNoOpportunityOnConvertLead:"?boolean",doesTrackHistory:"?boolean",enableConversionsOnMobile:"?boolean",enableOrgWideMergeAndDelete:"?boolean",shouldLeadConvertRequireValidation:"?boolean"},extends:"Metadata"},LeadConvertSettings:{type:"LeadConvertSettings",props:{allowOwnerChange:"?boolean",objectMapping:["ObjectMapping"],opportunityCreationOptions:"?string"},extends:"Metadata"},Letterhead:{type:"Letterhead",props:{available:"boolean",backgroundColor:"string",bodyColor:"string",bottomLine:"LetterheadLine",description:"?string",footer:"LetterheadHeaderFooter",header:"LetterheadHeaderFooter",middleLine:"LetterheadLine",name:"string",topLine:"LetterheadLine"},extends:"Metadata"},LetterheadLine:{type:"LetterheadLine",props:{color:"string",height:"number"}},LetterheadHeaderFooter:{type:"LetterheadHeaderFooter",props:{backgroundColor:"string",height:"number",horizontalAlignment:"?string",logo:"?string",verticalAlignment:"?string"}},LicenseDefinition:{type:"LicenseDefinition",props:{aggregationGroup:"string",description:"?string",isPublished:"boolean",label:"string",licensedCustomPermissions:["LicensedCustomPermissions"],licensingAuthority:"string",licensingAuthorityProvider:"string",minPlatformVersion:"number",origin:"string",revision:"number",trialLicenseDuration:"number",trialLicenseQuantity:"number"},extends:"Metadata"},LicensedCustomPermissions:{type:"LicensedCustomPermissions",props:{customPermission:"string",licenseDefinition:"string"}},LightningBolt:{type:"LightningBolt",props:{category:"string",lightningBoltFeatures:["LightningBoltFeatures"],lightningBoltImages:["LightningBoltImages"],lightningBoltItems:["LightningBoltItems"],masterLabel:"string",publisher:"string",summary:"string"},extends:"Metadata"},LightningBoltFeatures:{type:"LightningBoltFeatures",props:{description:"?string",order:"number",title:"string"}},LightningBoltImages:{type:"LightningBoltImages",props:{image:"string",order:"number"}},LightningBoltItems:{type:"LightningBoltItems",props:{name:"string",type:"string"}},LightningComponentBundle:{type:"LightningComponentBundle",props:{apiVersion:"?number",description:"?string",isExplicitImport:"?boolean",isExposed:"?boolean",lwcResources:"?LwcResources",masterLabel:"?string",runtimeNamespace:"?string",targetConfigs:"?string",targets:"?Targets"},extends:"Metadata"},LwcResources:{type:"LwcResources",props:{lwcResource:["LwcResource"]}},LwcResource:{type:"LwcResource",props:{filePath:"string",source:"string"}},Targets:{type:"Targets",props:{target:["string"]}},LightningExperienceSettings:{type:"LightningExperienceSettings",props:{enableAccessCheckCrucPref:"?boolean",enableApiUserLtngOutAccessPref:"?boolean",enableAuraCDNPref:"?boolean",enableFeedbackInMobile:"?boolean",enableIE11DeprecationMsgHidden:"?boolean",enableIE11LEXCrucPref:"?boolean",enableInAppTooltips:"?boolean",enableLEXOnIpadEnabled:"?boolean",enableLexEndUsersNoSwitching:"?boolean",enableNavPersonalizationOptOut:"?boolean",enableRemoveThemeBrandBanner:"?boolean",enableS1BannerPref:"?boolean",enableS1BrowserEnabled:"?boolean",enableS1DesktopEnabled:"?boolean",enableS1UiLoggingEnabled:"?boolean",enableTryLightningOptOut:"?boolean",enableUseS1AlohaDesktop:"?boolean",enableUsersAreLightningOnly:"?boolean"},extends:"Metadata"},LightningExperienceTheme:{type:"LightningExperienceTheme",props:{defaultBrandingSet:"string",description:"?string",masterLabel:"string",shouldOverrideLoadingImage:"?boolean"},extends:"Metadata"},LightningMessageChannel:{type:"LightningMessageChannel",props:{description:"?string",isExposed:"?boolean",lightningMessageFields:["LightningMessageField"],masterLabel:"string"},extends:"Metadata"},LightningMessageField:{type:"LightningMessageField",props:{description:"?string",fieldName:"string"}},LightningOnboardingConfig:{type:"LightningOnboardingConfig",props:{collaborationGroup:"?string",customQuestion:"string",feedbackFormDaysFrequency:"number",isCustom:"boolean",masterLabel:"string",sendFeedbackToSalesforce:"boolean"},extends:"Metadata"},LiveAgentSettings:{type:"LiveAgentSettings",props:{enableLiveAgent:"?boolean",enableQuickTextEnabled:"?boolean"},extends:"Metadata"},LiveChatAgentConfig:{type:"LiveChatAgentConfig",props:{assignments:"?AgentConfigAssignments",autoGreeting:"?string",capacity:"?number",criticalWaitTime:"?number",customAgentName:"?string",enableAgentFileTransfer:"?boolean",enableAgentSneakPeek:"?boolean",enableAssistanceFlag:"?boolean",enableAutoAwayOnDecline:"?boolean",enableAutoAwayOnPushTimeout:"?boolean",enableChatConferencing:"?boolean",enableChatMonitoring:"?boolean",enableChatTransferToAgent:"?boolean",enableChatTransferToButton:"?boolean",enableChatTransferToSkill:"?boolean",enableLogoutSound:"?boolean",enableNotifications:"?boolean",enableRequestSound:"?boolean",enableSneakPeek:"?boolean",enableVisitorBlocking:"?boolean",enableWhisperMessage:"?boolean",label:"string",supervisorDefaultAgentStatusFilter:"?string",supervisorDefaultButtonFilter:"?string",supervisorDefaultSkillFilter:"?string",supervisorSkills:"?SupervisorAgentConfigSkills",transferableButtons:"?AgentConfigButtons",transferableSkills:"?AgentConfigSkills"},extends:"Metadata"},AgentConfigAssignments:{type:"AgentConfigAssignments",props:{profiles:"?AgentConfigProfileAssignments",users:"?AgentConfigUserAssignments"}},AgentConfigProfileAssignments:{type:"AgentConfigProfileAssignments",props:{profile:["string"]}},AgentConfigUserAssignments:{type:"AgentConfigUserAssignments",props:{user:["string"]}},SupervisorAgentConfigSkills:{type:"SupervisorAgentConfigSkills",props:{skill:["string"]}},AgentConfigButtons:{type:"AgentConfigButtons",props:{button:["string"]}},AgentConfigSkills:{type:"AgentConfigSkills",props:{skill:["string"]}},LiveChatButton:{type:"LiveChatButton",props:{animation:"?string",autoGreeting:"?string",chasitorIdleTimeout:"?number",chasitorIdleTimeoutWarning:"?number",chatPage:"?string",customAgentName:"?string",deployments:"?LiveChatButtonDeployments",enableQueue:"?boolean",inviteEndPosition:"?string",inviteImage:"?string",inviteStartPosition:"?string",isActive:"?boolean",label:"string",numberOfReroutingAttempts:"?number",offlineImage:"?string",onlineImage:"?string",optionsCustomRoutingIsEnabled:"?boolean",optionsHasChasitorIdleTimeout:"boolean",optionsHasInviteAfterAccept:"?boolean",optionsHasInviteAfterReject:"?boolean",optionsHasRerouteDeclinedRequest:"?boolean",optionsIsAutoAccept:"?boolean",optionsIsInviteAutoRemove:"?boolean",overallQueueLength:"?number",perAgentQueueLength:"?number",postChatPage:"?string",postChatUrl:"?string",preChatFormPage:"?string",preChatFormUrl:"?string",pushTimeOut:"?number",routingType:"string",site:"?string",skills:"?LiveChatButtonSkills",timeToRemoveInvite:"?number",type:"string",windowLanguage:"?string"},extends:"Metadata"},LiveChatButtonDeployments:{type:"LiveChatButtonDeployments",props:{deployment:["string"]}},LiveChatButtonSkills:{type:"LiveChatButtonSkills",props:{skill:["string"]}},LiveChatDeployment:{type:"LiveChatDeployment",props:{brandingImage:"?string",connectionTimeoutDuration:"?number",connectionWarningDuration:"?number",displayQueuePosition:"?boolean",domainWhiteList:"?LiveChatDeploymentDomainWhitelist",enablePrechatApi:"?boolean",enableTranscriptSave:"?boolean",label:"string",mobileBrandingImage:"?string",site:"?string",windowTitle:"string"},extends:"Metadata"},LiveChatDeploymentDomainWhitelist:{type:"LiveChatDeploymentDomainWhitelist",props:{domain:["string"]}},LiveChatSensitiveDataRule:{type:"LiveChatSensitiveDataRule",props:{actionType:"string",description:"?string",enforceOn:"number",isEnabled:"boolean",pattern:"string",priority:"number",replacement:"?string"},extends:"Metadata"},LiveMessageSettings:{type:"LiveMessageSettings",props:{enableLiveMessage:"?boolean"},extends:"Metadata"},MacroSettings:{type:"MacroSettings",props:{enableAdvancedSearch:"?boolean",macrosInFolders:"?boolean"},extends:"Metadata"},ManagedContentType:{type:"ManagedContentType",props:{description:"?string",developerName:"string",managedContentNodeTypes:["ManagedContentNodeType"],masterLabel:"string"},extends:"Metadata"},ManagedContentNodeType:{type:"ManagedContentNodeType",props:{helpText:"?string",isLocalizable:"?boolean",isRequired:"?boolean",nodeLabel:"string",nodeName:"string",nodeType:"string",placeholderText:"?string"}},ManagedTopic:{type:"ManagedTopic",props:{managedTopicType:"string",name:"string",parentName:"string",position:"number",topicDescription:"string"},extends:"Metadata"},ManagedTopics:{type:"ManagedTopics",props:{managedTopic:["ManagedTopic"]},extends:"Metadata"},SourceTrackingSettings:{type:"SourceTrackingSettings",props:{enableSourceTrackingSandboxes:"?boolean"},extends:"Metadata"},MapsAndLocationSettings:{type:"MapsAndLocationSettings",props:{enableAddressAutoComplete:"?boolean",enableMapsAndLocation:"?boolean"},extends:"Metadata"},MatchingRule:{type:"MatchingRule",props:{booleanFilter:"?string",description:"?string",label:"string",matchingRuleItems:["MatchingRuleItem"],ruleStatus:"string"},extends:"Metadata"},MatchingRuleItem:{type:"MatchingRuleItem",props:{blankValueBehavior:"?string",fieldName:"string",matchingMethod:"string"}},MatchingRules:{type:"MatchingRules",props:{matchingRules:["MatchingRule"]},extends:"Metadata"},MetadataWithContent:{type:"MetadataWithContent",props:{content:"?string"},extends:"Metadata"},AccessControlPolicy:{type:"AccessControlPolicy",props:{active:"boolean",deploymentStatus:"string",description:"?string",masterLabel:"string",targetEntity:"string",version:"number"},extends:"MetadataWithContent"},ApexClass:{type:"ApexClass",props:{apiVersion:"number",packageVersions:["PackageVersion"],status:"string"},extends:"MetadataWithContent"},ApexComponent:{type:"ApexComponent",props:{apiVersion:"?number",description:"?string",label:"string",packageVersions:["PackageVersion"]},extends:"MetadataWithContent"},ApexPage:{type:"ApexPage",props:{apiVersion:"number",availableInTouch:"?boolean",confirmationTokenRequired:"?boolean",description:"?string",label:"string",packageVersions:["PackageVersion"]},extends:"MetadataWithContent"},ApexTrigger:{type:"ApexTrigger",props:{apiVersion:"number",packageVersions:["PackageVersion"],status:"string"},extends:"MetadataWithContent"},Certificate:{type:"Certificate",props:{caSigned:"boolean",encryptedWithPlatformEncryption:"?boolean",expirationDate:"?string",keySize:"?number",masterLabel:"string",privateKeyExportable:"?boolean"},extends:"MetadataWithContent"},ContentAsset:{type:"ContentAsset",props:{format:"?string",isVisibleByExternalUsers:"?boolean",language:"string",masterLabel:"string",originNetwork:"?string",relationships:"?ContentAssetRelationships",versions:"ContentAssetVersions"},extends:"MetadataWithContent"},ContentAssetRelationships:{type:"ContentAssetRelationships",props:{insightsApplication:["ContentAssetLink"],network:["ContentAssetLink"],organization:"?ContentAssetLink",workspace:["ContentAssetLink"]}},ContentAssetLink:{type:"ContentAssetLink",props:{access:"string",isManagingWorkspace:"?boolean",name:"?string"}},ContentAssetVersions:{type:"ContentAssetVersions",props:{version:["ContentAssetVersion"]}},ContentAssetVersion:{type:"ContentAssetVersion",props:{number:"string",pathOnClient:"string",zipEntry:"?string"}},Document:{type:"Document",props:{description:"?string",internalUseOnly:"boolean",keywords:"?string",name:"?string",public:"boolean"},extends:"MetadataWithContent"},EclairGeoData:{type:"EclairGeoData",props:{maps:["EclairMap"],masterLabel:"string"},extends:"MetadataWithContent"},EclairMap:{type:"EclairMap",props:{boundingBoxBottom:"?number",boundingBoxLeft:"?number",boundingBoxRight:"?number",boundingBoxTop:"?number",mapLabel:"?string",mapName:"string",projection:"string"}},EmailTemplate:{type:"EmailTemplate",props:{apiVersion:"?number",attachedDocuments:["string"],attachments:["Attachment"],available:"boolean",description:"?string",encodingKey:"string",letterhead:"?string",name:"string",packageVersions:["PackageVersion"],relatedEntityType:"?string",style:"string",subject:"?string",textOnly:"?string",type:"string",uiType:"?string"},extends:"MetadataWithContent"},Attachment:{type:"Attachment",props:{content:"string",name:"string"}},NetworkBranding:{type:"NetworkBranding",props:{loginBackgroundImageUrl:"?string",loginFooterText:"?string",loginLogo:"?string",loginLogoName:"?string",loginPrimaryColor:"?string",loginQuaternaryColor:"?string",loginRightFrameUrl:"?string",network:"?string",pageFooter:"?string",pageHeader:"?string",primaryColor:"string",primaryComplementColor:"string",quaternaryColor:"string",quaternaryComplementColor:"string",secondaryColor:"string",staticLogoImageUrl:"?string",tertiaryColor:"string",tertiaryComplementColor:"string",zeronaryColor:"string",zeronaryComplementColor:"string"},extends:"MetadataWithContent"},Orchestration:{type:"Orchestration",props:{context:"string",masterLabel:"string"},extends:"MetadataWithContent"},Scontrol:{type:"Scontrol",props:{contentSource:"string",description:"?string",encodingKey:"string",fileContent:"?string",fileName:"?string",name:"string",supportsCaching:"boolean"},extends:"MetadataWithContent"},SiteDotCom:{type:"SiteDotCom",props:{label:"string",siteType:"string"},extends:"MetadataWithContent"},StaticResource:{type:"StaticResource",props:{cacheControl:"string",contentType:"string",description:"?string"},extends:"MetadataWithContent"},UiPlugin:{type:"UiPlugin",props:{description:"?string",extensionPointIdentifier:"string",isEnabled:"boolean",language:"string",masterLabel:"string"},extends:"MetadataWithContent"},WaveDashboard:{type:"WaveDashboard",props:{application:"string",description:"?string",masterLabel:"string",templateAssetSourceName:"?string"},extends:"MetadataWithContent"},WaveDataflow:{type:"WaveDataflow",props:{dataflowType:"?string",description:"?string",masterLabel:"string"},extends:"MetadataWithContent"},WaveLens:{type:"WaveLens",props:{application:"string",datasets:["string"],description:"?string",masterLabel:"string",templateAssetSourceName:"?string",visualizationType:"string"},extends:"MetadataWithContent"},WaveRecipe:{type:"WaveRecipe",props:{dataflow:"string",masterLabel:"string",securityPredicate:"?string",targetDatasetAlias:"string"},extends:"MetadataWithContent"},MilestoneType:{type:"MilestoneType",props:{description:"?string",recurrenceType:"?string"},extends:"Metadata"},MlDomain:{type:"MlDomain",props:{description:"?string",label:"string",mlIntents:["MlIntent"],mlSlotClasses:["MlSlotClass"]},extends:"Metadata"},MobileApplicationDetail:{type:"MobileApplicationDetail",props:{applicationBinaryFile:"?string",applicationBinaryFileName:"?string",applicationBundleIdentifier:"?string",applicationFileLength:"?number",applicationIconFile:"?string",applicationIconFileName:"?string",applicationInstallUrl:"?string",devicePlatform:"string",deviceType:"?string",minimumOsVersion:"?string",privateApp:"?boolean",version:"string"},extends:"Metadata"},MobileSettings:{type:"MobileSettings",props:{dashboardMobile:"?DashboardMobileSettings",enableImportContactFromDevice:"?boolean",enableLightningOnMobile:"?boolean",enableOfflineDraftsEnabled:"?boolean",enablePopulateNameManuallyInToday:"?boolean",enableS1EncryptedStoragePref2:"?boolean",enableS1OfflinePref:"?boolean"},extends:"Metadata"},DashboardMobileSettings:{type:"DashboardMobileSettings",props:{enableDashboardIPadApp:"?boolean"}},ModerationRule:{type:"ModerationRule",props:{action:"string",actionLimit:"?number",active:"boolean",description:"?string",entitiesAndFields:["ModeratedEntityField"],masterLabel:"string",notifyLimit:"?number",timePeriod:"?string",type:"?string",userCriteria:["string"],userMessage:"?string"},extends:"Metadata"},ModeratedEntityField:{type:"ModeratedEntityField",props:{entityName:"string",fieldName:"?string",keywordList:"?string"}},MyDomainSettings:{type:"MyDomainSettings",props:{canOnlyLoginWithMyDomainUrl:"?boolean",doesApiLoginRequireOrgDomain:"?boolean",enableNativeBrowserForAuthOnAndroid:"?boolean",enableNativeBrowserForAuthOnIos:"?boolean",useStabilizedMyDomainHostnames:"?boolean",useStabilizedSandboxMyDomainHostnames:"?boolean"},extends:"Metadata"},NameSettings:{type:"NameSettings",props:{enableMiddleName:"?boolean",enableNameSuffix:"?boolean"},extends:"Metadata"},NamedCredential:{type:"NamedCredential",props:{allowMergeFieldsInBody:"?boolean",allowMergeFieldsInHeader:"?boolean",authProvider:"?string",authTokenEndpointUrl:"?string",awsAccessKey:"?string",awsAccessSecret:"?string",awsRegion:"?string",awsService:"?string",certificate:"?string",endpoint:"?string",generateAuthorizationHeader:"?boolean",jwtAudience:"?string",jwtFormulaSubject:"?string",jwtIssuer:"?string",jwtSigningCertificate:"?string",jwtTextSubject:"?string",jwtValidityPeriodSeconds:"?number",label:"string",oauthRefreshToken:"?string",oauthScope:"?string",oauthToken:"?string",password:"?string",principalType:"string",privateConnection:"?string",protocol:"string",username:"?string"},extends:"Metadata"},NavigationMenu:{type:"NavigationMenu",props:{container:"string",containerType:"string",label:"string",navigationMenuItem:["NavigationMenuItem"]},extends:"Metadata"},Network:{type:"Network",props:{allowInternalUserLogin:"?boolean",allowMembersToFlag:"?boolean",allowedExtensions:"?string",caseCommentEmailTemplate:"?string",changePasswordTemplate:"string",communityRoles:"?CommunityRoles",description:"?string",disableReputationRecordConversations:"?boolean",emailFooterLogo:"?string",emailFooterText:"?string",emailSenderAddress:"string",emailSenderName:"string",enableCustomVFErrorPageOverrides:"?boolean",enableDirectMessages:"?boolean",enableGuestChatter:"?boolean",enableGuestFileAccess:"?boolean",enableGuestMemberVisibility:"?boolean",enableInvitation:"?boolean",enableKnowledgeable:"?boolean",enableMemberVisibility:"?boolean",enableNicknameDisplay:"?boolean",enablePrivateMessages:"?boolean",enableReputation:"?boolean",enableShowAllNetworkSettings:"?boolean",enableSiteAsContainer:"?boolean",enableTalkingAboutStats:"?boolean",enableTopicAssignmentRules:"?boolean",enableTopicSuggestions:"?boolean",enableUpDownVote:"?boolean",feedChannel:"?string",forgotPasswordTemplate:"string",gatherCustomerSentimentData:"?boolean",lockoutTemplate:"?string",logoutUrl:"?string",maxFileSizeKb:"?number",navigationLinkSet:"?NavigationLinkSet",networkMemberGroups:"?NetworkMemberGroup",networkPageOverrides:"?NetworkPageOverride",newSenderAddress:"?string",picassoSite:"?string",recommendationAudience:"?RecommendationAudience",recommendationDefinition:"?RecommendationDefinition",reputationLevels:"?ReputationLevelDefinitions",reputationPointsRules:"?ReputationPointsRules",selfRegProfile:"?string",selfRegistration:"?boolean",sendWelcomeEmail:"?boolean",site:"string",status:"string",tabs:"NetworkTabSet",urlPathPrefix:"?string",verificationTemplate:"?string",welcomeTemplate:"string"},extends:"Metadata"},CommunityRoles:{type:"CommunityRoles",props:{customerUserRole:"?string",employeeUserRole:"?string",partnerUserRole:"?string"}},NetworkMemberGroup:{type:"NetworkMemberGroup",props:{permissionSet:["string"],profile:["string"]}},NetworkPageOverride:{type:"NetworkPageOverride",props:{changePasswordPageOverrideSetting:"?string",forgotPasswordPageOverrideSetting:"?string",homePageOverrideSetting:"?string",loginPageOverrideSetting:"?string",selfRegProfilePageOverrideSetting:"?string"}},RecommendationAudience:{type:"RecommendationAudience",props:{recommendationAudienceDetails:["RecommendationAudienceDetail"]}},RecommendationAudienceDetail:{type:"RecommendationAudienceDetail",props:{audienceCriteriaType:"?string",audienceCriteriaValue:"?string",setupName:"?string"}},RecommendationDefinition:{type:"RecommendationDefinition",props:{recommendationDefinitionDetails:["RecommendationDefinitionDetail"]}},RecommendationDefinitionDetail:{type:"RecommendationDefinitionDetail",props:{actionUrl:"?string",description:"?string",linkText:"?string",scheduledRecommendations:"?ScheduledRecommendation",setupName:"?string",title:"?string"}},ScheduledRecommendation:{type:"ScheduledRecommendation",props:{scheduledRecommendationDetails:["ScheduledRecommendationDetail"]}},ScheduledRecommendationDetail:{type:"ScheduledRecommendationDetail",props:{channel:"?string",enabled:"?boolean",rank:"?number",recommendationAudience:"?string"}},ReputationLevelDefinitions:{type:"ReputationLevelDefinitions",props:{level:["ReputationLevel"]}},ReputationLevel:{type:"ReputationLevel",props:{branding:"?ReputationBranding",label:"?string",lowerThreshold:"number"}},ReputationBranding:{type:"ReputationBranding",props:{smallImage:"?string"}},ReputationPointsRules:{type:"ReputationPointsRules",props:{pointsRule:["ReputationPointsRule"]}},ReputationPointsRule:{type:"ReputationPointsRule",props:{eventType:"string",points:"number"}},NetworkTabSet:{type:"NetworkTabSet",props:{customTab:["string"],defaultTab:"string",standardTab:["string"]}},NotificationsSettings:{type:"NotificationsSettings",props:{enableMobileAppPushNotifications:"?boolean",enableNotifications:"?boolean"},extends:"Metadata"},OauthCustomScope:{type:"OauthCustomScope",props:{description:"string",developerName:"string",isProtected:"?boolean",isPublic:"?boolean",masterLabel:"string"},extends:"Metadata"},ObjectLinkingSettings:{type:"ObjectLinkingSettings",props:{enableObjectLinking:"?boolean"},extends:"Metadata"},OmniChannelSettings:{type:"OmniChannelSettings",props:{enableOmniAutoLoginPrompt:"?boolean",enableOmniChannel:"?boolean",enableOmniSecondaryRoutingPriority:"?boolean",enableOmniSkillsRouting:"?boolean"},extends:"Metadata"},OpportunitySettings:{type:"OpportunitySettings",props:{autoActivateNewReminders:"?boolean",customizableProductSchedulesEnabled:"?boolean",doesAutoAddSplitOwnerAsOpportunityTeamMember:"?boolean",doesEnforceStandardOpportunitySaveLogic:"?boolean",enableFindSimilarOpportunities:"?boolean",enableOpportunityFieldHistoryTracking:"?boolean",enableOpportunityInsightsInMobile:"?boolean",enableOpportunityTeam:"?boolean",enableUpdateReminders:"?boolean",findSimilarOppFilter:"?FindSimilarOppFilter",promptToAddProducts:"?boolean"},extends:"Metadata"},FindSimilarOppFilter:{type:"FindSimilarOppFilter",props:{similarOpportunitiesDisplayColumns:["string"],similarOpportunitiesMatchFields:["string"]}},OrchestrationContext:{type:"OrchestrationContext",props:{datasets:["OrchestrationContextDataset"],description:"?string",events:["OrchestrationContextEvent"],imageFile:"string",imageScale:"number",masterLabel:"string",runtimeType:"string",salesforceObject:"?string",salesforceObjectPrimaryKey:"?string"},extends:"Metadata"},OrchestrationContextDataset:{type:"OrchestrationContextDataset",props:{datasetType:"string",orchestrationDataset:"string"}},OrchestrationContextEvent:{type:"OrchestrationContextEvent",props:{eventType:"string",orchestrationEvent:"string",platformEvent:"string",platformEventPrimaryKey:"string"}},OrderManagementSettings:{type:"OrderManagementSettings",props:{enableOrderManagement:"?boolean"},extends:"Metadata"},OrderSettings:{type:"OrderSettings",props:{enableNegativeQuantity:"?boolean",enableOrders:"?boolean",enableReductionOrders:"?boolean",enableZeroQuantity:"?boolean"},extends:"Metadata"},OrgPreferenceSettings:{type:"OrgPreferenceSettings",props:{preferences:["OrganizationSettingsDetail"]},extends:"Metadata"},OrganizationSettingsDetail:{type:"OrganizationSettingsDetail",props:{settingName:"string",settingValue:"boolean"}},OrgSettings:{type:"OrgSettings",props:{enableCustomerSuccessPortal:"?boolean",enableExtendedMailMerge:"?boolean",enableIncludeContractStatus:"?boolean",enableMakeDeploymentsMandatory:"?boolean",enableManageSelfServiceUsers:"?boolean",enableOrgFeedSentimentAnalysis:"?boolean",enableRADeploymentAttributeOnly:"?boolean",enableResetDivisionOnLogin:"?boolean",saveMailMergeDocsAsSalesforceDocs:"?boolean"},extends:"Metadata"},Package:{type:"Package",props:{apiAccessLevel:"?string",description:"?string",namespacePrefix:"?string",objectPermissions:["ProfileObjectPermissions"],packageType:"?string",postInstallClass:"?string",setupWeblink:"?string",types:["PackageTypeMembers"],uninstallClass:"?string",version:"string"},extends:"Metadata"},ProfileObjectPermissions:{type:"ProfileObjectPermissions",props:{allowCreate:"?boolean",allowDelete:"?boolean",allowEdit:"?boolean",allowRead:"?boolean",modifyAllRecords:"?boolean",object:"string",viewAllRecords:"?boolean"}},PackageTypeMembers:{type:"PackageTypeMembers",props:{members:["string"],name:"string"}},PardotEinsteinSettings:{type:"PardotEinsteinSettings",props:{enableCampaignInsight:"?boolean",enableEngagementScore:"?boolean"},extends:"Metadata"},PardotSettings:{type:"PardotSettings",props:{enableB2bmaAppEnabled:"?boolean",enableEngagementHistoryDashboards:"?boolean",enablePardotAppV1Enabled:"?boolean",enablePardotEnabled:"?boolean",enableProspectActivityDataset:"?boolean"},extends:"Metadata"},PartyDataModelSettings:{type:"PartyDataModelSettings",props:{enableAutoSelectIndividualOnMerge:"?boolean",enableConsentManagement:"?boolean"},extends:"Metadata"},PathAssistant:{type:"PathAssistant",props:{active:"boolean",entityName:"string",fieldName:"string",masterLabel:"string",pathAssistantSteps:["PathAssistantStep"],recordTypeName:"string"},extends:"Metadata"},PathAssistantStep:{type:"PathAssistantStep",props:{fieldNames:["string"],info:"?string",picklistValueName:"string"}},PathAssistantSettings:{type:"PathAssistantSettings",props:{canOverrideAutoPathCollapseWithUserPref:"?boolean",pathAssistantEnabled:"?boolean"},extends:"Metadata"},PermissionSet:{type:"PermissionSet",props:{applicationVisibilities:["PermissionSetApplicationVisibility"],classAccesses:["PermissionSetApexClassAccess"],customMetadataTypeAccesses:["PermissionSetCustomMetadataTypeAccess"],customPermissions:["PermissionSetCustomPermissions"],description:"?string",externalDataSourceAccesses:["PermissionSetExternalDataSourceAccess"],fieldPermissions:["PermissionSetFieldPermissions"],flowAccesses:["PermissionSetFlowAccess"],hasActivationRequired:"?boolean",label:"string",license:"?string",objectPermissions:["PermissionSetObjectPermissions"],pageAccesses:["PermissionSetApexPageAccess"],recordTypeVisibilities:["PermissionSetRecordTypeVisibility"],tabSettings:["PermissionSetTabSetting"],userPermissions:["PermissionSetUserPermission"]},extends:"Metadata"},PermissionSetApplicationVisibility:{type:"PermissionSetApplicationVisibility",props:{application:"string",visible:"boolean"}},PermissionSetApexClassAccess:{type:"PermissionSetApexClassAccess",props:{apexClass:"string",enabled:"boolean"}},PermissionSetCustomMetadataTypeAccess:{type:"PermissionSetCustomMetadataTypeAccess",props:{enabled:"boolean",name:"string"}},PermissionSetCustomPermissions:{type:"PermissionSetCustomPermissions",props:{enabled:"boolean",name:"string"}},PermissionSetExternalDataSourceAccess:{type:"PermissionSetExternalDataSourceAccess",props:{enabled:"boolean",externalDataSource:"string"}},PermissionSetFieldPermissions:{type:"PermissionSetFieldPermissions",props:{editable:"boolean",field:"string",readable:"?boolean"}},PermissionSetFlowAccess:{type:"PermissionSetFlowAccess",props:{enabled:"boolean",flow:"string"}},PermissionSetObjectPermissions:{type:"PermissionSetObjectPermissions",props:{allowCreate:"boolean",allowDelete:"boolean",allowEdit:"boolean",allowRead:"boolean",modifyAllRecords:"boolean",object:"string",viewAllRecords:"boolean"}},PermissionSetApexPageAccess:{type:"PermissionSetApexPageAccess",props:{apexPage:"string",enabled:"boolean"}},PermissionSetRecordTypeVisibility:{type:"PermissionSetRecordTypeVisibility",props:{recordType:"string",visible:"boolean"}},PermissionSetTabSetting:{type:"PermissionSetTabSetting",props:{tab:"string",visibility:"string"}},PermissionSetUserPermission:{type:"PermissionSetUserPermission",props:{enabled:"boolean",name:"string"}},MutingPermissionSet:{type:"MutingPermissionSet",props:{label:"string"},extends:"PermissionSet"},PermissionSetGroup:{type:"PermissionSetGroup",props:{description:"?string",label:"string",mutingPermissionSets:["string"],permissionSets:["string"],status:"?string"},extends:"Metadata"},PersonListSettings:{type:"PersonListSettings",props:{enablePersonList:"boolean"},extends:"Metadata"},PicklistSettings:{type:"PicklistSettings",props:{isPicklistApiNameEditDisabled:"?boolean"},extends:"Metadata"},PlatformCachePartition:{type:"PlatformCachePartition",props:{description:"?string",isDefaultPartition:"boolean",masterLabel:"string",platformCachePartitionTypes:["PlatformCachePartitionType"]},extends:"Metadata"},PlatformCachePartitionType:{type:"PlatformCachePartitionType",props:{allocatedCapacity:"number",allocatedPurchasedCapacity:"number",allocatedTrialCapacity:"number",cacheType:"string"}},PlatformEncryptionSettings:{type:"PlatformEncryptionSettings",props:{canEncryptManagedPackageFields:"?boolean",enableDeterministicEncryption:"?boolean",enableEncryptFieldHistory:"?boolean",enableEventBusEncryption:"?boolean",isMEKForEncryptionRequired:"?boolean",isUseHighAssuranceKeysRequired:"?boolean"},extends:"Metadata"},PlatformEventChannel:{type:"PlatformEventChannel",props:{channelType:"string",label:"string"},extends:"Metadata"},PlatformEventChannelMember:{type:"PlatformEventChannelMember",props:{eventChannel:"string",selectedEntity:"string"},extends:"Metadata"},Portal:{type:"Portal",props:{active:"boolean",admin:"?string",defaultLanguage:"?string",description:"?string",emailSenderAddress:"string",emailSenderName:"string",enableSelfCloseCase:"?boolean",footerDocument:"?string",forgotPassTemplate:"?string",headerDocument:"?string",isSelfRegistrationActivated:"?boolean",loginHeaderDocument:"?string",logoDocument:"?string",logoutUrl:"?string",newCommentTemplate:"?string",newPassTemplate:"?string",newUserTemplate:"?string",ownerNotifyTemplate:"?string",selfRegNewUserUrl:"?string",selfRegUserDefaultProfile:"?string",selfRegUserDefaultRole:"?string",selfRegUserTemplate:"?string",showActionConfirmation:"?boolean",stylesheetDocument:"?string",type:"string"},extends:"Metadata"},PostTemplate:{type:"PostTemplate",props:{default:"?boolean",description:"?string",fields:["string"],label:"string"},extends:"Metadata"},PresenceDeclineReason:{type:"PresenceDeclineReason",props:{label:"string"},extends:"Metadata"},PresenceUserConfig:{type:"PresenceUserConfig",props:{assignments:"?PresenceConfigAssignments",capacity:"number",declineReasons:["string"],enableAutoAccept:"?boolean",enableDecline:"?boolean",enableDeclineReason:"?boolean",enableDisconnectSound:"?boolean",enableRequestSound:"?boolean",label:"string",presenceStatusOnDecline:"?string",presenceStatusOnPushTimeout:"?string"},extends:"Metadata"},PresenceConfigAssignments:{type:"PresenceConfigAssignments",props:{profiles:"?PresenceConfigProfileAssignments",users:"?PresenceConfigUserAssignments"}},PresenceConfigProfileAssignments:{type:"PresenceConfigProfileAssignments",props:{profile:["string"]}},PresenceConfigUserAssignments:{type:"PresenceConfigUserAssignments",props:{user:["string"]}},PrivacySettings:{type:"PrivacySettings",props:{enableConsentAuditTrail:"?boolean",enableConsentEventStream:"?boolean",enableDefaultMetadataValues:"?boolean"},extends:"Metadata"},PrivateConnection:{type:"PrivateConnection",props:{description:"?string",direction:"string",externalConnectionProperties:["ExternalConnectionProperty"],label:"string",status:"string",type:"string"},extends:"Metadata"},ExternalConnectionProperty:{type:"ExternalConnectionProperty",props:{propertyName:"string",propertyValue:"string"}},ProductSettings:{type:"ProductSettings",props:{enableCascadeActivateToRelatedPrices:"?boolean",enableMySettings:"?boolean",enableQuantitySchedule:"?boolean",enableRevenueSchedule:"?boolean"},extends:"Metadata"},Profile:{type:"Profile",props:{applicationVisibilities:["ProfileApplicationVisibility"],categoryGroupVisibilities:["ProfileCategoryGroupVisibility"],classAccesses:["ProfileApexClassAccess"],custom:"?boolean",customMetadataTypeAccesses:["ProfileCustomMetadataTypeAccess"],customPermissions:["ProfileCustomPermissions"],description:"?string",externalDataSourceAccesses:["ProfileExternalDataSourceAccess"],fieldPermissions:["ProfileFieldLevelSecurity"],flowAccesses:["ProfileFlowAccess"],layoutAssignments:["ProfileLayoutAssignment"],loginHours:"?ProfileLoginHours",loginIpRanges:["ProfileLoginIpRange"],objectPermissions:["ProfileObjectPermissions"],pageAccesses:["ProfileApexPageAccess"],profileActionOverrides:["ProfileActionOverride"],recordTypeVisibilities:["ProfileRecordTypeVisibility"],tabVisibilities:["ProfileTabVisibility"],userLicense:"?string",userPermissions:["ProfileUserPermission"]},extends:"Metadata"},ProfileApplicationVisibility:{type:"ProfileApplicationVisibility",props:{application:"string",default:"boolean",visible:"boolean"}},ProfileCategoryGroupVisibility:{type:"ProfileCategoryGroupVisibility",props:{dataCategories:["string"],dataCategoryGroup:"string",visibility:"string"}},ProfileApexClassAccess:{type:"ProfileApexClassAccess",props:{apexClass:"string",enabled:"boolean"}},ProfileCustomMetadataTypeAccess:{type:"ProfileCustomMetadataTypeAccess",props:{enabled:"boolean",name:"string"}},ProfileCustomPermissions:{type:"ProfileCustomPermissions",props:{enabled:"boolean",name:"string"}},ProfileExternalDataSourceAccess:{type:"ProfileExternalDataSourceAccess",props:{enabled:"boolean",externalDataSource:"string"}},ProfileFieldLevelSecurity:{type:"ProfileFieldLevelSecurity",props:{editable:"boolean",field:"string",readable:"?boolean"}},ProfileFlowAccess:{type:"ProfileFlowAccess",props:{enabled:"boolean",flow:"string"}},ProfileLayoutAssignment:{type:"ProfileLayoutAssignment",props:{layout:"string",recordType:"?string"}},ProfileLoginHours:{type:"ProfileLoginHours",props:{fridayEnd:"?string",fridayStart:"?string",mondayEnd:"?string",mondayStart:"?string",saturdayEnd:"?string",saturdayStart:"?string",sundayEnd:"?string",sundayStart:"?string",thursdayEnd:"?string",thursdayStart:"?string",tuesdayEnd:"?string",tuesdayStart:"?string",wednesdayEnd:"?string",wednesdayStart:"?string"}},ProfileLoginIpRange:{type:"ProfileLoginIpRange",props:{description:"?string",endAddress:"string",startAddress:"string"}},ProfileApexPageAccess:{type:"ProfileApexPageAccess",props:{apexPage:"string",enabled:"boolean"}},ProfileRecordTypeVisibility:{type:"ProfileRecordTypeVisibility",props:{default:"boolean",personAccountDefault:"?boolean",recordType:"string",visible:"boolean"}},ProfileTabVisibility:{type:"ProfileTabVisibility",props:{tab:"string",visibility:"string"}},ProfileUserPermission:{type:"ProfileUserPermission",props:{enabled:"boolean",name:"string"}},ProfilePasswordPolicy:{type:"ProfilePasswordPolicy",props:{forgotPasswordRedirect:"?boolean",lockoutInterval:"number",maxLoginAttempts:"number",minimumPasswordLength:"number",minimumPasswordLifetime:"?boolean",obscure:"?boolean",passwordComplexity:"number",passwordExpiration:"number",passwordHistory:"number",passwordQuestion:"number",profile:"string"},extends:"Metadata"},ProfileSessionSetting:{type:"ProfileSessionSetting",props:{externalCommunityUserIdentityVerif:"boolean",forceLogout:"boolean",profile:"string",requiredSessionLevel:"?string",sessionPersistence:"boolean",sessionTimeout:"number",sessionTimeoutWarning:"boolean"},extends:"Metadata"},Prompt:{type:"Prompt",props:{masterLabel:"string",promptVersions:["PromptVersion"]},extends:"Metadata"},PromptVersion:{type:"PromptVersion",props:{actionButtonLabel:"?string",actionButtonLink:"?string",body:"string",customApplication:"?string",delayDays:"number",description:"?string",dismissButtonLabel:"?string",displayPosition:"?string",displayType:"string",endDate:"?string",header:"?string",indexWithIsPublished:"?string",indexWithoutIsPublished:"?string",isPublished:"?boolean",masterLabel:"string",publishedByUser:"?string",publishedDate:"?string",shouldDisplayActionButton:"boolean",startDate:"string",targetAppDeveloperName:"string",targetAppNamespacePrefix:"?string",targetPageKey1:"string",targetPageKey2:"?string",targetPageType:"string",timesToDisplay:"number",title:"string",uiFormulaRule:"?UiFormulaRule",userAccess:"string",versionNumber:"number"}},Queue:{type:"Queue",props:{doesSendEmailToMembers:"?boolean",email:"?string",name:"string",queueMembers:"?QueueMembers",queueRoutingConfig:"?string",queueSobject:["QueueSobject"]},extends:"Metadata"},QueueMembers:{type:"QueueMembers",props:{publicGroups:"?PublicGroups",roleAndSubordinates:"?RoleAndSubordinates",roleAndSubordinatesInternal:"?RoleAndSubordinatesInternal",roles:"?Roles",users:"?Users"}},PublicGroups:{type:"PublicGroups",props:{publicGroup:["string"]}},RoleAndSubordinates:{type:"RoleAndSubordinates",props:{roleAndSubordinate:["string"]}},RoleAndSubordinatesInternal:{type:"RoleAndSubordinatesInternal",props:{roleAndSubordinateInternal:["string"]}},Roles:{type:"Roles",props:{role:["string"]}},Users:{type:"Users",props:{user:["string"]}},QueueSobject:{type:"QueueSobject",props:{sobjectType:"string"}},QueueRoutingConfig:{type:"QueueRoutingConfig",props:{capacityPercentage:"?number",capacityWeight:"?number",dropAdditionalSkillsTimeout:"?number",isAttributeBased:"?boolean",label:"string",pushTimeout:"?number",queueOverflowAssignee:"?string",routingModel:"string",routingPriority:"number",userOverflowAssignee:"?string"},extends:"Metadata"},QuickAction:{type:"QuickAction",props:{canvas:"?string",description:"?string",fieldOverrides:["FieldOverride"],flowDefinition:"?string",height:"?number",icon:"?string",isProtected:"?boolean",label:"?string",lightningComponent:"?string",mobExtDisplayMode:"?string",optionsCreateFeedItem:"boolean",page:"?string",quickActionLayout:"?QuickActionLayout",quickActionSendEmailOptions:"?QuickActionSendEmailOptions",standardLabel:"?string",successMessage:"?string",targetObject:"?string",targetParentField:"?string",targetRecordType:"?string",type:"string",width:"?number"},extends:"Metadata"},FieldOverride:{type:"FieldOverride",props:{field:"string",formula:"?string",literalValue:"?string"}},QuickActionLayout:{type:"QuickActionLayout",props:{layoutSectionStyle:"string",quickActionLayoutColumns:["QuickActionLayoutColumn"]}},QuickActionLayoutColumn:{type:"QuickActionLayoutColumn",props:{quickActionLayoutItems:["QuickActionLayoutItem"]}},QuickActionLayoutItem:{type:"QuickActionLayoutItem",props:{emptySpace:"?boolean",field:"?string",uiBehavior:"?string"}},QuickActionSendEmailOptions:{type:"QuickActionSendEmailOptions",props:{defaultEmailTemplateName:"?string",ignoreDefaultEmailTemplateSubject:"boolean"}},QuoteSettings:{type:"QuoteSettings",props:{enableQuote:"boolean",enableQuotesWithoutOppEnabled:"?boolean"},extends:"Metadata"},RecommendationStrategy:{type:"RecommendationStrategy",props:{actionContext:["StrategyAction"],contextRecordType:"?string",description:"?string",filter:["StrategyNodeFilter"],if:["StrategyNodeIf"],invocableAction:["StrategyNodeInvocableAction"],isTemplate:"?boolean",label:"string",map:["StrategyNodeMap"],mutuallyExclusive:["StrategyNodeExclusive"],onBehalfOfExpression:"?string",recommendationLimit:["StrategyNodeRecommendationLimit"],recommendationLoad:["StrategyNodeRecommendationLoad"],sort:["StrategyNodeSort"],union:["StrategyNodeUnion"]},extends:"Metadata"},StrategyAction:{type:"StrategyAction",props:{action:"string",argument:["StrategyActionArg"],description:"?string",label:"?string",name:"string",type:"string"}},StrategyActionArg:{type:"StrategyActionArg",props:{name:"string",value:"string"}},StrategyNodeFilter:{type:"StrategyNodeFilter",props:{expression:"string"},extends:"StrategyNodeUnionBase"},StrategyNodeUnionBase:{type:"StrategyNodeUnionBase",props:{limit:"?number"},extends:"StrategyNodeBase"},StrategyNodeBase:{type:"StrategyNodeBase",props:{childNode:["string"],description:"?string",label:"?string",name:"string"}},StrategyNodeExclusive:{type:"StrategyNodeExclusive",props:{},extends:"StrategyNodeUnionBase"},StrategyNodeIf:{type:"StrategyNodeIf",props:{childNodeExpression:["IfExpression"],onlyFirstMatch:"?boolean"},extends:"StrategyNodeUnionBase"},IfExpression:{type:"IfExpression",props:{childName:"string",expression:"string"}},StrategyNodeInvocableAction:{type:"StrategyNodeInvocableAction",props:{action:"string",argument:["StrategyNodeInvocableActionArg"],isGenerator:"boolean",type:"string"},extends:"StrategyNodeUnionBase"},StrategyNodeInvocableActionArg:{type:"StrategyNodeInvocableActionArg",props:{name:"string",value:"string"}},StrategyNodeMap:{type:"StrategyNodeMap",props:{mapExpression:["MapExpression"]},extends:"StrategyNodeUnionBase"},MapExpression:{type:"MapExpression",props:{expression:"string",name:"string",type:"string"}},StrategyNodeRecommendationLimit:{type:"StrategyNodeRecommendationLimit",props:{filterMode:["string"],lookbackDuration:"?number",maxRecommendationCount:"?number"},extends:"StrategyNodeUnionBase"},StrategyNodeRecommendationLoad:{type:"StrategyNodeRecommendationLoad",props:{condition:["RecommendationLoadCondition"],conditionLogic:"?string"},extends:"StrategyNodeUnionBase"},RecommendationLoadCondition:{type:"RecommendationLoadCondition",props:{field:"string",operator:"string",value:"RecommendationConditionValue"}},RecommendationConditionValue:{type:"RecommendationConditionValue",props:{type:"string",value:"?string"}},StrategyNodeSort:{type:"StrategyNodeSort",props:{field:["StrategyNodeSortField"]},extends:"StrategyNodeUnionBase"},StrategyNodeSortField:{type:"StrategyNodeSortField",props:{name:"string",nullsFirst:"?boolean",order:"?string"}},StrategyNodeUnion:{type:"StrategyNodeUnion",props:{},extends:"StrategyNodeUnionBase"},RecordActionDeployment:{type:"RecordActionDeployment",props:{channelConfigurations:["RecordActionDeploymentChannel"],deploymentContexts:["RecordActionDeploymentContext"],hasGuidedActions:"?boolean",hasRecommendations:"?boolean",masterLabel:"string",recommendation:"?RecordActionRecommendation",selectableItems:["RecordActionSelectableItem"]},extends:"Metadata"},RecordActionDeploymentChannel:{type:"RecordActionDeploymentChannel",props:{channel:"string",channelItems:["RecordActionDefaultItem"],isAutopopEnabled:"?boolean"}},RecordActionDefaultItem:{type:"RecordActionDefaultItem",props:{action:"string",isMandatory:"?boolean",isUiRemoveHidden:"?boolean",pinned:"string",position:"number",type:"string"}},RecordActionDeploymentContext:{type:"RecordActionDeploymentContext",props:{entityName:"string",recommendationStrategy:"?string"}},RecordActionRecommendation:{type:"RecordActionRecommendation",props:{defaultStrategy:"?string",hasDescription:"boolean",hasImage:"boolean",hasRejectAction:"boolean",hasTitle:"boolean",maxDisplayRecommendations:"number"}},RecordActionSelectableItem:{type:"RecordActionSelectableItem",props:{action:"string",type:"string"}},RecordPageSettings:{type:"RecordPageSettings",props:{enableActivityRelatedList:"?boolean",enableFullRecordView:"?boolean"},extends:"Metadata"},RemoteSiteSetting:{type:"RemoteSiteSetting",props:{description:"?string",disableProtocolSecurity:"boolean",isActive:"boolean",url:"string"},extends:"Metadata"},Report:{type:"Report",props:{aggregates:["ReportAggregate"],block:["Report"],blockInfo:"?ReportBlockInfo",buckets:["ReportBucketField"],chart:"?ReportChart",colorRanges:["ReportColorRange"],columns:["ReportColumn"],crossFilters:["ReportCrossFilter"],currency:"?string",customDetailFormulas:["ReportCustomDetailFormula"],dataCategoryFilters:["ReportDataCategoryFilter"],description:"?string",division:"?string",filter:"?ReportFilter",folderName:"?string",format:"string",formattingRules:["ReportFormattingRule"],groupingsAcross:["ReportGrouping"],groupingsDown:["ReportGrouping"],historicalSelector:"?ReportHistoricalSelector",name:"string",numSubscriptions:"?number",params:["ReportParam"],reportType:"string",roleHierarchyFilter:"?string",rowLimit:"?number",scope:"?string",showCurrentDate:"?boolean",showDetails:"?boolean",showGrandTotal:"?boolean",showSubTotals:"?boolean",sortColumn:"?string",sortOrder:"?string",territoryHierarchyFilter:"?string",timeFrameFilter:"?ReportTimeFrameFilter",userFilter:"?string"},extends:"Metadata"},ReportAggregate:{type:"ReportAggregate",props:{acrossGroupingContext:"?string",calculatedFormula:"string",datatype:"string",description:"?string",developerName:"string",downGroupingContext:"?string",isActive:"boolean",isCrossBlock:"?boolean",masterLabel:"string",reportType:"?string",scale:"?number"}},ReportBlockInfo:{type:"ReportBlockInfo",props:{aggregateReferences:["ReportAggregateReference"],blockId:"string",joinTable:"string"}},ReportAggregateReference:{type:"ReportAggregateReference",props:{aggregate:"string"}},ReportBucketField:{type:"ReportBucketField",props:{bucketType:"string",developerName:"string",masterLabel:"string",nullTreatment:"?string",otherBucketLabel:"?string",sourceColumnName:"string",useOther:"?boolean",values:["ReportBucketFieldValue"]}},ReportBucketFieldValue:{type:"ReportBucketFieldValue",props:{sourceValues:["ReportBucketFieldSourceValue"],value:"string"}},ReportBucketFieldSourceValue:{type:"ReportBucketFieldSourceValue",props:{from:"?string",sourceValue:"?string",to:"?string"}},ReportChart:{type:"ReportChart",props:{backgroundColor1:"?string",backgroundColor2:"?string",backgroundFadeDir:"?string",chartSummaries:["ChartSummary"],chartType:"string",enableHoverLabels:"?boolean",expandOthers:"?boolean",groupingColumn:"?string",legendPosition:"?string",location:"?string",secondaryGroupingColumn:"?string",showAxisLabels:"?boolean",showPercentage:"?boolean",showTotal:"?boolean",showValues:"?boolean",size:"?string",summaryAxisManualRangeEnd:"?number",summaryAxisManualRangeStart:"?number",summaryAxisRange:"?string",textColor:"?string",textSize:"?number",title:"?string",titleColor:"?string",titleSize:"?number"}},ReportColorRange:{type:"ReportColorRange",props:{aggregate:"?string",columnName:"string",highBreakpoint:"?number",highColor:"string",lowBreakpoint:"?number",lowColor:"string",midColor:"string"}},ReportColumn:{type:"ReportColumn",props:{aggregateTypes:["string"],field:"string",reverseColors:"?boolean",showChanges:"?boolean"}},ReportCrossFilter:{type:"ReportCrossFilter",props:{criteriaItems:["ReportFilterItem"],operation:"string",primaryTableColumn:"string",relatedTable:"string",relatedTableJoinColumn:"string"}},ReportFilterItem:{type:"ReportFilterItem",props:{column:"string",columnToColumn:"?boolean",isUnlocked:"?boolean",operator:"string",snapshot:"?string",value:"?string"}},ReportCustomDetailFormula:{type:"ReportCustomDetailFormula",props:{calculatedFormula:"string",dataType:"string",description:"?string",developerName:"string",label:"string",scale:"number"}},ReportDataCategoryFilter:{type:"ReportDataCategoryFilter",props:{dataCategory:"string",dataCategoryGroup:"string",operator:"string"}},ReportFilter:{type:"ReportFilter",props:{booleanFilter:"?string",criteriaItems:["ReportFilterItem"],language:"?string"}},ReportFormattingRule:{type:"ReportFormattingRule",props:{aggregate:"?string",columnName:"string",values:["ReportFormattingRuleValue"]}},ReportFormattingRuleValue:{type:"ReportFormattingRuleValue",props:{backgroundColor:"?string",rangeUpperBound:"?number"}},ReportGrouping:{type:"ReportGrouping",props:{aggregateType:"?string",dateGranularity:"?string",field:"string",sortByName:"?string",sortOrder:"string",sortType:"?string"}},ReportHistoricalSelector:{type:"ReportHistoricalSelector",props:{snapshot:["string"]}},ReportParam:{type:"ReportParam",props:{name:"string",value:"string"}},ReportTimeFrameFilter:{type:"ReportTimeFrameFilter",props:{dateColumn:"string",endDate:"?string",interval:"string",startDate:"?string"}},ReportType:{type:"ReportType",props:{autogenerated:"?boolean",baseObject:"string",category:"string",deployed:"boolean",description:"?string",join:"?ObjectRelationship",label:"string",sections:["ReportLayoutSection"]},extends:"Metadata"},ObjectRelationship:{type:"ObjectRelationship",props:{join:"?ObjectRelationship",outerJoin:"boolean",relationship:"string"}},ReportLayoutSection:{type:"ReportLayoutSection",props:{columns:["ReportTypeColumn"],masterLabel:"string"}},ReportTypeColumn:{type:"ReportTypeColumn",props:{checkedByDefault:"boolean",displayNameOverride:"?string",field:"string",table:"string"}},RestrictionRule:{type:"RestrictionRule",props:{active:"boolean",description:"string",enforcementType:"string",masterLabel:"string",recordFilter:"string",targetEntity:"string",userCriteria:"string",version:"number"},extends:"Metadata"},RetailExecutionSettings:{type:"RetailExecutionSettings",props:{enableRetailExecution:"?boolean"},extends:"Metadata"},RoleOrTerritory:{type:"RoleOrTerritory",props:{caseAccessLevel:"?string",contactAccessLevel:"?string",description:"?string",mayForecastManagerShare:"?boolean",name:"string",opportunityAccessLevel:"?string"},extends:"Metadata"},Role:{type:"Role",props:{parentRole:"?string"},extends:"RoleOrTerritory"},Territory:{type:"Territory",props:{accountAccessLevel:"?string",parentTerritory:"?string"},extends:"RoleOrTerritory"},SamlSsoConfig:{type:"SamlSsoConfig",props:{attributeName:"?string",attributeNameIdFormat:"?string",decryptionCertificate:"?string",errorUrl:"?string",executionUserId:"?string",identityLocation:"string",identityMapping:"string",issuer:"string",loginUrl:"?string",logoutUrl:"?string",name:"string",oauthTokenEndpoint:"?string",redirectBinding:"?boolean",requestSignatureMethod:"?string",requestSigningCertId:"?string",salesforceLoginUrl:"?string",samlEntityId:"string",samlJitHandlerId:"?string",samlVersion:"string",singleLogoutBinding:"?string",singleLogoutUrl:"?string",userProvisioning:"?boolean",validationCert:"string"},extends:"Metadata"},SchemaSettings:{type:"SchemaSettings",props:{enableAdvancedCMTSecurity:"?boolean",enableAdvancedCSSecurity:"?boolean",enableListCustomSettingCreation:"?boolean",enableSOSLOnCustomSettings:"?boolean"},extends:"Metadata"},SearchSettings:{type:"SearchSettings",props:{documentContentSearchEnabled:"boolean",enableAdvancedSearchInAlohaSidebar:"?boolean",enableEinsteinSearchPersonalization:"?boolean",enableQuerySuggestionPigOn:"?boolean",enableSalesforceGeneratedSynonyms:"?boolean",enableSetupSearch:"?boolean",optimizeSearchForCJKEnabled:"boolean",recentlyViewedUsersForBlankLookupEnabled:"boolean",searchSettingsByObject:"SearchSettingsByObject",sidebarAutoCompleteEnabled:"boolean",sidebarDropDownListEnabled:"boolean",sidebarLimitToItemsIOwnCheckboxEnabled:"boolean",singleSearchResultShortcutEnabled:"boolean",spellCorrectKnowledgeSearchEnabled:"boolean"},extends:"Metadata"},SearchSettingsByObject:{type:"SearchSettingsByObject",props:{searchSettingsByObject:["ObjectSearchSetting"]}},ObjectSearchSetting:{type:"ObjectSearchSetting",props:{enhancedLookupEnabled:"boolean",lookupAutoCompleteEnabled:"boolean",name:"string",resultsPerPageCount:"number"}},SecuritySettings:{type:"SecuritySettings",props:{canUsersGrantLoginAccess:"?boolean",enableAdminLoginAsAnyUser:"?boolean",enableAuditFieldsInactiveOwner:"?boolean",enableAuraSecureEvalPref:"?boolean",enableRequireHttpsConnection:"?boolean",isTLSv12Required:"?boolean",isTLSv12RequiredCommunities:"?boolean",networkAccess:"?NetworkAccess",passwordPolicies:"?PasswordPolicies",sessionSettings:"?SessionSettings",singleSignOnSettings:"?SingleSignOnSettings"},extends:"Metadata"},NetworkAccess:{type:"NetworkAccess",props:{ipRanges:["IpRange"]}},IpRange:{type:"IpRange",props:{description:"?string",end:"?string",start:"?string"}},PasswordPolicies:{type:"PasswordPolicies",props:{apiOnlyUserHomePageURL:"?string",complexity:"?string",enableSetPasswordInApi:"?boolean",expiration:"?string",historyRestriction:"?string",lockoutInterval:"?string",maxLoginAttempts:"?string",minimumPasswordLength:"?string",minimumPasswordLifetime:"?boolean",obscureSecretAnswer:"?boolean",passwordAssistanceMessage:"?string",passwordAssistanceURL:"?string",questionRestriction:"?string"}},SessionSettings:{type:"SessionSettings",props:{allowUserAuthenticationByCertificate:"?boolean",canConfirmEmailChangeInLightningCommunities:"?boolean",disableTimeoutWarning:"?boolean",enableCSPOnEmail:"?boolean",enableCSRFOnGet:"?boolean",enableCSRFOnPost:"?boolean",enableCacheAndAutocomplete:"?boolean",enableClickjackNonsetupSFDC:"?boolean",enableClickjackNonsetupUser:"?boolean",enableClickjackNonsetupUserHeaderless:"?boolean",enableClickjackSetup:"?boolean",enableContentSniffingProtection:"?boolean",enableLightningLogin:"?boolean",enableLightningLoginOnlyWithUserPerm:"?boolean",enablePostForSessions:"?boolean",enableSMSIdentity:"?boolean",enableU2F:"?boolean",enableUpgradeInsecureRequests:"?boolean",enableXssProtection:"?boolean",enforceIpRangesEveryRequest:"?boolean",forceLogoutOnSessionTimeout:"?boolean",forceRelogin:"?boolean",hasRetainedLoginHints:"?boolean",hasUserSwitching:"?boolean",hstsOnForcecomSites:"?boolean",identityConfirmationOnEmailChange:"?boolean",identityConfirmationOnTwoFactorRegistrationEnabled:"?boolean",lockSessionsToDomain:"?boolean",lockSessionsToIp:"?boolean",lockerServiceAPIVersion:"?string",lockerServiceCSP:"?boolean",lockerServiceFrozenRealm:"?boolean",logoutURL:"?string",redirectionWarning:"?boolean",referrerPolicy:"?boolean",requireHttpOnly:"?boolean",requireHttps:"?boolean",securityCentralKillSession:"?boolean",sessionTimeout:"?string"}},SingleSignOnSettings:{type:"SingleSignOnSettings",props:{enableForceDelegatedCallout:"?boolean",enableMultipleSamlConfigs:"?boolean",enableSamlJitProvisioning:"?boolean",enableSamlLogin:"?boolean"}},ServiceChannel:{type:"ServiceChannel",props:{interactionComponent:"?string",label:"string",relatedEntityType:"string",secondaryRoutingPriorityField:"?string",serviceChannelFieldPriorities:["ServiceChannelFieldPriority"]},extends:"Metadata"},ServiceChannelFieldPriority:{type:"ServiceChannelFieldPriority",props:{priority:"number",value:"string"}},ServicePresenceStatus:{type:"ServicePresenceStatus",props:{channels:"?ServiceChannelStatus",label:"string"},extends:"Metadata"},ServiceChannelStatus:{type:"ServiceChannelStatus",props:{channel:["string"]}},SharingBaseRule:{type:"SharingBaseRule",props:{accessLevel:"string",accountSettings:"?AccountSharingRuleSettings",description:"?string",label:"string",sharedTo:"SharedTo"},extends:"Metadata"},AccountSharingRuleSettings:{type:"AccountSharingRuleSettings",props:{caseAccessLevel:"string",contactAccessLevel:"string",opportunityAccessLevel:"string"}},SharingCriteriaRule:{type:"SharingCriteriaRule",props:{booleanFilter:"?string",criteriaItems:["FilterItem"]},extends:"SharingBaseRule"},SharingGuestRule:{type:"SharingGuestRule",props:{booleanFilter:"?string",criteriaItems:["FilterItem"]},extends:"SharingBaseRule"},SharingOwnerRule:{type:"SharingOwnerRule",props:{sharedFrom:"SharedTo"},extends:"SharingBaseRule"},SharingTerritoryRule:{type:"SharingTerritoryRule",props:{},extends:"SharingOwnerRule"},SharingRules:{type:"SharingRules",props:{sharingCriteriaRules:["SharingCriteriaRule"],sharingGuestRules:["SharingGuestRule"],sharingOwnerRules:["SharingOwnerRule"],sharingTerritoryRules:["SharingTerritoryRule"]},extends:"Metadata"},SharingSet:{type:"SharingSet",props:{accessMappings:["AccessMapping"],description:"?string",name:"string",profiles:["string"]},extends:"Metadata"},AccessMapping:{type:"AccessMapping",props:{accessLevel:"string",object:"string",objectField:"string",userField:"string"}},SharingSettings:{type:"SharingSettings",props:{enableAccountRoleOptimization:"?boolean",enableAssetSharing:"?boolean",enableCommunityUserVisibility:"?boolean",enableExternalSharingModel:"?boolean",enableManagerGroups:"?boolean",enableManualUserRecordSharing:"?boolean",enablePartnerSuperUserAccess:"?boolean",enablePortalUserCaseSharing:"?boolean",enablePortalUserVisibility:"?boolean",enableRemoveTMGroupMembership:"?boolean",enableSecureGuestAccess:"?boolean",enableStandardReportVisibility:"?boolean",enableTerritoryForecastManager:"?boolean"},extends:"Metadata"},SiteSettings:{type:"SiteSettings",props:{enableProxyLoginICHeader:"?boolean",enableTopicsInSites:"?boolean",enableVisualforceApiAccessAllowed:"?boolean"},extends:"Metadata"},Skill:{type:"Skill",props:{assignments:"?SkillAssignments",description:"?string",label:"string"},extends:"Metadata"},SkillAssignments:{type:"SkillAssignments",props:{profiles:"?SkillProfileAssignments",users:"?SkillUserAssignments"}},SkillProfileAssignments:{type:"SkillProfileAssignments",props:{profile:["string"]}},SkillUserAssignments:{type:"SkillUserAssignments",props:{user:["string"]}},SocialCustomerServiceSettings:{type:"SocialCustomerServiceSettings",props:{caseSubjectOption:"string",enableSocialApprovals:"?boolean",enableSocialCaseAssignmentRules:"?boolean",enableSocialCustomerService:"?boolean",enableSocialPersonaHistoryTracking:"?boolean",enableSocialPostHistoryTracking:"?boolean",enableSocialReceiveParentPost:"?boolean"},extends:"Metadata"},SocialProfileSettings:{type:"SocialProfileSettings",props:{enableSocialProfiles:"?boolean",isFacebookSocialProfilesDisabled:"?boolean",isLinkedInSocialProfilesDisabled:"?boolean",isTwitterSocialProfilesDisabled:"?boolean",isYouTubeSocialProfilesDisabled:"?boolean"},extends:"Metadata"},StandardValueSet:{type:"StandardValueSet",props:{groupingStringEnum:"?string",sorted:"boolean",standardValue:["StandardValue"]},extends:"Metadata"},StandardValueSetTranslation:{type:"StandardValueSetTranslation",props:{valueTranslation:["ValueTranslation"]},extends:"Metadata"},SurveySettings:{type:"SurveySettings",props:{enableSurvey:"?boolean",enableSurveyOwnerCanManageResponse:"?boolean"},extends:"Metadata"},SynonymDictionary:{type:"SynonymDictionary",props:{groups:["SynonymGroup"],isProtected:"?boolean",label:"string"},extends:"Metadata"},SystemNotificationSettings:{type:"SystemNotificationSettings",props:{disableDowntimeNotifications:"?boolean",disableMaintenanceNotifications:"?boolean"},extends:"Metadata"},Territory2:{type:"Territory2",props:{accountAccessLevel:"?string",caseAccessLevel:"?string",contactAccessLevel:"?string",customFields:["FieldValue"],description:"?string",name:"string",opportunityAccessLevel:"?string",parentTerritory:"?string",ruleAssociations:["Territory2RuleAssociation"],territory2Type:"string"},extends:"Metadata"},FieldValue:{type:"FieldValue",props:{name:"string",value:"?any"}},Territory2RuleAssociation:{type:"Territory2RuleAssociation",props:{inherited:"boolean",ruleName:"string"}},Territory2Model:{type:"Territory2Model",props:{customFields:["FieldValue"],description:"?string",name:"string"},extends:"Metadata"},Territory2Rule:{type:"Territory2Rule",props:{active:"boolean",booleanFilter:"?string",name:"string",objectType:"string",ruleItems:["Territory2RuleItem"]},extends:"Metadata"},Territory2RuleItem:{type:"Territory2RuleItem",props:{field:"string",operation:"string",value:"?string"}},Territory2Settings:{type:"Territory2Settings",props:{defaultAccountAccessLevel:"?string",defaultCaseAccessLevel:"?string",defaultContactAccessLevel:"?string",defaultOpportunityAccessLevel:"?string",enableTerritoryManagement2:"?boolean",opportunityFilterSettings:"?Territory2SettingsOpportunityFilter"},extends:"Metadata"},Territory2SettingsOpportunityFilter:{type:"Territory2SettingsOpportunityFilter",props:{apexClassName:"?string",enableFilter:"boolean",runOnCreate:"boolean"}},Territory2Type:{type:"Territory2Type",props:{description:"?string",name:"string",priority:"number"},extends:"Metadata"},TimeSheetTemplate:{type:"TimeSheetTemplate",props:{active:"boolean",description:"?string",frequency:"string",masterLabel:"string",startDate:"string",timeSheetTemplateAssignments:["TimeSheetTemplateAssignment"],workWeekEndDay:"string",workWeekStartDay:"string"},extends:"Metadata"},TimeSheetTemplateAssignment:{type:"TimeSheetTemplateAssignment",props:{assignedTo:"?string"}},TopicsForObjects:{type:"TopicsForObjects",props:{enableTopics:"boolean",entityApiName:"string"},extends:"Metadata"},TrailheadSettings:{type:"TrailheadSettings",props:{enableMyTrailheadPref:"?boolean"},extends:"Metadata"},TransactionSecurityPolicy:{type:"TransactionSecurityPolicy",props:{action:"TransactionSecurityAction",active:"boolean",apexClass:"?string",description:"?string",developerName:"?string",eventName:"?string",eventType:"?string",executionUser:"?string",flow:"?string",masterLabel:"?string",resourceName:"?string",type:"?string"},extends:"Metadata"},TransactionSecurityAction:{type:"TransactionSecurityAction",props:{block:"boolean",endSession:"boolean",freezeUser:"boolean",notifications:["TransactionSecurityNotification"],twoFactorAuthentication:"boolean"}},TransactionSecurityNotification:{type:"TransactionSecurityNotification",props:{inApp:"boolean",sendEmail:"boolean",user:"string"}},Translations:{type:"Translations",props:{customApplications:["CustomApplicationTranslation"],customDataTypeTranslations:["CustomDataTypeTranslation"],customLabels:["CustomLabelTranslation"],customPageWebLinks:["CustomPageWebLinkTranslation"],customTabs:["CustomTabTranslation"],flowDefinitions:["FlowDefinitionTranslation"],quickActions:["GlobalQuickActionTranslation"],reportTypes:["ReportTypeTranslation"],scontrols:["ScontrolTranslation"]},extends:"Metadata"},CustomApplicationTranslation:{type:"CustomApplicationTranslation",props:{label:"string",name:"string"}},CustomDataTypeTranslation:{type:"CustomDataTypeTranslation",props:{components:["CustomDataTypeComponentTranslation"],customDataTypeName:"string",description:"?string",label:"?string"}},CustomDataTypeComponentTranslation:{type:"CustomDataTypeComponentTranslation",props:{developerSuffix:"string",label:"?string"}},CustomLabelTranslation:{type:"CustomLabelTranslation",props:{label:"string",name:"string"}},CustomPageWebLinkTranslation:{type:"CustomPageWebLinkTranslation",props:{label:"string",name:"string"}},CustomTabTranslation:{type:"CustomTabTranslation",props:{label:"string",name:"string"}},FlowDefinitionTranslation:{type:"FlowDefinitionTranslation",props:{flows:["FlowTranslation"],fullName:"string",label:"?string"}},FlowTranslation:{type:"FlowTranslation",props:{choices:["FlowChoiceTranslation"],fullName:"string",label:"?string",screens:["FlowScreenTranslation"],stages:["FlowStageTranslation"],textTemplates:["FlowTextTemplateTranslation"]}},FlowChoiceTranslation:{type:"FlowChoiceTranslation",props:{choiceText:"?string",name:"string",userInput:"?FlowChoiceUserInputTranslation"}},FlowChoiceUserInputTranslation:{type:"FlowChoiceUserInputTranslation",props:{promptText:"?string",validationRule:"?FlowInputValidationRuleTranslation"}},FlowInputValidationRuleTranslation:{type:"FlowInputValidationRuleTranslation",props:{errorMessage:"?string"}},FlowScreenTranslation:{type:"FlowScreenTranslation",props:{fields:["FlowScreenFieldTranslation"],helpText:"?string",name:"string",pausedText:"?string"}},FlowScreenFieldTranslation:{type:"FlowScreenFieldTranslation",props:{fieldText:"?string",helpText:"?string",name:"string",validationRule:"?FlowInputValidationRuleTranslation"}},FlowStageTranslation:{type:"FlowStageTranslation",props:{label:"?string",name:"string"}},FlowTextTemplateTranslation:{type:"FlowTextTemplateTranslation",props:{name:"string",text:"?string"}},GlobalQuickActionTranslation:{type:"GlobalQuickActionTranslation",props:{label:"string",name:"string"}},ReportTypeTranslation:{type:"ReportTypeTranslation",props:{description:"?string",label:"?string",name:"string",sections:["ReportTypeSectionTranslation"]}},ReportTypeSectionTranslation:{type:"ReportTypeSectionTranslation",props:{columns:["ReportTypeColumnTranslation"],label:"?string",name:"string"}},ReportTypeColumnTranslation:{type:"ReportTypeColumnTranslation",props:{label:"string",name:"string"}},ScontrolTranslation:{type:"ScontrolTranslation",props:{label:"string",name:"string"}},UIObjectRelationConfig:{type:"UIObjectRelationConfig",props:{UIObjectRelationFieldConfigs:["UIObjectRelationFieldConfig"],contextObject:"string",contextObjectRecordType:"?string",directRelationshipField:"?string",indirectObjectContextField:"?string",indirectObjectRelatedField:"?string",indirectRelationshipObject:"?string",isActive:"boolean",masterLabel:"string",relatedObject:"string",relatedObjectRecordType:"?string",relationshipType:"string"},extends:"Metadata"},UIObjectRelationFieldConfig:{type:"UIObjectRelationFieldConfig",props:{displayLabel:"string",queryText:"string",rowOrder:"number"}},UserCriteria:{type:"UserCriteria",props:{creationAgeInSeconds:"?number",description:"?string",lastChatterActivityAgeInSeconds:"?number",masterLabel:"string",profiles:["string"],userTypes:["string"]},extends:"Metadata"},UserEngagementSettings:{type:"UserEngagementSettings",props:{canGovCloudUseAdoptionApps:"?boolean",doesScheduledSwitcherRunDaily:"?boolean",enableCustomHelpGlobalSection:"?boolean",enableHelpMenuShowFeedback:"?boolean",enableHelpMenuShowHelp:"?boolean",enableHelpMenuShowNewUser:"?boolean",enableHelpMenuShowSearch:"?boolean",enableHelpMenuShowSfdcContent:"?boolean",enableHelpMenuShowShortcut:"?boolean",enableHelpMenuShowSupport:"?boolean",enableHelpMenuShowTrailhead:"?boolean",enableIBILOptOutDashboards:"?boolean",enableIBILOptOutEvents:"?boolean",enableIBILOptOutReports:"?boolean",enableIBILOptOutTasks:"?boolean",enableLexToClassicFeedbackEnable:"?boolean",enableOrchestrationInSandbox:"?boolean",enableOrgUserAssistEnabled:"?boolean",enableScheduledSwitcher:"?boolean",enableSfdcProductFeedbackSurvey:"?boolean",enableShowSalesforceUserAssist:"?boolean",isAutoTransitionDelayed:"?boolean",isCrucNotificationDisabled:"?boolean",isCustomProfileAutoTransitionDelayed:"?boolean",isLEXWelcomeMatDisabled:"?boolean",isMeetTheAssistantDisabledInClassic:"?boolean",isMeetTheAssistantDisabledInLightning:"?boolean",optimizerAppEnabled:"?boolean"},extends:"Metadata"},UserInterfaceSettings:{type:"UserInterfaceSettings",props:{alternateAlohaListView:"?boolean",enableAsyncRelatedLists:"?boolean",enableClickjackUserPageHeaderless:"?boolean",enableCollapsibleSections:"?boolean",enableCollapsibleSideBar:"?boolean",enableCustomObjectTruncate:"?boolean",enableCustomeSideBarOnAllPages:"?boolean",enableDeleteFieldHistory:"?boolean",enableHoverDetails:"?boolean",enableInlineEdit:"?boolean",enableNewPageLayoutEditor:"?boolean",enablePersonalCanvas:"?boolean",enablePrintableListViews:"?boolean",enableProfileCustomTabsets:"?boolean",enableQuickCreate:"?boolean",enableTabOrganizer:"?boolean"},extends:"Metadata"},UserManagementSettings:{type:"UserManagementSettings",props:{enableCanAnswerContainUsername:"?boolean",enableCanSaveUserPerm:"?boolean",enableConcealPersonalInfo:"?boolean",enableContactlessExternalIdentityUsers:"?boolean",enableEnhancedPermsetMgmt:"?boolean",enableEnhancedProfileMgmt:"?boolean",enableNewProfileUI:"?boolean",enableScrambleUserData:"?boolean",enableUserSelfDeactivate:"?boolean"},extends:"Metadata"},VoiceSettings:{type:"VoiceSettings",props:{enableCallDisposition:"?boolean",enableVoiceCallList:"?boolean",enableVoiceCallRecording:"?boolean",enableVoiceCoaching:"?boolean",enableVoiceConferencing:"?boolean",enableVoiceLocalPresence:"?boolean",enableVoiceMail:"?boolean",enableVoiceMailDrop:"?boolean"},extends:"Metadata"},WaveApplication:{type:"WaveApplication",props:{assetIcon:"?string",description:"?string",folder:"string",masterLabel:"string",shares:["FolderShare"],templateOrigin:"?string",templateVersion:"?string"},extends:"Metadata"},WaveDataset:{type:"WaveDataset",props:{application:"string",description:"?string",masterLabel:"string",templateAssetSourceName:"?string"},extends:"Metadata"},WaveTemplateBundle:{type:"WaveTemplateBundle",props:{assetIcon:"?string",assetVersion:"?number",description:"?string",label:"string",templateType:"string"},extends:"Metadata"},WaveXmd:{type:"WaveXmd",props:{application:"?string",dataset:"string",datasetConnector:"?string",datasetFullyQualifiedName:"?string",dates:["WaveXmdDate"],dimensions:["WaveXmdDimension"],measures:["WaveXmdMeasure"],organizations:["WaveXmdOrganization"],origin:"?string",type:"?string",waveVisualization:"?string"},extends:"Metadata"},WaveXmdDate:{type:"WaveXmdDate",props:{alias:"string",compact:"?boolean",dateFieldDay:"?string",dateFieldEpochDay:"?string",dateFieldEpochSecond:"?string",dateFieldFiscalMonth:"?string",dateFieldFiscalQuarter:"?string",dateFieldFiscalWeek:"?string",dateFieldFiscalYear:"?string",dateFieldFullYear:"?string",dateFieldHour:"?string",dateFieldMinute:"?string",dateFieldMonth:"?string",dateFieldQuarter:"?string",dateFieldSecond:"?string",dateFieldWeek:"?string",dateFieldYear:"?string",description:"?string",firstDayOfWeek:"number",fiscalMonthOffset:"number",isYearEndFiscalYear:"?boolean",label:"?string",showInExplorer:"?boolean",sortIndex:"number",type:"string"}},WaveXmdDimension:{type:"WaveXmdDimension",props:{conditionalFormatting:["WaveXmdFormattingProperty"],customActions:["WaveXmdDimensionCustomAction"],customActionsEnabled:"?boolean",dateFormat:"?string",description:"?string",field:"string",fullyQualifiedName:"?string",imageTemplate:"?string",isDerived:"boolean",isMultiValue:"?boolean",label:"?string",linkTemplate:"?string",linkTemplateEnabled:"?boolean",linkTooltip:"?string",members:["WaveXmdDimensionMember"],origin:"?string",recordDisplayFields:["WaveXmdRecordDisplayLookup"],recordIdField:"?string",recordOrganizationIdField:"?string",salesforceActions:["WaveXmdDimensionSalesforceAction"],salesforceActionsEnabled:"?boolean",showDetailsDefaultFieldIndex:"?number",showInExplorer:"?boolean",sortIndex:"number"}},WaveXmdFormattingProperty:{type:"WaveXmdFormattingProperty",props:{formattingBins:["WaveXmdFormattingBin"],formattingPredicates:["WaveXmdFormattingPredicate"],property:"string",referenceField:"string",sortIndex:"number",type:"string"}},WaveXmdFormattingBin:{type:"WaveXmdFormattingBin",props:{bin:"string",formatValue:"string",label:"string",sortIndex:"number"}},WaveXmdFormattingPredicate:{type:"WaveXmdFormattingPredicate",props:{formatValue:"string",operator:"string",sortIndex:"number",value:"string"}},WaveXmdDimensionCustomAction:{type:"WaveXmdDimensionCustomAction",props:{customActionName:"string",enabled:"boolean",icon:"?string",method:"?string",sortIndex:"number",target:"?string",tooltip:"?string",url:"?string"}},WaveXmdDimensionMember:{type:"WaveXmdDimensionMember",props:{color:"?string",label:"?string",member:"string",sortIndex:"number"}},WaveXmdRecordDisplayLookup:{type:"WaveXmdRecordDisplayLookup",props:{recordDisplayField:"string"}},WaveXmdDimensionSalesforceAction:{type:"WaveXmdDimensionSalesforceAction",props:{enabled:"boolean",salesforceActionName:"string",sortIndex:"number"}},WaveXmdMeasure:{type:"WaveXmdMeasure",props:{conditionalFormatting:["WaveXmdFormattingProperty"],dateFormat:"?string",description:"?string",field:"string",formatCustomFormat:"?string",formatDecimalDigits:"?number",formatIsNegativeParens:"?boolean",formatPrefix:"?string",formatSuffix:"?string",formatUnit:"?string",formatUnitMultiplier:"?number",fullyQualifiedName:"?string",isDerived:"boolean",label:"?string",origin:"?string",showDetailsDefaultFieldIndex:"?number",showInExplorer:"?boolean",sortIndex:"number"}},WaveXmdOrganization:{type:"WaveXmdOrganization",props:{instanceUrl:"string",label:"string",organizationIdentifier:"string",sortIndex:"number"}},WorkDotComSettings:{type:"WorkDotComSettings",props:{enableCoachingManagerGroupAccess:"?boolean",enableGoalManagerGroupAccess:"?boolean",enableProfileSkills:"?boolean",enableProfileSkillsAddFeedPost:"?boolean",enableProfileSkillsAutoSuggest:"?boolean",enableProfileSkillsUsePlatform:"?boolean",enableWorkBadgeDefRestrictPref:"?boolean",enableWorkCalibration:"?boolean",enableWorkCanvasPref:"?boolean",enableWorkCertification:"?boolean",enableWorkCertificationNotification:"?boolean",enableWorkRewardsPref:"?boolean",enableWorkThanksPref:"?boolean",enableWorkUseObjectivesForGoals:"?boolean"},extends:"Metadata"},Workflow:{type:"Workflow",props:{alerts:["WorkflowAlert"],fieldUpdates:["WorkflowFieldUpdate"],flowActions:["WorkflowFlowAction"],knowledgePublishes:["WorkflowKnowledgePublish"],outboundMessages:["WorkflowOutboundMessage"],rules:["WorkflowRule"],send:["WorkflowSend"],tasks:["WorkflowTask"]},extends:"Metadata"},WorkflowAlert:{type:"WorkflowAlert",props:{ccEmails:["string"],description:"string",protected:"boolean",recipients:["WorkflowEmailRecipient"],senderAddress:"?string",senderType:"?string",template:"string"},extends:"WorkflowAction"},WorkflowAction:{type:"WorkflowAction",props:{},extends:"Metadata"},WorkflowFieldUpdate:{type:"WorkflowFieldUpdate",props:{description:"?string",field:"string",formula:"?string",literalValue:"?string",lookupValue:"?string",lookupValueType:"?string",name:"string",notifyAssignee:"boolean",operation:"string",protected:"boolean",reevaluateOnChange:"?boolean",targetObject:"?string"},extends:"WorkflowAction"},WorkflowFlowAction:{type:"WorkflowFlowAction",props:{description:"?string",flow:"string",flowInputs:["WorkflowFlowActionParameter"],label:"string",language:"?string",protected:"boolean"},extends:"WorkflowAction"},WorkflowFlowActionParameter:{type:"WorkflowFlowActionParameter",props:{name:"string",value:"?string"}},WorkflowKnowledgePublish:{type:"WorkflowKnowledgePublish",props:{action:"string",description:"?string",label:"string",language:"?string",protected:"boolean"},extends:"WorkflowAction"},WorkflowOutboundMessage:{type:"WorkflowOutboundMessage",props:{apiVersion:"number",description:"?string",endpointUrl:"string",fields:["string"],includeSessionId:"boolean",integrationUser:"string",name:"string",protected:"boolean",useDeadLetterQueue:"?boolean"},extends:"WorkflowAction"},WorkflowSend:{type:"WorkflowSend",props:{action:"string",description:"?string",label:"string",language:"?string",protected:"boolean"},extends:"WorkflowAction"},WorkflowTask:{type:"WorkflowTask",props:{assignedTo:"?string",assignedToType:"string",description:"?string",dueDateOffset:"number",notifyAssignee:"boolean",offsetFromField:"?string",priority:"string",protected:"boolean",status:"string",subject:"string"},extends:"WorkflowAction"},WorkflowEmailRecipient:{type:"WorkflowEmailRecipient",props:{field:"?string",recipient:"?string",type:"string"}},WorkflowRule:{type:"WorkflowRule",props:{actions:["WorkflowActionReference"],active:"boolean",booleanFilter:"?string",criteriaItems:["FilterItem"],description:"?string",formula:"?string",triggerType:"string",workflowTimeTriggers:["WorkflowTimeTrigger"]},extends:"Metadata"},WorkflowTimeTrigger:{type:"WorkflowTimeTrigger",props:{actions:["WorkflowActionReference"],offsetFromField:"?string",timeLength:"?string",workflowTimeTriggerUnit:"string"}},SaveResult:{type:"SaveResult",props:{errors:["Error"],fullName:"string",success:"boolean"}},Error:{type:"Error",props:{extendedErrorDetails:["ExtendedErrorDetails"],fields:["string"],message:"string",statusCode:"string"}},ExtendedErrorDetails:{type:"ExtendedErrorDetails",props:{extendedErrorCode:"string"}},DeleteResult:{type:"DeleteResult",props:{errors:["Error"],fullName:"string",success:"boolean"}},DeployOptions:{type:"DeployOptions",props:{allowMissingFiles:"boolean",autoUpdatePackage:"boolean",checkOnly:"boolean",ignoreWarnings:"boolean",performRetrieve:"boolean",purgeOnDelete:"boolean",rollbackOnError:"boolean",runTests:["string"],singlePackage:"boolean",testLevel:"string"}},AsyncResult:{type:"AsyncResult",props:{done:"boolean",id:"string",message:"?string",state:"string",statusCode:"?string"}},DescribeMetadataResult:{type:"DescribeMetadataResult",props:{metadataObjects:["DescribeMetadataObject"],organizationNamespace:"string",partialSaveAllowed:"boolean",testRequired:"boolean"}},DescribeMetadataObject:{type:"DescribeMetadataObject",props:{childXmlNames:["string"],directoryName:"string",inFolder:"boolean",metaFile:"boolean",suffix:"?string",xmlName:"string"}},DescribeValueTypeResult:{type:"DescribeValueTypeResult",props:{apiCreatable:"boolean",apiDeletable:"boolean",apiReadable:"boolean",apiUpdatable:"boolean",parentField:"?ValueTypeField",valueTypeFields:["ValueTypeField"]}},ValueTypeField:{type:"ValueTypeField",props:{fields:["ValueTypeField"],foreignKeyDomain:["string"],isForeignKey:"boolean",isNameField:"boolean",minOccurs:"number",name:"string",picklistValues:["PicklistEntry"],soapType:"string",valueRequired:"boolean"}},PicklistEntry:{type:"PicklistEntry",props:{active:"boolean",defaultValue:"boolean",label:"string",validFor:"?string",value:"string"}},ListMetadataQuery:{type:"ListMetadataQuery",props:{folder:"?string",type:"string"}},ReadResult:{type:"ReadResult",props:{records:["Metadata"]}},RetrieveRequest:{type:"RetrieveRequest",props:{apiVersion:"number",packageNames:["string"],singlePackage:"boolean",specificFiles:["string"],unpackaged:"?Package"}},UpsertResult:{type:"UpsertResult",props:{created:"boolean",errors:["Error"],fullName:"string",success:"boolean"}},LogInfo:{type:"LogInfo",props:{category:"string",level:"string"}}}});var BX=h(Zr=>{"use strict";var cPe=Zr&&Zr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),uPe=Zr&&Zr.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&cPe(t,e,r)},qX=Zr&&Zr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.DeployResultLocator=Zr.RetrieveResultLocator=Zr.AsyncResultLocator=Zr.MetadataApi=void 0;var dPe=require("events"),pPe=require("stream"),fPe=qX(bg()),mPe=Wi(),hPe=qX(hT()),gPe=Fw(),br=gT();uPe(gT(),Zr);function zX(e){let{$:t,...r}=e;return r}function yT(e,t){let r=n=>({"@xsi:type":t,...n});return Array.isArray(e)?e.map(r):r(e)}var a0=class{_conn;pollInterval=1e3;pollTimeout=1e4;constructor(t){this._conn=t}async _invoke(t,r,n){return(await new hPe.default(this._conn,{xmlns:"http://soap.sforce.com/2006/04/metadata",endpointUrl:`${this._conn.instanceUrl}/services/Soap/m/${this._conn.version}`}).invoke(t,r,n?{result:n}:void 0,br.ApiSchemas)).result}create(t,r){let n=Array.isArray(r);r=yT(r,t);let i=n?[br.ApiSchemas.SaveResult]:br.ApiSchemas.SaveResult;return this._invoke("createMetadata",{metadata:r},i)}async read(t,r){let n=t in br.ApiSchemas?{type:br.ApiSchemas.ReadResult.type,props:{records:[t]}}:br.ApiSchemas.ReadResult,i=await this._invoke("readMetadata",{type:t,fullNames:r},n);return Array.isArray(r)?i.records.map(zX):zX(i.records[0])}update(t,r){let n=Array.isArray(r);r=yT(r,t);let i=n?[br.ApiSchemas.SaveResult]:br.ApiSchemas.SaveResult;return this._invoke("updateMetadata",{metadata:r},i)}upsert(t,r){let n=Array.isArray(r);r=yT(r,t);let i=n?[br.ApiSchemas.UpsertResult]:br.ApiSchemas.UpsertResult;return this._invoke("upsertMetadata",{metadata:r},i)}delete(t,r){let n=Array.isArray(r)?[br.ApiSchemas.SaveResult]:br.ApiSchemas.SaveResult;return this._invoke("deleteMetadata",{type:t,fullNames:r},n)}rename(t,r,n){return this._invoke("renameMetadata",{type:t,oldFullName:r,newFullName:n},br.ApiSchemas.SaveResult)}describe(t){return t||(t=this._conn.version),this._invoke("describeMetadata",{asOfVersion:t},br.ApiSchemas.DescribeMetadataResult)}list(t,r){return r||(r=this._conn.version),this._invoke("listMetadata",{queries:t,asOfVersion:r},[br.ApiSchemas.FileProperties])}checkStatus(t){let r=this._invoke("checkStatus",{asyncProcessId:t},br.ApiSchemas.AsyncResult);return new Em(this,r)}retrieve(t){let r=this._invoke("retrieve",{request:t},br.ApiSchemas.RetrieveResult);return new Zw(this,r)}checkRetrieveStatus(t){return this._invoke("checkRetrieveStatus",{asyncProcessId:t},br.ApiSchemas.RetrieveResult)}async deployRecentValidation(t){let{id:r,rest:n}=t,i;if(n){let a=JSON.stringify({validatedDeployRequestId:r}),o={method:"POST",url:`${this._conn._baseUrl()}/metadata/deployRequest`,body:a,headers:{"content-type":"application/json"}},s={headers:"json"};i=(await this._conn.request(o,s)).id}else i=await this._invoke("deployRecentValidation",{validationId:r});return i}deployRest(t,r={}){let n=new fPe.default;n.append("file",t,{contentType:"application/zip",filename:"package.xml"}),n.append("entity_content",JSON.stringify({deployOptions:r}),{contentType:"application/json"});let i={url:"/metadata/deployRequest",method:"POST",headers:{...n.getHeaders()},body:n.getBuffer()},a=this._conn.request(i);return new o0(this,a)}deploy(t,r={}){let n=(async()=>{let i=await new Promise((a,o)=>{if((0,gPe.isObject)(t)&&"pipe"in t&&typeof t.pipe=="function"){let s=[];t.on("data",l=>s.push(l)),t.on("error",o),t.on("end",()=>{a(Buffer.concat(s).toString("base64"))})}else if(t instanceof Buffer)a(t.toString("base64"));else if(t instanceof String||typeof t=="string")a(t);else throw"Unexpected zipInput type"});return this._invoke("deploy",{ZipFile:i,DeployOptions:r},br.ApiSchemas.DeployResult)})();return new o0(this,n)}async checkDeployStatus(t,r=!1,n=!1){if(n){let i=`/metadata/deployRequest/${t}${r?"?includeDetails=true":""}`;return(await this._conn.requestGet(i)).deployResult}else return this._invoke("checkDeployStatus",{asyncProcessId:t,includeDetails:r},br.ApiSchemas.DeployResult)}async cancelDeploy(t){return this._invoke("cancelDeploy",{id:t})}};Zr.MetadataApi=a0;var Em=class extends dPe.EventEmitter{_meta;_promise;_id;constructor(t,r){super(),this._meta=t,this._promise=r}then(t,r){return this._promise.then(t,r)}async check(){let t=await this._promise;return this._id=t.id,this._meta.checkStatus(t.id)}poll(t,r){let n=new Date().getTime(),i=async()=>{try{let a=new Date().getTime();if(n+r<a){let s="Polling time out.";this._id&&(s+=" Process Id = "+this._id),this.emit("error",new Error(s));return}let o=await this.check();o.done?this.emit("complete",o):(this.emit("progress",o),setTimeout(i,t))}catch(a){this.emit("error",a)}};setTimeout(i,t)}complete(){return new Promise((t,r)=>{this.on("complete",t),this.on("error",r),this.poll(this._meta.pollInterval,this._meta.pollTimeout)})}};Zr.AsyncResultLocator=Em;var Zw=class extends Em{async complete(){if(!this._id){let r=await this._promise;this._id=r.id}let t=this._id;return new Promise((r,n)=>{let a=new Date().getTime()+this._meta.pollTimeout,o=async()=>{try{let s=new Date().getTime();if(a<s){let c=new Error("Polling time out. Retrieve operation is not completed.");this.emit("error",c),n(c);return}let l=await this._meta.checkRetrieveStatus(t);l.done?(this.emit("complete",l),r(l)):(this.emit("progress",l),setTimeout(o,this._meta.pollInterval))}catch(s){this.emit("error",s),n(s)}};setTimeout(o,this._meta.pollInterval)})}stream(){let t=new pPe.Readable,r=!1;return t._read=async()=>{if(!r){r=!0;try{let n=await this.complete();t.push(Buffer.from(n.zipFile,"base64")),t.push(null)}catch(n){t.emit("error",n)}}},t}};Zr.RetrieveResultLocator=Zw;var o0=class extends Em{async complete(t){if(!this._id){let n=await this._promise;this._id=n.id}let r=this._id;return new Promise((n,i)=>{let o=new Date().getTime()+this._meta.pollTimeout,s=async()=>{try{let l=new Date().getTime();if(o<l){let u=new Error("Polling time out. Deploy operation is not completed.");this.emit("error",u),i(u);return}let c=await this._meta.checkDeployStatus(r,t);c.done?(this.emit("complete",c),n(c)):(this.emit("progress",c),setTimeout(s,this._meta.pollInterval))}catch(l){this.emit("error",l),i(l)}};setTimeout(s,this._meta.pollInterval)})}};Zr.DeployResultLocator=o0;(0,mPe.registerModule)("metadata",e=>new a0(e));Zr.default=a0});var VX=h(Hw=>{"use strict";Object.defineProperty(Hw,"__esModule",{value:!0});Hw.ApiSchemas=void 0;Hw.ApiSchemas={sObject:{type:"sObject",props:{type:"string",fieldsToNull:["?","string"],Id:"?string"}},address:{type:"address",props:{city:"?string",country:"?string",countryCode:"?string",geocodeAccuracy:"?string",postalCode:"?string",state:"?string",stateCode:"?string",street:"?string"},extends:"location"},location:{type:"location",props:{latitude:"?number",longitude:"?number"}},QueryResult:{type:"QueryResult",props:{done:"boolean",queryLocator:"?string",records:["?","sObject"],size:"number"}},SearchResult:{type:"SearchResult",props:{queryId:"string",searchRecords:["SearchRecord"],searchResultsMetadata:"?SearchResultsMetadata"}},SearchRecord:{type:"SearchRecord",props:{record:"sObject",searchRecordMetadata:"?SearchRecordMetadata",snippet:"?SearchSnippet"}},SearchRecordMetadata:{type:"SearchRecordMetadata",props:{searchPromoted:"boolean",spellCorrected:"boolean"}},SearchSnippet:{type:"SearchSnippet",props:{text:"?string",wholeFields:["NameValuePair"]}},SearchResultsMetadata:{type:"SearchResultsMetadata",props:{entityLabelMetadata:["LabelsSearchMetadata"],entityMetadata:["EntitySearchMetadata"]}},LabelsSearchMetadata:{type:"LabelsSearchMetadata",props:{entityFieldLabels:["NameValuePair"],entityName:"string"}},EntitySearchMetadata:{type:"EntitySearchMetadata",props:{entityName:"string",errorMetadata:"?EntityErrorMetadata",fieldMetadata:["FieldLevelSearchMetadata"],intentQueryMetadata:"?EntityIntentQueryMetadata",searchPromotionMetadata:"?EntitySearchPromotionMetadata",spellCorrectionMetadata:"?EntitySpellCorrectionMetadata"}},FieldLevelSearchMetadata:{type:"FieldLevelSearchMetadata",props:{label:"?string",name:"string",type:"?string"}},EntitySpellCorrectionMetadata:{type:"EntitySpellCorrectionMetadata",props:{correctedQuery:"string",hasNonCorrectedResults:"boolean"}},EntitySearchPromotionMetadata:{type:"EntitySearchPromotionMetadata",props:{promotedResultCount:"number"}},EntityIntentQueryMetadata:{type:"EntityIntentQueryMetadata",props:{intentQuery:"boolean",message:"?string"}},EntityErrorMetadata:{type:"EntityErrorMetadata",props:{errorCode:"?string",message:"?string"}},RelationshipReferenceTo:{type:"RelationshipReferenceTo",props:{referenceTo:["string"]}},RecordTypesSupported:{type:"RecordTypesSupported",props:{recordTypeInfos:["RecordTypeInfo"]}},JunctionIdListNames:{type:"JunctionIdListNames",props:{names:["string"]}},SearchLayoutButtonsDisplayed:{type:"SearchLayoutButtonsDisplayed",props:{applicable:"boolean",buttons:["SearchLayoutButton"]}},SearchLayoutButton:{type:"SearchLayoutButton",props:{apiName:"string",label:"string"}},SearchLayoutFieldsDisplayed:{type:"SearchLayoutFieldsDisplayed",props:{applicable:"boolean",fields:["SearchLayoutField"]}},SearchLayoutField:{type:"SearchLayoutField",props:{apiName:"string",label:"string",sortable:"boolean"}},NameValuePair:{type:"NameValuePair",props:{name:"string",value:"string"}},NameObjectValuePair:{type:"NameObjectValuePair",props:{isVisible:"?boolean",name:"string",value:["any"]}},GetUpdatedResult:{type:"GetUpdatedResult",props:{ids:["string"],latestDateCovered:"string"}},GetDeletedResult:{type:"GetDeletedResult",props:{deletedRecords:["DeletedRecord"],earliestDateAvailable:"string",latestDateCovered:"string"}},DeletedRecord:{type:"DeletedRecord",props:{deletedDate:"string",id:"string"}},GetServerTimestampResult:{type:"GetServerTimestampResult",props:{timestamp:"string"}},InvalidateSessionsResult:{type:"InvalidateSessionsResult",props:{errors:["Error"],success:"boolean"}},SetPasswordResult:{type:"SetPasswordResult",props:{}},ChangeOwnPasswordResult:{type:"ChangeOwnPasswordResult",props:{}},ResetPasswordResult:{type:"ResetPasswordResult",props:{password:"string"}},GetUserInfoResult:{type:"GetUserInfoResult",props:{accessibilityMode:"boolean",chatterExternal:"boolean",currencySymbol:"?string",orgAttachmentFileSizeLimit:"number",orgDefaultCurrencyIsoCode:"?string",orgDefaultCurrencyLocale:"?string",orgDisallowHtmlAttachments:"boolean",orgHasPersonAccounts:"boolean",organizationId:"string",organizationMultiCurrency:"boolean",organizationName:"string",profileId:"string",roleId:"?string",sessionSecondsValid:"number",userDefaultCurrencyIsoCode:"?string",userEmail:"string",userFullName:"string",userId:"string",userLanguage:"string",userLocale:"string",userName:"string",userTimeZone:"string",userType:"string",userUiSkin:"string"}},LoginResult:{type:"LoginResult",props:{metadataServerUrl:"?string",passwordExpired:"boolean",sandbox:"boolean",serverUrl:"?string",sessionId:"?string",userId:"?string",userInfo:"?GetUserInfoResult"}},ExtendedErrorDetails:{type:"ExtendedErrorDetails",props:{extendedErrorCode:"string"}},Error:{type:"Error",props:{extendedErrorDetails:["?","ExtendedErrorDetails"],fields:["?","string"],message:"string",statusCode:"string"}},SendEmailError:{type:"SendEmailError",props:{fields:["?","string"],message:"string",statusCode:"string",targetObjectId:"?string"}},SaveResult:{type:"SaveResult",props:{errors:["Error"],id:"?string",success:"boolean"}},RenderEmailTemplateError:{type:"RenderEmailTemplateError",props:{fieldName:"string",message:"string",offset:"number",statusCode:"string"}},UpsertResult:{type:"UpsertResult",props:{created:"boolean",errors:["Error"],id:"?string",success:"boolean"}},PerformQuickActionResult:{type:"PerformQuickActionResult",props:{contextId:"?string",created:"boolean",errors:["Error"],feedItemIds:["?","string"],ids:["?","string"],success:"boolean",successMessage:"?string"}},QuickActionTemplateResult:{type:"QuickActionTemplateResult",props:{contextId:"?string",defaultValueFormulas:"?sObject",defaultValues:"?sObject",errors:["Error"],success:"boolean"}},MergeRequest:{type:"MergeRequest",props:{additionalInformationMap:["AdditionalInformationMap"],masterRecord:"sObject",recordToMergeIds:["string"]}},MergeResult:{type:"MergeResult",props:{errors:["Error"],id:"?string",mergedRecordIds:["string"],success:"boolean",updatedRelatedIds:["string"]}},ProcessRequest:{type:"ProcessRequest",props:{comments:"?string",nextApproverIds:["?","string"]}},ProcessSubmitRequest:{type:"ProcessSubmitRequest",props:{objectId:"string",submitterId:"?string",processDefinitionNameOrId:"?string",skipEntryCriteria:"?boolean"},extends:"ProcessRequest"},ProcessWorkitemRequest:{type:"ProcessWorkitemRequest",props:{action:"string",workitemId:"string"},extends:"ProcessRequest"},PerformQuickActionRequest:{type:"PerformQuickActionRequest",props:{contextId:"?string",quickActionName:"string",records:["?","sObject"]}},DescribeAvailableQuickActionResult:{type:"DescribeAvailableQuickActionResult",props:{actionEnumOrId:"string",label:"string",name:"string",type:"string"}},DescribeQuickActionResult:{type:"DescribeQuickActionResult",props:{accessLevelRequired:"?string",actionEnumOrId:"string",canvasApplicationId:"?string",canvasApplicationName:"?string",colors:["DescribeColor"],contextSobjectType:"?string",defaultValues:["?","DescribeQuickActionDefaultValue"],flowDevName:"?string",flowRecordIdVar:"?string",height:"?number",iconName:"?string",iconUrl:"?string",icons:["DescribeIcon"],label:"string",layout:"?DescribeLayoutSection",lightningComponentBundleId:"?string",lightningComponentBundleName:"?string",lightningComponentQualifiedName:"?string",miniIconUrl:"?string",mobileExtensionDisplayMode:"?string",mobileExtensionId:"?string",name:"string",showQuickActionLcHeader:"boolean",showQuickActionVfHeader:"boolean",targetParentField:"?string",targetRecordTypeId:"?string",targetSobjectType:"?string",type:"string",visualforcePageName:"?string",visualforcePageUrl:"?string",width:"?number"}},DescribeQuickActionDefaultValue:{type:"DescribeQuickActionDefaultValue",props:{defaultValue:"?string",field:"string"}},DescribeVisualForceResult:{type:"DescribeVisualForceResult",props:{domain:"string"}},ProcessResult:{type:"ProcessResult",props:{actorIds:["string"],entityId:"?string",errors:["Error"],instanceId:"?string",instanceStatus:"?string",newWorkitemIds:["?","string"],success:"boolean"}},DeleteResult:{type:"DeleteResult",props:{errors:["?","Error"],id:"?string",success:"boolean"}},UndeleteResult:{type:"UndeleteResult",props:{errors:["Error"],id:"?string",success:"boolean"}},DeleteByExampleResult:{type:"DeleteByExampleResult",props:{entity:"?sObject",errors:["?","Error"],rowCount:"number",success:"boolean"}},EmptyRecycleBinResult:{type:"EmptyRecycleBinResult",props:{errors:["Error"],id:"?string",success:"boolean"}},LeadConvert:{type:"LeadConvert",props:{accountId:"?string",accountRecord:"?sObject",bypassAccountDedupeCheck:"?boolean",bypassContactDedupeCheck:"?boolean",contactId:"?string",contactRecord:"?sObject",convertedStatus:"string",doNotCreateOpportunity:"boolean",leadId:"string",opportunityId:"?string",opportunityName:"?string",opportunityRecord:"?sObject",overwriteLeadSource:"boolean",ownerId:"?string",sendNotificationEmail:"boolean"}},LeadConvertResult:{type:"LeadConvertResult",props:{accountId:"?string",contactId:"?string",errors:["Error"],leadId:"?string",opportunityId:"?string",success:"boolean"}},DescribeSObjectResult:{type:"DescribeSObjectResult",props:{actionOverrides:["?","ActionOverride"],activateable:"boolean",childRelationships:["ChildRelationship"],compactLayoutable:"boolean",createable:"boolean",custom:"boolean",customSetting:"boolean",dataTranslationEnabled:"?boolean",deepCloneable:"boolean",defaultImplementation:"?string",deletable:"boolean",deprecatedAndHidden:"boolean",feedEnabled:"boolean",fields:["?","Field"],hasSubtypes:"boolean",idEnabled:"boolean",implementedBy:"?string",implementsInterfaces:"?string",isInterface:"boolean",isSubtype:"boolean",keyPrefix:"?string",label:"string",labelPlural:"string",layoutable:"boolean",mergeable:"boolean",mruEnabled:"boolean",name:"string",namedLayoutInfos:["NamedLayoutInfo"],networkScopeFieldName:"?string",queryable:"boolean",recordTypeInfos:["RecordTypeInfo"],replicateable:"boolean",retrieveable:"boolean",searchLayoutable:"?boolean",searchable:"boolean",supportedScopes:["?","ScopeInfo"],triggerable:"?boolean",undeletable:"boolean",updateable:"boolean",urlDetail:"?string",urlEdit:"?string",urlNew:"?string"}},DescribeGlobalSObjectResult:{type:"DescribeGlobalSObjectResult",props:{activateable:"boolean",createable:"boolean",custom:"boolean",customSetting:"boolean",dataTranslationEnabled:"?boolean",deepCloneable:"boolean",deletable:"boolean",deprecatedAndHidden:"boolean",feedEnabled:"boolean",hasSubtypes:"boolean",idEnabled:"boolean",isInterface:"boolean",isSubtype:"boolean",keyPrefix:"?string",label:"string",labelPlural:"string",layoutable:"boolean",mergeable:"boolean",mruEnabled:"boolean",name:"string",queryable:"boolean",replicateable:"boolean",retrieveable:"boolean",searchable:"boolean",triggerable:"boolean",undeletable:"boolean",updateable:"boolean"}},ChildRelationship:{type:"ChildRelationship",props:{cascadeDelete:"boolean",childSObject:"string",deprecatedAndHidden:"boolean",field:"string",junctionIdListNames:["?","string"],junctionReferenceTo:["?","string"],relationshipName:"?string",restrictedDelete:"?boolean"}},DescribeGlobalResult:{type:"DescribeGlobalResult",props:{encoding:"?string",maxBatchSize:"number",sobjects:["DescribeGlobalSObjectResult"]}},DescribeGlobalTheme:{type:"DescribeGlobalTheme",props:{global:"DescribeGlobalResult",theme:"DescribeThemeResult"}},ScopeInfo:{type:"ScopeInfo",props:{label:"string",name:"string"}},StringList:{type:"StringList",props:{values:["string"]}},ChangeEventHeader:{type:"ChangeEventHeader",props:{entityName:"string",recordIds:["string"],commitTimestamp:"number",commitNumber:"number",commitUser:"string",diffFields:["string"],changeType:"string",changeOrigin:"string",transactionKey:"string",sequenceNumber:"number",nulledFields:["string"],changedFields:["string"]}},FilteredLookupInfo:{type:"FilteredLookupInfo",props:{controllingFields:["string"],dependent:"boolean",optionalFilter:"boolean"}},Field:{type:"Field",props:{aggregatable:"boolean",aiPredictionField:"boolean",autoNumber:"boolean",byteLength:"number",calculated:"boolean",calculatedFormula:"?string",cascadeDelete:"?boolean",caseSensitive:"boolean",compoundFieldName:"?string",controllerName:"?string",createable:"boolean",custom:"boolean",dataTranslationEnabled:"?boolean",defaultValue:"?any",defaultValueFormula:"?string",defaultedOnCreate:"boolean",dependentPicklist:"?boolean",deprecatedAndHidden:"boolean",digits:"number",displayLocationInDecimal:"?boolean",encrypted:"?boolean",externalId:"?boolean",extraTypeInfo:"?string",filterable:"boolean",filteredLookupInfo:"?FilteredLookupInfo",formulaTreatNullNumberAsZero:"?boolean",groupable:"boolean",highScaleNumber:"?boolean",htmlFormatted:"?boolean",idLookup:"boolean",inlineHelpText:"?string",label:"string",length:"number",mask:"?string",maskType:"?string",name:"string",nameField:"boolean",namePointing:"?boolean",nillable:"boolean",permissionable:"boolean",picklistValues:["?","PicklistEntry"],polymorphicForeignKey:"boolean",precision:"number",queryByDistance:"boolean",referenceTargetField:"?string",referenceTo:["?","string"],relationshipName:"?string",relationshipOrder:"?number",restrictedDelete:"?boolean",restrictedPicklist:"boolean",scale:"number",searchPrefilterable:"boolean",soapType:"string",sortable:"?boolean",type:"string",unique:"boolean",updateable:"boolean",writeRequiresMasterRead:"?boolean"}},PicklistEntry:{type:"PicklistEntry",props:{active:"boolean",defaultValue:"boolean",label:"?string",validFor:"?string",value:"string"}},DescribeDataCategoryGroupResult:{type:"DescribeDataCategoryGroupResult",props:{categoryCount:"number",description:"string",label:"string",name:"string",sobject:"string"}},DescribeDataCategoryGroupStructureResult:{type:"DescribeDataCategoryGroupStructureResult",props:{description:"string",label:"string",name:"string",sobject:"string",topCategories:["DataCategory"]}},DataCategoryGroupSobjectTypePair:{type:"DataCategoryGroupSobjectTypePair",props:{dataCategoryGroupName:"string",sobject:"string"}},DataCategory:{type:"DataCategory",props:{childCategories:["DataCategory"],label:"string",name:"string"}},DescribeDataCategoryMappingResult:{type:"DescribeDataCategoryMappingResult",props:{dataCategoryGroupId:"string",dataCategoryGroupLabel:"string",dataCategoryGroupName:"string",dataCategoryId:"string",dataCategoryLabel:"string",dataCategoryName:"string",id:"string",mappedEntity:"string",mappedField:"string"}},KnowledgeSettings:{type:"KnowledgeSettings",props:{defaultLanguage:"?string",knowledgeEnabled:"boolean",languages:["KnowledgeLanguageItem"]}},KnowledgeLanguageItem:{type:"KnowledgeLanguageItem",props:{active:"boolean",assigneeId:"?string",name:"string"}},FieldDiff:{type:"FieldDiff",props:{difference:"string",name:"string"}},AdditionalInformationMap:{type:"AdditionalInformationMap",props:{name:"string",value:"string"}},MatchRecord:{type:"MatchRecord",props:{additionalInformation:["AdditionalInformationMap"],fieldDiffs:["FieldDiff"],matchConfidence:"number",record:"sObject"}},MatchResult:{type:"MatchResult",props:{entityType:"string",errors:["Error"],matchEngine:"string",matchRecords:["MatchRecord"],rule:"string",size:"number",success:"boolean"}},DuplicateResult:{type:"DuplicateResult",props:{allowSave:"boolean",duplicateRule:"string",duplicateRuleEntityType:"string",errorMessage:"?string",matchResults:["MatchResult"]}},DuplicateError:{type:"DuplicateError",props:{duplicateResult:"DuplicateResult"},extends:"Error"},DescribeNounResult:{type:"DescribeNounResult",props:{caseValues:["NameCaseValue"],developerName:"string",gender:"?string",name:"string",pluralAlias:"?string",startsWith:"?string"}},NameCaseValue:{type:"NameCaseValue",props:{article:"?string",caseType:"?string",number:"?string",possessive:"?string",value:"?string"}},FindDuplicatesResult:{type:"FindDuplicatesResult",props:{duplicateResults:["DuplicateResult"],errors:["Error"],success:"boolean"}},DescribeAppMenuResult:{type:"DescribeAppMenuResult",props:{appMenuItems:["DescribeAppMenuItem"]}},DescribeAppMenuItem:{type:"DescribeAppMenuItem",props:{colors:["DescribeColor"],content:"string",icons:["DescribeIcon"],label:"string",name:"string",type:"string",url:"string"}},DescribeThemeResult:{type:"DescribeThemeResult",props:{themeItems:["DescribeThemeItem"]}},DescribeThemeItem:{type:"DescribeThemeItem",props:{colors:["DescribeColor"],icons:["DescribeIcon"],name:"string"}},DescribeSoftphoneLayoutResult:{type:"DescribeSoftphoneLayoutResult",props:{callTypes:["DescribeSoftphoneLayoutCallType"],id:"string",name:"string"}},DescribeSoftphoneLayoutCallType:{type:"DescribeSoftphoneLayoutCallType",props:{infoFields:["DescribeSoftphoneLayoutInfoField"],name:"string",screenPopOptions:["DescribeSoftphoneScreenPopOption"],screenPopsOpenWithin:"?string",sections:["DescribeSoftphoneLayoutSection"]}},DescribeSoftphoneScreenPopOption:{type:"DescribeSoftphoneScreenPopOption",props:{matchType:"string",screenPopData:"string",screenPopType:"string"}},DescribeSoftphoneLayoutInfoField:{type:"DescribeSoftphoneLayoutInfoField",props:{name:"string"}},DescribeSoftphoneLayoutSection:{type:"DescribeSoftphoneLayoutSection",props:{entityApiName:"string",items:["DescribeSoftphoneLayoutItem"]}},DescribeSoftphoneLayoutItem:{type:"DescribeSoftphoneLayoutItem",props:{itemApiName:"string"}},DescribeCompactLayoutsResult:{type:"DescribeCompactLayoutsResult",props:{compactLayouts:["DescribeCompactLayout"],defaultCompactLayoutId:"string",recordTypeCompactLayoutMappings:["RecordTypeCompactLayoutMapping"]}},DescribeCompactLayout:{type:"DescribeCompactLayout",props:{actions:["DescribeLayoutButton"],fieldItems:["DescribeLayoutItem"],id:"string",imageItems:["DescribeLayoutItem"],label:"string",name:"string",objectType:"string"}},RecordTypeCompactLayoutMapping:{type:"RecordTypeCompactLayoutMapping",props:{available:"boolean",compactLayoutId:"?string",compactLayoutName:"string",recordTypeId:"string",recordTypeName:"string"}},DescribePathAssistantsResult:{type:"DescribePathAssistantsResult",props:{pathAssistants:["DescribePathAssistant"]}},DescribePathAssistant:{type:"DescribePathAssistant",props:{active:"boolean",animationRule:["?","DescribeAnimationRule"],apiName:"string",label:"string",pathPicklistField:"string",picklistsForRecordType:["?","PicklistForRecordType"],recordTypeId:"?string",steps:["DescribePathAssistantStep"]}},DescribePathAssistantStep:{type:"DescribePathAssistantStep",props:{closed:"boolean",converted:"boolean",fields:["DescribePathAssistantField"],info:"?string",layoutSection:"?DescribeLayoutSection",picklistLabel:"string",picklistValue:"string",won:"boolean"}},DescribePathAssistantField:{type:"DescribePathAssistantField",props:{apiName:"string",label:"string",readOnly:"boolean",required:"boolean"}},DescribeAnimationRule:{type:"DescribeAnimationRule",props:{animationFrequency:"string",isActive:"boolean",recordTypeContext:"string",recordTypeId:"?string",targetField:"string",targetFieldChangeToValues:"string"}},DescribeApprovalLayoutResult:{type:"DescribeApprovalLayoutResult",props:{approvalLayouts:["DescribeApprovalLayout"]}},DescribeApprovalLayout:{type:"DescribeApprovalLayout",props:{id:"string",label:"string",layoutItems:["DescribeLayoutItem"],name:"string"}},DescribeLayoutResult:{type:"DescribeLayoutResult",props:{layouts:["DescribeLayout"],recordTypeMappings:["RecordTypeMapping"],recordTypeSelectorRequired:"boolean"}},DescribeLayout:{type:"DescribeLayout",props:{buttonLayoutSection:"?DescribeLayoutButtonSection",detailLayoutSections:["DescribeLayoutSection"],editLayoutSections:["DescribeLayoutSection"],feedView:"?DescribeLayoutFeedView",highlightsPanelLayoutSection:"?DescribeLayoutSection",id:"?string",quickActionList:"?DescribeQuickActionListResult",relatedContent:"?RelatedContent",relatedLists:["RelatedList"],saveOptions:["DescribeLayoutSaveOption"]}},DescribeQuickActionListResult:{type:"DescribeQuickActionListResult",props:{quickActionListItems:["DescribeQuickActionListItemResult"]}},DescribeQuickActionListItemResult:{type:"DescribeQuickActionListItemResult",props:{accessLevelRequired:"?string",colors:["DescribeColor"],iconUrl:"?string",icons:["DescribeIcon"],label:"string",miniIconUrl:"string",quickActionName:"string",targetSobjectType:"?string",type:"string"}},DescribeLayoutFeedView:{type:"DescribeLayoutFeedView",props:{feedFilters:["DescribeLayoutFeedFilter"]}},DescribeLayoutFeedFilter:{type:"DescribeLayoutFeedFilter",props:{label:"string",name:"string",type:"string"}},DescribeLayoutSaveOption:{type:"DescribeLayoutSaveOption",props:{defaultValue:"boolean",isDisplayed:"boolean",label:"string",name:"string",restHeaderName:"string",soapHeaderName:"string"}},DescribeLayoutSection:{type:"DescribeLayoutSection",props:{collapsed:"boolean",columns:"number",heading:"?string",layoutRows:["DescribeLayoutRow"],layoutSectionId:"?string",parentLayoutId:"string",rows:"number",tabOrder:"string",useCollapsibleSection:"boolean",useHeading:"boolean"}},DescribeLayoutButtonSection:{type:"DescribeLayoutButtonSection",props:{detailButtons:["DescribeLayoutButton"]}},DescribeLayoutRow:{type:"DescribeLayoutRow",props:{layoutItems:["DescribeLayoutItem"],numItems:"number"}},DescribeLayoutItem:{type:"DescribeLayoutItem",props:{editableForNew:"boolean",editableForUpdate:"boolean",label:"?string",layoutComponents:["DescribeLayoutComponent"],placeholder:"boolean",required:"boolean"}},DescribeLayoutButton:{type:"DescribeLayoutButton",props:{behavior:"?string",colors:["DescribeColor"],content:"?string",contentSource:"?string",custom:"boolean",encoding:"?string",height:"?number",icons:["DescribeIcon"],label:"?string",menubar:"?boolean",name:"?string",overridden:"boolean",resizeable:"?boolean",scrollbars:"?boolean",showsLocation:"?boolean",showsStatus:"?boolean",toolbar:"?boolean",url:"?string",width:"?number",windowPosition:"?string"}},DescribeLayoutComponent:{type:"DescribeLayoutComponent",props:{displayLines:"number",tabOrder:"number",type:"string",value:"?string"}},FieldComponent:{type:"FieldComponent",props:{field:"Field"},extends:"DescribeLayoutComponent"},FieldLayoutComponent:{type:"FieldLayoutComponent",props:{components:["DescribeLayoutComponent"],fieldType:"string"},extends:"DescribeLayoutComponent"},VisualforcePage:{type:"VisualforcePage",props:{showLabel:"boolean",showScrollbars:"boolean",suggestedHeight:"string",suggestedWidth:"string",url:"string"},extends:"DescribeLayoutComponent"},Canvas:{type:"Canvas",props:{displayLocation:"string",referenceId:"string",showLabel:"boolean",showScrollbars:"boolean",suggestedHeight:"string",suggestedWidth:"string"},extends:"DescribeLayoutComponent"},ReportChartComponent:{type:"ReportChartComponent",props:{cacheData:"boolean",contextFilterableField:"string",error:"string",hideOnError:"boolean",includeContext:"boolean",showTitle:"boolean",size:"string"},extends:"DescribeLayoutComponent"},AnalyticsCloudComponent:{type:"AnalyticsCloudComponent",props:{error:"string",filter:"string",height:"string",hideOnError:"boolean",showSharing:"boolean",showTitle:"boolean",width:"string"},extends:"DescribeLayoutComponent"},CustomLinkComponent:{type:"CustomLinkComponent",props:{customLink:"DescribeLayoutButton"},extends:"DescribeLayoutComponent"},NamedLayoutInfo:{type:"NamedLayoutInfo",props:{name:"string"}},RecordTypeInfo:{type:"RecordTypeInfo",props:{active:"boolean",available:"boolean",defaultRecordTypeMapping:"boolean",developerName:"string",master:"boolean",name:"string",recordTypeId:"?string"}},RecordTypeMapping:{type:"RecordTypeMapping",props:{active:"boolean",available:"boolean",defaultRecordTypeMapping:"boolean",developerName:"string",layoutId:"string",master:"boolean",name:"string",picklistsForRecordType:["?","PicklistForRecordType"],recordTypeId:"?string"}},PicklistForRecordType:{type:"PicklistForRecordType",props:{picklistName:"string",picklistValues:["?","PicklistEntry"]}},RelatedContent:{type:"RelatedContent",props:{relatedContentItems:["DescribeRelatedContentItem"]}},DescribeRelatedContentItem:{type:"DescribeRelatedContentItem",props:{describeLayoutItem:"DescribeLayoutItem"}},RelatedList:{type:"RelatedList",props:{accessLevelRequiredForCreate:"?string",buttons:["?","DescribeLayoutButton"],columns:["RelatedListColumn"],custom:"boolean",field:"?string",label:"string",limitRows:"number",name:"string",sobject:"?string",sort:["RelatedListSort"]}},RelatedListColumn:{type:"RelatedListColumn",props:{field:"?string",fieldApiName:"string",format:"?string",label:"string",lookupId:"?string",name:"string",sortable:"boolean"}},RelatedListSort:{type:"RelatedListSort",props:{ascending:"boolean",column:"string"}},EmailFileAttachment:{type:"EmailFileAttachment",props:{body:"?string",contentType:"?string",fileName:"string",id:"?string",inline:"?boolean"}},Email:{type:"Email",props:{bccSender:"?boolean",emailPriority:"?string",replyTo:"?string",saveAsActivity:"?boolean",senderDisplayName:"?string",subject:"?string",useSignature:"?boolean"}},MassEmailMessage:{type:"MassEmailMessage",props:{description:"?string",targetObjectIds:"?string",templateId:"string",whatIds:"?string"},extends:"Email"},SingleEmailMessage:{type:"SingleEmailMessage",props:{bccAddresses:"?string",ccAddresses:"?string",charset:"?string",documentAttachments:["string"],entityAttachments:["string"],fileAttachments:["EmailFileAttachment"],htmlBody:"?string",inReplyTo:"?string",optOutPolicy:"?string",orgWideEmailAddressId:"?string",plainTextBody:"?string",references:"?string",targetObjectId:"?string",templateId:"?string",templateName:"?string",toAddresses:"?string",treatBodiesAsTemplate:"?boolean",treatTargetObjectAsRecipient:"?boolean",whatId:"?string"},extends:"Email"},SendEmailResult:{type:"SendEmailResult",props:{errors:["SendEmailError"],success:"boolean"}},ListViewColumn:{type:"ListViewColumn",props:{ascendingLabel:"?string",descendingLabel:"?string",fieldNameOrPath:"string",hidden:"boolean",label:"string",searchable:"boolean",selectListItem:"string",sortDirection:"?string",sortIndex:"?number",sortable:"boolean",type:"string"}},ListViewOrderBy:{type:"ListViewOrderBy",props:{fieldNameOrPath:"string",nullsPosition:"?string",sortDirection:"?string"}},DescribeSoqlListView:{type:"DescribeSoqlListView",props:{columns:["ListViewColumn"],id:"string",orderBy:["ListViewOrderBy"],query:"string",relatedEntityId:"?string",scope:"?string",scopeEntityId:"?string",sobjectType:"string",whereCondition:"?SoqlWhereCondition"}},DescribeSoqlListViewsRequest:{type:"DescribeSoqlListViewsRequest",props:{listViewParams:["DescribeSoqlListViewParams"]}},DescribeSoqlListViewParams:{type:"DescribeSoqlListViewParams",props:{developerNameOrId:"string",sobjectType:"?string"}},DescribeSoqlListViewResult:{type:"DescribeSoqlListViewResult",props:{describeSoqlListViews:["DescribeSoqlListView"]}},ExecuteListViewRequest:{type:"ExecuteListViewRequest",props:{developerNameOrId:"string",limit:"?number",offset:"?number",orderBy:["ListViewOrderBy"],sobjectType:"string"}},ExecuteListViewResult:{type:"ExecuteListViewResult",props:{columns:["ListViewColumn"],developerName:"string",done:"boolean",id:"string",label:"string",records:["ListViewRecord"],size:"number"}},ListViewRecord:{type:"ListViewRecord",props:{columns:["ListViewRecordColumn"]}},ListViewRecordColumn:{type:"ListViewRecordColumn",props:{fieldNameOrPath:"string",value:"?string"}},SoqlWhereCondition:{type:"SoqlWhereCondition",props:{}},SoqlCondition:{type:"SoqlCondition",props:{field:"string",operator:"string",values:["string"]},extends:"SoqlWhereCondition"},SoqlNotCondition:{type:"SoqlNotCondition",props:{condition:"SoqlWhereCondition"},extends:"SoqlWhereCondition"},SoqlConditionGroup:{type:"SoqlConditionGroup",props:{conditions:["SoqlWhereCondition"],conjunction:"string"},extends:"SoqlWhereCondition"},SoqlSubQueryCondition:{type:"SoqlSubQueryCondition",props:{field:"string",operator:"string",subQuery:"string"},extends:"SoqlWhereCondition"},DescribeSearchLayoutResult:{type:"DescribeSearchLayoutResult",props:{errorMsg:"?string",label:"?string",limitRows:"?number",objectType:"string",searchColumns:["?","DescribeColumn"]}},DescribeColumn:{type:"DescribeColumn",props:{field:"string",format:"?string",label:"string",name:"string"}},DescribeSearchScopeOrderResult:{type:"DescribeSearchScopeOrderResult",props:{keyPrefix:"string",name:"string"}},DescribeSearchableEntityResult:{type:"DescribeSearchableEntityResult",props:{label:"string",name:"string",pluralLabel:"string"}},DescribeTabSetResult:{type:"DescribeTabSetResult",props:{description:"string",label:"string",logoUrl:"string",namespace:"?string",selected:"boolean",tabSetId:"string",tabs:["DescribeTab"]}},DescribeTab:{type:"DescribeTab",props:{colors:["DescribeColor"],custom:"boolean",iconUrl:"string",icons:["DescribeIcon"],label:"string",miniIconUrl:"string",name:"string",sobjectName:"?string",url:"string"}},DescribeColor:{type:"DescribeColor",props:{color:"string",context:"string",theme:"string"}},DescribeIcon:{type:"DescribeIcon",props:{contentType:"string",height:"?number",theme:"string",url:"string",width:"?number"}},ActionOverride:{type:"ActionOverride",props:{formFactor:"string",isAvailableInTouch:"boolean",name:"string",pageId:"string",url:"?string"}},RenderEmailTemplateRequest:{type:"RenderEmailTemplateRequest",props:{escapeHtmlInMergeFields:"?boolean",templateBodies:"string",whatId:"?string",whoId:"?string"}},RenderEmailTemplateBodyResult:{type:"RenderEmailTemplateBodyResult",props:{errors:["RenderEmailTemplateError"],mergedBody:"?string",success:"boolean"}},RenderEmailTemplateResult:{type:"RenderEmailTemplateResult",props:{bodyResults:"?RenderEmailTemplateBodyResult",errors:["Error"],success:"boolean"}},RenderStoredEmailTemplateRequest:{type:"RenderStoredEmailTemplateRequest",props:{attachmentRetrievalOption:"?string",templateId:"string",updateTemplateUsage:"?boolean",whatId:"?string",whoId:"?string"}},RenderStoredEmailTemplateResult:{type:"RenderStoredEmailTemplateResult",props:{errors:["Error"],renderedEmail:"?SingleEmailMessage",success:"boolean"}},LimitInfo:{type:"LimitInfo",props:{current:"number",limit:"number",type:"string"}},OwnerChangeOption:{type:"OwnerChangeOption",props:{type:"string",execute:"boolean"}},ApiFault:{type:"ApiFault",props:{exceptionCode:"string",exceptionMessage:"string",extendedErrorDetails:["?","ExtendedErrorDetails"]}},ApiQueryFault:{type:"ApiQueryFault",props:{row:"number",column:"number"},extends:"ApiFault"},LoginFault:{type:"LoginFault",props:{},extends:"ApiFault"},InvalidQueryLocatorFault:{type:"InvalidQueryLocatorFault",props:{},extends:"ApiFault"},InvalidNewPasswordFault:{type:"InvalidNewPasswordFault",props:{},extends:"ApiFault"},InvalidOldPasswordFault:{type:"InvalidOldPasswordFault",props:{},extends:"ApiFault"},InvalidIdFault:{type:"InvalidIdFault",props:{},extends:"ApiFault"},UnexpectedErrorFault:{type:"UnexpectedErrorFault",props:{},extends:"ApiFault"},InvalidFieldFault:{type:"InvalidFieldFault",props:{},extends:"ApiQueryFault"},InvalidSObjectFault:{type:"InvalidSObjectFault",props:{},extends:"ApiQueryFault"},MalformedQueryFault:{type:"MalformedQueryFault",props:{},extends:"ApiQueryFault"},MalformedSearchFault:{type:"MalformedSearchFault",props:{},extends:"ApiQueryFault"}}});var WX=h(np=>{"use strict";var yPe=np&&np.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(np,"__esModule",{value:!0});np.SoapApi=void 0;var bPe=Wi(),vPe=yPe(hT()),Ar=VX();function bT(e){return(Array.isArray(e)?e:[e]).map(t=>{let{type:r,attributes:n,...i}=t,a=r||n?.type;if(!a)throw new Error("Given record is not including sObject type information");let o=Object.keys(i).filter(s=>t[s]===null);for(let s of o)delete i[s];return o.length>0?{type:a,fieldsToNull:o,...i}:{type:a,...i}})}var s0=class{_conn;constructor(t){this._conn=t}async _invoke(t,r,n){return(await new vPe.default(this._conn,{xmlns:"urn:partner.soap.sforce.com",endpointUrl:`${this._conn.instanceUrl}/services/Soap/u/${this._conn.version}`}).invoke(t,r,n?{result:n}:void 0,Ar.ApiSchemas)).result}async convertLead(t){let r=Array.isArray(t)?[Ar.ApiSchemas.LeadConvertResult]:Ar.ApiSchemas.LeadConvertResult;return this._invoke("convertLead",{leadConverts:t},r)}async merge(t){let r=Array.isArray(t)?[Ar.ApiSchemas.MergeResult]:Ar.ApiSchemas.MergeResult;return this._invoke("merge",{mergeRequests:t},r)}async emptyRecycleBin(t){return this._invoke("emptyRecycleBin",{ids:t},[Ar.ApiSchemas.EmptyRecycleBinResult])}async describeTabs(){return this._invoke("describeTabs",{},[Ar.ApiSchemas.DescribeTabSetResult])}async getServerTimestamp(){return this._invoke("getServerTimestamp",{},Ar.ApiSchemas.GetServerTimestampResult)}async getUserInfo(){return this._invoke("getUserInfo",{},Ar.ApiSchemas.GetUserInfoResult)}setPassword(t,r){return this._invoke("setPassword",{userId:t,password:r},"string")}resetPassword(t){return this._invoke("resetPassword",{userId:t},Ar.ApiSchemas.ResetPasswordResult)}create(t){let r=Array.isArray(t)?[Ar.ApiSchemas.SaveResult]:Ar.ApiSchemas.SaveResult,n={"@xmlns":"urn:partner.soap.sforce.com","@xmlns:ns1":"sobject.partner.soap.sforce.com","ns1:sObjects":bT(t)};return this._invoke("create",n,r)}update(t){let r=Array.isArray(t)?[Ar.ApiSchemas.SaveResult]:Ar.ApiSchemas.SaveResult,n={"@xmlns":"urn:partner.soap.sforce.com","@xmlns:ns1":"sobject.partner.soap.sforce.com","ns1:sObjects":bT(t)};return this._invoke("update",n,r)}upsert(t,r){let n=Array.isArray(r)?[Ar.ApiSchemas.UpsertResult]:Ar.ApiSchemas.UpsertResult,i={"@xmlns":"urn:partner.soap.sforce.com","@xmlns:ns1":"sobject.partner.soap.sforce.com","ns1:externalIDFieldName":t,"ns1:sObjects":bT(r)};return this._invoke("upsert",i,n)}delete(t){let r=Array.isArray(t)?[Ar.ApiSchemas.DeleteResult]:Ar.ApiSchemas.DeleteResult,n={"@xmlns":"urn:partner.soap.sforce.com","@xmlns:ns1":"sobject.partner.soap.sforce.com","ns1:ids":t};return this._invoke("delete",n,r)}undelete(t){let r=[Ar.ApiSchemas.UndeleteResult],n={"@xmlns":"urn:partner.soap.sforce.com","@xmlns:ns1":"sobject.partner.soap.sforce.com","ns1:ids":t};return this._invoke("undelete",n,r)}};np.SoapApi=s0;(0,bPe.registerModule)("soap",e=>new s0(e));np.default=s0});var xm=h((s6t,ZX)=>{ZX.exports={VERSION:"1.4.1",BAYEUX_VERSION:"1.0",ID_LENGTH:160,JSONP_CALLBACK:"jsonpcallback",CONNECTION_TYPES:["long-polling","cross-origin-long-polling","callback-polling","websocket","eventsource","in-process"],MANDATORY_CONNECTION_TYPES:["long-polling","callback-polling","in-process"]}});var Om=h((l6t,HX)=>{"use strict";HX.exports=function(e){return JSON.stringify(e,function(t,r){return this[t]instanceof Array?this[t]:r})}});var Xl=h((c6t,JX)=>{"use strict";var _Pe=Om(),Cm={LOG_LEVELS:{fatal:4,error:3,warn:2,info:1,debug:0},writeLog:function(e,t){var r=Cm.logger||(Cm.wrapper||Cm).logger;if(r){var n=Array.prototype.slice.apply(e),i="[Faye",a=this.className,o=n.shift().replace(/\?/g,function(){try{return _Pe(n.shift())}catch{return"[Object]"}});a&&(i+="."+a),i+="] ",typeof r[t]=="function"?r[t](i+o):typeof r=="function"&&r(i+o)}}};for(GX in Cm.LOG_LEVELS)(function(e){Cm[e]=function(){this.writeLog(arguments,e)}})(GX);var GX;JX.exports=Cm});var eY=h((u6t,QX)=>{"use strict";var Gw,wPe=typeof setImmediate=="function";QX.exports=XX;function XX(e){is.length||(YX(),vT=!0),is[is.length]=e}var is=[],vT=!1,ns=0,SPe=1024;function KX(){for(;ns<is.length;){var e=ns;if(ns=ns+1,is[e].call(),ns>SPe){for(var t=0,r=is.length-ns;t<r;t++)is[t]=is[t+ns];is.length-=ns,ns=0}}is.length=0,ns=0,vT=!1}XX.requestFlush=YX;function YX(){var e=process.domain;e&&(Gw||(Gw=require("domain")),Gw.active=process.domain=null),vT&&wPe?setImmediate(KX):process.nextTick(KX),e&&(Gw.active=process.domain=e)}});var l0=h((d6t,nY)=>{"use strict";var tY=eY(),_T=[];nY.exports=EPe;function EPe(e){var t;_T.length?t=_T.pop():t=new rY,t.task=e,t.domain=process.domain,tY(t)}function rY(){this.task=null,this.domain=null}rY.prototype.call=function(){this.domain&&this.domain.enter();var e=!0;try{this.task.call(),e=!1,this.domain&&this.domain.exit()}finally{e&&tY.requestFlush(),this.task=null,this.domain=null,_T.push(this)}}});var Dr=h((p6t,iY)=>{"use strict";var xPe=Array.prototype.forEach,OPe=Object.prototype.hasOwnProperty;iY.exports=function(e){return xPe.call(arguments,function(t,r){if(r!==0)for(var n in t)OPe.call(t,n)&&(e[n]=t[n])}),e}});var Lr=h((f6t,aY)=>{"use strict";var CPe=Dr();aY.exports=function(e,t){typeof e!="function"&&(t=e,e=Object);var r=function(){return this.initialize?this.initialize.apply(this,arguments)||this:this},n=function(){};return n.prototype=e.prototype,r.prototype=new n,CPe(r.prototype,t),r}});var Tm=h((m6t,dY)=>{"use strict";var TPe=l0(),oY=-1,IPe=0,APe=1,cn=function(e){this._state=oY,this._value=null,this._defer=[],sY(this,e)};cn.prototype.then=function(e,t){var r=new cn,n={promise:r,onFulfilled:e,onRejected:t};return this._state===oY?this._defer.push(n):lY(this,n),r};cn.prototype.catch=function(e){return this.then(null,e)};var sY=function(e,t){if(typeof t=="function"){var r=0,n=function(a){r++===0&&wT(e,a)},i=function(a){r++===0&&c0(e,a)};try{t(n,i)}catch(a){i(a)}}},lY=function(e,t){var r=e._state,n=e._value,i=t.promise,a=[t.onFulfilled,t.onRejected][r],o=[wT,c0][r];if(typeof a!="function")return o(i,n);TPe(function(){try{wT(i,a(n))}catch(s){c0(i,s)}})},wT=function(e,t){if(e===t)return c0(e,new TypeError("Recursive promise chain detected"));var r;try{r=cY(t)}catch(n){return c0(e,n)}if(!r)return DPe(e,t);sY(e,function(n,i){r.call(t,n,i)})},cY=function(e){var t=typeof e,r=(t==="object"||t==="function")&&e&&e.then;return typeof r=="function"?r:null},DPe=function(e,t){uY(e,IPe,t)},c0=function(e,t){uY(e,APe,t)},uY=function(e,t,r){var n=e._defer,i=0;if(e._state=t,e._value=r,e._defer=null,n.length!==0)for(;i<n.length;)lY(e,n[i++])};cn.resolve=function(e){try{if(cY(e))return e}catch(t){return cn.reject(t)}return new cn(function(t,r){t(e)})};cn.reject=function(e){return new cn(function(t,r){r(e)})};cn.all=function(e){return new cn(function(t,r){var n=[],i=e.length,a;if(i===0)return t(n);var o=function(s,l){cn.resolve(s).then(function(c){n[l]=c,--i===0&&t(n)},r)};for(a=0;a<i;a++)o(e[a],a)})};cn.race=function(e){return new cn(function(t,r){for(var n=0,i=e.length;n<i;n++)cn.resolve(e[n]).then(t,r)})};cn.deferred=function(){var e={};return e.promise=new cn(function(t,r){e.resolve=t,e.reject=r}),e};dY.exports=cn});var Im=h((h6t,pY)=>{"use strict";pY.exports={commonElement:function(e,t){for(var r=0,n=e.length;r<n;r++)if(this.indexOf(t,e[r])!==-1)return e[r];return null},indexOf:function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},map:function(e,t,r){if(e.map)return e.map(t,r);var n=[];if(e instanceof Array)for(var i=0,a=e.length;i<a;i++)n.push(t.call(r||null,e[i],i));else for(var o in e)e.hasOwnProperty(o)&&n.push(t.call(r||null,o,e[o]));return n},filter:function(e,t,r){if(e.filter)return e.filter(t,r);for(var n=[],i=0,a=e.length;i<a;i++)t.call(r||null,e[i],i)&&n.push(e[i]);return n},asyncEach:function(e,t,r,n){var i=e.length,a=-1,o=0,s=!1,l=function(){if(o-=1,a+=1,a===i)return r&&r.call(n);t(e[a],u)},c=function(){if(!s){for(s=!0;o>0;)l();s=!1}},u=function(){o+=1,c()};u()}}});var ST=h((g6t,fY)=>{"use strict";fY.exports={}});var ET=h((y6t,mY)=>{"use strict";var LPe=Im();mY.exports=function(e,t){for(var r in e)if(LPe.indexOf(t,r)<0)throw new Error("Unrecognized option: "+r)}});var Am=h((b6t,hY)=>{"use strict";var kPe=Tm();hY.exports={then:function(e,t){var r=this;return this._promise||(this._promise=new kPe(function(n,i){r._resolve=n,r._reject=i})),arguments.length===0?this._promise:this._promise.then(e,t)},callback:function(e,t){return this.then(function(r){e.call(t,r)})},errback:function(e,t){return this.then(null,function(r){e.call(t,r)})},timeout:function(e,t){this.then();var r=this;this._timer=global.setTimeout(function(){r._reject(t)},e*1e3)},setDeferredStatus:function(e,t){this._timer&&global.clearTimeout(this._timer),this.then(),e==="succeeded"?this._resolve(t):e==="failed"?this._reject(t):delete this._promise}}});var yY=h((v6t,gY)=>{var u0=typeof Array.isArray=="function"?Array.isArray:function(e){return Object.prototype.toString.call(e)==="[object Array]"};function NPe(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(t===e[r])return r;return-1}function Yl(){}gY.exports=Yl;Yl.prototype.emit=function(e){if(e==="error"&&(!this._events||!this._events.error||u0(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[e];if(!t)return!1;if(typeof t=="function"){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var r=Array.prototype.slice.call(arguments,1);t.apply(this,r)}return!0}else if(u0(t)){for(var r=Array.prototype.slice.call(arguments,1),n=t.slice(),i=0,a=n.length;i<a;i++)n[i].apply(this,r);return!0}else return!1};Yl.prototype.addListener=function(e,t){if(typeof t!="function")throw new Error("addListener only takes instances of Function");return this._events||(this._events={}),this.emit("newListener",e,t),this._events[e]?u0(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,this};Yl.prototype.on=Yl.prototype.addListener;Yl.prototype.once=function(e,t){var r=this;return r.on(e,function n(){r.removeListener(e,n),t.apply(this,arguments)}),this};Yl.prototype.removeListener=function(e,t){if(typeof t!="function")throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[e])return this;var r=this._events[e];if(u0(r)){var n=NPe(r,t);if(n<0)return this;r.splice(n,1),r.length==0&&delete this._events[e]}else this._events[e]===t&&delete this._events[e];return this};Yl.prototype.removeAllListeners=function(e){return arguments.length===0?(this._events={},this):(e&&this._events&&this._events[e]&&(this._events[e]=null),this)};Yl.prototype.listeners=function(e){return this._events||(this._events={}),this._events[e]||(this._events[e]=[]),u0(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]}});var Dm=h((_6t,bY)=>{"use strict";var jPe=Dr(),PPe=yY(),Jw={countListeners:function(e){return this.listeners(e).length},bind:function(e,t,r){var n=Array.prototype.slice,i=function(){t.apply(r,n.call(arguments))};return this._listeners=this._listeners||[],this._listeners.push([e,t,r,i]),this.on(e,i)},unbind:function(e,t,r){this._listeners=this._listeners||[];for(var n=this._listeners.length,i;n--;)i=this._listeners[n],i[0]===e&&(t&&(i[1]!==t||i[2]!==r)||(this._listeners.splice(n,1),this.removeListener(e,i[3])))}};jPe(Jw,PPe.prototype);Jw.trigger=Jw.emit;bY.exports=Jw});var Kw=h((w6t,vY)=>{"use strict";vY.exports={CHANNEL_NAME:/^\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+(\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+)*$/,CHANNEL_PATTERN:/^(\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+)*\/\*{1,2}$/,ERROR:/^([0-9][0-9][0-9]:(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*(,(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*)*:(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*|[0-9][0-9][0-9]::(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*)$/,VERSION:/^([0-9])+(\.(([a-z]|[A-Z])|[0-9])(((([a-z]|[A-Z])|[0-9])|\-|\_))*)*$/}});var p0=h((S6t,EY)=>{"use strict";var wY=Lr(),SY=Dr(),MPe=Dm(),_Y=Kw(),d0=wY({initialize:function(e){this.id=this.name=e},push:function(e){this.trigger("message",e)},isUnused:function(){return this.countListeners("message")===0}});SY(d0.prototype,MPe);SY(d0,{HANDSHAKE:"/meta/handshake",CONNECT:"/meta/connect",SUBSCRIBE:"/meta/subscribe",UNSUBSCRIBE:"/meta/unsubscribe",DISCONNECT:"/meta/disconnect",META:"meta",SERVICE:"service",expand:function(e){var t=this.parse(e),r=["/**",e],n=t.slice();n[n.length-1]="*",r.push(this.unparse(n));for(var i=1,a=t.length;i<a;i++)n=t.slice(0,i),n.push("**"),r.push(this.unparse(n));return r},isValid:function(e){return _Y.CHANNEL_NAME.test(e)||_Y.CHANNEL_PATTERN.test(e)},parse:function(e){return this.isValid(e)?e.split("/").slice(1):null},unparse:function(e){return"/"+e.join("/")},isMeta:function(e){var t=this.parse(e);return t?t[0]===this.META:null},isService:function(e){var t=this.parse(e);return t?t[0]===this.SERVICE:null},isSubscribable:function(e){return this.isValid(e)?!this.isMeta(e)&&!this.isService(e):null},Set:wY({initialize:function(){this._channels={}},getKeys:function(){var e=[];for(var t in this._channels)e.push(t);return e},remove:function(e){delete this._channels[e]},hasSubscription:function(e){return this._channels.hasOwnProperty(e)},subscribe:function(e,t){for(var r,n=0,i=e.length;n<i;n++){r=e[n];var a=this._channels[r]=this._channels[r]||new d0(r);a.bind("message",t)}},unsubscribe:function(e,t){var r=this._channels[e];return r?(r.unbind("message",t),r.isUnused()?(this.remove(e),!0):!1):!1},distributeMessage:function(e){for(var t=d0.expand(e.channel),r=0,n=t.length;r<n;r++){var i=this._channels[t[r]];i&&i.trigger("message",e)}}})});EY.exports=d0});var f0=h((E6t,xY)=>{"use strict";xY.exports={isURI:function(e){return e&&e.protocol&&e.host&&e.path},isSameOrigin:function(e){return e.protocol===location.protocol&&e.hostname===location.hostname&&e.port===location.port},parse:function(e){if(typeof e!="string")return e;var t={},r,n,i,a,o,s,l=function(c,u){e=e.replace(u,function(d){return t[c]=d,""}),t[c]=t[c]||""};for(l("protocol",/^[a-z]+\:/i),l("host",/^\/\/[^\/\?#]+/),!/^\//.test(e)&&!t.host&&(e=location.pathname.replace(/[^\/]*$/,"")+e),l("pathname",/^[^\?#]*/),l("search",/^\?[^#]*/),l("hash",/^#.*/),t.protocol=t.protocol||location.protocol,t.host?(t.host=t.host.substr(2),/@/.test(t.host)&&(t.auth=t.host.split("@")[0],t.host=t.host.split("@")[1]),r=t.host.match(/^\[([^\]]+)\]|^[^:]+/),t.hostname=r[1]||r[0],t.port=(t.host.match(/:(\d+)$/)||[])[1]||""):(t.host=location.host,t.hostname=location.hostname,t.port=location.port),t.pathname=t.pathname||"/",t.path=t.pathname+t.search,n=t.search.replace(/^\?/,""),i=n?n.split("&"):[],s={},a=0,o=i.length;a<o;a++)r=i[a].split("="),s[decodeURIComponent(r[0]||"")]=decodeURIComponent(r[1]||"");return t.query=s,t.href=this.stringify(t),t},stringify:function(e){var t=e.auth?e.auth+"@":"",r=e.protocol+"//"+t+e.host;return r+=e.pathname+this.queryString(e.query)+(e.hash||""),r},queryString:function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t.length===0?"":"?"+t.join("&")}}});var FY=h(wu=>{"use strict";function RPe(e,t){return e.endsWith(t)?e.length===t.length||e[e.length-t.length-1]===".":!1}function FPe(e,t){let r=e.length-t.length-2,n=e.lastIndexOf(".",r);return n===-1?e:e.slice(n+1)}function $Pe(e,t,r){if(r.validHosts!==null){let i=r.validHosts;for(let a of i)if(RPe(t,a))return a}let n=0;if(t.startsWith("."))for(;n<t.length&&t[n]===".";)n+=1;return e.length===t.length-n?null:FPe(t,e)}function UPe(e,t){return e.slice(0,-t.length-1)}var xT=/[\t\n\r]/g,OT=!1;function OY(e){return e>=97&&e<=122||e>=48&&e<=57||e>127||e>=65&&e<=90||e===45||e===95}function CY(e,t,r){let n=r-t,i=e.charCodeAt(t)|32;if(n===2)return i===119&&(e.charCodeAt(t+1)|32)===115?1:0;if(n===3){let a=e.charCodeAt(t+1)|32,o=e.charCodeAt(t+2)|32;return i===119&&a===115&&o===115||i===102&&a===116&&o===112?1:0}else if(n===4){let a=e.charCodeAt(t+1)|32,o=e.charCodeAt(t+2)|32,s=e.charCodeAt(t+3)|32;return i===104&&a===116&&o===116&&s===112?1:i===102&&a===105&&o===108&&s===101?2:0}else if(n===5)return i===104&&(e.charCodeAt(t+1)|32)===116&&(e.charCodeAt(t+2)|32)===116&&(e.charCodeAt(t+3)|32)===112&&(e.charCodeAt(t+4)|32)===115?1:0;return 0}function m0(e,t,r=!1){let n=0,i=e.length,a=!1,o=!1;if(OT=!1,!t){if(e.startsWith("data:"))return null;for(;n<e.length&&e.charCodeAt(n)<=32;)n+=1;for(;i>n+1&&e.charCodeAt(i-1)<=32;)i-=1;if(e.charCodeAt(n)===47&&e.charCodeAt(n+1)===47)n+=2;else{let v=e.indexOf(":/",n);if(v!==-1){let S=CY(e,n,v);if(S===1)for(o=!0,n=v+2;e.charCodeAt(n)===47||e.charCodeAt(n)===92;)n+=1;else if(S===2){o=!0,n=v+1;let E=0;for(;(e.charCodeAt(n)===47||e.charCodeAt(n)===92)&&E<2;)n+=1,E+=1;if(E<2)return null}else{for(let E=n;E<v;E+=1){let w=e.charCodeAt(E)|32;if(!(w>=97&&w<=122||w>=48&&w<=57||w===46||w===45||w===43)){let _=e.charCodeAt(E);return _===9||_===10||_===13?m0(e.replace(xT,""),t,r):null}}if(e.charCodeAt(v+2)===47)n=v+3;else return null}}else if(e.charCodeAt(n)!==91){let S=-1;for(let E=n;E<i;E+=1){let w=e.charCodeAt(E);if(w===9||w===10||w===13)return m0(e.replace(xT,""),t,r);if(w===58){S=E;break}if(w===47||w===92||w===63||w===35)break}if(S!==-1){let E=!1;for(let w=S+1;w<i;w+=1){let _=e.charCodeAt(w);if(_===47||_===92||_===63||_===35)break;if(_===64){E=!0;break}}if(!E){let w=!0,_=S+1;for(;_<i;_+=1){let b=e.charCodeAt(_);if(b===47||b===92||b===63||b===35)break;if(b<48||b>57){w=!1;break}}if(_===S+1&&(w=!1),!w){let b=CY(e,n,S);if(b===0){let A=!1;for(let j=S+1;j<i;j+=1){let P=e.charCodeAt(j);if(P===47||P===92||P===63||P===35)break;if(P===58){A=!0;break}}if(!A)return null}else if(o=!0,n=S+1,b===2){let A=0;for(;(e.charCodeAt(n)===47||e.charCodeAt(n)===92)&&A<2;)n+=1,A+=1;if(A<2)return null}else for(;e.charCodeAt(n)===47||e.charCodeAt(n)===92;)n+=1}}}}}let l=-1,c=-1,u=-1,d=-1,f=!1,p=r,m=n-1,y=-1;if(r&&n<i){let v=e.charCodeAt(n);(!(OY(v)||v===46||v===95)||v===45)&&(p=!1)}for(let v=n;v<i;v+=1){let S=e.charCodeAt(v);if(S<64)if(S===47||S===35||S===63){i=v;break}else S===58?(d===-1&&(d=v),u=v):S===9||S===10||S===13?f=!0:r&&(S===46?((v-m>64||y===46||y===45)&&(p=!1),m=v):(S<48||S>57)&&(S!==45||y===46)&&(p=!1));else if(o&&S===92){i=v;break}else S===64?(l=v,d=-1):S===93?c=v:S>=65&&S<=90?a=!0:r&&!OY(S)&&(p=!1);r&&(y=S)}if(f)return m0(e.replace(xT,""),t,r);if(l!==-1&&l>=n&&l<i&&(n=l+1),e.charCodeAt(n)===91)return c!==-1?e.slice(n+1,c).toLowerCase():null;if(u!==-1&&u>n&&u<i&&d===u&&(i=u),n>=i)return null;r&&p&&l===-1&&u===-1&&c===-1&&e.charCodeAt(i-1)!==46&&i-n<=255&&i-m-1<=63&&y!==45&&(OT=!0)}for(;i>n+1&&e.charCodeAt(i-1)===46;)i-=1;let s=n!==0||i!==e.length?e.slice(n,i):e;return a?s.toLowerCase():s}function zPe(e){if(e.length<7||e.length>15)return!1;let t=0;for(let r=0;r<e.length;r+=1){let n=e.charCodeAt(r);if(n===46)t+=1;else if(n<48||n>57)return!1}return t===3&&e.charCodeAt(0)!==46&&e.charCodeAt(e.length-1)!==46}function qPe(e){if(e.length<3)return!1;let t=e.startsWith("[")?1:0,r=e.length;if(e[r-1]==="]"&&(r-=1),r-t>39)return!1;let n=!1;for(;t<r;t+=1){let i=e.charCodeAt(t);if(i===58)n=!0;else if(!(i>=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70))return!1}return n}function BPe(e){return qPe(e)||zPe(e)}var VPe=["test","localhost","invalid","example","example.com","example.net","example.org","local","onion","alt","home.arpa","ipv4only.arpa","resolver.arpa","service.arpa","6tisch.arpa","eap.arpa"];function WPe(e){for(let t of VPe)if(e.endsWith(t)&&(e.length===t.length||e.charCodeAt(e.length-t.length-1)===46))return!0;return!1}function TY(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function IY(e){if(e.length>255||e.length===0||!TY(e.charCodeAt(0))&&e.charCodeAt(0)!==46&&e.charCodeAt(0)!==95)return!1;let t=-1,r=-1,n=e.length;for(let i=0;i<n;i+=1){let a=e.charCodeAt(i);if(a===46){if(i-t>64||r===46||r===45)return!1;t=i}else if(!(TY(a)||a===45||a===95)||a===45&&r===46)return!1;r=a}return n-t-1<=63&&r!==45}function NY({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:r=!0,detectSpecialUse:n=!1,extractHostname:i=!0,mixedInputs:a=!0,validHosts:o=null,validateHostname:s=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:r,detectSpecialUse:n,extractHostname:i,mixedInputs:a,validHosts:o,validateHostname:s}}var ZPe=NY({});function HPe(e){return e===void 0?ZPe:NY(e)}function GPe(e,t){return t.length===e.length?"":e.slice(0,-t.length-1)}function jY(){return{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,isSpecialUse:null,publicSuffix:null,subdomain:null}}function Lm(e){e.domain=null,e.domainWithoutSuffix=null,e.hostname=null,e.isIcann=null,e.isIp=null,e.isPrivate=null,e.isSpecialUse=null,e.publicSuffix=null,e.subdomain=null}function ap(e,t,r,n,i){let a=HPe(n);if(typeof e!="string")return i;let o=!1;return a.extractHostname?a.mixedInputs?(o=IY(e),i.hostname=m0(e,o,a.validateHostname)):i.hostname=m0(e,!1,a.validateHostname):i.hostname=e,a.detectIp&&i.hostname!==null&&(i.isIp=BPe(i.hostname),i.isIp)?i:a.validateHostname&&a.extractHostname&&i.hostname!==null&&!(o&&i.hostname===e)&&!OT&&!IY(i.hostname)?(i.hostname=null,i):(t===0||i.hostname===null||(t===5&&a.detectSpecialUse&&(i.isSpecialUse=WPe(i.hostname)),r(i.hostname,a,i),t===2||i.publicSuffix===null)||(i.domain=$Pe(i.publicSuffix,i.hostname,a),t===3||i.domain===null)||(i.subdomain=GPe(i.hostname,i.domain),t===4)||(i.domainWithoutSuffix=UPe(i.domain,i.publicSuffix)),i)}function JPe(e,t,r){if(!t.allowPrivateDomains&&e.length>3){let n=e.length-1,i=e.charCodeAt(n),a=e.charCodeAt(n-1),o=e.charCodeAt(n-2),s=e.charCodeAt(n-3);if(i===109&&a===111&&o===99&&s===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="com",!0;if(i===103&&a===114&&o===111&&s===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="org",!0;if(i===117&&a===100&&o===101&&s===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="edu",!0;if(i===118&&a===111&&o===103&&s===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="gov",!0;if(i===116&&a===101&&o===110&&s===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="net",!0;if(i===101&&a===100&&o===46)return r.isIcann=!0,r.isPrivate=!1,r.publicSuffix="de",!0}return!1}var ip=new Uint8Array([1,2,1,1,1,1,1,1,1,1,1,1,0,2,2,2,0,2,2,0,2,0,0,1,0,0,2,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,0,2,0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,2,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,2,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,2,2,0,0,0,2,0,1,1,0,2,0,2,2,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,2,0,2,2,2,2,0,0,0,0,2,0,0,0,0,0,0,2,2,0,0,0,2,2,1,1,1,1,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,2,2,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),Yw=new Uint16Array([0,0,0,10,11,18,106,111,117,124,130,136,145,146,147,148,149,150,151,153,154,155,157,159,226,239,241,242,243,258,265,266,269,270,271,274,276,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,452,454,464,478,479,480,489,490,527,532,548,568,574,615,616,643,670,671,819,825,828,829,830,835,840,849,871,872,873,874,875,876,877,895,897,898,901,903,904,906,908,923,938,943,944,946,947,948,949,950,952,955,960,961,962,964,965,968,971,972,973,986,988,1e3,1011,1019,1021,1061,1064,1068,1069,1071,1074,1085,1087,1097,1099,1105,1107,1108,1110,1113,1114,1115,1167,1169,1171,1191,1192,1193,1194,1196,1207,1238,1249,1261,1270,1277,1282,1295,1306,1319,1320,1331,1365,1366,1367,1382,1397,1469,1470,1472,1473,1507,1508,1509,1512,1516,1518,1547,1548,1556,1557,1558,1560,1562,1563,1565,1566,1567,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1594,1595,1596,1598,2053,2056,2057,2059,2066,2073,2083,2087,2098,2099,2100,2112,2113,2115,2117,2118,2125,2126,2128,2129,2131,2132,2133,2134,2135,2209,2211,2232,2233,2234,2236,2262,2263,2314,2315,2317,2324,2330,2340,2350,2403,2404,2405,2415,2429,2430,2433,2440,2441,2449,2450,2451,2452,2453,2464,2465,2466,2468,2469,2470,2471,2473,2483,2495,2501,2533,2537,2539,2540,2542,2543,2554,2555,2557,2565,2572,2578,2583,2584,2590,2593,2599,2606,2607,2614,2622,2623,2624,2662,2668,2683,2684,2689,2707,2738,2756,2758,2761,2769,2771,2778,2830,2854,2855,2856,2857,2858,2859,2860,2861,2868,2869,2870,2871,2872,2873,2875,2876,2880,2964,2977,2978,3414,3418,3432,3484,3512,3534,3592,3614,3629,3692,3743,3781,3817,3842,3984,4030,4081,4100,4134,4149,4169,4199,4230,4253,4284,4314,4346,4373,4448,4470,4508,4518,4552,4571,4597,4639,4689,4715,4784,4785,4787,4810,4833,4869,4900,4917,4974,4987,5011,5040,5042,5076,5092,5120,5425,5434,5443,5450,5467,5471,5477,5516,5518,5525,5532,5541,5548,5549,5560,5563,5578,5579,5588,5589,5598,5607,5613,5615,5616,5617,5653,5654,5656,5664,5671,5684,5688,5690,5691,5697,5704,5718,5728,5733,5741,5749,5755,5756,5760,5762,5763,5775,5776,5777,5778,5780,5781,5784,5786,5789,5793,5794,5800,5801,5802,5804,5806,5808,5809,5810,5813,5815,5818,5819,5821,6019,6026,6027,6037,6042,6059,6073,6082,6083,6084,6088,6089,6091,6093,6099,6100,6103,6104,6106,6107,6108,7008,7009,7013,7031,7040,7043,7050,7051,7053,7054,7055,7057,7109,7110,7113,7114,7231,7232,7243,7254,7261,7264,7273,7274,7275,7290,7345,7536,7538,7539,7541,7546,7559,7574,7581,7590,7593,7596,7603,7611,7615,7616,7617,7631,7635,7644,7645,7646,7650,7685,7686,7703,7710,7718,7719,7724,7732,7776,7777,7783,7786,7797,7802,7803,7806,7839,7840,7846,7853,7854,7863,7872,7887,7891,7943,7944,7949,7951,7954,7956,7957,7958,7967,7981,7989,8003,8015,8016,8018,8020,8042,8053,8059,8060,8072,8084,8171,8183,8185,8194,8197,8203,8228,8231,8232,8233,8235,8238,8241,8252,8254,8256,8284,8358,8365,8369,8370,8379,8401,8402,8407,8408,8487,8489,8491,8500,8504,8510,8516,8522,8532,8537,8538,8556,8567,8572,8577,8587,8593,8597,8603,8609,10217,10218,10219,10226,10228]),Qw=new Uint8Array([3,3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,5,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,6,9,9,8,10,10,7,8,1,9,10,12,12,12,10,9,9,10,10,9,9,1,1,5,3,3,3,3,3,3,3,3,3,3,3,3,6,6,6,4,3,3,3,7,4,4,4,3,3,6,7,3,4,1,2,2,2,6,1,2,2,2,2,2,12,5,3,8,9,13,4,4,13,9,9,11,7,3,12,9,2,2,2,3,3,3,3,3,8,2,2,3,3,3,3,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,4,4,3,7,10,15,7,15,15,20,15,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,7,8,6,8,8,6,8,13,8,8,6,13,8,11,13,8,6,13,8,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,9,9,9,10,14,14,11,13,13,9,9,9,9,9,9,2,6,9,2,2,3,3,3,3,3,3,3,3,3,4,4,4,2,3,3,3,3,3,3,7,7,2,3,2,2,5,3,3,3,3,3,3,4,2,2,2,2,2,2,3,3,3,3,3,3,3,4,5,7,2,2,12,8,10,8,10,7,18,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,2,2,3,3,3,5,5,3,8,8,6,8,6,6,4,6,7,7,7,10,11,2,5,5,3,3,3,3,3,3,5,5,6,11,10,7,7,7,4,4,4,2,3,3,3,3,3,2,7,5,5,3,3,3,3,3,3,3,3,7,7,7,11,7,6,9,6,6,8,10,8,6,8,13,4,4,4,4,4,10,8,11,8,8,8,10,10,7,10,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,2,2,2,2,2,2,5,5,5,5,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,7,10,13,7,8,7,11,8,8,6,9,8,8,6,6,6,8,8,6,6,6,6,6,9,7,6,4,4,4,4,4,4,4,6,6,6,9,7,8,10,8,8,2,3,3,3,3,3,2,8,9,9,2,2,2,3,3,3,2,3,3,3,9,2,2,3,3,3,3,3,3,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,12,5,5,3,5,4,2,3,2,4,3,9,2,2,2,2,2,5,5,3,8,8,13,6,10,9,4,7,9,11,2,3,7,3,3,4,1,3,4,2,9,3,3,12,5,3,7,10,10,7,4,4,6,14,7,9,7,13,2,2,2,2,2,2,3,3,3,3,3,8,15,4,4,2,3,3,3,7,4,9,9,2,3,3,3,5,3,2,2,7,2,7,6,6,7,2,4,2,2,2,2,2,2,8,8,8,9,5,2,3,3,3,3,3,3,10,7,4,4,4,4,3,4,2,3,3,3,3,3,10,7,4,4,4,4,2,3,3,3,3,10,7,4,4,4,4,3,9,6,6,6,9,13,9,2,2,2,8,7,9,5,3,3,3,5,5,12,9,10,7,8,7,6,8,6,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,7,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,4,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2,2,3,3,3,3,3,3,3,2,5,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,11,6,4,7,10,7,7,11,1,10,2,2,3,3,3,3,3,3,3,3,5,7,3,5,6,3,3,5,2,2,5,3,4,13,11,3,3,6,3,5,14,2,2,3,8,2,2,12,5,18,5,3,3,3,16,5,5,5,10,7,13,12,13,9,12,14,19,9,9,21,9,9,10,6,9,6,15,10,6,12,8,6,10,15,4,4,6,6,9,9,12,16,14,23,7,7,7,14,9,7,7,11,14,10,7,10,10,10,12,6,11,10,13,11,15,11,7,12,10,3,7,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,4,3,7,2,5,5,3,3,5,5,5,5,7,6,6,6,4,4,4,4,4,4,6,6,6,6,6,7,10,2,2,2,5,5,5,5,3,3,3,3,3,5,5,10,9,11,8,7,12,8,9,7,6,13,11,6,13,7,9,9,4,4,4,4,4,4,6,10,7,8,13,8,8,9,14,8,10,7,7,7,9,6,9,7,2,12,5,3,3,13,4,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,4,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,8,4,4,4,4,4,4,4,4,4,4,4,4,9,3,3,3,3,3,3,3,3,3,3,4,2,2,2,5,3,3,3,3,3,3,3,3,4,4,1,7,6,4,12,3,3,3,3,3,8,7,3,3,3,3,3,3,4,4,11,14,2,8,3,5,5,8,10,8,6,4,7,17,7,4,5,2,6,3,5,2,4,4,2,12,5,5,3,15,13,10,8,11,2,2,3,3,3,3,3,3,3,3,4,4,5,3,3,3,3,4,18,2,12,5,3,3,3,3,3,5,16,8,8,9,6,6,4,4,4,4,31,6,6,10,11,21,10,9,7,10,7,7,2,4,4,4,4,6,5,3,3,4,3,3,3,3,3,3,3,3,3,6,6,6,2,2,2,5,3,3,3,7,7,4,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,8,2,3,3,3,3,3,5,9,11,3,3,3,3,4,4,3,3,3,3,3,5,10,9,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,2,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,11,10,10,10,10,10,11,10,11,10,11,10,9,9,11,3,3,3,3,3,3,5,3,7,8,8,7,6,6,11,4,4,4,7,8,9,9,2,3,7,4,4,2,5,5,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,2,2,5,5,5,5,5,3,3,5,5,5,7,7,6,6,6,4,4,4,4,4,4,4,4,4,4,6,6,8,8,1,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,6,9,12,3,7,10,7,2,2,3,3,3,3,3,4,3,3,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,8,8,6,6,8,6,7,4,4,4,4,4,4,6,7,5,5,20,19,8,10,9,7,10,6,8,11,6,6,6,6,13,12,8,6,7,14,11,9,2,5,3,3,6,2,3,2,2,2,2,2,2,2,5,4,3,7,6,4,7,4,3,6,4,7,2,7,7,7,5,5,5,5,3,3,3,3,3,3,3,3,3,3,5,9,10,10,8,11,7,8,20,7,8,9,8,12,6,6,6,8,9,8,12,6,6,8,13,10,12,6,6,7,7,8,9,6,4,4,4,4,4,4,4,10,6,6,6,7,14,11,10,7,8,10,8,11,14,11,11,9,7,9,8,11,9,17,10,9,2,2,2,9,3,3,3,3,15,14,9,5,5,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,15,12,22,19,17,18,18,19,21,7,16,16,5,5,5,5,5,5,5,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,19,17,12,14,15,8,9,19,17,12,13,13,15,18,13,23,24,23,21,17,24,8,21,8,14,14,16,14,8,8,15,20,8,19,21,9,8,13,12,13,15,11,8,11,9,9,8,11,8,21,14,21,15,15,13,7,19,7,7,7,7,7,7,16,12,17,18,7,7,11,11,7,9,9,2,2,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,4,5,5,5,5,5,5,5,5,3,3,10,10,7,9,7,7,7,6,8,6,6,6,6,6,6,6,7,6,8,6,6,9,7,7,7,4,4,4,4,4,4,4,4,8,9,8,7,8,7,8,10,7,5,5,5,5,5,5,3,9,7,7,8,6,6,6,6,6,6,6,6,9,6,6,9,11,13,7,8,9,9,5,5,5,7,8,6,6,6,6,6,6,6,7,8,9,7,10,9,10,7,8,5,5,5,5,5,5,7,7,9,8,7,7,6,6,6,6,6,6,10,6,6,6,6,6,6,6,6,6,6,6,9,10,4,4,4,4,8,7,7,10,10,9,8,8,15,9,8,8,8,8,8,9,10,9,10,7,8,13,5,5,5,5,5,3,3,7,7,8,6,6,6,4,4,11,9,7,8,9,10,7,5,5,5,5,5,3,3,7,6,6,13,7,9,8,7,5,5,5,5,5,5,5,5,3,3,3,3,7,8,7,8,13,6,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,6,6,6,6,7,6,7,6,6,9,7,4,4,4,4,4,4,4,7,8,7,8,9,8,8,8,7,10,7,8,5,5,5,5,5,5,5,5,3,7,7,7,7,9,7,10,9,6,6,6,6,6,8,8,6,6,6,7,6,6,6,9,9,4,4,13,7,10,9,9,12,7,8,8,10,8,8,8,8,8,8,5,5,5,5,3,7,7,11,7,9,8,8,6,6,10,6,8,8,8,6,7,6,6,12,4,4,4,4,4,4,4,4,4,9,8,8,16,8,9,8,7,5,5,5,5,5,3,3,7,7,7,10,15,8,9,8,9,9,6,6,6,6,6,6,7,4,8,7,8,8,7,8,11,8,5,5,5,5,5,3,7,7,6,11,16,7,6,4,4,4,4,9,9,8,8,8,13,12,8,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,11,7,8,8,9,13,7,7,7,9,8,8,9,12,7,12,7,12,8,7,10,12,9,9,6,6,8,8,6,6,6,6,6,6,6,9,8,9,11,8,6,6,6,6,6,12,7,6,6,6,9,7,7,6,6,6,6,6,11,9,6,6,6,6,6,7,9,4,4,4,4,4,4,4,4,9,9,9,9,7,7,7,7,7,11,7,7,8,8,8,8,8,8,9,8,9,9,7,7,11,11,7,12,8,8,8,8,8,7,8,8,8,8,8,13,12,8,8,8,8,7,7,7,9,5,5,5,5,5,5,5,3,3,7,7,11,7,8,8,8,6,6,6,6,6,6,6,6,6,6,6,10,11,6,7,9,4,4,4,4,4,4,9,9,8,9,8,8,8,7,7,5,5,5,5,5,5,5,5,5,5,3,3,11,7,7,7,9,6,6,11,8,10,6,6,6,12,8,8,7,6,6,8,7,4,4,4,4,4,4,4,4,9,10,9,9,8,10,9,11,8,5,5,5,7,6,6,8,7,4,4,4,4,8,7,7,8,7,8,8,5,5,5,5,7,7,8,8,8,6,6,6,6,6,10,8,9,13,6,7,6,6,8,7,8,4,4,4,4,11,8,8,8,10,5,5,8,7,8,13,8,7,6,8,6,9,7,8,7,5,5,5,5,5,5,3,3,7,8,9,6,4,8,10,10,8,12,9,13,2,7,5,5,5,5,5,7,7,10,6,6,6,6,6,6,6,8,4,4,9,8,8,8,14,8,8,8,9,8,5,5,5,5,5,3,3,9,6,6,6,6,10,12,6,6,6,6,6,6,6,4,4,4,4,11,8,7,8,8,8,5,5,3,3,3,3,7,7,6,8,6,8,11,7,6,6,6,7,4,8,11,9,10,5,5,5,3,3,3,7,7,8,9,8,15,9,6,6,6,6,6,6,11,11,4,4,4,4,4,7,9,9,10,8,7,5,5,5,5,5,5,3,3,8,6,6,6,6,6,6,6,6,6,9,7,4,4,4,4,4,9,9,8,8,10,13,5,5,5,3,17,7,7,7,7,7,8,6,8,13,6,6,6,6,6,6,6,6,4,4,4,9,10,8,8,8,5,5,5,5,3,7,7,7,8,8,6,6,6,8,8,8,9,10,8,4,8,10,9,8,8,8,9,13,10,5,5,5,5,5,5,5,5,5,5,3,3,7,8,9,9,7,7,7,10,9,9,8,9,8,8,8,6,6,6,6,6,6,6,6,6,6,6,6,6,8,12,6,6,6,6,6,6,6,6,6,12,4,4,4,4,4,4,4,4,4,4,4,11,8,8,9,9,10,8,9,7,7,5,5,5,5,5,5,3,7,8,7,6,6,8,6,6,10,4,7,8,9,12,8,7,7,5,5,5,5,5,5,3,3,7,14,7,9,8,8,6,6,8,12,12,6,6,7,7,10,4,4,4,4,4,9,9,14,9,13,8,7,5,5,5,6,6,6,7,4,8,7,5,5,5,5,5,5,5,5,3,3,7,7,7,8,6,6,6,6,6,6,12,6,6,6,6,4,4,9,9,8,8,11,7,7,7,5,5,5,3,9,8,6,6,7,4,4,4,4,4,4,8,8,11,5,5,5,7,7,7,9,6,6,6,6,6,6,9,8,4,4,4,4,7,12,9,8,8,8,7,10,10,5,5,5,5,5,5,5,3,11,14,8,7,8,8,6,6,6,6,6,8,7,6,6,6,7,6,8,9,4,4,4,7,8,9,7,9,7,7,9,8,5,5,5,5,5,5,5,5,5,11,3,9,7,7,12,14,8,6,6,12,11,8,6,6,6,6,6,6,6,6,6,15,7,4,4,4,16,9,9,9,8,9,9,9,9,9,8,8,8,13,11,8,5,5,5,5,3,7,6,6,8,8,8,6,6,7,10,7,4,4,4,4,9,7,8,7,7,7,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,3,7,7,7,9,6,6,6,6,6,8,8,7,7,9,6,6,6,7,6,6,6,6,6,15,4,4,4,4,4,8,8,7,8,12,9,8,8,8,8,8,9,8,8,10,8,8,8,8,16,9,10,2,5,5,5,5,5,5,5,9,7,6,8,9,4,4,4,4,4,7,8,8,8,9,8,11,10,5,5,5,5,3,7,8,6,6,6,6,6,8,6,6,6,6,4,12,10,12,7,7,7,7,7,7,7,5,5,5,5,3,3,7,7,10,8,9,7,6,10,7,6,6,4,4,8,9,7,9,9,9,9,8,8,8,8,10,5,5,5,5,5,5,8,7,6,6,6,10,6,7,10,7,4,4,4,4,4,4,4,12,9,10,7,7,10,8,10,5,12,9,6,6,6,6,6,7,6,4,4,4,10,9,9,8,7,7,5,5,5,5,5,5,3,3,13,7,7,9,7,7,7,8,9,9,7,8,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,15,15,4,4,4,4,4,10,10,9,8,9,8,8,9,7,8,7,8,5,5,7,6,6,6,4,4,4,7,8,11,8,5,5,5,5,5,5,5,7,6,6,6,6,6,6,9,11,10,7,4,4,4,9,8,8,5,5,5,5,5,9,9,6,6,6,6,6,6,6,9,9,4,4,4,4,8,8,8,9,9,8,8,8,13,2,4,2,7,5,5,5,5,5,5,9,9,6,6,6,6,10,8,8,8,6,6,6,4,4,9,8,10,8,9,8,8,8,9,8,8,5,3,3,3,11,6,6,6,7,6,6,6,4,4,9,8,5,5,5,5,5,3,11,8,6,6,6,6,6,9,7,4,4,14,10,9,8,12,8,8,8,11,15,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,11,11,10,10,7,7,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,5,5,5,3,3,3,7,11,7,7,11,11,7,8,9,10,7,7,9,9,9,9,7,7,10,8,13,8,8,8,8,11,10,6,6,8,10,11,14,14,6,6,6,6,6,6,9,11,7,7,6,8,12,11,11,6,6,10,6,6,6,6,6,10,7,7,6,6,11,6,6,6,11,8,9,7,6,10,11,9,10,11,7,11,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,6,6,8,9,10,9,6,6,6,10,6,6,6,6,11,10,11,10,9,8,7,7,7,7,11,14,8,10,9,9,8,8,7,11,8,8,8,11,11,10,10,9,10,8,11,10,8,11,9,12,8,10,8,11,8,9,9,11,11,10,11,13,8,7,8,8,9,7,8,8,8,8,7,8,2,2,2,2,2,2,2,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,4,2,3,3,3,3,3,3,3,3,8,6,4,4,4,11,7,11,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,5,5,5,3,3,3,3,8,7,7,8,8,4,8,7,7,7,9,7,8,9,8,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,6,3,3,3,3,3,3,3,3,4,2,2,3,3,3,3,3,4,5,5,3,8,8,6,9,4,4,10,7,3,3,3,2,5,3,3,3,3,3,3,3,3,3,3,3,3,4,3,2,2,2,3,3,3,3,3,4,10,2,3,3,3,3,3,3,3,4,2,3,3,3,3,3,3,3,3,2,2,3,3,3,5,2,4,2,6,2,2,9,5,5,3,3,3,3,3,3,3,5,5,5,9,8,7,6,6,11,4,4,4,4,4,4,4,4,6,6,7,7,11,8,8,6,5,11,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,2,2,3,3,3,3,3,3,6,4,4,4,4,3,3,3,3,5,7,2,3,3,3,3,3,8,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,6,4,4,4,4,2,2,3,3,3,3,3,3,3,4,3,3,3,3,3,3,3,3,3,3,3,3,4,2,2,3,3,3,3,3,3,2,3,3,3,3,3,6,3,3,8,10,3,4,4,1,1,1,1,1,1,1,8,9,10,7,7,1,1,3,8,7,7,8,8,8,1,6,1,1,6,3,3,4,7,3,5,5,4,4,4,4,4,2,7,7,8,12,3,4,5,1,3,4,4,10,4,3,3,3,8,7,7,2,2,2,2,2,2,2,2,2,12,9,20,7,5,5,5,9,13,5,5,5,5,5,3,3,3,16,5,5,5,13,7,8,8,11,8,7,9,7,11,12,9,9,8,8,11,10,14,7,12,10,11,13,7,9,11,17,17,14,13,7,8,7,10,10,7,16,13,7,8,17,12,9,8,6,7,10,6,6,12,6,8,10,8,8,8,6,8,6,14,6,6,6,13,6,10,6,6,7,14,8,6,6,10,11,10,9,9,7,7,6,6,6,9,9,7,9,10,9,13,12,4,4,4,4,4,4,4,4,4,6,6,6,8,8,6,8,9,10,9,7,10,10,8,7,8,7,10,12,9,8,15,8,7,8,8,7,7,15,13,7,10,9,14,18,16,7,24,7,8,10,11,16,8,14,7,9,9,9,11,13,19,14,15,14,11,7,13,9,10,7,13,9,10,11,12,8,9,2,3,5,8,7,4,4,10,5,3,3,3,3,3,5,4,4,4,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,4,2,12,5,3,8,10,15,6,7,2,3,2,5,5,12,2,5,5,5,5,2,2,5,5,12,9,5,2,2,9,5,5,12,12,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,12,5,8,8,9,5,5,5,8,19,7,16,15,14,9,9,9,9,7,11,11,11,7,14,10,10,5,5,5,5,5,5,5,5,5,15,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,14,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,6,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,14,9,9,9,6,9,8,8,12,9,8,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,7,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,7,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,8,8,12,12,9,15,15,12,12,13,8,8,9,12,13,9,8,8,8,8,8,8,8,8,8,8,8,11,12,11,7,14,7,13,13,13,12,18,16,7,12,11,10,10,15,9,9,9,21,7,7,7,11,16,8,8,11,11,7,7,7,7,7,19,7,7,7,7,7,7,7,7,7,12,8,9,12,14,11,9,9,9,22,12,3,8,8,15,4,2,2,5,5,3,3,3,3,3,3,6,6,4,4,4,12,7,10,2,3,3,3,3,3,3,3,6,7,3,7,5,14,4,4,7,8,10,4,1,3,3,6,2,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,4,2,2,5,3,4,2,2,2,2,2,2,11,5,5,5,11,5,5,3,5,5,5,5,11,14,13,9,11,9,12,8,11,11,8,11,16,9,9,7,10,9,12,8,15,6,7,6,6,13,10,8,11,8,6,6,6,12,16,6,11,7,8,9,18,6,6,9,4,4,6,13,6,6,6,6,8,8,9,16,7,7,14,7,8,8,8,7,7,7,7,7,7,15,13,7,10,7,7,10,12,16,15,7,9,9,14,11,11,10,9,10,8,12,7,8,7,7,10,12,7,12,8,7,2,3,3,3,3,3,3,3,3,3,3,5,3,3,5,5,5,10,4,8,7,10,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,7,4,5,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,8,2,2,2,8,12,7,7,5,5,5,5,5,5,5,5,5,5,5,5,8,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,7,11,9,8,8,8,7,8,9,7,7,9,7,7,7,10,7,7,10,9,10,6,6,6,6,6,6,15,7,8,9,9,8,6,6,10,9,6,8,13,9,7,6,6,6,6,6,6,12,6,6,7,6,7,6,6,6,10,10,7,6,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,14,6,6,7,7,9,6,6,6,6,9,9,8,9,10,9,8,9,12,7,7,7,8,7,10,12,11,9,10,7,7,7,9,10,10,8,12,9,7,7,9,8,8,8,10,7,7,8,9,9,7,7,7,8,2,4,6,3,4,2,3,3,3,3,2,3,3,3,3,3,3,3,3,4,4,4,4,5,5,3,3,3,3,3,3,3,3,5,8,6,4,7,3,3,3,3,3,3,3,12,3,3,3,3,3,3,4,4,2,3,5,3,4,7,3,3,3,3,3,3,4,3,3,3,3,3,3,3,4,3,3,6,4,3,4,2,2,2,5,3,3,3,3,3,5,4,4,4,4,7,6,8,9,2,2,2,2,3,3,3,5,7,2,3,3,8,7,7,2,2,8,5,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,8,8,7,7,6,10,6,9,7,11,4,6,8,8,7,8,4,5,5,5,3,3,11,8,9,6,6,8,7,4,4,7,8,7,2,2,3,3,3,3,4,3,3,3,3,3,3,3,3,7,2,2,5,3,3,2,3,3,3,3,3,3,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,12,5,5,3,3,3,5,10,12,6,15,4,6,6,7,14,9,3,3,3,3,3,8,2,2,3,5,3,3,3,3,3,3,8,8,8,7,5,8,4,6,11,2,2,6,7,2,9,8,5,5,3,3,5,5,7,7,6,6,10,6,6,8,9,7,4,4,4,4,7,6,6,7,7,10,9,8,11,8,3,3,3,3,3,4,4,2,3,3,3,3,3,7,6,2,5,6,7,6,4,8,9,11,2,2,3,3,3,3,3,3,3,2,2,5,3,3,3,3,3,9,9,6,4,8,7,7,5,9,8,6,8,7,8,5,5,5,5,5,3,3,3,16,8,7,7,7,8,7,7,7,7,9,6,9,6,10,7,7,7,6,10,8,9,11,11,8,4,4,10,8,8,6,9,6,11,8,8,8,15,7,8,9,5,3,3,3,3,3,5,11,2,2,3,8,9,10,3,2,2,2,2,2,2,3,6,4,2,2,3,3,3,3,3,3,3,3,3,3,4,4,2,3,3,3,3,3,3,3,11,5,3,3,3,3,3,3,3,3,6,7,4,4,2,3,3,3,3,3,3,3,3,12,7,4,12,4,6,5,4,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,2,3,3,3,3,3,3,3,3,4,4,11,10,6,4,6,10,8,3,3,3,3,3,3,3,3,5,4,4,4,2,2,2,2,2,2,2,2,5,3,4,4,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,10,5,5,5,5,5,5,3,3,3,3,3,3,3,3,7,8,8,7,13,12,10,10,8,8,7,7,9,12,11,6,6,8,8,9,7,7,7,10,15,10,4,4,4,4,4,11,8,8,9,7,9,14,14,12,2,2,2,2,2,2,2,3,3,3,3,3,2,2,12,5,5,5,8,11,10,7,9,3,8,7,3,15,13,11,4,4,2,2,2,19,7,5,5,3,3,3,3,3,3,3,5,22,18,6,14,17,4,4,19,16,18,2,3,3,2,3,2,3,3,6,4,2,3,3,2,5,3,3,3,3,3,3,3,9,9,2,3,2,2,2,3,3,3,5,7,14,7,7,12,9,13,6,11,6,10,9,7,7,8,12,12,8,8,8,10,7,7,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,5,8,10,7,8,11,8,12,9,4,7,7,9,13,2,3,3,3,3,3,3,2,3,3,3,1,2,2,3,3,3,3,3,3,5,2,2,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,8,4,4,4,3,2,3,3,3,3,5,2,2,2,2,5,5,5,5,3,3,3,3,3,3,3,3,3,7,7,7,7,7,8,8,8,8,8,12,9,8,8,9,8,6,17,6,6,6,8,8,6,6,6,6,6,6,6,6,6,6,6,7,4,4,8,8,9,9,9,7,7,7,7,7,7,7,9,9,9,7,8,8,8,10,7,13,10,8,9,3,3,5,13,3,3,3,3,3,7,7,6,6,10,13,11,11,8,8,9,8,9,9,10,10,10,11,10,10,13,13,16,15,11,12,9,9,10,9,11,10,9,9,14,7,8,3,10,7,7,3,2,2,2,5,3,3,3,3,3,3,3,3,3,3,3,3,6,7,2,2,3,3,3,3,3,3,3,3,4,11,6,7,4,6,2,2,3,3,3,1,3,3,3,3,3,3,6,4,4,2,2,2,3,3,3,3,4,4,6,6,6,6,5,4,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,11,6,10,9,12,7,7,11,14,9,7,12,3,3,7,12,11,12,7,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,3,3,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,11,5,5,5,5,5,5,5,5,11,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,3,3,3,5,5,5,5,5,5,5,5,5,5,5,3,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,5,5,5,5,5,5,5,5,5,5,5,5,5,3,10,3,3,3,11,3,5,9,11,8,12,14,9,7,8,7,7,11,11,7,7,10,9,8,10,9,7,7,7,7,7,7,8,8,7,11,8,8,8,7,7,10,8,7,13,12,7,17,10,8,8,11,7,11,11,14,7,11,7,8,6,9,20,8,7,9,16,7,10,6,11,10,8,9,7,16,11,11,9,8,9,8,8,8,11,8,15,8,8,9,7,8,8,11,10,7,5,7,10,10,15,7,7,7,8,7,8,8,10,11,10,10,10,11,11,7,8,6,8,8,8,10,6,8,6,6,7,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,16,6,15,6,7,11,11,7,9,10,11,13,10,6,16,8,10,12,11,6,6,6,6,6,6,6,10,6,10,7,7,7,7,11,7,11,6,6,6,6,6,6,17,7,7,6,6,12,22,6,6,6,6,6,8,6,6,6,6,7,6,6,5,6,6,8,11,6,9,14,11,9,11,7,7,8,6,6,6,8,10,9,6,6,6,6,9,7,6,6,6,6,6,15,6,4,4,4,6,4,17,8,11,6,6,9,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,6,6,6,6,10,6,10,6,6,6,6,12,8,6,6,6,6,6,6,6,6,6,9,6,6,6,6,18,6,6,6,8,9,10,7,8,9,10,11,7,13,6,8,8,6,6,14,7,7,7,7,10,7,14,9,6,6,9,15,9,7,14,6,11,14,13,7,12,8,7,7,7,7,7,12,7,10,9,16,6,8,6,5,17,6,8,10,4,6,4,10,15,17,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,4,4,11,7,4,4,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,19,17,6,10,11,6,6,6,6,18,6,6,11,4,4,4,5,6,6,6,9,5,6,4,6,6,4,6,6,6,6,10,6,6,4,6,6,10,6,10,6,6,6,6,11,6,6,10,6,6,8,6,6,6,8,6,11,4,11,9,10,9,11,4,8,4,11,12,7,9,8,6,7,7,8,12,12,11,13,10,11,7,7,7,9,7,11,10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),AY=new Uint16Array([0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,1,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,12,12,12,12,1,32,0,0,0,1,1,1,1,35,34,1,1,1,1,1,33,1,1,1,1,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,38,0,0,0,0,39,40,0,0,0,41,0,12,1,1,12,1,1,1,1,44,45,45,45,44,45,44,44,46,45,44,45,44,44,44,44,44,44,46,44,44,44,44,44,44,45,47,47,45,44,44,44,44,44,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,50,52,50,50,50,52,50,51,50,53,50,51,51,50,50,50,51,53,51,53,50,51,51,12,55,55,54,56,51,53,50,50,48,49,57,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,60,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,67,1,12,1,1,66,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,78,0,0,0,0,0,0,0,0,0,0,0,0,0,76,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,77,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,12,1,1,1,1,89,1,91,1,1,1,1,1,1,1,1,94,1,1,1,1,1,1,1,1,1,1,1,1,0,1,97,97,1,1,12,1,100,1,1,1,1,1,1,1,98,1,99,1,101,1,1,1,1,1,102,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,110,111,1,1,1,1,1,1,113,113,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,121,122,1,1,1,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,126,123,125,120,1,124,1,1,114,1,1,1,1,117,1,127,1,1,1,1,1,119,1,108,1,109,1,12,128,106,1,112,1,1,1,1,1,107,115,1,12,12,12,118,116,1,1,1,1,1,1,0,0,0,0,1,12,12,1,1,1,1,1,12,134,1,1,1,1,1,1,1,1,1,1,1,12,136,1,1,1,1,1,1,1,1,137,138,12,12,135,133,45,45,140,50,50,139,142,141,1,1,0,0,0,0,0,0,0,0,0,0,0,0,145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,1,0,144,132,1,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,148,147,20,1,1,12,12,1,20,12,12,1,1,1,1,1,134,1,1,152,1,1,1,1,153,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,136,1,1,152,1,1,1,1,153,1,1,134,1,1,1,152,1,1,1,1,153,1,1,134,1,1,1,1,1,1,1,1,134,1,1,1,1,1,1,1,1,1,1,1,160,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,1,1,1,1,1,134,1,1,1,1,152,1,1,1,1,153,1,1,1,134,1,1,152,1,1,1,1,164,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,167,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,154,158,158,12,1,12,166,1,1,1,1,1,158,158,158,154,1,1,1,157,158,161,165,1,1,1,1,157,157,1,1,156,154,154,157,170,156,170,1,1,168,1,156,155,157,1,1,1,1,157,1,159,1,1,1,12,1,162,1,162,1,1,1,162,161,163,169,156,154,1,1,1,1,1,1,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,172,173,172,172,172,172,174,174,172,173,172,173,172,172,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,1,1,1,1,12,199,200,201,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,151,1,1,1,1,1,1,1,1,1,1,1,196,1,1,1,184,1,210,1,1,1,208,1,1,205,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,12,1,1,1,1,1,1,1,1,190,1,1,1,186,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,182,1,1,1,1,1,1,1,191,1,1,1,1,195,1,1,1,1,171,1,1,189,1,1,1,192,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,180,1,12,1,1,12,1,1,1,1,183,1,1,1,188,1,203,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,209,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,194,1,1,1,1,1,12,1,1,1,1,1,1,1,1,176,12,1,1,1,178,12,1,1,1,1,1,1,1,198,1,1,1,1,1,1,1,1,1,1,177,1,1,1,1,1,1,204,1,1,1,181,1,1,1,187,1,12,1,1,12,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,175,1,1,1,1,1,1,1,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,206,1,1,1,1,1,1,1,1,1,1,1,1,1,207,1,1,12,1,1,1,1,179,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,197,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,202,1,1,12,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,220,0,0,0,0,0,221,0,0,0,0,0,0,1,12,1,1,1,225,1,1,1,0,226,223,224,1,1,1,1,1,1,231,1,233,1,1,1,1,1,1,1,1,1,1,1,229,1,1,1,1,1,235,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,234,1,1,1,12,1,1,1,1,230,1,1,1,228,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,13,1,1,1,12,12,238,239,1,1,1,1,240,1,1,12,1,1,1,1,1,1,1,242,1,1,12,16,1,1,1,1,1,1,1,243,1,1,1,12,12,1,1,1,1,1,243,12,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,252,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,256,256,1,0,0,0,0,0,1,12,0,0,0,0,0,0,0,0,172,261,262,1,12,1,1,1,1,12,264,1,1,263,1,1,266,1,1,1,1,1,1,1,1,1,0,1,1,1,271,272,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,12,1,0,1,0,0,0,0,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,12,0,283,0,0,284,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,12,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,60,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,0,308,0,0,0,0,0,0,0,0,0,310,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,327,327,328,327,0,185,1,1,13,323,1,321,0,0,0,0,1,0,0,0,324,1,1,329,1,205,1,1,1,1,1,322,1,319,1,325,1,317,1,326,1,318,1,1,1,1,1,1,1,12,1,1,1,12,1,12,320,320,1,1,1,316,184,1,1,12,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,12,1,1,1,1,315,1,0,0,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,332,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,266,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,372,372,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,364,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,1,340,351,1,1,339,374,1,345,1,1,337,369,1,1,355,336,341,1,1,1,348,379,357,1,1,1,1,1,1,358,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,367,371,0,0,79,1,1,0,365,342,378,343,346,353,1,368,0,1,0,79,362,360,1,0,0,1,1,1,0,0,0,0,381,1,1,352,1,79,1,0,1,1,1,384,1,0,0,79,359,0,1,338,1,1,1,0,1,1,361,1,0,1,1,1,0,1,386,349,1,1,0,1,0,0,377,0,1,1,1,79,370,1,1,366,363,1,1,1,1,1,1,1,1,1,1,1,344,1,1,1,1,1,1,1,1,1,1,1,376,0,79,1,1,1,1,0,1,1,1,1,1,1,0,0,1,1,380,1,1,1,0,0,383,0,0,0,1,356,1,0,79,382,1,0,0,0,0,385,1,1,0,0,1,0,1,0,354,0,350,0,1,1,1,0,1,1,0,373,347,375,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,1,1,400,400,1,1,12,12,1,400,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,412,1,1,0,1,1,1,1,205,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,430,430,1,1,0,0,317,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,442,1,441,1,1,1,1,1,1,1,1,445,1,12,12,1,1,1,1,1,12,1,1,1,1,453,1,1,1,455,1,1,1,1,1,1,1,1,1,1,452,1,447,1,1,1,1,435,1,1,1,1,1,1,1,1,448,12,1,1,1,1,454,1,1,1,449,444,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,317,1,433,1,1,12,451,1,1,317,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,437,1,1,1,1,1,1,1,1,1,1,1,454,1,1,1,1,317,1,450,1,1,1,439,1,1,1,1,1,440,1,456,443,1,1,1,1,1,438,1,1,1,1,1,1,1,1,1,434,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,446,1,1,1,1,1,1,1,12,1,1,1,1,1,436,1,1,1,1,1,1,1,220,457,1,1,1,1,1,12,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,0,0,1,0,1,0,1,1,0,0,0,462,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,12,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,466,0,466,466,466,466,466,466,466,0,466,466,466,466,466,1,466,466,466,0,466,466,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,471,470,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,475,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,468,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,469,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,477,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,466,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,474,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,467,0,0,478,473,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,472,0,0,0,0,0,0,0,0,0,0,0,0,0,466,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,467,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,466,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,476,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,1,1,1,1,1,1,1,488,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,198,198,1,492,1,1,1,491,1,1,1,1,487,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,489,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,493,1,1,490,1,1,1,1,1,1,1,1,372,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,494,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,505,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,1,0,1,0,0,12,1,507,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,12,12,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,1,0,0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,0,0,0,1,0,0,0,1,60,1,1,12,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,526,1,1,1,1,1,1,1,527,1,1,1,1,1,1,1,525,1,1,12,1,529,239,1,1,12,12,1,1,12,1,12,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,533,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,539,1,1,1,1,1,1,1,1,1,1,1,1,1,1,132,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,107,1,1,12,1,1,1,12,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,548,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,144,1,1,1,228,1,1,12,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,572,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,577,1,220,1,328,1,1,1,1,1,1,1,1,1,0,0,578,1,1,1,1,0,580,0,79,0,579,0,1,1,1,0,1,1,1,1,1,1,12,0,0,0,0,1,0,0,0,0,0,0,586,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,582,582,0,585,583,582,582,582,582,582,587,582,582,591,582,582,582,582,582,582,582,582,582,582,588,585,582,582,585,582,582,582,582,582,582,582,582,582,582,582,582,582,583,582,582,582,582,582,589,582,582,582,582,582,582,0,0,0,1,590,1,1,1,1,584,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,595,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,65,280,306,411,535,0,4,68,236,254,282,307,334,388,413,0,499,519,536,597,9,0,61,88,398,409,429,575,0,497,518,532,612,0,30,6,0,461,500,602,560,70,0,7,285,255,389,463,416,538,79,598,0,576,309,418,465,9,105,288,506,6,30,0,311,79,391,79,483,10,6,131,248,275,0,613,509,0,563,0,64,6,6,251,95,2,432,399,410,596,0,6,0,6,286,103,6,561,501,540,0,464,390,273,287,8,71,104,599,543,392,312,300,419,146,74,290,546,510,601,564,335,330,479,6,75,149,11,0,249,522,547,565,514,551,570,611,36,6,260,295,333,304,218,30,528,553,218,42,216,265,296,305,406,423,481,274,0,73,562,0,403,417,299,79,247,79,0,581,545,504,292,421,79,393,387,0,0,0,9,555,571,217,0,424,407,531,516,573,615,85,218,43,297,396,425,569,0,511,293,276,79,215,80,28,390,30,6,394,331,303,604,592,524,550,513,0,258,81,30,405,422,0,30,426,0,219,593,517,9,408,427,218,248,86,222,594,574,557,482,428,397,250,227,87,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,82,0,129,0,0,84,549,0,0,0,0,0,0,0,27,0,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,503,0,257,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,294,0,0,0,0,0,0,0,617,0,0,0,0,0,616,0,0,0,0,0,0,0,0,0,0,0,0,0,0,395,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,495,0,0,0,0,0,0,404,0,0,0,0,0,0,0,0,0,0,0,0,0,211,0,0,0,0,0,0,0,0,0,0,515,0,0,0,0,0,0,0,0,0,0,0,0,496,0,0,0,0,0,0,0,0,0,0,0,0,0,0,269,281,0,0,0,0,0,530,277,0,0,0,0,0,0,0,0,0,0,0,0,0,512,0,0,0,0,0,0,0,0,0,0,0,458,0,0,0,314,0,0,0,0,0,0,253,0,0,0,0,0,0,23,0,0,0,0,568,0,0,0,0,600,521,0,0,0,0,244,0,0,0,0,0,0,0,0,0,480,0,0,0,0,0,62,0,0,0,267,58,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,0,0,0,0,0,279,610,0,72,0,0,0,0,0,0,0,0,0,619,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,150,0,278,0,0,0,0,0,0,567,0,0,0,0,0,0,523,0,0,0,0,0,0,0,0,0,566,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,84,0,502,0,0,0,0,0,554,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,84,83,0,0,0,0,0,0,0,0,0,0,0,0,486,0,485,0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,459,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,537,0,0,0,0,0,0,0,0,298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,237,0,0,0,0,0,0,0,0,0,0,84,0,606,0,0,0,0,0,0,0,0,0,0,0,0,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,609,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,520,0,0,0,84,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,498,0,614,0,0,431,0,0,0,0,0,0,0,0,0,0,0,0,402,0,0,0,544,0,93,0,0,0,0,0,0,0,0,0,0,31,0,0,0,0,0,0,29,92,0,0,0,0,0,0,0,0,0,0,0,0,291,0,0,0,214,0,0,0,0,0,0,558,0,270,0,0,130,0,0,0,0,0,559,0,0,0,0,0,0,0,414,420,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,313,0,0,0,0,0,5,0,0,0,0,0,0,0,301,0,0,0,0,0,0,0,0,0,0,0,0,0,534,0,0,0,415,0,0,401,0,0,0,0,0,0,603,0,0,0,541,0,0,90,0,542,0,0,0,0,0,0,0,0,0,0,508,460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,268,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,608,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,607,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,618,0,0,0,0,0,556,0,0,0,0,0,0,0,0,0,0,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,605,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,623,623,623,623,623,623,623,622,624]),CT="orgmilcomschnetedugovdrrformsfeedbackofficialaccoorgmilschnetgovmagazinemediaunioncargopilotgroupcaarespressworksaerodromeworkinggroupair-traffic-controlaircraftaccident-preventioneducatormarketplaceambulanceinsurancecateringairportrepbodyenginesoftwaremodellingair-surveillanceconsultingchartertrainermaintenanceservicesdesignflightskydivingfreightassociationstudentgroundhandlingdgcafuelclubtaxicrewshowballooningexpresstraderbrokerauthoragentsairtrafficjournalistsafetyconsultantmicrolightaccident-investigationparachutingequipmentproductionfederationrecreationscientistnavigationengineertradingglidingleasingresearchpassenger-associationentertainmentparaglidinghangglidingaerobaticrotorcraftemergencycertificationgovernmentaeroclubexchangelogisticschampionshiphomebuiltcouncilconferencecontrolairlinecivilaviationjournalorgcomnetedugovcoorgcomnomnetobjofforgcomnetuwukiloappsframerorgmilcomnetedugovcoradioorgcomnetcommuneedogpbcoitgvorgedugov*spreviewfrontendrelayononstagingupid*mtls*privatelinktypedreamdeveloperbravemochawindsurfaivenmirenupsunwnextbegetngrokclerkwale2bwebcsbrunputerflutterflowspawnbaseshiptodaymagicpatternsnetlifyondigitaloceanrailwayhostedclaudehasurabotdashvercelgithubluyanigadgetreplitcloudflaretelebitedgecomputeevervaultdetaexponyatnoopencrpplxzeaburwasmerframerzeropsconvexmedusajsspritesonherculeseasypanelstreamlitsnowflakemesserliloginlinehackclubnorthflankbase44corespeedadaptableleapcellngrok-freeclerkstagelovableon-fleek*us-west-3ap-south-2us-central-2us-central-1eu-central-1ap-south-1us-west-2us-east-2eu-north-1ap-north-1us-west-1us-east-1*rcloudintsegorgmilcomgobbetnetintedugovturmusicasenasamutualcoopip6uriurnin-addre164homeirisgovdixdaemoncloudnssthwien*inexexkunden4accogvormymyspreadshop4lima2ixortsinfofuturecmsfuturehosting12hpprivfuturemailinglima-cityfunkfeuer123webseitednshomemelmyspreadshopcloudletswasantqldvicactnswtascatholicwasaqldvictasvpsidwasantozqldorgcomvicasnactnetedugovnswtasconfhrsncomairflowlambda-urltransfer-webappairflowtransfer-webapptransfer-webapptransfer-webapp-fipstransfer-webappeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1privatenotebookstudiolabelingnotebookstudionotebooknotebook-fipslabelingnotebookstudionotebook-fipsnotebookstudio-fipsnotebook-fipsnotebookstudionotebook-fipsnotebookstudioeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2experimentsus-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1onrepostsagemakercopporgmilcompronetintedugovbiznameinfoshoprsorgmilcomnetedugovbrendlyresolvenzauscotvstoreorgcomnetedugovbizinfoidacaicoittvorgmilcomschnetedugovinfocloudezproxyacmymyspreadshopkuleuvenwebhostingtransurl123websitecloudnsinterhostsolutionsddns5476103298edgfacbmlonihkjutwvqpsryxzbarsycoororgcomedumyftpno-iporxcloud-ipfor-somemmafanfor-morewebhopselfipjozidyndnscloudnsdscloudfor-thefor-betteractivetrailcoeconorestooteorgcomeconeteduassurmoneyafricaarchitectesrestaurantloisirstourismavocatsinfoagrounivcoorgcomnetedugovtvdeportesaludtksatorgmilcomwebgobnetinteducienciaboliviarevistacooperativaempresanombreindustriamusicapatriamedicinademocraciapoliticapuebloindigenaplurinacionalarteblogwikiinfoagrotransportenoticiasprofesionalacademiaeconomiaecologiamovimientotecnologianaturalsimplesitecepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesmscepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesms*biaamfmtcmptvfeirasampajampanatalbelemananiradiog12medindfndbmdtrdthepoaggfjdfdefinfenflegsegongengcngorgzlgslglogppgmillelqslcimcomnomadmjabimbbibbsbabcrectecsjcetcpscpvhudieticriapipsiecnbiorioecogeoteoodoproatoartfstmatvetdetbetnetcntnotfotgrueduajuespappreptmpemparqsrvadvdevgovntrturagrjorfarjusmusdesvixxyzcozfozslzbhzmaringasantamariacampinagrandegoianiasorocabafloripasaobernardocuritibaboavistarecifeaparecidasaogoncasalvadorcuiabamorenamacapalondrinacontagemsocialfortalmaceioleilaoosascoriobranconiteroi9guacutcheblogflogvlogwikitaxicoopmanauspalmascaxiasjoinvillebaruericampinassantoandreribeiraoriopretoweorgcomnetedugovv0windsurfshiptodaycloudsitecoaccoorgnetgovofmilcomgovmediatechzacoorgcomnetedugsjgovmydnspenfnlabnbmbgcbcqconcontnuyksknsmyspreadshopno-ipawdevboxbarsyonidatemfuinabusavinstanceseceuguukussryzespawncsxcloud-ipmyphotosfantasyleaguetwmailcleverappsscrappingccwucloudnsftpaccessgame-serverccgovobjectsrmalpgcust*svcalp1aeappenginermalpgmyspreadshop4lima2ixsquare7cloudscale123websitefirenet12hpflowgotdnslinkyard-cloudcloudnslima-citydnskingobjectstorageedaccogoorusorgcomnetintedua\xE9roportxn--aroport-byaassogouvcomilgobgovcloudnses-1eu-west-1us-east-1euvipit1eurarubait1s3lbwebsites3websiteru-spbru-mskelasticcsrunstnukukcaukusnl-ams-1fr-par-1fr-par-2functionsnodess3ddlwhmrdbfnck8sifrs3-websitecockpitscblmgdbdtwhkafkpubprivs3ddlwhmrdbk8sifrs3-websitecockpitscblmgdbdtwhkafks3ddlrdbk8sifrs3-websitecockpitscblmgdbdtwhkafkk8sscalebookpl-wawfr-parnl-amsbaremetalsmartlabelinginstancesdechk2kuleuvenlaravelvoorloperurownoxazapscwhstgrvaporobservablehqelementorantagonistreclaimjoteluluencowaydiademjelasticmatlabmagentositetrendhostingaxarnetperspectajenv-arubajelejoteravendbemergenttrafficplexconvexkeliwebserveboltbegetcdnstaticson-rancherprimetelonstackitunison-servicesdnshomelinkyardbarsyjelecloudnscocomnetgovmycn-northwest-1cn-north-1s3s3-accesspoints3-websites3s3-accesspointrdsdualstacks3-deprecatedemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspoints3s3-accesspointrdsdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicn-northwest-1cn-north-1cn-northwest-1ebcomputeelbcn-north-1airflowcn-northwest-1cn-north-1oncn-northwest-1cn-north-1amazonawssagemakeramazonwebservicesdirectasgdsdhehahljlnmhbacscahqhshhihnlnynsnmofjbjzjxjtjhkcqtwgsjssxnxjxgxxzgz\u7DB2\u7D61\u7F51\u7EDC\u516C\u53F8orgmilcomnetedugovxn--55qx5dcanva-appsxn--io0a7iquickconnectcanvasitekhsjxn--od0algmyqnapcloudsrvrlessclustersrealtimestorageleadpagescarrdcrdorgmilcomnomnetedugovhidnssupabaserdpareplmypiumsoxmitotaplpagesfirewalledreplitowodevwebview-assetsvfswebview-assetss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecateds3-websites3-object-lambdaexecute-apis3s3-accesspoints3-websites3-accesspoint-fipss3-fipss3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipss3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9vfss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1us-northeast-1ap-southeast-1me-south-1af-south-1ap-south-1ap-southeast-7us-west-2eu-west-2ap-east-2us-east-2ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ap-southeast-6ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1mrapaccesspoints3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3eu-west-3ap-south-2eu-south-2computes3-ap-northeast-2elbrdss3-ap-east-1s3-sa-east-1s3-us-gov-west-1s3-eu-central-1s3-ca-central-1eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3s3-website-us-west-2s3-website-eu-west-1s3-external-1eu-central-1me-central-1ca-central-1il-central-1s3-us-west-1s3-eu-west-1s3-website-sa-east-1s3-website-ap-southeast-2ap-northeast-1ap-southeast-1s3-us-west-2s3-eu-west-2me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2s3-website-ap-southeast-1s3-1s3-globals3-ap-northeast-3eu-north-1airflowap-southeast-2s3-us-gov-east-1s3-fips-us-gov-east-1s3-me-south-1s3-ap-south-1ap-northeast-2s3-website-us-west-1ap-southeast-5s3-eu-north-1s3-ap-southeast-1s3-website-us-gov-west-1compute-1s3-eu-west-3us-gov-west-1s3-website-ap-northeast-1us-gov-east-1s3-fips-us-gov-west-1s3-website-us-east-1s3-ap-southeast-2ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3-us-east-2s3-ap-northeast-1authauthauth-fipsauth-fipseu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1rservicesbuilderstg-builderdev-builder*ociocpocsdemoinstanceeu-west-3eu-south-2ap-southeast-3ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1previeweu-4us-4us-1eu-1us-2eu-2us-3eu-3appspaasrag-cloudrag-cloud-chjcloudjcloud-ver-jpcdemonodebalancermembersipeuxvsoncillaocelotonzayalilynxsphinxfentigercustomercaracalo365cloudstaticxendevapp001testcode-builder-stgplatformapimediasiteprojedrydpagesjsu2u2-localx0desazacncoitrueu4uhkukgrbrushatenadiarymyspreadshopfrom-flfrom-wvwebspace-hosttheworkpchatenablogservesarcasmapplinzisakuratanwixsiteappchizigiizeis-into-carsdnsiskinkyadobeaemcloudis-a-therapistpgfogmyvncdojinis-an-actress1kappfldrvkozowqa2jpnmexprgmrfirewall-gatewaydynnscafjsfbsbxooguyxnbayfrom-gawoltlab-demois-a-anarchistwiardwebteaches-yogadattowebtb-hostinglive-websiteservegamegotpantheonfrom-nhsubsc-payfrom-ohvipsinaappfrom-cadyndns-officehomelinuxfrom-mahercules-appservebbsstreakusercontentfrom-okfrom-wyfastly-terrariumis-a-llamaqualyhqportalserveexchangeon-vaporvivenushopciscofreakgrayjayleaguesmetaaiusercontentfrom-iais-a-libertariansaves-the-whalestaveusercontentyolasiteoperaunitepoint2thisis-a-catererlinodeusercontentfrom-vagithubusercontentsells-for-lesshosteurcanva-appsplaystation-cloudddnsfreefrom-pafrom-prfrom-waddnskingoutsystemscloudhotelwithflightmydattois-a-nascarfanmydbserverminiserverdamnserverservehumouris-a-playerfrom-nvfrom-nmemergentagentgentappsamplifyappfrom-kyis-an-accountantnfshostserveircfrom-akpythonanywherestackhero-networkpostman-echolikescandydyndns-mailobservableusercontentserveftpfreeboxosfrom-utcdn77-storageamazonawsneat-urldyndns-serverlinodeis-a-teacherfrom-vtgleezemythic-beastsus1-pleniteu1-plenitla1-plenitpaywhirlservecounterstrikejdevcloudhealth-carereformis-into-animegoogleapisis-a-painterafricaisa-hockeynutatmetais-an-actora2hostedis-a-democratdatadetectest-le-patrondigitaloceanspacesis-a-designeris-a-hunterlinodeobjectstemp-dnsissmarterthanyoufrom-arsimplesiteevennodetownnews-stagingis-a-liberalgooglecodejelasticservemp3stdlibqualyhqpartnerdyndns-free1cooldnsest-a-la-masiondrayddnsdynuddnsfrom-orfrom-miis-a-bloggerfrom-himydobisscanvacodeis-an-engineerest-a-la-maisonupsunappdevinappswafflecellmyasustorwpenginepoweredfrom-ctservep2psame-appmyshopblocksthingdustdatalikes-piediscordsezis-with-thebanddev-myqnapcloudlpusercontentis-leetshopitsite3utilitiesis-a-personaltrainersinaappladeskis-a-cheflogoipselfipbase44-sandboxnospamproxyalibabacloudcsmesswithdnsauthgearappsiamallamawithgooglelutrausercontentmochausercontentframercanvasmytabitdyndns-homew-credentialless-staticblitzcpserverdiscordsaysis-a-nurseappspotatlassian-isolated-3premotewdfrom-mtwixstudiocode0emm180rmyactivedirectoryawsappsmytuleapdnsabrpolyspaceqbuserrenderbuiltwithdarkboutirgotdnsabrdnsdopaascanva-hosted-embedawsglobalacceleratorhomesecuritypcmyiphostditchyouripclever-clouddyndns-ipon-aptibleis-a-musiciansecuritytacticsappspaceusercontenthomeunixstrapiappsame-previewcf-ipfsmycloudnaselasticbeanstalkis-certifieddontexistkasserverik-serverdrive-platformatlassian-3pfirebaseappherokuappawsapprunnerbarsycenteris-a-cubicle-slaveservehttpmyshopifyis-a-guruquicksytessiiitesorsitesmagicpatternsappis-a-cpameteorappfrom-wiis-a-rockstarbumbleshrimpdattolocalreadthedocs-hostedfrom-rifamilydsdyndns-picsplesknsbplaceddnsaliasdynaliasdyndns-remotedoomdnsip-ddnsblogdnsis-a-doctorroutingthecloudamazoncognitobarsyonlinedsmynasddnsgurucloudflare-ipfsdeus-canvasfrom-idsmushcdnpagespeedmobilizerdyndns-at-homeunusualpersonhosted-by-previderis-a-republicandyn-o-saurstreamlitappworkisboringonthewificprapidqualifioappis-uberleetis-slickgetmyipwpdevcloudtypeformdyndns-at-workgentlentapismynascloudw-corp-staticblitzfrom-ingeekgalaxyservebeerfrom-mdonrenderspace-to-rentaivencloudappspacehostedonfabricawafaicloudcodespotblogspotatlassian-3p-us-gov-modfrom-ndfrom-msis-a-techieis-a-studentcustomer-ociis-a-photographerdurumisfrom-ksmassivegriddyndns-wikiis-an-entertaineris-a-hard-workermysecuritycamerafrom-mnrackmazedyndns-blogis-a-bulls-fanwritesthisblogfreemyipsimple-urlfrom-sdreservdauthgear-stagingest-mon-blogueuris-into-gamesrice-labsxtooldevicesakurawebis-an-anarchistoraclecloudappsdyndns-worksells-for-urhcloudfrom-dcfastvps-serverwpmucdnis-a-geekscrysecfrom-txis-into-cartoonsmodelscapetrycloudflarelocaltonetstreak-linkbalena-devicesfrom-njforgeblocksfreebox-oswebadorsitefrom-ncdoesntexisthobby-sitestreaklinkshomesecuritymacownprovidertuleap-partnersdattorelaywphostedmailalpha-myqnapcloudservequakeis-a-socialistservehalflifepivohostingdynuhostingquipelementsw-staticblitzdyndns-webfrom-deproject-studyaliases121is-not-certifiedhercules-devis-a-financialadvisorservepicsis-a-greenloseyouripfrom-ilwithyoutubemwcloudnonprodwiredbladehostingdnsdojofrom-tnpixolinomyqnapcloudis-an-artisthostedpiis-a-landscaperauiusercontentoaiusercontenton-forgeis-a-conservativedreamhostersnet-freaksapps-1and1is-goneencoreapifastly-edgefrom-nesalesforcefrom-scdeployagentoraclegovcloudappsfrom-alis-a-lawyercechirevultrobjectsstufftoreadisa-geekddnsgeeklovableprojecttry-snowplowfrom-moblogsyteis-a-bookkeepernogmyforumravendbmyboxdeelementoredsaacficogoorinforgcomgobnatneteduidstoreorgcomnetintedudevnomepublorgcomneteduathgovtestscalculatorspaynowinfoquizzesresearchedcloudnsfunnelsassessmentsjscaleforcetmacltdorgmilcompronetgovbizpresseklogesrsccloudcustomfltusrcloude4corealmgovmunicontentproxy9metacentrumdyndyndyndnsdynpagespages-researchitionoccustomercomymyspreadshopipv64diskussionsbereich4limacomrub2ixfirewall-gatewayddnssspdnsbarsykeymachinesquare7myhome-serverspeedpartnercommunity-proschuldockxenonconnectg\xFCnstigliefernbwcloud-os-instancedyndnssecmy-routerxn--gnstigliefern-wobin-butterl-o-g-i-nisteingeekin-dslin-berlinin-brbfuettertdasnetzleitungsenin-vpnlcube-serverdyn-ip24logoipdyn-berlinruhr-uni-bochum12hpgoipsrvdnsfruskygit-repossvn-reposinternet-dnsg\xFCnstigbestellenhome-webserverxn--gnstigbestellen-zvbbplacedheimdnscosidnswebspaceconfiglima-citydyndns1istmeinvirtualuserschulplattformmy-gatewayddnsseclebtimnetztest-iservmein-iservvirtual-userhome64iservschuletaifun-dnstraeumtgeradeschulserverdynamisches-dns123webseitednshomehs-heilbronndnsupdaterbssgraphicdwadpdwdaepeweaawapaafpfwfabwbpbacwcpcciwebuserapiobjectsidsiskospockkimodorikerbonesteamsparisjanewaypicardglobaltarpitreedpikekiraworfsulukirkarchertuckerhackercanarywesleystagingprereleaset3r2lpbravepanelngrokiservstglclcrmerpflypagesbarsyvivenushoplocalcertlocalplayerbearbloggatewaydeno-stagingis-not-ais-a-goodbotdashvercelmocha-sandboxplatter-appreplitgithubpreviewworkersinbrowserevervaultdetais-ahrsndenoxmitmodxmyaddrstorageapipayloadgrebedocruncontainersstgstagelclstageloginlineis-a-fullstackleapcellngrok-freeis-coolstoragewebharemediatechlibp2pdiscourseimaginecomyspreadshopstoreregbiz123hjemmesidefirmcoorgcomnetedugovsldorgmilcomwebgobartnetedugovtmorgpolcomsocartnetedugovassoagrondiscoodontk12medcuegyecpaabgengorgmilgalsaltulcomadmesmgobpubdocmonfindgnriouioproartlatvetnetfotedulojgovntrturibrbarxxxofficialbasechefprofmktgpsictechinfoarqtcontdentrrpppsiqgit-pagesritmedfieorgcomlibprieduaipgovriikmeactvsportorgmilcomscieunnetedugovnameinfopintouchtawktotawkmyspreadshoporgcomnomgobedu123miwebcomputeorgcomnetedugovbiznameinfocognito-idpeusc-de-east-1onjelasticnxaspdnsbarsydirectwpdeuxfleurstransurldogadoprvwcloudnsamazonwebservicesdnshomeuserpartycokoobinmkmstorjfidemopaasdymyspreadshopalandkapsiikixn--hkkinen-5wacloudplatformdatacenterh\xE4kkinen123kotisivuidacorgmilcompronetedugovbiznameinforadioorgcomneteduuserexperts-comptablestmmyspreadshopgretaprdcomnomynhccifbxoshuissier-justicenotairesaeroportfreeboxoson-webavocatassoportgouvkdnschirurgiens-dentistes-en-franceavouesfbx-os123sitewebveterinairechirurgiens-dentistespharmacienchambagrimedecinfreebox-osdediboxgoupilemszicpyicpvicppleysheezypagesedugovcnpyorgcomcybllcpvtnetedugovtnxonlineschooldaemond6atcopanelorgnetplybotdashstackitkaasorgmilcomnetedugovbizmodltdorgcomedugovcoorgcomneteduappwriteacorgcomnetedugovcloudtranslateusercontentorgcomnetedumobiassoorgcomnetedugovbarsysimplesitediscourseindorgmilcomgobneteduorgcomwebnetedugovguaminfonxhra\u6559\u80B2\u654E\u80B2\u7DB2\u7D61\u7F51\u7D61\u7EC4\u7E54\u7D44\u7E54\u7F51\u7EDC\u7DB2\u7EDC\u7EC4\u7EC7\u7D44\u7EC7\u516C\u53F8\u653F\u5E9C\u500B\u4EBA\u4E2A\u4EBA\u7B87\u4EBAltdorgcomincneteduidvgovxn--uc0ay4axn--55qx5dxn--mk0axixn--io0a7ixn--uc0atvxn--zf0avxxn--lcvr32dxn--od0algxn--wcvs22dxn--gmqw5axn--od0aq3bxn--mxtq1mxn--ciqpnxn--tn0agxn--gmq050iorgmilcomgobneteduiservwp2tempurlmircloudfreesitewpmudevmyfastgadgetcloudaccessjelehalfboltfastvpsemergenteasypanelopencraftizcombrendlynamefromrtpersoadultmedorgpolrelcomproartnetedufirminfoassoshopcoopgouvtmcomediahotelforumvideosportorgsexagrargameslakaseroticaerotikatozsdereklamcasino2000filmsuliinfoboltshopprivnewsszexcityutazasjogaszkonyveloingatlaneacaicogoormy\u1B29\u1B2E\u1B36milwebschnetkopbizzonedesaponpesxn--9tfkymyspreadshopgovmytabittabitorderravpageaccok12idforgnetgovmuniltdplcaccotttvorgcomnetmeca6g5gpgamubacaicniocoukuptverdruscsdelhiindorgmilcomwebnicfingenpronetintedugovresbizbiharbarsyinternetbusinessschooltravelsupabasealumnigujaratfirminfoaeropostbankcoopindevscloudnsno-ipbarsybarrell-of-knowledgebarrel-of-knowledgensupdategroks-thisdnsupdatefor-ourknowsitalldvrcammittwalddynamic-dnsv-infowebhopselfipdyndnshere-for-moreilovecollegemayfirstforumzcloudnsmittwaldservertypo3servergroks-theeusekd1uk0cdndyndnsidrawsainaueuapjpusstagemocksysdevicesclientcustreservdcustdevdisrecprodtestingcobeebyteutwenteboxfusebravepstmndedynngrokorgmilcomnomhzcnetedugovqcxqzzbarsythingdustmo-siemensrb-hostingprotonetfh-muenstergitbookbluebitecloudbeesusercontentnodeartkiloappsforgerockdarklangresinstagingapigeebubbleb-datascryptedhypernodedappnodepantheonsitegitlabgithubkeeneticvirtualservercleverappshostyhostingon-rioedugitticketstelebiton-acornwixstudioon-k3sicp0icp12038jeleqotobigvlairbubbleappsmyaddrstolosmyrdbxwebflowdrive-platformbeagleboardhasura-applolipopdefinimavaporcloudmusicianwebflowtestazurecontainerresindevicereadthedocsloginlineeditorxmoonscalesandcatsbasicserverwebthingsbrowsersafetymarkbeebyteappbitbucketidaccovistablogorgschnetgovxn--mgba3a4f16axn--mgba3a4fraarvanedge\u0627\u064A\u0631\u0627\u0646\u0627\u06CC\u0631\u0627\u0646jclaspeziapdudcefegelemeperetevebacanatavaparasabgagfgogrgpgalclblimfmrmcbmbvbfclcmcvcrcpcchlimifibicivipirisimncnbnanenrnpntnnolomobocoaogorosopotoptvtatctbtmtltotpulunutpspapaqsvpvvvtvavvrtrsrprgrfrcrbrarorkrvstsssbscsmsispzczbzbozen-suedtirolmyspreadshopxn--bulsan-sdtirol-nsbxn--valledaoste-ebbtrentinoaltoadigetrentin-sued-tirolxn--forlcesena-c8axn--forl-cesena-fcbxn--bozen-sdtirol-2obtriestetrentinsuedtiroltrentino-s-tirollecceudineaostesienaparmaluccapaviagenoapaduaaostamonzaabruzzoternirietiturinmilanbozenlaziofermoleccocuneonuoropratola-speziavdataaligfvgpugmolcalcamlomumbsicpmnvenvaoedugovabrsarmaremrbastoslazibxosfirenzetrentinos\xFCdtirolval-d-aostavalle-aostamessinacremonaravennatoscanatrentin-suedtirolbolognacalabriaurbinopesarofriuli-v-giuliaogliastraxn--valle-aoste-ebblaquilaandriatranibarlettasyncloudtrentinosudtirolxn--valle-d-aoste-ehbaostavalleyvalled-aostatrentino-alto-adigevallee-d-aostexn--balsan-sdtirol-nsbpistoiasicilialucaniacataniaiserniaperugiabresciaveneziagorizialiguriaimperiabulsan-suedtirolbalsan-suedtirolbarlettatraniandriaxn--trentino-sdtirol-szbforl\xEC-cesenatuscanyvall\xE9e-d-aostemantovavall\xE9e-aostecasertapiemontevalleaostaval-daostafriulivgiuliatrevisoforli-cesenavall\xE9edaosteferrarapescaravald-aostatrentino-altoadigefriuli-vegiuliavallee-aostecarboniaiglesiastarantomediocampidanovalleedaostetrentinosud-tirolcampobassotrentins\xFCd-tiroltrentinos\xFCd-tirolmonzabrianzatrentino-s\xFCdtirolxn--trentino-sd-tirol-c3bpotenzacosenzavicenzaemiliaromagnavenicefrosinonemarchepordenonetrentinosued-tirolvaresemolisevall\xE9eaostefriuli-veneziagiuliabasilicatalatinaanconasavonaveronamodenaaquilabiellabolzano-altoadigepugliafoggiaumbriatrentino-stirolgenovapadovamateranovararagusapiacenzatrentinostirolvalleeaostetempio-olbiatrentinsudtirolmassa-carrarafriuliveneziagiuliatrentinosuedtirolandria-barletta-tranitrapanixn--cesenaforl-i8amaceratacaltanissettaascoli-picenobrindisicarraramassacagliaririmininapolivibo-valentiachietibulsan-sudtirolbalsan-sudtiroltrentino-a-adigebulsanbalsaniglesiascarboniamilanotorinoteramodell-ogliastraarezzotrentinoalto-adigerovigotrentovenetoiglesias-carboniatrentino-sud-tirolaltoadigereggio-emiliareggio-calabriasardegnatranibarlettaandriapiedmontxn--sdtirol-n2amedio-campidanotrentino-s\xFCd-tirolfriuli-vgiuliafriuli-ve-giuliaromeennaromapisa32-b16-b64-blodiastibarineencomonaplesforlicesenailiadboxosalessandriasicilytrani-barletta-andriaxn--trentin-sdtirol-7vbpesarourbinotrentinsued-tirolcesena-forliforl\xECcesenaemilia-romagnamonzaebrianzaxn--trentinsdtirol-nsbtrentinos-tiroltrentins\xFCdtirolvalledaostaolbia-tempiocampidanomediovibovalentiasassarivalle-daostalombardyfriulivegiuliareggioemiliamonzaedellabrianzaalto-adigevercellitrentin-sudtiroltraniandriabarlettatrentino-sudtirolascolipicenobozen-s\xFCdtirolfriulive-giuliaflorencevaldaostaxn--cesena-forl-mcbcarbonia-iglesiasaosta-valleycarrara-massadellogliastratrentinoa-adigexn--valleaoste-e7apesaro-urbinoxn--trentinosdtirol-7vbxn--trentin-sd-tirol-rzbxn--trentinsd-tirol-6vbtrani-andria-barlettatrentin-s\xFCd-tirolxn--trentinosd-tirol-rzbgrossetomonza-e-della-brianzas\xFCdtirolreggiocalabriatrentinoaadigetrentin-s\xFCdtirolfriuliv-giuliaverbaniacampaniatrentino-aadigefriulivenezia-giuliasardiniaandriabarlettatranibarletta-trani-andriacatanzarooristanourbino-pesarocesena-forl\xECvalle-d-aostacampidano-medio123homepagesiracusatempioolbiasuedtirollombardiaavellinocesenaforl\xECtrentinofriuli-venezia-giuliabozen-sudtirolandria-trani-barlettabulsan-s\xFCdtirolbalsan-s\xFCdtirolmonza-brianzabolzanotrentino-sued-tirolbellunosalernolivornocrotonesondriodnshometrentinsud-tirolmassacarraratrentin-sud-tiroltrentino-suedtirolviterbobergamocesenaforliolbiatempiopalermobeneventoagrigentoofcoorgnetfmaitvphdengorgmilcomschnetedugovperagrikanieasukehandachitatokaiaisaikonanoharuamaobuhigashiuraowariasahiinuyamatobishimaiwakurashitarainazawatoyonegamagorimihamatoyotataharakariyayatomioguchikomakimiyoshinishiotokonamekiyosuchiryutoyohashiokazakiisshikikasugaikotakiratoeianjotogofusosetohazutsushimashinshirotakahamanisshinshikatsuhekinantoyokawaichinomiyatoyoakeodateogataakitaikawakyowahonjoogayurihonjonoshirokamiokakatagamimitanegojomeyokotekosakadaisenkazunonikahohonjyomoriyoshimisatohappoukamikoanihachirogatahigashinarusesembokufujisatokitaakitaitayanagiowanitakkomutsutsurutahirosakigonoheoirasetowadamisawanohejiaomorishingohiranairokunohehashikamitsugarushichinohehachinohenakadomarisannohekuroishisakaeisumiasahiotakiinzaiabikomatsudoyachiyomutsuzawakujukuriomigawakashiwatoganemihamanaritasakuranagaramobarahanamigawachoshishiroichoseikozakishisuikatorimidorichonankyonanfuttsuonjukufunabashinagareyamanodasosatakochuotohnoshourayasukimitsuyokaichibayotsukaidosodegauratateyamakamagayayokoshibahikariyachimatakatsuuratomisatokisarazukamogawaichikawanarashinoichinomiyashimofusaminamibososhirakoichiharaoamishirasatoikatahonaiainansaijoseiyoiyoozuuwajimaniihamanamikatamasakiuchikokihokutobetoonshikokuchuomatsuyamaimabarikamijimakumakogenyawatahamamatsunosabaeikedaobamasakaifukuiohionotsurugamihamawakasaminamiechizeneiheijikatsuyamatakahamaechizensoedaukihaomutaokawanishiogoribuzenonojosueumiokiotochikugosasagurisaigawamizumakishinyoshitomikurumekurateyamadakasuganakamamiyamanogatatakatahakataiizukakawaratagawakasuyaashiyainatsukimunakataminamitsuikishonaikurogifukuchikeisenhigashimiyakoshinguyukuhashiokagakiyamekogaongausuikahotohochuotoyotsumiyawakadazaifuhisayamatachiaraiyanagawanakagawahirokawachikujochikushinochikuhochikuzennamieotamaokumashowateneiiwakikoorinangoononishigoshimogoomotegomishimafukushimaasakawakagamiishishirakawaiitatefutabahiratayugawahanawakitakatakawamatakunimiyabukibandaihigashihironoyamatomiharuyamatsuriaizubangedatesomaaizuwakamatsuyanaizuaizumisatonishiaizuizumizakikitashiobarataishinkaneyamakoriyamainawashirotanagurafurudonosamegawasukagawaishikawatamakawaikedaogakitaruiginanenahashimahichisonakatsugawaibigawashirakawamizunamiminokamomitakekawauesekigaharatomikasakahogikitagatayamagatatajimianpachimotosuyaotsukakamigaharahidakanisekitokigujominogodoyorogifukasamatsutakayamawanouchihigashishirakawakasaharashimonitatsumagoichiyodakannakanrashowameiwakiryuotaoratomiokafujiokaitakuranaganoharahigashiagatsumatakasakishibukawaminakamikatashinatsukiyonokawabanumataannakaoizumimidorishintoisesakiuenoyoshiokakusatsutakayamanakanojonanmokutamamuratatebayashimaebashiotakekaitadaiwahongofuchukuietajimashobaramiharahatsukaichihigashihiroshimamiyoshikumanokurenakasakaseraseranishiasaminamifukuyamashinichionomichiosakikamijimajinsekikogentakeharaotobenanaeikedatohmaozoraobiraabirakyowaeniwataikibibaisharirebunerimohiroooketootarupippunishiokoppechitosefurubirahakodateshiranukakitahiroshimakushiroobihironanporoiwamizawaniikappukunneppufukushimanakasatsunaitoyourakuromatsunaiakabirakamisunagawashibechaurakawakamifuranonakatombetsuasahikawashimokawakayabeokoppebiratoriabashirisaromaatsumanumatahidakabifukamukawamikasahorokanaitoyotomisarufutsuhigashikawaishikarikitamiyoichiesashiiwanaitomariminamifuranoakkeshifuranotoyakoyakumootoineppushikaoishiraoinemuronayorohaboroashorobihororishirifujiutashinaihokutotakasuebetsuurausuassabukikonaishimamakinaiedatetoyabieinikiesanuryuoumuteshikagarikubetsuashibetsukimobetsuaibetsutobetsusobetsuembetsushimizuchippubetsurishirihokuryuhoronobeshintokutsubetsushibetsuhonbetsumombetsutsukigatakuriyamakoshimizushiriuchikutchanmurorannoboribetsukamishihorowassamushinshinotsukembuchiwakkanaikamoenaikiyosatotakinoueshikabesunagawafukagawanakagawatakikawakamikawahigashikagurahamatonbetsumatsumaemoseushirankoshishakotanimakanemashikeotofuketomakomaisandatambaitamiawajikasaiasagoshisoonoakoyashirotoyookaminamiawajiinagawafukusakitakasagokamigorikasugaharimayokawaashiyahimejiakashitaishiaogakisannantakinosumototakarazukanishinomiyashingugoshikinishiwakiyokatakaaioimikisayoyabukawanishiamagasakisasayamashinonsenkakogawaichikawakamikawatatsunotsukubaiwamaogawaasahisakaitokaioaraiitakobandodaigosuifuinaamikasumigaurakashimaomitamayachiyoshimodatetomobetoridehitachinakainashikisakuragawakasamayawaramoriyahitachiomiyanamegatayamagatahitachikamisuushikutakahagiibarakitonekoganakasowayukimihojosomitoryugasakishimotsumafujishirotsuchiurachikuseihitachiotashirosatotamatsukuriuchiharashikahakuinanaotsubatawajimakahokukawakitatsurugikaganominotosuzuuchinadakomatsuanamizunakanotohakusannonoichikanazawaiwateshiwafudaikawaimoriokaofunatohanamakikuzumakikitakamininohekunoheyamadayahabasumitaichinosekitanohatahiraizumirikuzentakatajobojiotsuchihironomiyakoiwaizumikarumaiichinohenodakujitonooshushizukuishifujisawamizusawakamaishikanegasakimannoutazukotohiraayagawazentsujihigashikagawauchinomikanonjisanukimarugamemitoyotakamatsutadotsunaoshimatonoshoakuneamamiizumihiokiyusuikinkoisasookouyamanakatanekagoshimakanoyaisenkawanabeminamitanemakurazakitarumizunishinoomotematsumotosatsumasendaioimatsudaayaseebinamiurazushinakaiodawaraiseharasagamiharahakoneaikawakaiseiatsugitsukuihadanoyamatoyamakitazamaoisochigasakininomiyayokosukakamakuraminamiashigarafujisawasamukawakiyokawahiratsukayugawaraokawaumajikochitsunootoyoakiinonishitosayasudahidakamiharasakawaniyodogawahigashitsunokagamigeiseisusakiotsukinaharisukumomurototosakamiochitoyotosashimizumotoyamanankokunakamurakitagawayusuharaogunichoyoukiasoutoozugyokutoamakusamifunetakamoriyamagaminamataminamiogunikikuchisumotoyamatonagasumashikiaraokumamotokamiamakusanishiharayatsushiroayabeseikasakyoideineujinakagyokameokakyotangokyotanabekyotambaminamiyamashiroyamashinatanabeyawatawazukaminaminantanmiyazuhigashiyamafukuchiyamakitamukokamojoyokizumaizuruujitawaraoyamazakinagaokakyokumiyamakawagoeinabeshimameiwaasahitaikiudonoisetsukisosakikuwanamihamamiyamasuzukatamakimisuginabarikumanokomonominamiisewataraitobakiwatakikihotadomatsusakayokkaichikameyamaureshinoishinomakishichikashukuohirataiwaosakizaohigashimatsushimashikamaiwanumashibataogawaraonagawakawasakiseminemarumoriminamisanrikukakudamuratawakuyatomiyanatoriwataritagajomisatotomekamirifushiroishimatsushimayamamotoshiogamafurukawahyugaebinotsunosaitoayakushimanobeokakitauramiyazakitakazakigokaseshiibamimatashintomikunitomikitakatakobayashikawaminamitakaharukijotakanabemiyakonojonishimeranichinankitagawakadogawamorotsukakisofukushimaminamimakisakaeobuseikedaogawamiasaokayaasahiotakiotarichinoinaomichikumakomaganechikuhokukaruizawayasuokaooshikaikusakaminamiaikitogakushimatsukawakawakamitateshinatakamorikitaaikishiojirimiyadahakubaiizunaiijimaiiyamamiyotasuzakayasakatoguraookuwanagawaminowahirayayamagataminamiminowafujimiomachisakakitakaginaganonakanosakuhokomoronagisoshinanomachiwadauedaiidaharasuwatomiachiaokianankisosakunozawaonsenagematsutakayamashimosuwamatsumotoyamanouchinakagawamochizukiazuminotatsunoobamaomuraseihiunzenosetofutsuikichijiwanagasakiisahayahasamisaikaikawatanasasebohiradokuchinotsugototogitsutsushimashimabarashinkamigotomatsuurayamazoekashibaikomakawaitenrioyodosangokoryoudaojiikarugayamatokoriyamatenkawakatsuragikurotakikawakamimiyakemitsuetakatorikamikitayamayamatotakadahegurishinjokanmakisakuraitawaramotogoseoudanarasoniandokawanishishimoichihigashiyoshinokashiharashimokitayamanosegawayoshinomintsivorytopazsakuragehirnsumomoaseinetopalmail-boxmokurenyoitamuikaojiyagosensanjoaganomyokoseiroagaomishibataniigatanagaokamurakamiuonumayuzawakariwatagamitainaitsunanminamiuonumatochioyahikojoetsuseiroukamosadoizumozakitokamachiitoigawasekikawakashiwazakitsubamemitsukekokonoesaikiusukibeppuusahimeshimakunisakihasamataketatsukumihitaoitahijikusuyufukujukamitsuebungoonobungotakadaibaraniimibizentsuyamaokayamakasaokahayashimayakagemaniwaakaiwamisakishinjotamanotakahashikibichuowakesojanagishookumenannishiawakurakurashikiasakuchisetouchikagaminosatoshotomigusukunakagusukuyaeseizenaurumaiheyaaguniogiminanjokinminamidaitokitanakagusukuyonaguniokinawaishigakikunigamiurasoekadenataramahiraraginozataketomishimojizamamitonakiitomanhigashimotobuyonabarugushikamionnanahanagohaebarukumejimakitadaitonakijinnishiharayomitanginowantokashikiishikawaikedasuitaminohizuminishisakaikananabenodaitoosakasayamayaokishiwadatadaokakaizukatondabayashichihayaakasakakumatorikadomasayamahigashiosakashijonawatehirakatataishimisakitajirihannansennankatanotoyonominatosettsuhigashiyodogawaibarakinosekitachuohigashisumiyoshifujiiderakashiwaraizumiotsutoyonakamatsubaramoriguchiizumisanoshimamototakatsukineyagawahabikinotakaishikawachinaganoyoshinogarikamiminearitaouchiimarihizenogikashimaariakekiyamafukudomikitagatakitahataomachigenkaikanzakinishiaritakyuragisagataratosutakushiroishikaratsuhamatamakouhokukawagoeyoshidasatteogoseirumaasakaurawaogawaniizaomiyayoriiotakishikihonjooganohannohanyuinasaitamaokegawaarakawayoshikawayokozehasudasayamahidakafukayachichibuiwatsukiryokamiyoshimikamiizumifujimiwarabiranzanmiyoshiminanoyashiosakadosugitomisatohigashichichibutodasokakukiyonokazoshiraokakasukabekounosukawajimatsurugashimamiyashirokitamotohatoyamamoroyamahatogayakumagayakawaguchinagatorokamisatomatsubushinamegawatokigawakamikawafujiminohigashimatsuyamakoshigayatokorozawas3isk01isk02ryuohkoseikonanaishorittotakashimamaibarahikonetorahimenishiazaikokagamokotoyasuotsukusatsunagahamamoriyamatoyosatotakatsukinotogawaomihachimanhigashiomiakagiunnanizumogotsuamayatsukakakinokimatsuehamadamasudahikawahikimiokuizumoyasugiyakumomisatotamayuohdahigashiizumookinoshimanishinoshimatsuwanoshimaneshimadafujiedayoshidashimodagotembaiwataatamikosaiyaizuitoizumishimahaibaramakinoharaomaezakikawanehonkannamisusonohigashiizufukuroinumazukawazufujiaraishizuokahamamatsushimizuizunokunimatsuzakimorimachiminamiizunishiizukikugawakakegawafujikawafujinomiyaujiietsugaoyamayaitaohiranikkoashikagakuroisokanumasakurashioyakarasuyamamotegiichikaikaminokawatochigihagamokanogisanobatonasumibunasushiobaranishikatautsunomiyaiwafunemashikoshimotsukeohtawaratakanezawaitanokomatsushimatokushimaichibaminamiaizumiwajikikainanmiyoshinarutomimamugiananmatsushigesanagochishishikuinakagawamachidachiyodakomaefussainagitaitochofufuchuomeotahigashiyamatotoshimaokutamaaogashimakodairaedogawaarakawahachiojishinagawatachikawashibuyasuginamihinodekiyosesumidaoshimanerimamitakahamuraadachinakanomizuhobunkyomegurominatokoganeihigashikurumekokubunjihigashimurayamamusashimurayamatamakitahinochuokotokatsushikakouzushimaogasawaraakishimakunitachishinjukusetagayamusashinohachijoitabashiakirunohinoharachizunanbukotouramisasawakasayonagokogehinoyazutottorinichinansakaiminatokawaharaoyabetairainamiasahinantoimizufuchutakaokakurobeyamadajohanatoyamatonaminyuzenfunahashinakaniikawanamerikawaunazukitogahimiuozufukumitsutateyamakamiichiiwadearidayuasainamitaijikatsuragiaridagawatanabemihamahidakakainankiminomisatoshingushirahamakamitondayurakozakoyagobokitayamawakayamakudoyamahashimotokushimotokozagawahirogawakinokawanachikatsuurarsuseroeoishidasagaeoguniasahinagaitendonanyoobanazawanishikawasakataohkuratozawamikawamamurogawayamagatafunagatatakahatashonaishinjokahokuiideyuzakawanishitsuruokakaminoyamayamanobeshiratakamurayamanakayamakaneyamahigashineyonezawasakegawamitouubeyuuabushimonosekitabuseoshimatoyotaiwakunihikarishunannagatohagihofukudamatsutokuyamashowadoshitsurunanbukoshukaiminami-alpsnirasakikosugeotsukioshinohokutominobuyamanashifuefukichuokofuichikawamisatoyamanakakonakamichitabayamanishikatsuranarusawafujikawahayakawafujiyoshidafujikawaguchikouenohara\u9577\u91CE\u4EAC\u90FD\u5C90\u961C\u5927\u962A\u4E09\u91CD\u7FA4\u99AC\u5343\u8449\u6ECB\u8CC0\u4F50\u8CC0\u5948\u826Fadednelgaccogogror\u79CB\u7530\u611B\u77E5\u9AD8\u77E5\u57FC\u7389\u6C96\u7E04\u6803\u6728\u718A\u672C\u5CA9\u624B\u9752\u68EE\u5C71\u68A8\u65B0\u6F5F\u5CF6\u6839\u9CE5\u53D6\u9577\u5D0E\u9999\u5DDD\u5BAE\u57CE\u77F3\u5DDD\u5927\u5206\u5BAE\u5D0E\u8328\u57CE\u5C71\u53E3\u5175\u5EAB\u5C71\u5F62\u5FB3\u5CF6\u5E83\u5CF6\u798F\u5CF6\u798F\u5CA1\u5CA1\u5C71\u5BCC\u5C71\u9759\u5CA1\u611B\u5A9B\u798F\u4E95\u6771\u4EACxn--4it168dhatenadiaryxn--vgu402ckawaiishophatenablogcocottenamaste\u5317\u6D77\u9053penneehimeiwateversestabachibashigagonnagunmapermahaccaakitaosakauh-ohblushkochiaichifukuikuroncapooitigohyogotokyokyotopunyuthickcheap0t00g00j0mie2-ddaapyawjg0amfemsubxiiboomoobutchueekpgwrgrherskrboyrdyupperunderflierchipsmydnsheavyangryhippygirlyrulez\u795E\u5948\u5DDD\u9E7F\u5150\u5CF6\u548C\u6B4C\u5C71bambinaxn--nit225kokayamasaitamaxn--k7yn95exn--1lqs03nsapporoparasitelolipopmcxn--efvn9sniigatafukuokatokushimafukushimahiroshimakagoshimafakefurokinawaxn--8pvr4ucoolblogxn--0trq7p7nnkawasakinagasakimiyazakichilloutxn--8ltr62kxn--klty5xpeeweezombiecutegirlxn--rny31hxn--uuwu58axn--ntso0iqx3axn--djrs72d6uytoyamanikitanyantakagawamimozanagoyaboyfriendxn--2m4a15egreaterchowderegoismyamagatafashionstorexn--elqq16hxn--pssu33lsendaimiyagixn--rht27zpecoriaomorisaloonwatsonvivianxn--djty4knobushipigboatnaganopinokoxn--f6qx53asadistvelvetsecretxn--5js045dchicappayamanashiibarakidigickgirlfriendxn--1lqs71dmongolianxn--c3s14mxn--qqqt11mtochigixn--5rtq34kparallelo0o0mondkobesagabonadecaoitanarafoolkilldecimainhiholomosblokilociaoundopupugifutankcrapflopnooroopsmodsholyjeezstripperpepperbittershizuokaxn--rht3dkitakyushureadymadeicurusversusmatrixxn--rht61ehungryfloppygloomycrankyhandcraftedlittlestarxn--klt787dxn--kltx9awhitesnowsunnydaytottorilovepoptheshopbuyshopxn--5rtp49cxn--d5qv7z876cwebaccelxn--kbrq7oxn--4pvxsxn--1ctwolovesickkumamotocatfoodxn--tor131oyokohamawakayamatonkotsuxn--ehqz56nxn--uist22hxn--6btw5axn--kltp7dyamaguchifrenchkisspussycatxn--4it797kxn--uisz3gbabybluexn--zbx025dnetgamersxn--7t0a264ckanagawaxn--6orx2rishikawaxn--ntsq17ghalfmoonschoolbusjellybeanxn--mkru45iusercontentlolitapunkxn--32vp30hsakurastoragehokkaidoshimanecandypopbabymilksupersaleweblikeraindropbackdropwebsozaikikirarahateblodaynightmeneacsccogoormobiinfoaeusxxorgmilcomnetedugovorgcomnetedugovbizinfotmprdorgmilcomnomedugovassnotairespresseassocoopgouvveterinairemedecinpharmaciensorgnetedugovtraorgcomedurepgovmeneperekgacscaiiocogoitoresmshsseoulbusanulsandaeguc01milvkimmvchungnamjeonnamjeonbukeliv-dnsgyeonggijejueliv-cdnincheondaejeongangwongyeongbukgwangjuchungbukgyeongnameliv-apicoeduindorgcomembnetedugovorgmilcomnetedugovjcloudorgcomnetintedugovperbnrinfocooyorgcomnetedugovipfscanvamypepw3sstorachakeeneticjoinmcinbrowserdwebcyonnftstoragemyfritzaemewphlxachotelltdorgcomwebsocschngonetintedugrpgovassnomgacsccoorgnetedugovbizinfo123websiteidorgmilcomasnnetedugovconfidmedorgcomplcschnetedugovaccoorgnetgovpresstmassoirseproxaccosoundcasthoptocraftvp4c66orgnetedugovitsmcdirmyboxbarsyedgestacksynologylogintonohostwebhopdiskstationi234tcp4hoocgroknoipprivmydsddnsdnsforlohmustransipdscloudfilegear-sgbrasiliafilegearframerbarsybarsyonlinecoprdorgmilcomnomedugovinforgcomnetedugovnameacprorgcomartnetedugovpresseinfoassoinstgouvorgnycedugovbarsydscloudjuorgcomnetedugovminisiteaccoororgcomnetgovorgmilcompronetintedugovbizmuseumnameinfoaerocoopaccoorgcomnetintedugovbizcooporgcomgobneteduorgmilcomnetedugovbiznameaccoorgmilneteduadvgovcoorgcomnetaltgovforgotherhiskeeneticispmanagernomassoprod5476132eastasiacentraluswesteuropewestus2eastus2rucdnwest1-usfra1-desandboxjls-sto1jls-sto3jls-sto2aglobalabglobalsslmapprodfreetlsmaplon-1lon-2ny-1fr-1sg-1ny-2paassnwebpaashostingjelasticnordeste-idcsocuserpagescwebfileblobservicebuscoreatlricnjsjelasticwebsitestoragesezagbinruhuukjptsmyspreadshopmynetnameakamaiorigin-stagingfrom-coipv64dynv6cdn77serveblogadobeaemcloudhicamsprytdnsupno-ipownipde5ovhicpfirewall-gatewaysytesmypsxbarsyusgovcloudapimyamazemyradwebakamaihdsaveincloudfastlylbfrom-lasubsc-paysquare7in-the-bandblackbaudcdnhomelinuxoninfernoctfcloudservebbsdns-dynamiccloudfrontakamai-stagingipifonyham-radio-opsenseeringclickrisingcommunity-profrom-nylocalcertgrafana-devedgesuite-stagingcloudflareanycasteating-organicatlassian-devmydattofeste-iplocaltotorprojectknx-serveredgekeycloudflareglobalcloudyclustercasacamserveftpakamaized-stagingakamaiorigindns-cloudmyeffectboomlabotdashbuyshousestwmailhetemlazure-mobilein-dslthruhereredirectmedynuddnsbouncemesupabaseluyanicloudappakamaicloudfunctionsdebiannhlfanpgafanstatic-accessin-vpnmysynologymafeloappudohomeftptrafficmanagersiteleafseidatmemsetcloudflarecloudaccesskeyword-onazure-apiis-a-chefdoes-itgets-itwebhopselfiphomeipkicks-assedgesuitewindowsserver-ontunnelmolemydissentscrapper-sitecloudflarecnuni5srcfggffiobbzabcdenodynuopikddnsvpndnsakadnselastxkinghostvps-hostfastlyhomeunixazureedgeshopselectdontexistmyfritzcloudjiffyalwaysdatasells-itsquaresbroke-itazurefddattolocalat-band-campmeinforumfamilydsazurestaticappsdefinimabplaceddnsaliasdynaliasnow-dnsblogdnsroutingthecloudendofinternetdsmynasakamaiedgemymediapcadobeio-staticakamaiedge-stagingakamaihd-stagingddns-ipprivatizehealthinsurancelive-onkrellianschokokeksmassivegridmysecuritycamerarackmazeserveminecraftfrom-azis-a-geekakamaizedmoonscalecryptonomicoffice-on-theusgovtrafficmanageradobeioruntimeedgekey-stagingreserve-onlinechannelsdvrdnsdojousgovcloudappcdn77-sslapps-1and1podzoneazurewebsitesdynathomescaleforceyandexcloudvusercontentisa-geekcdn-edgescoaemalcesappwriteazimuthtlonarvonoticeablestorecomwebrecnetperotherfirminfoartslgdloncogoiltdorgmilcolcomplcschgenngonetedugovbiznamefirmmobiacincoorgmilcomnomwebgobnetintedubizinfocomyspreadshopdemongovtransurl123websitehosting-clusterkhplaycistrongsnesosvalerv\xE5lerxn--vler-qoaossandeheroysandeher\xF8yb\xF8boheroyher\xF8yxn--hery-iraxn--b-5gavalerb\xF8boxn--b-5gasandesandexn--hery-iraxn--vler-qoav\xE5lerh\xE5re\xE5laahavaofsfvfhlolnlalrlhmfmtmahcostntbu\xE5strmreigersundmyspreadshopg\xE1ls\xE1eidsvolltingvollgildeskalflor\xF8vads\xF8vard\xF8vanylvenxn--bhccavuotna-k7astrandaxn--kvnangen-k0axn--sknland-fxaxn--mosjen-eyarakkestadhyllestadnannestadvevelstadvaapstenordre-landsondre-lands\xF8ndre-landtjieltexn--vrggt-xqads\xF8r-aurdalsor-aurdalheradstordmoldefordef\xF8rdeseljefedjeryggehemnexn--krehamn-dxasognegranes\xF8gnebrynetjomevallebykletokkegiskedovretj\xF8mehob\xF8lvoldasaudatolgas\xF8mnaviknad\xF8nnasomnadonnatranafrananesnaraumasmolatr\xE6nafr\xE6nalesjasm\xF8la\xF8rstaorstahitrafloraaukraloppafr\xF8yarissasnasahalsagalsaromsaraisar\xE1isafroyasn\xE5sagronghobolfjelltydal\xE5rdalardalaskimharamkraanghkekr\xE5anghkesorumbarumhurumb\xE6rums\xF8rummodums\xE1l\xE1tb\xE1l\xE1tfrognbjugnv\xE5ganvagangulenskienl\xF8tenlotenstrynvefsnxn--merker-kuaskaunsveiob\xF8mlobomloskj\xE5kvardoflorovadsosalatbalats\xE1latkl\xE6buklabuselbubarduulvikskjakkleppris\xF8rxn--nttery-byaefl\xE5eidflahofmilgolholsellomskifetvikdepvgsfhsaskerrisorhamarasnes\xE5snesr\xF8rosrorosxn--slat-5namasoynaroyvaroyluroydyroyaskoyradoyandoyrodoymeloyrad\xF8yand\xF8yr\xF8d\xF8ymel\xF8yask\xF8ylur\xF8ydyr\xF8ym\xE5s\xF8yv\xE6r\xF8yn\xE6r\xF8yhoylandeth\xF8ylandetdivtasvuodnal\xF8renskoglorenskognesoddtangenxn--tjme-hraxn--smla-hraxn--stjrdal-s1aunjargalillehammerunj\xE1rgaxn--hamary-fyadavvenjargaxn--bearalvhki-y4a123hjemmesidegjerdrumxn--brnnysund-m8acxn--tnsberg-q1axn--mlatvuopmi-s4axn--snsa-roaxn--skierv-utaxn--brum-voatysfjordkvafjordeidfjordkv\xE6fjordsongdalenmjondalenmj\xF8ndalenxn--gls-elackragerog\xE1\u014Bgaviikagangaviikas\xF8rreisasorreisas\xF8r-varangersor-varangerxn--risr-iraskiervaxn--frna-woaxn--trna-woakvinesdalleksvikleirvikr\xF8yrvikroyrviksvelvikvenneslaevje-og-hornnessandnessj\xF8enmarnardalvindafjordsandefjordenebakksnillfjordullensvangxn--trany-yuabr\xF8nn\xF8ysundnamsskoganaustevollxn--stjrdalshalsen-sqbnord-aurdalnord-frontr\xF8gstadtrogstadgrimstadflakstadgjerstadxn--sandy-yuaxn--leagaviika-52bnore-og-uvdalvegarsheixn--rlingen-mxaxn--ggaviika-8ya47hveg\xE5rsheikarlsoykvitsoymasfjordenhamaroyinderoyosteroydavvenj\xE1rgasauheradguovdageaidnuxn--vre-eiker-k8abronnoysiellakkr\xF8dsheradkrodsheradkvinnheradbr\xF8nn\xF8yxn--mtta-vrjjat-k7afxn--lrenskog-54akvits\xF8yv\xE1rgg\xE1tkarls\xF8yoster\xF8yinder\xF8yhamar\xF8ybronnoysundxn--aurskog-hland-jnbbahccavuotnab\xE1hccavuotnagiehtavuoatnastor-elvdalmidtre-gauldalxn--gildeskl-g0akarasjokevenassixn--bievt-0qaxn--yer-znalebesbynessebyxn--hbmer-xqamalselvm\xE5lselvxn--unjrga-rtam\xF8re-og-romsdalmore-og-romsdalhareidmeland\xF8rlandorlandstrand\xE5lg\xE5rdsolundalgardafjord\xE5fjorddielddanuorrikautokeinoxn--stre-toten-zcbskodjeaejriestangeliernebamblestokkefauskesn\xE5asesnaasekongsvingerlangevagberlevagxn--flor-jrahattfjelldalostre-toten\xF8stre-totenvestfoldxn--mely-ira\xE1laheadjualaheadjunordreisaxn--troms-zuaxn--lgrd-poacporsangerflatangerstavangerleikangerbremangersamnangergieldakarasjohkaxn--rdy-0nabfrostautsirasnoasatromsaxn--sr-aurdal-l8aflekkefjordj\xF8lsterjolsteraremarkhedmarkn\xE5\xE5mesjevuemienaamesjevuemiexn--vard-jrarollagmer\xE5kermerakerorskog\xF8rskogxn--bdddj-mrabd\xE1k\u014Boluoktaxn--osyro-wuaaknoluoktatrysilskjerv\xF8ymandaljondalbindalrindalmeldalsuldalorkdalsigdalalvdall\xE6rdalhurdalsirdalverdallerdallardaloppdal\xE5seralaseralhadselkrager\xF8divttasvuotnaoverhallasteinkjerxn--hnefoss-q1askedsmokorsettroms\xF8xn--dyry-iravestre-totenmuseumxn--sandnessjen-ogbrahkkeravjufylkesbiblb\xE1jddarbajddarxn--laheadju-7yarennes\xF8yxn--koluokta-7ya57hxn--hgebostad-g3aleirfjordstorfjordbalsfjordb\xE5tsfjordbatsfjordmuos\xE1tbiev\xE1tloab\xE1tk\xE1r\xE1\u0161johkan\xF8tter\xF8yxn--mjndalen-64anordkappl\xE1hppilahppialstahaugsiljanverranr\xF8ykenroykenhaldenlyngenbergenhortenh\xF8nefosshonefosstroandinbeiarnvarggatosoyroos\xF8yrotromsoidrettmuosatbievatruovatloabatvoagattynsetnessetxn--indery-fyask\xE1nitskanitraholtr\xE5holtxn--ystre-slidre-ujbandebusarpsborgbearduxn--karlsy-fyahordalandjorpelandj\xF8rpelanddeatnuringsakers\xF8r-odalsor-odalxn--slt-elabringerikeaudnedalnittedalnissedalhemsedalslattumsurnadalxn--blt-elabelverumstj\xF8rdalnaustdalhjartdalgj\xF8vikfyresdalhasviknarviklarvikgjovikmalvikgamviklenvikporsgrunnstjordalengerdaldrobakdr\xF8bakxn--msy-ula0hvestvagoyxn--vgan-qoaxn--ryken-vuaxn--lten-graxn--stfold-9xaxn--hpmir-xqaxn--lury-iram\xE1latvuopmimalatvuopmitysv\xE6rkirkenesbirkenesmoskenesb\xE1id\xE1rxn--fjord-lraxn--rdal-poabahcavuotnab\xE1hcavuotnaxn--frde-gralind\xE5sbearalvahkixn--hobl-irar\xE1hkker\xE1vjuxn--loabt-0qav\xE5g\xE5\xE1lt\xE1bod\xF8sundlundrader\xE5deetnetimeholeauregrueoddavagavegaranatanaarnasolasulaaltalekafusavangbergkvam\xE5mliamlibokntinnroangranosenoslobodor\xF8stroststat\xE5motamotivgupriv\xF8yeroyerliermossvossxn--nvuotna-hwalusterlunnermarkerh\xE1bmerhabmerhvalerfjalerxn--rholt-mratysvarbaidarfitjargaularh\xE1pmirhapmirmelhusfosnes\xF8ksnesoksnestysneshemnesevenesflesbergeidsbergtonsbergt\xF8nsberglindasxn--sndre-land-0cbnamsosxn--srum-gra\xF8ystre-slidreoystre-slidrevestre-slidretrondheimbalestrandxn--langevg-jxaaustrheimxn--skjk-soavagsoyaveroysandoykarmoyfinnoytranoyvestbytranbysykkylvenxn--hyanger-q1aspjelkavikandasuoloxn--fl-ziaxn--drbak-wuastathellexn--sr-varanger-ggbtelemarkxn--bhcavuotna-s4axn--porsgu-sta26f\u010D\xE1hcesuolocahcesuoloakrehamn\xE5krehamnsand\xF8ykarm\xF8yfinn\xF8ytran\xF8yv\xE5gs\xF8yaver\xF8ynamdalseidxn--lesund-huabadaddjaxn--vegrshei-c0axn--btsfjord-9zagildesk\xE5lporsanguxn--trgstad-r1an\xE1vuotnanavuotnahammerfestxn--sgne-graxn--brnny-wuacibestadharstadnarviikaeven\xE1\u0161\u0161ivestnesgjemnessandnesagdenesrennesoyxn--avery-yuaxn--tysvr-vrabearalv\xE1hkikongsbergspydebergrandabergxn--andy-iradavvesiidaxn--krdsherad-m8apors\xE1\u014Bgufredrikstadbjerkreimringeburennebuaurskog-holandnotteroyxn--vgsy-qoa0jxn--rmskog-byaskierv\xE1ivelandbyglandfrolandaurlandforsandxn--bjddar-ptamidsund\xE5lesundalesundfetsundfarsundovre-eiker\xF8vre-eikerakershusxn--moreke-juas\xF8rfold\xF8stfoldostfoldsorfoldh\xF8yangerhoyangerlevangerorkangertanangerxn--vestvgy-ixa6olillesandulsteinxn--rennesy-v1agranvinskjervoyxn--klbu-woalavagisxn--h-2faxn--ryrvik-byakafjordk\xE5fjordseljordfolkebiblxn--gjvik-wuajevnakerxn--kfjord-iuabudejjuxn--kranghke-b0axn--davvenjrga-y4axn--rland-uuaxn--ldingen-q1axn--mlselv-iuaxn--rady-iraxn--linds-prabrumunddalxn--ygarden-p1amo-i-ranaeidskogr\xF8mskogromskoghjelmelandxn--finny-yuaxn--sr-odal-q1axn--skjervy-v1aballangenkvanangenkv\xE6nangengratangenxn--hmmrfeasta-s4acvossevangensuohkanxn--rde-ulaxn--mli-tlaxn--ksnes-uuanordlandskanlandsk\xE5nlandsortlandfuoiskuxn--rros-graxn--hcesuolo-7ya35bxn--eveni-0qa01gagaivuotnag\xE1ivuotnaxn--seral-lradrammenmodalenmosjoenjan-mayentorskensteigengloppenxn--snes-poamatta-varjjatxn--sr-fron-q1aomasvuotnajessheimb\xE5d\xE5ddj\xE5xn--krager-gyaxn--kvfjord-nxaxn--asky-iraxn--snase-nraxn--bidr-5nacholt\xE5lenxn--vads-jraxn--jlster-byamosj\xF8enxn--rst-0nastavernxn--ostery-fyaxn--oppegrd-ixaxn--sknit-yqaxn--risa-5naoppeg\xE5rdskiptvetrendalenholtalenxn--mot-tlaxn--lhppi-xqaxn--holtlen-hxaxn--srreisa-q1akopervikxn--muost-0qaxn--bmlo-grahokksundkvalsundegersundxn--karmy-yuaullensakerxn--hylandet-54axn--kvitsy-fyaxn--bod-2nalangev\xE5gberlev\xE5gkristiansandxn--rsta-frahornindalstj\xF8rdalshalsenstjordalshalsensandnessjoenh\xE1mm\xE1rfeastaxn--lrdal-sras\xF8r-fronsor-fronnord-odalkristiansundm\xE1tta-v\xE1rjjatvestv\xE5g\xF8ynesoddennotoddenbuskerud\xF8ygardenoygardensalangenlavangenralingenr\xE6lingenlodingenl\xF8dingenlea\u014Bgaviikalaakesvuemieleangaviikauenorgexn--srfold-byaaskvollxn--rskog-uuaxn--nry-yla5gxn--vry-yla5ghammarfeastaxn--rhkkervju-01afxn--givuotna-8yakommunekrokstadelvanedre-eikerhagebostadh\xE6gebostadxn--berlevg-jxakviteseidxn--s-1faxn--l-1faxn--nmesjevuemie-tcbafuosskomo\xE5rekemoarekexn--lt-liacxn--jrpeland-54asvalbardoppegardholmestrandtvedestrandsogndalsokndalarendalsunndalfolldalxn--krjohka-hwab49jlyngdaletnedalnorddalsaltdalgausdalskedsmovaksdalgjesdalstordalxn--frya-hraaarbortedrangedalxn--smna-graaurskog-h\xF8landxn--vg-yiabtjeldsundhaugesundlindesnesxn--mre-og-romsdal-qqbxn--dnna-gradynmerseineshacknetenterprisecloudmineaccomaorim\u0101oriorgmilcriiwigennetschoolhealthkiwigovtgeekxn--mori-qsacloudnsparliamentcomedorgcompronetedugovmuseumwebsitekinservicebarsywebsitebuildereerobookheimdnsleapcelleero-stagetechcrscsslorigingohomecdbedeeeiemesecabgngilnlalplchfisiincnnoroptatitmtltruauhulumkdkukskjplvtrgrfrkrhrusesismycynzcznetinteduassoososcloudstgbetaaezaeuhkusjshatenadiarycdn77hoptozaptois-a-knightmyftpno-ipjpnddnssdpdnsspdnsbarsysweetpepperis-a-bruinsfanis-very-sweetservegameis-a-soxfanhomelinuxcdn77-secureservebbsmisconfusedwebredirectblogsitefreedesktopcouchpotatofriestoolforgeaccesscamis-lostreadmyblogsmall-webfedorapeopleserveftpis-a-celticsfanmywirepotagertwmailin-dslsellsyourhomeread-booksfreeddnscable-modemis-savednflfanufcfanmlbfanstuff-4-saleendoftheinternetin-vpnmy-firewallhomeftpis-localis-a-chefboldlygoingnowherewebhopselfipkicks-assroxatunkcamdvrfedoraprojectgotdnsdvrdnsdyndnspubtlspimientahomeunixdontexistfedorainfracloudwmflabsfspagesbmoattachmentsteckidsfamilydsdnsaliasdynaliasnow-dnscloudnsdoomdnsduckdnsblogdnshomednsroutingthecloudendofinternetdsmynasip-dynamicpoivronhttpbinmyfirewallis-very-evilmysecuritycamerais-a-linux-userwmcloudis-a-geektuxfamilyis-a-candidatedoesntexistis-very-badhobby-sitegame-hostaltervistais-foundis-a-patsfandnsdojohepforgepodzonedynservcollegefanis-very-goodfrom-meis-very-niceisa-geeknerdpolacmedsldingorgcomnomgobabonetedupleskaemhlxmyboxrockyprvcydeuxfleurspdnscodebergheyflowstatichostorgmilcomnomgobneteduorgcomeduiorgmilcomngonetedugovcloudns1337ngrokacorggogfamcomwebgobnetedugokgopgkpgovgosbizpasaugumicsopozpapuwmwsrprusiskwpspkppspkmpspokeoiawsawifoumsdnskokwpmuppuppsppiwwiwoowuzswkzoschrzpisdnwzmiuwwitdpssewsseumigugimoirmpinbwinbwiihupporzgwgriwupowwskrwioswuozstarostwokonsulattmpccopruszkowmyspreadshopostrodakartuzyopolegminamediaustkazgorajgoraolawailawalomzawloclradombytomjaworznotargilubinkoninzagantorunkutnokepnonakloczestsopotsanokturekplockslasksklepzarowlukowmedaidgdaorgmilrelcomnomatmgsmartneteduelkgovwawsossexbiztgorysejnytychypomorzeboleslawiechomesklepsdscloudunicloudzakopanelegnicarawa-mazbydgoszczswidnikkrasnikwloclawekbielawamragowograjeworealestatebeskidykaszubymalopolskaprzeworskswiebodzinlecznadfirmaszkolawarmiagdyniamiastakazimierz-dolnymalborkswidnicadlugolekaostrolekapodlasieelblagtravelsimplesitezachpomormielecszczecinnieruchomosciwalbrzychlezajsklublinbedzinpoznanwielunmielnooleckostarachowicedkontopowiatwroclawrybniksuwalkileborkslupskgdanskostrowwlkptarnobrzegtourismwegrowkrakowglogowyou2pilanysamailwrocinfoagroautobeepshopprivlapypiszlodzcfolksecommerce-shopmazurypulawyskoczowrzeszowpomorskiezgierzkaliszolkuszlowiczostrowiecsosnowiecmazowszewodzislawbialowiezazgorzeleckatowicepabianicejelenia-gorawolominkarpaczsieradznowarudaczeladzkonskowolaskierniewiceswinoujscieturystykabieszczadycieszynketrzynolsztynbialystokbabia-goraprochowicewarszawastalowa-wolapolkowicegorlicegliwiceponiatowalimanowalubartowaugustowkobierzyceopocznognieznoszczytnokolobrzegshoparenapodhalebielskoklodzkostargardatwithplayitownnamecoorgnetedugovacorgcomproestnetedugovbiznameislaprofinforechtngrokmedaaaacacpaenglawjurbarbarsykeeneticavocatacctcloudnsorgcomsecplonetedugov123paginaweborgcomnetintedugovnomepublidkinbarsygovx443cloudnsorgmilcomnetedugovcooporgmilcomschnetedugovnamecomcannetlibassoaemclantmcontstoreorgcomnomrecwwwbarsyfirminfoshopartsstackitmyddnswebspacelima-cityacincooxorgedugovbarsybrendlyhbvpsvpsspectrumlandinghostingacppmordoviamcprecbgorgmilcomspbnetintedumsknovgovbirrasmcdirmytismircloudvladimirnalchikadygeyamarinepyatigorskmyjinobashkiriaeurodirvladikavkazna4ugroznykustanaikalmykiacldmaildagestaniranbuildcanvaliaravalwixdevelopmentappwritemigrationneedleverceldatabasestackitcodereplravendbonporterlovableaccoorgmilnetgovcoopmedorgcompubschnetedugovservicemecomygovorggovtvmedorgcomnetedugovinfoedgfacbmlonihkutwpsryxzbdtmacfhppmyspreadshopbrandpartiorgcomfhvpress123minsidaitcouldbeworlanbibkommunalforbundfhskiopsyskomvuxkomforbnaturbruksgymnloginlineorgcomnetedugovenscaledeuusentbotdaorgmilcomnetgovnowteleporthashbangplatformlovablebarsyshopwarebasehoplixbarsyonlinemsf5gitappgitpagecofigma-govcaffeinefigmacanvasoltstputerbarsysupportchatgptsquareomniweopensocialcpanelnotionnovecorewpsquaredpreviewjelecyonbyensrhtfastvpspieboxconvexjouwwebheyflowplatformshloginlinemadethissourcecraftclouderaorgorgcomartedugouvunivmeorgcomnetedugovsurveysstatichfheiyuxs4allprojectmyfastubervibehostapp-ionosdeployagentmecoorgcomschnetedugovbizcncostoreorgmilcomneteduembaixadaconsuladokiraranohoprincipesaotomeheliohobarsystorebaseshopwaresellfyabkhaziavologdamordoviapenzalenugsochinavoiexnetspbmsknovnorth-kazakhstanashgabadkareliaarmeniageorgiavladimirnalchikivanovobukharaadygeyakhakassiakalugakrasnodarjambylaktyubinsktroitskbryanskobninskkurganazerbaijanpokrovskbashkiriatselinogradvladikavkazmurmansktulatuvamangyshlaktashkentchimkentgroznykaragandatermezarkhangelskkustanaikalmykiabalashoveast-kazakhstankaracoldagestantogliattibarsyredorgcomgobedumirenknightpointaccoorgjelasticdiscoursecleverappsschacmiincogoornetonlineshopcogoorgmilcomwebnicnetintedugovbiznametestcoorgmilcomnomnetedugovorangecloudpersoindorgcomfinnatnetgovensmincomtourismintlinfox0611oyaorgmilcomnetedugovquickconnectvpnplusnettprequalifymeaddrmyaddrntdllwadlnctvavdrk12orgmilpolbeltelcomwebgennetedutskkepgovbbsbiznameinfocoorgmilcompronetedugovbiznameinfobetter-thanworse-thansakurafromdyndnson-the-webmymailerorgmilurlcomneteduidvgovmydnsgameclubebizmeneacsccogotvorhotelmilmobiinfovodteiflgplkmsmsbcckhincndnvncoztltmkckppzpdprvcvkvlvcrkrkscxuzchernovtsyrivneyaltaodesavolynrovnolutskltdinforgcomnetedugovbizvinnicazhitomirternopilpoltavakropyvnytskyizaporizhzhiasevastopolsebastopoluzhgoroduzhhorodkharkovkharkivvinnytsiakhmelnytskyizaporizhzhecrimeaodessazhytomyrnikolaevcherkassydonetskluganskluhanskkirovogradivano-frankivskchernivtsikrymkievkyivlvivsumyzakarpattiamykolaivcherkasychernigovkhersonchernihivdnipropetrovskdnepropetrovskkhmelnitskiyneacsccogoorusorgmilcomedugovvmdhmyspreadshopadimono-ipbarsybytemarkbarsyonlinelayershiftnh-servretrosnubapicampaignservicelugaffinitylotteryweeklylotteryraffleentrygluglugsmeaccoindependent-inquestnimsitecopropymntltdorgplcschnetgovnhsbarsyindependent-commissionindependent-reviewpolicepublic-inquiryindependent-panelconnhospindependent-inquiryroyal-commissionoraclegovcloudappscck12libccphxcclibpvtparochchtrcck12libcceatonk12coglibtecgendstmusann-arborwashtenawcck12glghcck12sealibforksolympiabainbridge-islkeyporthoquiamyarrow-pointcentraliaport-townsendsequimport-ludlowrentonsilverdalebremertonredmondsheltonbellevueport-orchardport-angeleskingstonchehalisaberdeengig-harborseattlepoulsboidmdndsddemenegacalamaiavawapailalflnmdcncscohnhmihiviwiriinmntnmocoutvtctmtgunjokakwvnvprarorasmskstxwynykyazisadninsnngosrvis-bymircloudservernamepointtoenscaledland-4-salefreeddnsstuff-4-saleazure-apinoipcloudnsgolffanheliohostazurewebsitesgvorgmilcomgubneteducoorgcomnetd0egvorgmilcomnetedugovmydnsiacostoree12orgmilcomnomwebgobbibrectecnetintedugovraremprendefirminfoartseducok12orgcomnethidnsidacaiiosonlahanamhanoicamauhueorgcompronetintedugovbizbacninhtayninhhoabinhnamdinhtravinhhaiphongvinhlonghaiduongquangnamquangtrithuathienhuequangninhbacgianghaugiangquangbinhsoctrangbentrethanhphohochiminhdanangkontumhatinhkhanhhoathanhhoahealthgialailaocaiyenbaibackanngheanlonganphuyenphuthocanthodaklakdongnainameinfovinhphucdongthapkiengiangtiengiangquangngailaichaulangsonlamdongdaknonghagiangangiangcaobangbinhduongninhthuanbinhthuanbaclieuthaibinhninhbinhbinhdinhtuyenquanghungyenbaria-vungtauthainguyendienbienbinhphuocschbizputerimagine-proxyorgcomnetedugovcloud66advisormypetsdyndnsxn--8dbq2axn--4dbgdty6cxn--5dbhl8dxn--hebda8bxn--80auxn--d1atxn--c1avgxn--o1acxn--o1achxn--90azhxn--55qx5dxn--uc0atvxn--od0algxn--wcvs22dxn--gmqw5axn--mxtq1mxn--12c1fe0brxn--h3cuzk1dixn--12co0c3b4evaxn--12cfi8ixb8lxn--o3cyx2axn--m3ch0j3axn--j1adpxn--90amcxn--90a1afxn--h1ahnxn--j1ael8bxn--h1alizxn--c1avgxn--j1aefxn--80aaa0cvacxn--41acaffeineexeopentunnelbotdashtelebitorgtmaccoagricorgmilnomwebnicngonetaltedugovlawnisschoolgrondaraccoorgmilcomschnetedugovbizinfoprg1-zeropstritonstackitlimazeropsaccoorgmilgov\u044F\u0441\u043F\u0431\u043E\u0440\u0433\u043A\u043E\u043C\u043C\u0441\u043A\u0431\u0438\u0437\u043C\u0438\u0440\u0441\u0430\u043C\u0430\u0440\u0430\u043A\u0440\u044B\u043C\u0441\u043E\u0447\u0438\u0430\u043A\u043E\u0434\u043F\u0440\u043E\u0440\u0433\u043E\u0431\u0440\u0443\u043F\u0440\u05E6\u05D4\u05DC\u05DE\u05DE\u05E9\u05DC\u05D9\u05E9\u05D5\u05D1\u05D0\u05E7\u05D3\u05DE\u05D9\u05D4\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08\u0E23\u0E31\u0E10\u0E1A\u0E32\u0E25\u0E28\u0E36\u0E01\u0E29\u0E32\u0E17\u0E2B\u0E32\u0E23\u0E40\u0E19\u0E47\u0E15\u6559\u80B2\u7DB2\u7D61\u7D44\u7E54\u516C\u53F8\u653F\u5E9C\u500B\u4EBA\uB2F7\uB137\uD55C\uAD6D\u6FB3\u95E8\u65B0\u95FB\u6FB3\u9580\u8054\u901A\u5BB6\u96FB\u5609\u91CC\u62DB\u8058\u901A\u8CA9\uB2F7\uCEF4\uC0BC\uC131\u30B3\u30E0\u10D2\u10D4\u0431\u0433\u0440\u0444\u0435\u044Eadcdbdgdidmdsdtdaebedeeegeiejekemenepereseveyegabacalamanauavapaqasazacfbfafgfnfpfwftfbgcgagggegkgngmgsgpgvgtgugilmlnlalclglplsltlhmimjmkmmmomambmcmdmfmgmzmpmsmtmgbbblbsbecccacnclcmcvctcscmhkhghchbhthphshlinikifigiaibicivisikninhnmncnbngnsnpnvntnjoionomobocoaofodorosotoptstttytatbtetgtithtmtltrusuvuaucueuguhulumunufjdjbjtjsjlkmkhkfkdkcktkukskpkgpmpnpkpjpgqaqmqiqsvtvcvbvmvlvrwpwtwzwbwcwawgwkwmwtrsrprgrfrercrbrarnrmrlrkrirhrwsusrssspsgsesbsaslsmsissxmxaxcxuypysylymykygybycyuztzsznzmzkzdzczbzaz\u03B5\u03BB\u03B5\u03C5\u4E16\u754C\u53F0\u7063\u8D2D\u7269\u516C\u76CA\u70B9\u770B\u81FA\u7063\u7F51\u7EDC\u66F8\u7C4D\u5728\u7EBF\u7F51\u7AD9\u624B\u673A\u673A\u6784\u5927\u62FF\u6E38\u620F\u4FE1\u606F\u53F0\u6E7E\u8C37\u6B4C\u6148\u5584\u5546\u6807\u9999\u6E2F\u4E2D\u56FD\u9910\u5385\u7F51\u5740\u4E2D\u570B\u5546\u57CE\u98DF\u54C1\u5FAE\u535A\u653F\u52A1\u79FB\u52A8\u96C6\u56E2\u516C\u53F8\u516B\u5366\u5546\u5E97\u5065\u5EB7\u7F51\u5E97\u653F\u5E9C\u65F6\u5C1A\u4F5B\u5C71\u4E2D\u4FE1\u5A31\u4E50\u5E7F\u4E1C\u4F01\u4E1Ahomedepotengineering\u0627\u0645\u0627\u0631\u0627\u062Arepublicankuokgroupversicherungchannelcitadelxn--pgbs0dhxn--b4w605ferdstatebankwebsitexn--mgb9awbf\u4E9A\u9A6C\u900A\u6DE1\u9A6C\u9521alibabaxn--ngbc5azdxn--mgbbh1axn--45br5cyltoshibabuildworldcloudtradeguideplacespacedancemoviephoneprimesmilebiblestyleappleazurestoreskypegripexn--l1accdrivelottehorsehouseleasechasereisestadahondaomegaaetnaamicaninjanokiamediadeltavodkaedekaosakapizzaslingemailgmailtirolshelltmallfinallegaltotalhotelamfamforumrehabmusicciticricohcoachwatchboschearthfaithirishmiamiarchidubaiguccipraxi\u307F\u3093\u306A\u30B9\u30C8\u30A2\u30BB\u30FC\u30EBcanonsalononionnikonepsonkoelngreensevencrownikanoradioaudioweiboglobopromogalloyahoociscorodeovideomangobingotokyovolvolottokyotophotosmartsportquesttrusthyattjetztadultcymrubaidutushuxn--kprw13dubankclickblackmerckgroupsharpcheapnowtvxn--h2brj9c\u05E7\u05D5\u05DD\u0570\u0561\u0575\u043E\u0440\u0433\u0441\u0440\u0431\u043C\u043E\u043D\u043A\u043E\u043C\u0431\u0435\u043B\u043C\u043A\u0434\u049B\u0430\u0437\u0440\u0443\u0441\u0443\u043A\u0440\u0645\u0635\u0631\u0642\u0637\u0631\u0639\u0631\u0628\u0643\u0648\u0645dadcfdmedwedredphdthdbidpidkrdmsdltdiceonewmeglemoerwecfageacbanbambaaaammakianraspacpaaxawtfbcgaegongingaigvigorgdogdhlmilrilonlaolloluoljllcalgalnflafltelsrlfrllplkimibmcamcombommomifmabbjcbscbcabnabtabmlbpubabcbbcnecincpncllcstcwtcpwcnyckfhbzhovhmoiskiobisbitcifyituipinvinwinxincbnbcnmanfangdnmenrenkpnmtnyunrunfununobiojioriohbogmofooboooooacoecoceongoproartistottnttbbtcateatlatvetpetbetnethktmitfitintjothotgotdotbotprueduicujnjyouinknhktdkappsapgapmapdnptopgopllpjmpzipvipripesqtrvdtvitvdevmovgovhivnrwlawsewnewbmwwownowhowdvrftrmtrsfrbarcartvscrseusawsupsubssbsadsddsldssasbmsmlsxxxboxfoxgmxtjxsextaxbuyflydiysoyjoyskypaydaygayxyzanzbizwebersenerpokerlameractortatarsolar\u0EA5\u0EB2\u0EA7\u0E04\u0E2D\u0E21\u0E44\u0E17\u0E22tourslocusnexuslexusgiftsbeatsboatspartspressglassswiss\u0915\u0949\u092E\u0928\u0947\u091Ftiresgivescodeshomesgamestunesshoescardswalesloansvegastoolsdealsautosparis\u30D5\u30A1\u30C3\u30B7\u30E7\u30F3workssucksrocksxeroxforexfedexpartylillymoneystudyrugbytoraytoday\u4E2D\u6587\u7F51xn--unup4y\u5929\u4E3B\u6559\u98DE\u5229\u6D66\u65B0\u52A0\u5761enterprises\u6211\u7231\u4F60\u5609\u91CC\u5927\u9152\u5E97christmasxn--fct429kholdingsxn--8y0a063axn--mgbx4cd0ablifestyleabogadoallstatenetbank\u0643\u0627\u062B\u0648\u0644\u064A\u0643xn--s9brj9cxn--gk3at1ebestbuycharityxn--55qx5dmicrosoftpropertybasketballhomegoodscorsicajewelrygallerygrocerysurgerycountrybrusselsverisignferreroxn--czr694bhdfcbankcommbanksoftbank\u067E\u0627\u0643\u0633\u062A\u0627\u0646\u067E\u0627\u06A9\u0633\u062A\u0627\u0646nextdirect\u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0647\u0627\u0644\u0639\u0644\u064A\u0627\u0646xn--h2brj9c8cxn--80adxhksshikshaxn--mgbai9azgqp6jcuisinellabarclayscatholicxn--kpry57dcompanyxn--xhq521bblackfridayxn--mgba3a3ejtsandvikxn--d1acj3bacademydownload\u0645\u0644\u064A\u0633\u064A\u0627xn--j1amhxn--w4r85el8fhu5dnraipirangaathletaxn--fhbeixn--mgbqly7cvafrzuerichxn--c2br7g\u0B87\u0BB2\u0B99\u0BCD\u0B95\u0BC8contractorsxn--io0a7igraphicsinsurancetemasekxn--xkc2al3hye2amotorcyclesphotographydirectoryplumbingxn--vhquvclothingtrainingcleaningwilliamhilllightingxn--mgba3a4f16ashoppingcateringeducationokinawapicturesventuresproductionsxn--9et52uwalmart\u0D2D\u0D3E\u0D30\u0D24\u0D02supportrealestatecapitalonexn--nqv7fs00emaauspostfloristdentistxn--qxamgodaddybradescobargainsmitsubishikerryhotelsxn--9dbq2axn--3pxu8kimmobilienxn--fjq720axn--mgbtx2bholidaymckinseymadridbusinessbuildershelsinkixn--4gbrim\u043C\u043E\u0441\u043A\u0432\u0430\u0627\u0644\u0633\u0639\u0648\u062F\u06CC\u0629coffeedegreelacaixapartnersalsaceofficeabbvievoyageorangegeorgeonlinechromemobilekindlegoogleoraclecircleschulesecureinsurexn--mgba7c0bbn0aestatexn--mgbc0a9azcgcruisehangoutxn--vuq861bxn--42c2d9arexrothfirestoneuniversityxn--nnx388alifeinsuranceextraspace\u043E\u043D\u043B\u0430\u0439\u043Dverm\xF6gensberatersoftwarexn--fiqs8sxn--mgbab2bdxn--w4rs40ltienda\u092D\u093E\u0930\u0924\u092E\u094Dafricatoyotaotsukasakuracameracreditcardnagoyaconsultingnetworkjunipertheatermonsterprogressivepioneerxn--55qw42gracingdatingvotingvikinglivinggivingxn--bck1b9a5dre4cbrotherweatherjoburg\u0641\u0644\u0633\u0637\u064A\u0646lplfinancialxn--clchc0ea0b2g2a9gcdfutbolschoolsocialglobaldentalwoodsidechanelairtelmatteltravelrealtorwebcamstream\u0C2D\u0C3E\u0C30\u0C24\u0C4Dunicomalstomxn--nodexn--6frz82gmuseumfurniturexn--rvc1e0am3exn--mix891faccenturexn--11b4c3dismailineustardiscountquebeccomsecclinicservicesxn--y9a3aqxn--c1avgswatchchurchsearch\u0627\u0644\u0627\u0631\u062F\u0646marketingcontacthealthmonashshoujisanofitaipeiamericanexpresssuzuki\u30A2\u30DE\u30BE\u30F3\u30AF\u30E9\u30A6\u30C9\u30DD\u30A4\u30F3\u30C8bharti\u30B0\u30FC\u30B0\u30EBxn--mgberp4a5d4armemorialxn--1qqw23alondonmormoninstitutevisionbostonnortoncouponmaisonamazonvirginberlindesigndurbanolayannissananquanxihuanhitachikaufengardenreisenbayerntechnologydatsunxn--90a3aclatinocasinostudiophysioxn--ngbe9e0apharmacytattootaobaoaramcoexpertreportabbottdirectselectimamatfairwindspictettargetmarketintuittravelersinsurancecreditdupontryukyusuppliesxn--tckwebnpparibasschmidtmerckmsdyodobashirestaurantbridgestonecricketxn--fpcrj9c3dbostikbroadwayattorneylefrakemerckxn--fiq228c5hscareersfarmerswinnersflowersxn--wgbh1cguitarsxn--54b7fta0ccxn--p1acfmakeupgalluplandroverxn--kcrx77d1x4agoldpointbauhausxn--mgbayh7gpahiphopplaystationxn--mgba3a4fraxn--eckvdtc9dhyundaixn--gckr3f0fistanbulticketsmarketsflightschintaireviewsxn--3e0b707ewindowsxn--fiqz9sfinancialxn--fzys8d69uvgm\u0627\u0628\u0648\u0638\u0628\u064Adiscoverreview\u09AC\u09BE\u0982\u09B2\u09BExn--5su34j936bgsgmoscowobserverapartments\u0434\u0435\u0442\u0438\u0627\u0631\u0627\u0645\u0643\u0648\u0441\u0430\u0439\u0442eurovisionxn--i1b6b1a6a2exn--xkc2dl3a5ee0h\u062A\u0648\u0646\u0633\u0645\u0648\u0642\u0639\u0628\u0627\u0631\u062A\u0680\u0627\u0631\u062A\u0634\u0628\u0643\u0629\u0639\u0645\u0627\u0646\u0628\u064A\u062A\u0643\u0639\u0631\u0627\u0642readkredbondlandbandfundfoodprodgoldfordtubecafesafelifeggeeieeefreefagepagegugezonewinememenamegamesaleablebikenikelikecarecbreherefiresaveloveliveblueartedatesitevotecaseluxebofamodaltdaasdatiaayogasinavanashiaasiajavabbvatevavivadatazaraarpacasavisasncfprofmaifsurfgolfdvagsongbingpingwangkpmggoogblogpohlfailcooldellcalldeallidlsarlfilmteamroomfarmimdbarabclubhdfcicbchsbcgmbhrichtechfishdishcashminiernikddiaudiwikimobitaxicitikiwidesiqponskinloanakdnwienopenporncerntownimmolimoolloinfonicofidolegosaxozeroaerovivoautovotomotofastbestresthostpostnextlgbtchatseatgiftmeetdietreitmintrentgentspotscotguruitausohumenucyoubanklinkpinkdclktalksilkbookseekworkrsvpaarpjeepshopcoophelpcamppccwshowbeerstarruhrflirweirhaircarsparsjprshausplusnewstipstoysjobskidsfanspicsdocsxboxamexsexynavycitysonyarmyallybabyplaydeliverybuzzgbizlamborghiniphilips\u0DBD\u0D82\u0D9A\u0DCF\u0CAD\u0CBE\u0CB0\u0CA4fitnessexpresslanxesspfizercenterwalterlawyersoccercareerkosherbrokerlockerdealerdoctorauthorxn--mgbqly7c0a67fbcverm\xF6gensberatungjaguarxn--pssy2uxn--hxt814eflickrrepairrogersairbusxn--mgbai9a5eva00beventsyachtsxn--t60b56a\u09AD\u09BE\u09F0\u09A4\u09AD\u09BE\u09B0\u09A4\u092D\u093E\u0930\u0924\u092D\u093E\u0930\u094B\u0924viajeshermeshughesxn--j1aef\u0938\u0902\u0917\u0920\u0928villas\u0B2D\u0B3E\u0B30\u0B24claimshotels\u0AAD\u0ABE\u0AB0\u0AA4zapposphotosjuegoscondostatamotorsgratistennis\u0A2D\u0A3E\u0A30\u0A24tkmaxxtjmaxxschaeffleryandexxn--80aswgrealtysafetybeautyluxuryxn--3ds443gsupplyfamilyxn--o3cw4hhockeysydneyxn--90aenissayalipayenergycomputeragencyxn--rovu88b\u96FB\u8A0A\u76C8\u79D1xn--gecrj9cstatefarmaccountantaquarelleolayangroup\u9999\u683C\u91CC\u62C9xn--p1ai\u7EC4\u7EC7\u673A\u6784xn--1ck2e1bxn--mgbt3dhdschwarz\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627abudhabinowruzkomatsufujitsuhospitalxn--80asehdbxn--mgbtf8flxn--j6w193gxn--yfro4i67oprudentialxn--flw351ecruisescoursesrecipesxn--e1a4cferrarixn--ses554gxn--wgbl6awatchesstaplessinglesxn--mgbcpq6gpa1axn--otu796dpropertiescreditunionxn--mgbah1a3hjkrdstockholmhisamitsu\u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629stcgroupdomainsoriginscouponsbloombergclubmedfroganslimitedxn--80aqecdr1aexposedinternationalequipmentbarclaycardxn--q7ce6axn--mgbi4ecexpprotectionassociatesconstructionxn--cck2b3bxn--45q11candroidfoundation\u05D9\u05E9\u05E8\u05D0\u05DCxn--mgbca7dzdocliniqueboutiqueengineerxn--qxa6asystemsfirmdalefashionauctionxn--nqv7finfinitirentalsreliancetradingweddingfishinghostinggentingbookingcookingxn--3hcrj9cgraingerxn--czrs0tdemocratsamsungyokohamaxn--h2breg3evexn--nyqy26alundbeckmelbournevacationssolutionsfrontierxn--vermgensberatung-pwbmanagementxn--cg4bkixn--mgb2ddeslincolnhamburgsandvikcoromantblockbusterairforcebarefootxn--4dbrk0ceinvestmentsfeedbackcommunityxn--ngbrx\u0627\u0644\u0628\u062D\u0631\u064A\u0646diamondsamsterdamhealthcareredumbrellaxn--mxtq1mxn--2scrj9cagakhanxn--mgbpl2fh\u043A\u0430\u0442\u043E\u043B\u0438\u043Acaravan\u0B9A\u0BBF\u0B99\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0BC2\u0BB0\u0BCDrichardlimortgageamericanfamilyxn--fzc2c9e2cscholarshipssaarlandxn--imr513nvlaanderensamsclubgoodyearkitchen\u0B87\u0BA8\u0BCD\u0BA4\u0BBF\u0BAF\u0BBEweatherchannelallfinanzxn--kput3i\u0627\u0644\u0633\u0639\u0648\u062F\u06CC\u06C3xn--90aisxn--efvy88h\u0627\u0644\u062C\u0632\u0627\u0626\u0631xn--mgbaam7a8hexchangejpmorganxn--tiq49xqyjfidelitysecurityxn--mk1bu44cwanggouxn--fiq64bxn--6qq986b3xlxn--mgbbh1a71exn--80ao21amarshallsxn--5tzm5gtravelerspanasoniclatrobeyoutubeaccountantsxn--rhqv96gxn--cckwcxetdanalyticsxn--ygbi2ammx\u0628\u0627\u0632\u0627\u0631\u0628\u06BE\u0627\u0631\u062A\u0633\u0648\u0631\u064A\u0629organicfresenius\u0633\u0648\u0631\u064A\u0627xn--9krt00axn--qcka1pmcxn--jlq480n2rgdeloittesciencefinancexn--jvr189mxn--30rr7yhomesensehotmailbaseballfootballleclercboehringerxn--q9jyb4cxn--mix082f\u0627\u0644\u064A\u0645\u0646\u0647\u0645\u0631\u0627\u0647politie\u0633\u0648\u062F\u0627\u0646\u0627\u064A\u0631\u0627\u0646\u0627\u06CC\u0631\u0627\u0646netflixyamaxunxn--lgbbat1ad8jcollegestoragecapetowncolognekerrypropertiesxn--mgbgu82axn--ogbpf8flxn--czru2dwhoswhociprianilasallexn--g2xx48cforsalebanamexaudiblexn--vermgensberater-ctbxn--zfr164bericssonvanguardxn--45brj9cindustriestheatremarriottxn--3bst00mcomparexn--mgberp4a5d4a87gcapitaldigital\u0627\u0644\u0645\u063A\u0631\u0628barcelonashangrilaxn--d1alfcalvinkleinwwwcitysapporokawasakinagoyasendaikobekitakyushuyokohamackjp",KPe=621,XPe=625,PY=ip.length,MY=Qw.length,RY=new Uint32Array(MY),Xw=new Uint32Array(MY),TT=new Int32Array(PY).fill(-1);for(let e=0,t=0;e<PY;e+=1)for(let r=Yw[e];r<Yw[e+1];r+=1){RY[r]=t;let n=t+Qw[r],i=5381;for(let a=n-1;a>=t;a-=1)i=i*33^CT.charCodeAt(a);Xw[r]=i>>>0,Qw[r]===1&&CT.charCodeAt(t)===42&&(TT[e]=r),t=n}var Ql=-1,IT=0,AT=0;function DY(e,t,r,n){if(Qw[e]!==n)return!1;let i=RY[e];for(let a=0;a<n;a+=1)if(CT.charCodeAt(i+a)!==t.charCodeAt(r+a))return!1;return!0}function LY(e,t,r,n,i){let a=Yw[e],o=Yw[e+1];for(;a<o;){let s=a+o>>>1,l=Xw[s];if(l<t)a=s+1;else if(l>t)o=s;else{for(let c=s;c>=a&&Xw[c]===t;c-=1)if(DY(c,r,n,i))return c;for(let c=s+1;c<o&&Xw[c]===t;c+=1)if(DY(c,r,n,i))return c;return-1}}return-1}function kY(e,t,r){let n=t,i=e.length,a=5381;Ql=-1;for(let s=e.length-1;s>=0;s-=1){let l=e.charCodeAt(s);if(l===46){let c=s+1,u=LY(n,a>>>0,e,c,i-c);if(u===-1&&(u=TT[n]),u===-1)return Ql!==-1;n=AY[u],ip[n]&r&&(Ql=n,IT=c,AT=i),i=s,a=5381}else a=a*33^l}let o=LY(n,a>>>0,e,0,i);return o===-1&&(o=TT[n]),o!==-1&&(n=AY[o],ip[n]&r&&(Ql=n,IT=0,AT=i)),Ql!==-1}function op(e,t,r){if(JPe(e,t,r))return;let n=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0);if(kY(e,XPe,n)){r.isIcann=(ip[Ql]&1)!==0,r.isPrivate=(ip[Ql]&2)!==0,r.publicSuffix=e.slice(AT+1);return}if(kY(e,KPe,n)){r.isIcann=(ip[Ql]&1)!==0,r.isPrivate=(ip[Ql]&2)!==0,r.publicSuffix=e.slice(IT);return}r.isIcann=!1,r.isPrivate=!1;let i=e.lastIndexOf(".");r.publicSuffix=i===-1?e:e.slice(i+1)}var Ia=jY();function YPe(e,t){return ap(e,5,op,t,jY())}function QPe(e,t){return Lm(Ia),ap(e,0,op,t,Ia).hostname}function eMe(e,t){return Lm(Ia),ap(e,2,op,t,Ia).publicSuffix}function tMe(e,t){return Lm(Ia),ap(e,3,op,t,Ia).domain}function rMe(e,t){Lm(Ia);let r=ap(e,3,op,t,Ia);return r.domain===null?null:r.hostname}function nMe(e,t){return Lm(Ia),ap(e,4,op,t,Ia).subdomain}function iMe(e,t){return Lm(Ia),ap(e,5,op,t,Ia).domainWithoutSuffix}wu.getDomain=tMe;wu.getDomainWithoutSuffix=iMe;wu.getFullDomain=rMe;wu.getHostname=QPe;wu.getPublicSuffix=eMe;wu.getSubdomain=nMe;wu.parse=YPe});var nQ=h((O6t,rQ)=>{"use strict";var PT=Object.defineProperty,aMe=Object.getOwnPropertyDescriptor,oMe=Object.getOwnPropertyNames,sMe=Object.prototype.hasOwnProperty,lMe=(e,t)=>{for(var r in t)PT(e,r,{get:t[r],enumerable:!0})},cMe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oMe(t))!sMe.call(e,i)&&i!==r&&PT(e,i,{get:()=>t[i],enumerable:!(n=aMe(t,i))||n.enumerable});return e},uMe=e=>cMe(PT({},"__esModule",{value:!0}),e),GY={};lMe(GY,{Cookie:()=>Vn,CookieJar:()=>$Me,MemoryCookieStore:()=>XY,ParameterError:()=>UT,PrefixSecurityEnum:()=>Eu,Store:()=>RT,canonicalDomain:()=>sp,cookieCompare:()=>NT,defaultPath:()=>tQ,domainMatch:()=>jT,formatDate:()=>eQ,fromJSON:()=>qMe,getPublicSuffix:()=>n6,parse:()=>zMe,parseDate:()=>r6,pathMatch:()=>MT,permuteDomain:()=>JY,permutePath:()=>UMe,version:()=>QY});rQ.exports=uMe(GY);function MT(e,t){return!!(t===e||e.indexOf(t)===0&&(t[t.length-1]==="/"||e.startsWith(t)&&e[t.length]==="/"))}var dMe=FY(),$Y=["local","example","invalid","localhost","test"],pMe=["localhost","invalid"],fMe={allowSpecialUseDomain:!1,ignoreError:!1};function n6(e,t={}){t={...fMe,...t};let r=e.split("."),n=r[r.length-1],i=!!t.allowSpecialUseDomain,a=!!t.ignoreError;if(i&&n!==void 0&&$Y.includes(n)){if(r.length>1)return`${r[r.length-2]}.${n}`;if(pMe.includes(n))return n}if(!a&&n!==void 0&&$Y.includes(n))throw new Error(`Cookie has domain set to the public suffix "${n}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);let o=(0,dMe.getDomain)(e,{allowIcannDomains:!0,allowPrivateDomains:!0});if(o)return o}function JY(e,t){let r=n6(e,{allowSpecialUseDomain:t});if(!r)return;if(r==e)return[e];e.slice(-1)=="."&&(e=e.slice(0,-1));let i=e.slice(0,-(r.length+1)).split(".").reverse(),a=r,o=[a];for(;i.length;)a=`${i.shift()}.${a}`,o.push(a);return o}var RT=class{constructor(){this.synchronous=!1}findCookie(e,t,r,n){throw new Error("findCookie is not implemented")}findCookies(e,t,r=!1,n){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,r){throw new Error("updateCookie is not implemented")}removeCookie(e,t,r,n){throw new Error("removeCookie is not implemented")}removeCookies(e,t,r){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},FT=e=>Object.prototype.toString.call(e),mMe=(e,t)=>typeof e.join!="function"?FT(e):(t.add(e),e.map(n=>n==null||t.has(n)?"":KY(n,t)).join()),KY=(e,t=new WeakSet)=>typeof e!="object"||e===null?String(e):typeof e.toString=="function"?Array.isArray(e)?mMe(e,t):String(e):FT(e),kT=e=>KY(e);function Wn(e){let t,r,n,i=new Promise((a,o)=>{r=a,n=o});return typeof e=="function"?t=(a,o)=>{try{a?e(a):e(null,o)}catch(s){n(s instanceof Error?s:new Error)}}:t=(a,o)=>{try{a?n(a):r(o)}catch(s){n(s instanceof Error?s:new Error)}},{promise:i,callback:t,resolve:a=>(t(null,a),i),reject:a=>(t(a),i)}}function y0(e,t){return e in t}var XY=class extends RT{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,r,n){let i=Wn(n);if(e==null||t==null||r==null)return i.resolve(void 0);let a=this.idx[e]?.[t]?.[r];return i.resolve(a)}findCookies(e,t,r=!1,n){typeof r=="function"&&(n=r,r=!0);let i=[],a=Wn(n);if(!e)return a.resolve([]);let o;t?o=function(u){for(let d in u)if(MT(t,d)){let f=u[d];for(let p in f){let m=f[p];m&&i.push(m)}}}:o=function(u){for(let d in u){let f=u[d];for(let p in f){let m=f[p];m&&i.push(m)}}};let s=JY(e,r)||[e],l=this.idx;return s.forEach(c=>{let u=l[c];u&&o(u)}),a.resolve(i)}putCookie(e,t){let r=Wn(t),{domain:n,path:i,key:a}=e;if(n==null||i==null||a==null)return r.resolve(void 0);let o=this.idx[n]??Object.create(null);this.idx[n]=o;let s=o[i]??Object.create(null);return o[i]=s,s[a]=e,r.resolve(void 0)}updateCookie(e,t,r){if(r)this.putCookie(t,r);else return this.putCookie(t)}removeCookie(e,t,r,n){let i=Wn(n);return delete this.idx[e]?.[t]?.[r],i.resolve(void 0)}removeCookies(e,t,r){let n=Wn(r),i=this.idx[e];return i&&(t?delete i[t]:delete this.idx[e]),n.resolve(void 0)}removeAllCookies(e){let t=Wn(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){let t=Wn(e),r=[],n=this.idx;return Object.keys(n).forEach(a=>{let o=n[a]??{};Object.keys(o).forEach(l=>{let c=o[l]??{};Object.keys(c).forEach(d=>{let f=c[d];f!=null&&r.push(f)})})}),r.sort((a,o)=>(a.creationIndex||0)-(o.creationIndex||0)),t.resolve(r)}};function DT(e){return YY(e)&&e!==""}function $T(e){return e===""||e instanceof String&&e.toString()===""}function YY(e){return typeof e=="string"||e instanceof String}function t6(e){return FT(e)==="[object Object]"}function h0(e,t,r){if(e)return;let n=typeof t=="function"?t:void 0,i=typeof t=="function"?r:t;t6(i)||(i="[object Object]");let a=new UT(kT(i));if(n)n(a);else throw a}var UT=class extends Error{},QY="6.0.2",Eu={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(Eu);var hMe=`
|
||
\\[?(?:
|
||
(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|
|
||
(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|
|
||
(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))
|
||
)(?:%[0-9a-zA-Z]{1,})?\\]?
|
||
`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),zT=new RegExp(`^${hMe}$`),gMe="(?:(?: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])",yMe=new RegExp(`^${gMe}$`);function UY(e){return new URL(`http://${e}`).hostname}function sp(e){if(e==null)return;let t=e.trim().replace(/^\./,"");return zT.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t=t+"]"),UY(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?UY(t):t.toLowerCase()}function eQ(e){return e.toUTCString()}function r6(e){if(!e)return;let t={foundTime:void 0,foundDayOfMonth:void 0,foundMonth:void 0,foundYear:void 0},r=e.split(vMe).filter(i=>i.length>0);for(let i of r){if(t.foundTime===void 0){let[,a,o,s]=_Me.exec(i)||[];if(a!=null&&o!=null&&s!=null){let l=parseInt(a,10),c=parseInt(o,10),u=parseInt(s,10);if(!isNaN(l)&&!isNaN(c)&&!isNaN(u)){t.foundTime={hours:l,minutes:c,seconds:u};continue}}}if(t.foundDayOfMonth===void 0&&wMe.test(i)){let a=parseInt(i,10);if(!isNaN(a)){t.foundDayOfMonth=a;continue}}if(t.foundMonth===void 0&&SMe.test(i)){let a=bMe.indexOf(i.substring(0,3).toLowerCase());if(a>=0&&a<=11){t.foundMonth=a;continue}}if(t.foundYear===void 0&&EMe.test(i)){let a=parseInt(i,10);if(!isNaN(a)){t.foundYear=a;continue}}}if(t.foundYear!==void 0&&t.foundYear>=70&&t.foundYear<=99&&(t.foundYear+=1900),t.foundYear!==void 0&&t.foundYear>=0&&t.foundYear<=69&&(t.foundYear+=2e3),t.foundDayOfMonth===void 0||t.foundMonth===void 0||t.foundYear===void 0||t.foundTime===void 0||t.foundDayOfMonth<1||t.foundDayOfMonth>31||t.foundYear<1601||t.foundTime.hours>23||t.foundTime.minutes>59||t.foundTime.seconds>59)return;let n=new Date(Date.UTC(t.foundYear,t.foundMonth,t.foundDayOfMonth,t.foundTime.hours,t.foundTime.minutes,t.foundTime.seconds));if(!(n.getUTCFullYear()!==t.foundYear||n.getUTCMonth()!==t.foundMonth||n.getUTCDate()!==t.foundDayOfMonth))return n}var bMe=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],vMe=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,_Me=/^(\d{1,2}):(\d{1,2}):(\d{1,2})(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,wMe=/^[0-9]{1,2}(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,SMe=/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[\x00-\xFF]*$/i,EMe=/^[\x30-\x39]{2,4}(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,xMe=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,OMe=/[\x20-\x3A\x3C-\x7E]+/,zY=/[\x00-\x1F]/,qY=[`
|
||
`,"\r","\0"];function CMe(e){if($T(e))return e;for(let t=0;t<qY.length;t++){let r=qY[t],n=r?e.indexOf(r):-1;n!==-1&&(e=e.slice(0,n))}return e}function TMe(e,t){e=CMe(e);let r=e.indexOf("=");if(t)r===0&&(e=e.substring(1),r=e.indexOf("="));else if(r<=0)return;let n,i;if(r<=0?(n="",i=e.trim()):(n=e.slice(0,r).trim(),i=e.slice(r+1).trim()),zY.test(n)||zY.test(i))return;let a=new Vn;return a.key=n,a.value=i,a}function IMe(e,t){if($T(e)||!YY(e))return;e=e.trim();let r=e.indexOf(";"),n=r===-1?e:e.slice(0,r),i=TMe(n,t?.loose??!1);if(!i)return;if(r===-1)return i;let a=e.slice(r+1).trim();if(a.length===0)return i;let o=a.split(";");for(;o.length;){let s=(o.shift()??"").trim();if(s.length===0)continue;let l=s.indexOf("="),c,u;switch(l===-1?(c=s,u=null):(c=s.slice(0,l),u=s.slice(l+1)),c=c.trim().toLowerCase(),u&&(u=u.trim()),c){case"expires":if(u){let d=r6(u);d&&(i.expires=d)}break;case"max-age":if(u&&/^-?[0-9]+$/.test(u)){let d=parseInt(u,10);i.setMaxAge(d)}break;case"domain":if(u){let d=u.trim().replace(/^\./,"");d&&(i.domain=d.toLowerCase())}break;case"path":i.path=u&&u[0]==="/"?u:null;break;case"secure":i.secure=!0;break;case"httponly":i.httpOnly=!0;break;case"samesite":switch(u?u.toLowerCase():""){case"strict":i.sameSite="strict";break;case"lax":i.sameSite="lax";break;case"none":i.sameSite="none";break;default:i.sameSite=void 0;break}break;default:i.extensions=i.extensions||[],i.extensions.push(s);break}}return i}function BY(e){if(!e||$T(e))return;let t;if(typeof e=="string")try{t=JSON.parse(e)}catch{return}else t=e;let r=new Vn;return Vn.serializableProperties.forEach(n=>{if(t&&typeof t=="object"&&y0(n,t)){let i=t[n];if(i===void 0||y0(n,un)&&i===un[n])return;switch(n){case"key":case"value":case"sameSite":typeof i=="string"&&(r[n]=i);break;case"expires":case"creation":case"lastAccessed":typeof i=="number"||typeof i=="string"||i instanceof Date?r[n]=t[n]=="Infinity"?"Infinity":new Date(i):i===null&&(r[n]=null);break;case"maxAge":(typeof i=="number"||i==="Infinity"||i==="-Infinity")&&(r[n]=i);break;case"domain":case"path":(typeof i=="string"||i===null)&&(r[n]=i);break;case"secure":case"httpOnly":typeof i=="boolean"&&(r[n]=i);break;case"extensions":Array.isArray(i)&&i.every(a=>typeof a=="string")&&(r[n]=i);break;case"hostOnly":case"pathIsDefault":(typeof i=="boolean"||i===null)&&(r[n]=i);break}}}),r}var un={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},b0=class Su{constructor(t={}){this.key=t.key??un.key,this.value=t.value??un.value,this.expires=t.expires??un.expires,this.maxAge=t.maxAge??un.maxAge,this.domain=t.domain??un.domain,this.path=t.path??un.path,this.secure=t.secure??un.secure,this.httpOnly=t.httpOnly??un.httpOnly,this.extensions=t.extensions??un.extensions,this.creation=t.creation??un.creation,this.hostOnly=t.hostOnly??un.hostOnly,this.pathIsDefault=t.pathIsDefault??un.pathIsDefault,this.lastAccessed=t.lastAccessed??un.lastAccessed,this.sameSite=t.sameSite??un.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++Su.cookiesCreated}),this.creationIndex=Su.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){let t=Date.now(),r=this.hostOnly!=null?this.hostOnly.toString():"?",n=this.creation&&this.creation!=="Infinity"?`${String(t-this.creation.getTime())}ms`:"?",i=this.lastAccessed&&this.lastAccessed!=="Infinity"?`${String(t-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${r}; aAge=${i}; cAge=${n}"`}toJSON(){let t={};for(let r of Su.serializableProperties){let n=this[r];if(n!==un[r])switch(r){case"key":case"value":case"sameSite":typeof n=="string"&&(t[r]=n);break;case"expires":case"creation":case"lastAccessed":typeof n=="number"||typeof n=="string"||n instanceof Date?t[r]=n=="Infinity"?"Infinity":new Date(n).toISOString():n===null&&(t[r]=null);break;case"maxAge":(typeof n=="number"||n==="Infinity"||n==="-Infinity")&&(t[r]=n);break;case"domain":case"path":(typeof n=="string"||n===null)&&(t[r]=n);break;case"secure":case"httpOnly":typeof n=="boolean"&&(t[r]=n);break;case"extensions":Array.isArray(n)&&(t[r]=n);break;case"hostOnly":case"pathIsDefault":(typeof n=="boolean"||n===null)&&(t[r]=n);break}}return t}clone(){return BY(this.toJSON())}validate(){if(!this.value||!xMe.test(this.value)||this.expires!="Infinity"&&!(this.expires instanceof Date)&&!r6(this.expires)||this.maxAge!=null&&this.maxAge!=="Infinity"&&(this.maxAge==="-Infinity"||this.maxAge<=0)||this.path!=null&&!OMe.test(this.path))return!1;let t=this.cdomain();return!(t&&(t.match(/\.$/)||n6(t)==null))}setExpires(t){t instanceof Date?this.expires=t:this.expires=r6(t)||"Infinity"}setMaxAge(t){t===1/0?this.maxAge="Infinity":t===-1/0?this.maxAge="-Infinity":this.maxAge=t}cookieString(){let t=this.value||"";return this.key?`${this.key}=${t}`:t}toString(){let t=this.cookieString();return this.expires!="Infinity"&&this.expires instanceof Date&&(t+=`; Expires=${eQ(this.expires)}`),this.maxAge!=null&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&this.sameSite!=="none"&&(this.sameSite.toLowerCase()===Su.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${Su.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===Su.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${Su.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach(r=>{t+=`; ${r}`}),t}TTL(t=Date.now()){if(this.maxAge!=null&&typeof this.maxAge=="number")return this.maxAge<=0?0:this.maxAge*1e3;let r=this.expires;return r==="Infinity"?1/0:(r?.getTime()??t)-(t||Date.now())}expiryTime(t){if(this.maxAge!=null){let r=t||this.lastAccessed||new Date,n=typeof this.maxAge=="number"?this.maxAge:-1/0,i=n<=0?-1/0:n*1e3;return r==="Infinity"?1/0:r.getTime()+i}return this.expires=="Infinity"?1/0:this.expires?this.expires.getTime():void 0}expiryDate(t){let r=this.expiryTime(t);return r==1/0?new Date(2147483647e3):r==-1/0?new Date(0):r==null?void 0:new Date(r)}isPersistent(){return this.maxAge!=null||this.expires!="Infinity"}canonicalizedDomain(){return sp(this.domain)}cdomain(){return sp(this.domain)}static parse(t,r){return IMe(t,r)}static fromJSON(t){return BY(t)}};b0.cookiesCreated=0;b0.sameSiteLevel={strict:3,lax:2,none:1};b0.sameSiteCanonical={strict:"Strict",lax:"Lax"};b0.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Vn=b0,VY=2147483647e3;function NT(e,t){let r,n=e.path?e.path.length:0;if(r=(t.path?t.path.length:0)-n,r!==0)return r;let a=e.creation&&e.creation instanceof Date?e.creation.getTime():VY,o=t.creation&&t.creation instanceof Date?t.creation.getTime():VY;return r=a-o,r!==0||(r=(e.creationIndex||0)-(t.creationIndex||0)),r}function tQ(e){if(!e||e.slice(0,1)!=="/")return"/";if(e==="/")return e;let t=e.lastIndexOf("/");return t===0?"/":e.slice(0,t)}var AMe=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function jT(e,t,r){if(e==null||t==null)return;let n,i;if(r!==!1?(n=sp(e),i=sp(t)):(n=e,i=t),n==null||i==null)return;if(n==i)return!0;let a=n.lastIndexOf(i);return a<=0||n.length!==i.length+a||n.substring(a-1,a)!=="."?!1:!AMe.test(n)}function DMe(e){let t=e.split(".");return t.length===4&&t[0]!==void 0&&parseInt(t[0],10)===127}function LMe(e){return e==="::1"}function kMe(e){return e.endsWith(".localhost")}function NMe(e){let t=e.toLowerCase();return t==="localhost"||kMe(t)}function jMe(e){return e.length>=2&&e.startsWith("[")&&e.endsWith("]")?e.substring(1,e.length-1):e}function PMe(e,t=!0){let r;if(typeof e=="string")try{r=new URL(e)}catch{return!1}else r=e;let n=r.protocol.replace(":","").toLowerCase(),i=jMe(r.hostname).replace(/\.+$/,"");return n==="https"||n==="wss"?!0:t?yMe.test(i)?DMe(i):zT.test(i)?LMe(i):NMe(i):!1}var MMe={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},WY={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},LT='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function ZY(e){if(e&&typeof e=="object"&&"hostname"in e&&typeof e.hostname=="string"&&"pathname"in e&&typeof e.pathname=="string"&&"protocol"in e&&typeof e.protocol=="string")return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if(typeof e=="string"){let t=new URL(e),r=t.pathname;try{r=decodeURI(r)}catch{}return{hostname:t.hostname,pathname:r,protocol:t.protocol}}else throw new UT("`url` argument is not a string or URL.")}function HY(e){let t=e.toLowerCase();if(t==="none"||t==="lax"||t==="strict")return t}function RMe(e){return!(typeof e.key=="string"&&e.key.startsWith("__Secure-"))||e.secure}function FMe(e){return!(typeof e.key=="string"&&e.key.startsWith("__Host-"))||!!(e.secure&&e.hostOnly&&e.path!=null&&e.path==="/")}function e6(e){let t=e.toLowerCase();switch(t){case Eu.STRICT:case Eu.SILENT:case Eu.DISABLED:return t;default:return Eu.SILENT}}var $Me=class g0{constructor(t,r){typeof r=="boolean"&&(r={rejectPublicSuffixes:r}),this.rejectPublicSuffixes=r?.rejectPublicSuffixes??!0,this.enableLooseMode=r?.looseMode??!1,this.allowSpecialUseDomain=r?.allowSpecialUseDomain??!0,this.allowSecureOnLocal=r?.allowSecureOnLocal??!0,this.prefixSecurity=e6(r?.prefixSecurity??"silent"),this.store=t??new XY}callSync(t){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");let r=null,n;try{t.call(this,(i,a)=>{r=i,n=a})}catch(i){r=i}if(r)throw r;return n}setCookie(t,r,n,i){typeof n=="function"&&(i=n,n=void 0);let a=Wn(i),o=a.callback,s;try{if(typeof r=="string"&&h0(DT(r),i,kT(n)),s=ZY(r),typeof r=="function")return a.reject(new Error("No URL was specified"));if(typeof n=="function"&&(n=MMe),h0(typeof o=="function",o),!DT(t)&&!t6(t)&&t instanceof String&&t.length==0)return a.resolve(void 0)}catch(v){return a.reject(v)}let l=sp(s.hostname)??null,c=n?.loose||this.enableLooseMode,u=null;if(n?.sameSiteContext&&(u=HY(n.sameSiteContext),!u))return a.reject(new Error(LT));if(typeof t=="string"||t instanceof String){let v=Vn.parse(t.toString(),{loose:c});if(!v){let S=new Error("Cookie failed to parse");return n?.ignoreError?a.resolve(void 0):a.reject(S)}t=v}else if(!(t instanceof Vn)){let v=new Error("First argument to setCookie must be a Cookie object or string");return n?.ignoreError?a.resolve(void 0):a.reject(v)}let d=n?.now||new Date;if(this.rejectPublicSuffixes&&t.domain)try{let v=t.cdomain();if((typeof v=="string"?n6(v,{allowSpecialUseDomain:this.allowSpecialUseDomain,ignoreError:n?.ignoreError}):null)==null&&!zT.test(t.domain)){let E=new Error("Cookie has domain set to a public suffix");return n?.ignoreError?a.resolve(void 0):a.reject(E)}}catch(v){return n?.ignoreError?a.resolve(void 0):a.reject(v)}if(t.domain){if(!jT(l??void 0,t.cdomain()??void 0,!1)){let v=new Error(`Cookie not in this host's domain. Cookie:${t.cdomain()??"null"} Request:${l??"null"}`);return n?.ignoreError?a.resolve(void 0):a.reject(v)}t.hostOnly==null&&(t.hostOnly=!1)}else t.hostOnly=!0,t.domain=l;if((!t.path||t.path[0]!=="/")&&(t.path=tQ(s.pathname),t.pathIsDefault=!0),n?.http===!1&&t.httpOnly){let v=new Error("Cookie is HttpOnly and this isn't an HTTP API");return n.ignoreError?a.resolve(void 0):a.reject(v)}if(t.sameSite!=="none"&&t.sameSite!==void 0&&u&&u==="none"){let v=new Error("Cookie is SameSite but this is a cross-origin request");return n?.ignoreError?a.resolve(void 0):a.reject(v)}let f=this.prefixSecurity===Eu.SILENT;if(!(this.prefixSecurity===Eu.DISABLED)){let v=!1,S;if(RMe(t)?FMe(t)||(v=!0,S="Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"):(v=!0,S="Cookie has __Secure prefix but Secure attribute is not set"),v)return n?.ignoreError||f?a.resolve(void 0):a.reject(new Error(S))}let m=this.store;m.updateCookie||(m.updateCookie=async function(v,S,E){return this.putCookie(S).then(()=>E?.(null),w=>E?.(w))});let y=function(S,E){if(S){o(S);return}let w=function(_){_?o(_):typeof t=="string"?o(null,void 0):o(null,t)};if(E){if(n&&"http"in n&&n.http===!1&&E.httpOnly){S=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),n.ignoreError?o(null,void 0):o(S);return}t instanceof Vn&&(t.creation=E.creation,t.creationIndex=E.creationIndex,t.lastAccessed=d,m.updateCookie(E,t,w))}else t instanceof Vn&&(t.creation=t.lastAccessed=d,m.putCookie(t,w))};return m.findCookie(t.domain,t.path,t.key,y),a.promise}setCookieSync(t,r,n){let i=n?this.setCookie.bind(this,t,r,n):this.setCookie.bind(this,t,r);return this.callSync(i)}getCookies(t,r,n){typeof r=="function"?(n=r,r=WY):r===void 0&&(r=WY);let i=Wn(n),a=i.callback,o;try{typeof t=="string"&&h0(DT(t),a,t),o=ZY(t),h0(t6(r),a,kT(r)),h0(typeof a=="function",a)}catch(S){return i.reject(S)}let s=sp(o.hostname),l=o.pathname||"/",c=PMe(t,this.allowSecureOnLocal),u=0;if(r.sameSiteContext){let S=HY(r.sameSiteContext);if(S==null)return i.reject(new Error(LT));if(u=Vn.sameSiteLevel[S],!u)return i.reject(new Error(LT))}let d=r.http??!0,f=Date.now(),p=r.expire??!0,m=r.allPaths??!1,y=this.store;function v(S){if(S.hostOnly){if(S.domain!=s)return!1}else if(!jT(s??void 0,S.domain??void 0,!1))return!1;if(!m&&typeof S.path=="string"&&!MT(l,S.path)||S.secure&&!c||S.httpOnly&&!d)return!1;if(u){let w;if(S.sameSite==="lax"?w=Vn.sameSiteLevel.lax:S.sameSite==="strict"?w=Vn.sameSiteLevel.strict:w=Vn.sameSiteLevel.none,w>u)return!1}let E=S.expiryTime();return p&&E!=null&&E<=f?(y.removeCookie(S.domain,S.path,S.key,()=>{}),!1):!0}return y.findCookies(s,m?null:l,this.allowSpecialUseDomain,(S,E)=>{if(S){a(S);return}if(E==null){a(null,[]);return}E=E.filter(v),"sort"in r&&r.sort!==!1&&(E=E.sort(NT));let w=new Date;for(let _ of E)_.lastAccessed=w;a(null,E)}),i.promise}getCookiesSync(t,r){return this.callSync(this.getCookies.bind(this,t,r))??[]}getCookieString(t,r,n){typeof r=="function"&&(n=r,r=void 0);let i=Wn(n),a=function(o,s){o?i.callback(o):i.callback(null,s?.sort(NT).map(l=>l.cookieString()).join("; "))};return this.getCookies(t,r,a),i.promise}getCookieStringSync(t,r){return this.callSync(r?this.getCookieString.bind(this,t,r):this.getCookieString.bind(this,t))??""}getSetCookieStrings(t,r,n){typeof r=="function"&&(n=r,r=void 0);let i=Wn(n),a=function(o,s){o?i.callback(o):i.callback(null,s?.map(l=>l.toString()))};return this.getCookies(t,r,a),i.promise}getSetCookieStringsSync(t,r={}){return this.callSync(this.getSetCookieStrings.bind(this,t,r))??[]}serialize(t){let r=Wn(t),n=this.store.constructor.name;t6(n)&&(n=null);let i={version:`tough-cookie@${QY}`,storeType:n,rejectPublicSuffixes:this.rejectPublicSuffixes,enableLooseMode:this.enableLooseMode,allowSpecialUseDomain:this.allowSpecialUseDomain,prefixSecurity:e6(this.prefixSecurity),cookies:[]};return typeof this.store.getAllCookies!="function"?r.reject(new Error("store does not support getAllCookies and cannot be serialized")):(this.store.getAllCookies((a,o)=>{if(a){r.callback(a);return}if(o==null){r.callback(null,i);return}i.cookies=o.map(s=>{let l=s.toJSON();return delete l.creationIndex,l}),r.callback(null,i)}),r.promise)}serializeSync(){return this.callSync(t=>{this.serialize(t)})}toJSON(){return this.serializeSync()}_importCookies(t,r){let n;if(t&&typeof t=="object"&&y0("cookies",t)&&Array.isArray(t.cookies)&&(n=t.cookies),!n){r(new Error("serialized jar has no cookies array"),void 0);return}n=n.slice();let i=a=>{if(a){r(a,void 0);return}if(Array.isArray(n)){if(!n.length){r(a,this);return}let o;try{o=Vn.fromJSON(n.shift())}catch(s){r(s instanceof Error?s:new Error,void 0);return}if(o===void 0){i(null);return}this.store.putCookie(o,i)}};i(null)}_importCookiesSync(t){this.callSync(this._importCookies.bind(this,t))}clone(t,r){typeof t=="function"&&(r=t,t=void 0);let n=Wn(r),i=n.callback;return this.serialize((a,o)=>a?n.reject(a):g0.deserialize(o??"",t,i)),n.promise}_cloneSync(t){let r=t&&typeof t!="function"?this.clone.bind(this,t):this.clone.bind(this);return this.callSync(n=>{r(n)})}cloneSync(t){if(!t)return this._cloneSync();if(!t.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(t)}removeAllCookies(t){let r=Wn(t),n=r.callback,i=this.store;return typeof i.removeAllCookies=="function"&&i.removeAllCookies!==RT.prototype.removeAllCookies?(i.removeAllCookies(n),r.promise):(i.getAllCookies((a,o)=>{if(a){n(a);return}if(o||(o=[]),o.length===0){n(null,void 0);return}let s=0,l=[],c=function(d){if(d&&l.push(d),s++,s===o.length){l[0]?n(l[0]):n(null,void 0);return}};o.forEach(u=>{i.removeCookie(u.domain,u.path,u.key,c)})}),r.promise)}removeAllCookiesSync(){this.callSync(t=>{this.removeAllCookies(t)})}static deserialize(t,r,n){typeof r=="function"&&(n=r,r=void 0);let i=Wn(n),a;if(typeof t=="string")try{a=JSON.parse(t)}catch(u){return i.reject(u instanceof Error?u:new Error)}else a=t;let o=u=>a&&typeof a=="object"&&y0(u,a)?a[u]:void 0,s=u=>{let d=o(u);return typeof d=="boolean"?d:void 0},l=u=>{let d=o(u);return typeof d=="string"?d:void 0},c=new g0(r,{rejectPublicSuffixes:s("rejectPublicSuffixes"),looseMode:s("enableLooseMode"),allowSpecialUseDomain:s("allowSpecialUseDomain"),prefixSecurity:e6(l("prefixSecurity")??"silent")});return c._importCookies(a,u=>{if(u){i.callback(u);return}i.callback(null,c)}),i.promise}static deserializeSync(t,r){let n=typeof t=="string"?JSON.parse(t):t,i=l=>n&&typeof n=="object"&&y0(l,n)?n[l]:void 0,a=l=>{let c=i(l);return typeof c=="boolean"?c:void 0},o=l=>{let c=i(l);return typeof c=="string"?c:void 0},s=new g0(r,{rejectPublicSuffixes:a("rejectPublicSuffixes"),looseMode:a("enableLooseMode"),allowSpecialUseDomain:a("allowSpecialUseDomain"),prefixSecurity:e6(o("prefixSecurity")??"silent")});if(!s.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return s._importCookiesSync(n),s}static fromJSON(t,r){return g0.deserializeSync(t,r)}};function UMe(e){if(e==="/")return["/"];let t=[e];for(;e.length>1;){let r=e.lastIndexOf("/");if(r===0)break;e=e.slice(0,r),t.push(e)}return t.push("/"),t}function zMe(e,t){return Vn.parse(e,t)}function qMe(e){return Vn.fromJSON(e)}});var qT=h((A6t,iQ)=>{"use strict";iQ.exports=nQ()});var i6=h((D6t,aQ)=>{"use strict";aQ.exports={addTimeout:function(e,t,r,n){if(this._timeouts=this._timeouts||{},!this._timeouts.hasOwnProperty(e)){var i=this;this._timeouts[e]=global.setTimeout(function(){delete i._timeouts[e],r.call(n)},1e3*t)}},removeTimeout:function(e){this._timeouts=this._timeouts||{};var t=this._timeouts[e];t&&(global.clearTimeout(t),delete this._timeouts[e])},removeAllTimeouts:function(){this._timeouts=this._timeouts||{};for(var e in this._timeouts)this.removeTimeout(e)}}});var _0=h((L6t,lQ)=>{"use strict";var BMe=Lr(),VMe=qT().Cookie,oQ=Tm(),v0=Im(),a6=Dr(),WMe=Xl(),ZMe=i6(),sQ=p0(),BT=a6(BMe({className:"Transport",DEFAULT_PORTS:{"http:":80,"https:":443,"ws:":80,"wss:":443},MAX_DELAY:0,batching:!0,initialize:function(e,t){this._dispatcher=e,this.endpoint=t,this._outbox=[],this._proxy=a6({},this._dispatcher.proxy),this._proxy.origin||(this._proxy.origin=this._findProxy())},close:function(){},encode:function(e){return""},sendMessage:function(e){return this.debug("Client ? sending message to ?: ?",this._dispatcher.clientId,this.endpoint.href,e),this.batching?(this._outbox.push(e),this._flushLargeBatch(),e.channel===sQ.HANDSHAKE?this._publish(.01):(e.channel===sQ.CONNECT&&(this._connectMessage=e),this._publish(this.MAX_DELAY))):oQ.resolve(this.request([e]))},_makePromise:function(){var e=this;this._requestPromise=this._requestPromise||new oQ(function(t){e._resolvePromise=t})},_publish:function(e){return this._makePromise(),this.addTimeout("publish",e,function(){this._flush(),delete this._requestPromise},this),this._requestPromise},_flush:function(){this.removeTimeout("publish"),this._outbox.length>1&&this._connectMessage&&(this._connectMessage.advice={timeout:0}),this._resolvePromise(this.request(this._outbox)),this._connectMessage=null,this._outbox=[]},_flushLargeBatch:function(){var e=this.encode(this._outbox);if(!(e.length<this._dispatcher.maxRequestSize)){var t=this._outbox.pop();this._makePromise(),this._flush(),t&&this._outbox.push(t)}},_receive:function(e){if(e){e=[].concat(e),this.debug("Client ? received from ? via ?: ?",this._dispatcher.clientId,this.endpoint.href,this.connectionType,e);for(var t=0,r=e.length;t<r;t++)this._dispatcher.handleResponse(e[t])}},_handleError:function(e,t){e=[].concat(e),this.debug("Client ? failed to send to ? via ?: ?",this._dispatcher.clientId,this.endpoint.href,this.connectionType,e);for(var r=0,n=e.length;r<n;r++)this._dispatcher.handleError(e[r])},_getCookies:function(){var e=this._dispatcher.cookies,t=this.endpoint.href;return e?v0.map(e.getCookiesSync(t),function(r){return r.cookieString()}).join("; "):""},_storeCookies:function(e){var t=this._dispatcher.cookies,r=this.endpoint.href,n;if(!(!e||!t)){e=[].concat(e);for(var i=0,a=e.length;i<a;i++)n=VMe.parse(e[i]),t.setCookieSync(n,r)}},_findProxy:function(){if(!(typeof process>"u")){var e=this.endpoint.protocol;if(e){var t=e.replace(/:$/,"").toLowerCase()+"_proxy",r=t.toUpperCase(),n=process.env,i,a;return t==="http_proxy"&&n.REQUEST_METHOD?(i=Object.keys(n).filter(function(o){return/^http_proxy$/i.test(o)}),i.length===1?i[0]===t&&n[r]===void 0&&(a=n[t]):i.length>1&&(a=n[t]),a=a||n["CGI_"+r]):(a=n[t]||n[r],a&&!n[t]&&console.warn("The environment variable "+r+" is discouraged. Use "+t+".")),a}}}}),{get:function(e,t,r,n,i){var a=e.endpoint;v0.asyncEach(this._transports,function(o,s){var l=o[0],c=o[1],u=e.endpointFor(l);if(v0.indexOf(r,l)>=0)return s();if(v0.indexOf(t,l)<0)return c.isUsable(e,u,function(){}),s();c.isUsable(e,u,function(d){if(!d)return s();var f=c.hasOwnProperty("create")?c.create(e,u):new c(e,u);n.call(i,f)})},function(){throw new Error("Could not find a usable connection type for "+a.href)})},register:function(e,t){this._transports.push([e,t]),t.prototype.connectionType=e},getConnectionTypes:function(){return v0.map(this._transports,function(e){return e[0]})},disable:function(e){if(e==="autodisconnect")for(var t=0;t<this._transports.length;t++)this._transports[t][1]._unloaded=!1},_transports:[]});a6(BT.prototype,WMe);a6(BT.prototype,ZMe);lQ.exports=BT});var o6=h((k6t,cQ)=>{"use strict";var VT=function(e){var t,r,n;if(e instanceof Array){for(t=[],r=e.length;r--;)t[r]=VT(e[r]);return t}else if(typeof e=="object"){t=e===null?null:{};for(n in e)t[n]=VT(e[n]);return t}else return e};cQ.exports=VT});var dQ=h((N6t,uQ)=>{"use strict";var km=function(e,t){t=t||(e instanceof Buffer?8:1);var r="",n,i,a;for(i=0,a=e.length;i<a;i++){for(n=this._get(e,i).toString(2);n.length<t;)n="0"+n;r=r+n}r=r.split("").map(function(o){return parseInt(o,2)}),this._bases={2:r}};km.prototype.generate=function(e,t,r){t=t||2;var n=e,i=Math.ceil(Math.log(e)/Math.log(t)),a=Math.pow(t,i)-e,o;e:for(;n>=e;){if(o=this._shift(t,i),!o)return r?e:null;if(n=this._evaluate(o,t),n>=e){if(a===1)continue e;this._push(a,n-e),n=this.generate(e,a,!0)}}return n};km.prototype._get=function(e,t){return e.readUInt8?e.readUInt8(t):e[t]};km.prototype._evaluate=function(e,t){for(var r=0,n=e.length;n--;)r+=e[n]*Math.pow(t,e.length-(n+1));return r};km.prototype._push=function(e,t){this._bases[e]=this._bases[e]||[],this._bases[e].push(t)};km.prototype._shift=function(e,t){var r=this._bases[e];return!r||r.length<t?null:r.splice(0,t)};uQ.exports=km});var fQ=h((j6t,pQ)=>{var HMe=128,GMe=16,JMe="0123456789abcdefghijklmnopqrstuvwxyz".split(""),KMe=require("crypto"),XMe=dQ(),YMe=function(e,t){if(e=e||HMe,t=t||GMe,t<2||t>36)throw new Error("radix argument must be between 2 and 36");for(var r=Math.ceil(e*Math.log(2)/Math.log(t)),n=KMe.randomBytes(e),i=new XMe(n),a="";a.length<r;)a+=JMe[i.generate(t)];return a};pQ.exports=YMe});var WT=h((P6t,mQ)=>{"use strict";var QMe=fQ(),eRe=xm();mQ.exports=function(e){e=e||eRe.ID_LENGTH;for(var t=Math.ceil(e*Math.log(2)/Math.log(36)),r=QMe(e,36);r.length<t;)r="0"+r;return r}});var yQ=h((M6t,gQ)=>{"use strict";var tRe=Lr(),hQ=Dr(),rRe=Am(),nRe=i6(),ZT=tRe({initialize:function(e,t,r){this._engine=e,this._id=t,this._options=r,this._inbox=[]},deliver:function(e){if(delete e.clientId,this.socket)return this.socket.send(e);this._inbox.push(e),this._beginDeliveryTimeout()},connect:function(e,t,r){e=e||{};var n=e.timeout!==void 0?e.timeout/1e3:this._engine.timeout;this.setDeferredStatus("unknown"),this.callback(t,r),this._beginDeliveryTimeout(),this._beginConnectionTimeout(n)},flush:function(){this.removeTimeout("connection"),this.removeTimeout("delivery"),this.setDeferredStatus("succeeded",this._inbox),this._inbox=[],this.socket||this._engine.closeConnection(this._id)},_beginDeliveryTimeout:function(){this._inbox.length!==0&&this.addTimeout("delivery",this._engine.MAX_DELAY,this.flush,this)},_beginConnectionTimeout:function(e){this.addTimeout("connection",e,this.flush,this)}});hQ(ZT.prototype,rRe);hQ(ZT.prototype,nRe);gQ.exports=ZT});var _Q=h((R6t,vQ)=>{"use strict";var iRe=Lr(),bQ=WT();vQ.exports=iRe({initialize:function(){this._used={}},exists:function(e){return this._used.hasOwnProperty(e)},generate:function(){for(var e=bQ();this._used.hasOwnProperty(e);)e=bQ();return this._used[e]=e},release:function(e){delete this._used[e]}})});var HT=h((F6t,wQ)=>{"use strict";var aRe=Lr();wQ.exports=aRe({initialize:function(){this._index={}},add:function(e){var t=e.id!==void 0?e.id:e;return this._index.hasOwnProperty(t)?!1:(this._index[t]=e,!0)},forEach:function(e,t){for(var r in this._index)this._index.hasOwnProperty(r)&&e.call(t,this._index[r])},isEmpty:function(){for(var e in this._index)if(this._index.hasOwnProperty(e))return!1;return!0},member:function(e){for(var t in this._index)if(this._index[t]===e)return!0;return!1},remove:function(e){var t=e.id!==void 0?e.id:e,r=this._index[t];return delete this._index[t],r},toArray:function(){var e=[];return this.forEach(function(t){e.push(t)}),e}})});var EQ=h(($6t,SQ)=>{"use strict";var oRe=o6(),sRe=Dr(),lRe=_Q(),GT=HT(),cRe=i6(),w0=function(e,t){this._server=e,this._options=t||{},this.reset()};w0.create=function(e,t){return new w0(e,t)};w0.prototype={disconnect:function(){this.reset(),this.removeAllTimeouts()},reset:function(){this._namespace=new lRe,this._clients={},this._channels={},this._messages={}},createClient:function(e,t){var r=this._namespace.generate();this._server.debug("Created new client ?",r),this.ping(r),this._server.trigger("handshake",r),e.call(t,r)},destroyClient:function(e,t,r){if(this._namespace.exists(e)){var n=this._clients;n[e]&&n[e].forEach(function(i){this.unsubscribe(e,i)},this),this.removeTimeout(e),this._namespace.release(e),delete this._messages[e],this._server.debug("Destroyed client ?",e),this._server.trigger("disconnect",e),this._server.trigger("close",e),t&&t.call(r)}},clientExists:function(e,t,r){t.call(r,this._namespace.exists(e))},ping:function(e){var t=this._server.timeout;typeof t=="number"&&(this._server.debug("Ping ?, ?",e,t),this.removeTimeout(e),this.addTimeout(e,2*t,function(){this.destroyClient(e)},this))},subscribe:function(e,t,r,n){var i=this._clients,a=this._channels;i[e]=i[e]||new GT;var o=i[e].add(t);a[t]=a[t]||new GT,a[t].add(e),this._server.debug("Subscribed client ? to channel ?",e,t),o&&this._server.trigger("subscribe",e,t),r&&r.call(n,!0)},unsubscribe:function(e,t,r,n){var i=this._clients,a=this._channels,o=!1;i[e]&&(o=i[e].remove(t),i[e].isEmpty()&&delete i[e]),a[t]&&(a[t].remove(e),a[t].isEmpty()&&delete a[t]),this._server.debug("Unsubscribed client ? from channel ?",e,t),o&&this._server.trigger("unsubscribe",e,t),r&&r.call(n,!0)},publish:function(e,t){this._server.debug("Publishing message ?",e);for(var r=this._messages,n=new GT,i,a=0,o=t.length;a<o;a++)i=this._channels[t[a]],i&&i.forEach(n.add,n);n.forEach(function(s){this._server.debug("Queueing for client ?: ?",s,e),r[s]=r[s]||[],r[s].push(oRe(e)),this.emptyQueue(s)},this),this._server.trigger("publish",e.clientId,e.channel,e.data)},emptyQueue:function(e){this._server.hasConnection(e)&&(this._server.deliver(e,this._messages[e]),delete this._messages[e])}};sRe(w0.prototype,cRe);SQ.exports=w0});var OQ=h((z6t,xQ)=>{"use strict";var uRe=l0(),JT=Dr(),dRe=WT(),pRe=Lr(),U6t=Tm(),fRe=Xl(),mRe=Dm(),hRe=p0(),gRe=yQ(),yRe=EQ(),S0=JT(pRe({className:"Engine.Proxy",MAX_DELAY:0,INTERVAL:0,TIMEOUT:60,initialize:function(e){this._options=e||{},this._connections={},this.interval=this._options.interval||this.INTERVAL,this.timeout=this._options.timeout||this.TIMEOUT;var t=this._options.type||yRe;this._engine=t.create(this,this._options),this.bind("close",function(r){var n=this;uRe(function(){n.flushConnection(r)})},this),this.debug("Created new engine: ?",this._options)},connect:function(e,t,r,n){this.debug("Accepting connection from ?",e),this._engine.ping(e);var i=this.connection(e,!0);i.connect(t,r,n),this._engine.emptyQueue(e)},hasConnection:function(e){return this._connections.hasOwnProperty(e)},connection:function(e,t){var r=this._connections[e];return r||!t?r:(this._connections[e]=new gRe(this,e),this.trigger("connection:open",e),this._connections[e])},closeConnection:function(e){this.debug("Closing connection for ?",e);var t=this._connections[e];t&&(t.socket&&t.socket.close(),this.trigger("connection:close",e),delete this._connections[e])},openSocket:function(e,t){var r=this.connection(e,!0);r.socket=t},deliver:function(e,t){if(!t||t.length===0)return!1;var r=this.connection(e,!1);if(!r)return!1;for(var n=0,i=t.length;n<i;n++)r.deliver(t[n]);return!0},generateId:function(){return dRe()},flushConnection:function(e,t){if(e){this.debug("Flushing connection for ?",e);var r=this.connection(e,!1);r&&(t===!1&&(r.socket=null),r.flush(),this.closeConnection(e))}},close:function(){for(var e in this._connections)this.flushConnection(e);this._engine.disconnect()},disconnect:function(){if(this._engine.disconnect)return this._engine.disconnect()},publish:function(e){var t=hRe.expand(e.channel);return this._engine.publish(e,t)}}),{get:function(e){return new S0(e)}}),bRe=["createClient","clientExists","destroyClient","ping","subscribe","unsubscribe"];bRe.forEach(function(e){S0.prototype[e]=function(){return this._engine[e].apply(this._engine,arguments)}});JT(S0.prototype,mRe);JT(S0.prototype,fRe);xQ.exports=S0});var XT=h((q6t,TQ)=>{"use strict";var vRe=Lr(),_Re=Kw(),Nm=vRe({initialize:function(e,t,r){this.code=e,this.params=Array.prototype.slice.call(t),this.message=r},toString:function(){return this.code+":"+this.params.join(",")+":"+this.message}});Nm.parse=function(i){if(i=i||"",!_Re.ERROR.test(i))return new Nm(null,[],i);var t=i.split(":"),r=parseInt(t[0]),n=t[1].split(","),i=t[2];return new Nm(r,n,i)};var KT={versionMismatch:[300,"Version mismatch"],conntypeMismatch:[301,"Connection types not supported"],extMismatch:[302,"Extension mismatch"],badRequest:[400,"Bad request"],clientUnknown:[401,"Unknown client"],parameterMissing:[402,"Missing required parameter"],channelForbidden:[403,"Forbidden channel"],channelUnknown:[404,"Unknown channel"],channelInvalid:[405,"Invalid channel"],extUnknown:[406,"Unknown extension"],publishFailed:[407,"Failed to publish"],serverError:[500,"Internal server error"]};for(CQ in KT)(function(e){Nm[e]=function(){return new Nm(KT[e][0],arguments,KT[e][1]).toString()}})(CQ);var CQ;TQ.exports=Nm});var YT=h((B6t,AQ)=>{"use strict";var wRe=Dr(),SRe=Xl(),IQ={addExtension:function(e){this._extensions=this._extensions||[],this._extensions.push(e),e.added&&e.added(this)},removeExtension:function(e){if(this._extensions)for(var t=this._extensions.length;t--;)this._extensions[t]===e&&(this._extensions.splice(t,1),e.removed&&e.removed(this))},pipeThroughExtensions:function(e,t,r,n,i){if(this.debug("Passing through ? extensions: ?",e,t),!this._extensions)return n.call(i,t);var a=this._extensions.slice(),o=function(s){if(!s)return n.call(i,s);var l=a.shift();if(!l)return n.call(i,s);var c=l[e];if(!c)return o(s);c.length>=3?l[e](s,r,o):l[e](s,o)};o(t)}};wRe(IQ,SRe);AQ.exports=IQ});var LQ=h((V6t,DQ)=>{"use strict";var ERe=Lr(),xRe=Om();DQ.exports=ERe({initialize:function(e,t,r){this._server=e,this._socket=t,this._request=r},send:function(e){this._server.pipeThroughExtensions("outgoing",e,this._request,function(t){this._socket&&this._socket.send(xRe([t]))},this)},close:function(){this._socket&&this._socket.close(),delete this._socket}})});var QT=h((W6t,kQ)=>{"use strict";var ORe=Lr(),s6=Im(),c6=Dr(),l6=xm(),CRe=Xl(),TRe=OQ(),Aa=p0(),tr=XT(),IRe=YT(),ARe=Kw(),DRe=LQ(),E0=ORe({className:"Server",initialize:function(e){this._options=e||{};var t=this._options.engine||{};t.timeout=this._options.timeout,this._engine=TRe.get(t),this.info("Created new server: ?",this._options)},close:function(){return this._engine.close()},openSocket:function(e,t,r){!e||!t||this._engine.openSocket(e,new DRe(this,t,r))},closeSocket:function(e,t){this._engine.flushConnection(e,t)},process:function(e,t,r,n){var i=t===null;if(e=[].concat(e),this.info("Processing messages: ? (local: ?)",e,i),e.length===0)return r.call(n,[]);for(var a=0,o=[],s=this,l=function(f){if(o=o.concat(f),a+=1,!(a<e.length)){for(var p=o.length;p--;)o[p]||o.splice(p,1);s.info("Returning replies: ?",o),r.call(n,o)}},c=function(f){var p=0,m=f.length;m===0&&l(f);for(var y=0,v=f.length;y<v;y++)this.debug("Processing reply: ?",f[y]),function(S){s.pipeThroughExtensions("outgoing",f[S],t,function(E){f[S]=E,p+=1,p===m&&l(f)})}(y)},u=0,d=e.length;u<d;u++)this.pipeThroughExtensions("incoming",e[u],t,function(f){this._handle(f,i,c,this)},this)},_makeResponse:function(e){var t={};return e.id&&(t.id=e.id),e.clientId&&(t.clientId=e.clientId),e.channel&&(t.channel=e.channel),e.error&&(t.error=e.error),t.successful=!t.error,t},_handle:function(e,t,r,n){if(!e)return r.call(n,[]);this.info("Handling message: ? (local: ?)",e,t);var i=e.channel,a=e.error,o;if(Aa.isMeta(i))return this._handleMeta(e,t,r,n);ARe.CHANNEL_NAME.test(i)||(a=tr.channelInvalid(i)),e.data===void 0&&(a=tr.parameterMissing("data")),a||this._engine.publish(e),o=this._makeResponse(e),a&&(o.error=a),o.successful=!o.error,r.call(n,[o])},_handleMeta:function(e,t,r,n){var i=this._methodFor(e),a;if(i===null)return a=this._makeResponse(e),a.error=tr.channelForbidden(e.channel),a.successful=!1,r.call(n,[a]);this[i](e,t,function(o){o=[].concat(o);for(var s=0,l=o.length;s<l;s++)this._advize(o[s],e.connectionType);r.call(n,o)},this)},_methodFor:function(e){var t=e.channel;return t===Aa.HANDSHAKE?"handshake":t===Aa.CONNECT?"connect":t===Aa.SUBSCRIBE?"subscribe":t===Aa.UNSUBSCRIBE?"unsubscribe":t===Aa.DISCONNECT?"disconnect":null},_advize:function(e,t){if(!(s6.indexOf([Aa.HANDSHAKE,Aa.CONNECT],e.channel)<0)){var r,n;t==="eventsource"?(r=Math.floor(this._engine.timeout*1e3),n=0):(r=Math.floor(this._engine.interval*1e3),n=Math.floor(this._engine.timeout*1e3)),e.advice=e.advice||{},e.error?c6(e.advice,{reconnect:"handshake"},!1):c6(e.advice,{reconnect:"retry",interval:r,timeout:n},!1)}},handshake:function(e,t,r,n){var i=this._makeResponse(e);i.version=l6.BAYEUX_VERSION,e.version||(i.error=tr.parameterMissing("version"));var a=e.supportedConnectionTypes,o;if(i.supportedConnectionTypes=l6.CONNECTION_TYPES,a?(o=s6.filter(a,function(s){return s6.indexOf(l6.CONNECTION_TYPES,s)>=0}),o.length===0&&(i.error=tr.conntypeMismatch(a))):i.error=tr.parameterMissing("supportedConnectionTypes"),i.successful=!i.error,!i.successful)return r.call(n,i);this._engine.createClient(function(s){i.clientId=s,r.call(n,i)},this)},connect:function(e,t,r,n){var i=this._makeResponse(e),a=e.clientId,o=e.connectionType;this._engine.clientExists(a,function(s){if(s||(i.error=tr.clientUnknown(a)),a||(i.error=tr.parameterMissing("clientId")),s6.indexOf(l6.CONNECTION_TYPES,o)<0&&(i.error=tr.conntypeMismatch(o)),o||(i.error=tr.parameterMissing("connectionType")),i.successful=!i.error,!i.successful)return delete i.clientId,r.call(n,i);e.connectionType==="eventsource"&&(e.advice=e.advice||{},e.advice.timeout=0),this._engine.connect(i.clientId,e.advice,function(l){r.call(n,[i].concat(l))})},this)},disconnect:function(e,t,r,n){var i=this._makeResponse(e),a=e.clientId;this._engine.clientExists(a,function(o){o||(i.error=tr.clientUnknown(a)),a||(i.error=tr.parameterMissing("clientId")),i.successful=!i.error,i.successful||delete i.clientId,i.successful&&this._engine.destroyClient(a),r.call(n,i)},this)},subscribe:function(e,t,r,n){var i=this._makeResponse(e),a=e.clientId,o=e.subscription,s;o=o?[].concat(o):[],this._engine.clientExists(a,function(l){l||(i.error=tr.clientUnknown(a)),a||(i.error=tr.parameterMissing("clientId")),e.subscription||(i.error=tr.parameterMissing("subscription")),i.subscription=e.subscription||[];for(var c=0,u=o.length;c<u&&(s=o[c],!(i.error||(!t&&!Aa.isSubscribable(s)&&(i.error=tr.channelForbidden(s)),Aa.isValid(s)||(i.error=tr.channelInvalid(s)),i.error)));c++)this._engine.subscribe(a,s);i.successful=!i.error,r.call(n,i)},this)},unsubscribe:function(e,t,r,n){var i=this._makeResponse(e),a=e.clientId,o=e.subscription,s;o=o?[].concat(o):[],this._engine.clientExists(a,function(l){l||(i.error=tr.clientUnknown(a)),a||(i.error=tr.parameterMissing("clientId")),e.subscription||(i.error=tr.parameterMissing("subscription")),i.subscription=e.subscription||[];for(var c=0,u=o.length;c<u&&(s=o[c],!(i.error||(!t&&!Aa.isSubscribable(s)&&(i.error=tr.channelForbidden(s)),Aa.isValid(s)||(i.error=tr.channelInvalid(s)),i.error)));c++)this._engine.unsubscribe(a,s);i.successful=!i.error,r.call(n,i)},this)}});E0.create=function(e){return new E0(e)};c6(E0.prototype,CRe);c6(E0.prototype,IRe);kQ.exports=E0});var PQ=h((H6t,jQ)=>{"use strict";var LRe=l0(),kRe=Lr(),Z6t=f0(),NQ=o6(),NRe=Dr(),jRe=QT(),PRe=_0(),MRe=NRe(kRe(PRe,{batching:!1,request:function(e){e=NQ(e);var t=this;LRe(function(){t.endpoint.process(e,null,function(r){t._receive(NQ(r))})})}}),{isUsable:function(e,t,r,n){r.call(n,t instanceof jRe)}});jQ.exports=MRe});var Hr=h((eI,RQ)=>{var u6=require("buffer"),as=u6.Buffer;function MQ(e,t){for(var r in e)t[r]=e[r]}as.from&&as.alloc&&as.allocUnsafe&&as.allocUnsafeSlow?RQ.exports=u6:(MQ(u6,eI),eI.Buffer=lp);function lp(e,t,r){return as(e,t,r)}lp.prototype=Object.create(as.prototype);MQ(as,lp);lp.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return as(e,t,r)};lp.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=as(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};lp.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return as(e)};lp.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return u6.SlowBuffer(e)}});var UQ=h(tI=>{"use strict";var FQ=require("stream").Stream,$Q=require("util"),cp=function(e){this.readable=this.writable=!0,this._paused=!1,this._driver=e};$Q.inherits(cp,FQ);cp.prototype.pause=function(){this._paused=!0,this._driver.messages._paused=!0};cp.prototype.resume=function(){this._paused=!1,this.emit("drain");var e=this._driver.messages;e._paused=!1,e.emit("drain")};cp.prototype.write=function(e){return this.writable?(this._driver.parse(e),!this._paused):!1};cp.prototype.end=function(e){if(this.writable){e!==void 0&&this.write(e),this.writable=!1;var t=this._driver.messages;t.readable&&(t.readable=t.writable=!1,t.emit("end"))}};cp.prototype.destroy=function(){this.end()};var up=function(e){this.readable=this.writable=!0,this._paused=!1,this._driver=e};$Q.inherits(up,FQ);up.prototype.pause=function(){this._driver.io._paused=!0};up.prototype.resume=function(){this._driver.io._paused=!1,this._driver.io.emit("drain")};up.prototype.write=function(e){return this.writable?(typeof e=="string"?this._driver.text(e):this._driver.binary(e),!this._paused):!1};up.prototype.end=function(e){e!==void 0&&this.write(e)};up.prototype.destroy=function(){};tI.IO=cp;tI.Messages=up});var d6=h((J6t,zQ)=>{"use strict";var jm=function(){this.clear()};jm.prototype.ALLOWED_DUPLICATES=["set-cookie","set-cookie2","warning","www-authenticate"];jm.prototype.clear=function(){this._sent={},this._lines=[]};jm.prototype.set=function(e,t){if(t!==void 0){e=this._strip(e),t=this._strip(t);var r=e.toLowerCase();(!this._sent.hasOwnProperty(r)||this.ALLOWED_DUPLICATES.indexOf(r)>=0)&&(this._sent[r]=!0,this._lines.push(e+": "+t+`\r
|
||
`))}};jm.prototype.toString=function(){return this._lines.join("")};jm.prototype._strip=function(e){return e.toString().replace(/^ */,"").replace(/ *$/,"")};zQ.exports=jm});var BQ=h((K6t,qQ)=>{"use strict";var p6=Hr().Buffer,f6=function(){this._queue=[],this._queueSize=0,this._offset=0};f6.prototype.put=function(e){!e||e.length===0||(p6.isBuffer(e)||(e=p6.from(e)),this._queue.push(e),this._queueSize+=e.length)};f6.prototype.read=function(e){if(e>this._queueSize)return null;if(e===0)return p6.alloc(0);this._queueSize-=e;var t=this._queue,r=e,n=t[0],i,a;if(n.length>=e)return n.length===e?t.shift():(a=n.slice(0,e),t[0]=n.slice(e),a);for(var o=0,s=t.length;o<s&&!(r<t[o].length);o++)r-=t[o].length;return i=t.splice(0,o),r>0&&t.length>0&&(i.push(t[0].slice(0,r)),t[0]=t[0].slice(r)),p6.concat(i,e)};f6.prototype.eachByte=function(e,t){for(var r,n,i;this._queue.length>0;){for(r=this._queue[0],n=r.length;this._offset<n;)i=this._offset,this._offset+=1,e.call(t,r[i]);this._offset=0,this._queue.shift()}};qQ.exports=f6});var xu=h((X6t,JQ)=>{"use strict";var VQ=Hr().Buffer,HQ=require("events").EventEmitter,RRe=require("util"),WQ=UQ(),GQ=d6(),FRe=BQ(),Zn=function(e,t,r){HQ.call(this),Zn.validateOptions(r||{},["maxLength","masking","requireMasking","protocols"]),this._request=e,this._reader=new FRe,this._options=r||{},this._maxLength=this._options.maxLength||this.MAX_LENGTH,this._headers=new GQ,this.__queue=[],this.readyState=0,this.url=t,this.io=new WQ.IO(this),this.messages=new WQ.Messages(this),this._bindEventListeners()};RRe.inherits(Zn,HQ);Zn.isWebSocket=function(e){var t=e.headers.connection||"",r=e.headers.upgrade||"";return e.method==="GET"&&t.toLowerCase().split(/ *, */).indexOf("upgrade")>=0&&r.toLowerCase()==="websocket"};Zn.validateOptions=function(e,t){for(var r in e)if(t.indexOf(r)<0)throw new Error("Unrecognized option: "+r)};var ZQ={MAX_LENGTH:67108863,STATES:["connecting","open","closing","closed"],_bindEventListeners:function(){var e=this;this.messages.on("error",function(){}),this.on("message",function(t){var r=e.messages;r.readable&&r.emit("data",t.data)}),this.on("error",function(t){var r=e.messages;r.readable&&r.emit("error",t)}),this.on("close",function(){var t=e.messages;t.readable&&(t.readable=t.writable=!1,t.emit("end"))})},getState:function(){return this.STATES[this.readyState]||null},addExtension:function(e){return!1},setHeader:function(e,t){return this.readyState>0?!1:(this._headers.set(e,t),!0)},start:function(){if(this.readyState!==0)return!1;if(!Zn.isWebSocket(this._request))return this._failHandshake(new Error("Not a WebSocket request"));var e;try{e=this._handshakeResponse()}catch(t){return this._failHandshake(t)}return this._write(e),this._stage!==-1&&this._open(),!0},_failHandshake:function(e){var t=new GQ;return t.set("Content-Type","text/plain"),t.set("Content-Length",VQ.byteLength(e.message,"utf8")),t=["HTTP/1.1 400 Bad Request",t.toString(),e.message],this._write(VQ.from(t.join(`\r
|
||
`),"utf8")),this._fail("protocol_error",e.message),!1},text:function(e){return this.frame(e)},binary:function(e){return!1},ping:function(){return!1},pong:function(){return!1},close:function(e,t){return this.readyState!==1?!1:(this.readyState=3,this.emit("close",new Zn.CloseEvent(null,null)),!0)},_open:function(){this.readyState=1,this.__queue.forEach(function(e){this.frame.apply(this,e)},this),this.__queue=[],this.emit("open",new Zn.OpenEvent)},_queue:function(e){return this.__queue.push(e),!0},_write:function(e){var t=this.io;t.readable&&t.emit("data",e)},_fail:function(e,t){this.readyState=2,this.emit("error",new Error(t)),this.close()}};for(rI in ZQ)Zn.prototype[rI]=ZQ[rI];var rI;Zn.ConnectEvent=function(){};Zn.OpenEvent=function(){};Zn.CloseEvent=function(e,t){this.code=e,this.reason=t};Zn.MessageEvent=function(e){this.data=e};Zn.PingEvent=function(e){this.data=e};Zn.PongEvent=function(e){this.data=e};JQ.exports=Zn});var eee=h(aI=>{aI.HTTPParser=Te;function Te(e){if(e!==void 0&&e!==Te.REQUEST&&e!==Te.RESPONSE)throw new Error("type must be REQUEST or RESPONSE");e===void 0||this.initialize(e),this.maxHeaderSize=Te.maxHeaderSize}Te.prototype.initialize=function(e,t){if(e!==Te.REQUEST&&e!==Te.RESPONSE)throw new Error("type must be REQUEST or RESPONSE");this.type=e,this.state=e+"_LINE",this.info={headers:[],upgrade:!1},this.trailers=[],this.line="",this.isChunked=!1,this.connection="",this.headerSize=0,this.body_bytes=null,this.isUserCall=!1,this.hadError=!1};Te.encoding="ascii";Te.maxHeaderSize=80*1024;Te.REQUEST="REQUEST";Te.RESPONSE="RESPONSE";var KQ=Te.kOnHeaders=1,nI=Te.kOnHeadersComplete=2,m6=Te.kOnBody=3,iI=Te.kOnMessageComplete=4;Te.prototype[KQ]=Te.prototype[nI]=Te.prototype[m6]=Te.prototype[iI]=function(){};var XQ=!0;Object.defineProperty(Te,"kOnExecute",{get:function(){return XQ=!1,99}});var YQ=aI.methods=Te.methods=["DELETE","GET","HEAD","POST","PUT","CONNECT","OPTIONS","TRACE","COPY","LOCK","MKCOL","MOVE","PROPFIND","PROPPATCH","SEARCH","UNLOCK","BIND","REBIND","UNBIND","ACL","REPORT","MKACTIVITY","CHECKOUT","MERGE","M-SEARCH","NOTIFY","SUBSCRIBE","UNSUBSCRIBE","PATCH","PURGE","MKCALENDAR","LINK","UNLINK","SOURCE"],QQ=YQ.indexOf("CONNECT");Te.prototype.reinitialize=Te;Te.prototype.close=Te.prototype.pause=Te.prototype.resume=Te.prototype.remove=Te.prototype.free=function(){};Te.prototype._compatMode0_11=!1;Te.prototype.getAsyncId=function(){return 0};var $Re={REQUEST_LINE:!0,RESPONSE_LINE:!0,HEADER:!0};Te.prototype.execute=function(e,t,r){if(!(this instanceof Te))throw new TypeError("not a HTTPParser");t=t||0,r=typeof r=="number"?r:e.length,this.chunk=e,this.offset=t;var n=this.end=t+r;try{for(;this.offset<n&&!this[this.state](););}catch(i){if(this.isUserCall)throw i;return this.hadError=!0,i}return this.chunk=null,r=this.offset-t,$Re[this.state]&&(this.headerSize+=r,this.headerSize>(this.maxHeaderSize||Te.maxHeaderSize))?new Error("max header size exceeded"):r};var URe={REQUEST_LINE:!0,RESPONSE_LINE:!0,BODY_RAW:!0};Te.prototype.finish=function(){if(!this.hadError){if(!URe[this.state])return new Error("invalid state for EOF");this.state==="BODY_RAW"&&this.userCall()(this[iI]())}};Te.prototype.consume=Te.prototype.unconsume=Te.prototype.getCurrentBuffer=function(){};Te.prototype.userCall=function(){this.isUserCall=!0;var e=this;return function(t){return e.isUserCall=!1,t}};Te.prototype.nextRequest=function(){this.userCall()(this[iI]()),this.reinitialize(this.type)};Te.prototype.consumeLine=function(){for(var e=this.end,t=this.chunk,r=this.offset;r<e;r++)if(t[r]===10){var n=this.line+t.toString(Te.encoding,this.offset,r);return n.charAt(n.length-1)==="\r"&&(n=n.substr(0,n.length-1)),this.line="",this.offset=r+1,n}this.line+=t.toString(Te.encoding,this.offset,this.end),this.offset=this.end};var zRe=/^([^: \t]+):[ \t]*((?:.*[^ \t])|)/,qRe=/^[ \t]+(.*[^ \t])/;Te.prototype.parseHeader=function(e,t){if(e.indexOf("\r")!==-1)throw h6("HPE_LF_EXPECTED");var r=zRe.exec(e),n=r&&r[1];if(n)t.push(n),t.push(r[2]);else{var i=qRe.exec(e);i&&t.length&&(t[t.length-1]&&(t[t.length-1]+=" "),t[t.length-1]+=i[1])}};var BRe=/^([A-Z-]+) ([^ ]+) HTTP\/(\d)\.(\d)$/;Te.prototype.REQUEST_LINE=function(){var e=this.consumeLine();if(e){var t=BRe.exec(e);if(t===null)throw h6("HPE_INVALID_CONSTANT");if(this.info.method=this._compatMode0_11?t[1]:YQ.indexOf(t[1]),this.info.method===-1)throw new Error("invalid request method");this.info.url=t[2],this.info.versionMajor=+t[3],this.info.versionMinor=+t[4],this.body_bytes=0,this.state="HEADER"}};var VRe=/^HTTP\/(\d)\.(\d) (\d{3}) ?(.*)$/;Te.prototype.RESPONSE_LINE=function(){var e=this.consumeLine();if(e){var t=VRe.exec(e);if(t===null)throw h6("HPE_INVALID_CONSTANT");this.info.versionMajor=+t[1],this.info.versionMinor=+t[2];var r=this.info.statusCode=+t[3];this.info.statusMessage=t[4],((r/100|0)===1||r===204||r===304)&&(this.body_bytes=0),this.state="HEADER"}};Te.prototype.shouldKeepAlive=function(){if(this.info.versionMajor>0&&this.info.versionMinor>0){if(this.connection.indexOf("close")!==-1)return!1}else if(this.connection.indexOf("keep-alive")===-1)return!1;return!!(this.body_bytes!==null||this.isChunked)};Te.prototype.HEADER=function(){var e=this.consumeLine();if(e!==void 0){var t=this.info;if(e)this.parseHeader(e,t.headers);else{for(var r=t.headers,n=!1,i,a=!1,o=0;o<r.length;o+=2)switch(r[o].toLowerCase()){case"transfer-encoding":this.isChunked=r[o+1].toLowerCase()==="chunked";break;case"content-length":if(i=+r[o+1],n){if(i!==this.body_bytes)throw h6("HPE_UNEXPECTED_CONTENT_LENGTH")}else n=!0,this.body_bytes=i;break;case"connection":this.connection+=r[o+1].toLowerCase();break;case"upgrade":a=!0;break}this.isChunked&&n&&(n=!1,this.body_bytes=null),a&&this.connection.indexOf("upgrade")!=-1?t.upgrade=this.type===Te.REQUEST||t.statusCode===101:t.upgrade=t.method===QQ,this.isChunked&&t.upgrade&&(this.isChunked=!1),t.shouldKeepAlive=this.shouldKeepAlive();var s;if(XQ?s=this.userCall()(this[nI](t)):s=this.userCall()(this[nI](t.versionMajor,t.versionMinor,t.headers,t.method,t.url,t.statusCode,t.statusMessage,t.upgrade,t.shouldKeepAlive)),s===2)return this.nextRequest(),!0;if(this.isChunked&&!s)this.state="BODY_CHUNKHEAD";else{if(s||this.body_bytes===0)return this.nextRequest(),t.upgrade;this.body_bytes===null?this.state="BODY_RAW":this.state="BODY_SIZED"}}}};Te.prototype.BODY_CHUNKHEAD=function(){var e=this.consumeLine();e!==void 0&&(this.body_bytes=parseInt(e,16),this.body_bytes?this.state="BODY_CHUNK":this.state="BODY_CHUNKTRAILERS")};Te.prototype.BODY_CHUNK=function(){var e=Math.min(this.end-this.offset,this.body_bytes);this.userCall()(this[m6](this.chunk.slice(this.offset,this.offset+e),0,e)),this.offset+=e,this.body_bytes-=e,this.body_bytes||(this.state="BODY_CHUNKEMPTYLINE")};Te.prototype.BODY_CHUNKEMPTYLINE=function(){var e=this.consumeLine();if(e!==void 0){if(e!=="")throw new Error("Expected empty line");this.state="BODY_CHUNKHEAD"}};Te.prototype.BODY_CHUNKTRAILERS=function(){var e=this.consumeLine();e!==void 0&&(e?this.parseHeader(e,this.trailers):(this.trailers.length&&this.userCall()(this[KQ](this.trailers,"")),this.nextRequest()))};Te.prototype.BODY_RAW=function(){this.userCall()(this[m6](this.chunk.slice(this.offset,this.end),0,this.end-this.offset)),this.offset=this.end};Te.prototype.BODY_SIZED=function(){var e=Math.min(this.end-this.offset,this.body_bytes);this.userCall()(this[m6](this.chunk.slice(this.offset,this.offset+e),0,e)),this.offset+=e,this.body_bytes-=e,this.body_bytes||this.nextRequest()};["Headers","HeadersComplete","Body","MessageComplete"].forEach(function(e){var t=Te["kOn"+e];Object.defineProperty(Te.prototype,"on"+e,{get:function(){return this[t]},set:function(r){return this._compatMode0_11=!0,QQ="CONNECT",this[t]=r}})});function h6(e){var t=new Error("Parse Error");return t.code=e,t}});var y6=h((Q6t,ree)=>{"use strict";var g6=eee().HTTPParser,WRe=Hr().Buffer,ZRe={request:g6.REQUEST||"request",response:g6.RESPONSE||"response"},Hn=function(e){this._type=e,this._parser=new g6(ZRe[e]),this._complete=!1,this.headers={};var t=null,r=this;this._parser.onHeaderField=function(n,i,a){t=n.toString("utf8",i,i+a).toLowerCase()},this._parser.onHeaderValue=function(n,i,a){var o=n.toString("utf8",i,i+a);r.headers.hasOwnProperty(t)?r.headers[t]+=", "+o:r.headers[t]=o},this._parser.onHeadersComplete=this._parser[g6.kOnHeadersComplete]=function(n,i,a,o,s,l){var c=arguments[0];if(typeof c=="object"&&(o=c.method,s=c.url,l=c.statusCode,a=c.headers),r.method=typeof o=="number"?Hn.METHODS[o]:o,r.statusCode=l,r.url=s,!!a){for(var u=0,d=a.length,f,p;u<d;u+=2)f=a[u].toLowerCase(),p=a[u+1],r.headers.hasOwnProperty(f)?r.headers[f]+=", "+p:r.headers[f]=p;r._complete=!0}}};Hn.METHODS={0:"DELETE",1:"GET",2:"HEAD",3:"POST",4:"PUT",5:"CONNECT",6:"OPTIONS",7:"TRACE",8:"COPY",9:"LOCK",10:"MKCOL",11:"MOVE",12:"PROPFIND",13:"PROPPATCH",14:"SEARCH",15:"UNLOCK",16:"BIND",17:"REBIND",18:"UNBIND",19:"ACL",20:"REPORT",21:"MKACTIVITY",22:"CHECKOUT",23:"MERGE",24:"M-SEARCH",25:"NOTIFY",26:"SUBSCRIBE",27:"UNSUBSCRIBE",28:"PATCH",29:"PURGE",30:"MKCALENDAR",31:"LINK",32:"UNLINK"};var tee=process.version?process.version.match(/[0-9]+/g).map(function(e){return parseInt(e,10)}):[];tee[0]===0&&tee[1]===12&&(Hn.METHODS[16]="REPORT",Hn.METHODS[17]="MKACTIVITY",Hn.METHODS[18]="CHECKOUT",Hn.METHODS[19]="MERGE",Hn.METHODS[20]="M-SEARCH",Hn.METHODS[21]="NOTIFY",Hn.METHODS[22]="SUBSCRIBE",Hn.METHODS[23]="UNSUBSCRIBE",Hn.METHODS[24]="PATCH",Hn.METHODS[25]="PURGE");Hn.prototype.isComplete=function(){return this._complete};Hn.prototype.parse=function(e){var t=this._parser.execute(e,0,e.length);if(typeof t!="number"){this.error=t,this._complete=!0;return}this._complete&&(this.body=t<e.length?e.slice(t):WRe.alloc(0))};ree.exports=Hn});var aee=h((e3t,iee)=>{"use strict";var oI=/([!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+)/,HRe=/([^!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z])/g,GRe=/"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"\\])*)"/,sI=new RegExp(oI.source+"(?:=(?:"+oI.source+"|"+GRe.source+"))?"),lI=new RegExp(oI.source+"(?: *; *"+sI.source+")*","g"),JRe=new RegExp("^"+lI.source+"(?: *, *"+lI.source+")*$"),KRe=/^-?(0|[1-9][0-9]*)(\.[0-9]+)?$/,nee=Object.prototype.hasOwnProperty,XRe={parseHeader:function(e){var t=new x0;if(e===""||e===void 0)return t;if(!JRe.test(e))throw new SyntaxError("Invalid Sec-WebSocket-Extensions header: "+e);var r=e.match(lI);return r.forEach(function(n){var i=n.match(new RegExp(sI.source,"g")),a=i.shift(),o={};i.forEach(function(s){var l=s.match(sI),c=l[1],u;l[2]!==void 0?u=l[2]:l[3]!==void 0?u=l[3].replace(/\\/g,""):u=!0,KRe.test(u)&&(u=parseFloat(u)),nee.call(o,c)?(o[c]=[].concat(o[c]),o[c].push(u)):o[c]=u},this),t.push(a,o)},this),t},serializeParams:function(e,t){var r=[],n=function(a,o){o instanceof Array?o.forEach(function(s){n(a,s)}):o===!0?r.push(a):typeof o=="number"?r.push(a+"="+o):HRe.test(o)?r.push(a+'="'+o.replace(/"/g,'\\"')+'"'):r.push(a+"="+o)};for(var i in t)n(i,t[i]);return[e].concat(r).join("; ")}},x0=function(){this._byName={},this._inOrder=[]};x0.prototype.push=function(e,t){nee.call(this._byName,e)||(this._byName[e]=[]),this._byName[e].push(t),this._inOrder.push({name:e,params:t})};x0.prototype.eachOffer=function(e,t){for(var r=this._inOrder,n=0,i=r.length;n<i;n++)e.call(t,r[n].name,r[n].params)};x0.prototype.byName=function(e){return this._byName[e]||[]};x0.prototype.toArray=function(){return this._inOrder.slice()};iee.exports=XRe});var cI=h((t3t,oee)=>{"use strict";var O0=function(e){this._bufferSize=e,this.clear()};O0.prototype.clear=function(){this._buffer=new Array(this._bufferSize),this._ringOffset=0,this._ringSize=this._bufferSize,this._head=0,this._tail=0,this.length=0};O0.prototype.push=function(e){var t=!1,r=!1;this._ringSize<this._bufferSize?t=this._tail===0:this._ringOffset===this._ringSize&&(t=!0,r=this._tail===0),t&&(this._tail=this._bufferSize,this._buffer=this._buffer.concat(new Array(this._bufferSize)),this._bufferSize=this._buffer.length,r&&(this._ringSize=this._bufferSize)),this._buffer[this._tail]=e,this.length+=1,this._tail<this._ringSize&&(this._ringOffset+=1),this._tail=(this._tail+1)%this._bufferSize};O0.prototype.peek=function(){if(this.length!==0)return this._buffer[this._head]};O0.prototype.shift=function(){if(this.length!==0){var e=this._buffer[this._head];return this._buffer[this._head]=void 0,this.length-=1,this._ringOffset-=1,this._ringOffset===0&&this.length>0?(this._head=this._ringSize,this._ringOffset=this.length,this._ringSize=this._bufferSize):this._head=(this._head+1)%this._ringSize,e}};oee.exports=O0});var lee=h((r3t,see)=>{"use strict";var YRe=cI(),Pm=function(e,t){this._session=e,this._method=t,this._queue=new YRe(Pm.QUEUE_SIZE),this._stopped=!1,this.pending=0};Pm.QUEUE_SIZE=8;Pm.prototype.call=function(e,t,r,n){if(!this._stopped){var i={error:e,message:t,callback:r,context:n,done:!1},a=!1,o=this;if(this._queue.push(i),i.error)return i.done=!0,this._stop(),this._flushQueue();var s=function(l,c){a^(a=!0)&&(l?(o._stop(),i.error=l,i.message=null):i.message=c,i.done=!0,o._flushQueue())};try{this._session[this._method](t,s)}catch(l){s(l)}}};Pm.prototype._stop=function(){this.pending=this._queue.length,this._stopped=!0};Pm.prototype._flushQueue=function(){for(var e=this._queue,t;e.length>0&&e.peek().done;)t=e.shift(),t.error?(this.pending=0,e.clear()):this.pending-=1,t.callback.call(t.context,t.error,t.message)};see.exports=Pm});var uI=h((n3t,cee)=>{"use strict";var QRe=cI(),dp=function(){this._complete=!1,this._callbacks=new QRe(dp.QUEUE_SIZE)};dp.QUEUE_SIZE=4;dp.all=function(e){var t=new dp,r=e.length,n=r;for(r===0&&t.done();n--;)e[n].then(function(){r-=1,r===0&&t.done()});return t};dp.prototype.then=function(e){this._complete?e():this._callbacks.push(e)};dp.prototype.done=function(){this._complete=!0;for(var e=this._callbacks,t;t=e.shift();)t()};cee.exports=dp});var pee=h((i3t,dee)=>{"use strict";var uee=lee(),eFe=uI(),pp=function(e){this._ext=e[0],this._session=e[1],this._functors={incoming:new uee(this._session,"processIncomingMessage"),outgoing:new uee(this._session,"processOutgoingMessage")}};pp.prototype.pending=function(e){var t=this._functors[e];t._stopped||(t.pending+=1)};pp.prototype.incoming=function(e,t,r,n){this._exec("incoming",e,t,r,n)};pp.prototype.outgoing=function(e,t,r,n){this._exec("outgoing",e,t,r,n)};pp.prototype.close=function(){return this._closed=this._closed||new eFe,this._doClose(),this._closed};pp.prototype._exec=function(e,t,r,n,i){this._functors[e].call(t,r,function(a,o){a&&(a.message=this._ext.name+": "+a.message),n.call(i,a,o),this._doClose()},this)};pp.prototype._doClose=function(){var e=this._functors.incoming,t=this._functors.outgoing;!this._closed||e.pending+t.pending!==0||(this._session&&this._session.close(),this._session=null,this._closed.done())};dee.exports=pp});var mee=h((a3t,fee)=>{"use strict";var tFe=pee(),rFe=uI(),C0=function(e){this._cells=e.map(function(t){return new tFe(t)}),this._stopped={incoming:!1,outgoing:!1}};C0.prototype.processIncomingMessage=function(e,t,r){this._stopped.incoming||this._loop("incoming",this._cells.length-1,-1,-1,e,t,r)};C0.prototype.processOutgoingMessage=function(e,t,r){this._stopped.outgoing||this._loop("outgoing",0,this._cells.length,1,e,t,r)};C0.prototype.close=function(e,t){this._stopped={incoming:!0,outgoing:!0};var r=this._cells.map(function(n){return n.close()});e&&rFe.all(r).then(function(){e.call(t)})};C0.prototype._loop=function(e,t,r,n,i,a,o){for(var s=this._cells,l=s.length,c=this;l--;)s[l].pending(e);var u=function(d,f,p){if(d===r)return a.call(o,f,p);s[d][e](f,p,function(m,y){m&&(c._stopped[e]=!0),u(d+n,m,y)})};u(t,null,i)};fee.exports=C0});var bee=h((o3t,yee)=>{"use strict";var T0=aee(),hee=mee(),b6=function(){this._rsv1=this._rsv2=this._rsv3=null,this._byName={},this._inOrder=[],this._sessions=[],this._index={}};b6.MESSAGE_OPCODES=[1,2];var gee={add:function(e){if(typeof e.name!="string")throw new TypeError("extension.name must be a string");if(e.type!=="permessage")throw new TypeError('extension.type must be "permessage"');if(typeof e.rsv1!="boolean")throw new TypeError("extension.rsv1 must be true or false");if(typeof e.rsv2!="boolean")throw new TypeError("extension.rsv2 must be true or false");if(typeof e.rsv3!="boolean")throw new TypeError("extension.rsv3 must be true or false");if(this._byName.hasOwnProperty(e.name))throw new TypeError('An extension with name "'+e.name+'" is already registered');this._byName[e.name]=e,this._inOrder.push(e)},generateOffer:function(){var e=[],t=[],r={};return this._inOrder.forEach(function(n){var i=n.createClientSession();if(i){var a=[n,i];e.push(a),r[n.name]=a;var o=i.generateOffer();o=o?[].concat(o):[],o.forEach(function(s){t.push(T0.serializeParams(n.name,s))},this)}},this),this._sessions=e,this._index=r,t.length>0?t.join(", "):null},activate:function(e){var t=T0.parseHeader(e),r=[];t.eachOffer(function(n,i){var a=this._index[n];if(!a)throw new Error('Server sent an extension response for unknown extension "'+n+'"');var o=a[0],s=a[1],l=this._reserved(o);if(l)throw new Error("Server sent two extension responses that use the RSV"+l[0]+' bit: "'+l[1]+'" and "'+o.name+'"');if(s.activate(i)!==!0)throw new Error("Server sent unacceptable extension parameters: "+T0.serializeParams(n,i));this._reserve(o),r.push(a)},this),this._sessions=r,this._pipeline=new hee(r)},generateResponse:function(e){var t=[],r=[],n=T0.parseHeader(e);return this._inOrder.forEach(function(i){var a=n.byName(i.name);if(!(a.length===0||this._reserved(i))){var o=i.createServerSession(a);o&&(this._reserve(i),t.push([i,o]),r.push(T0.serializeParams(i.name,o.generateResponse())))}},this),this._sessions=t,this._pipeline=new hee(t),r.length>0?r.join(", "):null},validFrameRsv:function(e){var t={rsv1:!1,rsv2:!1,rsv3:!1},r;if(b6.MESSAGE_OPCODES.indexOf(e.opcode)>=0)for(var n=0,i=this._sessions.length;n<i;n++)r=this._sessions[n][0],t.rsv1=t.rsv1||r.rsv1,t.rsv2=t.rsv2||r.rsv2,t.rsv3=t.rsv3||r.rsv3;return(t.rsv1||!e.rsv1)&&(t.rsv2||!e.rsv2)&&(t.rsv3||!e.rsv3)},processIncomingMessage:function(e,t,r){this._pipeline.processIncomingMessage(e,t,r)},processOutgoingMessage:function(e,t,r){this._pipeline.processOutgoingMessage(e,t,r)},close:function(e,t){if(!this._pipeline)return e.call(t);this._pipeline.close(e,t)},_reserve:function(e){this._rsv1=this._rsv1||e.rsv1&&e.name,this._rsv2=this._rsv2||e.rsv2&&e.name,this._rsv3=this._rsv3||e.rsv3&&e.name},_reserved:function(e){return this._rsv1&&e.rsv1?[1,this._rsv1]:this._rsv2&&e.rsv2?[2,this._rsv2]:this._rsv3&&e.rsv3?[3,this._rsv3]:!1}};for(dI in gee)b6.prototype[dI]=gee[dI];var dI;yee.exports=b6});var See=h((s3t,wee)=>{"use strict";var _ee=function(){},vee={final:!1,rsv1:!1,rsv2:!1,rsv3:!1,opcode:null,masked:!1,maskingKey:null,lengthBytes:1,length:0,payload:null};for(pI in vee)_ee.prototype[pI]=vee[pI];var pI;wee.exports=_ee});var Cee=h((l3t,Oee)=>{"use strict";var nFe=Hr().Buffer,xee=function(){this.rsv1=!1,this.rsv2=!1,this.rsv3=!1,this.opcode=null,this.length=0,this._chunks=[]},Eee={read:function(){return this.data=this.data||nFe.concat(this._chunks,this.length)},pushFrame:function(e){this.rsv1=this.rsv1||e.rsv1,this.rsv2=this.rsv2||e.rsv2,this.rsv3=this.rsv3||e.rsv3,this.opcode===null&&(this.opcode=e.opcode),this._chunks.push(e.payload),this.length+=e.length}};for(fI in Eee)xee.prototype[fI]=Eee[fI];var fI;Oee.exports=xee});var hI=h((c3t,Lee)=>{"use strict";var I0=Hr().Buffer,Dee=require("crypto"),iFe=require("util"),aFe=bee(),fp=xu(),Tee=See(),Iee=Cee(),Gi=function(e,t,r){if(fp.apply(this,arguments),this._extensions=new aFe,this._stage=0,this._masking=this._options.masking,this._protocols=this._options.protocols||[],this._requireMasking=this._options.requireMasking,this._pingCallbacks={},typeof this._protocols=="string"&&(this._protocols=this._protocols.split(/ *, */)),!!this._request){var n=this._request.headers["sec-websocket-protocol"],i=this._protocols;n!==void 0&&(typeof n=="string"&&(n=n.split(/ *, */)),this.protocol=n.filter(function(a){return i.indexOf(a)>=0})[0]),this.version="hybi-"+Gi.VERSION}};iFe.inherits(Gi,fp);Gi.VERSION="13";Gi.mask=function(e,t,r){if(!t||t.length===0)return e;r=r||0;for(var n=0,i=e.length-r;n<i;n++)e[r+n]=e[r+n]^t[n%4];return e};Gi.generateAccept=function(e){var t=Dee.createHash("sha1");return t.update(e+Gi.GUID),t.digest("base64")};Gi.GUID="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";var Aee={FIN:128,MASK:128,RSV1:64,RSV2:32,RSV3:16,OPCODE:15,LENGTH:127,OPCODES:{continuation:0,text:1,binary:2,close:8,ping:9,pong:10},OPCODE_CODES:[0,1,2,8,9,10],MESSAGE_OPCODES:[0,1,2],OPENING_OPCODES:[1,2],ERRORS:{normal_closure:1e3,going_away:1001,protocol_error:1002,unacceptable:1003,encoding_error:1007,policy_violation:1008,too_large:1009,extension_error:1010,unexpected_condition:1011},ERROR_CODES:[1e3,1001,1002,1003,1007,1008,1009,1010,1011],DEFAULT_ERROR_CODE:1e3,MIN_RESERVED_ERROR:3e3,MAX_RESERVED_ERROR:4999,UTF8_MATCH:/^([\x00-\x7F]|[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF]|\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})*$/,addExtension:function(e){return this._extensions.add(e),!0},parse:function(e){this._reader.put(e);for(var t=!0;t;)switch(this._stage){case 0:t=this._reader.read(1),t&&this._parseOpcode(t[0]);break;case 1:t=this._reader.read(1),t&&this._parseLength(t[0]);break;case 2:t=this._reader.read(this._frame.lengthBytes),t&&this._parseExtendedLength(t);break;case 3:t=this._reader.read(4),t&&(this._stage=4,this._frame.maskingKey=t);break;case 4:t=this._reader.read(this._frame.length),t&&(this._stage=0,this._emitFrame(t));break;default:t=null}},text:function(e){return this.readyState>1?!1:this.frame(e,"text")},binary:function(e){return this.readyState>1?!1:this.frame(e,"binary")},ping:function(e,t){return this.readyState>1?!1:(e=e||"",t&&(this._pingCallbacks[e]=t),this.frame(e,"ping"))},pong:function(e){return this.readyState>1?!1:(e=e||"",this.frame(e,"pong"))},close:function(e,t){return e=e||"",t=t||this.ERRORS.normal_closure,this.readyState<=0?(this.readyState=3,this.emit("close",new fp.CloseEvent(t,e)),!0):this.readyState===1?(this.readyState=2,this._extensions.close(function(){this.frame(e,"close",t)},this),!0):!1},frame:function(e,t,r){if(this.readyState<=0)return this._queue([e,t,r]);if(this.readyState>2)return!1;e instanceof Array&&(e=I0.from(e)),typeof e=="number"&&(e=e.toString());var n=new Iee,i=typeof e=="string",a,o;n.rsv1=n.rsv2=n.rsv3=!1,n.opcode=this.OPCODES[t||(i?"text":"binary")],a=i?I0.from(e,"utf8"):e,r&&(o=a,a=I0.allocUnsafe(2+o.length),a.writeUInt16BE(r,0),o.copy(a,2)),n.data=a;var s=function(l){var c=new Tee;c.final=!0,c.rsv1=l.rsv1,c.rsv2=l.rsv2,c.rsv3=l.rsv3,c.opcode=l.opcode,c.masked=!!this._masking,c.length=l.data.length,c.payload=l.data,c.masked&&(c.maskingKey=Dee.randomBytes(4)),this._sendFrame(c)};return this.MESSAGE_OPCODES.indexOf(n.opcode)>=0?this._extensions.processOutgoingMessage(n,function(l,c){if(l)return this._fail("extension_error",l.message);s.call(this,c)},this):s.call(this,n),!0},_sendFrame:function(e){var t=e.length,r=t<=125?2:t<=65535?4:10,n=r+(e.masked?4:0),i=I0.allocUnsafe(n+t),a=e.masked?this.MASK:0;i[0]=(e.final?this.FIN:0)|(e.rsv1?this.RSV1:0)|(e.rsv2?this.RSV2:0)|(e.rsv3?this.RSV3:0)|e.opcode,t<=125?i[1]=a|t:t<=65535?(i[1]=a|126,i.writeUInt16BE(t,2)):(i[1]=a|127,i.writeUInt32BE(Math.floor(t/4294967296),2),i.writeUInt32BE(t%4294967296,6)),e.payload.copy(i,n),e.masked&&(e.maskingKey.copy(i,r),Gi.mask(i,e.maskingKey,n)),this._write(i)},_handshakeResponse:function(){var e=this._request.headers["sec-websocket-key"],t=this._request.headers["sec-websocket-version"];if(t!==Gi.VERSION)throw new Error("Unsupported WebSocket version: "+t);if(typeof e!="string")throw new Error("Missing handshake request header: Sec-WebSocket-Key");this._headers.set("Upgrade","websocket"),this._headers.set("Connection","Upgrade"),this._headers.set("Sec-WebSocket-Accept",Gi.generateAccept(e)),this.protocol&&this._headers.set("Sec-WebSocket-Protocol",this.protocol);var r=this._extensions.generateResponse(this._request.headers["sec-websocket-extensions"]);r&&this._headers.set("Sec-WebSocket-Extensions",r);var n="HTTP/1.1 101 Switching Protocols",i=[n,this._headers.toString(),""];return I0.from(i.join(`\r
|
||
`),"utf8")},_shutdown:function(e,t,r){delete this._frame,delete this._message,this._stage=5;var n=this.readyState===1;this.readyState=2,this._extensions.close(function(){n&&this.frame(t,"close",e),this.readyState=3,r&&this.emit("error",new Error(t)),this.emit("close",new fp.CloseEvent(e,t))},this)},_fail:function(e,t){this.readyState>1||this._shutdown(this.ERRORS[e],t,!0)},_parseOpcode:function(e){var t=[this.RSV1,this.RSV2,this.RSV3].map(function(n){return(e&n)===n}),r=this._frame=new Tee;if(r.final=(e&this.FIN)===this.FIN,r.rsv1=t[0],r.rsv2=t[1],r.rsv3=t[2],r.opcode=e&this.OPCODE,this._stage=1,!this._extensions.validFrameRsv(r))return this._fail("protocol_error","One or more reserved bits are on: reserved1 = "+(r.rsv1?1:0)+", reserved2 = "+(r.rsv2?1:0)+", reserved3 = "+(r.rsv3?1:0));if(this.OPCODE_CODES.indexOf(r.opcode)<0)return this._fail("protocol_error","Unrecognized frame opcode: "+r.opcode);if(this.MESSAGE_OPCODES.indexOf(r.opcode)<0&&!r.final)return this._fail("protocol_error","Received fragmented control frame: opcode = "+r.opcode);if(this._message&&this.OPENING_OPCODES.indexOf(r.opcode)>=0)return this._fail("protocol_error","Received new data frame but previous continuous frame is unfinished")},_parseLength:function(e){var t=this._frame;if(t.masked=(e&this.MASK)===this.MASK,t.length=e&this.LENGTH,t.length>=0&&t.length<=125){if(this._stage=t.masked?3:4,!this._checkFrameLength())return}else this._stage=2,t.lengthBytes=t.length===126?2:8;if(this._requireMasking&&!t.masked)return this._fail("unacceptable","Received unmasked frame but masking is required")},_parseExtendedLength:function(e){var t=this._frame;if(t.length=this._readUInt(e),this._stage=t.masked?3:4,this.MESSAGE_OPCODES.indexOf(t.opcode)<0&&t.length>125)return this._fail("protocol_error","Received control frame having too long payload: "+t.length);this._checkFrameLength()},_checkFrameLength:function(){var e=this._message?this._message.length:0;return e+this._frame.length>this._maxLength?(this._fail("too_large","WebSocket frame length too large"),!1):!0},_emitFrame:function(e){var t=this._frame,r=t.payload=Gi.mask(e,t.maskingKey),n=t.opcode,i,a,o,s,l;if(delete this._frame,n===this.OPCODES.continuation){if(!this._message)return this._fail("protocol_error","Received unexpected continuation frame");this._message.pushFrame(t)}if((n===this.OPCODES.text||n===this.OPCODES.binary)&&(this._message=new Iee,this._message.pushFrame(t)),t.final&&this.MESSAGE_OPCODES.indexOf(n)>=0)return this._emitMessage(this._message);n===this.OPCODES.close&&(a=r.length>=2?r.readUInt16BE(0):null,o=r.length>2?this._encode(r.slice(2)):null,r.length!==0&&!(a!==null&&a>=this.MIN_RESERVED_ERROR&&a<=this.MAX_RESERVED_ERROR)&&this.ERROR_CODES.indexOf(a)<0&&(a=this.ERRORS.protocol_error),(r.length>125||r.length>2&&!o)&&(a=this.ERRORS.protocol_error),this._shutdown(a||this.DEFAULT_ERROR_CODE,o||"")),n===this.OPCODES.ping&&(this.frame(r,"pong"),this.emit("ping",new fp.PingEvent(r.toString()))),n===this.OPCODES.pong&&(s=this._pingCallbacks,i=this._encode(r),l=s[i],delete s[i],l&&l(),this.emit("pong",new fp.PongEvent(r.toString())))},_emitMessage:function(t){var t=this._message;t.read(),delete this._message,this._extensions.processIncomingMessage(t,function(r,n){if(r)return this._fail("extension_error",r.message);var i=n.data;if(i.length>this._maxLength)return this._fail("too_large","WebSocket frame length too large");if(n.opcode===this.OPCODES.text&&(i=this._encode(i)),i===null)return this._fail("encoding_error","Could not decode a text frame as UTF-8");this.emit("message",new fp.MessageEvent(i))},this)},_encode:function(e){try{var t=e.toString("binary",0,e.length);if(!this.UTF8_MATCH.test(t))return null}catch{}return e.toString("utf8",0,e.length)},_readUInt:function(e){return e.length===2?e.readUInt16BE(0):e.readUInt32BE(0)*4294967296+e.readUInt32BE(4)}};for(mI in Aee)Gi.prototype[mI]=Aee[mI];var mI;Lee.exports=Gi});var Mee=h((u3t,Pee)=>{"use strict";var jee=Hr().Buffer,oFe=require("stream").Stream,kee=require("url"),sFe=require("util"),lFe=xu(),cFe=d6(),uFe=y6(),dFe={"ws:":80,"wss:":443},yI=function(e,t,r){this._client=e,this._http=new uFe("response"),this._origin=typeof e.url=="object"?e.url:kee.parse(e.url),this._url=typeof t=="object"?t:kee.parse(t),this._options=r||{},this._state=0,this.readable=this.writable=!0,this._paused=!1,this._headers=new cFe,this._headers.set("Host",this._origin.host),this._headers.set("Connection","keep-alive"),this._headers.set("Proxy-Connection","keep-alive");var n=this._url.auth&&jee.from(this._url.auth,"utf8").toString("base64");n&&this._headers.set("Proxy-Authorization","Basic "+n)};sFe.inherits(yI,oFe);var Nee={setHeader:function(e,t){return this._state!==0?!1:(this._headers.set(e,t),!0)},start:function(){if(this._state!==0)return!1;this._state=1;var e=this._origin,t=e.port||dFe[e.protocol],r="CONNECT "+e.hostname+":"+t+" HTTP/1.1",n=[r,this._headers.toString(),""];return this.emit("data",jee.from(n.join(`\r
|
||
`),"utf8")),!0},pause:function(){this._paused=!0},resume:function(){this._paused=!1,this.emit("drain")},write:function(e){if(!this.writable)return!1;if(this._http.parse(e),!this._http.isComplete())return!this._paused;if(this.statusCode=this._http.statusCode,this.headers=this._http.headers,this.statusCode===200)this.emit("connect",new lFe.ConnectEvent);else{var t="Can't establish a connection to the server at "+this._origin.href;this.emit("error",new Error(t))}return this.end(),!this._paused},end:function(e){this.writable&&(e!==void 0&&this.write(e),this.readable=this.writable=!1,this.emit("close"),this.emit("end"))},destroy:function(){this.end()}};for(gI in Nee)yI.prototype[gI]=Nee[gI];var gI;Pee.exports=yI});var Uee=h((d3t,$ee)=>{"use strict";var Fee=Hr().Buffer,pFe=require("crypto"),fFe=require("url"),mFe=require("util"),hFe=y6(),gFe=xu(),Mm=hI(),yFe=Mee(),A0=function(e,t){this.version="hybi-"+Mm.VERSION,Mm.call(this,null,e,t),this.readyState=-1,this._key=A0.generateKey(),this._accept=Mm.generateAccept(this._key),this._http=new hFe("response");var r=fFe.parse(this.url),n=r.auth&&Fee.from(r.auth,"utf8").toString("base64");if(this.VALID_PROTOCOLS.indexOf(r.protocol)<0)throw new Error(this.url+" is not a valid WebSocket URL");this._pathname=(r.pathname||"/")+(r.search||""),this._headers.set("Host",r.host),this._headers.set("Upgrade","websocket"),this._headers.set("Connection","Upgrade"),this._headers.set("Sec-WebSocket-Key",this._key),this._headers.set("Sec-WebSocket-Version",Mm.VERSION),this._protocols.length>0&&this._headers.set("Sec-WebSocket-Protocol",this._protocols.join(", ")),n&&this._headers.set("Authorization","Basic "+n)};mFe.inherits(A0,Mm);A0.generateKey=function(){return pFe.randomBytes(16).toString("base64")};var Ree={VALID_PROTOCOLS:["ws:","wss:"],proxy:function(e,t){return new yFe(this,e,t)},start:function(){return this.readyState!==-1?!1:(this._write(this._handshakeRequest()),this.readyState=0,!0)},parse:function(e){if(this.readyState!==3){if(this.readyState>0)return Mm.prototype.parse.call(this,e);this._http.parse(e),this._http.isComplete()&&(this._validateHandshake(),this.readyState!==3&&(this._open(),this.parse(this._http.body)))}},_handshakeRequest:function(){var e=this._extensions.generateOffer();e&&this._headers.set("Sec-WebSocket-Extensions",e);var t="GET "+this._pathname+" HTTP/1.1",r=[t,this._headers.toString(),""];return Fee.from(r.join(`\r
|
||
`),"utf8")},_failHandshake:function(e){e="Error during WebSocket handshake: "+e,this.readyState=3,this.emit("error",new Error(e)),this.emit("close",new gFe.CloseEvent(this.ERRORS.protocol_error,e))},_validateHandshake:function(){if(this.statusCode=this._http.statusCode,this.headers=this._http.headers,this._http.error)return this._failHandshake(this._http.error.message);if(this._http.statusCode!==101)return this._failHandshake("Unexpected response code: "+this._http.statusCode);var e=this._http.headers,t=e.upgrade||"",r=e.connection||"",n=e["sec-websocket-accept"]||"",i=e["sec-websocket-protocol"]||"";if(t==="")return this._failHandshake("'Upgrade' header is missing");if(t.toLowerCase()!=="websocket")return this._failHandshake("'Upgrade' header value is not 'WebSocket'");if(r==="")return this._failHandshake("'Connection' header is missing");if(r.toLowerCase()!=="upgrade")return this._failHandshake("'Connection' header value is not 'Upgrade'");if(n!==this._accept)return this._failHandshake("Sec-WebSocket-Accept mismatch");if(this.protocol=null,i!==""){if(this._protocols.indexOf(i)<0)return this._failHandshake("Sec-WebSocket-Protocol mismatch");this.protocol=i}try{this._extensions.activate(this.headers["sec-websocket-extensions"])}catch(a){return this._failHandshake(a.message)}}};for(bI in Ree)A0.prototype[bI]=Ree[bI];var bI;$ee.exports=A0});var wI=h((p3t,qee)=>{"use strict";var v6=Hr().Buffer,_6=xu(),bFe=require("util"),_I=function(e,t,r){_6.apply(this,arguments),this._stage=0,this.version="hixie-75",this._headers.set("Upgrade","WebSocket"),this._headers.set("Connection","Upgrade"),this._headers.set("WebSocket-Origin",this._request.headers.origin),this._headers.set("WebSocket-Location",this.url)};bFe.inherits(_I,_6);var zee={close:function(){return this.readyState===3?!1:(this.readyState=3,this.emit("close",new _6.CloseEvent(null,null)),!0)},parse:function(e){this.readyState>1||(this._reader.put(e),this._reader.eachByte(function(t){var r;switch(this._stage){case-1:this._body.push(t),this._sendHandshakeBody();break;case 0:this._parseLeadingByte(t);break;case 1:if(this._length=(t&127)+128*this._length,this._length>this._maxLength)return this.close();if(this._closing&&this._length===0)return this.close();(t&128)!==128&&(this._length===0?this._stage=0:(this._skipped=0,this._stage=2));break;case 2:if(t===255)this._stage=0,r=v6.from(this._buffer).toString("utf8",0,this._buffer.length),this.emit("message",new _6.MessageEvent(r));else if(this._length)this._skipped+=1,this._skipped===this._length&&(this._stage=0);else if(this._buffer.push(t),this._buffer.length>this._maxLength)return this.close();break}},this))},frame:function(e){if(this.readyState===0)return this._queue([e]);if(this.readyState>1)return!1;typeof e!="string"&&(e=e.toString());var t=v6.byteLength(e),r=v6.allocUnsafe(t+2);return r[0]=0,r.write(e,1),r[r.length-1]=255,this._write(r),!0},_handshakeResponse:function(){var e="HTTP/1.1 101 Web Socket Protocol Handshake",t=[e,this._headers.toString(),""];return v6.from(t.join(`\r
|
||
`),"utf8")},_parseLeadingByte:function(e){(e&128)===128?(this._length=0,this._stage=1):(delete this._length,delete this._skipped,this._buffer=[],this._stage=2)}};for(vI in zee)_I.prototype[vI]=zee[vI];var vI;qee.exports=_I});var Hee=h((f3t,Zee)=>{"use strict";var D0=Hr().Buffer,vFe=xu(),w6=wI(),_Fe=require("crypto"),wFe=require("util"),Bee=function(e){return parseInt((e.match(/[0-9]/g)||[]).join(""),10)},Vee=function(e){return(e.match(/ /g)||[]).length},EI=function(e,t,r){w6.apply(this,arguments),this._stage=-1,this._body=[],this.version="hixie-76",this._headers.clear(),this._headers.set("Upgrade","WebSocket"),this._headers.set("Connection","Upgrade"),this._headers.set("Sec-WebSocket-Origin",this._request.headers.origin),this._headers.set("Sec-WebSocket-Location",this.url)};wFe.inherits(EI,w6);var Wee={BODY_SIZE:8,start:function(){return w6.prototype.start.call(this)?(this._started=!0,this._sendHandshakeBody(),!0):!1},close:function(){return this.readyState===3?!1:(this.readyState===1&&this._write(D0.from([255,0])),this.readyState=3,this.emit("close",new vFe.CloseEvent(null,null)),!0)},_handshakeResponse:function(){var s=this._request.headers,e=s["sec-websocket-key1"],t=s["sec-websocket-key2"];if(!e)throw new Error("Missing required header: Sec-WebSocket-Key1");if(!t)throw new Error("Missing required header: Sec-WebSocket-Key2");var r=Bee(e),n=Vee(e),i=Bee(t),a=Vee(t);if(r%n!==0||i%a!==0)throw new Error("Client sent invalid Sec-WebSocket-Key headers");this._keyValues=[r/n,i/a];var o="HTTP/1.1 101 WebSocket Protocol Handshake",s=[o,this._headers.toString(),""];return D0.from(s.join(`\r
|
||
`),"binary")},_handshakeSignature:function(){if(this._body.length<this.BODY_SIZE)return null;var e=_Fe.createHash("md5"),t=D0.allocUnsafe(8+this.BODY_SIZE);return t.writeUInt32BE(this._keyValues[0],0),t.writeUInt32BE(this._keyValues[1],4),D0.from(this._body).copy(t,8,0,this.BODY_SIZE),e.update(t),D0.from(e.digest("binary"),"binary")},_sendHandshakeBody:function(){if(this._started){var e=this._handshakeSignature();e&&(this._write(e),this._stage=0,this._open(),this._body.length>this.BODY_SIZE&&this.parse(this._body.slice(this.BODY_SIZE)))}},_parseLeadingByte:function(e){if(e!==255)return w6.prototype._parseLeadingByte.call(this,e);this._closing=!0,this._length=0,this._stage=1}};for(SI in Wee)EI.prototype[SI]=Wee[SI];var SI;Zee.exports=EI});var Jee=h((m3t,Gee)=>{"use strict";var SFe=require("util"),EFe=y6(),CI=xu(),xFe=wI(),OFe=Hee(),CFe=hI(),mp=function(e){CI.call(this,null,null,e),this._http=new EFe("request")};SFe.inherits(mp,CI);var OI={EVENTS:["open","message","error","close","ping","pong"],_bindEventListeners:function(){this.messages.on("error",function(){}),this.on("error",function(){})},parse:function(e){if(this._delegate)return this._delegate.parse(e);if(this._http.parse(e),!!this._http.isComplete()){this.method=this._http.method,this.url=this._http.url,this.headers=this._http.headers,this.body=this._http.body;var t=this;this._delegate=mp.http(this,this._options),this._delegate.messages=this.messages,this._delegate.io=this.io,this._open(),this.EVENTS.forEach(function(r){this._delegate.on(r,function(n){t.emit(r,n)})},this),this.protocol=this._delegate.protocol,this.version=this._delegate.version,this.parse(this._http.body),this.emit("connect",new CI.ConnectEvent)}},_open:function(){this.__queue.forEach(function(e){this._delegate[e[0]].apply(this._delegate,e[1])},this),this.__queue=[]}};["addExtension","setHeader","start","frame","text","binary","ping","close"].forEach(function(e){OI[e]=function(){return this._delegate?this._delegate[e].apply(this._delegate,arguments):(this.__queue.push([e,arguments]),!0)}});for(xI in OI)mp.prototype[xI]=OI[xI];var xI;mp.isSecureRequest=function(e){if(e.connection&&e.connection.authorized!==void 0||e.socket&&e.socket.secure)return!0;var t=e.headers;return t?t.https==="on"||t["x-forwarded-ssl"]==="on"||t["x-forwarded-scheme"]==="https"||t["x-forwarded-proto"]==="https":!1};mp.determineUrl=function(e){var t=this.isSecureRequest(e)?"wss:":"ws:";return t+"//"+e.headers.host+e.url};mp.http=function(e,t){t=t||{},t.requireMasking===void 0&&(t.requireMasking=!0);var r=e.headers,n=r["sec-websocket-version"],i=r["sec-websocket-key"],a=r["sec-websocket-key1"],o=r["sec-websocket-key2"],s=this.determineUrl(e);return n||i?new CFe(e,s,t):a||o?new OFe(e,s,t):new xFe(e,s,t)};Gee.exports=mp});var L0=h((h3t,Xee)=>{"use strict";var Kee=xu(),TFe=Uee(),S6=Jee(),IFe={client:function(e,t){return t=t||{},t.masking===void 0&&(t.masking=!0),new TFe(e,t)},server:function(e){return e=e||{},e.requireMasking===void 0&&(e.requireMasking=!0),new S6(e)},http:function(){return S6.http.apply(S6,arguments)},isSecureRequest:function(e){return S6.isSecureRequest(e)},isWebSocket:function(e){return Kee.isWebSocket(e)},validateOptions:function(e,t){Kee.validateOptions(e,t)}};Xee.exports=IFe});var k0=h((g3t,Yee)=>{"use strict";var hp=function(e,t){this.type=e;for(var r in t)this[r]=t[r]};hp.prototype.initEvent=function(e,t,r){this.type=e,this.bubbles=t,this.cancelable=r};hp.prototype.stopPropagation=function(){};hp.prototype.preventDefault=function(){};hp.CAPTURING_PHASE=1;hp.AT_TARGET=2;hp.BUBBLING_PHASE=3;Yee.exports=hp});var TI=h((y3t,Qee)=>{"use strict";var AFe=k0(),DFe={onopen:null,onmessage:null,onerror:null,onclose:null,addEventListener:function(e,t,r){this.on(e,t)},removeEventListener:function(e,t,r){this.removeListener(e,t)},dispatchEvent:function(e){e.target=e.currentTarget=this,e.eventPhase=AFe.AT_TARGET,this["on"+e.type]&&this["on"+e.type](e),this.emit(e.type,e)}};Qee.exports=DFe});var x6=h((b3t,rte)=>{"use strict";var LFe=require("stream").Stream,kFe=require("util"),NFe=L0(),ete=TI(),E6=k0(),Bt=function(e){e=e||{},NFe.validateOptions(e,["headers","extensions","maxLength","ping","proxy","tls","ca"]),this.readable=this.writable=!0;var t=e.headers;if(t)for(var r in t)this._driver.setHeader(r,t[r]);var n=e.extensions;n&&[].concat(n).forEach(this._driver.addExtension,this._driver),this._ping=e.ping,this._pingId=0,this.readyState=Bt.CONNECTING,this.bufferedAmount=0,this.protocol="",this.url=this._driver.url,this.version=this._driver.version;var i=this;this._driver.on("open",function(a){i._open()}),this._driver.on("message",function(a){i._receiveMessage(a.data)}),this._driver.on("close",function(a){i._beginClose(a.reason,a.code)}),this._driver.on("error",function(a){i._emitError(a.message)}),this.on("error",function(){}),this._driver.messages.on("drain",function(){i.emit("drain")}),this._ping&&(this._pingTimer=setInterval(function(){i._pingId+=1,i.ping(i._pingId.toString())},this._ping*1e3)),this._configureStream(),this._proxy||(this._stream.pipe(this._driver.io),this._driver.io.pipe(this._stream))};kFe.inherits(Bt,LFe);Bt.CONNECTING=0;Bt.OPEN=1;Bt.CLOSING=2;Bt.CLOSED=3;Bt.CLOSE_TIMEOUT=3e4;var tte={write:function(e){return this.send(e)},end:function(e){e!==void 0&&this.send(e),this.close()},pause:function(){return this._driver.messages.pause()},resume:function(){return this._driver.messages.resume()},send:function(e){return this.readyState>Bt.OPEN?!1:(e instanceof Buffer||(e=String(e)),this._driver.messages.write(e))},ping:function(e,t){return this.readyState>Bt.OPEN?!1:this._driver.ping(e,t)},close:function(e,t){if(e===void 0&&(e=1e3),t===void 0&&(t=""),e!==1e3&&(e<3e3||e>4999))throw new Error("Failed to execute 'close' on WebSocket: The code must be either 1000, or between 3000 and 4999. "+e+" is neither.");if(this.readyState<Bt.CLOSING){var r=this;this._closeTimer=setTimeout(function(){r._beginClose("",1006)},Bt.CLOSE_TIMEOUT)}this.readyState!==Bt.CLOSED&&(this.readyState=Bt.CLOSING),this._driver.close(t,e)},_configureStream:function(){var e=this;this._stream.setTimeout(0),this._stream.setNoDelay(!0),["close","end"].forEach(function(t){this._stream.on(t,function(){e._finalizeClose()})},this),this._stream.on("error",function(t){e._emitError("Network error: "+e.url+": "+t.message),e._finalizeClose()})},_open:function(){if(this.readyState===Bt.CONNECTING){this.readyState=Bt.OPEN,this.protocol=this._driver.protocol||"";var e=new E6("open");e.initEvent("open",!1,!1),this.dispatchEvent(e)}},_receiveMessage:function(e){if(this.readyState>Bt.OPEN)return!1;this.readable&&this.emit("data",e);var t=new E6("message",{data:e});t.initEvent("message",!1,!1),this.dispatchEvent(t)},_emitError:function(e){if(!(this.readyState>=Bt.CLOSING)){var t=new E6("error",{message:e});t.initEvent("error",!1,!1),this.dispatchEvent(t)}},_beginClose:function(e,t){this.readyState!==Bt.CLOSED&&(this.readyState=Bt.CLOSING,this._closeParams=[e,t],this._stream&&(this._stream.destroy(),this._stream.readable||this._finalizeClose()))},_finalizeClose:function(){if(this.readyState!==Bt.CLOSED){this.readyState=Bt.CLOSED,this._closeTimer&&clearTimeout(this._closeTimer),this._pingTimer&&clearInterval(this._pingTimer),this._stream&&this._stream.end(),this.readable&&this.emit("end"),this.readable=this.writable=!1;var e=this._closeParams?this._closeParams[0]:"",t=this._closeParams?this._closeParams[1]:1006,r=new E6("close",{code:t,reason:e});r.initEvent("close",!1,!1),this.dispatchEvent(r)}}};for(II in tte)Bt.prototype[II]=tte[II];var II;for(AI in ete)Bt.prototype[AI]=ete[AI];var AI;rte.exports=Bt});var lte=h((_3t,ste)=>{"use strict";var jFe=require("util"),PFe=require("net"),nte=require("tls"),ite=require("url"),MFe=L0(),ate=x6(),v3t=k0(),RFe={"http:":80,"https:":443,"ws:":80,"wss:":443},ote=["https:","wss:"],O6=function(e,t,r){r=r||{},this.url=e,this._driver=MFe.client(this.url,{maxLength:r.maxLength,protocols:t}),["open","error"].forEach(function(f){this._driver.on(f,function(){d.headers=d._driver.headers,d.statusCode=d._driver.statusCode})},this);var n=r.proxy||{},i=ite.parse(n.origin||this.url),a=i.port||RFe[i.protocol],o=ote.indexOf(i.protocol)>=0,s=function(){d._onConnect()},l=r.net||{},c=r.tls||{},u=n.origin?n.tls||{}:c,d=this;l.host=u.host=i.hostname,l.port=u.port=a,c.ca=c.ca||r.ca,u.servername=u.servername||i.hostname,this._stream=o?nte.connect(u,s):PFe.connect(l,s),n.origin&&this._configureProxy(n,c),ate.call(this,r)};jFe.inherits(O6,ate);O6.prototype._onConnect=function(){var e=this._proxy||this._driver;e.start()};O6.prototype._configureProxy=function(e,t){var r=ite.parse(this.url),n=ote.indexOf(r.protocol)>=0,i=this,a;if(this._proxy=this._driver.proxy(e.origin),e.headers)for(a in e.headers)this._proxy.setHeader(a,e.headers[a]);this._proxy.pipe(this._stream,{end:!1}),this._stream.pipe(this._proxy),this._proxy.on("connect",function(){if(n){var o={socket:i._stream,servername:r.hostname};for(a in t)o[a]=t[a];i._stream=nte.connect(o),i._configureStream()}i._driver.io.pipe(i._stream),i._stream.pipe(i._driver.io),i._driver.start()}),this._proxy.on("error",function(o){i._driver.emit("error",o)})};ste.exports=O6});var fte=h((w3t,pte)=>{"use strict";var FFe=require("stream").Stream,$Fe=require("util"),UFe=L0(),zFe=d6(),Rm=x6(),cte=TI(),ute=k0(),N0=function(e,t,r){this.writable=!0,r=r||{},this._stream=t.socket,this._ping=r.ping||this.DEFAULT_PING,this._retry=r.retry||this.DEFAULT_RETRY;var n=UFe.isSecureRequest(e)?"https:":"http:";this.url=n+"//"+e.headers.host+e.url,this.lastEventId=e.headers["last-event-id"]||"",this.readyState=Rm.CONNECTING;var i=new zFe,a=this;if(r.headers)for(var o in r.headers)i.set(o,r.headers[o]);if(!(!this._stream||!this._stream.writable)){process.nextTick(function(){a._open()}),this._stream.setTimeout(0),this._stream.setNoDelay(!0);var s=`HTTP/1.1 200 OK\r
|
||
Content-Type: text/event-stream\r
|
||
Cache-Control: no-cache, no-store\r
|
||
Connection: close\r
|
||
`+i.toString()+`\r
|
||
retry: `+Math.floor(this._retry*1e3)+`\r
|
||
\r
|
||
`;this._write(s),this._stream.on("drain",function(){a.emit("drain")}),this._ping&&(this._pingTimer=setInterval(function(){a.ping()},this._ping*1e3)),["error","end"].forEach(function(l){a._stream.on(l,function(){a.close()})})}};$Fe.inherits(N0,FFe);N0.isEventSource=function(e){if(e.method!=="GET")return!1;var t=(e.headers.accept||"").split(/\s*,\s*/);return t.indexOf("text/event-stream")>=0};var dte={DEFAULT_PING:10,DEFAULT_RETRY:5,_write:function(e){if(!this.writable)return!1;try{return this._stream.write(e,"utf8")}catch{return!1}},_open:function(){if(this.readyState===Rm.CONNECTING){this.readyState=Rm.OPEN;var e=new ute("open");e.initEvent("open",!1,!1),this.dispatchEvent(e)}},write:function(e){return this.send(e)},end:function(e){e!==void 0&&this.write(e),this.close()},send:function(e,t){if(this.readyState>Rm.OPEN)return!1;e=String(e).replace(/(\r\n|\r|\n)/g,"$1data: "),t=t||{};var r="";return t.event&&(r+="event: "+t.event+`\r
|
||
`),t.id&&(r+="id: "+t.id+`\r
|
||
`),r+="data: "+e+`\r
|
||
\r
|
||
`,this._write(r)},ping:function(){return this._write(`:\r
|
||
\r
|
||
`)},close:function(){if(this.readyState>Rm.OPEN)return!1;this.readyState=Rm.CLOSED,this.writable=!1,this._pingTimer&&clearInterval(this._pingTimer),this._stream&&this._stream.end();var e=new ute("close");return e.initEvent("close",!1,!1),this.dispatchEvent(e),!0}};for(DI in dte)N0.prototype[DI]=dte[DI];var DI;for(LI in cte)N0.prototype[LI]=cte[LI];var LI;pte.exports=N0});var NI=h((S3t,hte)=>{"use strict";var qFe=require("util"),kI=L0(),mte=x6(),Ou=function(e,t,r,n,i){i=i||{},this._stream=t,this._driver=kI.http(e,{maxLength:i.maxLength,protocols:n});var a=this;if(!(!this._stream||!this._stream.writable)){if(!this._stream.readable)return this._stream.end();var o=function(){a._stream.removeListener("data",o)};this._stream.on("data",o),mte.call(this,i),process.nextTick(function(){a._driver.start(),a._driver.io.write(r)})}};qFe.inherits(Ou,mte);Ou.isWebSocket=function(e){return kI.isWebSocket(e)};Ou.validateOptions=function(e,t){kI.validateOptions(e,t)};Ou.WebSocket=Ou;Ou.Client=lte();Ou.EventSource=fte();hte.exports=Ou});var yte=h((E3t,gte)=>{"use strict";var BFe=NI().Client;gte.exports={create:function(e,t,r){return new BFe(e,t,r)}}});var wte=h((x3t,_te)=>{"use strict";var VFe=Lr(),WFe=Tm(),ZFe=HT(),HFe=f0(),bte=ST(),GFe=o6(),vte=Dr(),JFe=Om(),KFe=yte(),XFe=Am(),YFe=_0(),Fm=vte(VFe(YFe,{UNCONNECTED:1,CONNECTING:2,CONNECTED:3,batching:!1,isUsable:function(e,t){this.callback(function(){e.call(t,!0)}),this.errback(function(){e.call(t,!1)}),this.connect()},request:function(e){this._pending=this._pending||new ZFe;for(var t=0,r=e.length;t<r;t++)this._pending.add(e[t]);var n=this,i=new WFe(function(a,o){n.callback(function(s){!s||s.readyState!==1||(s.send(JFe(e)),a(s))}),n.connect()});return{abort:function(){i.then(function(a){a.close()})}}},connect:function(){if(!Fm._unloaded&&(this._state=this._state||this.UNCONNECTED,this._state===this.UNCONNECTED)){this._state=this.CONNECTING;var e=this._createSocket();if(!e)return this.setDeferredStatus("failed");var t=this;e.onopen=function(){e.headers&&t._storeCookies(e.headers["set-cookie"]),t._socket=e,t._state=t.CONNECTED,t._everConnected=!0,t.setDeferredStatus("succeeded",e)};var r=!1;e.onclose=e.onerror=function(){if(!r){r=!0;var n=t._state===t.CONNECTED;e.onopen=e.onclose=e.onerror=e.onmessage=null,delete t._socket,t._state=t.UNCONNECTED;var i=t._pending?t._pending.toArray():[];delete t._pending,n||t._everConnected?(t.setDeferredStatus("unknown"),t._handleError(i,n)):t.setDeferredStatus("failed")}},e.onmessage=function(n){var i;try{i=JSON.parse(n.data)}catch{}if(i){i=[].concat(i);for(var a=0,o=i.length;a<o;a++)i[a].successful!==void 0&&t._pending.remove(i[a]);t._receive(i)}}}},close:function(){this._socket&&this._socket.close()},_createSocket:function(){var e=Fm.getSocketUrl(this.endpoint),t=this._dispatcher.headers,r=this._dispatcher.wsExtensions,n=this._getCookies(),i=this._dispatcher.tls,a={extensions:r,headers:t,proxy:this._proxy,tls:i};n!==""&&(a.headers.Cookie=n);try{return KFe.create(e,[],a)}catch{}}}),{PROTOCOLS:{"http:":"ws:","https:":"wss:"},create:function(e,t){var r=e.transports.websocket=e.transports.websocket||{};return r[t.href]=r[t.href]||new this(e,t),r[t.href]},getSocketUrl:function(e){return e=GFe(e),e.protocol=this.PROTOCOLS[e.protocol],HFe.stringify(e)},isUsable:function(e,t,r,n){this.create(e,t).isUsable(r,n)}});vte(Fm.prototype,XFe);bte.Event&&global.onbeforeunload!==void 0&&bte.Event.on(global,"beforeunload",function(){Fm._unloaded===void 0&&(Fm._unloaded=!0)});_te.exports=Fm});var Ote=h($m=>{"use strict";var O3t=require("net"),QFe=require("tls"),jI=require("http"),Ste=require("https"),e$e=require("events"),t$e=require("assert"),r$e=require("util"),n$e=Hr().Buffer;$m.httpOverHttp=i$e;$m.httpsOverHttp=a$e;$m.httpOverHttps=o$e;$m.httpsOverHttps=s$e;function i$e(e){var t=new os(e);return t.request=jI.request,t}function a$e(e){var t=new os(e);return t.request=jI.request,t.createSocket=Ete,t.defaultPort=443,t}function o$e(e){var t=new os(e);return t.request=Ste.request,t}function s$e(e){var t=new os(e);return t.request=Ste.request,t.createSocket=Ete,t.defaultPort=443,t}function os(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||jI.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,a){for(var o=0,s=t.requests.length;o<s;++o){var l=t.requests[o];if(l.host===i&&l.port===a){t.requests.splice(o,1),l.request.onSocket(n);return}}n.destroy(),t.removeSocket(n)})}r$e.inherits(os,e$e.EventEmitter);os.prototype.addRequest=function(t,r){var n=this;if(typeof r=="string"&&(r={host:r,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets){n.requests.push({host:r.host,port:r.port,request:t});return}n.createConnection({host:r.host,port:r.port,request:t})};os.prototype.createConnection=function(t){var r=this;r.createSocket(t,function(n){n.on("free",i),n.on("close",a),n.on("agentRemove",a),t.request.onSocket(n);function i(){r.emit("free",n,t.host,t.port)}function a(o){r.removeSocket(n),n.removeListener("free",i),n.removeListener("close",a),n.removeListener("agentRemove",a)}})};os.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var a=xte({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1});a.proxyAuth&&(a.headers=a.headers||{},a.headers["Proxy-Authorization"]="Basic "+n$e.from(a.proxyAuth).toString("base64")),gp("making CONNECT request");var o=n.request(a);o.useChunkedEncodingByDefault=!1,o.once("response",s),o.once("upgrade",l),o.once("connect",c),o.once("error",u),o.end();function s(d){d.upgrade=!0}function l(d,f,p){process.nextTick(function(){c(d,f,p)})}function c(d,f,p){if(o.removeAllListeners(),f.removeAllListeners(),d.statusCode===200)t$e.equal(p.length,0),gp("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f);else{gp("tunneling socket could not be established, statusCode=%d",d.statusCode);var m=new Error("tunneling socket could not be established, statusCode="+d.statusCode);m.code="ECONNRESET",t.request.emit("error",m),n.removeSocket(i)}}function u(d){o.removeAllListeners(),gp(`tunneling socket could not be established, cause=%s
|
||
`,d.message,d.stack);var f=new Error("tunneling socket could not be established, cause="+d.message);f.code="ECONNRESET",t.request.emit("error",f),n.removeSocket(i)}};os.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createConnection(n)}};function Ete(e,t){var r=this;os.prototype.createSocket.call(r,e,function(n){var i=QFe.connect(0,xte({},r.options,{servername:e.host,socket:n}));r.sockets[r.sockets.indexOf(n)]=i,t(i)})}function xte(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if(typeof n=="object")for(var i=Object.keys(n),a=0,o=i.length;a<o;++a){var s=i[a];n[s]!==void 0&&(e[s]=n[s])}}return e}var gp;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?gp=function(){var e=Array.prototype.slice.call(arguments);typeof e[0]=="string"?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:gp=function(){};$m.debug=gp});var kte=h((T3t,Lte)=>{"use strict";var PI=Hr().Buffer,Cte=require("http"),Tte=require("https"),Ite=Ote(),l$e=Lr(),Ate=f0(),yp=Dr(),c$e=Om(),Dte=_0(),u$e=yp(l$e(Dte,{className:"NodeHttp",SECURE_PROTOCOLS:["https:","wss:"],initialize:function(){Dte.prototype.initialize.apply(this,arguments),this._endpointSecure=this.SECURE_PROTOCOLS.indexOf(this.endpoint.protocol)>=0,this._httpClient=this._endpointSecure?Tte:Cte;var e=this._proxy;if(e.origin){if(this._proxyUri=Ate.parse(e.origin),this._proxySecure=this.SECURE_PROTOCOLS.indexOf(this._proxyUri.protocol)>=0,!this._endpointSecure){this._httpClient=this._proxySecure?Tte:Cte;return}var t=yp({proxy:{host:this._proxyUri.hostname,port:this._proxyUri.port||this.DEFAULT_PORTS[this._proxyUri.protocol],proxyAuth:this._proxyUri.auth,headers:yp({host:this.endpoint.host},e.headers)}},this._dispatcher.tls);this._proxySecure?(yp(t.proxy,e.tls),this._tunnel=Ite.httpsOverHttps(t)):this._tunnel=Ite.httpsOverHttp(t)}},encode:function(e){return c$e(e)},request:function(e){var t=PI.from(this.encode(e),"utf8"),r=this._buildParams(t),n=this._httpClient.request(r),i=this;return n.on("response",function(a){i._handleResponse(e,a),i._storeCookies(a.headers["set-cookie"])}),n.on("error",function(a){i.error("HTTP error: "+a.message),i._handleError(e)}),n.end(t),n},_buildParams:function(e){var t=this.endpoint,r=this._proxyUri,n=this._tunnel?t:r||t,i={"Content-Length":e.length,"Content-Type":"application/json",Host:t.host};t.auth&&(i.Authorization="Basic "+PI.from(t.auth,"utf8").toString("base64"));var a={method:"POST",host:n.hostname,port:n.port||this.DEFAULT_PORTS[n.protocol],path:t.path,headers:yp(i,this._dispatcher.headers)},o=this._getCookies();return o!==""&&(a.headers.Cookie=o),this._tunnel?a.agent=this._tunnel:this._endpointSecure?yp(a,this._dispatcher.tls):r&&(a.path=this.endpoint.href,yp(a,this._proxy.tls),r.auth&&(a.headers["Proxy-Authorization"]=PI.from(r.auth,"utf8").toString("base64"))),a},_handleResponse:function(e,t){var r="",n=this;t.setEncoding("utf8"),t.on("data",function(i){r+=i}),t.on("end",function(){var i;try{i=JSON.parse(r)}catch{}i?n._receive(i):n._handleError(e)})}}),{isUsable:function(e,t,r,n){r.call(n,Ate.isURI(t))}});Lte.exports=u$e});var jte=h((I3t,Nte)=>{"use strict";var C6=_0();C6.register("in-process",PQ());C6.register("websocket",wte());C6.register("long-polling",kte());Nte.exports=C6});var MI=h((A3t,Mte)=>{"use strict";var d$e=Dr(),Pte=function(e,t){this.message=e,this.options=t,this.attempts=0};d$e(Pte.prototype,{getTimeout:function(){return this.options.timeout},getInterval:function(){return this.options.interval},isDeliverable:function(){var e=this.options.attempts,t=this.attempts,r=this.options.deadline,n=new Date().getTime();return!(e!==void 0&&t>=e||r!==void 0&&n>r)},send:function(){this.attempts+=1},succeed:function(){},fail:function(){},abort:function(){}});Mte.exports=Pte});var zte=h((D3t,Ute)=>{"use strict";var p$e=Lr(),Rte=f0(),Fte=qT(),$te=Dr(),f$e=Xl(),m$e=Dm(),RI=jte(),h$e=MI(),j0=p$e({className:"Dispatcher",MAX_REQUEST_SIZE:2048,DEFAULT_RETRY:5,UP:1,DOWN:2,initialize:function(e,t,r){this._client=e,this.endpoint=Rte.parse(t),this._alternates=r.endpoints||{},this.cookies=Fte.CookieJar&&new Fte.CookieJar,this._disabled=[],this._envelopes={},this.headers={},this.retry=r.retry||this.DEFAULT_RETRY,this._scheduler=r.scheduler||h$e,this._state=0,this.transports={},this.wsExtensions=[],this.proxy=r.proxy||{},typeof this._proxy=="string"&&(this._proxy={origin:this._proxy});var n=r.websocketExtensions;if(n){n=[].concat(n);for(var i=0,a=n.length;i<a;i++)this.addWebsocketExtension(n[i])}this.tls=r.tls||{},this.tls.ca=this.tls.ca||r.ca;for(var o in this._alternates)this._alternates[o]=Rte.parse(this._alternates[o]);this.maxRequestSize=this.MAX_REQUEST_SIZE},endpointFor:function(e){return this._alternates[e]||this.endpoint},addWebsocketExtension:function(e){this.wsExtensions.push(e)},disable:function(e){this._disabled.push(e),RI.disable(e)},setHeader:function(e,t){this.headers[e]=t},close:function(){var e=this._transport;delete this._transport,e&&e.close()},getConnectionTypes:function(){return RI.getConnectionTypes()},selectTransport:function(e){RI.get(this,e,this._disabled,function(t){this.debug("Selected ? transport for ?",t.connectionType,t.endpoint.href),t!==this._transport&&(this._transport&&this._transport.close(),this._transport=t,this.connectionType=t.connectionType)},this)},sendMessage:function(e,t,r){r=r||{};var n=e.id,i=r.attempts,a=r.deadline&&new Date().getTime()+r.deadline*1e3,o=this._envelopes[n],s;o||(s=new this._scheduler(e,{timeout:t,interval:this.retry,attempts:i,deadline:a}),o=this._envelopes[n]={message:e,scheduler:s}),this._sendEnvelope(o)},_sendEnvelope:function(e){if(this._transport&&!(e.request||e.timer)){var t=e.message,r=e.scheduler,n=this;if(!r.isDeliverable()){r.abort(),delete this._envelopes[t.id];return}e.timer=global.setTimeout(function(){n.handleError(t)},r.getTimeout()*1e3),r.send(),e.request=this._transport.sendMessage(t)}},handleResponse:function(e){var t=this._envelopes[e.id];e.successful!==void 0&&t&&(t.scheduler.succeed(),delete this._envelopes[e.id],global.clearTimeout(t.timer)),this.trigger("message",e),this._state!==this.UP&&(this._state=this.UP,this._client.trigger("transport:up"))},handleError:function(e,t){var r=this._envelopes[e.id],n=r&&r.request,i=this;if(n){n.then(function(o){o&&o.abort&&o.abort()});var a=r.scheduler;a.fail(),global.clearTimeout(r.timer),r.request=r.timer=null,t?this._sendEnvelope(r):r.timer=global.setTimeout(function(){r.timer=null,i._sendEnvelope(r)},a.getInterval()*1e3),this._state!==this.DOWN&&(this._state=this.DOWN,this._client.trigger("transport:down"))}}});j0.create=function(e,t,r){return new j0(e,t,r)};$te(j0.prototype,m$e);$te(j0.prototype,f$e);Ute.exports=j0});var Bte=h((L3t,qte)=>{"use strict";var g$e=Lr(),y$e=Am();qte.exports=g$e(y$e)});var Zte=h((k3t,Wte)=>{"use strict";var b$e=Lr(),v$e=Dr(),_$e=Am(),Vte=b$e({initialize:function(e,t,r,n){this._client=e,this._channels=t,this._callback=r,this._context=n,this._cancelled=!1},withChannel:function(e,t){return this._withChannel=[e,t],this},apply:function(e,t){var r=t[0];this._callback&&this._callback.call(this._context,r.data),this._withChannel&&this._withChannel[0].call(this._withChannel[1],r.channel,r.data)},cancel:function(){this._cancelled||(this._client.unsubscribe(this._channels,this),this._cancelled=!0)},unsubscribe:function(){this.cancel()}});v$e(Vte.prototype,_$e);Wte.exports=Vte});var UI=h((j3t,Xte)=>{"use strict";var w$e=l0(),S$e=Lr(),N3t=Tm(),FI=Im(),Hte=ST(),Gte=xm(),P0=Dr(),Jte=ET(),E$e=Am(),x$e=Xl(),O$e=Dm(),bp=p0(),C$e=zte(),$I=XT(),T$e=YT(),Kte=Bte(),I$e=Zte(),M0=S$e({className:"Client",UNCONNECTED:1,CONNECTING:2,CONNECTED:3,DISCONNECTED:4,HANDSHAKE:"handshake",RETRY:"retry",NONE:"none",CONNECTION_TIMEOUT:60,DEFAULT_ENDPOINT:"/bayeux",INTERVAL:0,initialize:function(e,t){this.info("New client created for ?",e),t=t||{},Jte(t,["interval","timeout","endpoints","proxy","retry","scheduler","websocketExtensions","tls","ca"]),this._channels=new bp.Set,this._dispatcher=C$e.create(this,e||this.DEFAULT_ENDPOINT,t),this._messageId=0,this._state=this.UNCONNECTED,this._responseCallbacks={},this._advice={reconnect:this.RETRY,interval:1e3*(t.interval||this.INTERVAL),timeout:1e3*(t.timeout||this.CONNECTION_TIMEOUT)},this._dispatcher.timeout=this._advice.timeout/1e3,this._dispatcher.bind("message",this._receiveMessage,this),Hte.Event&&global.onbeforeunload!==void 0&&Hte.Event.on(global,"beforeunload",function(){FI.indexOf(this._dispatcher._disabled,"autodisconnect")<0&&this.disconnect()},this)},addWebsocketExtension:function(e){return this._dispatcher.addWebsocketExtension(e)},disable:function(e){return this._dispatcher.disable(e)},setHeader:function(e,t){return this._dispatcher.setHeader(e,t)},handshake:function(e,t){if(this._advice.reconnect!==this.NONE&&this._state===this.UNCONNECTED){this._state=this.CONNECTING;var r=this;this.info("Initiating handshake with ?",this._dispatcher.endpoint.href),this._dispatcher.selectTransport(Gte.MANDATORY_CONNECTION_TYPES),this._sendMessage({channel:bp.HANDSHAKE,version:Gte.BAYEUX_VERSION,supportedConnectionTypes:this._dispatcher.getConnectionTypes()},{},function(n){n.successful?(this._state=this.CONNECTED,this._dispatcher.clientId=n.clientId,this._dispatcher.selectTransport(n.supportedConnectionTypes),this.info("Handshake successful: ?",this._dispatcher.clientId),this.subscribe(this._channels.getKeys(),!0),e&&w$e(function(){e.call(t)})):(this.info("Handshake unsuccessful"),global.setTimeout(function(){r.handshake(e,t)},this._dispatcher.retry*1e3),this._state=this.UNCONNECTED)},this)}},connect:function(e,t){if(this._advice.reconnect!==this.NONE&&this._state!==this.DISCONNECTED){if(this._state===this.UNCONNECTED)return this.handshake(function(){this.connect(e,t)},this);this.callback(e,t),this._state===this.CONNECTED&&(this.info("Calling deferred actions for ?",this._dispatcher.clientId),this.setDeferredStatus("succeeded"),this.setDeferredStatus("unknown"),!this._connectRequest&&(this._connectRequest=!0,this.info("Initiating connection for ?",this._dispatcher.clientId),this._sendMessage({channel:bp.CONNECT,clientId:this._dispatcher.clientId,connectionType:this._dispatcher.connectionType},{},this._cycleConnection,this)))}},disconnect:function(){if(this._state===this.CONNECTED){this._state=this.DISCONNECTED,this.info("Disconnecting ?",this._dispatcher.clientId);var e=new Kte;return this._sendMessage({channel:bp.DISCONNECT,clientId:this._dispatcher.clientId},{},function(t){t.successful?(this._dispatcher.close(),e.setDeferredStatus("succeeded")):e.setDeferredStatus("failed",$I.parse(t.error))},this),this.info("Clearing channel listeners for ?",this._dispatcher.clientId),this._channels=new bp.Set,e}},subscribe:function(e,t,r){if(e instanceof Array)return FI.map(e,function(o){return this.subscribe(o,t,r)},this);var n=new I$e(this,e,t,r),i=t===!0,a=this._channels.hasSubscription(e);return a&&!i?(this._channels.subscribe([e],n),n.setDeferredStatus("succeeded"),n):(this.connect(function(){this.info("Client ? attempting to subscribe to ?",this._dispatcher.clientId,e),i||this._channels.subscribe([e],n),this._sendMessage({channel:bp.SUBSCRIBE,clientId:this._dispatcher.clientId,subscription:e},{},function(o){if(!o.successful)return n.setDeferredStatus("failed",$I.parse(o.error)),this._channels.unsubscribe(e,n);var s=[].concat(o.subscription);this.info("Subscription acknowledged for ? to ?",this._dispatcher.clientId,s),n.setDeferredStatus("succeeded")},this)},this),n)},unsubscribe:function(e,t){if(e instanceof Array)return FI.map(e,function(n){return this.unsubscribe(n,t)},this);var r=this._channels.unsubscribe(e,t);r&&this.connect(function(){this.info("Client ? attempting to unsubscribe from ?",this._dispatcher.clientId,e),this._sendMessage({channel:bp.UNSUBSCRIBE,clientId:this._dispatcher.clientId,subscription:e},{},function(n){if(n.successful){var i=[].concat(n.subscription);this.info("Unsubscription acknowledged for ? from ?",this._dispatcher.clientId,i)}},this)},this)},publish:function(e,t,r){Jte(r||{},["attempts","deadline"]);var n=new Kte;return this.connect(function(){this.info("Client ? queueing published message to ?: ?",this._dispatcher.clientId,e,t),this._sendMessage({channel:e,data:t,clientId:this._dispatcher.clientId},r,function(i){i.successful?n.setDeferredStatus("succeeded"):n.setDeferredStatus("failed",$I.parse(i.error))},this)},this),n},_sendMessage:function(e,t,r,n){e.id=this._generateMessageId();var i=this._advice.timeout?1.2*this._advice.timeout/1e3:1.2*this._dispatcher.retry;this.pipeThroughExtensions("outgoing",e,null,function(a){a&&(r&&(this._responseCallbacks[a.id]=[r,n]),this._dispatcher.sendMessage(a,i,t||{}))},this)},_generateMessageId:function(){return this._messageId+=1,this._messageId>=Math.pow(2,32)&&(this._messageId=0),this._messageId.toString(36)},_receiveMessage:function(e){var t=e.id,r;e.successful!==void 0&&(r=this._responseCallbacks[t],delete this._responseCallbacks[t]),this.pipeThroughExtensions("incoming",e,null,function(n){n&&(n.advice&&this._handleAdvice(n.advice),this._deliverMessage(n),r&&r[0].call(r[1],n))},this)},_handleAdvice:function(e){P0(this._advice,e),this._dispatcher.timeout=this._advice.timeout/1e3,this._advice.reconnect===this.HANDSHAKE&&this._state!==this.DISCONNECTED&&(this._state=this.UNCONNECTED,this._dispatcher.clientId=null,this._cycleConnection())},_deliverMessage:function(e){!e.channel||e.data===void 0||(this.info("Client ? calling listeners for ? with ?",this._dispatcher.clientId,e.channel,e.data),this._channels.distributeMessage(e))},_cycleConnection:function(){this._connectRequest&&(this._connectRequest=null,this.info("Closed connection for ?",this._dispatcher.clientId));var e=this;global.setTimeout(function(){e.connect()},this._advice.interval)}});P0(M0.prototype,E$e);P0(M0.prototype,O$e);P0(M0.prototype,x$e);P0(M0.prototype,T$e);Xte.exports=M0});var Qte=h((P3t,Yte)=>{"use strict";var A$e=Im();Yte.exports=function(e){var t=A$e.filter([].concat(e),function(r){return r.channel==="/meta/connect"});return t[0]&&t[0].clientId}});var zI=h((M3t,ere)=>{ere.exports={TYPE_JSON:{"Content-Type":"application/json; charset=utf-8"},TYPE_SCRIPT:{"Content-Type":"text/javascript; charset=utf-8"},TYPE_TEXT:{"Content-Type":"text/plain; charset=utf-8"}}});var ire=h((R3t,nre)=>{"use strict";var D$e=require("crypto"),tre=require("fs"),rre=require("path"),L$e=require("url"),k$e=Lr(),N$e=Dr(),j$e=zI(),P$e=k$e({initialize:function(e,t){this._directory=e,this._pathRegex=t,this._pathMap={},this._index={}},map:function(e,t){this._pathMap[e]=t},test:function(e){return this._pathRegex.test(e)},call:function(e,t){var r=L$e.parse(e.url,!0).pathname,n=rre.basename(r);n=this._pathMap[n]||n,this._index[n]=this._index[n]||{};var i=this._index[n],a=rre.join(this._directory,n);try{i.content=i.content||tre.readFileSync(a),i.digest=i.digest||D$e.createHash("sha1").update(i.content).digest("hex"),i.mtime=i.mtime||tre.statSync(a).mtime}catch{return t.writeHead(404,{}),t.end()}var o=/\.js$/.test(r)?"TYPE_SCRIPT":"TYPE_JSON",s=e.headers["if-modified-since"],l={ETag:i.digest,"Last-Modified":i.mtime.toGMTString()};e.headers["if-none-match"]===i.digest||s&&i.mtime<=new Date(s)?(t.writeHead(304,l),t.end()):(l["Content-Length"]=i.content.length,N$e(l,j$e[o]),t.writeHead(200,l),t.end(i.content))}});nre.exports=P$e});var mre=h((F3t,fre)=>{"use strict";var are=Hr().Buffer,ore=require("path"),M$e=require("querystring"),sre=require("url"),dre=NI(),lre=dre.EventSource,R$e=xm(),pre=Dr(),F$e=Qte(),cre=Om(),$$e=ET(),U$e=Lr(),z$e=Xl(),q$e=Dm(),B$e=UI(),V$e=QT(),qI=zI(),W$e=ire(),BI=U$e({className:"NodeAdapter",DEFAULT_ENDPOINT:"/bayeux",SCRIPT_PATH:"faye-browser-min.js",VALID_JSONP_CALLBACK:/^[a-z_\$][a-z0-9_\$]*(\.[a-z_\$][a-z0-9_\$]*)*$/i,initialize:function(e){this._options=e||{},$$e(this._options,["engine","mount","ping","timeout","extensions","websocketExtensions"]),this._extensions=[],this._endpoint=this._options.mount||this.DEFAULT_ENDPOINT,this._endpointRe=new RegExp("^"+this._endpoint.replace(/\/$/,"")+"(/[^/]*)*(\\.[^\\.]+)?$"),this._server=V$e.create(this._options),this._static=new W$e(ore.join(__dirname,"..","..","client"),/\.(?:js|map)$/),this._static.map(ore.basename(this._endpoint)+".js",this.SCRIPT_PATH),this._static.map("client.js",this.SCRIPT_PATH);var t=this._options.extensions,r=this._options.websocketExtensions,n,i;if(t)for(t=[].concat(t),n=0,i=t.length;n<i;n++)this.addExtension(t[n]);if(r)for(r=[].concat(r),n=0,i=r.length;n<i;n++)this.addWebsocketExtension(r[n])},listen:function(){throw new Error("The listen() method is deprecated - use the attach() method to bind Faye to an http.Server")},addExtension:function(e){return this._server.addExtension(e)},removeExtension:function(e){return this._server.removeExtension(e)},addWebsocketExtension:function(e){this._extensions.push(e)},close:function(){return this._server.close()},getClient:function(){return this._client=this._client||new B$e(this._server)},attach:function(e){this._overrideListeners(e,"request","handle"),this._overrideListeners(e,"upgrade","handleUpgrade")},_overrideListeners:function(e,t,r){var n=e.listeners(t),i=this;e.removeAllListeners(t),e.on(t,function(a){if(i.check(a))return i[r].apply(i,arguments);for(var o=0,s=n.length;o<s;o++)n[o].apply(this,arguments)})},check:function(e){var t=sre.parse(e.url,!0).pathname;return!!this._endpointRe.test(t)},handle:function(e,t){var r=sre.parse(e.url,!0),n=e.method,i=this;if(e.originalUrl=e.url,e.on("error",function(a){i._returnError(t,a)}),t.on("error",function(a){i._returnError(null,a)}),this._static.test(r.pathname))return this._static.call(e,t);if(n==="OPTIONS"||e.headers["access-control-request-method"]==="POST")return this._handleOptions(e,t);if(lre.isEventSource(e))return this.handleEventSource(e,t);if(n==="GET")return this._callWithParams(e,t,r.query);if(n==="POST")return this._concatStream(e,function(a){var o=(e.headers["content-type"]||"").split(";")[0],s=o==="application/json"?{message:a}:M$e.parse(a);e.body=a,this._callWithParams(e,t,s)},this);this._returnError(t,{message:"Unrecognized request type"})},_callWithParams:function(e,t,r){if(!r.message)return this._returnError(t,{message:"Received request with no message: "+this._formatRequest(e)});try{this.debug("Received message via HTTP "+e.method+": ?",r.message);var n=this._parseJSON(r.message),i=r.jsonp||R$e.JSONP_CALLBACK,a=e.method==="GET",o=a?qI.TYPE_SCRIPT:qI.TYPE_JSON,s=pre({},o),l=e.headers.origin;if(!this.VALID_JSONP_CALLBACK.test(i))return this._returnError(t,{message:"Invalid JSON-P callback: "+i});s["Cache-Control"]="no-cache, no-store",s["X-Content-Type-Options"]="nosniff",l&&(s["Access-Control-Allow-Credentials"]="true",s["Access-Control-Allow-Origin"]=l),this._server.process(n,e,function(c){var u=cre(c);a&&(u="/**/"+i+"("+this._jsonpEscape(u)+");",s["Content-Disposition"]="attachment; filename=f.txt"),s["Content-Length"]=are.from(u,"utf8").length.toString(),this.debug("HTTP response: ?",u),t.writeHead(200,s),t.end(u)},this)}catch(c){this._returnError(t,c)}},_jsonpEscape:function(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},handleUpgrade:function(e,t,r){var n={extensions:this._extensions,ping:this._options.ping},i=new dre(e,t,r,[],n),a=null,o=this;e.originalUrl=e.url,i.onmessage=function(s){try{o.debug("Received message via WebSocket["+i.version+"]: ?",s.data);var l=o._parseJSON(s.data),c=F$e(l);a&&c&&c!==a&&o._server.closeSocket(a,!1),o._server.openSocket(c,i,e),c&&(a=c),o._server.process(l,e,function(u){i&&i.send(cre(u))})}catch(u){console.log(u.stack),o.error(u.message+`
|
||
Backtrace:
|
||
`+u.stack)}},i.onclose=function(s){o._server.closeSocket(a),i=null}},handleEventSource:function(e,t){var r=new lre(e,t,{ping:this._options.ping}),n=r.url.split("/").pop(),i=this;this.debug("Opened EventSource connection for ?",n),this._server.openSocket(n,r,e),r.onclose=function(a){i._server.closeSocket(n),r=null}},_handleOptions:function(e,t){var r=e.headers.origin||e.headers.referer,n={"Access-Control-Allow-Credentials":"true","Access-Control-Allow-Headers":"Accept, Authorization, Content-Type, Pragma, X-Requested-With","Access-Control-Allow-Methods":"POST, GET","Access-Control-Allow-Origin":r||"*","Access-Control-Max-Age":"86400"};t.writeHead(200,n),t.end("")},_concatStream:function(e,t,r){var n=[],i=0;e.on("data",function(a){n.push(a),i+=a.length}),e.on("end",function(){for(var a=are.alloc(i),o=0,s=0,l=n.length;s<l;s++)n[s].copy(a,o),o+=n[s].length;t.call(r,a.toString("utf8"))})},_parseJSON:function(e){var t=JSON.parse(e);if(typeof t=="object")return t;throw new SyntaxError("JSON messages must contain an object or array")},_formatRequest:function(e){var t=e.method.toUpperCase(),r="curl -X "+t;return r+=" 'http://"+e.headers.host+e.url+"'",t==="POST"&&(r+=" -H 'Content-Type: "+e.headers["content-type"]+"'",r+=" -d '"+e.body+"'"),r},_returnError:function(e,t){var r=t.message;t.stack&&(r+=`
|
||
Backtrace:
|
||
`+t.stack),this.error(r),e&&(e.writeHead(400,qI.TYPE_TEXT),e.end("Bad request"))}});for(ure in q$e)(function(e){BI.prototype[e]=function(){return this._server._engine[e].apply(this._server._engine,arguments)}})(ure);var ure;pre(BI.prototype,z$e);fre.exports=BI});var VI=h(($3t,gre)=>{"use strict";var Z$e=xm(),H$e=Xl(),hre={VERSION:Z$e.VERSION,Client:UI(),Scheduler:MI(),NodeAdapter:mre()};H$e.wrapper=hre;gre.exports=hre});var bre=h(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.Replay=Um.AuthFailure=void 0;var WI=class{_failureCallback;constructor(t){this._failureCallback=t}incoming(t,r){(t.channel==="/meta/connect"||t.channel==="/meta/handshake")&&t.advice&&t.advice.reconnect=="none"?this._failureCallback(t):r(t)}};Um.AuthFailure=WI;var yre="replay",ZI=class{_extensionEnabled;_replay;_channel;constructor(t,r){this._extensionEnabled=r!=null,this._channel=t,this._replay=r}setExtensionEnabled(t){this._extensionEnabled=t}setReplay(t){this._replay=parseInt(t,10)}setChannel(t){this._channel=t}incoming(t,r){t.channel==="/meta/handshake"?t.ext&&t.ext[yre]==!0&&(this._extensionEnabled=!0):t.channel===this._channel&&t.data?.event?.replayId&&(this._replay=t.data.event.replayId),r(t)}outgoing(t,r){if(t.channel==="/meta/subscribe"&&this._extensionEnabled){t.ext||(t.ext={});let n={[this._channel]:this._replay};t.ext[yre]=n}r(t)}};Um.Replay=ZI});var vre=h(dn=>{"use strict";var G$e=dn&&dn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),J$e=dn&&dn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),K$e=dn&&dn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&G$e(t,e,r);return J$e(t,e),t};Object.defineProperty(dn,"__esModule",{value:!0});dn.StreamingExtension=dn.Streaming=dn.Subscription=dn.Client=void 0;var X$e=require("events"),JI=VI();Object.defineProperty(dn,"Client",{enumerable:!0,get:function(){return JI.Client}});Object.defineProperty(dn,"Subscription",{enumerable:!0,get:function(){return JI.Subscription}});var Y$e=Wi(),Q$e=K$e(bre());dn.StreamingExtension=Q$e;var HI=class{_streaming;name;constructor(t,r){this._streaming=t,this.name=r}subscribe(t){return this._streaming.subscribe(this.name,t)}unsubscribe(t){return this._streaming.unsubscribe(this.name,t),this}},GI=class{_streaming;_id;name;constructor(t,r){this._streaming=t,this.name=r}subscribe(t){return this._streaming.subscribe(this.name,t)}unsubscribe(t){return this._streaming.unsubscribe(this.name,t),this}async push(t){let r=Array.isArray(t),n=Array.isArray(t)?t:[t],i=this._streaming._conn;this._id||(this._id=i.sobject("StreamingChannel").findOne({Name:this.name},["Id"]).then(l=>l?.Id));let a=await this._id;if(!a)throw new Error(`No streaming channel available for name: ${this.name}`);let o=`/sobjects/StreamingChannel/${a}/push`,s=await i.requestPost(o,{pushEvents:n});return r?s:s[0]}},R0=class extends X$e.EventEmitter{_conn;_topics={};_fayeClients={};constructor(t){super(),this._conn=t}_createClient(t,r){let n=typeof t=="string"&&t.startsWith("/u/"),i=[this._conn.instanceUrl,"cometd"+(n&&this._conn.version==="36.0"?"/replay":""),this._conn.version].join("/"),a=new JI.Client(i,{});if(a.setHeader("Authorization","OAuth "+this._conn.accessToken),Array.isArray(r))for(let s of r)a.addExtension(s);let o=a._dispatcher;return o.getConnectionTypes().indexOf("callback-polling")===-1&&(o.selectTransport("long-polling"),o._transport.batching=!1),a}_getFayeClient(t){let n=t.startsWith("/u/")?"generic":"pushTopic";return this._fayeClients[n]||(this._fayeClients[n]=this._createClient(t)),this._fayeClients[n]}topic(t){return this._topics=this._topics||{},this._topics[t]=this._topics[t]||new HI(this,t)}channel(t){return new GI(this,t)}subscribe(t,r){let n=t.startsWith("/")?t:"/topic/"+t;return this._getFayeClient(n).subscribe(n,r)}unsubscribe(t,r){let n=t.startsWith("/")?t:"/topic/"+t;return this._getFayeClient(n).unsubscribe(n,r),this}createClient(t){return this._createClient(null,t)}};dn.Streaming=R0;(0,Y$e.registerModule)("streaming",e=>new R0(e));dn.default=R0});var eA=h(vp=>{"use strict";var wre=vp&&vp.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vp,"__esModule",{value:!0});vp.Tooling=void 0;var eUe=Wi(),tUe=wre(Jd()),rUe=wre(tC()),{query:nUe,queryMore:iUe,_ensureVersion:aUe,create:_re,_createSingle:oUe,_createMany:sUe,_createParallel:lUe,retrieve:cUe,_retrieveSingle:uUe,_retrieveParallel:dUe,_retrieveMany:pUe,update:fUe,_updateSingle:mUe,_updateParallel:hUe,_updateMany:gUe,upsert:yUe,destroy:KI,_destroySingle:bUe,_destroyParallel:vUe,_destroyMany:_Ue,describe:XI,describeGlobal:YI,sobject:wUe}=tUe.default.prototype,QI=e=>e?`describe.${e}`:"describe",F0=class{_conn;get version(){return this._conn.version}query=nUe;queryMore=iUe;_ensureVersion=aUe;create=_re;_createSingle=oUe;_createParallel=lUe;_createMany=sUe;insert=_re;retrieve=cUe;_retrieveSingle=uUe;_retrieveParallel=dUe;_retrieveMany=pUe;update=fUe;_updateSingle=mUe;_updateParallel=hUe;_updateMany=gUe;upsert=yUe;destroy=KI;_destroySingle=bUe;_destroyParallel=vUe;_destroyMany=_Ue;delete=KI;del=KI;cache=new rUe.default;describe=this.cache.createCachedFunction(XI,this,{key:QI,strategy:"NOCACHE"});describe$=this.cache.createCachedFunction(XI,this,{key:QI,strategy:"HIT"});describe$$=this.cache.createCachedFunction(XI,this,{key:QI,strategy:"IMMEDIATE"});describeSObject=this.describe;describeSObject$=this.describe$;describeSObject$$=this.describe$$;describeGlobal=this.cache.createCachedFunction(YI,this,{key:"describeGlobal",strategy:"NOCACHE"});describeGlobal$=this.cache.createCachedFunction(YI,this,{key:"describeGlobal",strategy:"HIT"});describeGlobal$$=this.cache.createCachedFunction(YI,this,{key:"describeGlobal",strategy:"IMMEDIATE"});sobject=wUe;sobjects={};constructor(t){this._conn=t}_establish(){this.sobjects={},this.cache.clear(),this.cache.get("describeGlobal").removeAllListeners("value"),this.cache.get("describeGlobal").on("value",t=>{if(t.result)for(let{name:r}of t.result.sobjects)this.sobject(r)})}_baseUrl(){return this._conn._baseUrl()+"/tooling"}_supports(t){return this._conn._supports(t)}request(t,r){return this._conn.request(t,r)}executeAnonymous(t){let r=this._baseUrl()+"/executeAnonymous?anonymousBody="+encodeURIComponent(t);return this.request(r)}runTestsAsynchronous(t){let r=this._baseUrl()+"/runTestsAsynchronous/";return this._conn.requestPost(r,t)}runTestsSynchronous(t){let r=this._baseUrl()+"/runTestsSynchronous/";return this._conn.requestPost(r,t)}completions(t="apex"){let r=this._baseUrl()+"/completions?type="+encodeURIComponent(t);return this.request({method:"GET",url:r,headers:{Accept:"application/json"}})}};vp.Tooling=F0;(0,eUe.registerModule)("tooling",e=>new F0(e));vp.default=F0});var Ere=h(Sre=>{"use strict";Object.defineProperty(Sre,"__esModule",{value:!0})});var Ore=h(xre=>{"use strict";Object.defineProperty(xre,"__esModule",{value:!0})});var Tre=h(Cre=>{"use strict";Object.defineProperty(Cre,"__esModule",{value:!0})});var Are=h(Ire=>{"use strict";Object.defineProperty(Ire,"__esModule",{value:!0})});var Lre=h(Dre=>{"use strict";Object.defineProperty(Dre,"__esModule",{value:!0})});var Nre=h(kre=>{"use strict";Object.defineProperty(kre,"__esModule",{value:!0})});var Pre=h(jre=>{"use strict";Object.defineProperty(jre,"__esModule",{value:!0})});var tA=h(pi=>{"use strict";var SUe=pi&&pi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Cu=pi&&pi.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&SUe(t,e,r)};Object.defineProperty(pi,"__esModule",{value:!0});Cu(Ere(),pi);Cu(Ore(),pi);Cu(Tre(),pi);Cu(Are(),pi);Cu(Lre(),pi);Cu(Nre(),pi);Cu(Pre(),pi);Cu(wg(),pi)});var $re=h(Xe=>{"use strict";var Mre=Xe&&Xe.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),EUe=Xe&&Xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xUe=Xe&&Xe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Mre(t,e,r);return EUe(t,e),t},zm=Xe&&Xe.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Mre(t,e,r)},qm=Xe&&Xe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xe,"__esModule",{value:!0});Xe.browser=Xe.registry=Xe.RecordStream=Xe.RecordReference=Xe.BrowserClient=Xe.SfDate=Xe.Date=Xe.VERSION=void 0;var OUe=qm(Wi()),Rre=qm(tw());Xe.Date=Rre.default;Xe.SfDate=Rre.default;var CUe=qm(LC());Xe.registry=CUe.default;var Fre=xUe(kC());Xe.browser=Fre.default;Object.defineProperty(Xe,"BrowserClient",{enumerable:!0,get:function(){return Fre.BrowserClient}});var TUe=qm(YO());Xe.VERSION=TUe.default;var IUe=qm(vC());Xe.RecordReference=IUe.default;var AUe=qm(Ag());Xe.RecordStream=AUe.default;zm(Eg(),Xe);zm(Jd(),Xe);zm(nw(),Xe);zm(ow(),Xe);zm(wC(),Xe);zm(tA(),Xe);Xe.default=OUe.default});var Ure=h(Da=>{"use strict";var DUe=Da&&Da.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),rA=Da&&Da.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&DUe(t,e,r)},LUe=Da&&Da.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Da,"__esModule",{value:!0});var kUe=LUe(Wi());_K();wK();DX();jX();RX();BX();WX();vre();eA();rA(tA(),Da);rA($re(),Da);rA(wg(),Da);Da.default=kUe.default});var T6=h((Q3t,zre)=>{zre.exports=Ure().default});var nA=h((eSt,qre)=>{var I6=Hr().Buffer,NUe=require("stream"),jUe=require("util");function A6(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=I6.alloc(0),this;if(typeof e.pipe=="function")return this.buffer=I6.alloc(0),e.pipe(this),this;if(e.length||typeof e=="object")return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}jUe.inherits(A6,NUe);A6.prototype.write=function(t){this.buffer=I6.concat([this.buffer,I6.from(t)]),this.emit("data",t)};A6.prototype.end=function(t){t&&this.write(t),this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1};qre.exports=A6});var Vre=h((tSt,Bre)=>{"use strict";function iA(e){var t=(e/8|0)+(e%8===0?0:1);return t}var PUe={ES256:iA(256),ES384:iA(384),ES512:iA(521)};function MUe(e){var t=PUe[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}Bre.exports=MUe});var Xre=h((rSt,Kre)=>{"use strict";var D6=Hr().Buffer,Zre=Vre(),L6=128,Hre=0,RUe=32,FUe=16,$Ue=2,Gre=FUe|RUe|Hre<<6,k6=$Ue|Hre<<6;function UUe(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Jre(e){if(D6.isBuffer(e))return e;if(typeof e=="string")return D6.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function zUe(e,t){e=Jre(e);var r=Zre(t),n=r+1,i=e.length,a=0;if(e[a++]!==Gre)throw new Error('Could not find expected "seq"');var o=e[a++];if(o===(L6|1)&&(o=e[a++]),i-a<o)throw new Error('"seq" specified length of "'+o+'", only "'+(i-a)+'" remaining');if(e[a++]!==k6)throw new Error('Could not find expected "int" for "r"');var s=e[a++];if(i-a-2<s)throw new Error('"r" specified length of "'+s+'", only "'+(i-a-2)+'" available');if(n<s)throw new Error('"r" specified length of "'+s+'", max of "'+n+'" is acceptable');var l=a;if(a+=s,e[a++]!==k6)throw new Error('Could not find expected "int" for "s"');var c=e[a++];if(i-a!==c)throw new Error('"s" specified length of "'+c+'", expected "'+(i-a)+'"');if(n<c)throw new Error('"s" specified length of "'+c+'", max of "'+n+'" is acceptable');var u=a;if(a+=c,a!==i)throw new Error('Expected to consume entire buffer, but "'+(i-a)+'" bytes remain');var d=r-s,f=r-c,p=D6.allocUnsafe(d+s+f+c);for(a=0;a<d;++a)p[a]=0;e.copy(p,a,l+Math.max(-d,0),l+s),a=r;for(var m=a;a<m+f;++a)p[a]=0;return e.copy(p,a,u+Math.max(-f,0),u+c),p=p.toString("base64"),p=UUe(p),p}function Wre(e,t,r){for(var n=0;t+n<r&&e[t+n]===0;)++n;var i=e[t+n]>=L6;return i&&--n,n}function qUe(e,t){e=Jre(e);var r=Zre(t),n=e.length;if(n!==r*2)throw new TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=Wre(e,0,r),a=Wre(e,r,e.length),o=r-i,s=r-a,l=2+o+1+1+s,c=l<L6,u=D6.allocUnsafe((c?2:3)+l),d=0;return u[d++]=Gre,c?u[d++]=l:(u[d++]=L6|1,u[d++]=l&255),u[d++]=k6,u[d++]=o,i<0?(u[d++]=0,d+=e.copy(u,d,0,r)):d+=e.copy(u,d,i,r),u[d++]=k6,u[d++]=s,a<0?(u[d++]=0,e.copy(u,d,r)):e.copy(u,d,r+a),u}Kre.exports={derToJose:zUe,joseToDer:qUe}});var Qre=h((nSt,Yre)=>{"use strict";var $0=require("buffer").Buffer,aA=require("buffer").SlowBuffer;Yre.exports=N6;function N6(e,t){if(!$0.isBuffer(e)||!$0.isBuffer(t)||e.length!==t.length)return!1;for(var r=0,n=0;n<e.length;n++)r|=e[n]^t[n];return r===0}N6.install=function(){$0.prototype.equal=aA.prototype.equal=function(t){return N6(this,t)}};var BUe=$0.prototype.equal,VUe=aA.prototype.equal;N6.restore=function(){$0.prototype.equal=BUe,aA.prototype.equal=VUe}});var cA=h((iSt,lne)=>{var Vm=Hr().Buffer,La=require("crypto"),tne=Xre(),ene=require("util"),WUe=`"%s" is not a valid algorithm.
|
||
Supported algorithms are:
|
||
"HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,U0="secret must be a string or buffer",Bm="key must be a string or a buffer",ZUe="key must be a string, a buffer or an object",sA=typeof La.createPublicKey=="function";sA&&(Bm+=" or a KeyObject",U0+="or a KeyObject");function rne(e){if(!Vm.isBuffer(e)&&typeof e!="string"&&(!sA||typeof e!="object"||typeof e.type!="string"||typeof e.asymmetricKeyType!="string"||typeof e.export!="function"))throw _o(Bm)}function nne(e){if(!Vm.isBuffer(e)&&typeof e!="string"&&typeof e!="object")throw _o(ZUe)}function HUe(e){if(!Vm.isBuffer(e)){if(typeof e=="string")return e;if(!sA||typeof e!="object"||e.type!=="secret"||typeof e.export!="function")throw _o(U0)}}function lA(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ine(e){e=e.toString();var t=4-e.length%4;if(t!==4)for(var r=0;r<t;++r)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function _o(e){var t=[].slice.call(arguments,1),r=ene.format.bind(ene,e).apply(null,t);return new TypeError(r)}function GUe(e){return Vm.isBuffer(e)||typeof e=="string"}function z0(e){return GUe(e)||(e=JSON.stringify(e)),e}function ane(e){return function(r,n){HUe(n),r=z0(r);var i=La.createHmac("sha"+e,n),a=(i.update(r),i.digest("base64"));return lA(a)}}var oA,JUe="timingSafeEqual"in La?function(t,r){return t.byteLength!==r.byteLength?!1:La.timingSafeEqual(t,r)}:function(t,r){return oA||(oA=Qre()),oA(t,r)};function KUe(e){return function(r,n,i){var a=ane(e)(r,i);return JUe(Vm.from(n),Vm.from(a))}}function one(e){return function(r,n){nne(n),r=z0(r);var i=La.createSign("RSA-SHA"+e),a=(i.update(r),i.sign(n,"base64"));return lA(a)}}function sne(e){return function(r,n,i){rne(i),r=z0(r),n=ine(n);var a=La.createVerify("RSA-SHA"+e);return a.update(r),a.verify(i,n,"base64")}}function XUe(e){return function(r,n){nne(n),r=z0(r);var i=La.createSign("RSA-SHA"+e),a=(i.update(r),i.sign({key:n,padding:La.constants.RSA_PKCS1_PSS_PADDING,saltLength:La.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return lA(a)}}function YUe(e){return function(r,n,i){rne(i),r=z0(r),n=ine(n);var a=La.createVerify("RSA-SHA"+e);return a.update(r),a.verify({key:i,padding:La.constants.RSA_PKCS1_PSS_PADDING,saltLength:La.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function QUe(e){var t=one(e);return function(){var n=t.apply(null,arguments);return n=tne.derToJose(n,"ES"+e),n}}function eze(e){var t=sne(e);return function(n,i,a){i=tne.joseToDer(i,"ES"+e).toString("base64");var o=t(n,i,a);return o}}function tze(){return function(){return""}}function rze(){return function(t,r){return r===""}}lne.exports=function(t){var r={hs:ane,rs:one,ps:XUe,es:QUe,none:tze},n={hs:KUe,rs:sne,ps:YUe,es:eze,none:rze},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw _o(WUe,t);var a=(i[1]||i[3]).toLowerCase(),o=i[2];return{sign:r[a](o),verify:n[a](o)}}});var uA=h((aSt,cne)=>{var nze=require("buffer").Buffer;cne.exports=function(t){return typeof t=="string"?t:typeof t=="number"||nze.isBuffer(t)?t.toString():JSON.stringify(t)}});var hne=h((oSt,mne)=>{var ize=Hr().Buffer,une=nA(),aze=cA(),oze=require("stream"),dne=uA(),dA=require("util");function pne(e,t){return ize.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function sze(e,t,r){r=r||"utf8";var n=pne(dne(e),"binary"),i=pne(dne(t),r);return dA.format("%s.%s",n,i)}function fne(e){var t=e.header,r=e.payload,n=e.secret||e.privateKey,i=e.encoding,a=aze(t.alg),o=sze(t,r,i),s=a.sign(o,n);return dA.format("%s.%s",o,s)}function j6(e){var t=e.secret;if(t=t??e.privateKey,t=t??e.key,/^hs/i.test(e.header.alg)===!0&&t==null)throw new TypeError("secret must be a string or buffer or a KeyObject");var r=new une(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new une(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}dA.inherits(j6,oze);j6.prototype.sign=function(){try{var t=fne({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}};j6.sign=fne;mne.exports=j6});var One=h((sSt,xne)=>{var yne=Hr().Buffer,gne=nA(),lze=cA(),cze=require("stream"),bne=uA(),uze=require("util"),dze=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function pze(e){return Object.prototype.toString.call(e)==="[object Object]"}function fze(e){if(pze(e))return e;try{return JSON.parse(e)}catch{return}}function vne(e){var t=e.split(".",1)[0];return fze(yne.from(t,"base64").toString("binary"))}function mze(e){return e.split(".",2).join(".")}function _ne(e){return e.split(".")[2]}function hze(e,t){t=t||"utf8";var r=e.split(".")[1];return yne.from(r,"base64").toString(t)}function wne(e){return dze.test(e)&&!!vne(e)}function Sne(e,t,r){if(!t){var n=new Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=bne(e);var i=_ne(e),a=mze(e),o=lze(t);return o.verify(a,i,r)}function Ene(e,t){if(t=t||{},e=bne(e),!wne(e))return null;var r=vne(e);if(!r)return null;var n=hze(e);return(r.typ==="JWT"||t.json)&&(n=JSON.parse(n,t.encoding)),{header:r,payload:n,signature:_ne(e)}}function Wm(e){e=e||{};var t=e.secret;if(t=t??e.publicKey,t=t??e.key,/^hs/i.test(e.algorithm)===!0&&t==null)throw new TypeError("secret must be a string or buffer or a KeyObject");var r=new gne(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new gne(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}uze.inherits(Wm,cze);Wm.prototype.verify=function(){try{var t=Sne(this.signature.buffer,this.algorithm,this.key.buffer),r=Ene(this.signature.buffer,this.encoding);return this.emit("done",t,r),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(n){this.readable=!1,this.emit("error",n),this.emit("close")}};Wm.decode=Ene;Wm.isValid=wne;Wm.verify=Sne;xne.exports=Wm});var M6=h(Tu=>{var Cne=hne(),P6=One(),gze=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];Tu.ALGORITHMS=gze;Tu.sign=Cne.sign;Tu.verify=P6.verify;Tu.decode=P6.decode;Tu.isValid=P6.isValid;Tu.createSign=function(t){return new Cne(t)};Tu.createVerify=function(t){return new P6(t)}});var pA=h((cSt,Tne)=>{var yze=M6();Tne.exports=function(e,t){t=t||{};var r=yze.decode(e,t);if(!r)return null;var n=r.payload;if(typeof n=="string")try{var i=JSON.parse(n);i!==null&&typeof i=="object"&&(n=i)}catch{}return t.complete===!0?{header:r.header,payload:n,signature:r.signature}:n}});var q0=h((uSt,Ine)=>{var R6=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};R6.prototype=Object.create(Error.prototype);R6.prototype.constructor=R6;Ine.exports=R6});var fA=h((dSt,Dne)=>{var Ane=q0(),F6=function(e,t){Ane.call(this,e),this.name="NotBeforeError",this.date=t};F6.prototype=Object.create(Ane.prototype);F6.prototype.constructor=F6;Dne.exports=F6});var mA=h((pSt,kne)=>{var Lne=q0(),$6=function(e,t){Lne.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};$6.prototype=Object.create(Lne.prototype);$6.prototype.constructor=$6;kne.exports=$6});var hA=h((fSt,Nne)=>{var bze=dO();Nne.exports=function(e,t){var r=t||Math.floor(Date.now()/1e3);if(typeof e=="string"){var n=bze(e);return typeof n>"u"?void 0:Math.floor(r+n/1e3)}else return typeof e=="number"?r+e:void 0}});var Pne=h((mSt,jne)=>{var vze=W1();jne.exports=vze.satisfies(process.version,">=15.7.0")});var Rne=h((hSt,Mne)=>{var _ze=W1();Mne.exports=_ze.satisfies(process.version,">=16.9.0")});var gA=h((gSt,Fne)=>{var wze=Pne(),Sze=Rne(),Eze={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},xze={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};Fne.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=Eze[r];if(!n)throw new Error(`Unknown key type "${r}".`);if(!n.includes(e))throw new Error(`"alg" parameter for "${r}" key type must be one of: ${n.join(", ")}.`);if(wze)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,a=xze[e];if(i!==a)throw new Error(`"alg" parameter "${e}" requires curve "${a}".`);break;case"rsa-pss":if(Sze){let o=parseInt(e.slice(-3),10),{hashAlgorithm:s,mgf1HashAlgorithm:l,saltLength:c}=t.asymmetricKeyDetails;if(s!==`sha${o}`||l!==s)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(c!==void 0&&c>o>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}break}}});var yA=h((ySt,$ne)=>{var Oze=W1();$ne.exports=Oze.satisfies(process.version,"^6.12.0 || >=8.0.0")});var qne=h((bSt,zne)=>{var At=q0(),Cze=fA(),Une=mA(),Tze=pA(),Ize=hA(),Aze=gA(),Dze=yA(),Lze=M6(),{KeyObject:kze,createSecretKey:Nze,createPublicKey:jze}=require("crypto"),bA=["RS256","RS384","RS512"],Pze=["ES256","ES384","ES512"],vA=["RS256","RS384","RS512"],Mze=["HS256","HS384","HS512"];Dze&&(bA.splice(bA.length,0,"PS256","PS384","PS512"),vA.splice(vA.length,0,"PS256","PS384","PS512"));zne.exports=function(e,t,r,n){typeof r=="function"&&!n&&(n=r,r={}),r||(r={}),r=Object.assign({},r);let i;if(n?i=n:i=function(u,d){if(u)throw u;return d},r.clockTimestamp&&typeof r.clockTimestamp!="number")return i(new At("clockTimestamp must be a number"));if(r.nonce!==void 0&&(typeof r.nonce!="string"||r.nonce.trim()===""))return i(new At("nonce must be a non-empty string"));if(r.allowInvalidAsymmetricKeyTypes!==void 0&&typeof r.allowInvalidAsymmetricKeyTypes!="boolean")return i(new At("allowInvalidAsymmetricKeyTypes must be a boolean"));let a=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return i(new At("jwt must be provided"));if(typeof e!="string")return i(new At("jwt must be a string"));let o=e.split(".");if(o.length!==3)return i(new At("jwt malformed"));let s;try{s=Tze(e,{complete:!0})}catch(u){return i(u)}if(!s)return i(new At("invalid token"));let l=s.header,c;if(typeof t=="function"){if(!n)return i(new At("verify must be called asynchronous if secret or public key is provided as a callback"));c=t}else c=function(u,d){return d(null,t)};return c(l,function(u,d){if(u)return i(new At("error in secret or public key callback: "+u.message));let f=o[2].trim()!=="";if(!f&&d)return i(new At("jwt signature is required"));if(f&&!d)return i(new At("secret or public key must be provided"));if(!f&&!r.algorithms)return i(new At('please specify "none" in "algorithms" to verify unsigned tokens'));if(d!=null&&!(d instanceof kze))try{d=jze(d)}catch{try{d=Nze(typeof d=="string"?Buffer.from(d):d)}catch{return i(new At("secretOrPublicKey is not valid key material"))}}if(r.algorithms||(d.type==="secret"?r.algorithms=Mze:["rsa","rsa-pss"].includes(d.asymmetricKeyType)?r.algorithms=vA:d.asymmetricKeyType==="ec"?r.algorithms=Pze:r.algorithms=bA),r.algorithms.indexOf(s.header.alg)===-1)return i(new At("invalid algorithm"));if(l.alg.startsWith("HS")&&d.type!=="secret")return i(new At(`secretOrPublicKey must be a symmetric key when using ${l.alg}`));if(/^(?:RS|PS|ES)/.test(l.alg)&&d.type!=="public")return i(new At(`secretOrPublicKey must be an asymmetric key when using ${l.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{Aze(l.alg,d)}catch(y){return i(y)}let p;try{p=Lze.verify(e,s.header.alg,d)}catch(y){return i(y)}if(!p)return i(new At("invalid signature"));let m=s.payload;if(typeof m.nbf<"u"&&!r.ignoreNotBefore){if(typeof m.nbf!="number")return i(new At("invalid nbf value"));if(m.nbf>a+(r.clockTolerance||0))return i(new Cze("jwt not active",new Date(m.nbf*1e3)))}if(typeof m.exp<"u"&&!r.ignoreExpiration){if(typeof m.exp!="number")return i(new At("invalid exp value"));if(a>=m.exp+(r.clockTolerance||0))return i(new Une("jwt expired",new Date(m.exp*1e3)))}if(r.audience){let y=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(m.aud)?m.aud:[m.aud]).some(function(E){return y.some(function(w){return w instanceof RegExp?w.test(E):w===E})}))return i(new At("jwt audience invalid. expected: "+y.join(" or ")))}if(r.issuer&&(typeof r.issuer=="string"&&m.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(m.iss)===-1))return i(new At("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&m.sub!==r.subject)return i(new At("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&m.jti!==r.jwtid)return i(new At("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&m.nonce!==r.nonce)return i(new At("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if(typeof m.iat!="number")return i(new At("iat required when maxAge is specified"));let y=Ize(r.maxAge,m.iat);if(typeof y>"u")return i(new At('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(a>=y+(r.clockTolerance||0))return i(new Une("maxAge exceeded",new Date(y*1e3)))}if(r.complete===!0){let y=s.signature;return i(null,{header:l,payload:m,signature:y})}return i(null,m)})}});var Gne=h((vSt,Hne)=>{var Bne=1/0,Wne=9007199254740991,Rze=17976931348623157e292,Vne=NaN,Fze="[object Arguments]",$ze="[object Function]",Uze="[object GeneratorFunction]",zze="[object String]",qze="[object Symbol]",Bze=/^\s+|\s+$/g,Vze=/^[-+]0x[0-9a-f]+$/i,Wze=/^0b[01]+$/i,Zze=/^0o[0-7]+$/i,Hze=/^(?:0|[1-9]\d*)$/,Gze=parseInt;function Jze(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function Kze(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Xze(e,t,r){if(t!==t)return Kze(e,Yze,r);for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}function Yze(e){return e!==e}function Qze(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function eqe(e,t){return Jze(t,function(r){return e[r]})}function tqe(e,t){return function(r){return e(t(r))}}var U6=Object.prototype,wA=U6.hasOwnProperty,z6=U6.toString,rqe=U6.propertyIsEnumerable,nqe=tqe(Object.keys,Object),iqe=Math.max;function aqe(e,t){var r=Zne(e)||uqe(e)?Qze(e.length,String):[],n=r.length,i=!!n;for(var a in e)(t||wA.call(e,a))&&!(i&&(a=="length"||sqe(a,n)))&&r.push(a);return r}function oqe(e){if(!lqe(e))return nqe(e);var t=[];for(var r in Object(e))wA.call(e,r)&&r!="constructor"&&t.push(r);return t}function sqe(e,t){return t=t??Wne,!!t&&(typeof e=="number"||Hze.test(e))&&e>-1&&e%1==0&&e<t}function lqe(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||U6;return e===r}function cqe(e,t,r,n){e=SA(e)?e:_qe(e),r=r&&!n?yqe(r):0;var i=e.length;return r<0&&(r=iqe(i+r,0)),mqe(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Xze(e,t,r)>-1}function uqe(e){return dqe(e)&&wA.call(e,"callee")&&(!rqe.call(e,"callee")||z6.call(e)==Fze)}var Zne=Array.isArray;function SA(e){return e!=null&&fqe(e.length)&&!pqe(e)}function dqe(e){return EA(e)&&SA(e)}function pqe(e){var t=_A(e)?z6.call(e):"";return t==$ze||t==Uze}function fqe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wne}function _A(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function EA(e){return!!e&&typeof e=="object"}function mqe(e){return typeof e=="string"||!Zne(e)&&EA(e)&&z6.call(e)==zze}function hqe(e){return typeof e=="symbol"||EA(e)&&z6.call(e)==qze}function gqe(e){if(!e)return e===0?e:0;if(e=bqe(e),e===Bne||e===-Bne){var t=e<0?-1:1;return t*Rze}return e===e?e:0}function yqe(e){var t=gqe(e),r=t%1;return t===t?r?t-r:t:0}function bqe(e){if(typeof e=="number")return e;if(hqe(e))return Vne;if(_A(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_A(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Bze,"");var r=Wze.test(e);return r||Zze.test(e)?Gze(e.slice(2),r?2:8):Vze.test(e)?Vne:+e}function vqe(e){return SA(e)?aqe(e):oqe(e)}function _qe(e){return e?eqe(e,vqe(e)):[]}Hne.exports=cqe});var Kne=h((_St,Jne)=>{var wqe="[object Boolean]",Sqe=Object.prototype,Eqe=Sqe.toString;function xqe(e){return e===!0||e===!1||Oqe(e)&&Eqe.call(e)==wqe}function Oqe(e){return!!e&&typeof e=="object"}Jne.exports=xqe});var tie=h((wSt,eie)=>{var Xne=1/0,Cqe=17976931348623157e292,Yne=NaN,Tqe="[object Symbol]",Iqe=/^\s+|\s+$/g,Aqe=/^[-+]0x[0-9a-f]+$/i,Dqe=/^0b[01]+$/i,Lqe=/^0o[0-7]+$/i,kqe=parseInt,Nqe=Object.prototype,jqe=Nqe.toString;function Pqe(e){return typeof e=="number"&&e==$qe(e)}function Qne(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Mqe(e){return!!e&&typeof e=="object"}function Rqe(e){return typeof e=="symbol"||Mqe(e)&&jqe.call(e)==Tqe}function Fqe(e){if(!e)return e===0?e:0;if(e=Uqe(e),e===Xne||e===-Xne){var t=e<0?-1:1;return t*Cqe}return e===e?e:0}function $qe(e){var t=Fqe(e),r=t%1;return t===t?r?t-r:t:0}function Uqe(e){if(typeof e=="number")return e;if(Rqe(e))return Yne;if(Qne(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qne(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Iqe,"");var r=Dqe.test(e);return r||Lqe.test(e)?kqe(e.slice(2),r?2:8):Aqe.test(e)?Yne:+e}eie.exports=Pqe});var nie=h((SSt,rie)=>{var zqe="[object Number]",qqe=Object.prototype,Bqe=qqe.toString;function Vqe(e){return!!e&&typeof e=="object"}function Wqe(e){return typeof e=="number"||Vqe(e)&&Bqe.call(e)==zqe}rie.exports=Wqe});var sie=h((ESt,oie)=>{var Zqe="[object Object]";function Hqe(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function Gqe(e,t){return function(r){return e(t(r))}}var Jqe=Function.prototype,iie=Object.prototype,aie=Jqe.toString,Kqe=iie.hasOwnProperty,Xqe=aie.call(Object),Yqe=iie.toString,Qqe=Gqe(Object.getPrototypeOf,Object);function eBe(e){return!!e&&typeof e=="object"}function tBe(e){if(!eBe(e)||Yqe.call(e)!=Zqe||Hqe(e))return!1;var t=Qqe(e);if(t===null)return!0;var r=Kqe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&aie.call(r)==Xqe}oie.exports=tBe});var cie=h((xSt,lie)=>{var rBe="[object String]",nBe=Object.prototype,iBe=nBe.toString,aBe=Array.isArray;function oBe(e){return!!e&&typeof e=="object"}function sBe(e){return typeof e=="string"||!aBe(e)&&oBe(e)&&iBe.call(e)==rBe}lie.exports=sBe});var mie=h((OSt,fie)=>{var lBe="Expected a function",uie=1/0,cBe=17976931348623157e292,die=NaN,uBe="[object Symbol]",dBe=/^\s+|\s+$/g,pBe=/^[-+]0x[0-9a-f]+$/i,fBe=/^0b[01]+$/i,mBe=/^0o[0-7]+$/i,hBe=parseInt,gBe=Object.prototype,yBe=gBe.toString;function bBe(e,t){var r;if(typeof t!="function")throw new TypeError(lBe);return e=EBe(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=void 0),r}}function vBe(e){return bBe(2,e)}function pie(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function _Be(e){return!!e&&typeof e=="object"}function wBe(e){return typeof e=="symbol"||_Be(e)&&yBe.call(e)==uBe}function SBe(e){if(!e)return e===0?e:0;if(e=xBe(e),e===uie||e===-uie){var t=e<0?-1:1;return t*cBe}return e===e?e:0}function EBe(e){var t=SBe(e),r=t%1;return t===t?r?t-r:t:0}function xBe(e){if(typeof e=="number")return e;if(wBe(e))return die;if(pie(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pie(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(dBe,"");var r=fBe.test(e);return r||mBe.test(e)?hBe(e.slice(2),r?2:8):pBe.test(e)?die:+e}fie.exports=vBe});var Eie=h((CSt,Sie)=>{var hie=hA(),OBe=yA(),CBe=gA(),gie=M6(),TBe=Gne(),q6=Kne(),yie=tie(),xA=nie(),vie=sie(),Iu=cie(),IBe=mie(),{KeyObject:ABe,createSecretKey:DBe,createPrivateKey:LBe}=require("crypto"),_ie=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];OBe&&_ie.splice(3,0,"PS256","PS384","PS512");var kBe={expiresIn:{isValid:function(e){return yie(e)||Iu(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return yie(e)||Iu(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return Iu(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:TBe.bind(null,_ie),message:'"algorithm" must be a valid string enum value'},header:{isValid:vie,message:'"header" must be an object'},encoding:{isValid:Iu,message:'"encoding" must be a string'},issuer:{isValid:Iu,message:'"issuer" must be a string'},subject:{isValid:Iu,message:'"subject" must be a string'},jwtid:{isValid:Iu,message:'"jwtid" must be a string'},noTimestamp:{isValid:q6,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Iu,message:'"keyid" must be a string'},mutatePayload:{isValid:q6,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:q6,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:q6,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},NBe={iat:{isValid:xA,message:'"iat" should be a number of seconds'},exp:{isValid:xA,message:'"exp" should be a number of seconds'},nbf:{isValid:xA,message:'"nbf" should be a number of seconds'}};function wie(e,t,r,n){if(!vie(r))throw new Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach(function(i){let a=e[i];if(!a){if(!t)throw new Error('"'+i+'" is not allowed in "'+n+'"');return}if(!a.isValid(r[i]))throw new Error(a.message)})}function jBe(e){return wie(kBe,!1,e,"options")}function PBe(e){return wie(NBe,!0,e,"payload")}var bie={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},MBe=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];Sie.exports=function(e,t,r,n){typeof r=="function"?(n=r,r={}):r=r||{};let i=typeof e=="object"&&!Buffer.isBuffer(e),a=Object.assign({alg:r.algorithm||"HS256",typ:i?"JWT":void 0,kid:r.keyid},r.header);function o(c){if(n)return n(c);throw c}if(!t&&r.algorithm!=="none")return o(new Error("secretOrPrivateKey must have a value"));if(t!=null&&!(t instanceof ABe))try{t=LBe(t)}catch{try{t=DBe(typeof t=="string"?Buffer.from(t):t)}catch{return o(new Error("secretOrPrivateKey is not valid key material"))}}if(a.alg.startsWith("HS")&&t.type!=="secret")return o(new Error(`secretOrPrivateKey must be a symmetric key when using ${a.alg}`));if(/^(?:RS|PS|ES)/.test(a.alg)){if(t.type!=="private")return o(new Error(`secretOrPrivateKey must be an asymmetric key when using ${a.alg}`));if(!r.allowInsecureKeySizes&&!a.alg.startsWith("ES")&&t.asymmetricKeyDetails!==void 0&&t.asymmetricKeyDetails.modulusLength<2048)return o(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${a.alg}`))}if(typeof e>"u")return o(new Error("payload is required"));if(i){try{PBe(e)}catch(c){return o(c)}r.mutatePayload||(e=Object.assign({},e))}else{let c=MBe.filter(function(u){return typeof r[u]<"u"});if(c.length>0)return o(new Error("invalid "+c.join(",")+" option for "+typeof e+" payload"))}if(typeof e.exp<"u"&&typeof r.expiresIn<"u")return o(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof e.nbf<"u"&&typeof r.notBefore<"u")return o(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{jBe(r)}catch(c){return o(c)}if(!r.allowInvalidAsymmetricKeyTypes)try{CBe(a.alg,t)}catch(c){return o(c)}let s=e.iat||Math.floor(Date.now()/1e3);if(r.noTimestamp?delete e.iat:i&&(e.iat=s),typeof r.notBefore<"u"){try{e.nbf=hie(r.notBefore,s)}catch(c){return o(c)}if(typeof e.nbf>"u")return o(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof r.expiresIn<"u"&&typeof e=="object"){try{e.exp=hie(r.expiresIn,s)}catch(c){return o(c)}if(typeof e.exp>"u")return o(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(bie).forEach(function(c){let u=bie[c];if(typeof r[c]<"u"){if(typeof e[u]<"u")return o(new Error('Bad "options.'+c+'" option. The payload already has an "'+u+'" property.'));e[u]=r[c]}});let l=r.encoding||"utf8";if(typeof n=="function")n=n&&IBe(n),gie.createSign({header:a,privateKey:t,payload:e,encoding:l}).once("error",n).once("done",function(c){if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(a.alg)&&c.length<256)return n(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${a.alg}`));n(null,c)});else{let c=gie.sign({header:a,payload:e,secret:t,encoding:l});if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(a.alg)&&c.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${a.alg}`);return c}}});var Oie=h((TSt,xie)=>{xie.exports={decode:pA(),verify:qne(),sign:Eie(),JsonWebTokenError:q0(),NotBeforeError:fA(),TokenExpiredError:mA()}});var _p=h(V0=>{"use strict";Object.defineProperty(V0,"__esModule",{value:!0});V0.PollingClient=void 0;var OA=He(),RBe=Ke(),Cie=e2(),FBe=yt(),Tie=wt(),Iie=sn(),B0=class extends OA.AsyncOptionalCreatable{logger;options;constructor(t){super(t),this.options=(0,RBe.ensure)(t)}async init(){this.logger=await FBe.Logger.child(this.constructor.name)}async subscribe(){let t,r=async()=>{let n;try{n=await this.options.poll()}catch(i){let a=t=i;throw["ETIMEDOUT","ENOTFOUND","ECONNRESET","socket hang up"].some(o=>a.message.includes(o))?(this.logger.debug("Network error on the request",a),await Iie.Lifecycle.getInstance().emitWarning("Network error occurred. Continuing to poll."),Tie.SfError.wrap(a)):new Cie.NotRetryableError(a.name)}if(n.completed)return n.payload;throw new Error("Operation did not complete. Retrying...")};try{return await(0,Cie.retryDecorator)(r,{timeout:this.options.timeout.milliseconds,delay:this.options.frequency.milliseconds,retries:this.options.retryLimit??"INFINITELY"})()}catch(n){throw t||(await Iie.Lifecycle.getInstance().emit("POLLING_TIME_OUT",n),this.logger.debug("Polling timed out"),new Tie.SfError("The client has timed out.",this.options.timeoutErrorName??"PollingClientTimeout"))}}};V0.PollingClient=B0;(function(e){class t{frequency;poll;timeout;constructor(n){this.poll=n,this.timeout=OA.Duration.minutes(3),this.frequency=OA.Duration.seconds(15)}}e.DefaultPollingOptions=t})(B0||(V0.PollingClient=B0={}))});var W0=h(B6=>{"use strict";Object.defineProperty(B6,"__esModule",{value:!0});B6.MyDomainResolver=void 0;var $Be=require("node:dns"),UBe=require("node:url"),zBe=require("node:util"),qBe=Ke(),Zm=He(),BBe=yt(),VBe=ec(),WBe=Cr(),ZBe=_p(),HBe=Math.max(3,new Zm.Env().getNumber("SFDX_DNS_TIMEOUT",3)),GBe=Math.max(1,new Zm.Env().getNumber("SFDX_DNS_RETRY_FREQUENCY",1)),CA=class e extends Zm.AsyncOptionalCreatable{static DEFAULT_DOMAIN=new UBe.URL("https://login.salesforce.com");logger;options;constructor(t){super(t),this.options=t??{url:e.DEFAULT_DOMAIN}}getTimeout(){return this.options.timeout??Zm.Duration.seconds(HBe)}getFrequency(){return this.options.frequency??Zm.Duration.seconds(GBe)}async resolve(){let t=new Zm.Env;if(t.getBoolean("SF_DISABLE_DNS_CHECK",t.getBoolean("SFDX_DISABLE_DNS_CHECK",!1)))return this.logger.debug("SF_DISABLE_DNS_CHECK set to true. Skipping DNS check..."),this.options.url.host;if(WBe.Global.isWeb)return this.logger.debug("Web browser detected. Skipping DNS check..."),this.options.url.host;let r=this,n={async poll(){let{hostname:a}=r.options.url,o;try{return r.logger.debug(`Attempting to resolve url: ${a}`),new VBe.SfdcUrl(r.options.url).isLocalUrl()?{completed:!0,payload:"127.0.0.1"}:(o=await(0,zBe.promisify)($Be.lookup)(a),r.logger.debug(`Successfully resolved host: ${a} result: ${JSON.stringify(o)}`),{completed:!0,payload:o.address})}catch(s){return r.logger.debug(`An error occurred trying to resolve: ${a}`),r.logger.debug(`Error: ${s.message}`),r.logger.debug("Re-trying dns lookup again...."),{completed:!1}}},timeout:this.getTimeout(),frequency:this.getFrequency(),timeoutErrorName:"MyDomainResolverTimeoutError"},i=await ZBe.PollingClient.create(n);return(0,qBe.ensureString)(await i.subscribe())}async init(){this.logger=await BBe.Logger.child("MyDomainResolver")}};B6.MyDomainResolver=CA});var ec=h(Z0=>{"use strict";Object.defineProperty(Z0,"__esModule",{value:!0});Z0.SfdcUrl=void 0;Z0.getLoginAudienceCombos=YBe;var Hm=require("node:url"),Au=He(),V6=Ke(),Aie=W0(),JBe=yt(),KBe=sn(),XBe=H2();function YBe(e,t){return[...[[t,t],[pn.SANDBOX,pn.SANDBOX],[pn.PRODUCTION,pn.PRODUCTION],[e,e],[e,pn.PRODUCTION],[e,pn.SANDBOX],[t,e],[t,pn.PRODUCTION],[t,pn.SANDBOX],[pn.PRODUCTION,e],[pn.SANDBOX,e]].filter(([i,a])=>!(i===pn.PRODUCTION&&a===pn.SANDBOX||i===pn.SANDBOX&&a===pn.PRODUCTION)).reduce((i,[a,o])=>{let s=new Hm.URL(a),l=new Hm.URL(o);return i.set(`${s.origin}:${l.origin}`,[a,o]),i},new Map).values()]}var pn=class e extends Hm.URL{static SANDBOX="https://test.salesforce.com";static PRODUCTION="https://login.salesforce.com";static cache=new Set;logger;envVars;constructor(t,r){super(t.toString(),r),this.protocol!=="https:"&&!e.cache.has(this.origin)&&(e.cache.add(this.origin),KBe.Lifecycle.getInstance().emitWarning(`Using insecure protocol: ${this.protocol} on url: ${this.origin}`)),this.envVars=new XBe.EnvVars}static isValidUrl(t){try{return new Hm.URL(t.toString()),!0}catch{return!1}}async getJwtAudienceUrl(t){this.logger=await JBe.Logger.child("SfdcUrl");let r=this.envVars.getString("SF_AUDIENCE_URL","");return r?(this.logger.debug(`Audience URL overridden by env var SF_AUDIENCE_URL=${r}`),r):t&&/^gs1/gi.test(t)||/(gs1.my.salesforce.com)/gi.test(this.origin)?"https://gs1.salesforce.com":e.PRODUCTION}isSalesforceDomain(){let t=[".cloudforce.com",".content.force.com",".force.com",".salesforce.com",".salesforceliveagent.com",".secure.force.com","crmforce.mil",".sfcrmproducts.cn"],r=["developer.salesforce.com","trailhead.salesforce.com"];return t.some(n=>this.hostname.endsWith(n)||r.includes(this.hostname))}isInternalUrl(){let t=[".vpod.","stm.salesforce.com","stm.force.com",".blitz.salesforce.com",".stm.salesforce.ms",".pc-rnd.force.com",".pc-rnd.salesforce.com",".crm.dev"];return this.origin.startsWith("https://gs1.")||this.isLocalUrl()||t.some(r=>this.origin.includes(r))}isLocalUrl(){return["localhost.sfdcdev.",".internal."].some(r=>this.origin.includes(r))}toLightningDomain(){return this.origin.endsWith(".my.salesforce.mil")?this.origin.replace(".my.salesforce.mil",".lightning.crmforce.mil"):this.origin.endsWith(".my.salesforce.com")?this.origin.replace(".my.salesforce.com",".lightning.force.com"):this.origin.endsWith(".my-salesforce.com")?this.origin.replace(".my-salesforce.com",".my-lightning.com"):this.origin.endsWith(".my.sfcrmproducts.cn")?this.origin.replace(".my.sfcrmproducts.cn",".lightning.sfcrmapps.cn"):`https://${(0,V6.ensureString)((0,V6.ensureArray)(/https?:\/\/([^.]*)/.exec(this.origin)).slice(1,2).at(-1))}.lightning.force.com`}async checkLightningDomain(){let t=(0,V6.ensureNumber)(this.envVars.getNumber("SF_DOMAIN_RETRY",240)),r=new Au.Duration(t,Au.Duration.Unit.SECONDS);return this.isInternalUrl()||r.seconds===0||await(await Aie.MyDomainResolver.create({url:new Hm.URL(this.toLightningDomain()),timeout:r,frequency:new Au.Duration(1,Au.Duration.Unit.SECONDS)})).resolve(),!0}async lookup(){let t=(0,V6.ensureNumber)(this.envVars.getNumber("SF_DOMAIN_RETRY",240)),r=new Au.Duration(t,Au.Duration.Unit.SECONDS);return(await Aie.MyDomainResolver.create({url:new Hm.URL(this.origin),timeout:r,frequency:new Au.Duration(1,Au.Duration.Unit.SECONDS)})).resolve()}isLightningDomain(){return this.origin.includes(".lightning.force.com")||this.origin.includes(".lightning.crmforce.mil")||this.origin.includes(".lightning.sfcrmapps.cn")}};Z0.SfdcUrl=pn});var Du=h(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.ORG_CONFIG_ALLOWED_PROPERTIES=Gm.OrgConfigProperties=void 0;var LSt=require("node:path"),W6=Ke(),QBe=bt(),TA=ec(),eVe=jl(),fi=new QBe.Messages("@salesforce/core","config",new Map([["unknownConfigKey","Unknown config name: %s."],["deprecatedConfigKey","Deprecated config name: %s. Please use %s instead."],["invalidWrite","The writeSync method is not allowed on SfdxConfig. Use the async write method instead."],["invalidConfigValue","Invalid config value: %s."],["invalidInstanceUrl","Specify a valid Salesforce instance URL."],["invalidApiVersion","Specify a valid Salesforce API version, for example, 42.0."],["invalidCustomOrgMetadataTemplates","Specify a valid repository URL or directory for the custom org metadata templates."],["invalidIsvDebuggerSid","Specify a valid Debugger SID."],["invalidIsvDebuggerUrl","Specify a valid Debugger URL."],["invalidNumberConfigValue","Specify a valid positive integer, for example, 150000."],["invalidBooleanConfigValue","The config value can only be set to true or false."],["invalidProjectWorkspace","%s does not contain a valid Salesforce DX project."],["schemaValidationError",`The config file "%s" is not schema valid.
|
||
Due to: %s`],["schemaValidationError.actions",["Fix the invalid entries at %s."]],["missingDefaultPath",'In sfdx-project.json, be sure to specify which package directory (path) is the default. Example: `[{ "path": "packageDirectory1", "default": true }, { "path": "packageDirectory2" }]`'],["missingPackageDirectory",'The path "%s", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.'],["invalidPackageDirectory",'The path "%s", specified in sfdx-project.json, must be indicated as a relative path to the project root.'],["multipleDefaultPaths","In sfdx-project.json, indicate only one package directory (path) as the default."],["singleNonDefaultPackage",'The sfdx-project.json file must include one, and only one, default package directory (path). Because your sfdx-project.json file contains only one package directory, it must be the default. Remove the `"default": false` key and try again.'],["target-org","Username or alias of the org that all commands run against by default. (sf only)"],["target-dev-hub","Username or alias of your default Dev Hub org. (sf only)"],["defaultUsername","Username or alias of the org that all commands run against by default. (sfdx only)"],["defaultDevHubUsername","Username or alias of your default Dev Hub org. (sfdx only)"],["isvDebuggerSid","ISV debugger SID (sfdx only)"],["isvDebuggerUrl","ISV debugger URL (sfdx only)"],["org-isv-debugger-sid","ISV debugger SID."],["org-isv-debugger-url","ISV debugger URL."],["apiVersion","API version of your project. Default: API version of your Dev Hub org. (sfdx only)"],["org-api-version","API version of your project. Default: API version of your Dev Hub org."],["disableTelemetry","Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)"],["disable-telemetry","Disables the collection of usage and user environment information, etc. Default: false."],["maxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)"],["org-max-query-limit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000."],["restDeploy","Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)"],["instanceUrl","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)"],["org-instance-url","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com."],["customOrgMetadataTemplates","A valid repository URL or directory for the custom org metadata templates."],["org-custom-metadata-templates","A valid repository URL or directory for the custom org metadata templates."],["org-capitalize-record-types","Whether record types are capitalized on scratch org creation."],["invalidId","The given id %s is not a valid 15 or 18 character Salesforce ID."]])),vr;(function(e){e.TARGET_ORG="target-org",e.TARGET_DEV_HUB="target-dev-hub",e.ORG_API_VERSION="org-api-version",e.ORG_CUSTOM_METADATA_TEMPLATES="org-custom-metadata-templates",e.ORG_MAX_QUERY_LIMIT="org-max-query-limit",e.ORG_INSTANCE_URL="org-instance-url",e.ORG_ISV_DEBUGGER_SID="org-isv-debugger-sid",e.ORG_ISV_DEBUGGER_URL="org-isv-debugger-url",e.ORG_CAPITALIZE_RECORD_TYPES="org-capitalize-record-types"})(vr||(Gm.OrgConfigProperties=vr={}));Gm.ORG_CONFIG_ALLOWED_PROPERTIES=[{key:vr.ORG_CAPITALIZE_RECORD_TYPES,description:fi.getMessage(vr.ORG_CAPITALIZE_RECORD_TYPES)},{key:vr.ORG_CUSTOM_METADATA_TEMPLATES,description:fi.getMessage(vr.ORG_CUSTOM_METADATA_TEMPLATES)},{key:vr.TARGET_ORG,description:fi.getMessage(vr.TARGET_ORG)},{key:vr.TARGET_DEV_HUB,description:fi.getMessage(vr.TARGET_DEV_HUB)},{key:vr.ORG_INSTANCE_URL,description:fi.getMessage(vr.ORG_INSTANCE_URL),input:{validator:e=>e==null?!0:(0,W6.isString)(e)&&TA.SfdcUrl.isValidUrl(e)&&(new TA.SfdcUrl(e).isSalesforceDomain()||new TA.SfdcUrl(e).isInternalUrl()),failedMessage:fi.getMessage("invalidInstanceUrl")}},{key:vr.ORG_API_VERSION,description:fi.getMessage(vr.ORG_API_VERSION),hidden:!0,input:{validator:e=>e==null||(0,W6.isString)(e)&&(0,eVe.validateApiVersion)(e),failedMessage:fi.getMessage("invalidApiVersion")}},{key:vr.ORG_ISV_DEBUGGER_SID,description:fi.getMessage(vr.ORG_ISV_DEBUGGER_SID),encrypted:!0,input:{validator:e=>e==null||(0,W6.isString)(e),failedMessage:fi.getMessage("invalidIsvDebuggerSid")}},{key:vr.ORG_ISV_DEBUGGER_URL,description:fi.getMessage(vr.ORG_ISV_DEBUGGER_URL),input:{validator:e=>e==null||(0,W6.isString)(e),failedMessage:fi.getMessage("invalidIsvDebuggerUrl")}},{key:vr.ORG_MAX_QUERY_LIMIT,description:fi.getMessage(vr.ORG_MAX_QUERY_LIMIT),input:{validator:e=>e>>>0===parseFloat(e)&&e>0,failedMessage:fi.getMessage("invalidNumberConfigValue")}}]});var G0=h(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.Config=Cn.SfProperty=Cn.SFDX_ALLOWED_PROPERTIES=Cn.SfdxPropertyKeys=Cn.SF_ALLOWED_PROPERTIES=Cn.SfConfigProperties=void 0;var AA=require("node:path"),Lu=Ke(),kie=He(),Z6=Rr(),Jm=Cr(),LA=yt(),tVe=bt(),rVe=jl(),IA=ec(),tc=Du(),Die=sn(),Nie=nu(),nVe=T2(),Dt=new tVe.Messages("@salesforce/core","config",new Map([["unknownConfigKey","Unknown config name: %s."],["deprecatedConfigKey","Deprecated config name: %s. Please use %s instead."],["invalidWrite","The writeSync method is not allowed on SfdxConfig. Use the async write method instead."],["invalidConfigValue","Invalid config value: %s."],["invalidInstanceUrl","Specify a valid Salesforce instance URL."],["invalidApiVersion","Specify a valid Salesforce API version, for example, 42.0."],["invalidCustomOrgMetadataTemplates","Specify a valid repository URL or directory for the custom org metadata templates."],["invalidIsvDebuggerSid","Specify a valid Debugger SID."],["invalidIsvDebuggerUrl","Specify a valid Debugger URL."],["invalidNumberConfigValue","Specify a valid positive integer, for example, 150000."],["invalidBooleanConfigValue","The config value can only be set to true or false."],["invalidProjectWorkspace","%s does not contain a valid Salesforce DX project."],["schemaValidationError",`The config file "%s" is not schema valid.
|
||
Due to: %s`],["schemaValidationError.actions",["Fix the invalid entries at %s."]],["missingDefaultPath",'In sfdx-project.json, be sure to specify which package directory (path) is the default. Example: `[{ "path": "packageDirectory1", "default": true }, { "path": "packageDirectory2" }]`'],["missingPackageDirectory",'The path "%s", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.'],["invalidPackageDirectory",'The path "%s", specified in sfdx-project.json, must be indicated as a relative path to the project root.'],["multipleDefaultPaths","In sfdx-project.json, indicate only one package directory (path) as the default."],["singleNonDefaultPackage",'The sfdx-project.json file must include one, and only one, default package directory (path). Because your sfdx-project.json file contains only one package directory, it must be the default. Remove the `"default": false` key and try again.'],["target-org","Username or alias of the org that all commands run against by default. (sf only)"],["target-dev-hub","Username or alias of your default Dev Hub org. (sf only)"],["defaultUsername","Username or alias of the org that all commands run against by default. (sfdx only)"],["defaultDevHubUsername","Username or alias of your default Dev Hub org. (sfdx only)"],["isvDebuggerSid","ISV debugger SID (sfdx only)"],["isvDebuggerUrl","ISV debugger URL (sfdx only)"],["org-isv-debugger-sid","ISV debugger SID."],["org-isv-debugger-url","ISV debugger URL."],["apiVersion","API version of your project. Default: API version of your Dev Hub org. (sfdx only)"],["org-api-version","API version of your project. Default: API version of your Dev Hub org."],["disableTelemetry","Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)"],["disable-telemetry","Disables the collection of usage and user environment information, etc. Default: false."],["maxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)"],["org-max-query-limit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000."],["restDeploy","Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)"],["instanceUrl","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)"],["org-instance-url","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com."],["customOrgMetadataTemplates","A valid repository URL or directory for the custom org metadata templates."],["org-custom-metadata-templates","A valid repository URL or directory for the custom org metadata templates."],["org-capitalize-record-types","Whether record types are capitalized on scratch org creation."],["invalidId","The given id %s is not a valid 15 or 18 character Salesforce ID."]])),iVe="sfdx-config.json",aVe="config.json",H0;(function(e){e.DISABLE_TELEMETRY="disable-telemetry"})(H0||(Cn.SfConfigProperties=H0={}));Cn.SF_ALLOWED_PROPERTIES=[{key:H0.DISABLE_TELEMETRY,description:Dt.getMessage(H0.DISABLE_TELEMETRY),input:{validator:e=>e==null||DA(e),failedMessage:Dt.getMessage("invalidBooleanConfigValue")}}];var _r;(function(e){e.DEFAULT_DEV_HUB_USERNAME="defaultdevhubusername",e.DEFAULT_USERNAME="defaultusername",e.ISV_DEBUGGER_SID="isvDebuggerSid",e.ISV_DEBUGGER_URL="isvDebuggerUrl",e.API_VERSION="apiVersion",e.DISABLE_TELEMETRY="disableTelemetry",e.CUSTOM_ORG_METADATA_TEMPLATES="customOrgMetadataTemplates",e.MAX_QUERY_LIMIT="maxQueryLimit",e.REST_DEPLOY="restDeploy",e.INSTANCE_URL="instanceUrl"})(_r||(Cn.SfdxPropertyKeys=_r={}));Cn.SFDX_ALLOWED_PROPERTIES=[{key:_r.INSTANCE_URL,description:Dt.getMessage(_r.INSTANCE_URL),newKey:tc.OrgConfigProperties.ORG_INSTANCE_URL,deprecated:!0,input:{validator:e=>e==null?!0:(0,Lu.isString)(e)&&IA.SfdcUrl.isValidUrl(e)&&(new IA.SfdcUrl(e).isSalesforceDomain()||new IA.SfdcUrl(e).isInternalUrl()),failedMessage:Dt.getMessage("invalidInstanceUrl")}},{key:_r.API_VERSION,newKey:tc.OrgConfigProperties.ORG_API_VERSION,deprecated:!0,description:Dt.getMessage(_r.API_VERSION),hidden:!0,input:{validator:e=>e==null||(0,Lu.isString)(e)&&(0,rVe.validateApiVersion)(e),failedMessage:Dt.getMessage("invalidApiVersion")}},{key:_r.DEFAULT_DEV_HUB_USERNAME,newKey:tc.OrgConfigProperties.TARGET_DEV_HUB,deprecated:!0,description:Dt.getMessage("defaultDevHubUsername")},{key:_r.DEFAULT_USERNAME,newKey:tc.OrgConfigProperties.TARGET_ORG,deprecated:!0,description:Dt.getMessage("defaultUsername")},{key:_r.ISV_DEBUGGER_SID,newKey:tc.OrgConfigProperties.ORG_ISV_DEBUGGER_SID,deprecated:!0,description:Dt.getMessage(_r.ISV_DEBUGGER_SID),encrypted:!0,input:{validator:e=>e==null||(0,Lu.isString)(e),failedMessage:Dt.getMessage("invalidIsvDebuggerSid")}},{key:_r.ISV_DEBUGGER_URL,newKey:tc.OrgConfigProperties.ORG_ISV_DEBUGGER_URL,deprecated:!0,description:Dt.getMessage(_r.ISV_DEBUGGER_URL),input:{validator:e=>e==null||(0,Lu.isString)(e),failedMessage:Dt.getMessage("invalidIsvDebuggerUrl")}},{key:_r.DISABLE_TELEMETRY,newKey:H0.DISABLE_TELEMETRY,deprecated:!0,description:Dt.getMessage(_r.DISABLE_TELEMETRY),input:{validator:e=>e==null||DA(e),failedMessage:Dt.getMessage("invalidBooleanConfigValue")}},{key:_r.CUSTOM_ORG_METADATA_TEMPLATES,newKey:tc.OrgConfigProperties.ORG_CUSTOM_METADATA_TEMPLATES,deprecated:!0,description:Dt.getMessage(_r.CUSTOM_ORG_METADATA_TEMPLATES)},{key:_r.REST_DEPLOY,description:Dt.getMessage(_r.REST_DEPLOY),hidden:!0,newKey:"org-metadata-rest-deploy",deprecated:!0,input:{validator:e=>e!=null&&DA(e),failedMessage:Dt.getMessage("invalidBooleanConfigValue")}},{key:_r.MAX_QUERY_LIMIT,description:Dt.getMessage(_r.MAX_QUERY_LIMIT),hidden:!0,newKey:tc.OrgConfigProperties.ORG_MAX_QUERY_LIMIT,deprecated:!0,input:{validator:e=>e>>>0===parseFloat(e)&&e>0,failedMessage:Dt.getMessage("invalidNumberConfigValue")}}];Cn.SfProperty={};var H6=class e extends Nie.ConfigFile{static allowedProperties=[...Cn.SFDX_ALLOWED_PROPERTIES,...Cn.SF_ALLOWED_PROPERTIES,...tc.ORG_CONFIG_ALLOWED_PROPERTIES];sfdxPath;constructor(t){super({isGlobal:!1,...t??{},isState:!0,filename:e.getFileName(),stateFolder:Jm.Global.SF_STATE_FOLDER}),this.getPath(),Jm.Global.SFDX_INTEROPERABILITY&&(this.sfdxPath=lVe(this.options))}static getFileName(){return aVe}static getAllowedProperties(){return e.allowedProperties}static addAllowedProperties(t){let r=Object.keys(e.propertyConfigMap()),n=LA.Logger.childFromRoot("core:config");t.forEach(i=>{if(r.includes(i.key)){n.info(`Key ${i.key} already exists in allowedProperties, skipping.`);return}e.allowedProperties.push(i)})}static async update(t,r,n){let i=await e.create({isGlobal:t});return await i.read(),n==null?i.unset(r):i.set(r,n),i.write()}static async clear(){let[t,r]=await Promise.all([e.create({isGlobal:!0}),e.create()]);t.clear(),r.clear(),await Promise.all([t.write(),r.write()])}static getPropertyConfigMeta(t){let r=e.propertyConfigMap()[t];return r?.deprecated&&r?.newKey?e.propertyConfigMap()[r.newKey]:r}static propertyConfigMap(){return(0,kie.keyBy)(e.allowedProperties,"key")}async read(t=!0){try{return await super.read(!1,t),Jm.Global.SFDX_INTEROPERABILITY&&this.contents.merge(Lie(this.sfdxPath,this)),await this.cryptProperties(!1),this.getContents()}finally{await this.clearCrypto()}}readSync(t=!0){return super.readSync(!1,t),Jm.Global.SFDX_INTEROPERABILITY&&this.contents.merge(Lie(this.sfdxPath,this)),this.getContents()}async write(){return await this.cryptProperties(!0),await super.write(),Jm.Global.SFDX_INTEROPERABILITY&&await cVe(this.sfdxPath,this.getContents()),await this.cryptProperties(!1),this.getContents()}writeSync(t){throw Dt.createError("invalidWrite")}set(t,r){let n=e.allowedProperties.find(i=>i.key===t);if(!n)throw Dt.createError("unknownConfigKey",[t]);if(n.deprecated&&n.newKey)return Die.Lifecycle.getInstance().emitWarning(Dt.getMessage("deprecatedConfigKey",[t,n.newKey])),this.set(n.newKey,r);if(r!==void 0&&n.input)if(n.input?.validator(r))super.set(n.key,r);else{let i=r?.toString()??"";throw n.input.failedMessage&&(i=(0,Lu.isString)(n.input.failedMessage)?n.input.failedMessage:n.input.failedMessage(r)),Dt.createError("invalidConfigValue",[i])}else super.set(n.key,r);return this.getContents()}unset(t){let r=e.allowedProperties.find(n=>n.key===t);if(!r)throw Dt.createError("unknownConfigKey",[t]);return r.deprecated&&r.newKey?(Die.Lifecycle.getInstance().emitWarning(Dt.getMessage("deprecatedConfigKey",[t,r.newKey])),super.unset(r.key),this.unset(r.newKey)):super.unset(r.key)}getPropertyConfig(t){let r=e.propertyConfigMap()[t];if(!r){let n=e.allowedProperties.find(i=>i.newKey);if(n)return this.getPropertyConfig(n.key);throw Dt.createError("unknownConfigKey",[t])}return r}async init(){await super.init()}async cryptProperties(t){if(this.entries().some(([n])=>!!e.propertyConfigMap()[n]?.encrypted)){await this.initCrypto();let n=(0,Lu.ensure)(this.crypto);this.forEach((i,a)=>{this.getPropertyConfig(i).encrypted&&(0,Lu.isString)(a)&&super.set(i,(0,Lu.ensure)(t?n.encrypt(a):n.decrypt(a)))})}}};Cn.Config=H6;var oVe=e=>Object.fromEntries(Object.entries(e).map(([t,r])=>{let n=H6.getAllowedProperties().find(i=>i.newKey===t)??{};return n.deprecated&&n.newKey?[n.key,r]:[t,r]})),sVe=(e,t)=>Object.fromEntries(Object.entries(e).map(([r,n])=>{let i=t.getPropertyConfig(r);return i.deprecated&&i.newKey?[i.newKey,n]:[r,n]})),lVe=e=>{let t=e.rootFolder??Nie.ConfigFile.resolveRootFolderSync(!!e.isGlobal),r=e.isGlobal===!0||e.isState===!0?(0,AA.join)(t,Jm.Global.SFDX_STATE_FOLDER):t;return(0,AA.join)(r,iVe)},cVe=async(e,t)=>{try{let r=oVe(t);await Z6.fs.promises.mkdir((0,AA.dirname)(e),{recursive:!0}),await Z6.fs.promises.writeFile(e,JSON.stringify(r,null,2))}catch(r){LA.Logger.childFromRoot("core:config:writeToSfdx").debug(`Error writing to sfdx config file at ${e}: ${r instanceof Error?r.message:""}`)}},Lie=(e,t)=>{try{let r=Z6.fs.readFileSync(e,"utf8"),n=Z6.fs.statSync(e,{bigint:!0}).mtimeNs,i=sVe((0,kie.parseJsonMap)(r,e),t);return(0,nVe.stateFromContents)(i,n)}catch(r){return LA.Logger.childFromRoot("core:config:stateFromSfdxFileSync").debug(`Error reading state from sfdx config file at ${e}: ${r instanceof Error?r.message:""}`),{}}},DA=e=>typeof e=="string"&&["true","false"].includes(e)||typeof e=="boolean"});var rc=h(G6=>{"use strict";Object.defineProperty(G6,"__esModule",{value:!0});G6.ConfigAggregator=void 0;var kA=require("node:path"),NA=He(),jie=Ke(),uVe=bt(),Pie=sn(),dVe=J2(),Mie=H2(),Km=G0(),J0=new uVe.Messages("@salesforce/core","config",new Map([["unknownConfigKey","Unknown config name: %s."],["deprecatedConfigKey","Deprecated config name: %s. Please use %s instead."],["invalidWrite","The writeSync method is not allowed on SfdxConfig. Use the async write method instead."],["invalidConfigValue","Invalid config value: %s."],["invalidInstanceUrl","Specify a valid Salesforce instance URL."],["invalidApiVersion","Specify a valid Salesforce API version, for example, 42.0."],["invalidCustomOrgMetadataTemplates","Specify a valid repository URL or directory for the custom org metadata templates."],["invalidIsvDebuggerSid","Specify a valid Debugger SID."],["invalidIsvDebuggerUrl","Specify a valid Debugger URL."],["invalidNumberConfigValue","Specify a valid positive integer, for example, 150000."],["invalidBooleanConfigValue","The config value can only be set to true or false."],["invalidProjectWorkspace","%s does not contain a valid Salesforce DX project."],["schemaValidationError",`The config file "%s" is not schema valid.
|
||
Due to: %s`],["schemaValidationError.actions",["Fix the invalid entries at %s."]],["missingDefaultPath",'In sfdx-project.json, be sure to specify which package directory (path) is the default. Example: `[{ "path": "packageDirectory1", "default": true }, { "path": "packageDirectory2" }]`'],["missingPackageDirectory",'The path "%s", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.'],["invalidPackageDirectory",'The path "%s", specified in sfdx-project.json, must be indicated as a relative path to the project root.'],["multipleDefaultPaths","In sfdx-project.json, indicate only one package directory (path) as the default."],["singleNonDefaultPackage",'The sfdx-project.json file must include one, and only one, default package directory (path). Because your sfdx-project.json file contains only one package directory, it must be the default. Remove the `"default": false` key and try again.'],["target-org","Username or alias of the org that all commands run against by default. (sf only)"],["target-dev-hub","Username or alias of your default Dev Hub org. (sf only)"],["defaultUsername","Username or alias of the org that all commands run against by default. (sfdx only)"],["defaultDevHubUsername","Username or alias of your default Dev Hub org. (sfdx only)"],["isvDebuggerSid","ISV debugger SID (sfdx only)"],["isvDebuggerUrl","ISV debugger URL (sfdx only)"],["org-isv-debugger-sid","ISV debugger SID."],["org-isv-debugger-url","ISV debugger URL."],["apiVersion","API version of your project. Default: API version of your Dev Hub org. (sfdx only)"],["org-api-version","API version of your project. Default: API version of your Dev Hub org."],["disableTelemetry","Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)"],["disable-telemetry","Disables the collection of usage and user environment information, etc. Default: false."],["maxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)"],["org-max-query-limit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000."],["restDeploy","Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)"],["instanceUrl","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)"],["org-instance-url","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com."],["customOrgMetadataTemplates","A valid repository URL or directory for the custom org metadata templates."],["org-custom-metadata-templates","A valid repository URL or directory for the custom org metadata templates."],["org-capitalize-record-types","Whether record types are capitalized on scratch org creation."],["invalidId","The given id %s is not a valid 15 or 18 character Salesforce ID."]])),jA=class e extends NA.AsyncOptionalCreatable{static encrypted=!0;static instances=new Map;static mutex=new dVe.Mutex;allowedProperties;localConfig;globalConfig;envVars={};constructor(t){super(t??{});try{this.localConfig=new Km.Config({...Km.Config.getDefaultOptions(!1),...t?.projectPath?{rootFolder:t.projectPath}:{}})}catch(r){if(r.name!=="InvalidProjectWorkspaceError")throw r}this.globalConfig=new Km.Config(Km.Config.getDefaultOptions(!0)),this.setAllowedProperties(Km.Config.getAllowedProperties())}get config(){return this.resolveProperties(this.globalConfig.getContents(),this.localConfig?.getContents())}static async create(t){return e.mutex.lock(async()=>{let r=t?.projectPath?(0,kA.resolve)(t.projectPath):process.cwd();if(!e.instances.has(r)){let i=new this(t);e.instances.set(r,i),await i.init()}let n=e.instances.get(r);return e.encrypted&&await n.loadProperties(),t?.customConfigMeta&&Km.Config.addAllowedProperties(t.customConfigMeta),n})}static async clearInstance(t){return e.mutex.lock(()=>{if(t){let r=(0,kA.resolve)(t);e.instances.delete(r)}else e.instances.clear();e.encrypted=!0})}static getValue(t,r){return this.getInstance(r??process.cwd()).getInfo(t)}static getInstance(t=process.cwd()){let r=(0,kA.resolve)(t);if(!e.instances.has(r)){let n=new e({projectPath:r});e.instances.set(r,n),n.loadPropertiesSync()}return e.instances.get(r)}async init(){await this.loadProperties()}getPropertyValue(t){let r=this.getAllowedProperties().find(n=>t===n.key);if(r?.deprecated&&r.newKey){Pie.Lifecycle.getInstance().emitWarning(J0.getMessage("deprecatedConfigKey",[t,r.newKey]));let n=this.getAllowedProperties().find(i=>r.newKey===i.key);if(n)return this.getConfig()[n.key]??this.getConfig()[r.key]}if(this.getAllowedProperties().some(n=>t===n.key||t===n.newKey))return this.getConfig()[t];throw J0.createError("unknownConfigKey",[t])}getPropertyMeta(t){let r=this.getAllowedProperties().find(i=>t===i.key);if(r){if(r.deprecated&&r.newKey){Pie.Lifecycle.getInstance().emitWarning(J0.getMessage("deprecatedConfigKey",[t,r.newKey]));let i=this.getAllowedProperties().find(a=>t===a.newKey);if(i)return i??r}return r}let n=this.getAllowedProperties().find(i=>t===i.newKey);if(n)return n;throw J0.createError("unknownConfigKey",[t])}getInfo(t,r=!1){let n=this.getPropertyMeta(t);if(n.deprecated&&n.newKey&&r)throw J0.createError("deprecatedConfigKey",[t,n.newKey]);let i=n.newKey?this.getLocation(n.newKey):this.getLocation(t);return{key:n.newKey??t,location:i,value:this.getPropertyValue(n.newKey??t),path:this.getPath(n.newKey??t),isLocal:()=>i==="Local",isGlobal:()=>i==="Global",isEnvVar:()=>i==="Environment",deprecated:n.deprecated??!1}}getLocation(t){if(this.envVars[t]!=null)return"Environment";if(this.localConfig?.get(t))return"Local";if(this.globalConfig?.get(t))return"Global"}getPath(t){if(this.envVars[t]!=null)return`$${Mie.EnvVars.propertyToEnvName(t)}`;if(this.localConfig?.getContents()[t]!=null)return this.localConfig.getPath();if(this.globalConfig.getContents()[t]!=null)return this.globalConfig.getPath()}getConfigInfo(){let t=Object.keys(this.getConfig()).filter(r=>this.getAllowedProperties().some(n=>r===n.key||r===n.newKey)).map(r=>this.getInfo(r)).filter(r=>!!r);return(0,NA.sortBy)(t,"key")}getLocalConfig(){return this.localConfig}getGlobalConfig(){return this.globalConfig}getConfig(){return this.config}async unsetByValue(t){this.localConfig?.getKeysByValue(t).map(i=>this.localConfig?.unset(i)).some(Boolean)&&await this.localConfig?.write(),this.globalConfig?.getKeysByValue(t).map(i=>this.globalConfig?.unset(i)).some(Boolean)&&await this.globalConfig?.write()}getEnvVars(){return this.envVars}async reload(){return await this.loadProperties(),this}addAllowedProperties(t){(0,jie.isArray)(t)?this.allowedProperties.push(...t):this.allowedProperties.push(t)}setAllowedProperties(t){this.allowedProperties=t}getAllowedProperties(){return this.allowedProperties}async loadProperties(){this.resolveProperties(await this.globalConfig.read(),this.localConfig&&await this.localConfig.read()),e.encrypted=!1}loadPropertiesSync(){this.resolveProperties(this.globalConfig.readSync(),this.localConfig?.readSync())}resolveProperties(t,r){let n=new Mie.EnvVars;for(let i of this.getAllowedProperties()){let a=i.newKey?i.newKey:i.key,o=n.getPropertyFromEnv(i.key);o&&(this.envVars[a]=o)}return[t,...r?[r]:[],this.envVars].filter(jie.isJsonMap).reduce((i,a)=>(0,NA.merge)(i,a),{})}};G6.ConfigAggregator=jA});var Fie=h(Xm=>{"use strict";Xm.__esModule=!0;Xm.distance=Xm.closest=void 0;var nc=new Uint32Array(65536),pVe=function(e,t){for(var r=e.length,n=t.length,i=1<<r-1,a=-1,o=0,s=r,l=r;l--;)nc[e.charCodeAt(l)]|=1<<l;for(l=0;l<n;l++){var c=nc[t.charCodeAt(l)],u=c|o;c|=(c&a)+a^a,o|=~(c|a),a&=c,o&i&&s++,a&i&&s--,o=o<<1|1,a=a<<1|~(u|o),o&=u}for(l=r;l--;)nc[e.charCodeAt(l)]=0;return s},fVe=function(e,t){for(var r=t.length,n=e.length,i=[],a=[],o=Math.ceil(r/32),s=Math.ceil(n/32),l=0;l<o;l++)a[l]=-1,i[l]=0;for(var c=0;c<s-1;c++){for(var u=0,d=-1,f=c*32,p=Math.min(32,n)+f,m=f;m<p;m++)nc[e.charCodeAt(m)]|=1<<m;for(var l=0;l<r;l++){var y=nc[t.charCodeAt(l)],v=a[l/32|0]>>>l&1,S=i[l/32|0]>>>l&1,E=y|u,w=((y|S)&d)+d^d|y|S,_=u|~(w|d),b=d&w;_>>>31^v&&(a[l/32|0]^=1<<l),b>>>31^S&&(i[l/32|0]^=1<<l),_=_<<1|v,b=b<<1|S,d=b|~(E|_),u=_&E}for(var m=f;m<p;m++)nc[e.charCodeAt(m)]=0}for(var A=0,j=-1,P=c*32,T=Math.min(32,n-P)+P,m=P;m<T;m++)nc[e.charCodeAt(m)]|=1<<m;for(var N=n,l=0;l<r;l++){var y=nc[t.charCodeAt(l)],v=a[l/32|0]>>>l&1,S=i[l/32|0]>>>l&1,E=y|A,w=((y|S)&j)+j^j|y|S,_=A|~(w|j),b=j&w;N+=_>>>n-1&1,N-=b>>>n-1&1,_>>>31^v&&(a[l/32|0]^=1<<l),b>>>31^S&&(i[l/32|0]^=1<<l),_=_<<1|v,b=b<<1|S,j=b|~(E|_),A=_&E}for(var m=P;m<T;m++)nc[e.charCodeAt(m)]=0;return N},Rie=function(e,t){if(e.length<t.length){var r=t;t=e,e=r}return t.length===0?e.length:e.length<=32?pVe(e,t):fVe(e,t)};Xm.distance=Rie;var mVe=function(e,t){for(var r=1/0,n=0,i=0;i<t.length;i++){var a=Rie(e,t[i]);a<r&&(r=a,n=i)}return t[n]};Xm.closest=mVe});var $ie=h((PA,K0)=>{(function(){"use strict";var e;try{e=typeof Intl<"u"&&typeof Intl.Collator<"u"?Intl.Collator("generic",{sensitivity:"base"}):null}catch{console.log("Collator could not be initialized and wouldn't be used")}var t=Fie(),r=[],n=[],i={get:function(a,o,s){var l=s&&e&&s.useCollator;if(l){var c=a.length,u=o.length;if(c===0)return u;if(u===0)return c;var d,f,p,m,y;for(p=0;p<u;++p)r[p]=p,n[p]=o.charCodeAt(p);r[u]=u;var v;for(p=0;p<c;++p){for(f=p+1,m=0;m<u;++m)d=f,v=e.compare(a.charAt(p),String.fromCharCode(n[m]))===0,f=r[m]+(v?0:1),y=d+1,f>y&&(f=y),y=r[m+1]+1,f>y&&(f=y),r[m]=d;r[m]=f}return f}return t.distance(a,o)}};typeof define<"u"&&define!==null&&define.amd?define(function(){return i}):typeof K0<"u"&&K0!==null&&typeof PA<"u"&&K0.exports===PA?K0.exports=i:typeof self<"u"&&typeof self.postMessage=="function"&&typeof self.importScripts=="function"?self.Levenshtein=i:typeof window<"u"&&window!==null&&(window.Levenshtein=i)})()});var Uie=h(Ym=>{"use strict";var hVe=Ym&&Ym.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ym,"__esModule",{value:!0});Ym.findSuggestion=void 0;var gVe=hVe($ie()),yVe=(e,t)=>{let r=[];return t.map(n=>{r[gVe.default.get(e,n)]=n}),r.find(n=>n!==void 0)??""};Ym.findSuggestion=yVe});var wp=h(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.SingleRecordQueryErrors=Gn.Connection=Gn.DNS_ERROR_NAME=Gn.SFDX_HTTP_HEADERS=void 0;var bVe=require("node:url"),MA=He(),K6=Ke(),vVe=T6(),_Ve=eA(),wVe=W0(),qie=rc(),SVe=yt(),zie=wt(),EVe=jl(),xVe=bt(),OVe=sn(),CVe=Cr(),TVe=Du(),J6=new xVe.Messages("@salesforce/core","connection",new Map([["incorrectAPIVersionError",'Invalid API version %s. Expecting format "[1-9][0-9].0", i.e. 42.0'],["domainNotFoundError","The org cannot be found"],["domainNotFoundError.actions",["Verify that the org still exists,","If your org is newly created, wait a minute and run your command again,","If you deployed or updated the org's My Domain, logout from the CLI and authenticate again,","If you are running in a CI environment with a DNS that blocks external IPs, try setting SFDX_DISABLE_DNS_CHECK=true"]],["noInstanceUrlError","Connection has no instanceUrl."],["noInstanceUrlError.actions","Make sure the instanceUrl is set in your command or config."],["noApiVersionsError","Org failed to respond with its list of API versions. This is usually the result of domain changes like activating MyDomain or Enhanced Domains"],["noApiVersionsError.actions","Re-authenticate to the org."]])),Bie=`sfdx toolbelt:${process.env.SFDX_SET_CLIENT_IDS??""}`;Gn.SFDX_HTTP_HEADERS={"content-type":"application/json",...CVe.Global.isWeb?{}:{"user-agent":Bie}};Gn.DNS_ERROR_NAME="DomainNotFoundError";var X6=class extends vVe.Connection{logger;options;username;hasResolved=!1;maxApiVersion;constructor(t){super(t.connectionOptions??{}),this.options=t,this.username=t.authInfo.getUsername()}get tooling(){return super.tooling}static async create(t){let r={version:await IVe(t),callOptions:{client:Bie},...t.authInfo.getConnectionOptions(t.clientApp)},n=new this({...t,connectionOptions:r});await n.init();try{r.version?n.logger.debug(`The org-api-version ${r.version} was found from ${t.connectionOptions?.version?"passed in options":"config"}`):await n.useLatestApiVersion()}catch(i){let a=i;if(a.name===Gn.DNS_ERROR_NAME)throw a;n.logger.debug(`Error trying to load the API version: ${a.name} - ${a.message}`)}return n.logger.debug(`Connection created with apiVersion ${n.getApiVersion()}`),n}async init(){this.logger=this.tooling._logger=await SVe.Logger.child("connection")}async deploy(t,r){let{rest:n,...i}=r;return n?(this.logger.debug("deploy with REST"),await this.refreshAuth(),this.metadata.deployRest(t,i)):(this.logger.debug("deploy with SOAP"),this.metadata.deploy(t,i))}request(t,r){let n=(0,K6.isString)(t)?{method:"GET",url:t}:t,i=n.headers?Object.fromEntries(Object.entries(n.headers).map(([a,o])=>[a.toLowerCase(),o])):{};return n.headers={...Gn.SFDX_HTTP_HEADERS,...i},this.logger.getRawLogger().debug(n,"request"),super.request(n,r)}baseUrl(){return super._baseUrl()}async retrieveMaxApiVersion(){if(this.maxApiVersion??=this.getCachedApiVersion())return this.maxApiVersion;await this.isResolvable(),this.logger.debug(`Fetching API versions supported for org: ${this.getUsername()??""}`);let t=await this.request(`${this.instanceUrl}/services/data`);if(!Array.isArray(t))throw this.logger.debug(`server response for retrieveMaxApiVersion: ${t}`),J6.createError("noApiVersionsError");return this.logger.debug(`response for org versions: ${t.map(r=>r.version).join(",")}`),this.maxApiVersion=(0,K6.ensure)((0,MA.maxBy)(t,r=>r.version)).version,await this.options.authInfo.save({instanceApiVersion:this.maxApiVersion,instanceApiVersionLastRetrieved:new Date().toLocaleString()}),this.maxApiVersion}async useLatestApiVersion(){try{this.setApiVersion(await this.retrieveMaxApiVersion())}catch(t){let r=t;if(r.name===Gn.DNS_ERROR_NAME)throw r;this.logger.warn("Failed to set the latest API version:",r)}}async isResolvable(){if(this.hasResolved)return this.hasResolved;if(!this.options.connectionOptions?.instanceUrl)throw J6.createError("noInstanceUrlError");let t=await wVe.MyDomainResolver.create({url:new bVe.URL(this.options.connectionOptions.instanceUrl)});try{return await t.resolve(),this.hasResolved=!0,!0}catch(r){throw J6.createError("domainNotFoundError",[],[],r)}}getApiVersion(){return this.version}setApiVersion(t){if(!(0,EVe.validateApiVersion)(t))throw J6.createError("incorrectAPIVersionError",[t]);this.version=t}getAuthInfo(){return this.options.authInfo}getAuthInfoFields(){return this.options.authInfo.getFields()||{}}getConnectionOptions(){return this.options.authInfo.getConnectionOptions()}getUsername(){return this.username}isUsingAccessToken(){return this.options.authInfo.isUsingAccessToken()}normalizeUrl(t){return this._normalizeUrl(t)}async autoFetchQuery(t,r={tooling:!1}){let i=((await qie.ConfigAggregator.create()).getInfo(TVe.OrgConfigProperties.ORG_MAX_QUERY_LIMIT).value||r.maxFetch)??1e4,{tooling:a,...o}=r,s=Object.assign(o,{autoFetch:!0,maxFetch:i}),l=a?await this.tooling.query(t,s):await this.query(t,s);return l.records.length&&l.totalSize>l.records.length&&OVe.Lifecycle.getInstance().emitWarning(`The query result is missing ${l.totalSize-l.records.length} records due to a ${i} record limit. Increase the number of records returned by setting the config value "maxQueryLimit" or the environment variable "SF_ORG_MAX_QUERY_LIMIT" to ${l.totalSize} or greater than ${i}.`),l}async singleRecordQuery(t,r={choiceField:"Name"}){let n=r.tooling?await this.tooling.query(t):await this.query(t);if(n.totalSize===0)throw new zie.SfError(`No record found for ${t}`,Gn.SingleRecordQueryErrors.NoRecords);if(n.totalSize>1)throw new zie.SfError(r.returnChoicesOnMultiple?`Multiple records found. ${n.records.map(i=>i[r.choiceField]).join(",")}`:"The query returned more than 1 record",Gn.SingleRecordQueryErrors.MultipleRecords);return n.records[0]}async refreshAuth(){this.logger.debug("Refreshing auth for org.");let t={url:this.baseUrl(),method:"GET"};await this.request(t)}getCachedApiVersion(){if(MA.env.getBoolean("SFDX_IGNORE_API_VERSION_CACHE",!1)){this.logger.debug("Using latest API version since SFDX_IGNORE_API_VERSION_CACHE = true");return}let t=this.options.authInfo.getFields(),r=t.instanceApiVersionLastRetrieved,n=t.instanceApiVersion,i;try{r&&(0,K6.isString)(r)&&(i=Date.parse(r))}catch{}if(i){let a=new Date,o=a.getTime()-i>MA.Duration.hours(24).milliseconds;if(this.logger.debug(`API version cache last checked on ${r??"<undefined>"} (now is ${a.toLocaleString()})`),!o&&n)return this.logger.debug(`Using cached API version: ${n}`),n;this.logger.debug("API version cache expired. Re-fetching latest.")}}};Gn.Connection=X6;Gn.SingleRecordQueryErrors={NoRecords:"SingleRecordQuery_NoRecords",MultipleRecords:"SingleRecordQuery_MultipleRecords"};var IVe=async e=>{if(e.connectionOptions)return e.connectionOptions.version;let t=e.configAggregator??await qie.ConfigAggregator.create();return(0,K6.asString)(t.getInfo("org-api-version").value)};_Ve.Tooling.prototype.autoFetchQuery=X6.prototype.autoFetchQuery});var FA=h(Y6=>{"use strict";Object.defineProperty(Y6,"__esModule",{value:!0});Y6.OrgUsersConfig=void 0;var AVe=Cr(),DVe=nu(),RA=class extends DVe.ConfigFile{constructor(t){super(t)}static getOptions(t){return{isGlobal:!0,isState:!0,filename:`${t}.json`,orgId:t,stateFolder:AVe.Global.SFDX_STATE_FOLDER}}};Y6.OrgUsersConfig=RA});var Sp=h(Tn=>{"use strict";var Vie;Object.defineProperty(Tn,"__esModule",{value:!0});Tn.globalConfig=Tn.$ZodEncodeError=Tn.$ZodAsyncError=Tn.$brand=Tn.NEVER=void 0;Tn.$constructor=LVe;Tn.config=kVe;Tn.NEVER=Object.freeze({status:"aborted"});function LVe(e,t,r){function n(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=o.prototype,u=Object.keys(c);for(let d=0;d<u.length;d++){let f=u[d];f in s||(s[f]=c[f].bind(s))}}let i=r?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(s){var l;let c=r?.Parent?new a:this;n(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let u of c._zod.deferred)u();return c}return Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}Tn.$brand=Symbol("zod_brand");var $A=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};Tn.$ZodAsyncError=$A;var UA=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};Tn.$ZodEncodeError=UA;(Vie=globalThis).__zod_globalConfig??(Vie.__zod_globalConfig={});Tn.globalConfig=globalThis.__zod_globalConfig;function kVe(e){return e&&Object.assign(Tn.globalConfig,e),Tn.globalConfig}});var Se=h(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.Class=me.BIGINT_FORMAT_RANGES=me.NUMBER_FORMAT_RANGES=me.primitiveTypes=me.propertyKeyTypes=me.getParsedType=me.allowsEval=me.captureStackTrace=void 0;me.assertEqual=jVe;me.assertNotEqual=PVe;me.assertIs=MVe;me.assertNever=RVe;me.assert=FVe;me.getEnumValues=$Ve;me.joinValues=UVe;me.jsonStringifyReplacer=zVe;me.cached=Zie;me.nullish=qVe;me.cleanRegex=BVe;me.floatSafeRemainder=VVe;me.defineLazy=WVe;me.objectClone=ZVe;me.assignProp=ku;me.mergeDefs=ic;me.cloneDef=HVe;me.getElementAtPath=GVe;me.promiseAllObject=JVe;me.randomString=KVe;me.esc=XVe;me.slugify=YVe;me.isObject=zA;me.isPlainObject=Q6;me.shallowClone=QVe;me.numKeys=eWe;me.escapeRegex=rWe;me.clone=Nu;me.normalizeParams=nWe;me.createTransparentProxy=iWe;me.stringifyPrimitive=Hie;me.optionalKeys=aWe;me.pick=oWe;me.omit=sWe;me.extend=lWe;me.safeExtend=cWe;me.merge=uWe;me.partial=dWe;me.required=pWe;me.aborted=fWe;me.explicitlyAborted=mWe;me.prefixIssues=hWe;me.unwrapMessage=X0;me.finalizeIssue=gWe;me.getSizableOrigin=yWe;me.getLengthableOrigin=bWe;me.parsedType=vWe;me.issue=_We;me.cleanEnum=wWe;me.base64ToUint8Array=Gie;me.uint8ArrayToBase64=Jie;me.base64urlToUint8Array=SWe;me.uint8ArrayToBase64url=EWe;me.hexToUint8Array=xWe;me.uint8ArrayToHex=OWe;var NVe=Sp();function jVe(e){return e}function PVe(e){return e}function MVe(e){}function RVe(e){throw new Error("Unexpected value in exhaustive check")}function FVe(e){}function $Ve(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,i])=>t.indexOf(+n)===-1).map(([n,i])=>i)}function UVe(e,t="|"){return e.map(r=>Hie(r)).join(t)}function zVe(e,t){return typeof t=="bigint"?t.toString():t}function Zie(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}function qVe(e){return e==null}function BVe(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function VVe(e,t){let r=e/t,n=Math.round(r),i=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<i?0:r-n}var Wie=Symbol("evaluating");function WVe(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==Wie)return n===void 0&&(n=Wie,n=r()),n},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}function ZVe(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function ku(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function ic(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function HVe(e){return ic(e._zod.def)}function GVe(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}function JVe(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let i={};for(let a=0;a<t.length;a++)i[t[a]]=n[a];return i})}function KVe(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function XVe(e){return JSON.stringify(e)}function YVe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}me.captureStackTrace="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function zA(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}me.allowsEval=Zie(()=>{if(NVe.globalConfig.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Q6(e){if(zA(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(zA(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function QVe(e){return Q6(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function eWe(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var tWe=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}};me.getParsedType=tWe;me.propertyKeyTypes=new Set(["string","number","symbol"]);me.primitiveTypes=new Set(["string","number","bigint","boolean","symbol","undefined"]);function rWe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Nu(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function nWe(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function iWe(e){let t;return new Proxy({},{get(r,n,i){return t??(t=e()),Reflect.get(t,n,i)},set(r,n,i,a){return t??(t=e()),Reflect.set(t,n,i,a)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,i){return t??(t=e()),Reflect.defineProperty(t,n,i)}})}function Hie(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function aWe(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}me.NUMBER_FORMAT_RANGES={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};me.BIGINT_FORMAT_RANGES={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function oWe(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let a=ic(e._zod.def,{get shape(){let o={};for(let s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(o[s]=r.shape[s])}return ku(this,"shape",o),o},checks:[]});return Nu(e,a)}function sWe(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let a=ic(e._zod.def,{get shape(){let o={...e._zod.def.shape};for(let s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete o[s]}return ku(this,"shape",o),o},checks:[]});return Nu(e,a)}function lWe(e,t){if(!Q6(t))throw new Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let a=e._zod.def.shape;for(let o in t)if(Object.getOwnPropertyDescriptor(a,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=ic(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return ku(this,"shape",a),a}});return Nu(e,i)}function cWe(e,t){if(!Q6(t))throw new Error("Invalid input to safeExtend: expected a plain object");let r=ic(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ku(this,"shape",n),n}});return Nu(e,r)}function uWe(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r=ic(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return ku(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Nu(e,r)}function dWe(e,t,r){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let o=ic(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(r)for(let c in r){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);r[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return ku(this,"shape",l),l},checks:[]});return Nu(t,o)}function pWe(e,t,r){let n=ic(t._zod.def,{get shape(){let i=t._zod.def.shape,a={...i};if(r)for(let o in r){if(!(o in a))throw new Error(`Unrecognized key: "${o}"`);r[o]&&(a[o]=new e({type:"nonoptional",innerType:i[o]}))}else for(let o in i)a[o]=new e({type:"nonoptional",innerType:i[o]});return ku(this,"shape",a),a}});return Nu(t,n)}function fWe(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function mWe(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function hWe(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function X0(e){return typeof e=="string"?e:e?.message}function gWe(e,t,r){let n=e.message?e.message:X0(e.inst?._zod.def?.error?.(e))??X0(t?.error?.(e))??X0(r.customError?.(e))??X0(r.localeError?.(e))??"Invalid input",{inst:i,continue:a,input:o,...s}=e;return s.path??(s.path=[]),s.message=n,t?.reportInput&&(s.input=o),s}function yWe(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function bWe(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function vWe(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function _We(...e){let[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}function wWe(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function Gie(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function Jie(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function SWe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return Gie(t+r)}function EWe(e){return Jie(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function xWe(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}function OWe(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var qA=class{constructor(...t){}};me.Class=qA});var BA=h(fn=>{"use strict";var CWe=fn&&fn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),TWe=fn&&fn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),IWe=fn&&fn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&CWe(t,e,r);return TWe(t,e),t};Object.defineProperty(fn,"__esModule",{value:!0});fn.$ZodRealError=fn.$ZodError=void 0;fn.flattenError=DWe;fn.formatError=LWe;fn.treeifyError=kWe;fn.toDotPath=Yie;fn.prettifyError=NWe;var Kie=Sp(),AWe=IWe(Se()),Xie=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,AWe.jsonStringifyReplacer,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})};fn.$ZodError=(0,Kie.$constructor)("$ZodError",Xie);fn.$ZodRealError=(0,Kie.$constructor)("$ZodError",Xie,{Parent:Error});function DWe(e,t=r=>r.message){let r={},n=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}function LWe(e,t=r=>r.message){let r={_errors:[]},n=(i,a=[])=>{for(let o of i.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(s=>n({issues:s},[...a,...o.path]));else if(o.code==="invalid_key")n({issues:o.issues},[...a,...o.path]);else if(o.code==="invalid_element")n({issues:o.issues},[...a,...o.path]);else{let s=[...a,...o.path];if(s.length===0)r._errors.push(t(o));else{let l=r,c=0;for(;c<s.length;){let u=s[c];c===s.length-1?(l[u]=l[u]||{_errors:[]},l[u]._errors.push(t(o))):l[u]=l[u]||{_errors:[]},l=l[u],c++}}}};return n(e),r}function kWe(e,t=r=>r.message){let r={errors:[]},n=(i,a=[])=>{var o,s;for(let l of i.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>n({issues:c},[...a,...l.path]));else if(l.code==="invalid_key")n({issues:l.issues},[...a,...l.path]);else if(l.code==="invalid_element")n({issues:l.issues},[...a,...l.path]);else{let c=[...a,...l.path];if(c.length===0){r.errors.push(t(l));continue}let u=r,d=0;for(;d<c.length;){let f=c[d],p=d===c.length-1;typeof f=="string"?(u.properties??(u.properties={}),(o=u.properties)[f]??(o[f]={errors:[]}),u=u.properties[f]):(u.items??(u.items=[]),(s=u.items)[f]??(s[f]={errors:[]}),u=u.items[f]),p&&u.errors.push(t(l)),d++}}};return n(e),r}function Yie(e){let t=[],r=e.map(n=>typeof n=="object"?n.key:n);for(let n of r)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function NWe(e){let t=[],r=[...e.issues].sort((n,i)=>(n.path??[]).length-(i.path??[]).length);for(let n of r)t.push(`\u2716 ${n.message}`),n.path?.length&&t.push(` \u2192 at ${Yie(n.path)}`);return t.join(`
|
||
`)}});var WA=h(de=>{"use strict";var jWe=de&&de.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),PWe=de&&de.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),VA=de&&de.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&jWe(t,e,r);return PWe(t,e),t};Object.defineProperty(de,"__esModule",{value:!0});de.safeDecodeAsync=de._safeDecodeAsync=de.safeEncodeAsync=de._safeEncodeAsync=de.safeDecode=de._safeDecode=de.safeEncode=de._safeEncode=de.decodeAsync=de._decodeAsync=de.encodeAsync=de._encodeAsync=de.decode=de._decode=de.encode=de._encode=de.safeParseAsync=de._safeParseAsync=de.safeParse=de._safeParse=de.parseAsync=de._parseAsync=de.parse=de._parse=void 0;var Qm=VA(Sp()),Ji=VA(BA()),eh=VA(Se()),MWe=e=>(t,r,n,i)=>{let a=n?{...n,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise)throw new Qm.$ZodAsyncError;if(o.issues.length){let s=new(i?.Err??e)(o.issues.map(l=>eh.finalizeIssue(l,a,Qm.config())));throw eh.captureStackTrace(s,i?.callee),s}return o.value};de._parse=MWe;de.parse=(0,de._parse)(Ji.$ZodRealError);var RWe=e=>async(t,r,n,i)=>{let a=n?{...n,async:!0}:{async:!0},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let s=new(i?.Err??e)(o.issues.map(l=>eh.finalizeIssue(l,a,Qm.config())));throw eh.captureStackTrace(s,i?.callee),s}return o.value};de._parseAsync=RWe;de.parseAsync=(0,de._parseAsync)(Ji.$ZodRealError);var FWe=e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new Qm.$ZodAsyncError;return a.issues.length?{success:!1,error:new(e??Ji.$ZodError)(a.issues.map(o=>eh.finalizeIssue(o,i,Qm.config())))}:{success:!0,data:a.value}};de._safeParse=FWe;de.safeParse=(0,de._safeParse)(Ji.$ZodRealError);var $We=e=>async(t,r,n)=>{let i=n?{...n,async:!0}:{async:!0},a=t._zod.run({value:r,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(o=>eh.finalizeIssue(o,i,Qm.config())))}:{success:!0,data:a.value}};de._safeParseAsync=$We;de.safeParseAsync=(0,de._safeParseAsync)(Ji.$ZodRealError);var UWe=e=>(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return(0,de._parse)(e)(t,r,i)};de._encode=UWe;de.encode=(0,de._encode)(Ji.$ZodRealError);var zWe=e=>(t,r,n)=>(0,de._parse)(e)(t,r,n);de._decode=zWe;de.decode=(0,de._decode)(Ji.$ZodRealError);var qWe=e=>async(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return(0,de._parseAsync)(e)(t,r,i)};de._encodeAsync=qWe;de.encodeAsync=(0,de._encodeAsync)(Ji.$ZodRealError);var BWe=e=>async(t,r,n)=>(0,de._parseAsync)(e)(t,r,n);de._decodeAsync=BWe;de.decodeAsync=(0,de._decodeAsync)(Ji.$ZodRealError);var VWe=e=>(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return(0,de._safeParse)(e)(t,r,i)};de._safeEncode=VWe;de.safeEncode=(0,de._safeEncode)(Ji.$ZodRealError);var WWe=e=>(t,r,n)=>(0,de._safeParse)(e)(t,r,n);de._safeDecode=WWe;de.safeDecode=(0,de._safeDecode)(Ji.$ZodRealError);var ZWe=e=>async(t,r,n)=>{let i=n?{...n,direction:"backward"}:{direction:"backward"};return(0,de._safeParseAsync)(e)(t,r,i)};de._safeEncodeAsync=ZWe;de.safeEncodeAsync=(0,de._safeEncodeAsync)(Ji.$ZodRealError);var HWe=e=>async(t,r,n)=>(0,de._safeParseAsync)(e)(t,r,n);de._safeDecodeAsync=HWe;de.safeDecodeAsync=(0,de._safeDecodeAsync)(Ji.$ZodRealError)});var e3=h(J=>{"use strict";var GWe=J&&J.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),JWe=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),KWe=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&GWe(t,e,r);return JWe(t,e),t};Object.defineProperty(J,"__esModule",{value:!0});J.sha256_base64url=J.sha256_base64=J.sha256_hex=J.sha1_base64url=J.sha1_base64=J.sha1_hex=J.md5_base64url=J.md5_base64=J.md5_hex=J.hex=J.uppercase=J.lowercase=J.undefined=J.null=J.boolean=J.number=J.integer=J.bigint=J.string=J.date=J.e164=J.httpProtocol=J.domain=J.hostname=J.base64url=J.base64=J.cidrv6=J.cidrv4=J.mac=J.ipv6=J.ipv4=J.browserEmail=J.idnEmail=J.unicodeEmail=J.rfc5322Email=J.html5Email=J.email=J.uuid7=J.uuid6=J.uuid4=J.uuid=J.guid=J.extendedDuration=J.duration=J.nanoid=J.ksuid=J.xid=J.ulid=J.cuid2=J.cuid=void 0;J.sha512_base64url=J.sha512_base64=J.sha512_hex=J.sha384_base64url=J.sha384_base64=J.sha384_hex=void 0;J.emoji=eZe;J.time=rZe;J.datetime=nZe;var XWe=KWe(Se());J.cuid=/^[cC][0-9a-z]{6,}$/;J.cuid2=/^[0-9a-z]+$/;J.ulid=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;J.xid=/^[0-9a-vA-V]{20}$/;J.ksuid=/^[A-Za-z0-9]{27}$/;J.nanoid=/^[a-zA-Z0-9_-]{21}$/;J.duration=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;J.extendedDuration=/^[-+]?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)?)??$/;J.guid=/^([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})$/;var YWe=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([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)$/;J.uuid=YWe;J.uuid4=(0,J.uuid)(4);J.uuid6=(0,J.uuid)(6);J.uuid7=(0,J.uuid)(7);J.email=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;J.html5Email=/^[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])?)*$/;J.rfc5322Email=/^(([^<>()\[\]\\.,;:\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,}))$/;J.unicodeEmail=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u;J.idnEmail=J.unicodeEmail;J.browserEmail=/^[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])?)*$/;var QWe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function eZe(){return new RegExp(QWe,"u")}J.ipv4=/^(?:(?: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])$/;J.ipv6=/^(([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}|:))$/;var tZe=e=>{let t=XWe.escapeRegex(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)};J.mac=tZe;J.cidrv4=/^((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])$/;J.cidrv6=/^(([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])$/;J.base64=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;J.base64url=/^[A-Za-z0-9_-]*$/;J.hostname=/^(?=.{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])?)*\.?$/;J.domain=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;J.httpProtocol=/^https?$/;J.e164=/^\+[1-9]\d{6,14}$/;var Qie="(?:(?:\\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])))";J.date=new RegExp(`^${Qie}$`);function eae(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function rZe(e){return new RegExp(`^${eae(e)}$`)}function nZe(e){let t=eae({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Qie}T(?:${n})$`)}var iZe=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)};J.string=iZe;J.bigint=/^-?\d+n?$/;J.integer=/^-?\d+$/;J.number=/^-?\d+(?:\.\d+)?$/;J.boolean=/^(?:true|false)$/i;var aZe=/^null$/i;J.null=aZe;var oZe=/^undefined$/i;J.undefined=oZe;J.lowercase=/^[^A-Z]*$/;J.uppercase=/^[^a-z]*$/;J.hex=/^[0-9a-fA-F]*$/;function Y0(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Q0(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}J.md5_hex=/^[0-9a-fA-F]{32}$/;J.md5_base64=Y0(22,"==");J.md5_base64url=Q0(22);J.sha1_hex=/^[0-9a-fA-F]{40}$/;J.sha1_base64=Y0(27,"=");J.sha1_base64url=Q0(27);J.sha256_hex=/^[0-9a-fA-F]{64}$/;J.sha256_base64=Y0(43,"=");J.sha256_base64url=Q0(43);J.sha384_hex=/^[0-9a-fA-F]{96}$/;J.sha384_base64=Y0(64,"");J.sha384_base64url=Q0(64);J.sha512_hex=/^[0-9a-fA-F]{128}$/;J.sha512_base64=Y0(86,"==");J.sha512_base64url=Q0(86)});var t3=h(he=>{"use strict";var sZe=he&&he.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),lZe=he&&he.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ZA=he&&he.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&sZe(t,e,r);return lZe(t,e),t};Object.defineProperty(he,"__esModule",{value:!0});he.$ZodCheckOverwrite=he.$ZodCheckMimeType=he.$ZodCheckProperty=he.$ZodCheckEndsWith=he.$ZodCheckStartsWith=he.$ZodCheckIncludes=he.$ZodCheckUpperCase=he.$ZodCheckLowerCase=he.$ZodCheckRegex=he.$ZodCheckStringFormat=he.$ZodCheckLengthEquals=he.$ZodCheckMinLength=he.$ZodCheckMaxLength=he.$ZodCheckSizeEquals=he.$ZodCheckMinSize=he.$ZodCheckMaxSize=he.$ZodCheckBigIntFormat=he.$ZodCheckNumberFormat=he.$ZodCheckMultipleOf=he.$ZodCheckGreaterThan=he.$ZodCheckLessThan=he.$ZodCheck=void 0;var rr=ZA(Sp()),HA=ZA(e3()),kr=ZA(Se());he.$ZodCheck=rr.$constructor("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])});var rae={number:"number",bigint:"bigint",object:"date"};he.$ZodCheckLessThan=rr.$constructor("$ZodCheckLessThan",(e,t)=>{he.$ZodCheck.init(e,t);let r=rae[typeof t.value];e._zod.onattach.push(n=>{let i=n._zod.bag,a=(t.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<a&&(t.inclusive?i.maximum=t.value:i.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}});he.$ZodCheckGreaterThan=rr.$constructor("$ZodCheckGreaterThan",(e,t)=>{he.$ZodCheck.init(e,t);let r=rae[typeof t.value];e._zod.onattach.push(n=>{let i=n._zod.bag,a=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>a&&(t.inclusive?i.minimum=t.value:i.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}});he.$ZodCheckMultipleOf=rr.$constructor("$ZodCheckMultipleOf",(e,t)=>{he.$ZodCheck.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):kr.floatSafeRemainder(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}});he.$ZodCheckNumberFormat=rr.$constructor("$ZodCheckNumberFormat",(e,t)=>{he.$ZodCheck.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,a]=kr.NUMBER_FORMAT_RANGES[t.format];e._zod.onattach.push(o=>{let s=o._zod.bag;s.format=t.format,s.minimum=i,s.maximum=a,r&&(s.pattern=HA.integer)}),e._zod.check=o=>{let s=o.value;if(r){if(!Number.isInteger(s)){o.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}});he.$ZodCheckBigIntFormat=rr.$constructor("$ZodCheckBigIntFormat",(e,t)=>{he.$ZodCheck.init(e,t);let[r,n]=kr.BIGINT_FORMAT_RANGES[t.format];e._zod.onattach.push(i=>{let a=i._zod.bag;a.format=t.format,a.minimum=r,a.maximum=n}),e._zod.check=i=>{let a=i.value;a<r&&i.issues.push({origin:"bigint",input:a,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),a>n&&i.issues.push({origin:"bigint",input:a,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}});he.$ZodCheckMaxSize=rr.$constructor("$ZodCheckMaxSize",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.size!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let i=n.value;i.size<=t.maximum||n.issues.push({origin:kr.getSizableOrigin(i),code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}});he.$ZodCheckMinSize=rr.$constructor("$ZodCheckMinSize",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.size!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let i=n.value;i.size>=t.minimum||n.issues.push({origin:kr.getSizableOrigin(i),code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}});he.$ZodCheckSizeEquals=rr.$constructor("$ZodCheckSizeEquals",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.size!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag;i.minimum=t.size,i.maximum=t.size,i.size=t.size}),e._zod.check=n=>{let i=n.value,a=i.size;if(a===t.size)return;let o=a>t.size;n.issues.push({origin:kr.getSizableOrigin(i),...o?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}});he.$ZodCheckMaxLength=rr.$constructor("$ZodCheckMaxLength",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.length!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let i=n.value;if(i.length<=t.maximum)return;let o=kr.getLengthableOrigin(i);n.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}});he.$ZodCheckMinLength=rr.$constructor("$ZodCheckMinLength",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.length!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let i=n.value;if(i.length>=t.minimum)return;let o=kr.getLengthableOrigin(i);n.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}});he.$ZodCheckLengthEquals=rr.$constructor("$ZodCheckLengthEquals",(e,t)=>{var r;he.$ZodCheck.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!kr.nullish(i)&&i.length!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag;i.minimum=t.length,i.maximum=t.length,i.length=t.length}),e._zod.check=n=>{let i=n.value,a=i.length;if(a===t.length)return;let o=kr.getLengthableOrigin(i),s=a>t.length;n.issues.push({origin:o,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}});he.$ZodCheckStringFormat=rr.$constructor("$ZodCheckStringFormat",(e,t)=>{var r,n;he.$ZodCheck.init(e,t),e._zod.onattach.push(i=>{let a=i._zod.bag;a.format=t.format,t.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})});he.$ZodCheckRegex=rr.$constructor("$ZodCheckRegex",(e,t)=>{he.$ZodCheckStringFormat.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}});he.$ZodCheckLowerCase=rr.$constructor("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=HA.lowercase),he.$ZodCheckStringFormat.init(e,t)});he.$ZodCheckUpperCase=rr.$constructor("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=HA.uppercase),he.$ZodCheckStringFormat.init(e,t)});he.$ZodCheckIncludes=rr.$constructor("$ZodCheckIncludes",(e,t)=>{he.$ZodCheck.init(e,t);let r=kr.escapeRegex(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(i=>{let a=i._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=i=>{i.value.includes(t.includes,t.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:i.value,inst:e,continue:!t.abort})}});he.$ZodCheckStartsWith=rr.$constructor("$ZodCheckStartsWith",(e,t)=>{he.$ZodCheck.init(e,t);let r=new RegExp(`^${kr.escapeRegex(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let i=n._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}});he.$ZodCheckEndsWith=rr.$constructor("$ZodCheckEndsWith",(e,t)=>{he.$ZodCheck.init(e,t);let r=new RegExp(`.*${kr.escapeRegex(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{let i=n._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function tae(e,t,r){e.issues.length&&t.issues.push(...kr.prefixIssues(r,e.issues))}he.$ZodCheckProperty=rr.$constructor("$ZodCheckProperty",(e,t)=>{he.$ZodCheck.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(i=>tae(i,r,t.property));tae(n,r,t.property)}});he.$ZodCheckMimeType=rr.$constructor("$ZodCheckMimeType",(e,t)=>{he.$ZodCheck.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(n=>{n._zod.bag.mime=t.mime}),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}});he.$ZodCheckOverwrite=rr.$constructor("$ZodCheckOverwrite",(e,t)=>{he.$ZodCheck.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}})});var JA=h(r3=>{"use strict";Object.defineProperty(r3,"__esModule",{value:!0});r3.Doc=void 0;var GA=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
|
||
`).filter(o=>o),i=Math.min(...n.map(o=>o.length-o.trimStart().length)),a=n.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(let o of a)this.content.push(o)}compile(){let t=Function,r=this?.args,i=[...(this?.content??[""]).map(a=>` ${a}`)];return new t(...r,i.join(`
|
||
`))}};r3.Doc=GA});var KA=h(n3=>{"use strict";Object.defineProperty(n3,"__esModule",{value:!0});n3.version=void 0;n3.version={major:4,minor:4,patch:3}});var QA=h(F=>{"use strict";var cZe=F&&F.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),uZe=F&&F.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l3=F&&F.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&cZe(t,e,r);return uZe(t,e),t};Object.defineProperty(F,"__esModule",{value:!0});F.$ZodTuple=F.$ZodIntersection=F.$ZodDiscriminatedUnion=F.$ZodXor=F.$ZodUnion=F.$ZodObjectJIT=F.$ZodObject=F.$ZodArray=F.$ZodDate=F.$ZodVoid=F.$ZodNever=F.$ZodUnknown=F.$ZodAny=F.$ZodNull=F.$ZodUndefined=F.$ZodSymbol=F.$ZodBigIntFormat=F.$ZodBigInt=F.$ZodBoolean=F.$ZodNumberFormat=F.$ZodNumber=F.$ZodCustomStringFormat=F.$ZodJWT=F.$ZodE164=F.$ZodBase64URL=F.$ZodBase64=F.$ZodCIDRv6=F.$ZodCIDRv4=F.$ZodMAC=F.$ZodIPv6=F.$ZodIPv4=F.$ZodISODuration=F.$ZodISOTime=F.$ZodISODate=F.$ZodISODateTime=F.$ZodKSUID=F.$ZodXID=F.$ZodULID=F.$ZodCUID2=F.$ZodCUID=F.$ZodNanoID=F.$ZodEmoji=F.$ZodURL=F.$ZodEmail=F.$ZodUUID=F.$ZodGUID=F.$ZodStringFormat=F.$ZodString=F.clone=F.$ZodType=void 0;F.$ZodCustom=F.$ZodLazy=F.$ZodPromise=F.$ZodFunction=F.$ZodTemplateLiteral=F.$ZodReadonly=F.$ZodPreprocess=F.$ZodCodec=F.$ZodPipe=F.$ZodNaN=F.$ZodCatch=F.$ZodSuccess=F.$ZodNonOptional=F.$ZodPrefault=F.$ZodDefault=F.$ZodNullable=F.$ZodExactOptional=F.$ZodOptional=F.$ZodTransform=F.$ZodFile=F.$ZodLiteral=F.$ZodEnum=F.$ZodSet=F.$ZodMap=F.$ZodRecord=void 0;F.isValidBase64=YA;F.isValidBase64URL=yae;F.isValidJWT=bae;var c3=l3(t3()),oe=l3(Sp()),dZe=JA(),th=WA(),dt=l3(e3()),se=l3(Se()),pZe=KA();F.$ZodType=oe.$constructor("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=pZe.version;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let i of n)for(let a of i._zod.onattach)a(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(o,s,l)=>{let c=se.aborted(o),u;for(let d of s){if(d._zod.def.when){if(se.explicitlyAborted(o)||!d._zod.def.when(o))continue}else if(c)continue;let f=o.issues.length,p=d._zod.check(o);if(p instanceof Promise&&l?.async===!1)throw new oe.$ZodAsyncError;if(u||p instanceof Promise)u=(u??Promise.resolve()).then(async()=>{await p,o.issues.length!==f&&(c||(c=se.aborted(o,f)))});else{if(o.issues.length===f)continue;c||(c=se.aborted(o,f))}}return u?u.then(()=>o):o},a=(o,s,l)=>{if(se.aborted(o))return o.aborted=!0,o;let c=i(s,n,l);if(c instanceof Promise){if(l.async===!1)throw new oe.$ZodAsyncError;return c.then(u=>e._zod.parse(u,l))}return e._zod.parse(c,l)};e._zod.run=(o,s)=>{if(s.skipChecks)return e._zod.parse(o,s);if(s.direction==="backward"){let c=e._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(u=>a(u,o,s)):a(c,o,s)}let l=e._zod.parse(o,s);if(l instanceof Promise){if(s.async===!1)throw new oe.$ZodAsyncError;return l.then(c=>i(c,n,s))}return i(l,n,s)}}se.defineLazy(e,"~standard",()=>({validate:i=>{try{let a=(0,th.safeParse)(e,i);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return(0,th.safeParseAsync)(e,i).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))});var fZe=Se();Object.defineProperty(F,"clone",{enumerable:!0,get:function(){return fZe.clone}});F.$ZodString=oe.$constructor("$ZodString",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??dt.string(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}});F.$ZodStringFormat=oe.$constructor("$ZodStringFormat",(e,t)=>{c3.$ZodCheckStringFormat.init(e,t),F.$ZodString.init(e,t)});F.$ZodGUID=oe.$constructor("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=dt.guid),F.$ZodStringFormat.init(e,t)});F.$ZodUUID=oe.$constructor("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=dt.uuid(n))}else t.pattern??(t.pattern=dt.uuid());F.$ZodStringFormat.init(e,t)});F.$ZodEmail=oe.$constructor("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=dt.email),F.$ZodStringFormat.init(e,t)});F.$ZodURL=oe.$constructor("$ZodURL",(e,t)=>{F.$ZodStringFormat.init(e,t),e._zod.check=r=>{try{let n=r.value.trim();if(!t.normalize&&t.protocol?.source===dt.httpProtocol.source&&!/^https?:\/\//i.test(n)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}let i=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=i.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}});F.$ZodEmoji=oe.$constructor("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=dt.emoji()),F.$ZodStringFormat.init(e,t)});F.$ZodNanoID=oe.$constructor("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=dt.nanoid),F.$ZodStringFormat.init(e,t)});F.$ZodCUID=oe.$constructor("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=dt.cuid),F.$ZodStringFormat.init(e,t)});F.$ZodCUID2=oe.$constructor("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=dt.cuid2),F.$ZodStringFormat.init(e,t)});F.$ZodULID=oe.$constructor("$ZodULID",(e,t)=>{t.pattern??(t.pattern=dt.ulid),F.$ZodStringFormat.init(e,t)});F.$ZodXID=oe.$constructor("$ZodXID",(e,t)=>{t.pattern??(t.pattern=dt.xid),F.$ZodStringFormat.init(e,t)});F.$ZodKSUID=oe.$constructor("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=dt.ksuid),F.$ZodStringFormat.init(e,t)});F.$ZodISODateTime=oe.$constructor("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=dt.datetime(t)),F.$ZodStringFormat.init(e,t)});F.$ZodISODate=oe.$constructor("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=dt.date),F.$ZodStringFormat.init(e,t)});F.$ZodISOTime=oe.$constructor("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=dt.time(t)),F.$ZodStringFormat.init(e,t)});F.$ZodISODuration=oe.$constructor("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=dt.duration),F.$ZodStringFormat.init(e,t)});F.$ZodIPv4=oe.$constructor("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=dt.ipv4),F.$ZodStringFormat.init(e,t),e._zod.bag.format="ipv4"});F.$ZodIPv6=oe.$constructor("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=dt.ipv6),F.$ZodStringFormat.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}});F.$ZodMAC=oe.$constructor("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=dt.mac(t.delimiter)),F.$ZodStringFormat.init(e,t),e._zod.bag.format="mac"});F.$ZodCIDRv4=oe.$constructor("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=dt.cidrv4),F.$ZodStringFormat.init(e,t)});F.$ZodCIDRv6=oe.$constructor("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=dt.cidrv6),F.$ZodStringFormat.init(e,t),e._zod.check=r=>{let n=r.value.split("/");try{if(n.length!==2)throw new Error;let[i,a]=n;if(!a)throw new Error;let o=Number(a);if(`${o}`!==a)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${i}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function YA(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}F.$ZodBase64=oe.$constructor("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=dt.base64),F.$ZodStringFormat.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{YA(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function yae(e){if(!dt.base64url.test(e))return!1;let t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return YA(r)}F.$ZodBase64URL=oe.$constructor("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=dt.base64url),F.$ZodStringFormat.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{yae(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}});F.$ZodE164=oe.$constructor("$ZodE164",(e,t)=>{t.pattern??(t.pattern=dt.e164),F.$ZodStringFormat.init(e,t)});function bae(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));return!("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}}F.$ZodJWT=oe.$constructor("$ZodJWT",(e,t)=>{F.$ZodStringFormat.init(e,t),e._zod.check=r=>{bae(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}});F.$ZodCustomStringFormat=oe.$constructor("$ZodCustomStringFormat",(e,t)=>{F.$ZodStringFormat.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}});F.$ZodNumber=oe.$constructor("$ZodNumber",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=e._zod.bag.pattern??dt.number,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let i=r.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return r;let a=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),r}});F.$ZodNumberFormat=oe.$constructor("$ZodNumberFormat",(e,t)=>{c3.$ZodCheckNumberFormat.init(e,t),F.$ZodNumber.init(e,t)});F.$ZodBoolean=oe.$constructor("$ZodBoolean",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=dt.boolean,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let i=r.value;return typeof i=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}});F.$ZodBigInt=oe.$constructor("$ZodBigInt",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=dt.bigint,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}});F.$ZodBigIntFormat=oe.$constructor("$ZodBigIntFormat",(e,t)=>{c3.$ZodCheckBigIntFormat.init(e,t),F.$ZodBigInt.init(e,t)});F.$ZodSymbol=oe.$constructor("$ZodSymbol",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;return typeof i=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:i,inst:e}),r}});F.$ZodUndefined=oe.$constructor("$ZodUndefined",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=dt.undefined,e._zod.values=new Set([void 0]),e._zod.parse=(r,n)=>{let i=r.value;return typeof i>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:e}),r}});F.$ZodNull=oe.$constructor("$ZodNull",(e,t)=>{F.$ZodType.init(e,t),e._zod.pattern=dt.null,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let i=r.value;return i===null||r.issues.push({expected:"null",code:"invalid_type",input:i,inst:e}),r}});F.$ZodAny=oe.$constructor("$ZodAny",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=r=>r});F.$ZodUnknown=oe.$constructor("$ZodUnknown",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=r=>r});F.$ZodNever=oe.$constructor("$ZodNever",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});F.$ZodVoid=oe.$constructor("$ZodVoid",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;return typeof i>"u"||r.issues.push({expected:"void",code:"invalid_type",input:i,inst:e}),r}});F.$ZodDate=oe.$constructor("$ZodDate",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let i=r.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),r}});function nae(e,t,r){e.issues.length&&t.issues.push(...se.prefixIssues(r,e.issues)),t.value[r]=e.value}F.$ZodArray=oe.$constructor("$ZodArray",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let a=[];for(let o=0;o<i.length;o++){let s=i[o],l=t.element._zod.run({value:s,issues:[]},n);l instanceof Promise?a.push(l.then(c=>nae(c,r,o))):nae(l,r,o)}return a.length?Promise.all(a).then(()=>r):r}});function s3(e,t,r,n,i,a){let o=r in n;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...se.prefixIssues(r,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?o&&(t.value[r]=void 0):t.value[r]=e.value}function vae(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let r=se.optionalKeys(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function _ae(e,t,r,n,i,a){let o=[],s=i.keySet,l=i.catchall._zod,c=l.def.type,u=l.optin==="optional",d=l.optout==="optional";for(let f in t){if(f==="__proto__"||s.has(f))continue;if(c==="never"){o.push(f);continue}let p=l.run({value:t[f],issues:[]},n);p instanceof Promise?e.push(p.then(m=>s3(m,r,f,t,u,d))):s3(p,r,f,t,u,d)}return o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>r):r}F.$ZodObject=oe.$constructor("$ZodObject",(e,t)=>{if(F.$ZodType.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let n=se.cached(()=>vae(t));se.defineLazy(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let u=s[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(let d of u.values)l[c].add(d)}}return l});let i=se.isObject,a=t.catchall,o;e._zod.parse=(s,l)=>{o??(o=n.value);let c=s.value;if(!i(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let u=[],d=o.shape;for(let f of o.keys){let p=d[f],m=p._zod.optin==="optional",y=p._zod.optout==="optional",v=p._zod.run({value:c[f],issues:[]},l);v instanceof Promise?u.push(v.then(S=>s3(S,s,f,c,m,y))):s3(v,s,f,c,m,y)}return a?_ae(u,c,s,l,n.value,e):u.length?Promise.all(u).then(()=>s):s}});F.$ZodObjectJIT=oe.$constructor("$ZodObjectJIT",(e,t)=>{F.$ZodObject.init(e,t);let r=e._zod.parse,n=se.cached(()=>vae(t)),i=f=>{let p=new dZe.Doc(["shape","payload","ctx"]),m=n.value,y=w=>{let _=se.esc(w);return`shape[${_}]._zod.run({ value: input[${_}], issues: [] }, ctx)`};p.write("const input = payload.value;");let v=Object.create(null),S=0;for(let w of m.keys)v[w]=`key_${S++}`;p.write("const newResult = {};");for(let w of m.keys){let _=v[w],b=se.esc(w),A=f[w],j=A?._zod?.optin==="optional",P=A?._zod?.optout==="optional";p.write(`const ${_} = ${y(w)};`),j&&P?p.write(`
|
||
if (${_}.issues.length) {
|
||
if (${b} in input) {
|
||
payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${b}, ...iss.path] : [${b}]
|
||
})));
|
||
}
|
||
}
|
||
|
||
if (${_}.value === undefined) {
|
||
if (${b} in input) {
|
||
newResult[${b}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${b}] = ${_}.value;
|
||
}
|
||
|
||
`):j?p.write(`
|
||
if (${_}.issues.length) {
|
||
payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${b}, ...iss.path] : [${b}]
|
||
})));
|
||
}
|
||
|
||
if (${_}.value === undefined) {
|
||
if (${b} in input) {
|
||
newResult[${b}] = undefined;
|
||
}
|
||
} else {
|
||
newResult[${b}] = ${_}.value;
|
||
}
|
||
|
||
`):p.write(`
|
||
const ${_}_present = ${b} in input;
|
||
if (${_}.issues.length) {
|
||
payload.issues = payload.issues.concat(${_}.issues.map(iss => ({
|
||
...iss,
|
||
path: iss.path ? [${b}, ...iss.path] : [${b}]
|
||
})));
|
||
}
|
||
if (!${_}_present && !${_}.issues.length) {
|
||
payload.issues.push({
|
||
code: "invalid_type",
|
||
expected: "nonoptional",
|
||
input: undefined,
|
||
path: [${b}]
|
||
});
|
||
}
|
||
|
||
if (${_}_present) {
|
||
if (${_}.value === undefined) {
|
||
newResult[${b}] = undefined;
|
||
} else {
|
||
newResult[${b}] = ${_}.value;
|
||
}
|
||
}
|
||
|
||
`)}p.write("payload.value = newResult;"),p.write("return payload;");let E=p.compile();return(w,_)=>E(f,w,_)},a,o=se.isObject,s=!oe.globalConfig.jitless,l=se.allowsEval,c=s&&l.value,u=t.catchall,d;e._zod.parse=(f,p)=>{d??(d=n.value);let m=f.value;return o(m)?s&&c&&p?.async===!1&&p.jitless!==!0?(a||(a=i(t.shape)),f=a(f,p),u?_ae([],m,f,p,d,e):f):r(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),f)}});function iae(e,t,r,n){for(let a of e)if(a.issues.length===0)return t.value=a.value,t;let i=e.filter(a=>!se.aborted(a));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(a=>a.issues.map(o=>se.finalizeIssue(o,n,oe.config())))}),t)}F.$ZodUnion=oe.$constructor("$ZodUnion",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"optin",()=>t.options.some(n=>n._zod.optin==="optional")?"optional":void 0),se.defineLazy(e._zod,"optout",()=>t.options.some(n=>n._zod.optout==="optional")?"optional":void 0),se.defineLazy(e._zod,"values",()=>{if(t.options.every(n=>n._zod.values))return new Set(t.options.flatMap(n=>Array.from(n._zod.values)))}),se.defineLazy(e._zod,"pattern",()=>{if(t.options.every(n=>n._zod.pattern)){let n=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${n.map(i=>se.cleanRegex(i.source)).join("|")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,i)=>{if(r)return r(n,i);let a=!1,o=[];for(let s of t.options){let l=s._zod.run({value:n.value,issues:[]},i);if(l instanceof Promise)o.push(l),a=!0;else{if(l.issues.length===0)return l;o.push(l)}}return a?Promise.all(o).then(s=>iae(s,n,e,i)):iae(o,n,e,i)}});function aae(e,t,r,n){let i=e.filter(a=>a.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(a=>a.issues.map(o=>se.finalizeIssue(o,n,oe.config())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}F.$ZodXor=oe.$constructor("$ZodXor",(e,t)=>{F.$ZodUnion.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,i)=>{if(r)return r(n,i);let a=!1,o=[];for(let s of t.options){let l=s._zod.run({value:n.value,issues:[]},i);l instanceof Promise?(o.push(l),a=!0):o.push(l)}return a?Promise.all(o).then(s=>aae(s,n,e,i)):aae(o,n,e,i)}});F.$ZodDiscriminatedUnion=oe.$constructor("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,F.$ZodUnion.init(e,t);let r=e._zod.parse;se.defineLazy(e._zod,"propValues",()=>{let i={};for(let a of t.options){let o=a._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let[s,l]of Object.entries(o)){i[s]||(i[s]=new Set);for(let c of l)i[s].add(c)}}return i});let n=se.cached(()=>{let i=t.options,a=new Map;for(let o of i){let s=o._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let l of s){if(a.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);a.set(l,o)}}return a});e._zod.parse=(i,a)=>{let o=i.value;if(!se.isObject(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),i;let s=n.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback||a.direction==="backward"?r(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(n.value.keys()),input:o,path:[t.discriminator],inst:e}),i)}});F.$ZodIntersection=oe.$constructor("$ZodIntersection",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value,a=t.left._zod.run({value:i,issues:[]},n),o=t.right._zod.run({value:i,issues:[]},n);return a instanceof Promise||o instanceof Promise?Promise.all([a,o]).then(([l,c])=>oae(r,l,c)):oae(r,a,o)}});function XA(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(se.isPlainObject(e)&&se.isPlainObject(t)){let r=Object.keys(t),n=Object.keys(e).filter(a=>r.indexOf(a)!==-1),i={...e,...t};for(let a of n){let o=XA(e[a],t[a]);if(!o.valid)return{valid:!1,mergeErrorPath:[a,...o.mergeErrorPath]};i[a]=o.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let i=e[n],a=t[n],o=XA(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[n,...o.mergeErrorPath]};r.push(o.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function oae(e,t,r){let n=new Map,i;for(let s of t.issues)if(s.code==="unrecognized_keys"){i??(i=s);for(let l of s.keys)n.has(l)||n.set(l,{}),n.get(l).l=!0}else e.issues.push(s);for(let s of r.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)n.has(l)||n.set(l,{}),n.get(l).r=!0;else e.issues.push(s);let a=[...n].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(a.length&&i&&e.issues.push({...i,keys:a}),se.aborted(e))return e;let o=XA(t.value,r.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}F.$ZodTuple=oe.$constructor("$ZodTuple",(e,t)=>{F.$ZodType.init(e,t);let r=t.items;e._zod.parse=(n,i)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let o=[],s=sae(r,"optin"),l=sae(r,"optout");if(!t.rest){if(a.length<s)return n.issues.push({code:"too_small",minimum:s,inclusive:!0,input:a,inst:e,origin:"array"}),n;a.length>r.length&&n.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:a,inst:e,origin:"array"})}let c=new Array(r.length);for(let u=0;u<r.length;u++){let d=r[u]._zod.run({value:a[u],issues:[]},i);d instanceof Promise?o.push(d.then(f=>{c[u]=f})):c[u]=d}if(t.rest){let u=r.length-1,d=a.slice(r.length);for(let f of d){u++;let p=t.rest._zod.run({value:f,issues:[]},i);p instanceof Promise?o.push(p.then(m=>lae(m,n,u))):lae(p,n,u)}}return o.length?Promise.all(o).then(()=>cae(c,n,r,a,l)):cae(c,n,r,a,l)}});function sae(e,t){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[t]!=="optional")return r+1;return 0}function lae(e,t,r){e.issues.length&&t.issues.push(...se.prefixIssues(r,e.issues)),t.value[r]=e.value}function cae(e,t,r,n,i){for(let a=0;a<r.length;a++){let o=e[a],s=a<n.length;if(o.issues.length){if(!s&&a>=i){t.value.length=a;break}t.issues.push(...se.prefixIssues(a,o.issues))}t.value[a]=o.value}for(let a=t.value.length-1;a>=n.length&&(r[a]._zod.optout==="optional"&&t.value[a]===void 0);a--)t.value.length=a;return t}F.$ZodRecord=oe.$constructor("$ZodRecord",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!se.isPlainObject(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[],o=t.keyType._zod.values;if(o){r.value={};let s=new Set;for(let c of o)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let u=t.keyType._zod.run({value:c,issues:[]},n);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(p=>se.finalizeIssue(p,n,oe.config())),input:c,path:[c],inst:e});continue}let d=u.value,f=t.valueType._zod.run({value:i[c],issues:[]},n);f instanceof Promise?a.push(f.then(p=>{p.issues.length&&r.issues.push(...se.prefixIssues(c,p.issues)),r.value[d]=p.value})):(f.issues.length&&r.issues.push(...se.prefixIssues(c,f.issues)),r.value[d]=f.value)}let l;for(let c in i)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:l})}else{r.value={};for(let s of Reflect.ownKeys(i)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,s))continue;let l=t.keyType._zod.run({value:s,issues:[]},n);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&dt.number.test(s)&&l.issues.length){let d=t.keyType._zod.run({value:Number(s),issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(l=d)}if(l.issues.length){t.mode==="loose"?r.value[s]=i[s]:r.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(d=>se.finalizeIssue(d,n,oe.config())),input:s,path:[s],inst:e});continue}let u=t.valueType._zod.run({value:i[s],issues:[]},n);u instanceof Promise?a.push(u.then(d=>{d.issues.length&&r.issues.push(...se.prefixIssues(s,d.issues)),r.value[l.value]=d.value})):(u.issues.length&&r.issues.push(...se.prefixIssues(s,u.issues)),r.value[l.value]=u.value)}}return a.length?Promise.all(a).then(()=>r):r}});F.$ZodMap=oe.$constructor("$ZodMap",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),r;let a=[];r.value=new Map;for(let[o,s]of i){let l=t.keyType._zod.run({value:o,issues:[]},n),c=t.valueType._zod.run({value:s,issues:[]},n);l instanceof Promise||c instanceof Promise?a.push(Promise.all([l,c]).then(([u,d])=>{uae(u,d,r,o,i,e,n)})):uae(l,c,r,o,i,e,n)}return a.length?Promise.all(a).then(()=>r):r}});function uae(e,t,r,n,i,a,o){e.issues.length&&(se.propertyKeyTypes.has(typeof n)?r.issues.push(...se.prefixIssues(n,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:i,inst:a,issues:e.issues.map(s=>se.finalizeIssue(s,o,oe.config()))})),t.issues.length&&(se.propertyKeyTypes.has(typeof n)?r.issues.push(...se.prefixIssues(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:n,issues:t.issues.map(s=>se.finalizeIssue(s,o,oe.config()))})),r.value.set(e.value,t.value)}F.$ZodSet=oe.$constructor("$ZodSet",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Set))return r.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),r;let a=[];r.value=new Set;for(let o of i){let s=t.valueType._zod.run({value:o,issues:[]},n);s instanceof Promise?a.push(s.then(l=>dae(l,r))):dae(s,r)}return a.length?Promise.all(a).then(()=>r):r}});function dae(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}F.$ZodEnum=oe.$constructor("$ZodEnum",(e,t)=>{F.$ZodType.init(e,t);let r=se.getEnumValues(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(i=>se.propertyKeyTypes.has(typeof i)).map(i=>typeof i=="string"?se.escapeRegex(i):i.toString()).join("|")})$`),e._zod.parse=(i,a)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:r,input:o,inst:e}),i}});F.$ZodLiteral=oe.$constructor("$ZodLiteral",(e,t)=>{if(F.$ZodType.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?se.escapeRegex(n):n?se.escapeRegex(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,i)=>{let a=n.value;return r.has(a)||n.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),n}});F.$ZodFile=oe.$constructor("$ZodFile",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;return i instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:i,inst:e}),r}});F.$ZodTransform=oe.$constructor("$ZodTransform",(e,t)=>{F.$ZodType.init(e,t),e._zod.optin="optional",e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new oe.$ZodEncodeError(e.constructor.name);let i=t.transform(r.value,r);if(n.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(r.value=o,r.fallback=!0,r));if(i instanceof Promise)throw new oe.$ZodAsyncError;return r.value=i,r.fallback=!0,r}});function pae(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}F.$ZodOptional=oe.$constructor("$ZodOptional",(e,t)=>{F.$ZodType.init(e,t),e._zod.optin="optional",e._zod.optout="optional",se.defineLazy(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),se.defineLazy(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${se.cleanRegex(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){let i=r.value,a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(o=>pae(o,i)):pae(a,i)}return r.value===void 0?r:t.innerType._zod.run(r,n)}});F.$ZodExactOptional=oe.$constructor("$ZodExactOptional",(e,t)=>{F.$ZodOptional.init(e,t),se.defineLazy(e._zod,"values",()=>t.innerType._zod.values),se.defineLazy(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)});F.$ZodNullable=oe.$constructor("$ZodNullable",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"optin",()=>t.innerType._zod.optin),se.defineLazy(e._zod,"optout",()=>t.innerType._zod.optout),se.defineLazy(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${se.cleanRegex(r.source)}|null)$`):void 0}),se.defineLazy(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)});F.$ZodDefault=oe.$constructor("$ZodDefault",(e,t)=>{F.$ZodType.init(e,t),e._zod.optin="optional",se.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(a=>fae(a,t)):fae(i,t)}});function fae(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}F.$ZodPrefault=oe.$constructor("$ZodPrefault",(e,t)=>{F.$ZodType.init(e,t),e._zod.optin="optional",se.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))});F.$ZodNonOptional=oe.$constructor("$ZodNonOptional",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"values",()=>{let r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(a=>mae(a,e)):mae(i,e)}});function mae(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}F.$ZodSuccess=oe.$constructor("$ZodSuccess",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new oe.$ZodEncodeError("ZodSuccess");let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(a=>(r.value=a.issues.length===0,r)):(r.value=i.issues.length===0,r)}});F.$ZodCatch=oe.$constructor("$ZodCatch",(e,t)=>{F.$ZodType.init(e,t),e._zod.optin="optional",se.defineLazy(e._zod,"optout",()=>t.innerType._zod.optout),se.defineLazy(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(a=>(r.value=a.value,a.issues.length&&(r.value=t.catchValue({...r,error:{issues:a.issues.map(o=>se.finalizeIssue(o,n,oe.config()))},input:r.value}),r.issues=[],r.fallback=!0),r)):(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(a=>se.finalizeIssue(a,n,oe.config()))},input:r.value}),r.issues=[],r.fallback=!0),r)}});F.$ZodNaN=oe.$constructor("$ZodNaN",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)});F.$ZodPipe=oe.$constructor("$ZodPipe",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"values",()=>t.in._zod.values),se.defineLazy(e._zod,"optin",()=>t.in._zod.optin),se.defineLazy(e._zod,"optout",()=>t.out._zod.optout),se.defineLazy(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){let a=t.out._zod.run(r,n);return a instanceof Promise?a.then(o=>i3(o,t.in,n)):i3(a,t.in,n)}let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(a=>i3(a,t.out,n)):i3(i,t.out,n)}});function i3(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}F.$ZodCodec=oe.$constructor("$ZodCodec",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"values",()=>t.in._zod.values),se.defineLazy(e._zod,"optin",()=>t.in._zod.optin),se.defineLazy(e._zod,"optout",()=>t.out._zod.optout),se.defineLazy(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||"forward")==="forward"){let a=t.in._zod.run(r,n);return a instanceof Promise?a.then(o=>a3(o,t,n)):a3(a,t,n)}else{let a=t.out._zod.run(r,n);return a instanceof Promise?a.then(o=>a3(o,t,n)):a3(a,t,n)}}});function a3(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){let i=t.transform(e.value,e);return i instanceof Promise?i.then(a=>o3(e,a,t.out,r)):o3(e,i,t.out,r)}else{let i=t.reverseTransform(e.value,e);return i instanceof Promise?i.then(a=>o3(e,a,t.in,r)):o3(e,i,t.in,r)}}function o3(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}F.$ZodPreprocess=oe.$constructor("$ZodPreprocess",(e,t)=>{F.$ZodPipe.init(e,t)});F.$ZodReadonly=oe.$constructor("$ZodReadonly",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"propValues",()=>t.innerType._zod.propValues),se.defineLazy(e._zod,"values",()=>t.innerType._zod.values),se.defineLazy(e._zod,"optin",()=>t.innerType?._zod?.optin),se.defineLazy(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(hae):hae(i)}});function hae(e){return e.value=Object.freeze(e.value),e}F.$ZodTemplateLiteral=oe.$constructor("$ZodTemplateLiteral",(e,t)=>{F.$ZodType.init(e,t);let r=[];for(let n of t.parts)if(typeof n=="object"&&n!==null){if(!n._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);let i=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!i)throw new Error(`Invalid template literal part: ${n._zod.traits}`);let a=i.startsWith("^")?1:0,o=i.endsWith("$")?i.length-1:i.length;r.push(i.slice(a,o))}else if(n===null||se.primitiveTypes.has(typeof n))r.push(se.escapeRegex(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(n,i)=>typeof n.value!="string"?(n.issues.push({input:n.value,inst:e,expected:"string",code:"invalid_type"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),n)});F.$ZodFunction=oe.$constructor("$ZodFunction",(e,t)=>(F.$ZodType.init(e,t),e._def=t,e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...n){let i=e._def.input?(0,th.parse)(e._def.input,n):n,a=Reflect.apply(r,this,i);return e._def.output?(0,th.parse)(e._def.output,a):a}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...n){let i=e._def.input?await(0,th.parseAsync)(e._def.input,n):n,a=await Reflect.apply(r,this,i);return e._def.output?await(0,th.parseAsync)(e._def.output,a):a}},e._zod.parse=(r,n)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:"function",input:new F.$ZodTuple({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:"function",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:"function",input:e._def.input,output:r})},e));F.$ZodPromise=oe.$constructor("$ZodPromise",(e,t)=>{F.$ZodType.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(i=>t.innerType._zod.run({value:i,issues:[]},n))});F.$ZodLazy=oe.$constructor("$ZodLazy",(e,t)=>{F.$ZodType.init(e,t),se.defineLazy(e._zod,"innerType",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),se.defineLazy(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),se.defineLazy(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),se.defineLazy(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),se.defineLazy(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)});F.$ZodCustom=oe.$constructor("$ZodCustom",(e,t)=>{c3.$ZodCheck.init(e,t),F.$ZodType.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then(a=>gae(a,r,n,e));gae(i,r,n,e)}});function gae(e,t,r,n){if(!e){let i={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(i.params=n._zod.def.params),t.issues.push(se.issue(i))}}});var Sae=h((ss,wae)=>{"use strict";var mZe=ss&&ss.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),hZe=ss&&ss.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),gZe=ss&&ss.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&mZe(t,e,r);return hZe(t,e),t};Object.defineProperty(ss,"__esModule",{value:!0});ss.default=bZe;var u3=gZe(Se()),yZe=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(i){return e[i]??null}let r={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=u3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${i.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${a}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${s}`}case"invalid_value":return i.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${u3.stringifyPrimitive(i.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${u3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${a} ${i.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${i.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${a} ${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${a} ${i.minimum.toString()} ${o.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${i.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${a} ${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${i.prefix}"`:a.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${a.suffix}"`:a.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${a.includes}"`:a.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${a.pattern}`:`${r[a.format]??i.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${i.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${i.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${i.keys.length>1?"\u0629":""}: ${u3.joinValues(i.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${i.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function bZe(){return{localeError:yZe()}}wae.exports=ss.default});var xae=h((ls,Eae)=>{"use strict";var vZe=ls&&ls.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),_Ze=ls&&ls.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),wZe=ls&&ls.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&vZe(t,e,r);return _Ze(t,e),t};Object.defineProperty(ls,"__esModule",{value:!0});ls.default=EZe;var d3=wZe(Se()),SZe=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=d3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${i.expected}, daxil olan ${s}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${a}, daxil olan ${s}`}case"invalid_value":return i.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${d3.stringifyPrimitive(i.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${d3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${a}${i.maximum.toString()} ${o.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${i.origin??"d\u0259y\u0259r"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${a}${i.minimum.toString()} ${o.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${a.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:a.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${a.suffix}" il\u0259 bitm\u0259lidir`:a.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${a.includes}" daxil olmal\u0131d\u0131r`:a.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${a.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${r[a.format]??i.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${i.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${i.keys.length>1?"lar":""}: ${d3.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${i.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function EZe(){return{localeError:SZe()}}Eae.exports=ls.default});var Tae=h((cs,Cae)=>{"use strict";var xZe=cs&&cs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),OZe=cs&&cs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CZe=cs&&cs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xZe(t,e,r);return OZe(t,e),t};Object.defineProperty(cs,"__esModule",{value:!0});cs.default=IZe;var p3=CZe(Se());function Oae(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?n:a===1?t:a>=2&&a<=4?r:n}var TZe=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(i){return e[i]??null}let r={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},n={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=p3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${i.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${a}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${s}`}case"invalid_value":return i.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${p3.stringifyPrimitive(i.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${p3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);if(o){let s=Number(i.maximum),l=Oae(s,o.unit.one,o.unit.few,o.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${o.verb} ${a}${i.maximum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);if(o){let s=Number(i.minimum),l=Oae(s,o.unit.one,o.unit.few,o.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${o.verb} ${a}${i.minimum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${i.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${a.includes}"`:a.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${r[a.format]??i.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${i.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${p3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${i.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function IZe(){return{localeError:TZe()}}Cae.exports=cs.default});var Aae=h((us,Iae)=>{"use strict";var AZe=us&&us.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),DZe=us&&us.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),LZe=us&&us.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&AZe(t,e,r);return DZe(t,e),t};Object.defineProperty(us,"__esModule",{value:!0});us.default=NZe;var f3=LZe(Se()),kZe=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=f3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${a}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${s}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${f3.stringifyPrimitive(i.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${f3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${a}${i.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${a}${i.minimum.toString()} ${o.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${i.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;if(a.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${a.prefix}"`;if(a.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${a.suffix}"`;if(a.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${a.includes}"`;if(a.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${a.pattern}`;let o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return a.format==="emoji"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="datetime"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="date"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),a.format==="time"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),a.format==="duration"&&(o="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${o} ${r[a.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${i.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u043E\u0432\u0435":""}: ${f3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}};function NZe(){return{localeError:kZe()}}Iae.exports=us.default});var Lae=h((ds,Dae)=>{"use strict";var jZe=ds&&ds.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),PZe=ds&&ds.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),MZe=ds&&ds.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&jZe(t,e,r);return PZe(t,e),t};Object.defineProperty(ds,"__esModule",{value:!0});ds.default=FZe;var m3=MZe(Se()),RZe=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(i){return e[i]??null}let r={regex:"entrada",email:"adre\xE7a electr\xF2nica",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\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=m3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${i.expected}, s'ha rebut ${s}`:`Tipus inv\xE0lid: s'esperava ${a}, s'ha rebut ${s}`}case"invalid_value":return i.values.length===1?`Valor inv\xE0lid: s'esperava ${m3.stringifyPrimitive(i.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${m3.joinValues(i.values," o ")}`;case"too_big":{let a=i.inclusive?"com a m\xE0xim":"menys de",o=t(i.origin);return o?`Massa gran: s'esperava que ${i.origin??"el valor"} contingu\xE9s ${a} ${i.maximum.toString()} ${o.unit??"elements"}`:`Massa gran: s'esperava que ${i.origin??"el valor"} fos ${a} ${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?"com a m\xEDnim":"m\xE9s de",o=t(i.origin);return o?`Massa petit: s'esperava que ${i.origin} contingu\xE9s ${a} ${i.minimum.toString()} ${o.unit}`:`Massa petit: s'esperava que ${i.origin} fos ${a} ${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${a.prefix}"`:a.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${a.suffix}"`:a.format==="includes"?`Format inv\xE0lid: ha d'incloure "${a.includes}"`:a.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${a.pattern}`:`Format inv\xE0lid per a ${r[a.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${i.divisor}`;case"unrecognized_keys":return`Clau${i.keys.length>1?"s":""} no reconeguda${i.keys.length>1?"s":""}: ${m3.joinValues(i.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${i.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${i.origin}`;default:return"Entrada inv\xE0lida"}}};function FZe(){return{localeError:RZe()}}Dae.exports=ds.default});var Nae=h((ps,kae)=>{"use strict";var $Ze=ps&&ps.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),UZe=ps&&ps.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zZe=ps&&ps.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&$Ze(t,e,r);return UZe(t,e),t};Object.defineProperty(ps,"__esModule",{value:!0});ps.default=BZe;var h3=zZe(Se()),qZe=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(i){return e[i]??null}let r={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 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 \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"},n={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=h3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${i.expected}, obdr\u017Eeno ${s}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${a}, obdr\u017Eeno ${s}`}case"invalid_value":return i.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${h3.stringifyPrimitive(i.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${h3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${a}${i.maximum.toString()} ${o.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED m\xEDt ${a}${i.minimum.toString()} ${o.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${i.origin??"hodnota"} mus\xED b\xFDt ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${a.prefix}"`:a.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${a.suffix}"`:a.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${a.includes}"`:a.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${a.pattern}`:`Neplatn\xFD form\xE1t ${r[a.format]??i.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${i.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${h3.joinValues(i.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${i.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${i.origin}`;default:return"Neplatn\xFD vstup"}}};function BZe(){return{localeError:qZe()}}kae.exports=ps.default});var Pae=h((fs,jae)=>{"use strict";var VZe=fs&&fs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),WZe=fs&&fs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ZZe=fs&&fs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&VZe(t,e,r);return WZe(t,e),t};Object.defineProperty(fs,"__esModule",{value:!0});fs.default=GZe;var g3=ZZe(Se()),HZe=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(i){return e[i]??null}let r={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\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",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"},n={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=g3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ugyldigt input: forventede instanceof ${i.expected}, fik ${s}`:`Ugyldigt input: forventede ${a}, fik ${s}`}case"invalid_value":return i.values.length===1?`Ugyldig v\xE6rdi: forventede ${g3.stringifyPrimitive(i.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${g3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin),s=n[i.origin]??i.origin;return o?`For stor: forventede ${s??"value"} ${o.verb} ${a} ${i.maximum.toString()} ${o.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${a} ${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin),s=n[i.origin]??i.origin;return o?`For lille: forventede ${s} ${o.verb} ${a} ${i.minimum.toString()} ${o.unit}`:`For lille: forventede ${s} havde ${a} ${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ugyldig streng: skal starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: skal ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: skal indeholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${a.pattern}`:`Ugyldig ${r[a.format]??i.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${g3.joinValues(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${i.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${i.origin}`;default:return"Ugyldigt input"}}};function GZe(){return{localeError:HZe()}}jae.exports=fs.default});var Rae=h((ms,Mae)=>{"use strict";var JZe=ms&&ms.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),KZe=ms&&ms.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),XZe=ms&&ms.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&JZe(t,e,r);return KZe(t,e),t};Object.defineProperty(ms,"__esModule",{value:!0});ms.default=QZe;var y3=XZe(Se()),YZe=()=>{let e={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 t(i){return e[i]??null}let r={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"},n={nan:"NaN",number:"Zahl",array:"Array"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=y3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${i.expected}, erhalten ${s}`:`Ung\xFCltige Eingabe: erwartet ${a}, erhalten ${s}`}case"invalid_value":return i.values.length===1?`Ung\xFCltige Eingabe: erwartet ${y3.stringifyPrimitive(i.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${y3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${a}${i.maximum.toString()} ${o.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${i.origin??"Wert"} ${a}${i.maximum.toString()} ist`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Zu klein: erwartet, dass ${i.origin} ${a}${i.minimum.toString()} ${o.unit} hat`:`Zu klein: erwartet, dass ${i.origin} ${a}${i.minimum.toString()} ist`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ung\xFCltiger String: muss mit "${a.prefix}" beginnen`:a.format==="ends_with"?`Ung\xFCltiger String: muss mit "${a.suffix}" enden`:a.format==="includes"?`Ung\xFCltiger String: muss "${a.includes}" enthalten`:a.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${a.pattern} entsprechen`:`Ung\xFCltig: ${r[a.format]??i.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${i.divisor} sein`;case"unrecognized_keys":return`${i.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${y3.joinValues(i.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${i.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${i.origin}`;default:return"Ung\xFCltige Eingabe"}}};function QZe(){return{localeError:YZe()}}Mae.exports=ms.default});var $ae=h((hs,Fae)=>{"use strict";var eHe=hs&&hs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),tHe=hs&&hs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rHe=hs&&hs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&eHe(t,e,r);return tHe(t,e),t};Object.defineProperty(hs,"__esModule",{value:!0});hs.default=iHe;var b3=rHe(Se()),nHe=()=>{let e={string:{unit:"\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},file:{unit:"bytes",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},array:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},set:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},map:{unit:"\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"}};function t(i){return e[i]??null}let r={regex:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",email:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 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 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",date:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",time:"ISO \u03CE\u03C1\u03B1",duration:"ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",ipv4:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",ipv6:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",mac:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",cidrv4:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",cidrv6:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",base64:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",base64url:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",json_string:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",e164:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",jwt:"JWT",template_literal:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=b3.parsedType(i.input),s=n[o]??o;return typeof i.expected=="string"&&/^[A-Z]/.test(i.expected)?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${i.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${a}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${s}`}case"invalid_value":return i.values.length===1?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${b3.stringifyPrimitive(i.values[0])}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${b3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${a}${i.maximum.toString()} ${o.unit??"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${a}${i.minimum.toString()} ${o.unit}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${i.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${a.prefix}"`:a.format==="ends_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${a.suffix}"`:a.format==="includes"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${a.includes}"`:a.format==="regex"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${a.pattern}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${r[a.format]??i.format}`}case"not_multiple_of":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${i.divisor}`;case"unrecognized_keys":return`\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${i.keys.length>1?"\u03B1":"\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${i.keys.length>1?"\u03B9\u03AC":"\u03AF"}: ${b3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${i.origin}`;case"invalid_union":return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";case"invalid_element":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${i.origin}`;default:return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"}}};function iHe(){return{localeError:nHe()}}Fae.exports=hs.default});var eD=h((gs,Uae)=>{"use strict";var aHe=gs&&gs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),oHe=gs&&gs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),sHe=gs&&gs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&aHe(t,e,r);return oHe(t,e),t};Object.defineProperty(gs,"__esModule",{value:!0});gs.default=cHe;var v3=sHe(Se()),lHe=()=>{let e={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 t(i){return e[i]??null}let r={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"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=v3.parsedType(i.input),s=n[o]??o;return`Invalid input: expected ${a}, received ${s}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${v3.stringifyPrimitive(i.values[0])}`:`Invalid option: expected one of ${v3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Too big: expected ${i.origin??"value"} to have ${a}${i.maximum.toString()} ${o.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Too small: expected ${i.origin} to have ${a}${i.minimum.toString()} ${o.unit}`:`Too small: expected ${i.origin} to be ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${r[a.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${v3.joinValues(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(o=>`'${o}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function cHe(){return{localeError:lHe()}}Uae.exports=gs.default});var qae=h((ys,zae)=>{"use strict";var uHe=ys&&ys.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),dHe=ys&&ys.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),pHe=ys&&ys.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&uHe(t,e,r);return dHe(t,e),t};Object.defineProperty(ys,"__esModule",{value:!0});ys.default=mHe;var _3=pHe(Se()),fHe=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(i){return e[i]??null}let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",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\u016Dro",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"},n={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=_3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${i.expected}, ricevi\u011Dis ${s}`:`Nevalida enigo: atendi\u011Dis ${a}, ricevi\u011Dis ${s}`}case"invalid_value":return i.values.length===1?`Nevalida enigo: atendi\u011Dis ${_3.stringifyPrimitive(i.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${_3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${a}${i.maximum.toString()} ${o.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${i.origin??"valoro"} havu ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Tro malgranda: atendi\u011Dis ke ${i.origin} havu ${a}${i.minimum.toString()} ${o.unit}`:`Tro malgranda: atendi\u011Dis ke ${i.origin} estu ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${a.prefix}"`:a.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${a.suffix}"`:a.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${a.includes}"`:a.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${a.pattern}`:`Nevalida ${r[a.format]??i.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${i.divisor}`;case"unrecognized_keys":return`Nekonata${i.keys.length>1?"j":""} \u015Dlosilo${i.keys.length>1?"j":""}: ${_3.joinValues(i.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${i.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${i.origin}`;default:return"Nevalida enigo"}}};function mHe(){return{localeError:fHe()}}zae.exports=ys.default});var Vae=h((bs,Bae)=>{"use strict";var hHe=bs&&bs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),gHe=bs&&bs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),yHe=bs&&bs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&hHe(t,e,r);return gHe(t,e),t};Object.defineProperty(bs,"__esModule",{value:!0});bs.default=vHe;var w3=yHe(Se()),bHe=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(i){return e[i]??null}let r={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",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\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=w3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${i.expected}, recibido ${s}`:`Entrada inv\xE1lida: se esperaba ${a}, recibido ${s}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: se esperaba ${w3.stringifyPrimitive(i.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${w3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin),s=n[i.origin]??i.origin;return o?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${a}${i.maximum.toString()} ${o.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin),s=n[i.origin]??i.origin;return o?`Demasiado peque\xF1o: se esperaba que ${s} tuviera ${a}${i.minimum.toString()} ${o.unit}`:`Demasiado peque\xF1o: se esperaba que ${s} fuera ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${a.prefix}"`:a.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${a.suffix}"`:a.format==="includes"?`Cadena inv\xE1lida: debe incluir "${a.includes}"`:a.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${a.pattern}`:`Inv\xE1lido ${r[a.format]??i.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Llave${i.keys.length>1?"s":""} desconocida${i.keys.length>1?"s":""}: ${w3.joinValues(i.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n[i.origin]??i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n[i.origin]??i.origin}`;default:return"Entrada inv\xE1lida"}}};function vHe(){return{localeError:bHe()}}Bae.exports=bs.default});var Zae=h((vs,Wae)=>{"use strict";var _He=vs&&vs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),wHe=vs&&vs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),SHe=vs&&vs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&_He(t,e,r);return wHe(t,e),t};Object.defineProperty(vs,"__esModule",{value:!0});vs.default=xHe;var S3=SHe(Se()),EHe=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(i){return e[i]??null}let r={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=S3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${i.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${a} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${s} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return i.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${S3.stringifyPrimitive(i.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${S3.joinValues(i.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${a}${i.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${i.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${a}${i.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${a}${i.minimum.toString()} ${o.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${i.origin} \u0628\u0627\u06CC\u062F ${a}${i.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${a.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:a.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${a.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:a.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${a.includes}" \u0628\u0627\u0634\u062F`:a.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${a.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${r[a.format]??i.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${i.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${i.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${S3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${i.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${i.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function xHe(){return{localeError:EHe()}}Wae.exports=vs.default});var Gae=h((_s,Hae)=>{"use strict";var OHe=_s&&_s.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),CHe=_s&&_s.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),THe=_s&&_s.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&OHe(t,e,r);return CHe(t,e),t};Object.defineProperty(_s,"__esModule",{value:!0});_s.default=AHe;var E3=THe(Se()),IHe=()=>{let e={string:{unit:"merkki\xE4",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\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(i){return e[i]??null}let r={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",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\xE4iv\xE4m\xE4\xE4r\xE4",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"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=E3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Virheellinen tyyppi: odotettiin instanceof ${i.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${a}, oli ${s}`}case"invalid_value":return i.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${E3.stringifyPrimitive(i.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${E3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Liian suuri: ${o.subject} t\xE4ytyy olla ${a}${i.maximum.toString()} ${o.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Liian pieni: ${o.subject} t\xE4ytyy olla ${a}${i.minimum.toString()} ${o.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${a.prefix}"`:a.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${a.suffix}"`:a.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${a.includes}"`:a.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${a.pattern}`:`Virheellinen ${r[a.format]??i.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${i.divisor} monikerta`;case"unrecognized_keys":return`${i.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${E3.joinValues(i.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\xF6te"}}};function AHe(){return{localeError:IHe()}}Hae.exports=_s.default});var Kae=h((ws,Jae)=>{"use strict";var DHe=ws&&ws.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),LHe=ws&&ws.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),kHe=ws&&ws.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&DHe(t,e,r);return LHe(t,e),t};Object.defineProperty(ws,"__esModule",{value:!0});ws.default=jHe;var x3=kHe(Se()),NHe=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let r={regex:"entr\xE9e",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\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={string:"cha\xEEne",number:"nombre",int:"entier",boolean:"bool\xE9en",bigint:"grand entier",symbol:"symbole",undefined:"ind\xE9fini",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 i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=x3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : instanceof ${i.expected} attendu, ${s} re\xE7u`:`Entr\xE9e invalide : ${a} attendu, ${s} re\xE7u`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : ${x3.stringifyPrimitive(i.values[0])} attendu`:`Option invalide : une valeur parmi ${x3.joinValues(i.values,"|")} attendue`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Trop grand : ${n[i.origin]??"valeur"} doit ${o.verb} ${a}${i.maximum.toString()} ${o.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${n[i.origin]??"valeur"} doit \xEAtre ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Trop petit : ${n[i.origin]??"valeur"} doit ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`Trop petit : ${n[i.origin]??"valeur"} doit \xEAtre ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Cha\xEEne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${a.pattern}`:`${r[a.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${x3.joinValues(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}};function jHe(){return{localeError:NHe()}}Jae.exports=ws.default});var Yae=h((Ss,Xae)=>{"use strict";var PHe=Ss&&Ss.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),MHe=Ss&&Ss.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),RHe=Ss&&Ss.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&PHe(t,e,r);return MHe(t,e),t};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=$He;var O3=RHe(Se()),FHe=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(i){return e[i]??null}let r={regex:"entr\xE9e",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\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=O3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Entr\xE9e invalide : attendu instanceof ${i.expected}, re\xE7u ${s}`:`Entr\xE9e invalide : attendu ${a}, re\xE7u ${s}`}case"invalid_value":return i.values.length===1?`Entr\xE9e invalide : attendu ${O3.stringifyPrimitive(i.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${O3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"\u2264":"<",o=t(i.origin);return o?`Trop grand : attendu que ${i.origin??"la valeur"} ait ${a}${i.maximum.toString()} ${o.unit}`:`Trop grand : attendu que ${i.origin??"la valeur"} soit ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?"\u2265":">",o=t(i.origin);return o?`Trop petit : attendu que ${i.origin} ait ${a}${i.minimum.toString()} ${o.unit}`:`Trop petit : attendu que ${i.origin} soit ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Cha\xEEne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${a.pattern}`:`${r[a.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${i.divisor}`;case"unrecognized_keys":return`Cl\xE9${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${O3.joinValues(i.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${i.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entr\xE9e invalide"}}};function $He(){return{localeError:FHe()}}Xae.exports=Ss.default});var eoe=h((Es,Qae)=>{"use strict";var UHe=Es&&Es.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),zHe=Es&&Es.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qHe=Es&&Es.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&UHe(t,e,r);return zHe(t,e),t};Object.defineProperty(Es,"__esModule",{value:!0});Es.default=VHe;var C3=qHe(Se()),BHe=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},r=c=>c?e[c]:void 0,n=c=>{let u=r(c);return u?u.label:c??e.unknown.label},i=c=>`\u05D4${n(c)}`,a=c=>(r(c)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",o=c=>c?t[c]??null:null,s={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",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:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},l={nan:"NaN"};return c=>{switch(c.code){case"invalid_type":{let u=c.expected,d=l[u??""]??n(u),f=C3.parsedType(c.input),p=l[f]??e[f]?.label??f;return/^[A-Z]/.test(c.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${c.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${d}, \u05D4\u05EA\u05E7\u05D1\u05DC ${p}`}case"invalid_value":{if(c.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${C3.stringifyPrimitive(c.values[0])}`;let u=c.values.map(p=>C3.stringifyPrimitive(p));if(c.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${u[0]} \u05D0\u05D5 ${u[1]}`;let d=u[u.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${u.slice(0,-1).join(", ")} \u05D0\u05D5 ${d}`}case"too_big":{let u=o(c.origin),d=i(c.origin??"value");if(c.origin==="string")return`${u?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${c.maximum.toString()} ${u?.unit??""} ${c.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(c.origin==="number"){let m=c.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${c.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${c.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${m}`}if(c.origin==="array"||c.origin==="set"){let m=c.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",y=c.inclusive?`${c.maximum} ${u?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${c.maximum} ${u?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${d} ${m} \u05DC\u05D4\u05DB\u05D9\u05DC ${y}`.trim()}let f=c.inclusive?"<=":"<",p=a(c.origin??"value");return u?.unit?`${u.longLabel} \u05DE\u05D3\u05D9: ${d} ${p} ${f}${c.maximum.toString()} ${u.unit}`:`${u?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${d} ${p} ${f}${c.maximum.toString()}`}case"too_small":{let u=o(c.origin),d=i(c.origin??"value");if(c.origin==="string")return`${u?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${c.minimum.toString()} ${u?.unit??""} ${c.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(c.origin==="number"){let m=c.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${c.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${c.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${m}`}if(c.origin==="array"||c.origin==="set"){let m=c.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(c.minimum===1&&c.inclusive){let v=(c.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${m} \u05DC\u05D4\u05DB\u05D9\u05DC ${v}`}let y=c.inclusive?`${c.minimum} ${u?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${c.minimum} ${u?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${d} ${m} \u05DC\u05D4\u05DB\u05D9\u05DC ${y}`.trim()}let f=c.inclusive?">=":">",p=a(c.origin??"value");return u?.unit?`${u.shortLabel} \u05DE\u05D3\u05D9: ${d} ${p} ${f}${c.minimum.toString()} ${u.unit}`:`${u?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${d} ${p} ${f}${c.minimum.toString()}`}case"invalid_format":{let u=c;if(u.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${u.prefix}"`;if(u.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${u.suffix}"`;if(u.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${u.includes}"`;if(u.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${u.pattern}`;let d=s[u.format],f=d?.label??u.format,m=(d?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${f} \u05DC\u05D0 ${m}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${c.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${c.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${c.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${C3.joinValues(c.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${i(c.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function VHe(){return{localeError:BHe()}}Qae.exports=Es.default});var roe=h((xs,toe)=>{"use strict";var WHe=xs&&xs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),ZHe=xs&&xs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),HHe=xs&&xs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&WHe(t,e,r);return ZHe(t,e),t};Object.defineProperty(xs,"__esModule",{value:!0});xs.default=JHe;var T3=HHe(Se()),GHe=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(i){return e[i]??null}let r={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"},n={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 i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=T3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Neispravan unos: o\u010Dekuje se instanceof ${i.expected}, a primljeno je ${s}`:`Neispravan unos: o\u010Dekuje se ${a}, a primljeno je ${s}`}case"invalid_value":return i.values.length===1?`Neispravna vrijednost: o\u010Dekivano ${T3.stringifyPrimitive(i.values[0])}`:`Neispravna opcija: o\u010Dekivano jedno od ${T3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin),s=n[i.origin]??i.origin;return o?`Preveliko: o\u010Dekivano da ${s??"vrijednost"} ima ${a}${i.maximum.toString()} ${o.unit??"elemenata"}`:`Preveliko: o\u010Dekivano da ${s??"vrijednost"} bude ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin),s=n[i.origin]??i.origin;return o?`Premalo: o\u010Dekivano da ${s} ima ${a}${i.minimum.toString()} ${o.unit}`:`Premalo: o\u010Dekivano da ${s} bude ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Neispravan tekst: mora zapo\u010Dinjati s "${a.prefix}"`:a.format==="ends_with"?`Neispravan tekst: mora zavr\u0161avati s "${a.suffix}"`:a.format==="includes"?`Neispravan tekst: mora sadr\u017Eavati "${a.includes}"`:a.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${a.pattern}`:`Neispravna ${r[a.format]??i.format}`}case"not_multiple_of":return`Neispravan broj: mora biti vi\u0161ekratnik od ${i.divisor}`;case"unrecognized_keys":return`Neprepoznat${i.keys.length>1?"i klju\u010Devi":" klju\u010D"}: ${T3.joinValues(i.keys,", ")}`;case"invalid_key":return`Neispravan klju\u010D u ${n[i.origin]??i.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${n[i.origin]??i.origin}`;default:return"Neispravan unos"}}};function JHe(){return{localeError:GHe()}}toe.exports=xs.default});var ioe=h((Os,noe)=>{"use strict";var KHe=Os&&Os.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),XHe=Os&&Os.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),YHe=Os&&Os.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&KHe(t,e,r);return XHe(t,e),t};Object.defineProperty(Os,"__esModule",{value:!0});Os.default=eGe;var I3=YHe(Se()),QHe=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(i){return e[i]??null}let r={regex:"bemenet",email:"email c\xEDm",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\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"},n={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=I3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${i.expected}, a kapott \xE9rt\xE9k ${s}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${a}, a kapott \xE9rt\xE9k ${s}`}case"invalid_value":return i.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${I3.stringifyPrimitive(i.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${I3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`T\xFAl nagy: ${i.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${a}${i.maximum.toString()} ${o.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${i.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} m\xE9rete t\xFAl kicsi ${a}${i.minimum.toString()} ${o.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${i.origin} t\xFAl kicsi ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\xC9rv\xE9nytelen string: "${a.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:a.format==="ends_with"?`\xC9rv\xE9nytelen string: "${a.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:a.format==="includes"?`\xC9rv\xE9nytelen string: "${a.includes}" \xE9rt\xE9ket kell tartalmaznia`:a.format==="regex"?`\xC9rv\xE9nytelen string: ${a.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${r[a.format]??i.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${i.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${i.keys.length>1?"s":""}: ${I3.joinValues(i.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${i.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${i.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function eGe(){return{localeError:QHe()}}noe.exports=Os.default});var soe=h((Cs,ooe)=>{"use strict";var tGe=Cs&&Cs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),rGe=Cs&&Cs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nGe=Cs&&Cs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&tGe(t,e,r);return rGe(t,e),t};Object.defineProperty(Cs,"__esModule",{value:!0});Cs.default=aGe;var A3=nGe(Se());function aoe(e,t,r){return Math.abs(e)===1?t:r}function rh(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],r=e[e.length-1];return e+(t.includes(r)?"\u0576":"\u0568")}var iGe=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(i){return e[i]??null}let r={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},n={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=A3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${i.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${a}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${s}`}case"invalid_value":return i.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${A3.stringifyPrimitive(i.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${A3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);if(o){let s=Number(i.maximum),l=aoe(s,o.unit.one,o.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${rh(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${a}${i.maximum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${rh(i.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);if(o){let s=Number(i.minimum),l=aoe(s,o.unit.one,o.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${rh(i.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${a}${i.minimum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${rh(i.origin)} \u056C\u056B\u0576\u056B ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${a.prefix}"-\u0578\u057E`:a.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${a.suffix}"-\u0578\u057E`:a.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${a.includes}"`:a.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${a.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${r[a.format]??i.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${i.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${i.keys.length>1?"\u0576\u0565\u0580":""}. ${A3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${rh(i.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${rh(i.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}};function aGe(){return{localeError:iGe()}}ooe.exports=Cs.default});var coe=h((Ts,loe)=>{"use strict";var oGe=Ts&&Ts.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),sGe=Ts&&Ts.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),lGe=Ts&&Ts.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&oGe(t,e,r);return sGe(t,e),t};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=uGe;var D3=lGe(Se()),cGe=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=D3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Input tidak valid: diharapkan instanceof ${i.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${a}, diterima ${s}`}case"invalid_value":return i.values.length===1?`Input tidak valid: diharapkan ${D3.stringifyPrimitive(i.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${D3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Terlalu besar: diharapkan ${i.origin??"value"} memiliki ${a}${i.maximum.toString()} ${o.unit??"elemen"}`:`Terlalu besar: diharapkan ${i.origin??"value"} menjadi ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Terlalu kecil: diharapkan ${i.origin} memiliki ${a}${i.minimum.toString()} ${o.unit}`:`Terlalu kecil: diharapkan ${i.origin} menjadi ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`String tidak valid: harus dimulai dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak valid: harus berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak valid: harus menyertakan "${a.includes}"`:a.format==="regex"?`String tidak valid: harus sesuai pola ${a.pattern}`:`${r[a.format]??i.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${i.keys.length>1?"s":""}: ${D3.joinValues(i.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${i.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${i.origin}`;default:return"Input tidak valid"}}};function uGe(){return{localeError:cGe()}}loe.exports=Ts.default});var doe=h((Is,uoe)=>{"use strict";var dGe=Is&&Is.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),pGe=Is&&Is.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),fGe=Is&&Is.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&dGe(t,e,r);return pGe(t,e),t};Object.defineProperty(Is,"__esModule",{value:!0});Is.default=hGe;var L3=fGe(Se()),mGe=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"}};function t(i){return e[i]??null}let r={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",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\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",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\xF6lugildi",jwt:"JWT",template_literal:"gildi"},n={nan:"NaN",number:"n\xFAmer",array:"fylki"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=L3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera instanceof ${i.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${s} \xFEar sem \xE1 a\xF0 vera ${a}`}case"invalid_value":return i.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${L3.stringifyPrimitive(i.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${L3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} hafi ${a}${i.maximum.toString()} ${o.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin??"gildi"} s\xE9 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} hafi ${a}${i.minimum.toString()} ${o.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${i.origin} s\xE9 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${a.prefix}"`:a.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${a.suffix}"`:a.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${a.includes}"`:a.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${a.pattern}`:`Rangt ${r[a.format]??i.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${i.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${i.keys.length>1?"ir lyklar":"ur lykill"}: ${L3.joinValues(i.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${i.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${i.origin}`;default:return"Rangt gildi"}}};function hGe(){return{localeError:mGe()}}uoe.exports=Is.default});var foe=h((As,poe)=>{"use strict";var gGe=As&&As.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),yGe=As&&As.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bGe=As&&As.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&gGe(t,e,r);return yGe(t,e),t};Object.defineProperty(As,"__esModule",{value:!0});As.default=_Ge;var k3=bGe(Se()),vGe=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN",number:"numero",array:"vettore"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=k3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Input non valido: atteso instanceof ${i.expected}, ricevuto ${s}`:`Input non valido: atteso ${a}, ricevuto ${s}`}case"invalid_value":return i.values.length===1?`Input non valido: atteso ${k3.stringifyPrimitive(i.values[0])}`:`Opzione non valida: atteso uno tra ${k3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Troppo grande: ${i.origin??"valore"} deve avere ${a}${i.maximum.toString()} ${o.unit??"elementi"}`:`Troppo grande: ${i.origin??"valore"} deve essere ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Troppo piccolo: ${i.origin} deve avere ${a}${i.minimum.toString()} ${o.unit}`:`Troppo piccolo: ${i.origin} deve essere ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Stringa non valida: deve iniziare con "${a.prefix}"`:a.format==="ends_with"?`Stringa non valida: deve terminare con "${a.suffix}"`:a.format==="includes"?`Stringa non valida: deve includere "${a.includes}"`:a.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${a.pattern}`:`Input non valido: ${r[a.format]??i.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${i.divisor}`;case"unrecognized_keys":return`Chiav${i.keys.length>1?"i":"e"} non riconosciut${i.keys.length>1?"e":"a"}: ${k3.joinValues(i.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${i.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${i.origin}`;default:return"Input non valido"}}};function _Ge(){return{localeError:vGe()}}poe.exports=As.default});var hoe=h((Ds,moe)=>{"use strict";var wGe=Ds&&Ds.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),SGe=Ds&&Ds.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),EGe=Ds&&Ds.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&wGe(t,e,r);return SGe(t,e),t};Object.defineProperty(Ds,"__esModule",{value:!0});Ds.default=OGe;var N3=EGe(Se()),xGe=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(i){return e[i]??null}let r={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},n={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=N3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${i.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${a}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${s}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return i.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${N3.stringifyPrimitive(i.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${N3.joinValues(i.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let a=i.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",o=t(i.origin);return o?`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${o.unit??"\u8981\u7D20"}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${i.origin??"\u5024"}\u306F${i.maximum.toString()}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let a=i.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",o=t(i.origin);return o?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${o.unit}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${i.origin}\u306F${i.minimum.toString()}${a}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${a.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:a.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${a.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${r[a.format]??i.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${i.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${i.keys.length>1?"\u7FA4":""}: ${N3.joinValues(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${i.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function OGe(){return{localeError:xGe()}}moe.exports=Ds.default});var yoe=h((Ls,goe)=>{"use strict";var CGe=Ls&&Ls.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),TGe=Ls&&Ls.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),IGe=Ls&&Ls.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&CGe(t,e,r);return TGe(t,e),t};Object.defineProperty(Ls,"__esModule",{value:!0});Ls.default=DGe;var j3=IGe(Se()),AGe=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(i){return e[i]??null}let r={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",json_string:"JSON \u10D5\u10D4\u10DA\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},n={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10D5\u10D4\u10DA\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=j3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${i.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${a}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${s}`}case"invalid_value":return i.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${j3.stringifyPrimitive(i.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${j3.joinValues(i.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${o.verb} ${a}${i.maximum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${i.origin} \u10D8\u10E7\u10DD\u10E1 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${a.prefix}"-\u10D8\u10D7`:a.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${a.suffix}"-\u10D8\u10D7`:a.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${a.includes}"-\u10E1`:a.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${a.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${i.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${i.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${j3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${i.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${i.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}};function DGe(){return{localeError:AGe()}}goe.exports=Ls.default});var tD=h((ks,boe)=>{"use strict";var LGe=ks&&ks.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),kGe=ks&&ks.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),NGe=ks&&ks.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&LGe(t,e,r);return kGe(t,e),t};Object.defineProperty(ks,"__esModule",{value:!0});ks.default=PGe;var P3=NGe(Se()),jGe=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(i){return e[i]??null}let r={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},n={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=P3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${i.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${a} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${s}`}case"invalid_value":return i.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${P3.stringifyPrimitive(i.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${P3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${a} ${i.maximum.toString()} ${o.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${a} ${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${a} ${i.minimum.toString()} ${o.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${i.origin} ${a} ${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${a.prefix}"`:a.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${a.suffix}"`:a.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${a.includes}"`:a.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${a.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${i.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${P3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${i.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function PGe(){return{localeError:jGe()}}boe.exports=ks.default});var _oe=h((nh,voe)=>{"use strict";var MGe=nh&&nh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nh,"__esModule",{value:!0});nh.default=FGe;var RGe=MGe(tD());function FGe(){return(0,RGe.default)()}voe.exports=nh.default});var Soe=h((Ns,woe)=>{"use strict";var $Ge=Ns&&Ns.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),UGe=Ns&&Ns.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zGe=Ns&&Ns.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&$Ge(t,e,r);return UGe(t,e),t};Object.defineProperty(Ns,"__esModule",{value:!0});Ns.default=BGe;var M3=zGe(Se()),qGe=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=M3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${i.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${a}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${s}\uC785\uB2C8\uB2E4`}case"invalid_value":return i.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${M3.stringifyPrimitive(i.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${M3.joinValues(i.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let a=i.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",o=a==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(i.origin),l=s?.unit??"\uC694\uC18C";return s?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()}${l} ${a}${o}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${i.maximum.toString()} ${a}${o}`}case"too_small":{let a=i.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",o=a==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",s=t(i.origin),l=s?.unit??"\uC694\uC18C";return s?`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()}${l} ${a}${o}`:`${i.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${i.minimum.toString()} ${a}${o}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:a.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:a.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${a.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:a.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${a.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${r[a.format]??i.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${i.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${M3.joinValues(i.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${i.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${i.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function BGe(){return{localeError:qGe()}}woe.exports=Ns.default});var Ooe=h((js,xoe)=>{"use strict";var VGe=js&&js.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),WGe=js&&js.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ZGe=js&&js.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&VGe(t,e,r);return WGe(t,e),t};Object.defineProperty(js,"__esModule",{value:!0});js.default=GGe;var R3=ZGe(Se()),ey=e=>e.charAt(0).toUpperCase()+e.slice(1);function Eoe(e){let t=Math.abs(e),r=t%10,n=t%100;return n>=11&&n<=19||r===0?"many":r===1?"one":"few"}var HGe=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(i,a,o,s){let l=e[i]??null;return l===null?l:{unit:l.unit[a],verb:l.verb[s][o?"inclusive":"notInclusive"]}}let r={regex:"\u012Fvestis",email:"el. pa\u0161to 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\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",jwt:"JWT",template_literal:"\u012Fvestis"},n={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=R3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Gautas tipas ${s}, o tik\u0117tasi - instanceof ${i.expected}`:`Gautas tipas ${s}, o tik\u0117tasi - ${a}`}case"invalid_value":return i.values.length===1?`Privalo b\u016Bti ${R3.stringifyPrimitive(i.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${R3.joinValues(i.values,"|")} pasirinkim\u0173`;case"too_big":{let a=n[i.origin]??i.origin,o=t(i.origin,Eoe(Number(i.maximum)),i.inclusive??!1,"smaller");if(o?.verb)return`${ey(a??i.origin??"reik\u0161m\u0117")} ${o.verb} ${i.maximum.toString()} ${o.unit??"element\u0173"}`;let s=i.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${ey(a??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${i.maximum.toString()} ${o?.unit}`}case"too_small":{let a=n[i.origin]??i.origin,o=t(i.origin,Eoe(Number(i.minimum)),i.inclusive??!1,"bigger");if(o?.verb)return`${ey(a??i.origin??"reik\u0161m\u0117")} ${o.verb} ${i.minimum.toString()} ${o.unit??"element\u0173"}`;let s=i.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${ey(a??i.origin??"reik\u0161m\u0117")} turi b\u016Bti ${s} ${i.minimum.toString()} ${o?.unit}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${a.prefix}"`:a.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${a.suffix}"`:a.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${a.includes}"`:a.format==="regex"?`Eilut\u0117 privalo atitikti ${a.pattern}`:`Neteisingas ${r[a.format]??i.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${i.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${i.keys.length>1?"i":"as"} rakt${i.keys.length>1?"ai":"as"}: ${R3.joinValues(i.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let a=n[i.origin]??i.origin;return`${ey(a??i.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}};function GGe(){return{localeError:HGe()}}xoe.exports=js.default});var Toe=h((Ps,Coe)=>{"use strict";var JGe=Ps&&Ps.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),KGe=Ps&&Ps.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),XGe=Ps&&Ps.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&JGe(t,e,r);return KGe(t,e),t};Object.defineProperty(Ps,"__esModule",{value:!0});Ps.default=QGe;var F3=XGe(Se()),YGe=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(i){return e[i]??null}let r={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},n={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=F3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${i.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${a}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${s}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${F3.stringifyPrimitive(i.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${F3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${a}${i.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0438\u043C\u0430 ${a}${i.minimum.toString()} ${o.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${i.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${a.pattern}`:`Invalid ${r[a.format]??i.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${F3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${i.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${i.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function QGe(){return{localeError:YGe()}}Coe.exports=Ps.default});var Aoe=h((Ms,Ioe)=>{"use strict";var eJe=Ms&&Ms.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),tJe=Ms&&Ms.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rJe=Ms&&Ms.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&eJe(t,e,r);return tJe(t,e),t};Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default=iJe;var $3=rJe(Se()),nJe=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN",number:"nombor"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=$3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Input tidak sah: dijangka instanceof ${i.expected}, diterima ${s}`:`Input tidak sah: dijangka ${a}, diterima ${s}`}case"invalid_value":return i.values.length===1?`Input tidak sah: dijangka ${$3.stringifyPrimitive(i.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${$3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Terlalu besar: dijangka ${i.origin??"nilai"} ${o.verb} ${a}${i.maximum.toString()} ${o.unit??"elemen"}`:`Terlalu besar: dijangka ${i.origin??"nilai"} adalah ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Terlalu kecil: dijangka ${i.origin} ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`Terlalu kecil: dijangka ${i.origin} adalah ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`String tidak sah: mesti bermula dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak sah: mesti mengandungi "${a.includes}"`:a.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${a.pattern}`:`${r[a.format]??i.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${$3.joinValues(i.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${i.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${i.origin}`;default:return"Input tidak sah"}}};function iJe(){return{localeError:nJe()}}Ioe.exports=Ms.default});var Loe=h((Rs,Doe)=>{"use strict";var aJe=Rs&&Rs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),oJe=Rs&&Rs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),sJe=Rs&&Rs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&aJe(t,e,r);return oJe(t,e),t};Object.defineProperty(Rs,"__esModule",{value:!0});Rs.default=cJe;var U3=sJe(Se()),lJe=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN",number:"getal"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=U3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ongeldige invoer: verwacht instanceof ${i.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${a}, ontving ${s}`}case"invalid_value":return i.values.length===1?`Ongeldige invoer: verwacht ${U3.stringifyPrimitive(i.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${U3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin),s=i.origin==="date"?"laat":i.origin==="string"?"lang":"groot";return o?`Te ${s}: verwacht dat ${i.origin??"waarde"} ${a}${i.maximum.toString()} ${o.unit??"elementen"} ${o.verb}`:`Te ${s}: verwacht dat ${i.origin??"waarde"} ${a}${i.maximum.toString()} is`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin),s=i.origin==="date"?"vroeg":i.origin==="string"?"kort":"klein";return o?`Te ${s}: verwacht dat ${i.origin} ${a}${i.minimum.toString()} ${o.unit} ${o.verb}`:`Te ${s}: verwacht dat ${i.origin} ${a}${i.minimum.toString()} is`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ongeldige tekst: moet met "${a.prefix}" beginnen`:a.format==="ends_with"?`Ongeldige tekst: moet op "${a.suffix}" eindigen`:a.format==="includes"?`Ongeldige tekst: moet "${a.includes}" bevatten`:a.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${a.pattern}`:`Ongeldig: ${r[a.format]??i.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${i.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${i.keys.length>1?"s":""}: ${U3.joinValues(i.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${i.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${i.origin}`;default:return"Ongeldige invoer"}}};function cJe(){return{localeError:lJe()}}Doe.exports=Rs.default});var Noe=h((Fs,koe)=>{"use strict";var uJe=Fs&&Fs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),dJe=Fs&&Fs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),pJe=Fs&&Fs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&uJe(t,e,r);return dJe(t,e),t};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=mJe;var z3=pJe(Se()),fJe=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(i){return e[i]??null}let r={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\xE5de",ipv6:"IPv6-omr\xE5de",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"},n={nan:"NaN",number:"tall",array:"liste"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=z3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ugyldig input: forventet instanceof ${i.expected}, fikk ${s}`:`Ugyldig input: forventet ${a}, fikk ${s}`}case"invalid_value":return i.values.length===1?`Ugyldig verdi: forventet ${z3.stringifyPrimitive(i.values[0])}`:`Ugyldig valg: forventet en av ${z3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${a}${i.maximum.toString()} ${o.unit??"elementer"}`:`For stor(t): forventet ${i.origin??"value"} til \xE5 ha ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`For lite(n): forventet ${i.origin} til \xE5 ha ${a}${i.minimum.toString()} ${o.unit}`:`For lite(n): forventet ${i.origin} til \xE5 ha ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${a.pattern}`:`Ugyldig ${r[a.format]??i.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${z3.joinValues(i.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${i.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${i.origin}`;default:return"Ugyldig input"}}};function mJe(){return{localeError:fJe()}}koe.exports=Fs.default});var Poe=h(($s,joe)=>{"use strict";var hJe=$s&&$s.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),gJe=$s&&$s.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),yJe=$s&&$s.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&hJe(t,e,r);return gJe(t,e),t};Object.defineProperty($s,"__esModule",{value:!0});$s.default=vJe;var q3=yJe(Se()),bJe=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(i){return e[i]??null}let r={regex:"giren",email:"epostag\xE2h",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\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"},n={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=q3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`F\xE2sit giren: umulan instanceof ${i.expected}, al\u0131nan ${s}`:`F\xE2sit giren: umulan ${a}, al\u0131nan ${s}`}case"invalid_value":return i.values.length===1?`F\xE2sit giren: umulan ${q3.stringifyPrimitive(i.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${q3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${a}${i.maximum.toString()} ${o.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${i.origin??"value"}, ${a}${i.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${a}${i.minimum.toString()} ${o.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${i.origin}, ${a}${i.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let a=i;return a.format==="starts_with"?`F\xE2sit metin: "${a.prefix}" ile ba\u015Flamal\u0131.`:a.format==="ends_with"?`F\xE2sit metin: "${a.suffix}" ile bitmeli.`:a.format==="includes"?`F\xE2sit metin: "${a.includes}" ihtiv\xE2 etmeli.`:a.format==="regex"?`F\xE2sit metin: ${a.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${r[a.format]??i.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${i.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${i.keys.length>1?"s":""}: ${q3.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${i.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function vJe(){return{localeError:bJe()}}joe.exports=$s.default});var Roe=h((Us,Moe)=>{"use strict";var _Je=Us&&Us.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),wJe=Us&&Us.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),SJe=Us&&Us.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&_Je(t,e,r);return wJe(t,e),t};Object.defineProperty(Us,"__esModule",{value:!0});Us.default=xJe;var B3=SJe(Se()),EJe=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(i){return e[i]??null}let r={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},n={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=B3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${i.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${a} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${s} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return i.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${B3.stringifyPrimitive(i.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${B3.joinValues(i.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${a}${i.maximum.toString()} ${o.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${i.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${a}${i.maximum.toString()} \u0648\u064A`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${a}${i.minimum.toString()} ${o.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${i.origin} \u0628\u0627\u06CC\u062F ${a}${i.minimum.toString()} \u0648\u064A`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${a.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:a.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${a.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:a.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${a.includes}" \u0648\u0644\u0631\u064A`:a.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${a.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${r[a.format]??i.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${i.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${i.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${B3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${i.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${i.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function xJe(){return{localeError:EJe()}}Moe.exports=Us.default});var $oe=h((zs,Foe)=>{"use strict";var OJe=zs&&zs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),CJe=zs&&zs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),TJe=zs&&zs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&OJe(t,e,r);return CJe(t,e),t};Object.defineProperty(zs,"__esModule",{value:!0});zs.default=AJe;var V3=TJe(Se()),IJe=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(i){return e[i]??null}let r={regex:"wyra\u017Cenie",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\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"},n={nan:"NaN",number:"liczba",array:"tablica"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=V3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${i.expected}, otrzymano ${s}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${a}, otrzymano ${s}`}case"invalid_value":return i.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${V3.stringifyPrimitive(i.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${V3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${a}${i.maximum.toString()} ${o.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${a}${i.minimum.toString()} ${o.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${i.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${a.prefix}"`:a.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${a.suffix}"`:a.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${a.includes}"`:a.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${a.pattern}`:`Nieprawid\u0142ow(y/a/e) ${r[a.format]??i.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${i.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${i.keys.length>1?"s":""}: ${V3.joinValues(i.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${i.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${i.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function AJe(){return{localeError:IJe()}}Foe.exports=zs.default});var zoe=h((qs,Uoe)=>{"use strict";var DJe=qs&&qs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),LJe=qs&&qs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),kJe=qs&&qs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&DJe(t,e,r);return LJe(t,e),t};Object.defineProperty(qs,"__esModule",{value:!0});qs.default=jJe;var W3=kJe(Se()),NJe=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(i){return e[i]??null}let r={regex:"padr\xE3o",email:"endere\xE7o 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\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o 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\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},n={nan:"NaN",number:"n\xFAmero",null:"nulo"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=W3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Tipo inv\xE1lido: esperado instanceof ${i.expected}, recebido ${s}`:`Tipo inv\xE1lido: esperado ${a}, recebido ${s}`}case"invalid_value":return i.values.length===1?`Entrada inv\xE1lida: esperado ${W3.stringifyPrimitive(i.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${W3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Muito grande: esperado que ${i.origin??"valor"} tivesse ${a}${i.maximum.toString()} ${o.unit??"elementos"}`:`Muito grande: esperado que ${i.origin??"valor"} fosse ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Muito pequeno: esperado que ${i.origin} tivesse ${a}${i.minimum.toString()} ${o.unit}`:`Muito pequeno: esperado que ${i.origin} fosse ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${a.prefix}"`:a.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${a.suffix}"`:a.format==="includes"?`Texto inv\xE1lido: deve incluir "${a.includes}"`:a.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${a.pattern}`:`${r[a.format]??i.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${i.divisor}`;case"unrecognized_keys":return`Chave${i.keys.length>1?"s":""} desconhecida${i.keys.length>1?"s":""}: ${W3.joinValues(i.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${i.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${i.origin}`;default:return"Campo inv\xE1lido"}}};function jJe(){return{localeError:NJe()}}Uoe.exports=qs.default});var Boe=h((Bs,qoe)=>{"use strict";var PJe=Bs&&Bs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),MJe=Bs&&Bs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),RJe=Bs&&Bs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&PJe(t,e,r);return MJe(t,e),t};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=$Je;var Z3=RJe(Se()),FJe=()=>{let e={string:{unit:"caractere",verb:"s\u0103 aib\u0103"},file:{unit:"octe\u021Bi",verb:"s\u0103 aib\u0103"},array:{unit:"elemente",verb:"s\u0103 aib\u0103"},set:{unit:"elemente",verb:"s\u0103 aib\u0103"},map:{unit:"intr\u0103ri",verb:"s\u0103 aib\u0103"}};function t(i){return e[i]??null}let r={regex:"intrare",email:"adres\u0103 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\u0103 \u0219i or\u0103 ISO",date:"dat\u0103 ISO",time:"or\u0103 ISO",duration:"durat\u0103 ISO",ipv4:"adres\u0103 IPv4",ipv6:"adres\u0103 IPv6",mac:"adres\u0103 MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"\u0219ir codat base64",base64url:"\u0219ir codat base64url",json_string:"\u0219ir JSON",e164:"num\u0103r E.164",jwt:"JWT",template_literal:"intrare"},n={nan:"NaN",string:"\u0219ir",number:"num\u0103r",boolean:"boolean",function:"func\u021Bie",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"num\u0103r mare",void:"void",never:"never",map:"hart\u0103",set:"set"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=Z3.parsedType(i.input),s=n[o]??o;return`Intrare invalid\u0103: a\u0219teptat ${a}, primit ${s}`}case"invalid_value":return i.values.length===1?`Intrare invalid\u0103: a\u0219teptat ${Z3.stringifyPrimitive(i.values[0])}`:`Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${Z3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Prea mare: a\u0219teptat ca ${i.origin??"valoarea"} ${o.verb} ${a}${i.maximum.toString()} ${o.unit??"elemente"}`:`Prea mare: a\u0219teptat ca ${i.origin??"valoarea"} s\u0103 fie ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Prea mic: a\u0219teptat ca ${i.origin} ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`Prea mic: a\u0219teptat ca ${i.origin} s\u0103 fie ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${a.prefix}"`:a.format==="ends_with"?`\u0218ir invalid: trebuie s\u0103 se termine cu "${a.suffix}"`:a.format==="includes"?`\u0218ir invalid: trebuie s\u0103 includ\u0103 "${a.includes}"`:a.format==="regex"?`\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${a.pattern}`:`Format invalid: ${r[a.format]??i.format}`}case"not_multiple_of":return`Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${i.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${Z3.joinValues(i.keys,", ")}`;case"invalid_key":return`Cheie invalid\u0103 \xEEn ${i.origin}`;case"invalid_union":return"Intrare invalid\u0103";case"invalid_element":return`Valoare invalid\u0103 \xEEn ${i.origin}`;default:return"Intrare invalid\u0103"}}};function $Je(){return{localeError:FJe()}}qoe.exports=Bs.default});var Zoe=h((Vs,Woe)=>{"use strict";var UJe=Vs&&Vs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),zJe=Vs&&Vs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),qJe=Vs&&Vs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&UJe(t,e,r);return zJe(t,e),t};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.default=VJe;var H3=qJe(Se());function Voe(e,t,r,n){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?n:a===1?t:a>=2&&a<=4?r:n}var BJe=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=H3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${i.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${a}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${s}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${H3.stringifyPrimitive(i.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${H3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);if(o){let s=Number(i.maximum),l=Voe(s,o.unit.one,o.unit.few,o.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${a}${i.maximum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);if(o){let s=Number(i.minimum),l=Voe(s,o.unit.one,o.unit.few,o.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${a}${i.minimum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${i.origin} \u0431\u0443\u0434\u0435\u0442 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${i.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0438":""}: ${H3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${i.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function VJe(){return{localeError:BJe()}}Woe.exports=Vs.default});var Goe=h((Ws,Hoe)=>{"use strict";var WJe=Ws&&Ws.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),ZJe=Ws&&Ws.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),HJe=Ws&&Ws.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&WJe(t,e,r);return ZJe(t,e),t};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=JJe;var G3=HJe(Se()),GJe=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(i){return e[i]??null}let r={regex:"vnos",email:"e-po\u0161tni 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 \u010Das",date:"ISO datum",time:"ISO \u010Das",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 \u0161tevilka",jwt:"JWT",template_literal:"vnos"},n={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=G3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${i.expected}, prejeto ${s}`:`Neveljaven vnos: pri\u010Dakovano ${a}, prejeto ${s}`}case"invalid_value":return i.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${G3.stringifyPrimitive(i.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${G3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} imelo ${a}${i.maximum.toString()} ${o.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${i.origin??"vrednost"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Premajhno: pri\u010Dakovano, da bo ${i.origin} imelo ${a}${i.minimum.toString()} ${o.unit}`:`Premajhno: pri\u010Dakovano, da bo ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${a.prefix}"`:a.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${a.suffix}"`:a.format==="includes"?`Neveljaven niz: mora vsebovati "${a.includes}"`:a.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${a.pattern}`:`Neveljaven ${r[a.format]??i.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${i.divisor}`;case"unrecognized_keys":return`Neprepoznan${i.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${G3.joinValues(i.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${i.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${i.origin}`;default:return"Neveljaven vnos"}}};function JJe(){return{localeError:GJe()}}Hoe.exports=Ws.default});var Koe=h((Zs,Joe)=>{"use strict";var KJe=Zs&&Zs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),XJe=Zs&&Zs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),YJe=Zs&&Zs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&KJe(t,e,r);return XJe(t,e),t};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.default=eKe;var J3=YJe(Se()),QJe=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(i){return e[i]??null}let r={regex:"regulj\xE4rt 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\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},n={nan:"NaN",number:"antal",array:"lista"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=J3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${i.expected}, fick ${s}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${a}, fick ${s}`}case"invalid_value":return i.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${J3.stringifyPrimitive(i.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${J3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`F\xF6r stor(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${a}${i.maximum.toString()} ${o.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${i.origin??"v\xE4rdet"} att ha ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${a}${i.minimum.toString()} ${o.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${i.origin??"v\xE4rdet"} att ha ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${a.prefix}"`:a.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${a.suffix}"`:a.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${a.includes}"`:a.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${a.pattern}"`:`Ogiltig(t) ${r[a.format]??i.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${J3.joinValues(i.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${i.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${i.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function eKe(){return{localeError:QJe()}}Joe.exports=Zs.default});var Yoe=h((Hs,Xoe)=>{"use strict";var tKe=Hs&&Hs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),rKe=Hs&&Hs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nKe=Hs&&Hs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&tKe(t,e,r);return rKe(t,e),t};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.default=aKe;var K3=nKe(Se()),iKe=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(i){return e[i]??null}let r={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",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 \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"},n={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=K3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${i.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${a}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${s}`}case"invalid_value":return i.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${K3.stringifyPrimitive(i.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${K3.joinValues(i.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${a}${i.maximum.toString()} ${o.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${a}${i.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${a}${i.minimum.toString()} ${o.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${i.origin} ${a}${i.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${a.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:a.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${a.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${i.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${i.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${K3.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${i.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function aKe(){return{localeError:iKe()}}Xoe.exports=Hs.default});var ese=h((Gs,Qoe)=>{"use strict";var oKe=Gs&&Gs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),sKe=Gs&&Gs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),lKe=Gs&&Gs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&oKe(t,e,r);return sKe(t,e),t};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.default=uKe;var X3=lKe(Se()),cKe=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(i){return e[i]??null}let r={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},n={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=X3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${i.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${a} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${s}`}case"invalid_value":return i.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${X3.stringifyPrimitive(i.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${X3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",o=t(i.origin);return o?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${i.maximum.toString()} ${o.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",o=t(i.origin);return o?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${i.minimum.toString()} ${o.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${i.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${a} ${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${a.prefix}"`:a.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${a.suffix}"`:a.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${a.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:a.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${a.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${r[a.format]??i.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${i.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${X3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${i.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function uKe(){return{localeError:cKe()}}Qoe.exports=Gs.default});var rse=h((Js,tse)=>{"use strict";var dKe=Js&&Js.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),pKe=Js&&Js.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),fKe=Js&&Js.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&dKe(t,e,r);return pKe(t,e),t};Object.defineProperty(Js,"__esModule",{value:!0});Js.default=hKe;var Y3=fKe(Se()),mKe=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(i){return e[i]??null}let r={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\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=Y3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${i.expected}, al\u0131nan ${s}`:`Ge\xE7ersiz de\u011Fer: beklenen ${a}, al\u0131nan ${s}`}case"invalid_value":return i.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${Y3.stringifyPrimitive(i.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${Y3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${a}${i.maximum.toString()} ${o.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${a}${i.minimum.toString()} ${o.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Ge\xE7ersiz metin: "${a.prefix}" ile ba\u015Flamal\u0131`:a.format==="ends_with"?`Ge\xE7ersiz metin: "${a.suffix}" ile bitmeli`:a.format==="includes"?`Ge\xE7ersiz metin: "${a.includes}" i\xE7ermeli`:a.format==="regex"?`Ge\xE7ersiz metin: ${a.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${r[a.format]??i.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${i.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${i.keys.length>1?"lar":""}: ${Y3.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${i.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function hKe(){return{localeError:mKe()}}tse.exports=Js.default});var rD=h((Ks,nse)=>{"use strict";var gKe=Ks&&Ks.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),yKe=Ks&&Ks.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bKe=Ks&&Ks.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&gKe(t,e,r);return yKe(t,e),t};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.default=_Ke;var Q3=bKe(Se()),vKe=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(i){return e[i]??null}let r={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},n={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=Q3.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${i.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${a}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${s}`}case"invalid_value":return i.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${Q3.stringifyPrimitive(i.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${Q3.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${o.verb} ${a}${i.maximum.toString()} ${o.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${i.origin} \u0431\u0443\u0434\u0435 ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${a.prefix}"`:a.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${a.suffix}"`:a.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${a.includes}"`:a.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${a.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${i.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${i.keys.length>1?"\u0456":""}: ${Q3.joinValues(i.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${i.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${i.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function _Ke(){return{localeError:vKe()}}nse.exports=Ks.default});var ase=h((ih,ise)=>{"use strict";var wKe=ih&&ih.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ih,"__esModule",{value:!0});ih.default=EKe;var SKe=wKe(rD());function EKe(){return(0,SKe.default)()}ise.exports=ih.default});var sse=h((Xs,ose)=>{"use strict";var xKe=Xs&&Xs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),OKe=Xs&&Xs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CKe=Xs&&Xs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xKe(t,e,r);return OKe(t,e),t};Object.defineProperty(Xs,"__esModule",{value:!0});Xs.default=IKe;var eS=CKe(Se()),TKe=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(i){return e[i]??null}let r={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},n={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=eS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${i.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${a} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${s} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return i.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${eS.stringifyPrimitive(i.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${eS.joinValues(i.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${a}${i.maximum.toString()} ${o.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${i.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${a}${i.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u06D2 ${a}${i.minimum.toString()} ${o.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${i.origin} \u06A9\u0627 ${a}${i.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${a.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:a.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${a.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${i.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${i.keys.length>1?"\u0632":""}: ${eS.joinValues(i.keys,"\u060C ")}`;case"invalid_key":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${i.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function IKe(){return{localeError:TKe()}}ose.exports=Xs.default});var cse=h((Ys,lse)=>{"use strict";var AKe=Ys&&Ys.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),DKe=Ys&&Ys.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),LKe=Ys&&Ys.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&AKe(t,e,r);return DKe(t,e),t};Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=NKe;var tS=LKe(Se()),kKe=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"},map:{unit:"yozuv",verb:"bo\u2018lishi kerak"}};function t(i){return e[i]??null}let r={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"},n={nan:"NaN",number:"raqam",array:"massiv"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=tS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${i.expected}, qabul qilingan ${s}`:`Noto\u2018g\u2018ri kirish: kutilgan ${a}, qabul qilingan ${s}`}case"invalid_value":return i.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${tS.stringifyPrimitive(i.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${tS.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Juda katta: kutilgan ${i.origin??"qiymat"} ${a}${i.maximum.toString()} ${o.unit} ${o.verb}`:`Juda katta: kutilgan ${i.origin??"qiymat"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Juda kichik: kutilgan ${i.origin} ${a}${i.minimum.toString()} ${o.unit} ${o.verb}`:`Juda kichik: kutilgan ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${a.prefix}" bilan boshlanishi kerak`:a.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${a.suffix}" bilan tugashi kerak`:a.format==="includes"?`Noto\u2018g\u2018ri satr: "${a.includes}" ni o\u2018z ichiga olishi kerak`:a.format==="regex"?`Noto\u2018g\u2018ri satr: ${a.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${r[a.format]??i.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${i.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${i.keys.length>1?"lar":""}: ${tS.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${i.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}};function NKe(){return{localeError:kKe()}}lse.exports=Ys.default});var dse=h((Qs,use)=>{"use strict";var jKe=Qs&&Qs.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),PKe=Qs&&Qs.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),MKe=Qs&&Qs.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&jKe(t,e,r);return PKe(t,e),t};Object.defineProperty(Qs,"__esModule",{value:!0});Qs.default=FKe;var rS=MKe(Se()),RKe=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(i){return e[i]??null}let r={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 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\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},n={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=rS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${i.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${a}, nh\u1EADn \u0111\u01B0\u1EE3c ${s}`}case"invalid_value":return i.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${rS.stringifyPrimitive(i.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${rS.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${o.verb} ${a}${i.maximum.toString()} ${o.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${i.origin??"gi\xE1 tr\u1ECB"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${o.verb} ${a}${i.minimum.toString()} ${o.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${a.prefix}"`:a.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${a.suffix}"`:a.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${a.includes}"`:a.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${a.pattern}`:`${r[a.format]??i.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${i.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${rS.joinValues(i.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${i.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function FKe(){return{localeError:RKe()}}use.exports=Qs.default});var fse=h((el,pse)=>{"use strict";var $Ke=el&&el.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),UKe=el&&el.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zKe=el&&el.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&$Ke(t,e,r);return UKe(t,e),t};Object.defineProperty(el,"__esModule",{value:!0});el.default=BKe;var nS=zKe(Se()),qKe=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(i){return e[i]??null}let r={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"},n={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=nS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${i.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${a}\uFF0C\u5B9E\u9645\u63A5\u6536 ${s}`}case"invalid_value":return i.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${nS.stringifyPrimitive(i.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${nS.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${a}${i.maximum.toString()} ${o.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${i.origin??"\u503C"} ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${a}${i.minimum.toString()} ${o.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${i.origin} ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${a.prefix}" \u5F00\u5934`:a.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${a.suffix}" \u7ED3\u5C3E`:a.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${a.includes}"`:a.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${a.pattern}`:`\u65E0\u6548${r[a.format]??i.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${i.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${nS.joinValues(i.keys,", ")}`;case"invalid_key":return`${i.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${i.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function BKe(){return{localeError:qKe()}}pse.exports=el.default});var hse=h((tl,mse)=>{"use strict";var VKe=tl&&tl.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),WKe=tl&&tl.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ZKe=tl&&tl.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&VKe(t,e,r);return WKe(t,e),t};Object.defineProperty(tl,"__esModule",{value:!0});tl.default=GKe;var iS=ZKe(Se()),HKe=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(i){return e[i]??null}let r={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",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 \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"},n={nan:"NaN"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=iS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${i.expected}\uFF0C\u4F46\u6536\u5230 ${s}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${a}\uFF0C\u4F46\u6536\u5230 ${s}`}case"invalid_value":return i.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${iS.stringifyPrimitive(i.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${iS.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${a}${i.maximum.toString()} ${o.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${i.origin??"\u503C"} \u61C9\u70BA ${a}${i.maximum.toString()}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${a}${i.minimum.toString()} ${o.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${i.origin} \u61C9\u70BA ${a}${i.minimum.toString()}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${a.prefix}" \u958B\u982D`:a.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${a.suffix}" \u7D50\u5C3E`:a.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${a.includes}"`:a.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${a.pattern}`:`\u7121\u6548\u7684 ${r[a.format]??i.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${i.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${i.keys.length>1?"\u5011":""}\uFF1A${iS.joinValues(i.keys,"\u3001")}`;case"invalid_key":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${i.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function GKe(){return{localeError:HKe()}}mse.exports=tl.default});var yse=h((rl,gse)=>{"use strict";var JKe=rl&&rl.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),KKe=rl&&rl.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),XKe=rl&&rl.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&JKe(t,e,r);return KKe(t,e),t};Object.defineProperty(rl,"__esModule",{value:!0});rl.default=QKe;var aS=XKe(Se()),YKe=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"}};function t(i){return e[i]??null}let r={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",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:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},n={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return i=>{switch(i.code){case"invalid_type":{let a=n[i.expected]??i.expected,o=aS.parsedType(i.input),s=n[o]??o;return/^[A-Z]/.test(i.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${i.expected}, \xE0m\u1ECD\u0300 a r\xED ${s}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${a}, \xE0m\u1ECD\u0300 a r\xED ${s}`}case"invalid_value":return i.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${aS.stringifyPrimitive(i.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${aS.joinValues(i.values,"|")}`;case"too_big":{let a=i.inclusive?"<=":"<",o=t(i.origin);return o?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin??"iye"} ${o.verb} ${a}${i.maximum} ${o.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${a}${i.maximum}`}case"too_small":{let a=i.inclusive?">=":">",o=t(i.origin);return o?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${i.origin} ${o.verb} ${a}${i.minimum} ${o.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${a}${i.minimum}`}case"invalid_format":{let a=i;return a.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${a.prefix}"`:a.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${a.suffix}"`:a.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${a.includes}"`:a.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${a.pattern}`:`A\u1E63\xEC\u1E63e: ${r[a.format]??i.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${i.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${aS.joinValues(i.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${i.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}};function QKe(){return{localeError:YKe()}}gse.exports=rl.default});var nD=h(te=>{"use strict";var Ie=te&&te.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(te,"__esModule",{value:!0});te.zhCN=te.vi=te.uz=te.ur=te.uk=te.ua=te.tr=te.th=te.ta=te.sv=te.sl=te.ru=te.ro=te.pt=te.pl=te.ps=te.ota=te.no=te.nl=te.ms=te.mk=te.lt=te.ko=te.km=te.kh=te.ka=te.ja=te.it=te.is=te.id=te.hy=te.hu=te.hr=te.he=te.frCA=te.fr=te.fi=te.fa=te.es=te.eo=te.en=te.el=te.de=te.da=te.cs=te.ca=te.bg=te.be=te.az=te.ar=void 0;te.yo=te.zhTW=void 0;var eXe=Sae();Object.defineProperty(te,"ar",{enumerable:!0,get:function(){return Ie(eXe).default}});var tXe=xae();Object.defineProperty(te,"az",{enumerable:!0,get:function(){return Ie(tXe).default}});var rXe=Tae();Object.defineProperty(te,"be",{enumerable:!0,get:function(){return Ie(rXe).default}});var nXe=Aae();Object.defineProperty(te,"bg",{enumerable:!0,get:function(){return Ie(nXe).default}});var iXe=Lae();Object.defineProperty(te,"ca",{enumerable:!0,get:function(){return Ie(iXe).default}});var aXe=Nae();Object.defineProperty(te,"cs",{enumerable:!0,get:function(){return Ie(aXe).default}});var oXe=Pae();Object.defineProperty(te,"da",{enumerable:!0,get:function(){return Ie(oXe).default}});var sXe=Rae();Object.defineProperty(te,"de",{enumerable:!0,get:function(){return Ie(sXe).default}});var lXe=$ae();Object.defineProperty(te,"el",{enumerable:!0,get:function(){return Ie(lXe).default}});var cXe=eD();Object.defineProperty(te,"en",{enumerable:!0,get:function(){return Ie(cXe).default}});var uXe=qae();Object.defineProperty(te,"eo",{enumerable:!0,get:function(){return Ie(uXe).default}});var dXe=Vae();Object.defineProperty(te,"es",{enumerable:!0,get:function(){return Ie(dXe).default}});var pXe=Zae();Object.defineProperty(te,"fa",{enumerable:!0,get:function(){return Ie(pXe).default}});var fXe=Gae();Object.defineProperty(te,"fi",{enumerable:!0,get:function(){return Ie(fXe).default}});var mXe=Kae();Object.defineProperty(te,"fr",{enumerable:!0,get:function(){return Ie(mXe).default}});var hXe=Yae();Object.defineProperty(te,"frCA",{enumerable:!0,get:function(){return Ie(hXe).default}});var gXe=eoe();Object.defineProperty(te,"he",{enumerable:!0,get:function(){return Ie(gXe).default}});var yXe=roe();Object.defineProperty(te,"hr",{enumerable:!0,get:function(){return Ie(yXe).default}});var bXe=ioe();Object.defineProperty(te,"hu",{enumerable:!0,get:function(){return Ie(bXe).default}});var vXe=soe();Object.defineProperty(te,"hy",{enumerable:!0,get:function(){return Ie(vXe).default}});var _Xe=coe();Object.defineProperty(te,"id",{enumerable:!0,get:function(){return Ie(_Xe).default}});var wXe=doe();Object.defineProperty(te,"is",{enumerable:!0,get:function(){return Ie(wXe).default}});var SXe=foe();Object.defineProperty(te,"it",{enumerable:!0,get:function(){return Ie(SXe).default}});var EXe=hoe();Object.defineProperty(te,"ja",{enumerable:!0,get:function(){return Ie(EXe).default}});var xXe=yoe();Object.defineProperty(te,"ka",{enumerable:!0,get:function(){return Ie(xXe).default}});var OXe=_oe();Object.defineProperty(te,"kh",{enumerable:!0,get:function(){return Ie(OXe).default}});var CXe=tD();Object.defineProperty(te,"km",{enumerable:!0,get:function(){return Ie(CXe).default}});var TXe=Soe();Object.defineProperty(te,"ko",{enumerable:!0,get:function(){return Ie(TXe).default}});var IXe=Ooe();Object.defineProperty(te,"lt",{enumerable:!0,get:function(){return Ie(IXe).default}});var AXe=Toe();Object.defineProperty(te,"mk",{enumerable:!0,get:function(){return Ie(AXe).default}});var DXe=Aoe();Object.defineProperty(te,"ms",{enumerable:!0,get:function(){return Ie(DXe).default}});var LXe=Loe();Object.defineProperty(te,"nl",{enumerable:!0,get:function(){return Ie(LXe).default}});var kXe=Noe();Object.defineProperty(te,"no",{enumerable:!0,get:function(){return Ie(kXe).default}});var NXe=Poe();Object.defineProperty(te,"ota",{enumerable:!0,get:function(){return Ie(NXe).default}});var jXe=Roe();Object.defineProperty(te,"ps",{enumerable:!0,get:function(){return Ie(jXe).default}});var PXe=$oe();Object.defineProperty(te,"pl",{enumerable:!0,get:function(){return Ie(PXe).default}});var MXe=zoe();Object.defineProperty(te,"pt",{enumerable:!0,get:function(){return Ie(MXe).default}});var RXe=Boe();Object.defineProperty(te,"ro",{enumerable:!0,get:function(){return Ie(RXe).default}});var FXe=Zoe();Object.defineProperty(te,"ru",{enumerable:!0,get:function(){return Ie(FXe).default}});var $Xe=Goe();Object.defineProperty(te,"sl",{enumerable:!0,get:function(){return Ie($Xe).default}});var UXe=Koe();Object.defineProperty(te,"sv",{enumerable:!0,get:function(){return Ie(UXe).default}});var zXe=Yoe();Object.defineProperty(te,"ta",{enumerable:!0,get:function(){return Ie(zXe).default}});var qXe=ese();Object.defineProperty(te,"th",{enumerable:!0,get:function(){return Ie(qXe).default}});var BXe=rse();Object.defineProperty(te,"tr",{enumerable:!0,get:function(){return Ie(BXe).default}});var VXe=ase();Object.defineProperty(te,"ua",{enumerable:!0,get:function(){return Ie(VXe).default}});var WXe=rD();Object.defineProperty(te,"uk",{enumerable:!0,get:function(){return Ie(WXe).default}});var ZXe=sse();Object.defineProperty(te,"ur",{enumerable:!0,get:function(){return Ie(ZXe).default}});var HXe=cse();Object.defineProperty(te,"uz",{enumerable:!0,get:function(){return Ie(HXe).default}});var GXe=dse();Object.defineProperty(te,"vi",{enumerable:!0,get:function(){return Ie(GXe).default}});var JXe=fse();Object.defineProperty(te,"zhCN",{enumerable:!0,get:function(){return Ie(JXe).default}});var KXe=hse();Object.defineProperty(te,"zhTW",{enumerable:!0,get:function(){return Ie(KXe).default}});var XXe=yse();Object.defineProperty(te,"yo",{enumerable:!0,get:function(){return Ie(XXe).default}})});var ty=h(wo=>{"use strict";var bse;Object.defineProperty(wo,"__esModule",{value:!0});wo.globalRegistry=wo.$ZodRegistry=wo.$input=wo.$output=void 0;wo.registry=vse;wo.$output=Symbol("ZodOutput");wo.$input=Symbol("ZodInput");var oS=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let i={...n,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};wo.$ZodRegistry=oS;function vse(){return new oS}(bse=globalThis).__zod_globalRegistry??(bse.__zod_globalRegistry=vse());wo.globalRegistry=globalThis.__zod_globalRegistry});var Ese=h(Z=>{"use strict";var YXe=Z&&Z.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),QXe=Z&&Z.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),cS=Z&&Z.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&YXe(t,e,r);return QXe(t,e),t};Object.defineProperty(Z,"__esModule",{value:!0});Z.TimePrecision=void 0;Z._string=eYe;Z._coercedString=tYe;Z._email=rYe;Z._guid=nYe;Z._uuid=iYe;Z._uuidv4=aYe;Z._uuidv6=oYe;Z._uuidv7=sYe;Z._url=lYe;Z._emoji=cYe;Z._nanoid=uYe;Z._cuid=dYe;Z._cuid2=pYe;Z._ulid=fYe;Z._xid=mYe;Z._ksuid=hYe;Z._ipv4=gYe;Z._ipv6=yYe;Z._mac=bYe;Z._cidrv4=vYe;Z._cidrv6=_Ye;Z._base64=wYe;Z._base64url=SYe;Z._e164=EYe;Z._jwt=xYe;Z._isoDateTime=OYe;Z._isoDate=CYe;Z._isoTime=TYe;Z._isoDuration=IYe;Z._number=AYe;Z._coercedNumber=DYe;Z._int=LYe;Z._float32=kYe;Z._float64=NYe;Z._int32=jYe;Z._uint32=PYe;Z._boolean=MYe;Z._coercedBoolean=RYe;Z._bigint=FYe;Z._coercedBigint=$Ye;Z._int64=UYe;Z._uint64=zYe;Z._symbol=qYe;Z._undefined=BYe;Z._null=VYe;Z._any=WYe;Z._unknown=ZYe;Z._never=HYe;Z._void=GYe;Z._date=JYe;Z._coercedDate=KYe;Z._nan=XYe;Z._lt=_se;Z._lte=ry;Z._max=ry;Z._lte=ry;Z._max=ry;Z._gt=wse;Z._gte=ny;Z._min=ny;Z._gte=ny;Z._min=ny;Z._positive=YYe;Z._negative=QYe;Z._nonpositive=eQe;Z._nonnegative=tQe;Z._multipleOf=rQe;Z._maxSize=nQe;Z._minSize=iQe;Z._size=aQe;Z._maxLength=oQe;Z._minLength=sQe;Z._length=lQe;Z._regex=cQe;Z._lowercase=uQe;Z._uppercase=dQe;Z._includes=pQe;Z._startsWith=fQe;Z._endsWith=mQe;Z._property=hQe;Z._mime=gQe;Z._overwrite=ah;Z._normalize=yQe;Z._trim=bQe;Z._toLowerCase=vQe;Z._toUpperCase=_Qe;Z._slugify=wQe;Z._array=SQe;Z._union=EQe;Z._xor=xQe;Z._discriminatedUnion=OQe;Z._intersection=CQe;Z._tuple=TQe;Z._record=IQe;Z._map=AQe;Z._set=DQe;Z._enum=LQe;Z._nativeEnum=kQe;Z._literal=NQe;Z._file=jQe;Z._transform=PQe;Z._optional=MQe;Z._nullable=RQe;Z._default=FQe;Z._nonoptional=$Qe;Z._success=UQe;Z._catch=zQe;Z._pipe=qQe;Z._readonly=BQe;Z._templateLiteral=VQe;Z._lazy=WQe;Z._promise=ZQe;Z._custom=HQe;Z._refine=GQe;Z._superRefine=JQe;Z._check=Sse;Z.describe=KQe;Z.meta=XQe;Z._stringbool=YQe;Z._stringFormat=QQe;var Gt=cS(t3()),lS=cS(ty()),sS=cS(QA()),ie=cS(Se());function eYe(e,t){return new e({type:"string",...ie.normalizeParams(t)})}function tYe(e,t){return new e({type:"string",coerce:!0,...ie.normalizeParams(t)})}function rYe(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function nYe(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function iYe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function aYe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ie.normalizeParams(t)})}function oYe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ie.normalizeParams(t)})}function sYe(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ie.normalizeParams(t)})}function lYe(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function cYe(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function uYe(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function dYe(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function pYe(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function fYe(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function mYe(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function hYe(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function gYe(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function yYe(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function bYe(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function vYe(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function _Ye(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function wYe(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function SYe(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function EYe(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ie.normalizeParams(t)})}function xYe(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ie.normalizeParams(t)})}Z.TimePrecision={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function OYe(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ie.normalizeParams(t)})}function CYe(e,t){return new e({type:"string",format:"date",check:"string_format",...ie.normalizeParams(t)})}function TYe(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ie.normalizeParams(t)})}function IYe(e,t){return new e({type:"string",format:"duration",check:"string_format",...ie.normalizeParams(t)})}function AYe(e,t){return new e({type:"number",checks:[],...ie.normalizeParams(t)})}function DYe(e,t){return new e({type:"number",coerce:!0,checks:[],...ie.normalizeParams(t)})}function LYe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ie.normalizeParams(t)})}function kYe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...ie.normalizeParams(t)})}function NYe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...ie.normalizeParams(t)})}function jYe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...ie.normalizeParams(t)})}function PYe(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...ie.normalizeParams(t)})}function MYe(e,t){return new e({type:"boolean",...ie.normalizeParams(t)})}function RYe(e,t){return new e({type:"boolean",coerce:!0,...ie.normalizeParams(t)})}function FYe(e,t){return new e({type:"bigint",...ie.normalizeParams(t)})}function $Ye(e,t){return new e({type:"bigint",coerce:!0,...ie.normalizeParams(t)})}function UYe(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...ie.normalizeParams(t)})}function zYe(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...ie.normalizeParams(t)})}function qYe(e,t){return new e({type:"symbol",...ie.normalizeParams(t)})}function BYe(e,t){return new e({type:"undefined",...ie.normalizeParams(t)})}function VYe(e,t){return new e({type:"null",...ie.normalizeParams(t)})}function WYe(e){return new e({type:"any"})}function ZYe(e){return new e({type:"unknown"})}function HYe(e,t){return new e({type:"never",...ie.normalizeParams(t)})}function GYe(e,t){return new e({type:"void",...ie.normalizeParams(t)})}function JYe(e,t){return new e({type:"date",...ie.normalizeParams(t)})}function KYe(e,t){return new e({type:"date",coerce:!0,...ie.normalizeParams(t)})}function XYe(e,t){return new e({type:"nan",...ie.normalizeParams(t)})}function _se(e,t){return new Gt.$ZodCheckLessThan({check:"less_than",...ie.normalizeParams(t),value:e,inclusive:!1})}function ry(e,t){return new Gt.$ZodCheckLessThan({check:"less_than",...ie.normalizeParams(t),value:e,inclusive:!0})}function wse(e,t){return new Gt.$ZodCheckGreaterThan({check:"greater_than",...ie.normalizeParams(t),value:e,inclusive:!1})}function ny(e,t){return new Gt.$ZodCheckGreaterThan({check:"greater_than",...ie.normalizeParams(t),value:e,inclusive:!0})}function YYe(e){return wse(0,e)}function QYe(e){return _se(0,e)}function eQe(e){return ry(0,e)}function tQe(e){return ny(0,e)}function rQe(e,t){return new Gt.$ZodCheckMultipleOf({check:"multiple_of",...ie.normalizeParams(t),value:e})}function nQe(e,t){return new Gt.$ZodCheckMaxSize({check:"max_size",...ie.normalizeParams(t),maximum:e})}function iQe(e,t){return new Gt.$ZodCheckMinSize({check:"min_size",...ie.normalizeParams(t),minimum:e})}function aQe(e,t){return new Gt.$ZodCheckSizeEquals({check:"size_equals",...ie.normalizeParams(t),size:e})}function oQe(e,t){return new Gt.$ZodCheckMaxLength({check:"max_length",...ie.normalizeParams(t),maximum:e})}function sQe(e,t){return new Gt.$ZodCheckMinLength({check:"min_length",...ie.normalizeParams(t),minimum:e})}function lQe(e,t){return new Gt.$ZodCheckLengthEquals({check:"length_equals",...ie.normalizeParams(t),length:e})}function cQe(e,t){return new Gt.$ZodCheckRegex({check:"string_format",format:"regex",...ie.normalizeParams(t),pattern:e})}function uQe(e){return new Gt.$ZodCheckLowerCase({check:"string_format",format:"lowercase",...ie.normalizeParams(e)})}function dQe(e){return new Gt.$ZodCheckUpperCase({check:"string_format",format:"uppercase",...ie.normalizeParams(e)})}function pQe(e,t){return new Gt.$ZodCheckIncludes({check:"string_format",format:"includes",...ie.normalizeParams(t),includes:e})}function fQe(e,t){return new Gt.$ZodCheckStartsWith({check:"string_format",format:"starts_with",...ie.normalizeParams(t),prefix:e})}function mQe(e,t){return new Gt.$ZodCheckEndsWith({check:"string_format",format:"ends_with",...ie.normalizeParams(t),suffix:e})}function hQe(e,t,r){return new Gt.$ZodCheckProperty({check:"property",property:e,schema:t,...ie.normalizeParams(r)})}function gQe(e,t){return new Gt.$ZodCheckMimeType({check:"mime_type",mime:e,...ie.normalizeParams(t)})}function ah(e){return new Gt.$ZodCheckOverwrite({check:"overwrite",tx:e})}function yQe(e){return ah(t=>t.normalize(e))}function bQe(){return ah(e=>e.trim())}function vQe(){return ah(e=>e.toLowerCase())}function _Qe(){return ah(e=>e.toUpperCase())}function wQe(){return ah(e=>ie.slugify(e))}function SQe(e,t,r){return new e({type:"array",element:t,...ie.normalizeParams(r)})}function EQe(e,t,r){return new e({type:"union",options:t,...ie.normalizeParams(r)})}function xQe(e,t,r){return new e({type:"union",options:t,inclusive:!1,...ie.normalizeParams(r)})}function OQe(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...ie.normalizeParams(n)})}function CQe(e,t,r){return new e({type:"intersection",left:t,right:r})}function TQe(e,t,r,n){let i=r instanceof sS.$ZodType,a=i?n:r,o=i?r:null;return new e({type:"tuple",items:t,rest:o,...ie.normalizeParams(a)})}function IQe(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...ie.normalizeParams(n)})}function AQe(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...ie.normalizeParams(n)})}function DQe(e,t,r){return new e({type:"set",valueType:t,...ie.normalizeParams(r)})}function LQe(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new e({type:"enum",entries:n,...ie.normalizeParams(r)})}function kQe(e,t,r){return new e({type:"enum",entries:t,...ie.normalizeParams(r)})}function NQe(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...ie.normalizeParams(r)})}function jQe(e,t){return new e({type:"file",...ie.normalizeParams(t)})}function PQe(e,t){return new e({type:"transform",transform:t})}function MQe(e,t){return new e({type:"optional",innerType:t})}function RQe(e,t){return new e({type:"nullable",innerType:t})}function FQe(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():ie.shallowClone(r)}})}function $Qe(e,t,r){return new e({type:"nonoptional",innerType:t,...ie.normalizeParams(r)})}function UQe(e,t){return new e({type:"success",innerType:t})}function zQe(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function qQe(e,t,r){return new e({type:"pipe",in:t,out:r})}function BQe(e,t){return new e({type:"readonly",innerType:t})}function VQe(e,t,r){return new e({type:"template_literal",parts:t,...ie.normalizeParams(r)})}function WQe(e,t){return new e({type:"lazy",getter:t})}function ZQe(e,t){return new e({type:"promise",innerType:t})}function HQe(e,t,r){let n=ie.normalizeParams(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function GQe(e,t,r){return new e({type:"custom",check:"custom",fn:t,...ie.normalizeParams(r)})}function JQe(e,t){let r=Sse(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(ie.issue(i,n.value,r._zod.def));else{let a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=r),a.continue??(a.continue=!r._zod.def.abort),n.issues.push(ie.issue(a))}},e(n.value,n)),t);return r}function Sse(e,t){let r=new Gt.$ZodCheck({check:"custom",...ie.normalizeParams(t)});return r._zod.check=e,r}function KQe(e){let t=new Gt.$ZodCheck({check:"describe"});return t._zod.onattach=[r=>{let n=lS.globalRegistry.get(r)??{};lS.globalRegistry.add(r,{...n,description:e})}],t._zod.check=()=>{},t}function XQe(e){let t=new Gt.$ZodCheck({check:"meta"});return t._zod.onattach=[r=>{let n=lS.globalRegistry.get(r)??{};lS.globalRegistry.add(r,{...n,...e})}],t._zod.check=()=>{},t}function YQe(e,t){let r=ie.normalizeParams(t),n=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(n=n.map(p=>typeof p=="string"?p.toLowerCase():p),i=i.map(p=>typeof p=="string"?p.toLowerCase():p));let a=new Set(n),o=new Set(i),s=e.Codec??sS.$ZodCodec,l=e.Boolean??sS.$ZodBoolean,c=e.String??sS.$ZodString,u=new c({type:"string",error:r.error}),d=new l({type:"boolean",error:r.error}),f=new s({type:"pipe",in:u,out:d,transform:(p,m)=>{let y=p;return r.case!=="sensitive"&&(y=y.toLowerCase()),a.has(y)?!0:o.has(y)?!1:(m.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...o],input:m.value,inst:f,continue:!1}),{})},reverseTransform:(p,m)=>p===!0?n[0]||"true":i[0]||"false",error:r.error});return f}function QQe(e,t,r,n={}){let i=ie.normalizeParams(n),a={...ie.normalizeParams(n),check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:s=>r.test(s),...i};return r instanceof RegExp&&(a.pattern=r),new e(a)}});var iy=h(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.createStandardJSONSchemaMethod=ka.createToJSONSchemaMethod=void 0;ka.initializeContext=iD;ka.process=uS;ka.extractDefs=aD;ka.finalize=oD;var eet=ty();function iD(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??eet.globalRegistry,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function uS(e,t,r={path:[],schemaPath:[]}){var n;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,r.schemaPath.includes(e)&&(a.cycle=r.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let u={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,u);else{let f=o.schema,p=t.processors[i.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);p(e,t,f,u)}let d=e._zod.parent;d&&(o.ref||(o.ref=d),uS(d,t,u),t.seen.get(d).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(o.schema,l),t.io==="input"&&Jn(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&"_prefault"in o.schema&&((n=o.schema).default??(n.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function aD(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let o of e.seen.entries()){let s=e.metadataRegistry.get(o[0])?.id;if(s){let l=n.get(s);if(l&&l!==o[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(s,o[0])}}let i=o=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let d=e.external.registry.get(o[0])?.id,f=e.external.uri??(m=>m);if(d)return{ref:f(d)};let p=o[1].defId??o[1].schema.id??`schema${e.counter++}`;return o[1].defId=p,{defId:p,ref:`${f("__shared")}#/${s}/${p}`}}if(o[1]===r)return{ref:"#"};let c=`#/${s}/`,u=o[1].schema.id??`__schema${e.counter++}`;return{defId:u,ref:c+u}},a=o=>{if(o[1].schema.$ref)return;let s=o[1],{ref:l,defId:c}=i(o);s.def={...s.schema},c&&(s.defId=c);let u=s.schema;for(let d in u)delete u[d];u.$ref=l};if(e.cycles==="throw")for(let o of e.seen.entries()){let s=o[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
|
||
|
||
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let o of e.seen.entries()){let s=o[1];if(t===o[0]){a(o);continue}if(e.external){let c=e.external.registry.get(o[0])?.id;if(t!==o[0]&&c){a(o);continue}}if(e.metadataRegistry.get(o[0])?.id){a(o);continue}if(s.cycle){a(o);continue}if(s.count>1&&e.reused==="ref"){a(o);continue}}}function oD(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let n=s=>{let l=e.seen.get(s);if(l.ref===null)return;let c=l.def??l.schema,u={...c},d=l.ref;if(l.ref=null,d){n(d);let p=e.seen.get(d),m=p.schema;if(m.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(m)):Object.assign(c,m),Object.assign(c,u),s._zod.parent===d)for(let v in c)v==="$ref"||v==="allOf"||v in u||delete c[v];if(m.$ref&&p.def)for(let v in c)v==="$ref"||v==="allOf"||v in p.def&&JSON.stringify(c[v])===JSON.stringify(p.def[v])&&delete c[v]}let f=s._zod.parent;if(f&&f!==d){n(f);let p=e.seen.get(f);if(p?.schema.$ref&&(c.$ref=p.schema.$ref,p.def))for(let m in c)m==="$ref"||m==="allOf"||m in p.def&&JSON.stringify(c[m])===JSON.stringify(p.def[m])&&delete c[m]}e.override({zodSchema:s,jsonSchema:c,path:l.path??[]})};for(let s of[...e.seen.entries()].reverse())n(s[0]);let i={};if(e.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(s)}Object.assign(i,r.def??r.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let s of e.seen.entries()){let l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,o[l.defId]=l.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?i.$defs=o:i.definitions=o);try{let s=JSON.parse(JSON.stringify(i));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:(0,ka.createStandardJSONSchemaMethod)(t,"input",e.processors),output:(0,ka.createStandardJSONSchemaMethod)(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Jn(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return Jn(n.element,r);if(n.type==="set")return Jn(n.valueType,r);if(n.type==="lazy")return Jn(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return Jn(n.innerType,r);if(n.type==="intersection")return Jn(n.left,r)||Jn(n.right,r);if(n.type==="record"||n.type==="map")return Jn(n.keyType,r)||Jn(n.valueType,r);if(n.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Jn(n.in,r)||Jn(n.out,r);if(n.type==="object"){for(let i in n.shape)if(Jn(n.shape[i],r))return!0;return!1}if(n.type==="union"){for(let i of n.options)if(Jn(i,r))return!0;return!1}if(n.type==="tuple"){for(let i of n.items)if(Jn(i,r))return!0;return!!(n.rest&&Jn(n.rest,r))}return!1}var tet=(e,t={})=>r=>{let n=iD({...r,processors:t});return uS(e,n),aD(n,e),oD(n,e)};ka.createToJSONSchemaMethod=tet;var ret=(e,t,r={})=>n=>{let{libraryOptions:i,target:a}=n??{},o=iD({...i??{},target:a,io:t,processors:r});return uS(e,o),aD(o,e),oD(o,e)};ka.createStandardJSONSchemaMethod=ret});var ay=h(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});Y.allProcessors=Y.lazyProcessor=Y.optionalProcessor=Y.promiseProcessor=Y.readonlyProcessor=Y.pipeProcessor=Y.catchProcessor=Y.prefaultProcessor=Y.defaultProcessor=Y.nonoptionalProcessor=Y.nullableProcessor=Y.recordProcessor=Y.tupleProcessor=Y.intersectionProcessor=Y.unionProcessor=Y.objectProcessor=Y.arrayProcessor=Y.setProcessor=Y.mapProcessor=Y.transformProcessor=Y.functionProcessor=Y.customProcessor=Y.successProcessor=Y.fileProcessor=Y.templateLiteralProcessor=Y.nanProcessor=Y.literalProcessor=Y.enumProcessor=Y.dateProcessor=Y.unknownProcessor=Y.anyProcessor=Y.neverProcessor=Y.voidProcessor=Y.undefinedProcessor=Y.nullProcessor=Y.symbolProcessor=Y.bigintProcessor=Y.booleanProcessor=Y.numberProcessor=Y.stringProcessor=void 0;Y.toJSONSchema=Zet;var vt=iy(),net=Se(),iet={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},aet=(e,t,r,n)=>{let i=r;i.type="string";let{minimum:a,maximum:o,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof a=="number"&&(i.minLength=a),typeof o=="number"&&(i.maxLength=o),s&&(i.format=iet[s]??s,i.format===""&&delete i.format,s==="time"&&delete i.format),c&&(i.contentEncoding=c),l&&l.size>0){let u=[...l];u.length===1?i.pattern=u[0].source:u.length>1&&(i.allOf=[...u.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}};Y.stringProcessor=aet;var oet=(e,t,r,n)=>{let i=r,{minimum:a,maximum:o,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag;typeof s=="string"&&s.includes("int")?i.type="integer":i.type="number";let d=typeof u=="number"&&u>=(a??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(o??Number.POSITIVE_INFINITY),p=t.target==="draft-04"||t.target==="openapi-3.0";d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a=="number"&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o=="number"&&(i.maximum=o),typeof l=="number"&&(i.multipleOf=l)};Y.numberProcessor=oet;var set=(e,t,r,n)=>{r.type="boolean"};Y.booleanProcessor=set;var cet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")};Y.bigintProcessor=cet;var uet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")};Y.symbolProcessor=uet;var det=(e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"};Y.nullProcessor=det;var pet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")};Y.undefinedProcessor=pet;var fet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")};Y.voidProcessor=fet;var met=(e,t,r,n)=>{r.not={}};Y.neverProcessor=met;var het=(e,t,r,n)=>{};Y.anyProcessor=het;var get=(e,t,r,n)=>{};Y.unknownProcessor=get;var yet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")};Y.dateProcessor=yet;var bet=(e,t,r,n)=>{let i=e._zod.def,a=(0,net.getEnumValues)(i.entries);a.every(o=>typeof o=="number")&&(r.type="number"),a.every(o=>typeof o=="string")&&(r.type="string"),r.enum=a};Y.enumProcessor=bet;var vet=(e,t,r,n)=>{let i=e._zod.def,a=[];for(let o of i.values)if(o===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");a.push(Number(o))}else a.push(o);if(a.length!==0)if(a.length===1){let o=a[0];r.type=o===null?"null":typeof o,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[o]:r.const=o}else a.every(o=>typeof o=="number")&&(r.type="number"),a.every(o=>typeof o=="string")&&(r.type="string"),a.every(o=>typeof o=="boolean")&&(r.type="boolean"),a.every(o=>o===null)&&(r.type="null"),r.enum=a};Y.literalProcessor=vet;var _et=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")};Y.nanProcessor=_et;var wet=(e,t,r,n)=>{let i=r,a=e._zod.pattern;if(!a)throw new Error("Pattern not found in template literal");i.type="string",i.pattern=a.source};Y.templateLiteralProcessor=wet;var Eet=(e,t,r,n)=>{let i=r,a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:o,maximum:s,mime:l}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),l?l.length===1?(a.contentMediaType=l[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(i,a)};Y.fileProcessor=Eet;var xet=(e,t,r,n)=>{r.type="boolean"};Y.successProcessor=xet;var Oet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")};Y.customProcessor=Oet;var Cet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")};Y.functionProcessor=Cet;var Tet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")};Y.transformProcessor=Tet;var Iet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")};Y.mapProcessor=Iet;var Aet=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")};Y.setProcessor=Aet;var Det=(e,t,r,n)=>{let i=r,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o=="number"&&(i.minItems=o),typeof s=="number"&&(i.maxItems=s),i.type="array",i.items=(0,vt.process)(a.element,t,{...n,path:[...n.path,"items"]})};Y.arrayProcessor=Det;var Let=(e,t,r,n)=>{let i=r,a=e._zod.def;i.type="object",i.properties={};let o=a.shape;for(let c in o)i.properties[c]=(0,vt.process)(o[c],t,{...n,path:[...n.path,"properties",c]});let s=new Set(Object.keys(o)),l=new Set([...s].filter(c=>{let u=a.shape[c]._zod;return t.io==="input"?u.optin===void 0:u.optout===void 0}));l.size>0&&(i.required=Array.from(l)),a.catchall?._zod.def.type==="never"?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=(0,vt.process)(a.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(i.additionalProperties=!1)};Y.objectProcessor=Let;var ket=(e,t,r,n)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((s,l)=>(0,vt.process)(s,t,{...n,path:[...n.path,a?"oneOf":"anyOf",l]}));a?r.oneOf=o:r.anyOf=o};Y.unionProcessor=ket;var Net=(e,t,r,n)=>{let i=e._zod.def,a=(0,vt.process)(i.left,t,{...n,path:[...n.path,"allOf",0]}),o=(0,vt.process)(i.right,t,{...n,path:[...n.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];r.allOf=l};Y.intersectionProcessor=Net;var jet=(e,t,r,n)=>{let i=r,a=e._zod.def;i.type="array";let o=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=a.items.map((f,p)=>(0,vt.process)(f,t,{...n,path:[...n.path,o,p]})),c=a.rest?(0,vt.process)(a.rest,t,{...n,path:[...n.path,s,...t.target==="openapi-3.0"?[a.items.length]:[]]}):null;t.target==="draft-2020-12"?(i.prefixItems=l,c&&(i.items=c)):t.target==="openapi-3.0"?(i.items={anyOf:l},c&&i.items.anyOf.push(c),i.minItems=l.length,c||(i.maxItems=l.length)):(i.items=l,c&&(i.additionalItems=c));let{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(i.minItems=u),typeof d=="number"&&(i.maxItems=d)};Y.tupleProcessor=jet;var Pet=(e,t,r,n)=>{let i=r,a=e._zod.def;i.type="object";let o=a.keyType,l=o._zod.bag?.patterns;if(a.mode==="loose"&&l&&l.size>0){let u=(0,vt.process)(a.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});i.patternProperties={};for(let d of l)i.patternProperties[d.source]=u}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(i.propertyNames=(0,vt.process)(a.keyType,t,{...n,path:[...n.path,"propertyNames"]})),i.additionalProperties=(0,vt.process)(a.valueType,t,{...n,path:[...n.path,"additionalProperties"]});let c=o._zod.values;if(c){let u=[...c].filter(d=>typeof d=="string"||typeof d=="number");u.length>0&&(i.required=u)}};Y.recordProcessor=Pet;var Met=(e,t,r,n)=>{let i=e._zod.def,a=(0,vt.process)(i.innerType,t,n),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=i.innerType,r.nullable=!0):r.anyOf=[a,{type:"null"}]};Y.nullableProcessor=Met;var Ret=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType};Y.nonoptionalProcessor=Ret;var Fet=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,r.default=JSON.parse(JSON.stringify(i.defaultValue))};Y.defaultProcessor=Fet;var $et=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(i.defaultValue)))};Y.prefaultProcessor=$et;var Uet=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=o};Y.catchProcessor=Uet;var zet=(e,t,r,n)=>{let i=e._zod.def,a=i.in._zod.traits.has("$ZodTransform"),o=t.io==="input"?a?i.out:i.in:i.out;(0,vt.process)(o,t,n);let s=t.seen.get(e);s.ref=o};Y.pipeProcessor=zet;var qet=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,r.readOnly=!0};Y.readonlyProcessor=qet;var Bet=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType};Y.promiseProcessor=Bet;var Vet=(e,t,r,n)=>{let i=e._zod.def;(0,vt.process)(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType};Y.optionalProcessor=Vet;var Wet=(e,t,r,n)=>{let i=e._zod.innerType;(0,vt.process)(i,t,n);let a=t.seen.get(e);a.ref=i};Y.lazyProcessor=Wet;Y.allProcessors={string:Y.stringProcessor,number:Y.numberProcessor,boolean:Y.booleanProcessor,bigint:Y.bigintProcessor,symbol:Y.symbolProcessor,null:Y.nullProcessor,undefined:Y.undefinedProcessor,void:Y.voidProcessor,never:Y.neverProcessor,any:Y.anyProcessor,unknown:Y.unknownProcessor,date:Y.dateProcessor,enum:Y.enumProcessor,literal:Y.literalProcessor,nan:Y.nanProcessor,template_literal:Y.templateLiteralProcessor,file:Y.fileProcessor,success:Y.successProcessor,custom:Y.customProcessor,function:Y.functionProcessor,transform:Y.transformProcessor,map:Y.mapProcessor,set:Y.setProcessor,array:Y.arrayProcessor,object:Y.objectProcessor,union:Y.unionProcessor,intersection:Y.intersectionProcessor,tuple:Y.tupleProcessor,record:Y.recordProcessor,nullable:Y.nullableProcessor,nonoptional:Y.nonoptionalProcessor,default:Y.defaultProcessor,prefault:Y.prefaultProcessor,catch:Y.catchProcessor,pipe:Y.pipeProcessor,readonly:Y.readonlyProcessor,promise:Y.promiseProcessor,optional:Y.optionalProcessor,lazy:Y.lazyProcessor};function Zet(e,t){if("_idmap"in e){let n=e,i=(0,vt.initializeContext)({...t,processors:Y.allProcessors}),a={};for(let l of n._idmap.entries()){let[c,u]=l;(0,vt.process)(u,i)}let o={},s={registry:n,uri:t?.uri,defs:a};i.external=s;for(let l of n._idmap.entries()){let[c,u]=l;(0,vt.extractDefs)(i,u),o[c]=(0,vt.finalize)(i,u)}if(Object.keys(a).length>0){let l=i.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[l]:a}}return{schemas:o}}let r=(0,vt.initializeContext)({...t,processors:Y.allProcessors});return(0,vt.process)(e,r),(0,vt.extractDefs)(r,e),(0,vt.finalize)(r,e)}});var xse=h(pS=>{"use strict";Object.defineProperty(pS,"__esModule",{value:!0});pS.JSONSchemaGenerator=void 0;var Het=ay(),dS=iy(),sD=class{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(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=(0,dS.initializeContext)({processors:Het.allProcessors,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return(0,dS.process)(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),(0,dS.extractDefs)(this.ctx,t);let n=(0,dS.finalize)(this.ctx,t),{"~standard":i,...a}=n;return a}};pS.JSONSchemaGenerator=sD});var Cse=h(Ose=>{"use strict";Object.defineProperty(Ose,"__esModule",{value:!0})});var mi=h(pt=>{"use strict";var Tse=pt&&pt.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Get=pt&&pt.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),nl=pt&&pt.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Tse(t,e,r)},fS=pt&&pt.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Tse(t,e,r);return Get(t,e),t};Object.defineProperty(pt,"__esModule",{value:!0});pt.JSONSchema=pt.JSONSchemaGenerator=pt.toJSONSchema=pt.locales=pt.regexes=pt.util=void 0;nl(Sp(),pt);nl(WA(),pt);nl(BA(),pt);nl(QA(),pt);nl(t3(),pt);nl(KA(),pt);pt.util=fS(Se());pt.regexes=fS(e3());pt.locales=fS(nD());nl(ty(),pt);nl(JA(),pt);nl(Ese(),pt);nl(iy(),pt);var Jet=ay();Object.defineProperty(pt,"toJSONSchema",{enumerable:!0,get:function(){return Jet.toJSONSchema}});var Ket=xse();Object.defineProperty(pt,"JSONSchemaGenerator",{enumerable:!0,get:function(){return Ket.JSONSchemaGenerator}});pt.JSONSchema=fS(Cse())});var mS=h(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.slugify=Oe.toUpperCase=Oe.toLowerCase=Oe.trim=Oe.normalize=Oe.overwrite=Oe.mime=Oe.property=Oe.endsWith=Oe.startsWith=Oe.includes=Oe.uppercase=Oe.lowercase=Oe.regex=Oe.length=Oe.minLength=Oe.maxLength=Oe.size=Oe.minSize=Oe.maxSize=Oe.multipleOf=Oe.nonnegative=Oe.nonpositive=Oe.negative=Oe.positive=Oe.gte=Oe.gt=Oe.lte=Oe.lt=void 0;var _t=mi();Object.defineProperty(Oe,"lt",{enumerable:!0,get:function(){return _t._lt}});Object.defineProperty(Oe,"lte",{enumerable:!0,get:function(){return _t._lte}});Object.defineProperty(Oe,"gt",{enumerable:!0,get:function(){return _t._gt}});Object.defineProperty(Oe,"gte",{enumerable:!0,get:function(){return _t._gte}});Object.defineProperty(Oe,"positive",{enumerable:!0,get:function(){return _t._positive}});Object.defineProperty(Oe,"negative",{enumerable:!0,get:function(){return _t._negative}});Object.defineProperty(Oe,"nonpositive",{enumerable:!0,get:function(){return _t._nonpositive}});Object.defineProperty(Oe,"nonnegative",{enumerable:!0,get:function(){return _t._nonnegative}});Object.defineProperty(Oe,"multipleOf",{enumerable:!0,get:function(){return _t._multipleOf}});Object.defineProperty(Oe,"maxSize",{enumerable:!0,get:function(){return _t._maxSize}});Object.defineProperty(Oe,"minSize",{enumerable:!0,get:function(){return _t._minSize}});Object.defineProperty(Oe,"size",{enumerable:!0,get:function(){return _t._size}});Object.defineProperty(Oe,"maxLength",{enumerable:!0,get:function(){return _t._maxLength}});Object.defineProperty(Oe,"minLength",{enumerable:!0,get:function(){return _t._minLength}});Object.defineProperty(Oe,"length",{enumerable:!0,get:function(){return _t._length}});Object.defineProperty(Oe,"regex",{enumerable:!0,get:function(){return _t._regex}});Object.defineProperty(Oe,"lowercase",{enumerable:!0,get:function(){return _t._lowercase}});Object.defineProperty(Oe,"uppercase",{enumerable:!0,get:function(){return _t._uppercase}});Object.defineProperty(Oe,"includes",{enumerable:!0,get:function(){return _t._includes}});Object.defineProperty(Oe,"startsWith",{enumerable:!0,get:function(){return _t._startsWith}});Object.defineProperty(Oe,"endsWith",{enumerable:!0,get:function(){return _t._endsWith}});Object.defineProperty(Oe,"property",{enumerable:!0,get:function(){return _t._property}});Object.defineProperty(Oe,"mime",{enumerable:!0,get:function(){return _t._mime}});Object.defineProperty(Oe,"overwrite",{enumerable:!0,get:function(){return _t._overwrite}});Object.defineProperty(Oe,"normalize",{enumerable:!0,get:function(){return _t._normalize}});Object.defineProperty(Oe,"trim",{enumerable:!0,get:function(){return _t._trim}});Object.defineProperty(Oe,"toLowerCase",{enumerable:!0,get:function(){return _t._toLowerCase}});Object.defineProperty(Oe,"toUpperCase",{enumerable:!0,get:function(){return _t._toUpperCase}});Object.defineProperty(Oe,"slugify",{enumerable:!0,get:function(){return _t._slugify}})});var oy=h(Vt=>{"use strict";var Xet=Vt&&Vt.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Yet=Vt&&Vt.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ise=Vt&&Vt.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Xet(t,e,r);return Yet(t,e),t};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.ZodISODuration=Vt.ZodISOTime=Vt.ZodISODate=Vt.ZodISODateTime=void 0;Vt.datetime=Qet;Vt.date=ett;Vt.time=ttt;Vt.duration=rtt;var Na=Ise(mi()),hS=Ise(sy());Vt.ZodISODateTime=Na.$constructor("ZodISODateTime",(e,t)=>{Na.$ZodISODateTime.init(e,t),hS.ZodStringFormat.init(e,t)});function Qet(e){return Na._isoDateTime(Vt.ZodISODateTime,e)}Vt.ZodISODate=Na.$constructor("ZodISODate",(e,t)=>{Na.$ZodISODate.init(e,t),hS.ZodStringFormat.init(e,t)});function ett(e){return Na._isoDate(Vt.ZodISODate,e)}Vt.ZodISOTime=Na.$constructor("ZodISOTime",(e,t)=>{Na.$ZodISOTime.init(e,t),hS.ZodStringFormat.init(e,t)});function ttt(e){return Na._isoTime(Vt.ZodISOTime,e)}Vt.ZodISODuration=Na.$constructor("ZodISODuration",(e,t)=>{Na.$ZodISODuration.init(e,t),hS.ZodStringFormat.init(e,t)});function rtt(e){return Na._isoDuration(Vt.ZodISODuration,e)}});var lD=h(ja=>{"use strict";var ntt=ja&&ja.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),itt=ja&&ja.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Dse=ja&&ja.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&ntt(t,e,r);return itt(t,e),t};Object.defineProperty(ja,"__esModule",{value:!0});ja.ZodRealError=ja.ZodError=void 0;var gS=Dse(mi()),att=mi(),Ase=Dse(Se()),Lse=(e,t)=>{att.$ZodError.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>gS.formatError(e,r)},flatten:{value:r=>gS.flattenError(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Ase.jsonStringifyReplacer,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Ase.jsonStringifyReplacer,2)}},isEmpty:{get(){return e.issues.length===0}}})};ja.ZodError=gS.$constructor("ZodError",Lse);ja.ZodRealError=gS.$constructor("ZodError",Lse,{Parent:Error})});var cD=h(ft=>{"use strict";var ott=ft&&ft.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),stt=ft&&ft.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ltt=ft&&ft.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&ott(t,e,r);return stt(t,e),t};Object.defineProperty(ft,"__esModule",{value:!0});ft.safeDecodeAsync=ft.safeEncodeAsync=ft.safeDecode=ft.safeEncode=ft.decodeAsync=ft.encodeAsync=ft.decode=ft.encode=ft.safeParseAsync=ft.safeParse=ft.parseAsync=ft.parse=void 0;var Pa=ltt(mi()),Ma=lD();ft.parse=Pa._parse(Ma.ZodRealError);ft.parseAsync=Pa._parseAsync(Ma.ZodRealError);ft.safeParse=Pa._safeParse(Ma.ZodRealError);ft.safeParseAsync=Pa._safeParseAsync(Ma.ZodRealError);ft.encode=Pa._encode(Ma.ZodRealError);ft.decode=Pa._decode(Ma.ZodRealError);ft.encodeAsync=Pa._encodeAsync(Ma.ZodRealError);ft.decodeAsync=Pa._decodeAsync(Ma.ZodRealError);ft.safeEncode=Pa._safeEncode(Ma.ZodRealError);ft.safeDecode=Pa._safeDecode(Ma.ZodRealError);ft.safeEncodeAsync=Pa._safeEncodeAsync(Ma.ZodRealError);ft.safeDecodeAsync=Pa._safeDecodeAsync(Ma.ZodRealError)});var sy=h(O=>{"use strict";var ctt=O&&O.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),utt=O&&O.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ly=O&&O.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&ctt(t,e,r);return utt(t,e),t};Object.defineProperty(O,"__esModule",{value:!0});O.ZodLiteral=O.ZodEnum=O.ZodSet=O.ZodMap=O.ZodRecord=O.ZodTuple=O.ZodIntersection=O.ZodDiscriminatedUnion=O.ZodXor=O.ZodUnion=O.ZodObject=O.ZodArray=O.ZodDate=O.ZodVoid=O.ZodNever=O.ZodUnknown=O.ZodAny=O.ZodNull=O.ZodUndefined=O.ZodSymbol=O.ZodBigIntFormat=O.ZodBigInt=O.ZodBoolean=O.ZodNumberFormat=O.ZodNumber=O.ZodCustomStringFormat=O.ZodJWT=O.ZodE164=O.ZodBase64URL=O.ZodBase64=O.ZodCIDRv6=O.ZodCIDRv4=O.ZodIPv6=O.ZodMAC=O.ZodIPv4=O.ZodKSUID=O.ZodXID=O.ZodULID=O.ZodCUID2=O.ZodCUID=O.ZodNanoID=O.ZodEmoji=O.ZodURL=O.ZodUUID=O.ZodGUID=O.ZodEmail=O.ZodStringFormat=O.ZodString=O._ZodString=O.ZodType=void 0;O.stringbool=O.meta=O.describe=O.ZodCustom=O.ZodFunction=O.ZodPromise=O.ZodLazy=O.ZodTemplateLiteral=O.ZodReadonly=O.ZodPreprocess=O.ZodCodec=O.ZodPipe=O.ZodNaN=O.ZodCatch=O.ZodSuccess=O.ZodNonOptional=O.ZodPrefault=O.ZodDefault=O.ZodNullable=O.ZodExactOptional=O.ZodOptional=O.ZodTransform=O.ZodFile=void 0;O.string=bS;O.email=dtt;O.guid=ptt;O.uuid=ftt;O.uuidv4=mtt;O.uuidv6=htt;O.uuidv7=gtt;O.url=ytt;O.httpUrl=btt;O.emoji=vtt;O.nanoid=_tt;O.cuid=wtt;O.cuid2=Stt;O.ulid=Ett;O.xid=xtt;O.ksuid=Ott;O.ipv4=Ctt;O.mac=Ttt;O.ipv6=Itt;O.cidrv4=Att;O.cidrv6=Dtt;O.base64=Ltt;O.base64url=ktt;O.e164=Ntt;O.jwt=jtt;O.stringFormat=Ptt;O.hostname=Mtt;O.hex=Rtt;O.hash=Ftt;O.number=Nse;O.int=dD;O.float32=$tt;O.float64=Utt;O.int32=ztt;O.uint32=qtt;O.boolean=jse;O.bigint=Btt;O.int64=Vtt;O.uint64=Wtt;O.symbol=Ztt;O.undefined=Htt;O.null=Pse;O.any=Gtt;O.unknown=oh;O.never=fD;O.void=Jtt;O.date=Ktt;O.array=wS;O.keyof=Xtt;O.object=Ytt;O.strictObject=Qtt;O.looseObject=ert;O.union=mD;O.xor=trt;O.discriminatedUnion=rrt;O.intersection=Mse;O.tuple=Rse;O.record=Fse;O.partialRecord=nrt;O.looseRecord=irt;O.map=art;O.set=ort;O.enum=hD;O.nativeEnum=srt;O.literal=lrt;O.file=crt;O.transform=gD;O.optional=vS;O.exactOptional=$se;O.nullable=_S;O.nullish=urt;O._default=Use;O.prefault=zse;O.nonoptional=qse;O.success=drt;O.catch=Bse;O.nan=prt;O.pipe=pD;O.codec=frt;O.invertCodec=mrt;O.readonly=Vse;O.templateLiteral=hrt;O.lazy=Wse;O.promise=grt;O._function=SS;O.function=SS;O._function=SS;O.function=SS;O.check=yrt;O.custom=brt;O.refine=Zse;O.superRefine=Hse;O.instanceof=vrt;O.json=wrt;O.preprocess=Srt;var M=ly(mi()),Ye=mi(),je=ly(ay()),uD=iy(),Le=ly(mS()),yS=ly(oy()),Ra=ly(cD()),kse=new WeakMap;function cy(e,t,r){let n=Object.getPrototypeOf(e),i=kse.get(n);if(i||(i=new Set,kse.set(n,i)),!i.has(t)){i.add(t);for(let a in r){let o=r[a];Object.defineProperty(n,a,{configurable:!0,enumerable:!1,get(){let s=o.bind(this);return Object.defineProperty(this,a,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,a,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}O.ZodType=M.$constructor("ZodType",(e,t)=>(M.$ZodType.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:(0,uD.createStandardJSONSchemaMethod)(e,"input"),output:(0,uD.createStandardJSONSchemaMethod)(e,"output")}}),e.toJSONSchema=(0,uD.createToJSONSchemaMethod)(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(r,n)=>Ra.parse(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>Ra.safeParse(e,r,n),e.parseAsync=async(r,n)=>Ra.parseAsync(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>Ra.safeParseAsync(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>Ra.encode(e,r,n),e.decode=(r,n)=>Ra.decode(e,r,n),e.encodeAsync=async(r,n)=>Ra.encodeAsync(e,r,n),e.decodeAsync=async(r,n)=>Ra.decodeAsync(e,r,n),e.safeEncode=(r,n)=>Ra.safeEncode(e,r,n),e.safeDecode=(r,n)=>Ra.safeDecode(e,r,n),e.safeEncodeAsync=async(r,n)=>Ra.safeEncodeAsync(e,r,n),e.safeDecodeAsync=async(r,n)=>Ra.safeDecodeAsync(e,r,n),cy(e,"ZodType",{check(...r){let n=this.def;return this.clone(Ye.util.mergeDefs(n,{checks:[...n.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0})},with(...r){return this.check(...r)},clone(r,n){return M.clone(this,r,n)},brand(){return this},register(r,n){return r.add(this,n),this},refine(r,n){return this.check(Zse(r,n))},superRefine(r,n){return this.check(Hse(r,n))},overwrite(r){return this.check(Le.overwrite(r))},optional(){return vS(this)},exactOptional(){return $se(this)},nullable(){return _S(this)},nullish(){return vS(_S(this))},nonoptional(r){return qse(this,r)},array(){return wS(this)},or(r){return mD([this,r])},and(r){return Mse(this,r)},transform(r){return pD(this,gD(r))},default(r){return Use(this,r)},prefault(r){return zse(this,r)},catch(r){return Bse(this,r)},pipe(r){return pD(this,r)},readonly(){return Vse(this)},describe(r){let n=this.clone();return M.globalRegistry.add(n,{description:r}),n},meta(...r){if(r.length===0)return M.globalRegistry.get(this);let n=this.clone();return M.globalRegistry.add(n,r[0]),n},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(r){return r(this)}}),Object.defineProperty(e,"description",{get(){return M.globalRegistry.get(e)?.description},configurable:!0}),e));O._ZodString=M.$constructor("_ZodString",(e,t)=>{M.$ZodString.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(n,i,a)=>je.stringProcessor(e,n,i,a);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,cy(e,"_ZodString",{regex(...n){return this.check(Le.regex(...n))},includes(...n){return this.check(Le.includes(...n))},startsWith(...n){return this.check(Le.startsWith(...n))},endsWith(...n){return this.check(Le.endsWith(...n))},min(...n){return this.check(Le.minLength(...n))},max(...n){return this.check(Le.maxLength(...n))},length(...n){return this.check(Le.length(...n))},nonempty(...n){return this.check(Le.minLength(1,...n))},lowercase(n){return this.check(Le.lowercase(n))},uppercase(n){return this.check(Le.uppercase(n))},trim(){return this.check(Le.trim())},normalize(...n){return this.check(Le.normalize(...n))},toLowerCase(){return this.check(Le.toLowerCase())},toUpperCase(){return this.check(Le.toUpperCase())},slugify(){return this.check(Le.slugify())}})});O.ZodString=M.$constructor("ZodString",(e,t)=>{M.$ZodString.init(e,t),O._ZodString.init(e,t),e.email=r=>e.check(M._email(O.ZodEmail,r)),e.url=r=>e.check(M._url(O.ZodURL,r)),e.jwt=r=>e.check(M._jwt(O.ZodJWT,r)),e.emoji=r=>e.check(M._emoji(O.ZodEmoji,r)),e.guid=r=>e.check(M._guid(O.ZodGUID,r)),e.uuid=r=>e.check(M._uuid(O.ZodUUID,r)),e.uuidv4=r=>e.check(M._uuidv4(O.ZodUUID,r)),e.uuidv6=r=>e.check(M._uuidv6(O.ZodUUID,r)),e.uuidv7=r=>e.check(M._uuidv7(O.ZodUUID,r)),e.nanoid=r=>e.check(M._nanoid(O.ZodNanoID,r)),e.guid=r=>e.check(M._guid(O.ZodGUID,r)),e.cuid=r=>e.check(M._cuid(O.ZodCUID,r)),e.cuid2=r=>e.check(M._cuid2(O.ZodCUID2,r)),e.ulid=r=>e.check(M._ulid(O.ZodULID,r)),e.base64=r=>e.check(M._base64(O.ZodBase64,r)),e.base64url=r=>e.check(M._base64url(O.ZodBase64URL,r)),e.xid=r=>e.check(M._xid(O.ZodXID,r)),e.ksuid=r=>e.check(M._ksuid(O.ZodKSUID,r)),e.ipv4=r=>e.check(M._ipv4(O.ZodIPv4,r)),e.ipv6=r=>e.check(M._ipv6(O.ZodIPv6,r)),e.cidrv4=r=>e.check(M._cidrv4(O.ZodCIDRv4,r)),e.cidrv6=r=>e.check(M._cidrv6(O.ZodCIDRv6,r)),e.e164=r=>e.check(M._e164(O.ZodE164,r)),e.datetime=r=>e.check(yS.datetime(r)),e.date=r=>e.check(yS.date(r)),e.time=r=>e.check(yS.time(r)),e.duration=r=>e.check(yS.duration(r))});function bS(e){return M._string(O.ZodString,e)}O.ZodStringFormat=M.$constructor("ZodStringFormat",(e,t)=>{M.$ZodStringFormat.init(e,t),O._ZodString.init(e,t)});O.ZodEmail=M.$constructor("ZodEmail",(e,t)=>{M.$ZodEmail.init(e,t),O.ZodStringFormat.init(e,t)});function dtt(e){return M._email(O.ZodEmail,e)}O.ZodGUID=M.$constructor("ZodGUID",(e,t)=>{M.$ZodGUID.init(e,t),O.ZodStringFormat.init(e,t)});function ptt(e){return M._guid(O.ZodGUID,e)}O.ZodUUID=M.$constructor("ZodUUID",(e,t)=>{M.$ZodUUID.init(e,t),O.ZodStringFormat.init(e,t)});function ftt(e){return M._uuid(O.ZodUUID,e)}function mtt(e){return M._uuidv4(O.ZodUUID,e)}function htt(e){return M._uuidv6(O.ZodUUID,e)}function gtt(e){return M._uuidv7(O.ZodUUID,e)}O.ZodURL=M.$constructor("ZodURL",(e,t)=>{M.$ZodURL.init(e,t),O.ZodStringFormat.init(e,t)});function ytt(e){return M._url(O.ZodURL,e)}function btt(e){return M._url(O.ZodURL,{protocol:M.regexes.httpProtocol,hostname:M.regexes.domain,...Ye.util.normalizeParams(e)})}O.ZodEmoji=M.$constructor("ZodEmoji",(e,t)=>{M.$ZodEmoji.init(e,t),O.ZodStringFormat.init(e,t)});function vtt(e){return M._emoji(O.ZodEmoji,e)}O.ZodNanoID=M.$constructor("ZodNanoID",(e,t)=>{M.$ZodNanoID.init(e,t),O.ZodStringFormat.init(e,t)});function _tt(e){return M._nanoid(O.ZodNanoID,e)}O.ZodCUID=M.$constructor("ZodCUID",(e,t)=>{M.$ZodCUID.init(e,t),O.ZodStringFormat.init(e,t)});function wtt(e){return M._cuid(O.ZodCUID,e)}O.ZodCUID2=M.$constructor("ZodCUID2",(e,t)=>{M.$ZodCUID2.init(e,t),O.ZodStringFormat.init(e,t)});function Stt(e){return M._cuid2(O.ZodCUID2,e)}O.ZodULID=M.$constructor("ZodULID",(e,t)=>{M.$ZodULID.init(e,t),O.ZodStringFormat.init(e,t)});function Ett(e){return M._ulid(O.ZodULID,e)}O.ZodXID=M.$constructor("ZodXID",(e,t)=>{M.$ZodXID.init(e,t),O.ZodStringFormat.init(e,t)});function xtt(e){return M._xid(O.ZodXID,e)}O.ZodKSUID=M.$constructor("ZodKSUID",(e,t)=>{M.$ZodKSUID.init(e,t),O.ZodStringFormat.init(e,t)});function Ott(e){return M._ksuid(O.ZodKSUID,e)}O.ZodIPv4=M.$constructor("ZodIPv4",(e,t)=>{M.$ZodIPv4.init(e,t),O.ZodStringFormat.init(e,t)});function Ctt(e){return M._ipv4(O.ZodIPv4,e)}O.ZodMAC=M.$constructor("ZodMAC",(e,t)=>{M.$ZodMAC.init(e,t),O.ZodStringFormat.init(e,t)});function Ttt(e){return M._mac(O.ZodMAC,e)}O.ZodIPv6=M.$constructor("ZodIPv6",(e,t)=>{M.$ZodIPv6.init(e,t),O.ZodStringFormat.init(e,t)});function Itt(e){return M._ipv6(O.ZodIPv6,e)}O.ZodCIDRv4=M.$constructor("ZodCIDRv4",(e,t)=>{M.$ZodCIDRv4.init(e,t),O.ZodStringFormat.init(e,t)});function Att(e){return M._cidrv4(O.ZodCIDRv4,e)}O.ZodCIDRv6=M.$constructor("ZodCIDRv6",(e,t)=>{M.$ZodCIDRv6.init(e,t),O.ZodStringFormat.init(e,t)});function Dtt(e){return M._cidrv6(O.ZodCIDRv6,e)}O.ZodBase64=M.$constructor("ZodBase64",(e,t)=>{M.$ZodBase64.init(e,t),O.ZodStringFormat.init(e,t)});function Ltt(e){return M._base64(O.ZodBase64,e)}O.ZodBase64URL=M.$constructor("ZodBase64URL",(e,t)=>{M.$ZodBase64URL.init(e,t),O.ZodStringFormat.init(e,t)});function ktt(e){return M._base64url(O.ZodBase64URL,e)}O.ZodE164=M.$constructor("ZodE164",(e,t)=>{M.$ZodE164.init(e,t),O.ZodStringFormat.init(e,t)});function Ntt(e){return M._e164(O.ZodE164,e)}O.ZodJWT=M.$constructor("ZodJWT",(e,t)=>{M.$ZodJWT.init(e,t),O.ZodStringFormat.init(e,t)});function jtt(e){return M._jwt(O.ZodJWT,e)}O.ZodCustomStringFormat=M.$constructor("ZodCustomStringFormat",(e,t)=>{M.$ZodCustomStringFormat.init(e,t),O.ZodStringFormat.init(e,t)});function Ptt(e,t,r={}){return M._stringFormat(O.ZodCustomStringFormat,e,t,r)}function Mtt(e){return M._stringFormat(O.ZodCustomStringFormat,"hostname",M.regexes.hostname,e)}function Rtt(e){return M._stringFormat(O.ZodCustomStringFormat,"hex",M.regexes.hex,e)}function Ftt(e,t){let r=t?.enc??"hex",n=`${e}_${r}`,i=M.regexes[n];if(!i)throw new Error(`Unrecognized hash format: ${n}`);return M._stringFormat(O.ZodCustomStringFormat,n,i,t)}O.ZodNumber=M.$constructor("ZodNumber",(e,t)=>{M.$ZodNumber.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(n,i,a)=>je.numberProcessor(e,n,i,a),cy(e,"ZodNumber",{gt(n,i){return this.check(Le.gt(n,i))},gte(n,i){return this.check(Le.gte(n,i))},min(n,i){return this.check(Le.gte(n,i))},lt(n,i){return this.check(Le.lt(n,i))},lte(n,i){return this.check(Le.lte(n,i))},max(n,i){return this.check(Le.lte(n,i))},int(n){return this.check(dD(n))},safe(n){return this.check(dD(n))},positive(n){return this.check(Le.gt(0,n))},nonnegative(n){return this.check(Le.gte(0,n))},negative(n){return this.check(Le.lt(0,n))},nonpositive(n){return this.check(Le.lte(0,n))},multipleOf(n,i){return this.check(Le.multipleOf(n,i))},step(n,i){return this.check(Le.multipleOf(n,i))},finite(){return this}});let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function Nse(e){return M._number(O.ZodNumber,e)}O.ZodNumberFormat=M.$constructor("ZodNumberFormat",(e,t)=>{M.$ZodNumberFormat.init(e,t),O.ZodNumber.init(e,t)});function dD(e){return M._int(O.ZodNumberFormat,e)}function $tt(e){return M._float32(O.ZodNumberFormat,e)}function Utt(e){return M._float64(O.ZodNumberFormat,e)}function ztt(e){return M._int32(O.ZodNumberFormat,e)}function qtt(e){return M._uint32(O.ZodNumberFormat,e)}O.ZodBoolean=M.$constructor("ZodBoolean",(e,t)=>{M.$ZodBoolean.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.booleanProcessor(e,r,n,i)});function jse(e){return M._boolean(O.ZodBoolean,e)}O.ZodBigInt=M.$constructor("ZodBigInt",(e,t)=>{M.$ZodBigInt.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(n,i,a)=>je.bigintProcessor(e,n,i,a),e.gte=(n,i)=>e.check(Le.gte(n,i)),e.min=(n,i)=>e.check(Le.gte(n,i)),e.gt=(n,i)=>e.check(Le.gt(n,i)),e.gte=(n,i)=>e.check(Le.gte(n,i)),e.min=(n,i)=>e.check(Le.gte(n,i)),e.lt=(n,i)=>e.check(Le.lt(n,i)),e.lte=(n,i)=>e.check(Le.lte(n,i)),e.max=(n,i)=>e.check(Le.lte(n,i)),e.positive=n=>e.check(Le.gt(BigInt(0),n)),e.negative=n=>e.check(Le.lt(BigInt(0),n)),e.nonpositive=n=>e.check(Le.lte(BigInt(0),n)),e.nonnegative=n=>e.check(Le.gte(BigInt(0),n)),e.multipleOf=(n,i)=>e.check(Le.multipleOf(n,i));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function Btt(e){return M._bigint(O.ZodBigInt,e)}O.ZodBigIntFormat=M.$constructor("ZodBigIntFormat",(e,t)=>{M.$ZodBigIntFormat.init(e,t),O.ZodBigInt.init(e,t)});function Vtt(e){return M._int64(O.ZodBigIntFormat,e)}function Wtt(e){return M._uint64(O.ZodBigIntFormat,e)}O.ZodSymbol=M.$constructor("ZodSymbol",(e,t)=>{M.$ZodSymbol.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.symbolProcessor(e,r,n,i)});function Ztt(e){return M._symbol(O.ZodSymbol,e)}O.ZodUndefined=M.$constructor("ZodUndefined",(e,t)=>{M.$ZodUndefined.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.undefinedProcessor(e,r,n,i)});function Htt(e){return M._undefined(O.ZodUndefined,e)}O.ZodNull=M.$constructor("ZodNull",(e,t)=>{M.$ZodNull.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.nullProcessor(e,r,n,i)});function Pse(e){return M._null(O.ZodNull,e)}O.ZodAny=M.$constructor("ZodAny",(e,t)=>{M.$ZodAny.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.anyProcessor(e,r,n,i)});function Gtt(){return M._any(O.ZodAny)}O.ZodUnknown=M.$constructor("ZodUnknown",(e,t)=>{M.$ZodUnknown.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.unknownProcessor(e,r,n,i)});function oh(){return M._unknown(O.ZodUnknown)}O.ZodNever=M.$constructor("ZodNever",(e,t)=>{M.$ZodNever.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.neverProcessor(e,r,n,i)});function fD(e){return M._never(O.ZodNever,e)}O.ZodVoid=M.$constructor("ZodVoid",(e,t)=>{M.$ZodVoid.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.voidProcessor(e,r,n,i)});function Jtt(e){return M._void(O.ZodVoid,e)}O.ZodDate=M.$constructor("ZodDate",(e,t)=>{M.$ZodDate.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(n,i,a)=>je.dateProcessor(e,n,i,a),e.min=(n,i)=>e.check(Le.gte(n,i)),e.max=(n,i)=>e.check(Le.lte(n,i));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function Ktt(e){return M._date(O.ZodDate,e)}O.ZodArray=M.$constructor("ZodArray",(e,t)=>{M.$ZodArray.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.arrayProcessor(e,r,n,i),e.element=t.element,cy(e,"ZodArray",{min(r,n){return this.check(Le.minLength(r,n))},nonempty(r){return this.check(Le.minLength(1,r))},max(r,n){return this.check(Le.maxLength(r,n))},length(r,n){return this.check(Le.length(r,n))},unwrap(){return this.element}})});function wS(e,t){return M._array(O.ZodArray,e,t)}function Xtt(e){let t=e._zod.def.shape;return hD(Object.keys(t))}O.ZodObject=M.$constructor("ZodObject",(e,t)=>{M.$ZodObjectJIT.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.objectProcessor(e,r,n,i),Ye.util.defineLazy(e,"shape",()=>t.shape),cy(e,"ZodObject",{keyof(){return hD(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:oh()})},loose(){return this.clone({...this._zod.def,catchall:oh()})},strict(){return this.clone({...this._zod.def,catchall:fD()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return Ye.util.extend(this,r)},safeExtend(r){return Ye.util.safeExtend(this,r)},merge(r){return Ye.util.merge(this,r)},pick(r){return Ye.util.pick(this,r)},omit(r){return Ye.util.omit(this,r)},partial(...r){return Ye.util.partial(O.ZodOptional,this,r[0])},required(...r){return Ye.util.required(O.ZodNonOptional,this,r[0])}})});function Ytt(e,t){let r={type:"object",shape:e??{},...Ye.util.normalizeParams(t)};return new O.ZodObject(r)}function Qtt(e,t){return new O.ZodObject({type:"object",shape:e,catchall:fD(),...Ye.util.normalizeParams(t)})}function ert(e,t){return new O.ZodObject({type:"object",shape:e,catchall:oh(),...Ye.util.normalizeParams(t)})}O.ZodUnion=M.$constructor("ZodUnion",(e,t)=>{M.$ZodUnion.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.unionProcessor(e,r,n,i),e.options=t.options});function mD(e,t){return new O.ZodUnion({type:"union",options:e,...Ye.util.normalizeParams(t)})}O.ZodXor=M.$constructor("ZodXor",(e,t)=>{O.ZodUnion.init(e,t),M.$ZodXor.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.unionProcessor(e,r,n,i),e.options=t.options});function trt(e,t){return new O.ZodXor({type:"union",options:e,inclusive:!1,...Ye.util.normalizeParams(t)})}O.ZodDiscriminatedUnion=M.$constructor("ZodDiscriminatedUnion",(e,t)=>{O.ZodUnion.init(e,t),M.$ZodDiscriminatedUnion.init(e,t)});function rrt(e,t,r){return new O.ZodDiscriminatedUnion({type:"union",options:t,discriminator:e,...Ye.util.normalizeParams(r)})}O.ZodIntersection=M.$constructor("ZodIntersection",(e,t)=>{M.$ZodIntersection.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.intersectionProcessor(e,r,n,i)});function Mse(e,t){return new O.ZodIntersection({type:"intersection",left:e,right:t})}O.ZodTuple=M.$constructor("ZodTuple",(e,t)=>{M.$ZodTuple.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.tupleProcessor(e,r,n,i),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Rse(e,t,r){let n=t instanceof M.$ZodType,i=n?r:t,a=n?t:null;return new O.ZodTuple({type:"tuple",items:e,rest:a,...Ye.util.normalizeParams(i)})}O.ZodRecord=M.$constructor("ZodRecord",(e,t)=>{M.$ZodRecord.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.recordProcessor(e,r,n,i),e.keyType=t.keyType,e.valueType=t.valueType});function Fse(e,t,r){return!t||!t._zod?new O.ZodRecord({type:"record",keyType:bS(),valueType:e,...Ye.util.normalizeParams(t)}):new O.ZodRecord({type:"record",keyType:e,valueType:t,...Ye.util.normalizeParams(r)})}function nrt(e,t,r){let n=M.clone(e);return n._zod.values=void 0,new O.ZodRecord({type:"record",keyType:n,valueType:t,...Ye.util.normalizeParams(r)})}function irt(e,t,r){return new O.ZodRecord({type:"record",keyType:e,valueType:t,mode:"loose",...Ye.util.normalizeParams(r)})}O.ZodMap=M.$constructor("ZodMap",(e,t)=>{M.$ZodMap.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.mapProcessor(e,r,n,i),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(M._minSize(...r)),e.nonempty=r=>e.check(M._minSize(1,r)),e.max=(...r)=>e.check(M._maxSize(...r)),e.size=(...r)=>e.check(M._size(...r))});function art(e,t,r){return new O.ZodMap({type:"map",keyType:e,valueType:t,...Ye.util.normalizeParams(r)})}O.ZodSet=M.$constructor("ZodSet",(e,t)=>{M.$ZodSet.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.setProcessor(e,r,n,i),e.min=(...r)=>e.check(M._minSize(...r)),e.nonempty=r=>e.check(M._minSize(1,r)),e.max=(...r)=>e.check(M._maxSize(...r)),e.size=(...r)=>e.check(M._size(...r))});function ort(e,t){return new O.ZodSet({type:"set",valueType:e,...Ye.util.normalizeParams(t)})}O.ZodEnum=M.$constructor("ZodEnum",(e,t)=>{M.$ZodEnum.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(n,i,a)=>je.enumProcessor(e,n,i,a),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(n,i)=>{let a={};for(let o of n)if(r.has(o))a[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new O.ZodEnum({...t,checks:[],...Ye.util.normalizeParams(i),entries:a})},e.exclude=(n,i)=>{let a={...t.entries};for(let o of n)if(r.has(o))delete a[o];else throw new Error(`Key ${o} not found in enum`);return new O.ZodEnum({...t,checks:[],...Ye.util.normalizeParams(i),entries:a})}});function hD(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new O.ZodEnum({type:"enum",entries:r,...Ye.util.normalizeParams(t)})}function srt(e,t){return new O.ZodEnum({type:"enum",entries:e,...Ye.util.normalizeParams(t)})}O.ZodLiteral=M.$constructor("ZodLiteral",(e,t)=>{M.$ZodLiteral.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.literalProcessor(e,r,n,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function lrt(e,t){return new O.ZodLiteral({type:"literal",values:Array.isArray(e)?e:[e],...Ye.util.normalizeParams(t)})}O.ZodFile=M.$constructor("ZodFile",(e,t)=>{M.$ZodFile.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.fileProcessor(e,r,n,i),e.min=(r,n)=>e.check(M._minSize(r,n)),e.max=(r,n)=>e.check(M._maxSize(r,n)),e.mime=(r,n)=>e.check(M._mime(Array.isArray(r)?r:[r],n))});function crt(e){return M._file(O.ZodFile,e)}O.ZodTransform=M.$constructor("ZodTransform",(e,t)=>{M.$ZodTransform.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.transformProcessor(e,r,n,i),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new M.$ZodEncodeError(e.constructor.name);r.addIssue=a=>{if(typeof a=="string")r.issues.push(Ye.util.issue(a,r.value,t));else{let o=a;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=e),r.issues.push(Ye.util.issue(o))}};let i=t.transform(r.value,r);return i instanceof Promise?i.then(a=>(r.value=a,r.fallback=!0,r)):(r.value=i,r.fallback=!0,r)}});function gD(e){return new O.ZodTransform({type:"transform",transform:e})}O.ZodOptional=M.$constructor("ZodOptional",(e,t)=>{M.$ZodOptional.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.optionalProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function vS(e){return new O.ZodOptional({type:"optional",innerType:e})}O.ZodExactOptional=M.$constructor("ZodExactOptional",(e,t)=>{M.$ZodExactOptional.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.optionalProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function $se(e){return new O.ZodExactOptional({type:"optional",innerType:e})}O.ZodNullable=M.$constructor("ZodNullable",(e,t)=>{M.$ZodNullable.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.nullableProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function _S(e){return new O.ZodNullable({type:"nullable",innerType:e})}function urt(e){return vS(_S(e))}O.ZodDefault=M.$constructor("ZodDefault",(e,t)=>{M.$ZodDefault.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.defaultProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Use(e,t){return new O.ZodDefault({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Ye.util.shallowClone(t)}})}O.ZodPrefault=M.$constructor("ZodPrefault",(e,t)=>{M.$ZodPrefault.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.prefaultProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function zse(e,t){return new O.ZodPrefault({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Ye.util.shallowClone(t)}})}O.ZodNonOptional=M.$constructor("ZodNonOptional",(e,t)=>{M.$ZodNonOptional.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.nonoptionalProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function qse(e,t){return new O.ZodNonOptional({type:"nonoptional",innerType:e,...Ye.util.normalizeParams(t)})}O.ZodSuccess=M.$constructor("ZodSuccess",(e,t)=>{M.$ZodSuccess.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.successProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function drt(e){return new O.ZodSuccess({type:"success",innerType:e})}O.ZodCatch=M.$constructor("ZodCatch",(e,t)=>{M.$ZodCatch.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.catchProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Bse(e,t){return new O.ZodCatch({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}O.ZodNaN=M.$constructor("ZodNaN",(e,t)=>{M.$ZodNaN.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.nanProcessor(e,r,n,i)});function prt(e){return M._nan(O.ZodNaN,e)}O.ZodPipe=M.$constructor("ZodPipe",(e,t)=>{M.$ZodPipe.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.pipeProcessor(e,r,n,i),e.in=t.in,e.out=t.out});function pD(e,t){return new O.ZodPipe({type:"pipe",in:e,out:t})}O.ZodCodec=M.$constructor("ZodCodec",(e,t)=>{O.ZodPipe.init(e,t),M.$ZodCodec.init(e,t)});function frt(e,t,r){return new O.ZodCodec({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function mrt(e){let t=e._zod.def;return new O.ZodCodec({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}O.ZodPreprocess=M.$constructor("ZodPreprocess",(e,t)=>{O.ZodPipe.init(e,t),M.$ZodPreprocess.init(e,t)});O.ZodReadonly=M.$constructor("ZodReadonly",(e,t)=>{M.$ZodReadonly.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.readonlyProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function Vse(e){return new O.ZodReadonly({type:"readonly",innerType:e})}O.ZodTemplateLiteral=M.$constructor("ZodTemplateLiteral",(e,t)=>{M.$ZodTemplateLiteral.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.templateLiteralProcessor(e,r,n,i)});function hrt(e,t){return new O.ZodTemplateLiteral({type:"template_literal",parts:e,...Ye.util.normalizeParams(t)})}O.ZodLazy=M.$constructor("ZodLazy",(e,t)=>{M.$ZodLazy.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.lazyProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.getter()});function Wse(e){return new O.ZodLazy({type:"lazy",getter:e})}O.ZodPromise=M.$constructor("ZodPromise",(e,t)=>{M.$ZodPromise.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.promiseProcessor(e,r,n,i),e.unwrap=()=>e._zod.def.innerType});function grt(e){return new O.ZodPromise({type:"promise",innerType:e})}O.ZodFunction=M.$constructor("ZodFunction",(e,t)=>{M.$ZodFunction.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.functionProcessor(e,r,n,i)});function SS(e){return new O.ZodFunction({type:"function",input:Array.isArray(e?.input)?Rse(e?.input):e?.input??wS(oh()),output:e?.output??oh()})}O.ZodCustom=M.$constructor("ZodCustom",(e,t)=>{M.$ZodCustom.init(e,t),O.ZodType.init(e,t),e._zod.processJSONSchema=(r,n,i)=>je.customProcessor(e,r,n,i)});function yrt(e){let t=new M.$ZodCheck({check:"custom"});return t._zod.check=e,t}function brt(e,t){return M._custom(O.ZodCustom,e??(()=>!0),t)}function Zse(e,t={}){return M._refine(O.ZodCustom,e,t)}function Hse(e,t){return M._superRefine(e,t)}O.describe=M.describe;O.meta=M.meta;function vrt(e,t={}){let r=new O.ZodCustom({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...Ye.util.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}var _rt=(...e)=>M._stringbool({Codec:O.ZodCodec,Boolean:O.ZodBoolean,String:O.ZodString},...e);O.stringbool=_rt;function wrt(e){let t=Wse(()=>mD([bS(e),Nse(),jse(),Pse(),wS(t),Fse(bS(),t)]));return t}function Srt(e,t){return new O.ZodPreprocess({type:"pipe",in:gD(e),out:t})}});var Xse=h(Gr=>{"use strict";var Ert=Gr&&Gr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),xrt=Gr&&Gr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ort=Gr&&Gr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Ert(t,e,r);return xrt(t,e),t};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.ZodFirstPartyTypeKind=Gr.config=Gr.$brand=Gr.ZodIssueCode=void 0;Gr.setErrorMap=Crt;Gr.getErrorMap=Trt;var Jse=Ort(mi());Gr.ZodIssueCode={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"};var Kse=mi();Object.defineProperty(Gr,"$brand",{enumerable:!0,get:function(){return Kse.$brand}});Object.defineProperty(Gr,"config",{enumerable:!0,get:function(){return Kse.config}});function Crt(e){Jse.config({customError:e})}function Trt(){return Jse.config().customError}var Gse;Gse||(Gr.ZodFirstPartyTypeKind=Gse={})});var Qse=h(ac=>{"use strict";var Irt=ac&&ac.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Art=ac&&ac.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),yD=ac&&ac.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Irt(t,e,r);return Art(t,e),t};Object.defineProperty(ac,"__esModule",{value:!0});ac.fromJSONSchema=Rrt;var Drt=ty(),Lrt=yD(mS()),krt=yD(oy()),Nrt=yD(sy()),fe={...Nrt,...Lrt,iso:krt},jrt=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 Prt(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function Mrt(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===n){let i=r[1];if(!i||!t.defs[i])throw new Error(`Reference not found: ${e}`);return t.defs[i]}throw new Error(`Reference not found: ${e}`)}function Yse(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return fe.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let i=e.$ref;if(t.refs.has(i))return t.refs.get(i);if(t.processing.has(i))return fe.lazy(()=>{if(!t.refs.has(i))throw new Error(`Circular reference not resolved: ${i}`);return t.refs.get(i)});t.processing.add(i);let a=Mrt(i,t),o=In(a,t);return t.refs.set(i,o),t.processing.delete(i),o}if(e.enum!==void 0){let i=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&i.length===1&&i[0]===null)return fe.null();if(i.length===0)return fe.never();if(i.length===1)return fe.literal(i[0]);if(i.every(o=>typeof o=="string"))return fe.enum(i);let a=i.map(o=>fe.literal(o));return a.length<2?a[0]:fe.union([a[0],a[1],...a.slice(2)])}if(e.const!==void 0)return fe.literal(e.const);let r=e.type;if(Array.isArray(r)){let i=r.map(a=>{let o={...e,type:a};return Yse(o,t)});return i.length===0?fe.never():i.length===1?i[0]:fe.union(i)}if(!r)return fe.any();let n;switch(r){case"string":{let i=fe.string();if(e.format){let a=e.format;a==="email"?i=i.check(fe.email()):a==="uri"||a==="uri-reference"?i=i.check(fe.url()):a==="uuid"||a==="guid"?i=i.check(fe.uuid()):a==="date-time"?i=i.check(fe.iso.datetime()):a==="date"?i=i.check(fe.iso.date()):a==="time"?i=i.check(fe.iso.time()):a==="duration"?i=i.check(fe.iso.duration()):a==="ipv4"?i=i.check(fe.ipv4()):a==="ipv6"?i=i.check(fe.ipv6()):a==="mac"?i=i.check(fe.mac()):a==="cidr"?i=i.check(fe.cidrv4()):a==="cidr-v6"?i=i.check(fe.cidrv6()):a==="base64"?i=i.check(fe.base64()):a==="base64url"?i=i.check(fe.base64url()):a==="e164"?i=i.check(fe.e164()):a==="jwt"?i=i.check(fe.jwt()):a==="emoji"?i=i.check(fe.emoji()):a==="nanoid"?i=i.check(fe.nanoid()):a==="cuid"?i=i.check(fe.cuid()):a==="cuid2"?i=i.check(fe.cuid2()):a==="ulid"?i=i.check(fe.ulid()):a==="xid"?i=i.check(fe.xid()):a==="ksuid"&&(i=i.check(fe.ksuid()))}typeof e.minLength=="number"&&(i=i.min(e.minLength)),typeof e.maxLength=="number"&&(i=i.max(e.maxLength)),e.pattern&&(i=i.regex(new RegExp(e.pattern))),n=i;break}case"number":case"integer":{let i=r==="integer"?fe.number().int():fe.number();typeof e.minimum=="number"&&(i=i.min(e.minimum)),typeof e.maximum=="number"&&(i=i.max(e.maximum)),typeof e.exclusiveMinimum=="number"?i=i.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(i=i.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?i=i.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(i=i.lt(e.maximum)),typeof e.multipleOf=="number"&&(i=i.multipleOf(e.multipleOf)),n=i;break}case"boolean":{n=fe.boolean();break}case"null":{n=fe.null();break}case"object":{let i={},a=e.properties||{},o=new Set(e.required||[]);for(let[l,c]of Object.entries(a)){let u=In(c,t);i[l]=o.has(l)?u:u.optional()}if(e.propertyNames){let l=In(e.propertyNames,t),c=e.additionalProperties&&typeof e.additionalProperties=="object"?In(e.additionalProperties,t):fe.any();if(Object.keys(i).length===0){n=fe.record(l,c);break}let u=fe.object(i).passthrough(),d=fe.looseRecord(l,c);n=fe.intersection(u,d);break}if(e.patternProperties){let l=e.patternProperties,c=Object.keys(l),u=[];for(let f of c){let p=In(l[f],t),m=fe.string().regex(new RegExp(f));u.push(fe.looseRecord(m,p))}let d=[];if(Object.keys(i).length>0&&d.push(fe.object(i).passthrough()),d.push(...u),d.length===0)n=fe.object({}).passthrough();else if(d.length===1)n=d[0];else{let f=fe.intersection(d[0],d[1]);for(let p=2;p<d.length;p++)f=fe.intersection(f,d[p]);n=f}break}let s=fe.object(i);e.additionalProperties===!1?n=s.strict():typeof e.additionalProperties=="object"?n=s.catchall(In(e.additionalProperties,t)):n=s.passthrough();break}case"array":{let i=e.prefixItems,a=e.items;if(i&&Array.isArray(i)){let o=i.map(l=>In(l,t)),s=a&&typeof a=="object"&&!Array.isArray(a)?In(a,t):void 0;s?n=fe.tuple(o).rest(s):n=fe.tuple(o),typeof e.minItems=="number"&&(n=n.check(fe.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(fe.maxLength(e.maxItems)))}else if(Array.isArray(a)){let o=a.map(l=>In(l,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?In(e.additionalItems,t):void 0;s?n=fe.tuple(o).rest(s):n=fe.tuple(o),typeof e.minItems=="number"&&(n=n.check(fe.minLength(e.minItems))),typeof e.maxItems=="number"&&(n=n.check(fe.maxLength(e.maxItems)))}else if(a!==void 0){let o=In(a,t),s=fe.array(o);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),n=s}else n=fe.array(fe.any());break}default:throw new Error(`Unsupported type: ${r}`)}return n}function In(e,t){if(typeof e=="boolean")return e?fe.any():fe.never();let r=Yse(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>In(c,t)),l=fe.union(s);r=n?fe.intersection(r,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>In(c,t)),l=fe.xor(s);r=n?fe.intersection(r,l):l}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:fe.any();else{let s=n?r:In(e.allOf[0],t),l=n?0:1;for(let c=l;c<e.allOf.length;c++)s=fe.intersection(s,In(e.allOf[c],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=fe.nullable(r)),e.readOnly===!0&&(r=fe.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let i={},a=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of a)s in e&&(i[s]=e[s]);let o=["contentEncoding","contentMediaType","contentSchema"];for(let s of o)s in e&&(i[s]=e[s]);for(let s of Object.keys(e))jrt.has(s)||(i[s]=e[s]);return Object.keys(i).length>0&&t.registry.add(r,i),e.description&&(r=r.describe(e.description)),r}function Rrt(e,t){if(typeof e=="boolean")return e?fe.any():fe.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let n=Prt(r,t?.defaultTarget),i=r.$defs||r.definitions||{},a={version:n,defs:i,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Drt.globalRegistry};return In(r,a)}});var tle=h(Ki=>{"use strict";var Frt=Ki&&Ki.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),$rt=Ki&&Ki.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ele=Ki&&Ki.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Frt(t,e,r);return $rt(t,e),t};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.string=Urt;Ki.number=zrt;Ki.boolean=qrt;Ki.bigint=Brt;Ki.date=Vrt;var uy=ele(mi()),dy=ele(sy());function Urt(e){return uy._coercedString(dy.ZodString,e)}function zrt(e){return uy._coercedNumber(dy.ZodNumber,e)}function qrt(e){return uy._coercedBoolean(dy.ZodBoolean,e)}function Brt(e){return uy._coercedBigint(dy.ZodBigInt,e)}function Vrt(e){return uy._coercedDate(dy.ZodDate,e)}});var bD=h(ve=>{"use strict";var rle=ve&&ve.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Wrt=ve&&ve.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ES=ve&&ve.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&rle(t,e,r);return Wrt(t,e),t},py=ve&&ve.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&rle(t,e,r)},Zrt=ve&&ve.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ve,"__esModule",{value:!0});ve.coerce=ve.iso=ve.ZodISODuration=ve.ZodISOTime=ve.ZodISODate=ve.ZodISODateTime=ve.locales=ve.fromJSONSchema=ve.toJSONSchema=ve.NEVER=ve.util=ve.TimePrecision=ve.flattenError=ve.formatError=ve.prettifyError=ve.treeifyError=ve.regexes=ve.clone=ve.$brand=ve.$input=ve.$output=ve.config=ve.registry=ve.globalRegistry=ve.core=void 0;ve.core=ES(mi());py(sy(),ve);py(mS(),ve);py(lD(),ve);py(cD(),ve);py(Xse(),ve);var Hrt=mi(),Grt=Zrt(eD());(0,Hrt.config)((0,Grt.default)());var Kn=mi();Object.defineProperty(ve,"globalRegistry",{enumerable:!0,get:function(){return Kn.globalRegistry}});Object.defineProperty(ve,"registry",{enumerable:!0,get:function(){return Kn.registry}});Object.defineProperty(ve,"config",{enumerable:!0,get:function(){return Kn.config}});Object.defineProperty(ve,"$output",{enumerable:!0,get:function(){return Kn.$output}});Object.defineProperty(ve,"$input",{enumerable:!0,get:function(){return Kn.$input}});Object.defineProperty(ve,"$brand",{enumerable:!0,get:function(){return Kn.$brand}});Object.defineProperty(ve,"clone",{enumerable:!0,get:function(){return Kn.clone}});Object.defineProperty(ve,"regexes",{enumerable:!0,get:function(){return Kn.regexes}});Object.defineProperty(ve,"treeifyError",{enumerable:!0,get:function(){return Kn.treeifyError}});Object.defineProperty(ve,"prettifyError",{enumerable:!0,get:function(){return Kn.prettifyError}});Object.defineProperty(ve,"formatError",{enumerable:!0,get:function(){return Kn.formatError}});Object.defineProperty(ve,"flattenError",{enumerable:!0,get:function(){return Kn.flattenError}});Object.defineProperty(ve,"TimePrecision",{enumerable:!0,get:function(){return Kn.TimePrecision}});Object.defineProperty(ve,"util",{enumerable:!0,get:function(){return Kn.util}});Object.defineProperty(ve,"NEVER",{enumerable:!0,get:function(){return Kn.NEVER}});var Jrt=ay();Object.defineProperty(ve,"toJSONSchema",{enumerable:!0,get:function(){return Jrt.toJSONSchema}});var Krt=Qse();Object.defineProperty(ve,"fromJSONSchema",{enumerable:!0,get:function(){return Krt.fromJSONSchema}});ve.locales=ES(nD());var xS=oy();Object.defineProperty(ve,"ZodISODateTime",{enumerable:!0,get:function(){return xS.ZodISODateTime}});Object.defineProperty(ve,"ZodISODate",{enumerable:!0,get:function(){return xS.ZodISODate}});Object.defineProperty(ve,"ZodISOTime",{enumerable:!0,get:function(){return xS.ZodISOTime}});Object.defineProperty(ve,"ZodISODuration",{enumerable:!0,get:function(){return xS.ZodISODuration}});ve.iso=ES(oy());ve.coerce=ES(tle())});var il=h(hi=>{"use strict";var nle=hi&&hi.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Xrt=hi&&hi.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Yrt=hi&&hi.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&nle(t,e,r);return Xrt(t,e),t},Qrt=hi&&hi.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&nle(t,e,r)};Object.defineProperty(hi,"__esModule",{value:!0});hi.z=void 0;var ile=Yrt(bD());hi.z=ile;Qrt(bD(),hi);hi.default=ile});var ole=h(OS=>{"use strict";Object.defineProperty(OS,"__esModule",{value:!0});OS.PackageDirSchema=void 0;var De=il(),ent=De.z.object({package:De.z.string(),versionNumber:De.z.string().optional(),branch:De.z.string().optional()}).catchall(De.z.unknown()),ale=De.z.object({default:De.z.boolean().default(!0).optional().describe("If you have specified more than one path, include this parameter for the default path to indicate which is the default package directory."),path:De.z.string().meta({title:"Path"}).describe("If you don't specify a path, the Salesforce CLI uses a placeholder when you create a package.")}),tnt=ale,rnt=ale.extend({ancestorId:De.z.string().optional().meta({title:"Ancestor ID"}).describe("The ancestor that's the immediate parent of the version that you're creating. The package version ID to supply starts with '05i'."),ancestorVersion:De.z.string().optional().meta({title:"Ancestor Version"}).describe("The ancestor that's the immediate parent of the version that you're creating. The ancestor version uses the format major.minor.patch.build."),apexTestAccess:De.z.object({permissionSets:De.z.union([De.z.array(De.z.string()),De.z.string()]).meta({title:"Permission Sets"}).describe("The list of permission sets to enable while running Apex tests"),permissionSetLicenses:De.z.union([De.z.array(De.z.string()),De.z.string()]).meta({title:"Permission Set Licenses"}).describe("The list of permission sets licenses to enable while running Apex tests")}).optional().describe("Additional access that should be granted to the user when running package Apex tests"),definitionFile:De.z.string().optional().meta({title:"Definition File"}).describe("Reference an external .json file to specify the features and org preferences required for the metadata of your package, such as the scratch org definition."),dependencies:De.z.array(ent).optional().describe("To specify dependencies for 2GP within the same Dev Hub, use either the package version alias or a combination of the package name and the version number."),includeProfileUserLicenses:De.z.boolean().default(!1).optional().meta({title:"Include Profile User Licenses"}).describe("Whether to include <userLicense> elements in profile metadata. Defaults to false."),package:De.z.string().meta({title:"Package Identifier"}).describe("The package name you specified when creating the package."),packageMetadataAccess:De.z.object({permissionSets:De.z.union([De.z.string(),De.z.array(De.z.string())]).meta({title:"Permission Sets"}).describe("The list of permission sets to enable while deploying package metadata"),permissionSetLicenses:De.z.union([De.z.string(),De.z.array(De.z.string())]).meta({title:"Permission Set Licenses"}).describe("The list of permission set licenses to enable while deploying package metadata")}).optional().meta({title:"Package Metadata Access"}).describe("Additional access that should be granted to the user while deploying package metadata, available in Salesforce API version 61.0 and above"),postInstallScript:De.z.string().optional().meta({title:"Post Install Script"}).describe("The post install script."),postInstallUrl:De.z.string().optional().meta({title:"Post Install Url"}).describe("The post install url."),releaseNotesUrl:De.z.string().optional().meta({title:"Release Notes Url"}).describe("The release notes url."),scopeProfiles:De.z.boolean().default(!1).optional().meta({title:"Scope Profiles"}).describe("Determines whether to include profile settings from only the directory being packaged (true), or whether to include profile settings from all package directories (false). If not specified, the default is false."),uninstallScript:De.z.string().optional().meta({title:"Uninstall Script"}).describe("The uninstall script."),calculateTransitiveDependencies:De.z.boolean().default(!1).optional().meta({title:"Calculate Transitive Dependencies"}).describe("Set to true if only specifing direct package dependencies and the transitive (i.e., indirect) dependencies should be calculated by Salesforce."),versionDescription:De.z.string().optional().meta({title:"Version Description"}).describe("Human readable version information, format not specified."),versionName:De.z.string().optional().meta({title:"Version Name"}).describe("If not specified, the CLI uses versionNumber as the version name."),versionNumber:De.z.string().meta({title:"Version Number"}).describe("Version numbers are formatted as major.minor.patch.build. For example, 1.2.1.8. Required when package is specified."),unpackagedMetadata:De.z.object({path:De.z.string().meta({title:"Path"}).describe("The path name of the package directory containing the unpackaged metadata")}).optional().meta({title:"Unpackaged Metadata"}).describe("Metadata not meant to be packaged, but deployed when testing packaged metadata"),seedMetadata:De.z.object({path:De.z.string().meta({title:"Path"}).describe("The path name of the package directory containing the seed metadata")}).optional().meta({title:"Seed Metadata"}).describe("Metadata not meant to be packaged, but deployed before deploying packaged metadata"),functions:De.z.array(De.z.string()).optional().describe("@deprecated")});OS.PackageDirSchema=De.z.union([tnt.strict(),rnt.strict()])});var lle=h(CS=>{"use strict";Object.defineProperty(CS,"__esModule",{value:!0});CS.RegistryPresetsSchema=void 0;var sle=il();CS.RegistryPresetsSchema=sle.z.array(sle.z.string())});var dle=h(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});TS.MetadataRegistrySchema=void 0;var qe=il(),cle=qe.z.record(qe.z.string(),qe.z.string()),nnt=qe.z.record(qe.z.string(),qe.z.string()),int=qe.z.lazy(()=>qe.z.object({id:qe.z.string(),name:qe.z.string(),directoryName:qe.z.string(),suffix:qe.z.string().optional(),strictDirectoryName:qe.z.boolean().optional(),ignoreParsedFullName:qe.z.boolean().optional(),folderContentType:qe.z.string().optional(),folderType:qe.z.string().optional(),xmlElementName:qe.z.string().optional(),uniqueIdElement:qe.z.string().optional(),isAddressable:qe.z.boolean().optional(),unaddressableWithoutParent:qe.z.boolean().optional(),supportsWildcardAndName:qe.z.boolean().optional(),supportsPartialDelete:qe.z.boolean().optional(),aliasFor:qe.z.string().optional(),children:qe.z.object({types:ule,suffixes:cle,directories:nnt.optional()}).optional(),strategies:qe.z.object({adapter:qe.z.enum(["mixedContent","matchingContentFile","decomposed","bundle","default"]),transformer:qe.z.enum(["decomposed","staticResource","standard"]).optional(),decomposition:qe.z.enum(["topLevel","folderPerType"]).optional()}).optional()})),ule=qe.z.lazy(()=>qe.z.record(qe.z.string(),int));TS.MetadataRegistrySchema=qe.z.object({types:ule,suffixes:cle,strictDirectoryNames:qe.z.record(qe.z.string(),qe.z.string()),childTypes:qe.z.record(qe.z.string(),qe.z.string())})});var ple=h(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.ReplacementsSchema=void 0;var nt=il(),ant=nt.z.object({env:nt.z.string(),value:nt.z.string()}).strict(),ju=nt.z.object({replaceWhenEnv:nt.z.array(ant).optional()});IS.ReplacementsSchema=nt.z.union([ju.extend({filename:nt.z.string(),stringToReplace:nt.z.string(),replaceWithFile:nt.z.string()}).strict(),ju.extend({filename:nt.z.string(),stringToReplace:nt.z.string(),replaceWithEnv:nt.z.string(),allowUnsetEnvVariable:nt.z.boolean().optional()}).strict(),ju.extend({filename:nt.z.string(),regexToReplace:nt.z.string(),replaceWithFile:nt.z.string()}).strict(),ju.extend({filename:nt.z.string(),regexToReplace:nt.z.string(),replaceWithEnv:nt.z.string(),allowUnsetEnvVariable:nt.z.boolean().optional()}).strict(),ju.extend({glob:nt.z.string(),stringToReplace:nt.z.string(),replaceWithFile:nt.z.string()}).strict(),ju.extend({glob:nt.z.string(),stringToReplace:nt.z.string(),replaceWithEnv:nt.z.string(),allowUnsetEnvVariable:nt.z.boolean().optional()}).strict(),ju.extend({glob:nt.z.string(),regexToReplace:nt.z.string(),replaceWithFile:nt.z.string()}).strict(),ju.extend({glob:nt.z.string(),regexToReplace:nt.z.string(),replaceWithEnv:nt.z.string(),allowUnsetEnvVariable:nt.z.boolean().optional()}).strict()])});var fle=h(AS=>{"use strict";Object.defineProperty(AS,"__esModule",{value:!0});AS.BundleEntrySchema=void 0;var fy=il();AS.BundleEntrySchema=fy.z.object({name:fy.z.string().meta({title:"Bundle Name"}).describe("The name of the bundle."),versionName:fy.z.string().meta({title:"Version Name"}).describe("Human readable name for the version."),versionNumber:fy.z.string().regex(/^\d+\.\d+$/).meta({title:"Version Number"}).describe("The version number in the format major.minor (e.g., 1.0)."),versionDescription:fy.z.string().optional().meta({title:"Version Description"}).describe("Human readable version information, format not specified.")})});var vD=h(DS=>{"use strict";Object.defineProperty(DS,"__esModule",{value:!0});DS.ProjectJsonSchema=void 0;var Wt=il(),ont=ole(),mle=lle(),snt=dle(),lnt=ple(),cnt=fle();DS.ProjectJsonSchema=Wt.z.strictObject({name:Wt.z.string().optional().describe("The name of your Salesforce project."),packageDirectories:Wt.z.array(ont.PackageDirSchema).min(1).meta({title:"Package Directories"}).describe("Package directories indicate which directories to target when syncing source to and from the scratch org. These directories can contain source from your managed package, unmanaged package, or unpackaged source, for example, ant tool or change set."),namespace:Wt.z.string().optional().describe("A namespace is an alphanumeric identifier that distinguishes your package and its contents from other packages in your customer's org. For steps on how to register a namespace and link it to your Dev Hub org, see Create and Register Your Namespace for Second-Generation Managed Packages on developer.salesforce.com. If you're creating an unlocked package, you can create it without a namespace."),sourceApiVersion:Wt.z.string().default("48.0").optional().meta({title:"Source API Version"}).describe("The API version that the source is compatible with. By default it matches the API version."),defaultLwcLanguage:Wt.z.enum(["javascript","typescript"]).optional().meta({title:"Default LWC Language"}).describe('Default language for Lightning Web Components in this project. When set to "typescript", generates TypeScript configuration files and TypeScript-aware ESLint config. Defaults to "javascript" if not specified.'),sfdcLoginUrl:Wt.z.string().optional().meta({title:"SFDC Login URL"}).describe("The login URL that the force:auth commands use. If not specified, the default is login.salesforce.com. Override the default value if you want users to authorize to a specific Salesforce instance. For example, if you want to authorize into a sandbox org, set this parameter to test.salesforce.com."),signupTargetLoginUrl:Wt.z.string().optional().describe("The url that is used when creating new scratch orgs. This is typically only used for testing prerelease environments."),oauthLocalPort:Wt.z.number().default(1717).optional().describe("By default, the OAuth port is 1717. However, change this port if this port is already in use, and you plan to create a connected app in your Dev Hub org to support JWT-based authorization."),plugins:Wt.z.record(Wt.z.string(),Wt.z.unknown()).optional().meta({title:"CLI Plugins custom settings"}).describe("Salesforce CLI plugin configurations used with this project."),packageAliases:Wt.z.record(Wt.z.string(),Wt.z.string()).optional().meta({title:"Aliases for packaging ids"}).describe("The Salesforce CLI updates this file with the aliases when you create a package or package version. You can also manually update this section for existing packages or package versions. You can use the alias instead of the cryptic package ID when running CLI force:package commands."),packageBundles:Wt.z.array(cnt.BundleEntrySchema).optional().meta({title:"Package Bundles"}).describe("Package bundle entries for managing package bundles."),packageBundleAliases:Wt.z.record(Wt.z.string(),Wt.z.union([Wt.z.string(),Wt.z.array(Wt.z.string())])).optional().meta({title:"Package Bundle Aliases"}).describe("Aliases for package bundles."),registryPresets:mle.RegistryPresetsSchema.optional().meta({title:"Custom predefined presets for decomposing metadata types"}).describe("@deprecated use `sourceBehaviorOptions`. Filenames from https://github.com/forcedotcom/source-deploy-retrieve/tree/main/src/registry/presets"),sourceBehaviorOptions:mle.RegistryPresetsSchema.optional().meta({title:"Custom predefined presets for decomposing metadata types"}).describe("Filenames from https://github.com/forcedotcom/source-deploy-retrieve/tree/main/src/registry/presets"),registryCustomizations:snt.MetadataRegistrySchema.optional(),replacements:Wt.z.array(lnt.ReplacementsSchema).optional().meta({title:"Replacements for metadata that are executed during deployments"}).describe("The Salesforce CLI will conditionally replace portions of your metadata during a deployment"),pushPackageDirectoriesSequentially:Wt.z.boolean().optional().describe("@deprecated only works with deprecated commands. See https://github.com/forcedotcom/cli/discussions/2402")})});var gle=h(LS=>{"use strict";Object.defineProperty(LS,"__esModule",{value:!0});LS.ensureNoUppercaseKeys=void 0;var unt=require("node:assert"),dnt=Ke(),pnt=bt(),fnt=new pnt.Messages("@salesforce/core","core",new Map([["authInfoCreationError","Must pass a username and/or OAuth options when creating an AuthInfo instance."],["authInfoOverwriteError","Cannot create an AuthInfo instance that will overwrite existing auth data."],["authInfoOverwriteError.actions",["Create the AuthInfo instance using existing auth data by just passing the username. E.g., `AuthInfo.create({ username: 'my@user.org' });`."]],["authCodeExchangeError","Error authenticating with auth code due to: %s"],["authCodeUsernameRetrievalError",`Could not retrieve the username after successful auth code exchange.
|
||
|
||
Due to: %s`],["jwtAuthError","Error authenticating with JWT config due to: %s"],["jwtAuthErrors",`Error authenticating with JWT.
|
||
Errors encountered:
|
||
%s`],["refreshTokenAuthError","Error authenticating with the refresh token due to: %s"],["invalidSfdxAuthUrlError",`Invalid SFDX authorization URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the "instanceUrl" inside the SFDX authorization URL doesn\\'t include the protocol ("https://"). Run "org display --target-org" on an org to see an example of an SFDX authorization URL.`],["orgDataNotAvailableError","An attempt to refresh the authentication token failed with a 'Data Not Found Error'. The org identified by username %s does not appear to exist. Likely cause is that the org was deleted by another user or has expired."],["orgDataNotAvailableError.actions",["Run `sfdx force:org:list --clean` to remove stale org authentications.","Use `sfdx force:config:set` to update the defaultusername.","Use `sfdx force:org:create` to create a new org.","Use `sfdx auth` to authenticate an existing org."]],["namedOrgNotFound","No authorization information found for %s."],["noAliasesFound","Nothing to set."],["invalidFormat","Setting aliases must be in the format <key>=<value> but found: [%s]."],["invalidJsonCasing",'All JSON input must have heads down camelcase keys. E.g., `{ sfdcLoginUrl: "https://login.salesforce.com" }`\nFound "%s" at %s'],["missingClientId","Client ID is required for JWT authentication."]])),mnt=e=>(t=[])=>r=>{let n=hle(r,t),i=n.filter(a=>/^[A-Z]/.test(a)).join(", ");return unt.strict.strictEqual(i.length,0,fnt.getMessage("invalidJsonCasing",[i,e])),n};LS.ensureNoUppercaseKeys=mnt;var hle=(e,t)=>Object.entries(e).filter(([r])=>!t.includes(r)).flatMap(([r,n])=>(0,dnt.isJsonMap)(n)?[r,...hle(n,t)]:[r])});var my=h(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.isNamedPackagingDirectory=gi.isPackagingDirectory=gi.SfProject=gi.SfProjectJson=void 0;var al=require("node:path"),wD=He(),hnt=Ke(),yle=vD(),gnt=Rr(),ynt=ec(),bnt=rc(),ble=nu(),SD=NE(),_D=wt(),vnt=bt(),_nt=gle(),vle=sn(),Fa=new vnt.Messages("@salesforce/core","config",new Map([["unknownConfigKey","Unknown config name: %s."],["deprecatedConfigKey","Deprecated config name: %s. Please use %s instead."],["invalidWrite","The writeSync method is not allowed on SfdxConfig. Use the async write method instead."],["invalidConfigValue","Invalid config value: %s."],["invalidInstanceUrl","Specify a valid Salesforce instance URL."],["invalidApiVersion","Specify a valid Salesforce API version, for example, 42.0."],["invalidCustomOrgMetadataTemplates","Specify a valid repository URL or directory for the custom org metadata templates."],["invalidIsvDebuggerSid","Specify a valid Debugger SID."],["invalidIsvDebuggerUrl","Specify a valid Debugger URL."],["invalidNumberConfigValue","Specify a valid positive integer, for example, 150000."],["invalidBooleanConfigValue","The config value can only be set to true or false."],["invalidProjectWorkspace","%s does not contain a valid Salesforce DX project."],["schemaValidationError",`The config file "%s" is not schema valid.
|
||
Due to: %s`],["schemaValidationError.actions",["Fix the invalid entries at %s."]],["missingDefaultPath",'In sfdx-project.json, be sure to specify which package directory (path) is the default. Example: `[{ "path": "packageDirectory1", "default": true }, { "path": "packageDirectory2" }]`'],["missingPackageDirectory",'The path "%s", specified in sfdx-project.json, does not exist. Be sure this directory is included in your project root.'],["invalidPackageDirectory",'The path "%s", specified in sfdx-project.json, must be indicated as a relative path to the project root.'],["multipleDefaultPaths","In sfdx-project.json, indicate only one package directory (path) as the default."],["singleNonDefaultPackage",'The sfdx-project.json file must include one, and only one, default package directory (path). Because your sfdx-project.json file contains only one package directory, it must be the default. Remove the `"default": false` key and try again.'],["target-org","Username or alias of the org that all commands run against by default. (sf only)"],["target-dev-hub","Username or alias of your default Dev Hub org. (sf only)"],["defaultUsername","Username or alias of the org that all commands run against by default. (sfdx only)"],["defaultDevHubUsername","Username or alias of your default Dev Hub org. (sfdx only)"],["isvDebuggerSid","ISV debugger SID (sfdx only)"],["isvDebuggerUrl","ISV debugger URL (sfdx only)"],["org-isv-debugger-sid","ISV debugger SID."],["org-isv-debugger-url","ISV debugger URL."],["apiVersion","API version of your project. Default: API version of your Dev Hub org. (sfdx only)"],["org-api-version","API version of your project. Default: API version of your Dev Hub org."],["disableTelemetry","Disables the collection of usage and user environment information, etc. Default: false. (sfdx only)"],["disable-telemetry","Disables the collection of usage and user environment information, etc. Default: false."],["maxQueryLimit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000. (sfdx only)"],["org-max-query-limit","Maximum number of Salesforce records returned by a CLI command. Default: 10,000."],["restDeploy","Whether deployments use the Metadata REST API (true) or SOAP API (false, default value). (sfdx only)"],["instanceUrl","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com. (sfdx only)"],["org-instance-url","URL of the Salesforce instance hosting your org. Default: https://login.salesforce.com."],["customOrgMetadataTemplates","A valid repository URL or directory for the custom org metadata templates."],["org-custom-metadata-templates","A valid repository URL or directory for the custom org metadata templates."],["org-capitalize-record-types","Whether record types are capitalized on scratch org creation."],["invalidId","The given id %s is not a valid 15 or 18 character Salesforce ID."]])),oc=class e extends ble.ConfigFile{static BLOCKLIST=["packageAliases","plugins","packageBundleAliases"];static getFileName(){return SD.SFDX_PROJECT_JSON}static getDefaultOptions(t=!1){let r=ble.ConfigFile.getDefaultOptions(t,e.getFileName());return r.isState=!1,r}async read(){let t=await super.read();return this.validateKeys(),t}refreshSync(){return super.readSync(!1,!0),this}readSync(){let t=super.readSync();return this.validateKeys(),t}async write(){return this.validateKeys(),super.write()}writeSync(){return this.validateKeys(),super.writeSync()}getDefaultOptions(t){return{isState:!1,...t??{}}}async schemaValidate(){this.hasRead||await this.read();let t=yle.ProjectJsonSchema.safeParse(this.getContents());if(!t.success){let r=t.error.issues.map(i=>`${i.path.join(".")}: ${i.message}`).join(`
|
||
`),n=Fa.getMessage("schemaValidationError",[this.getPath(),r]);if(wD.env.getBoolean("SFDX_PROJECT_JSON_VALIDATION",!1)&&!this.options.isGlobal)throw Fa.createError("schemaValidationError",[this.getPath(),r],[this.getPath()]);await vle.Lifecycle.getInstance().emitWarning(n)}}async getPackageDirectories(){return this.getPackageDirectoriesSync()}schemaValidateSync(){this.hasRead||this.readSync();let t=yle.ProjectJsonSchema.safeParse(this.getContents());if(!t.success){let r=t.error.issues.map(i=>`${i.path.join(".")}: ${i.message}`).join(`
|
||
`),n=Fa.getMessage("schemaValidationError",[this.getPath(),r]);if(wD.env.getBoolean("SFDX_PROJECT_JSON_VALIDATION",!1)&&!this.options.isGlobal)throw Fa.createError("schemaValidationError",[this.getPath(),r],[this.getPath()]);vle.Lifecycle.getInstance().emitWarning(n)}}getPackageDirectoriesSync(){let r=(this.getContents().packageDirectories||[]).map(i=>{if((0,al.isAbsolute)(i.path))throw Fa.createError("invalidPackageDirectory",[i.path]);let a=al.sep==="/"?/\\/g:/\//g,o=i.path.replace(a,al.sep),s=(0,al.normalize)(o).replace(new RegExp(`\\${al.sep}$`),""),l=`${(0,al.dirname)(this.getPath())}${al.sep}${s}${al.sep}`;if(!this.doesPackageExist(l))throw Fa.createError("missingPackageDirectory",[i.path]);return Object.assign({},i,{name:s,path:o,fullPath:l})});if(r.length===1){if(r[0].default===!1)throw Fa.createError("singleNonDefaultPackage");r[0].default=!0}let n=r.filter(i=>i.default);if(n.length===0&&!this.isGlobal())throw Fa.createError("missingDefaultPath");if(n.length>1)throw Fa.createError("multipleDefaultPaths");return r}getUniquePackageDirectories(){let t=new Set,r=[];return this.getPackageDirectoriesSync().forEach(n=>{t.has(n.name)||(t.add(n.name),r.push(n))}),r}getUniquePackageNames(){return this.getUniquePackageDirectories().map(t=>t.name)}hasPackages(){return this.getContents()?.packageDirectories?.length>0}hasMultiplePackages(){return this.getContents()?.packageDirectories?.length>1}hasMultiplePackageBundles(){return(this.getContents()?.packageBundles?.length??0)>1}async hasPackageAliases(){return Object.keys(this.getContents().packageAliases??{}).length>0}getPackageAliases(){return this.getContents().packageAliases}addPackageAlias(t,r){if(!/^.{15,18}$/.test(r))throw Fa.createError("invalidId",[r]);let n={...this.getContents().packageAliases??{},[t]:r};this.contents.set("packageAliases",n)}addPackageDirectory(t){let r=this.getContents().packageDirectories.findIndex(Ent(t)),n=Object.assign({},r>-1?this.getContents().packageDirectories[r]:t,t),i=r>-1?this.getContents().packageDirectories.map((a,o)=>o===r?t:a):[...this.getContents()?.packageDirectories??[],n];this.set("packageDirectories",i)}getPackageBundles(){return this.get("packageBundles")??[]}addPackageBundle(t){let r=this.getPackageBundles(),n=r.findIndex(o=>o.name===t.name),i={...n>-1?r[n]:t,...t},a=n>-1?r.map(o=>o.name===t.name?i:o):[...r,i];this.set("packageBundles",a)}hasPackageBundleAliases(){return Object.keys(this.getContents().packageBundleAliases??{}).length>0}getPackageBundleAliases(){return this.get("packageBundleAliases")}addPackageBundleAlias(t,r){let n={...this.get("packageBundleAliases")??{},[t]:r};this.set("packageBundleAliases",n)}doesPackageExist(t){return gnt.fs.existsSync(t)}validateKeys(){(0,_nt.ensureNoUppercaseKeys)(this.getPath())(e.BLOCKLIST)(this.toObject())}};gi.SfProjectJson=oc;var ED=class e{path;static instances=new Map;projectConfig;sfProjectJson;sfProjectJsonGlobal;packageDirectories;activePackage;packageAliases;packageBundleAliases;constructor(t){this.path=t}static clearInstances(){e.instances.clear()}static async resolve(t){let r=await this.resolveProjectPath(t??process.cwd());return this.getMemoizedInstance(r)}static getInstance(t){let r=this.resolveProjectPathSync(t??process.cwd());return this.getMemoizedInstance(r)}static async resolveProjectPath(t){return(0,SD.resolveProjectPath)(t)}static resolveProjectPathSync(t){return(0,SD.resolveProjectPathSync)(t)}static getMemoizedInstance(t){if(!e.instances.has(t)){let r=new e(t);e.instances.set(t,r)}return(0,hnt.ensure)(e.instances.get(t))}getPath(){return this.path}async retrieveSfProjectJson(t=!1){let r=oc.getDefaultOptions(t);return t?(this.sfProjectJsonGlobal||(this.sfProjectJsonGlobal=await oc.create(r)),this.sfProjectJsonGlobal):(r.rootFolder=this.getPath(),this.sfProjectJson||(this.sfProjectJson=await oc.create(r)),this.sfProjectJson)}getSfProjectJson(t=!1){let r=oc.getDefaultOptions(t);return t?(this.sfProjectJsonGlobal||(this.sfProjectJsonGlobal=new oc(r),this.sfProjectJsonGlobal.readSync()),this.sfProjectJsonGlobal):(r.rootFolder=this.getPath(),this.sfProjectJson||(this.sfProjectJson=new oc(r),this.sfProjectJson.readSync()),this.sfProjectJson)}getPackageDirectories(){return this.packageDirectories||(this.packageDirectories=this.getSfProjectJson().getPackageDirectoriesSync()),this.packageDirectories}getUniquePackageDirectories(){return this.getSfProjectJson().getUniquePackageDirectories()}getUniquePackageNames(){return this.getSfProjectJson().getUniquePackageNames()}getPackageFromPath(t){let r=this.getPackageDirectories(),n=(0,al.resolve)(t);return r.find(a=>{let o=a.fullPath.replace(/(\\|\/)$/,"");return(0,al.basename)(t)===a.path||n===o||n.includes(a.fullPath)})}getPackageNameFromPath(t){let r=this.getPackageFromPath(t);if(r)return(0,gi.isNamedPackagingDirectory)(r)?r.package:r.path}getPackage(t){return this.getPackageDirectories().find(n=>n.name===t)}findPackage(t){return this.getPackageDirectories().find(t)}getPackagePath(t){return this.getPackage(t)?.fullPath}hasPackages(){return this.getSfProjectJson().hasPackages()}hasMultiplePackages(){return this.getSfProjectJson().hasMultiplePackages()}hasMultiplePackageBundles(){return this.getSfProjectJson().hasMultiplePackageBundles()}getActivePackage(){return this.activePackage}setActivePackage(t){t==null?this.activePackage=null:this.activePackage=this.getPackage(t)}getDefaultPackage(){if(!this.hasPackages())throw new _D.SfError("The sfdx-project.json does not have any packageDirectories defined.","NoPackageDirectories",[`Check ${this.getPath()} for packageDirectories.`]);return this.findPackage(r=>r.default===!0)??this.getPackageDirectories()[0]}async resolveProjectConfig(){if(!this.projectConfig){let[t,r,n]=await Promise.all([this.retrieveSfProjectJson(!0),this.retrieveSfProjectJson(),bnt.ConfigAggregator.create()]);await Promise.all([t.read(),r.read()]),this.projectConfig=(0,wD.defaults)(r.toObject(),t.toObject()),Object.assign(this.projectConfig,n.getConfig()),this.projectConfig.sfdcLoginUrl||(this.projectConfig.sfdcLoginUrl=n.getConfig()["org-instance-url"]??ynt.SfdcUrl.PRODUCTION),process.env.FORCE_SFDC_LOGIN_URL&&(this.projectConfig.sfdcLoginUrl=process.env.FORCE_SFDC_LOGIN_URL),process.env.SFDX_SCRATCH_ORG_CREATION_LOGIN_URL&&(this.projectConfig.signupTargetLoginUrl=process.env.SFDX_SCRATCH_ORG_CREATION_LOGIN_URL)}return this.projectConfig}async hasPackageAliases(){return this.getSfProjectJson().hasPackageAliases()}getPackageAliases(){return this.packageAliases||(this.packageAliases=this.getSfProjectJson().getPackageAliases()),this.packageAliases}getPackageIdFromAlias(t){let r=this.getPackageAliases();return r?r[t]:void 0}getAliasesFromPackageId(t){if(!/^.{15,18}$/.test(t))throw Fa.createError("invalidId",[t]);return Object.entries(this.getPackageAliases()??{}).filter(([,r])=>r?.startsWith(t)).map(([r])=>r)}getPackageBundleAliases(){return this.packageBundleAliases||(this.packageBundleAliases=this.getSfProjectJson().getPackageBundleAliases()),this.packageBundleAliases}getPackageBundleIdFromAlias(t){let r=this.getPackageBundleAliases();return r?r[t]:void 0}getAliasesFromPackageBundleId(t){if(!/^.{15,18}$/.test(t))throw Fa.createError("invalidId",[t]);return Object.entries(this.getPackageBundleAliases()??{}).filter(([,r])=>r?.startsWith(t)).map(([r])=>r)}async getPluginConfiguration(t){await this.retrieveSfProjectJson();let r=this.sfProjectJson.get("plugins");if(!r)throw new _D.SfError("No plugins defined in sfdx-project.json","NoPluginsDefined");if(!r[t])throw new _D.SfError(`No configuration defined in sfdx-project.json for plugin ${t}`,"PluginNotFound");return r[t]}async setPluginConfiguration(t,r){await this.retrieveSfProjectJson();let i={...this.getSfProjectJson().get("plugins")??{},[t]:r};this.sfProjectJson.set("plugins",i),this.sfProjectJson.writeSync()}};gi.SfProject=ED;var wnt=e=>_le(e);gi.isPackagingDirectory=wnt;var Snt=e=>_le(e);gi.isNamedPackagingDirectory=Snt;var _le=e=>"package"in e&&typeof e.package=="string",Ent=e=>t=>t.path===e.path&&!("id"in t)&&!(0,gi.isPackagingDirectory)(t)||(0,gi.isPackagingDirectory)(e)&&(0,gi.isPackagingDirectory)(t)&&e.package===t.package});var NS=h(Xn=>{"use strict";var xnt=Xn&&Xn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ont=Xn&&Xn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Cnt=Xn&&Xn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xnt(t,e,r);return Ont(t,e),t};Object.defineProperty(Xn,"__esModule",{value:!0});Xn.WebServer=Xn.WebOAuthServer=Xn.DEFAULT_CODE_BUILDER_REDIRECT_URI=void 0;var Tnt=Cnt(require("node:http")),Int=require("node:querystring"),wle=require("node:url"),Ant=require("node:net"),Dnt=require("node:events"),Lnt=T6(),Mu=He(),hy=Ke(),Sle=yt(),Pu=sc(),Ep=wt(),knt=bt(),Nnt=my(),Xi=new knt.Messages("@salesforce/core","auth",new Map([["targetOrgNotSet","A default user is not set."],["targetOrgNotSet.actions",['Run the "sfdx auth" commands with --setdefaultusername to connect to an org and set it as your default org.','Run "force:org:create" with --setdefaultusername to create a scratch org and set it as your default org.','Run "sfdx config:set defaultusername=<username>" to set your default username.']],["portInUse","Cannot start the OAuth redirect server on port %s."],["portInUse.actions",["Kill the process running on port %s or use a custom connected app and update OauthLocalPort in the sfdx-project.json file."]],["invalidRequestMethod","Invalid request method: %s"],["invalidRequestUri","Invalid request uri: %s"],["warn.invalidClientId","Code Builder web authentication is only supported with the Code Builder connected app. Ignoring client ID: %s"],["error.invalidCodeBuilderState","Invalid authentication state."],["error.HttpApi","HTTP response contains html content. Check that the org exists and can be reached."],["pollingTimeout","The device authorization request timed out. After executing force:auth:device:login, you must approve access to the device within 10 minutes. This can happen if the URL wasn't copied into the browser, login was not attempted, or the 2FA process was not completed within 10 minutes. Request authorization again."],["authTimeout","The authentication session timed out. Please try again."],["error.missingWebOauthServer.options","You must specify both an `clientApp` and `username` if you intend the server to link a connected app to a user."],["serverErrorHTMLResponse",'<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 370px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 370px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">%s</div><div id="message">%s<br/><br/>This is most likely <b>not</b> an error with the Salesforce CLI. Please ensure all information is accurate and try again.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>'],["missingAuthCode","No authentication code found on login response."],["serverSuccessHTMLResponse",`<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 300px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 300px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">Authentication Successful</div><div id="message">You've successfully logged in. You can now close this browser tab or window.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>`],["serverSfdcImage","PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNjIgMTg0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNjIgMTg0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzAwQTFFMDt9Cgkuc3Qxe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+Cjx0aXRsZT5sb2dvLXNhbGVzZm9yY2U8L3RpdGxlPgo8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KPGcgaWQ9IlRlc3QtQiI+Cgk8ZyBpZD0iTW9iaWxlLU5hdi0tLVRlc3QtQi1feDI4XzBfeDI5XyI+CgkJPGcgaWQ9Ikdyb3VwIj4KCQkJPGcgaWQ9ImxvZ28tc2FsZXNmb3JjZSI+CgkJCQk8cGF0aCBpZD0iRmlsbC0xIiBjbGFzcz0ic3QwIiBkPSJNMTA5LjIsMjAuOWM4LjQtOC43LDIwLjEtMTQuMiwzMy0xNC4yYzE3LjIsMCwzMi4xLDkuNiw0MC4xLDIzLjhjNi45LTMuMSwxNC42LTQuOCwyMi43LTQuOAoJCQkJCWMzMSwwLDU2LDI1LjMsNTYsNTYuNXMtMjUuMSw1Ni41LTU2LDU2LjVjLTMuOCwwLTcuNS0wLjQtMTEtMS4xYy03LDEyLjUtMjAuNCwyMS0zNS44LDIxYy02LjQsMC0xMi41LTEuNS0xNy45LTQuMQoJCQkJCWMtNy4xLDE2LjctMjMuNywyOC41LTQzLDI4LjVjLTIwLjEsMC0zNy4zLTEyLjctNDMuOS0zMC42Yy0yLjksMC42LTUuOSwwLjktOC45LDAuOWMtMjQsMC00My40LTE5LjYtNDMuNC00My45CgkJCQkJYzAtMTYuMiw4LjctMzAuNCwyMS43LTM4Yy0yLjctNi4xLTQuMi0xMi45LTQuMi0yMC4xQzE4LjUsMjMuNiw0MS4yLDEsNjksMUM4NS40LDEsMTAwLDguOCwxMDkuMiwyMC45Ii8+CgkJCQk8cGF0aCBpZD0iQ29tYmluZWQtU2hhcGUiIGNsYXNzPSJzdDEiIGQ9Ik0zOC43LDk1LjRsMS4xLTIuOWMwLjItMC41LDAuNS0wLjMsMC43LTAuMmMwLjMsMC4yLDAuNSwwLjMsMC45LDAuNmMzLjEsMiw2LDIsNi45LDIKCQkJCQljMi4zLDAsMy44LTEuMiwzLjgtMi45di0wLjFjMC0xLjgtMi4yLTIuNS00LjgtMy4zbC0wLjYtMC4yYy0zLjUtMS03LjMtMi41LTcuMy02Ljl2LTAuMWMwLTQuMiwzLjQtNy4yLDguMy03LjJsMC41LDAKCQkJCQljMi45LDAsNS42LDAuOCw3LjYsMi4xYzAuMiwwLjEsMC40LDAuMywwLjMsMC42Yy0wLjEsMC4zLTEsMi42LTEuMSwyLjljLTAuMiwwLjUtMC43LDAuMi0wLjcsMC4yYy0xLjgtMS00LjUtMS43LTYuOC0xLjcKCQkJCQljLTIuMSwwLTMuNCwxLjEtMy40LDIuNnYwLjFjMCwxLjcsMi4zLDIuNSw0LjksMy4zbDAuNSwwLjFjMy41LDEuMSw3LjIsMi42LDcuMiw2Ljl2MC4xYzAsNC42LTMuMyw3LjQtOC42LDcuNAoJCQkJCWMtMi42LDAtNS4xLTAuNC03LjgtMS44Yy0wLjUtMC4zLTEtMC41LTEuNS0wLjlDMzguNyw5NS45LDM4LjUsOTUuOCwzOC43LDk1LjR6IE0xMTYuNyw5NS40bDEuMS0yLjljMC4yLTAuNSwwLjYtMC4zLDAuNy0wLjIKCQkJCQljMC4zLDAuMiwwLjUsMC4zLDAuOSwwLjZjMy4xLDIsNiwyLDYuOSwyYzIuMywwLDMuOC0xLjIsMy44LTIuOXYtMC4xYzAtMS44LTIuMi0yLjUtNC44LTMuM2wtMC42LTAuMmMtMy41LTEtNy4zLTIuNS03LjMtNi45CgkJCQkJdi0wLjFjMC00LjIsMy40LTcuMiw4LjMtNy4ybDAuNSwwYzIuOSwwLDUuNiwwLjgsNy42LDIuMWMwLjIsMC4xLDAuNCwwLjMsMC4zLDAuNmMtMC4xLDAuMy0xLDIuNi0xLjEsMi45CgkJCQkJYy0wLjIsMC41LTAuNywwLjItMC43LDAuMmMtMS44LTEtNC41LTEuNy02LjgtMS43Yy0yLjEsMC0zLjQsMS4xLTMuNCwyLjZ2MC4xYzAsMS43LDIuMywyLjUsNC45LDMuM2wwLjUsMC4xCgkJCQkJYzMuNSwxLjEsNy4yLDIuNiw3LjIsNi45djAuMWMwLDQuNi0zLjMsNy40LTguNiw3LjRjLTIuNiwwLTUuMS0wLjQtNy44LTEuOGMtMC41LTAuMy0xLTAuNS0xLjUtMC45CgkJCQkJQzExNi44LDk1LjksMTE2LjYsOTUuOCwxMTYuNyw5NS40eiBNMTc0LjUsODEuN2MwLjQsMS41LDAuNywzLjEsMC43LDQuOHMtMC4yLDMuMy0wLjcsNC44Yy0wLjQsMS41LTEuMSwyLjgtMiwzLjkKCQkJCQljLTAuOSwxLjEtMi4xLDItMy40LDIuNmMtMS40LDAuNi0zLDAuOS00LjgsMC45Yy0xLjgsMC0zLjQtMC4zLTQuOC0wLjljLTEuNC0wLjYtMi41LTEuNS0zLjQtMi42Yy0wLjktMS4xLTEuNi0yLjQtMi0zLjkKCQkJCQljLTAuNC0xLjUtMC43LTMuMS0wLjctNC44YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjQtMS41LDEuMS0yLjgsMi0zLjljMC45LTEuMSwyLjEtMiwzLjQtMi42YzEuNC0wLjYsMy0xLDQuOC0xCgkJCQkJYzEuOCwwLDMuNCwwLjMsNC44LDFjMS40LDAuNiwyLjUsMS41LDMuNCwyLjZDMTczLjQsNzguOSwxNzQuMSw4MC4yLDE3NC41LDgxLjd6IE0xNzAsODYuNGMwLTIuNi0wLjUtNC42LTEuNC02CgkJCQkJYy0wLjktMS40LTIuNC0yLjEtNC4zLTIuMWMtMiwwLTMuNCwwLjctNC4zLDIuMWMtMC45LDEuNC0xLjQsMy40LTEuNCw2YzAsMi42LDAuNSw0LjYsMS40LDYuMWMwLjksMS40LDIuMywyLjEsNC4zLDIuMQoJCQkJCWMyLDAsMy40LTAuNyw0LjMtMi4xQzE2OS42LDkxLjEsMTcwLDg5LDE3MCw4Ni40eiBNMjExLjEsOTMuOWwxLjEsM2MwLjEsMC40LTAuMiwwLjUtMC4yLDAuNWMtMS43LDAuNy00LDEuMS02LjMsMS4xCgkJCQkJYy0zLjksMC02LjgtMS4xLTguOC0zLjNjLTItMi4yLTMtNS4yLTMtOC45YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjUtMS41LDEuMi0yLjgsMi4yLTMuOWMxLTEuMSwyLjItMiwzLjYtMi42CgkJCQkJYzEuNC0wLjYsMy4xLTEsNS0xYzEuMywwLDIuNCwwLjEsMy4zLDAuMmMxLDAuMiwyLjQsMC41LDMsMC44YzAuMSwwLDAuNCwwLjIsMC4zLDAuNWMtMC40LDEuMi0wLjcsMi0xLjEsMwoJCQkJCWMtMC4yLDAuNS0wLjUsMC4zLTAuNSwwLjNjLTEuNS0wLjUtMi45LTAuNy00LjctMC43Yy0yLjIsMC0zLjksMC43LTQuOSwyLjJjLTEuMSwxLjQtMS43LDMuMy0xLjcsNS45YzAsMi44LDAuNyw0LjgsMS45LDYuMQoJCQkJCWMxLjIsMS4zLDIuOSwxLjksNS4xLDEuOWMwLjksMCwxLjctMC4xLDIuNC0wLjJjMC43LTAuMSwxLjQtMC4zLDIuMS0wLjZDMjEwLjUsOTMuNiwyMTAuOSw5My41LDIxMS4xLDkzLjl6IE0yMzMuOCw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC40LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzIzMi41LDc3LjksMjMzLjQsNzkuNCwyMzMuOCw4MC44eiBNMjE4LjgsODRoMTAuNwoJCQkJCWMtMC4xLTEuNC0wLjQtMi42LTEtMy42Yy0wLjktMS40LTIuMi0yLjItNC4yLTIuMmMtMiwwLTMuNCwwLjgtNC4zLDIuMkMyMTkuNCw4MS4zLDIxOS4xLDgyLjUsMjE4LjgsODR6IE0xMTMuMSw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC41LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzExMS44LDc3LjksMTEyLjgsNzkuNCwxMTMuMSw4MC44eiBNOTguMSw4NGgxMC44CgkJCQkJYy0wLjEtMS40LTAuNC0yLjYtMS0zLjZjLTAuOS0xLjQtMi4yLTIuMi00LjItMi4yYy0yLDAtMy40LDAuOC00LjMsMi4yQzk4LjcsODEuMyw5OC40LDgyLjUsOTguMSw4NHogTTcxLjYsODMuMgoJCQkJCWMwLDAsMS4yLDAuMSwyLjUsMC4zdi0wLjZjMC0yLTAuNC0zLTEuMi0zLjZjLTAuOC0wLjYtMi4xLTEtMy43LTFjMCwwLTMuNywwLTYuNiwxLjVjLTAuMSwwLjEtMC4yLDAuMS0wLjIsMC4xCgkJCQkJcy0wLjQsMC4xLTAuNS0wLjJsLTEuMS0yLjljLTAuMi0wLjQsMC4xLTAuNiwwLjEtMC42YzEuNC0xLjEsNC42LTEuNyw0LjYtMS43YzEuMS0wLjIsMi45LTAuNCw0LTAuNGMzLDAsNS4zLDAuNyw2LjksMi4xCgkJCQkJYzEuNiwxLjQsMi40LDMuNiwyLjQsNi43bDAsMTMuOGMwLDAsMCwwLjQtMC4zLDAuNWMwLDAtMC42LDAuMi0xLjEsMC4zYy0wLjUsMC4xLTIuMywwLjUtMy44LDAuN2MtMS41LDAuMy0zLDAuNC00LjYsMC40CgkJCQkJYy0xLjUsMC0yLjgtMC4xLTQtMC40Yy0xLjItMC4zLTIuMi0wLjctMy4xLTEuM2MtMC44LTAuNi0xLjUtMS40LTItMi40Yy0wLjUtMC45LTAuNy0yLjEtMC43LTMuNGMwLTEuMywwLjMtMi41LDAuOC0zLjUKCQkJCQljMC41LTEsMS4zLTEuOCwyLjItMi41YzAuOS0wLjcsMi0xLjEsMy4xLTEuNWMxLjItMC4zLDIuNC0wLjUsMy43LTAuNUM3MC4yLDgzLjIsNzEsODMuMiw3MS42LDgzLjJ6IE02NS42LDkzLjgKCQkJCQljMCwwLDEuNCwxLjEsNC40LDAuOWMyLjItMC4xLDQuMS0wLjUsNC4xLTAuNXYtNi45YzAsMC0xLjktMC4zLTQuMS0wLjNjLTMuMSwwLTQuNCwxLjEtNC40LDEuMWMtMC45LDAuNi0xLjMsMS42LTEuMywyLjkKCQkJCQljMCwwLjgsMC4yLDEuNSwwLjUsMkM2NC45LDkzLjIsNjUsOTMuNCw2NS42LDkzLjh6IE0xOTMuMSw3NS41Yy0wLjEsMC40LTAuOSwyLjUtMS4xLDMuMmMtMC4xLDAuMy0wLjMsMC40LTAuNiwwLjQKCQkJCQljMCwwLTAuOS0wLjItMS43LTAuMmMtMC41LDAtMS4zLDAuMS0yLDAuM2MtMC43LDAuMi0xLjMsMC42LTEuOSwxLjFjLTAuNiwwLjUtMSwxLjMtMS4zLDIuMmMtMC4zLDAuOS0wLjUsMi40LTAuNSw0djExLjIKCQkJCQljMCwwLjMtMC4yLDAuNS0wLjUsMC41aC00Yy0wLjMsMC0wLjUtMC4yLTAuNS0wLjVWNzUuMmMwLTAuMywwLjItMC41LDAuNC0wLjVoMy45YzAuMywwLDAuNCwwLjIsMC40LDAuNVY3NwoJCQkJCWMwLjYtMC44LDEuNi0xLjUsMi41LTEuOWMwLjktMC40LDItMC43LDMuOS0wLjZjMSwwLjEsMi4zLDAuMywyLjUsMC40QzE5Myw3NSwxOTMuMiw3NS4xLDE5My4xLDc1LjV6IE0xNTYsNjUuMQoJCQkJCWMwLjEsMCwwLjQsMC4yLDAuMywwLjVsLTEuMiwzLjJjLTAuMSwwLjItMC4yLDAuNC0wLjcsMC4yYy0wLjEsMC0wLjMtMC4xLTAuOC0wLjJjLTAuMy0wLjEtMC44LTAuMS0xLjItMC4xCgkJCQkJYy0wLjYsMC0xLjEsMC4xLTEuNiwwLjJjLTAuNSwwLjEtMC45LDAuNC0xLjMsMC44Yy0wLjQsMC40LTAuOCwwLjktMS4xLDEuNmMtMC42LDEuNi0wLjgsMy4zLTAuOCwzLjRoNC44CgkJCQkJYzAuNCwwLDAuNSwwLjIsMC41LDAuNWwtMC42LDMuMWMtMC4xLDAuNS0wLjUsMC40LTAuNSwwLjRoLTVMMTQzLjYsOThjLTAuNCwyLTAuOCwzLjctMS4zLDUuMWMtMC41LDEuNC0xLjEsMi40LTIsMy40CgkJCQkJYy0wLjgsMC45LTEuNywxLjYtMi44LDEuOWMtMSwwLjQtMi4zLDAuNi0zLjcsMC42Yy0wLjcsMC0xLjQsMC0yLjItMC4yYy0wLjYtMC4xLTAuOS0wLjItMS40LTAuNGMtMC4yLTAuMS0wLjMtMC4zLTAuMi0wLjYKCQkJCQljMC4xLTAuMywxLTIuNywxLjEtMy4xYzAuMi0wLjQsMC41LTAuMiwwLjUtMC4yYzAuMywwLjEsMC41LDAuMiwwLjgsMC4zYzAuNCwwLjEsMC44LDAuMSwxLjIsMC4xYzAuNywwLDEuMy0wLjEsMS44LTAuMwoJCQkJCWMwLjYtMC4yLDEtMC42LDEuNC0xLjFjMC40LTAuNSwwLjctMS4yLDEuMS0yLjFjMC4zLTAuOSwwLjYtMi4yLDAuOS0zLjdsMy40LTE4LjloLTMuM2MtMC40LDAtMC41LTAuMi0wLjUtMC41bDAuNi0zLjEKCQkJCQljMC4xLTAuNSwwLjUtMC40LDAuNS0wLjRoMy40bDAuMi0xYzAuNS0zLDEuNS01LjMsMy02LjhjMS41LTEuNSwzLjctMi4zLDYuNC0yLjNjMC44LDAsMS41LDAuMSwyLjEsMC4yCgkJCQkJQzE1NSw2NC44LDE1NS41LDY0LjksMTU2LDY1LjF6IE04OC42LDk3LjZjMCwwLjMtMC4yLDAuNS0wLjQsMC41aC00Yy0wLjMsMC0wLjQtMC4yLTAuNC0wLjVWNjUuNWMwLTAuMiwwLjItMC41LDAuNC0wLjVoNAoJCQkJCWMwLjMsMCwwLjQsMC4yLDAuNCwwLjVWOTcuNnoiLz4KCQkJPC9nPgoJCTwvZz4KCTwvZz4KPC9nPgo8L3N2Zz4K"]])),jnt=["/favicon.ico","/apple-touch-icon-precomposed.png"];Xn.DEFAULT_CODE_BUILDER_REDIRECT_URI="https://api.code-builder.platform.salesforce.com/api/auth/salesforce/callback";var gy=class e extends Mu.AsyncCreatable{static DEFAULT_PORT=1717;static DEFAULT_AUTH_TIMEOUT=12e4;authUrl;logger;webServer;oauth2;oauthConfig;oauthError=new Error("Oauth Error");clientApp;username;constructor(t){if(super(t),this.oauthConfig=t.oauthConfig,Object.hasOwn(t,"username")&&!Object.hasOwn(t,"clientApp")||Object.hasOwn(t,"clientApp")&&!Object.hasOwn(t,"username"))throw Xi.createError("error.missingWebOauthServer.options");"clientApp"in t&&(this.clientApp=t.clientApp,this.username=t.username)}static async determineOauthPort(){try{return(await Nnt.SfProjectJson.create()).get("oauthLocalPort")||e.DEFAULT_PORT}catch{return e.DEFAULT_PORT}}static getAuthTimeout(){let t=new Mu.Env,r=(0,Mu.toNumber)(t.getNumber("SF_WEB_OAUTH_SERVER_TIMEOUT",e.DEFAULT_AUTH_TIMEOUT));return Number.isInteger(r)&&r>0?r:e.DEFAULT_AUTH_TIMEOUT}getAuthorizationUrl(){return this.authUrl}async authorizeAndSave(){return this.webServer.server||await this.start(),new Promise((t,r)=>{this.webServer.setTimeoutCallback(()=>{let i=Xi.createError("authTimeout");r(i)});let n=()=>{this.logger.debug(`OAuth web login service listening on port: ${this.webServer.port}`),this.executeOauthRequest().then(async i=>{try{if(this.clientApp){let a=await Pu.AuthInfo.create({oauth2Options:this.oauthConfig,oauth2:this.oauth2}),o=a.getFields(!0),s=await Pu.AuthInfo.create({username:this.username}),l=s.getFields(!0);if(l.clientApps&&this.clientApp in l.clientApps)throw new Ep.SfError(`The username ${this.username??"<undefined>"} is already linked to a client app named "${this.clientApp}". Please authenticate again with a different client app name.`);await s.save({clientApps:{...s.getFields(!0).clientApps,[this.clientApp]:{clientId:(0,hy.ensureString)(o.clientId),clientSecret:o.clientSecret,accessToken:(0,hy.ensureString)(o.accessToken),refreshToken:(0,hy.ensureString)(o.refreshToken),oauthFlow:"web"}}}),await this.webServer.handleSuccess(i),i.end(),t(a)}else{let a=await Pu.AuthInfo.create({oauth2Options:this.oauthConfig,oauth2:this.oauth2});await a.save(),await this.webServer.handleSuccess(i),i.end(),t(a)}}catch(a){this.oauthError=a,await this.webServer.handleError(i),r(a)}}).catch(i=>{this.logger.debug("error reported, closing server connection and re-throwing"),r(i)}).finally(()=>{this.logger.debug("closing server connection"),this.webServer.close()})};this.webServer.server.listening?n():this.webServer.server.once("listening",n)})}async start(){await this.webServer.start()}async init(){this.logger=await Sle.Logger.child(this.constructor.name);let t=await e.determineOauthPort();this.oauthConfig.loginUrl??=Pu.AuthInfo.getDefaultInstanceUrl();let r=new Mu.Env;if(r.getBoolean("CODE_BUILDER")){this.oauthConfig.clientId&&this.oauthConfig.clientId!==Pu.CODE_BUILDER_CONNECTED_APP_INFO.clientId&&this.logger.warn(Xi.getMessage("warn.invalidClientId",[this.oauthConfig.clientId])),this.oauthConfig.clientId=Pu.CODE_BUILDER_CONNECTED_APP_INFO.clientId;let n=r.getString("CODE_BUILDER_STATE");if(!n)throw Xi.createError("error.invalidCodeBuilderState");this.oauthConfig.state=JSON.stringify({PORT:t,CODE_BUILDER_STATE:n}),this.oauthConfig.redirectUri=r.getString("CODE_BUILDER_REDIRECT_URI")??Xn.DEFAULT_CODE_BUILDER_REDIRECT_URI}else this.oauthConfig.clientId??=Pu.DEFAULT_CONNECTED_APP_INFO.clientId,this.oauthConfig.redirectUri??=`http://localhost:${t}/OauthRedirect`;this.oauthConfig.useVerifier!==!1&&(this.oauthConfig.useVerifier=!0),this.webServer=await kS.create({port:t}),this.oauth2=new Lnt.OAuth2(this.oauthConfig),this.authUrl=Pu.AuthInfo.getAuthorizationUrl(this.oauthConfig,this.oauth2)}async executeOauthRequest(){return new Promise((t,r)=>{this.logger.debug("Starting web auth flow"),this.webServer.server.on("request",async(n,i)=>{if(n.url){let a=(0,wle.parse)(n.url);if(this.logger.debug(`processing request for uri: ${a.pathname??"null"}`),n.method==="GET")if(a.pathname?.startsWith("/OauthRedirect")&&a.query){if(n.query=(0,Int.parse)(a.query),n.query.error){let o=typeof n.query.error_description=="string"?n.query.error_description:n.query.error;return this.oauthError=new Ep.SfError(o,n.query.error),await this.webServer.handleError(i),r(this.oauthError)}this.logger.debug(`request.query.state: ${n.query.state}`);try{this.oauthConfig.authCode=(0,hy.asString)(this.parseAuthCodeFromRequest(i,n)),t(i)}catch(o){r(o)}}else if(a.pathname==="/OauthSuccess")this.webServer.reportSuccess(i);else if(a.pathname==="/OauthError")this.webServer.reportError(this.oauthError,i);else if(jnt.includes(a.pathname??""))this.logger.debug(`Ignoring request for icon path: ${a.pathname??"null"}`);else{this.webServer.sendError(404,"Resource not found",i);let o="invalidRequestUri",s=Xi.getMessage(o,[a.pathname]);r(new Ep.SfError(s,o))}else if(n.method==="OPTIONS"&&n.headers["access-control-request-private-network"]==="true"&&n.headers["access-control-request-method"])this.webServer.handlePreflightRequest(i);else{this.webServer.sendError(405,"Unsupported http methods",i);let o="invalidRequestMethod",s=Xi.getMessage(o,[n.method]);r(new Ep.SfError(s,o))}}})})}parseAuthCodeFromRequest(t,r){if(this.validateState(r)){let n=r.query.code;if(n&&n.length>4)this.logger.debug(`Successfully obtained auth code: ...${n.substring(n.length-5)}`);else throw this.logger.debug("Expected an auth code but could not find one."),Xi.createError("missingAuthCode");return this.logger.debug(`oauthConfig.loginUrl: ${this.oauthConfig.loginUrl??"<undefined>"}`),this.logger.debug(`oauthConfig.clientId: ${this.oauthConfig.clientId??"<undefined>"}`),this.logger.debug(`oauthConfig.redirectUri: ${this.oauthConfig.redirectUri??"<undefined>"}`),this.logger.debug(`oauthConfig.useVerifier: ${this.oauthConfig.useVerifier??"<undefined>"}`),n}else{let n=new Ep.SfError("urlStateMismatch");this.webServer.sendError(400,n.message,t),this.closeRequest(r),this.logger.warn("urlStateMismatchAttempt detected."),(0,hy.get)(this.webServer.server,"urlStateMismatchAttempt")||(this.logger.error(n.message),(0,Mu.set)(this.webServer.server,"urlStateMismatchAttempt",!0))}return null}closeRequest(t){t.connection.end(),t.connection.destroy()}validateState(t){let r=t.query.state,n=(0,wle.parse)(this.authUrl,!0).query;return!!(r&&r===n.state)}};Xn.WebOAuthServer=gy;var kS=class e extends Mu.AsyncCreatable{static DEFAULT_CLIENT_SOCKET_TIMEOUT=2e4;server;port=gy.DEFAULT_PORT;host="localhost";logger;sockets=[];redirectStatus=new Dnt.EventEmitter;authTimeout;timeoutCallback;constructor(t){super(t),t.port&&(this.port=t.port),t.host&&(this.host=t.host)}async start(){try{this.logger.debug("Starting web server"),await this.checkOsPort(),this.logger.debug(`Nothing listening on host: localhost port: ${this.port} - good!`),this.server=Tnt.createServer(),this.server.on("connection",r=>{this.logger.debug(`socket connection initialized from ${r.remoteAddress}`),this.sockets.push(r)}),this.server.listen(this.port,this.host);let t=gy.getAuthTimeout();this.authTimeout=setTimeout(()=>{this.logger.debug(`Authentication timeout reached (${t} ms), closing server...`),this.timeoutCallback&&this.timeoutCallback(),this.close()},t)}catch(t){throw t.name==="EADDRINUSE"?Xi.createError("portInUse",[this.port],[this.port]):t}}setTimeoutCallback(t){this.timeoutCallback=t}close(){this.authTimeout&&(clearTimeout(this.authTimeout),this.authTimeout=void 0),this.sockets.forEach(t=>{t.end(),t.destroy()}),this.server.getConnections((t,r)=>{this.logger.debug(`number of connections open: ${r}`)}),this.server.close()}sendError(t,r,n){n.statusMessage=r,n.statusCode=t,n.end()}doRedirect(t,r,n){this.logger.debug(`Redirecting to ${r}`),n.setHeader("Content-Type","text/plain");let i=`${t} - Redirecting to ${r}`;n.setHeader("Content-Length",Buffer.byteLength(i)),n.writeHead(t,{Location:r}),n.end(i)}reportError(t,r){r.setHeader("Content-Type","text/html");let n=new Date().getFullYear(),i=Xi.getMessage("serverSfdcImage"),a=Xi.getMessage("serverErrorHTMLResponse",[i,t.name,t.message,n]);r.setHeader("Content-Length",Buffer.byteLength(a,"utf8")),r.end(a),t.stack&&this.logger.debug(t.stack),this.redirectStatus.emit("complete")}reportSuccess(t){t.setHeader("Content-Type","text/html");let r=new Date().getFullYear(),n=Xi.getMessage("serverSfdcImage"),i=Xi.getMessage("serverSuccessHTMLResponse",[n,r]);t.setHeader("Content-Length",Buffer.byteLength(i,"utf8")),t.end(i),this.redirectStatus.emit("complete")}handlePreflightRequest(t){t.statusCode=204,t.setHeader("Access-Control-Allow-Methods","GET"),t.setHeader("Access-Control-Request-Headers","GET"),t.end()}async handleSuccess(t){return this.handleRedirect(t,"/OauthSuccess")}async handleError(t){return this.handleRedirect(t,"/OauthError")}async init(){this.logger=await Sle.Logger.child(this.constructor.name)}async handleRedirect(t,r){return new Promise(n=>{this.redirectStatus.on("complete",()=>{this.logger.debug("Redirect complete"),n()}),this.doRedirect(303,r,t)})}async checkOsPort(){return new Promise((t,r)=>{let n={port:this.port,host:this.host},i=new Ant.Socket;i.setTimeout(this.getSocketTimeout(),()=>{i.destroy();let a=new Ep.SfError("timeout","SOCKET_TIMEOUT");r(a)}),i.connect(n,()=>{i.destroy();let a=new Ep.SfError("Address in use","EADDRINUSE");a.data={port:n.port,address:n.host},r(a)}),i.on("error",()=>{i.destroy(),t(this.port)})})}getSocketTimeout(){let t=new Mu.Env,r=(0,Mu.toNumber)(t.getNumber("SFDX_HTTP_SOCKET_TIMEOUT"));return Number.isInteger(r)&&r>0?r:e.DEFAULT_CLIENT_SOCKET_TIMEOUT}};Xn.WebServer=kS});var xle=h(OD=>{"use strict";Object.defineProperty(OD,"__esModule",{value:!0});OD.default=xD;var Ele=Ke();function xD(e,t,r){let n=Object.assign({},e);return Object.fromEntries(Object.entries(n).map(([i,a])=>{let o=t.call(null,i);if(r){let s=a;return Array.isArray(a)?s=a.map(l=>(0,Ele.isPlainObject)(l)?xD(l,t,r):l):(0,Ele.isPlainObject)(a)&&(s=xD(a,t,r)),[o,s]}return[o,a]}))}});var PS=h(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.ScratchOrgCache=void 0;var Pnt=He(),Mnt=Cr(),Rnt=M2(),CD=class e extends Rnt.TTLConfig{static encryptedKeys=["clientSecret"];static getFileName(){return"scratch-create-cache.json"}static getDefaultOptions(){return{isGlobal:!0,isState:!0,filename:e.getFileName(),stateFolder:Mnt.Global.SF_STATE_FOLDER,encryptedKeys:e.encryptedKeys,ttl:Pnt.Duration.days(1)}}static async unset(t){let r=await e.create();r.unset(t),await r.write()}};jS.ScratchOrgCache=CD});var yy=h(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.emitPostOrgCreate=So.emit=So.scratchOrgLifecycleStages=So.scratchOrgLifecycleEventName=void 0;var Ole=sn();So.scratchOrgLifecycleEventName="scratchOrgLifecycleEvent";So.scratchOrgLifecycleStages=["prepare request","send request","wait for org","available","authenticate","deploy settings","done"];var Fnt=async e=>Ole.Lifecycle.getInstance().emit(So.scratchOrgLifecycleEventName,e);So.emit=Fnt;var $nt=["accessToken","clientId","created","createdOrgInstance","devHubUsername","expirationDate","instanceUrl","loginUrl","orgId","username"],Unt=e=>$nt.includes(e),znt=async e=>{await Ole.Lifecycle.getInstance().emit("postorgcreate",Object.fromEntries(Object.entries(e).filter(([t])=>Unt(t))))};So.emitPostOrgCreate=znt});var TD=h(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.checkScratchOrgInfoForErrors=Ru.validateScratchOrgInfoForResume=void 0;var qnt=He(),Ale=bt(),by=wt(),Dle=yt(),Bnt=_p(),Cle=PS(),Lle=yy(),Tle=ID(),Vnt="sfdx-project.json",Ile=new Ale.Messages("@salesforce/core","scratchOrgErrorCodes",new Map([["SignupFailedError","The request to create a scratch org failed with error code: %s."],["SignupFailedUnknownError","An unknown server error occurred. Please try again. If you still see this error, contact Salesforce support for assistance. Include the information from 'sfdx force:data:record:get -s ScratchOrgInfo -i %s -u %s'."],["SignupFailedActionError","See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_error_codes.htm for information on error code %s."],["SignupUnexpectedError","The request to create a scratch org returned an unexpected status"],["StillInProgressError","The scratch org isn't ready yet (Status = %s)."],["action.StillInProgress","Wait for a few minutes, and then try the command again"],["NoScratchOrgInfoError","No ScratchOrgInfo object found in the Dev Hub you specified. Check that the ID and the Dev Hub are correct."],["ScratchOrgDeletedError","That scratch org has been deleted, so you can't connect to it anymore."],["INVALID_ID_FIELD","Provide a valid template ID, in the format 0TTxxxxxxxxxxxx."],["T-0002","We couldn\u2019t find a template or snapshot with the ID or name specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["T-0003","The template specified in the scratch org definition is unapproved. Contact Salesforce Support to request template approval."],["T-0004","The Trialforce Source Organization (TSO) for the template doesn\u2019t exist or has expired."],["S-1006","Provide a valid email address in your scratch org definition or your %s file."],["S-2006","Provide a valid country code in your scratch org definition or your %s file."],["S-1017","Specify a namespace that\u2019s used by a release org associated with your Dev Hub org."],["S-1018","Provide a valid My Domain value. This value can\u2019t include double hyphens, end in a hyphen, include restricted words, or be more than 40 characters long."],["S-1019","The My Domain value you chose is already in use."],["S-1026","Provide a valid namespace value. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["S-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance."],["SH-0001","Can\u2019t create scratch org. Contact the source org admin to add your Dev Hub org ID to Setup > Org Shape. Then try again."],["SH-0002","Can\u2019t create scratch org. No org shape exists for the specified sourceOrg. Create an org shape and try again."],["SH-0003","Can\u2019t create scratch org from org shape. The org shape version is outdated. Recreate the org shape and try again."],["C-1007","The username provided to the org:create command is already in use. Run 'force:org:list --clean' to remove stale org authentications or create the org with a different username."],["C-1015","We encountered a problem while registering your My Domain value with the DNS provider. Please try again."],["C-1016","We encountered a problem while attempting to configure and approve the Connected App for your org. Verify the Connected App configuration with your Salesforce admin."],["C-1017","Provide a valid namespace prefix. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["C-1020","We couldn't find a template with the ID specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["C-1027","The template specified in the Scratch Definition isn\u2019t supported. Specify a generic edition (such as Developer or Enterprise), or specify a template ID."],["C-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance"]])),xp=new Ale.Messages("@salesforce/core","scratchOrgErrorCodes",new Map([["SignupFailedError","The request to create a scratch org failed with error code: %s."],["SignupFailedUnknownError","An unknown server error occurred. Please try again. If you still see this error, contact Salesforce support for assistance. Include the information from 'sfdx force:data:record:get -s ScratchOrgInfo -i %s -u %s'."],["SignupFailedActionError","See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_error_codes.htm for information on error code %s."],["SignupUnexpectedError","The request to create a scratch org returned an unexpected status"],["StillInProgressError","The scratch org isn't ready yet (Status = %s)."],["action.StillInProgress","Wait for a few minutes, and then try the command again"],["NoScratchOrgInfoError","No ScratchOrgInfo object found in the Dev Hub you specified. Check that the ID and the Dev Hub are correct."],["ScratchOrgDeletedError","That scratch org has been deleted, so you can't connect to it anymore."],["INVALID_ID_FIELD","Provide a valid template ID, in the format 0TTxxxxxxxxxxxx."],["T-0002","We couldn\u2019t find a template or snapshot with the ID or name specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["T-0003","The template specified in the scratch org definition is unapproved. Contact Salesforce Support to request template approval."],["T-0004","The Trialforce Source Organization (TSO) for the template doesn\u2019t exist or has expired."],["S-1006","Provide a valid email address in your scratch org definition or your %s file."],["S-2006","Provide a valid country code in your scratch org definition or your %s file."],["S-1017","Specify a namespace that\u2019s used by a release org associated with your Dev Hub org."],["S-1018","Provide a valid My Domain value. This value can\u2019t include double hyphens, end in a hyphen, include restricted words, or be more than 40 characters long."],["S-1019","The My Domain value you chose is already in use."],["S-1026","Provide a valid namespace value. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["S-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance."],["SH-0001","Can\u2019t create scratch org. Contact the source org admin to add your Dev Hub org ID to Setup > Org Shape. Then try again."],["SH-0002","Can\u2019t create scratch org. No org shape exists for the specified sourceOrg. Create an org shape and try again."],["SH-0003","Can\u2019t create scratch org from org shape. The org shape version is outdated. Recreate the org shape and try again."],["C-1007","The username provided to the org:create command is already in use. Run 'force:org:list --clean' to remove stale org authentications or create the org with a different username."],["C-1015","We encountered a problem while registering your My Domain value with the DNS provider. Please try again."],["C-1016","We encountered a problem while attempting to configure and approve the Connected App for your org. Verify the Connected App configuration with your Salesforce admin."],["C-1017","Provide a valid namespace prefix. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["C-1020","We couldn't find a template with the ID specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["C-1027","The template specified in the Scratch Definition isn\u2019t supported. Specify a generic edition (such as Developer or Enterprise), or specify a template ID."],["C-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance"]])),Wnt=(e,t)=>{try{let r=Ile.getMessage(e);return r.includes("%s")&&(r=Ile.getMessage(e,t)),r}catch{return}},Znt=async({jobId:e,hubOrg:t,cache:r,hubUsername:n,timeout:i})=>{let a=await(0,Tle.queryScratchOrgInfo)(t,e);if(!a?.Id||a.Status==="Deleted")throw r.unset(e),await r.write(),a.Status==="Deleted"?xp.createError("ScratchOrgDeletedError"):xp.createError("NoScratchOrgInfoError");if(["New","Creating"].includes(a.Status)){let o=await Dle.Logger.child("scratchOrgResume");if(i.minutes===0)throw xp.createError("StillInProgressError",[a.Status],["action.StillInProgress"]);o.debug(`PollingTimeout in minutes: ${i.minutes}`);let s={async poll(){try{let c=await(0,Tle.queryScratchOrgInfo)(t,e);return o.debug(`polling client result: ${JSON.stringify(c,null,4)}`),c.Status==="Active"||c.Status==="Error"?{completed:!0,payload:c}:(await(0,Lle.emit)({stage:"wait for org",scratchOrgInfo:c}),o.debug(`Scratch org status is ${c.Status}`),{completed:!1})}catch(c){return o.debug(`Error: ${c.message}`),o.debug("Re-trying deploy check again...."),{completed:!1}}},frequency:qnt.Duration.seconds(1),timeoutErrorName:"ScratchOrgResumeTimeOutError",timeout:i},l=await Bnt.PollingClient.create(s);try{let c=await l.subscribe();return await(0,Ru.checkScratchOrgInfoForErrors)(c,n)}catch(c){let u=c;throw u.name==="ScratchOrgResumeTimeOutError"&&(u.message=u.message+` (Last known Status: ${a.Status})`),c}}return(0,Ru.checkScratchOrgInfoForErrors)(a,n)};Ru.validateScratchOrgInfoForResume=Znt;var Hnt=async(e,t)=>{if(!e?.Id)throw new by.SfError("No scratch org info found.","ScratchOrgInfoNotFound");if(e.Status==="Active")return await(0,Lle.emit)({stage:"available",scratchOrgInfo:e}),e;if(e.Status==="Error"&&e.ErrorCode){await Cle.ScratchOrgCache.unset(e.Id);let r=Wnt(e.ErrorCode,[Vnt]);throw r?new by.SfError(r,"RemoteOrgSignupFailed",[xp.getMessage("SignupFailedActionError",[e.ErrorCode])]):new by.SfError(xp.getMessage("SignupFailedError",[e.ErrorCode]))}if(e.Status==="Error"){await Cle.ScratchOrgCache.unset(e.Id);let r=await Dle.Logger.child("ScratchOrgErrorCodes");throw r.error("No error code on signup error! Logging request."),r.error(e),new by.SfError(xp.getMessage("SignupFailedUnknownError",[e.Id,t]),"signupFailedUnknown")}throw new by.SfError(xp.getMessage("SignupUnexpectedError"),"UnexpectedSignupStatus")};Ru.checkScratchOrgInfoForErrors=Hnt});var ID=h(wr=>{"use strict";var Gnt=wr&&wr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wr,"__esModule",{value:!0});wr.updateRevisionCounterToZero=wr.resolveUrl=wr.deploySettings=wr.pollForScratchOrgInfo=wr.requestScratchOrgCreation=wr.authorizeScratchOrg=wr.queryScratchOrgInfo=void 0;var Jnt=require("node:util"),sl=He(),Knt=e2(),sh=yt(),Nle=bt(),ol=wt(),Xnt=ec(),Ynt=_p(),Qnt=W0(),eit=sn(),tit=Gnt(xle()),AD=sc(),rit=lh(),nit=TD(),DD=yy(),MS=new Nle.Messages("@salesforce/core","scratchOrgInfoApi",new Map([["SignupFieldsMissingError","Required fields are missing for org creation: [%s]"],["SignupDuplicateSettingsSpecifiedError","You cannot use 'settings' and `'orgPreferences' in your scratch definition file, please specify one or the other."],["DeprecatedPrefFormat","We've deprecated OrgPreferences. Update the scratch org definition file to replace OrgPreferences with their corresponding settings."],["SourceStatusResetFailureError","Successfully created org with ID: %s and name: %s. Unfortunately, source tracking isn\u2019t working as expected. If you run force:source:status, the results may be incorrect. Try again by creating another scratch org."],["hubOrgIsNotDevHub",`Make sure that the org with username %s and ID %s is enabled as a Dev Hub. To enable it, open the org in your browser, navigate to the Dev Hub page in Setup, and click Enable.
|
||
If you still see this error after enabling the Dev Hub feature, then re-authenticate to the org.`]])),iit=new Nle.Messages("@salesforce/core","scratchOrgErrorCodes",new Map([["SignupFailedError","The request to create a scratch org failed with error code: %s."],["SignupFailedUnknownError","An unknown server error occurred. Please try again. If you still see this error, contact Salesforce support for assistance. Include the information from 'sfdx force:data:record:get -s ScratchOrgInfo -i %s -u %s'."],["SignupFailedActionError","See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_error_codes.htm for information on error code %s."],["SignupUnexpectedError","The request to create a scratch org returned an unexpected status"],["StillInProgressError","The scratch org isn't ready yet (Status = %s)."],["action.StillInProgress","Wait for a few minutes, and then try the command again"],["NoScratchOrgInfoError","No ScratchOrgInfo object found in the Dev Hub you specified. Check that the ID and the Dev Hub are correct."],["ScratchOrgDeletedError","That scratch org has been deleted, so you can't connect to it anymore."],["INVALID_ID_FIELD","Provide a valid template ID, in the format 0TTxxxxxxxxxxxx."],["T-0002","We couldn\u2019t find a template or snapshot with the ID or name specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["T-0003","The template specified in the scratch org definition is unapproved. Contact Salesforce Support to request template approval."],["T-0004","The Trialforce Source Organization (TSO) for the template doesn\u2019t exist or has expired."],["S-1006","Provide a valid email address in your scratch org definition or your %s file."],["S-2006","Provide a valid country code in your scratch org definition or your %s file."],["S-1017","Specify a namespace that\u2019s used by a release org associated with your Dev Hub org."],["S-1018","Provide a valid My Domain value. This value can\u2019t include double hyphens, end in a hyphen, include restricted words, or be more than 40 characters long."],["S-1019","The My Domain value you chose is already in use."],["S-1026","Provide a valid namespace value. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["S-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance."],["SH-0001","Can\u2019t create scratch org. Contact the source org admin to add your Dev Hub org ID to Setup > Org Shape. Then try again."],["SH-0002","Can\u2019t create scratch org. No org shape exists for the specified sourceOrg. Create an org shape and try again."],["SH-0003","Can\u2019t create scratch org from org shape. The org shape version is outdated. Recreate the org shape and try again."],["C-1007","The username provided to the org:create command is already in use. Run 'force:org:list --clean' to remove stale org authentications or create the org with a different username."],["C-1015","We encountered a problem while registering your My Domain value with the DNS provider. Please try again."],["C-1016","We encountered a problem while attempting to configure and approve the Connected App for your org. Verify the Connected App configuration with your Salesforce admin."],["C-1017","Provide a valid namespace prefix. This value must begin with a letter. It can\u2019t include consecutive underscores, end in an underscore, be more than 15 characters long, or be a restricted or reserved namespace. Only alphanumeric characters and underscores are allowed."],["C-1020","We couldn't find a template with the ID specified in the scratch org definition. If you\u2019re sure the ID is correct, contact Salesforce Support."],["C-1027","The template specified in the Scratch Definition isn\u2019t supported. Specify a generic edition (such as Developer or Enterprise), or specify a template ID."],["C-9999","A fatal signup error occurred. Please try again. If you still see this error, contact Salesforce Support for assistance"]])),ait=function(e,t,r){let n=e.SignupInstance;if(n==="utf8")return t;let i;return n&&!n.toLowerCase().endsWith("s")?i=`https://${n}.salesforce.com`:i=e.LoginUrl,r??i},oit=async e=>{let t=await sh.Logger.child("buildOAuth2Options"),r=!!e.hubOrg.getConnection().getAuthInfoFields().privateKey,n={loginUrl:ait(e.scratchOrgInfoComplete,e.hubOrg.getField(rit.Org.Fields.LOGIN_URL),e.signupTargetLoginUrl)};if(t.debug(`isJwtFlow: ${r}`),t.debug(`using resolved loginUrl: ${n.loginUrl??"<undefined>"}`),r&&!process.env.SFDX_CLIENT_SECRET){n.privateKeyFile=e.hubOrg.getConnection().getAuthInfoFields().privateKey;let i=e?.retry??sl.env.getNumber("SFDX_JWT_AUTH_RETRY_ATTEMPTS")??0,a=sl.env.getNumber("SFDX_JWT_AUTH_RETRY_TIMEOUT")??300,o=sl.Duration.seconds(a).milliseconds,s=i?o/i:1e3;return{options:n,retries:i,timeout:o,delay:s}}else return process.env.SFDX_CLIENT_SECRET?n.clientSecret=process.env.SFDX_CLIENT_SECRET:e.clientSecret&&(n.clientSecret=e.clientSecret),n.redirectUri=e.scratchOrgInfoComplete.ConnectedAppCallbackUrl,n.authCode=e.scratchOrgInfoComplete.AuthCode,{options:n,retries:0}},kle=async e=>{let t=await sh.Logger.child("getAuthInfo"),r=(0,Knt.retryDecorator)(async n=>AD.AuthInfo.create(n),{timeout:e.timeout,delay:e.delay,retries:e.retries});if(e.retries)try{return await r({username:e.username,parentUsername:e.hubOrg.getUsername(),oauth2Options:e.oauth2Options})}catch(n){let i=n;throw t.error(i),i.lastError||i}else return AD.AuthInfo.create({username:e.username,parentUsername:e.hubOrg.getUsername(),oauth2Options:e.oauth2Options})},sit=async(e,t)=>await e.getConnection().sobject("ScratchOrgInfo").retrieve(t);wr.queryScratchOrgInfo=sit;var lit=async e=>{let{scratchOrgInfoComplete:t,hubOrg:r,clientSecret:n,signupTargetLoginUrl:i,retry:a}=e;await(0,DD.emit)({stage:"authenticate",scratchOrgInfo:t});let o=await sh.Logger.child("authorizeScratchOrg");o.debug(`scratchOrgInfoComplete: ${JSON.stringify(t,null,4)}`),r.isDevHubOrg()||await r.determineIfDevHubOrg(!0);let s=await oit({hubOrg:r,clientSecret:n,scratchOrgInfoComplete:t,retry:a,signupTargetLoginUrl:i}),l;try{l=await kle({hubOrg:r,username:t.SignupUsername,oauth2Options:s.options,retries:s.retries,timeout:s.timeout,delay:s.delay})}catch(c){if(t.LoginUrl&&s.options.loginUrl!==t.LoginUrl){o.debug(`Auth failed with loginUrl ${s.options.loginUrl??"<undefined>"} so trying with ${t.LoginUrl}`),s.options={...s.options,loginUrl:t.LoginUrl};try{l=await kle({hubOrg:r,username:t.SignupUsername,oauth2Options:s.options,retries:s.retries,timeout:s.timeout,delay:s.delay})}catch(u){throw o.debug(`Auth failed with ScratchOrgInfo.LoginUrl ${t.LoginUrl}
|
||
${(0,Jnt.inspect)(u)}`),c}}else throw c}return await l.save({devHubUsername:r.getUsername(),created:new Date(t.CreatedDate??new Date).valueOf().toString(),expirationDate:t.ExpirationDate,clientId:t.ConnectedAppConsumerKey,createdOrgInstance:t.SignupInstance,isDevHub:!1,isScratch:!0,isSandbox:!1,...t.Namespace?{namespacePrefix:t.Namespace}:{},...t.Snapshot?{snapshot:t.Snapshot}:{}}),l};wr.authorizeScratchOrg=lit;var cit=async e=>{let t=Object.keys(e).find(n=>n.toUpperCase()==="USERNAME");if(!t)return;let r=e[t];if(r&&r.length>0){try{await AD.AuthInfo.create({username:r.toLowerCase()})}catch(n){let i=ol.SfError.wrap(n);if(i.name==="NamedOrgNotFoundError")return;throw i}throw iit.createError("C-1007")}},uit=async(e,t,r)=>{if(!e.isDevHubOrg())throw MS.createError("hubOrgIsNotDevHub",[e.getUsername(),e.getOrgId()]);if(t.orgPreferences&&r.hasSettings())throw new ol.SfError("SignupDuplicateSettingsSpecifiedError");if(t.orgPreferences)throw new ol.SfError(MS.getMessage("DeprecatedPrefFormat"));let n=(0,tit.default)((0,sl.omit)(t,["settings","objectSettings"]),sl.upperFirst,!0);typeof n.Username=="string"&&(n.Username=n.Username.toLowerCase()),await cit(n);try{return await(0,DD.emit)({stage:"send request"}),await e.getConnection().sobject("ScratchOrgInfo").create(n)}catch(i){let a=i;throw a.errorCode==="REQUIRED_FIELD_MISSING"?new ol.SfError(MS.getMessage("SignupFieldsMissingError",[a.fields.toString()])):ol.SfError.wrap(a)}};wr.requestScratchOrgCreation=uit;var dit=async(e,t,r=sl.Duration.minutes(15))=>{let n=await sh.Logger.child("scratchOrgInfoApi-pollForScratchOrgInfo");n.debug(`PollingTimeout in minutes: ${r.minutes}`);let i={async poll(){try{let o=await(0,wr.queryScratchOrgInfo)(e,t);return n.debug(`polling client result: ${JSON.stringify(o,null,4)}`),o.Status==="Active"||o.Status==="Error"?{completed:!0,payload:o}:(await(0,DD.emit)({stage:"wait for org",scratchOrgInfo:o}),n.debug(`Scratch org status is ${o.Status}`),{completed:!1})}catch(o){return n.debug(`An error occurred trying to retrieve scratchOrgInfo for ${t}`),n.debug(`Error: ${o.message}`),n.debug("Re-trying deploy check again...."),{completed:!1}}},timeout:r,frequency:sl.Duration.seconds(1),timeoutErrorName:"ScratchOrgInfoTimeoutError"},a=await Ynt.PollingClient.create(i);try{let o=await a.subscribe();return await(0,nit.checkScratchOrgInfoForErrors)(o,e.getUsername())}catch(o){if(o instanceof Error){let s=ol.SfError.wrap(o);throw s.setData({username:e.getUsername(),orgId:e.getOrgId(),scratchOrgInfoId:t}),s}throw new ol.SfError(`The scratch org did not complete within ${r.minutes} minutes`,"orgCreationTimeout",["Try your force:org:create command again with a longer --wait value"])}};wr.pollForScratchOrgInfo=dit;var pit=async(e,t,r,n=sl.Duration.minutes(10))=>{let i=await sh.Logger.child("scratchOrgInfoApi-deploySettings");if(t.hasSettings()){i.debug(`deploying scratch org settings with apiVersion ${r}`);try{await t.createDeploy(),await t.deploySettingsViaFolder(e,r,n),await(0,wr.updateRevisionCounterToZero)(e),i.trace("Settings deployed to org")}catch(a){throw ol.SfError.wrap(a)}}};wr.deploySettings=pit;var fit=async e=>{let t=await sh.Logger.child("scratchOrgInfoApi-resolveUrl"),{instanceUrl:r}=e.getFields();if(!r)throw ol.SfError.create({message:"Org does not have instanceUrl",data:{orgId:e.getFields().orgId,username:e.getFields().username,instanceUrl:r}});t.debug(`processScratchOrgInfoResult - resultData.instanceUrl: ${r}`);let n={timeout:sl.Duration.minutes(3),frequency:sl.Duration.seconds(10),url:new Xnt.SfdcUrl(r)};try{return await(await Qnt.MyDomainResolver.create(n)).resolve(),e}catch(i){let a=ol.SfError.wrap(i);throw t.debug("processScratchOrgInfoResult - err: %s",i),a.name==="MyDomainResolverTimeoutError"&&(a.setData({orgId:e.getFields().orgId,username:e.getFields().username,instanceUrl:r}),t.debug("processScratchOrgInfoResult - err data: %s",a.data)),a}};wr.resolveUrl=fit;var mit=async e=>{let t=e.getConnection(),r=await t.tooling.sobject("SourceMember").find({RevisionCounter:{$gt:0}},["Id"]);if(r.length!==0)try{await Promise.all(r.map(n=>t.tooling.sobject("SourceMember").update({Id:n.Id,RevisionCounter:0})))}catch(n){await eit.Lifecycle.getInstance().emitWarning(MS.getMessage("SourceStatusResetFailureError",[e.getOrgId(),e.getUsername(),n instanceof Error?n.message:""]))}};wr.updateRevisionCounterToZero=mit});var Nr=h(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.isUndefined=yi.fixName=yi.validateName=yi.validateSingleChar=yi.fixChar=yi.validateChar=void 0;function hit(e){for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(!(r===9||r===10||r===13||r>=32&&r<=55295||r>=57344&&r<=65533)){if(t+1===e.length)return!1;var n=e.charCodeAt(t+1);if(r>=55296&&r<=56319&&n>=56320&&n<=57343){t++;continue}return!1}}return!0}yi.validateChar=hit;function git(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n===9||n===10||n===13||n>=32&&n<=55295||n>=57344&&n<=65533){t+=e[r];continue}if(r+1===e.length)return t+="\uFFFD",t;var i=e.charCodeAt(r+1);if(n>=55296&&n<=56319&&i>=56320&&i<=57343){t+=e[r]+e[r+1],r++;continue}t+="\uFFFD"}return t}yi.fixChar=git;function yit(e){if(e.length===0)return!1;var t=e.charCodeAt(0);if(e.length===1)return t===9||t===10||t===13||t>=32&&t<=55295||t>=57344&&t<=65533;if(e.length!==2)return!1;var r=e.charCodeAt(1);return t>=55296&&t<=56319&&r>=56320&&r<=57343}yi.validateSingleChar=yit;function bit(e){if(e.length===0)return!1;var t=e.charCodeAt(0),r=t===58||t===95||t>=65&&t<=90||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533;if(e.length===1)return r;var n=e.charCodeAt(1),i=t>=55296&&t<=56191&&n>=56320&&n<=57343;if(!r&&!i)return!1;for(var a=i?2:1,o=a;o<e.length;o++){var s=e.charCodeAt(o);if(!(s===58||s===95||s===45||s===46||s===183||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s>=192&&s<=214||s>=216&&s<=246||s>=248&&s<=767||s>=768&&s<=879||s>=880&&s<=893||s>=895&&s<=8191||s>=8204&&s<=8205||s>=8255&&s<=8256||s>=8304&&s<=8591||s>=11264&&s<=12271||s>=12289&&s<=55295||s>=63744&&s<=64975||s>=65008&&s<=65533)){if(o+1===e.length)return!1;var l=e.charCodeAt(o+1);if(s>=55296&&s<=56191&&l>=56320&&l<=57343){o++;continue}return!1}}return!0}yi.validateName=bit;function vit(e){var t="";if(e.length===0)return t;var r=e.charCodeAt(0),n=r===58||r===95||r>=65&&r<=90||r>=97&&r<=122||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=767||r>=880&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533;if(e.length===1)return n?t=e[0]:t="\uFFFD",t;var i=e.charCodeAt(1),a=r>=55296&&r<=56191&&i>=56320&&i<=57343;a?t=e[0]+e[1]:n?t=e[0]:t="\uFFFD";for(var o=a?2:1,s=o;s<e.length;s++){var l=e.charCodeAt(s);if(l===58||l===95||l===45||l===46||l===183||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||l>=192&&l<=214||l>=216&&l<=246||l>=248&&l<=767||l>=768&&l<=879||l>=880&&l<=893||l>=895&&l<=8191||l>=8204&&l<=8205||l>=8255&&l<=8256||l>=8304&&l<=8591||l>=11264&&l<=12271||l>=12289&&l<=55295||l>=63744&&l<=64975||l>=65008&&l<=65533){t+=e[s];continue}if(s+1===e.length)return t+="\uFFFD",t;var c=e.charCodeAt(s+1);if(l>=55296&&l<=56191&&c>=56320&&c<=57343){t+=e[s]+e[s+1],s++;continue}t+="\uFFFD"}return t}yi.fixName=vit;function _it(e){return Object.prototype.toString.call(e)==="[object Undefined]"}yi.isUndefined=_it});var ch=h(FS=>{"use strict";Object.defineProperty(FS,"__esModule",{value:!0});FS.StringOptions=void 0;var RS=Nr(),wit=function(){function e(t){this.doubleQuotes=!1,this.indent=" ",this.newline=`
|
||
`,this.pretty=!0,(0,RS.isUndefined)(t.doubleQuotes)||(this.doubleQuotes=t.doubleQuotes),(0,RS.isUndefined)(t.indent)||(this.indent=t.indent),(0,RS.isUndefined)(t.newline)||(this.newline=t.newline),(0,RS.isUndefined)(t.pretty)||(this.pretty=t.pretty)}return e}();FS.StringOptions=wit});var $S=h($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.escapeDoubleQuotes=$a.escapeSingleQuotes=$a.escapeRightAngleBracketsInCdataTerminator=$a.escapeLeftAngleBrackets=$a.escapeAmpersands=void 0;function Sit(e){return e.replace(/&/g,"&")}$a.escapeAmpersands=Sit;function Eit(e){return e.replace(/</g,"<")}$a.escapeLeftAngleBrackets=Eit;function xit(e){return e.replace(/]]>/g,"]]>")}$a.escapeRightAngleBracketsInCdataTerminator=xit;function Oit(e){return e.replace(/'/g,"'")}$a.escapeSingleQuotes=Oit;function Cit(e){return e.replace(/"/g,""")}$a.escapeDoubleQuotes=Cit});var ND=h(kD=>{"use strict";Object.defineProperty(kD,"__esModule",{value:!0});var Tit=mn(),jle=$S(),LD=Nr(),Iit=function(){function e(t,r,n){this._validation=r,(0,LD.isUndefined)(n.replaceInvalidCharsInCharData)?this._replaceInvalidCharsInCharData=!1:this._replaceInvalidCharsInCharData=n.replaceInvalidCharsInCharData,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._replaceInvalidCharsInCharData)t=(0,LD.fixChar)(t);else if(this._validation&&!(0,LD.validateChar)(t))throw new Error((0,Tit.getContext)(this.up())+": attribute text"+(' "'+t+'" should not contain characters not')+" allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t=this._charData;return t=(0,jle.escapeAmpersands)(t),t=(0,jle.escapeLeftAngleBrackets)(t),t},e.prototype.up=function(){return this._parent},e}();kD.default=Iit});var US=h(jD=>{"use strict";Object.defineProperty(jD,"__esModule",{value:!0});var Ple=mn(),Mle=Nr(),Ait=function(){function e(t,r,n){this._hex=!1,this._validation=r,this._parent=t,this.char=n.char,(0,Mle.isUndefined)(n.hex)||(this.hex=n.hex)}return Object.defineProperty(e.prototype,"char",{get:function(){return this._char},set:function(t){if(this._validation&&!(0,Mle.validateSingleChar)(t))throw new Error((0,Ple.getContext)(this.up())+": character reference"+(' "'+t+'" should reference a single character,')+" and this character should be allowed in XML");this._char=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hex",{get:function(){return this._hex},set:function(t){this._hex=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t;if(this._char.length===1)t=this._char.charCodeAt(0);else{var r=this._char.charCodeAt(0);if(r>=55296&&r<=56319&&this._char.length>1){var n=this._char.charCodeAt(1);if(n>=56320&&n<=57343)t=(r-55296)*1024+n-56320+65536;else throw new Error((0,Ple.getContext)(this.up())+": character"+(' reference "'+this.char+'" should')+" reference a valid Unicode character")}else t=r}return this._hex?"&#x"+t.toString(16)+";":"&#"+t+";"},e.prototype.up=function(){return this._parent},e}();jD.default=Ait});var zS=h(PD=>{"use strict";Object.defineProperty(PD,"__esModule",{value:!0});var Dit=mn(),Lit=Nr(),kit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.name=n.name}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){if(this._validation&&!(0,Lit.validateName)(t))throw new Error((0,Dit.getContext)(this.up())+": entity reference name"+(' "'+t+'" should not contain characters not')+" allowed in XML names");this._name=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"&"+this._name+";"},e.prototype.up=function(){return this._parent},e}();PD.default=kit});var qS=h(vy=>{"use strict";var FD=vy&&vy.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vy,"__esModule",{value:!0});var MD=mn(),Rle=$S(),Nit=ch(),RD=Nr(),jit=FD(ND()),Pit=FD(US()),Mit=FD(zS()),Rit=function(){function e(t,r,n){this._validation=r,(0,RD.isUndefined)(n.replaceInvalidCharsInName)?this._replaceInvalidCharsInName=!1:this._replaceInvalidCharsInName=n.replaceInvalidCharsInName,this._children=[],this._parent=t,this.name=n.name}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){if(this._replaceInvalidCharsInName){if(t=(0,RD.fixName)(t),t.length===0)throw new Error((0,MD.getContext)(this.up())+": attribute name should not be empty")}else if(this._validation&&!(0,RD.validateName)(t))throw t.length===0?new Error((0,MD.getContext)(this.up())+": attribute name should not be empty"):new Error((0,MD.getContext)(this.up())+": attribute name"+(' "'+t+'" should not contain characters not')+" allowed in XML names");this._name=t},enumerable:!1,configurable:!0}),e.prototype.charRef=function(t){var r=new Pit.default(this,this._validation,t);return this._children.push(r),r},e.prototype.entityRef=function(t){var r=new Mit.default(this,this._validation,t);return this._children.push(r),r},e.prototype.text=function(t){var r=new jit.default(this,this._validation,t);return this._children.push(r),r},e.prototype.toString=function(t){t===void 0&&(t={});for(var r=new Nit.StringOptions(t),n=r.doubleQuotes?'"':"'",i=this._name+"="+n,a=0,o=this._children;a<o.length;a++){var s=o[a];r.doubleQuotes?i+=(0,Rle.escapeDoubleQuotes)(s.toString()):i+=(0,Rle.escapeSingleQuotes)(s.toString())}return i+=n,i},e.prototype.up=function(){return this._parent},e}();vy.default=Rit});var UD=h($D=>{"use strict";Object.defineProperty($D,"__esModule",{value:!0});var Fit=mn(),$it=Nr(),Uit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._validation&&!(0,$it.validateChar)(t))throw new Error((0,Fit.getContext)(this.up())+": attribute-list"+(' declaration "'+t+'" should not contain')+" characters not allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<!ATTLIST "+this._charData+">"},e.prototype.up=function(){return this._parent},e}();$D.default=Uit});var qD=h(zD=>{"use strict";Object.defineProperty(zD,"__esModule",{value:!0});var zit=mn(),qit=Nr(),Bit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._validation&&!(0,qit.validateChar)(t))throw new Error((0,zit.getContext)(this.up())+": element declaration"+(' "'+t+'" should not contain characters')+" not allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<!ELEMENT "+this._charData+">"},e.prototype.up=function(){return this._parent},e}();zD.default=Bit});var VD=h(BD=>{"use strict";Object.defineProperty(BD,"__esModule",{value:!0});var Vit=mn(),Wit=Nr(),Zit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._validation&&!(0,Wit.validateChar)(t))throw new Error((0,Vit.getContext)(this.up())+": entity declaration"+(' "'+t+'" should not contain characters')+" not allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<!ENTITY "+this._charData+">"},e.prototype.up=function(){return this._parent},e}();BD.default=Zit});var ZD=h(WD=>{"use strict";Object.defineProperty(WD,"__esModule",{value:!0});var Hit=mn(),Git=Nr(),Jit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._validation&&!(0,Git.validateChar)(t))throw new Error((0,Hit.getContext)(this.up())+": notation declaration"+(' "'+t+'" should not contain characters')+" not allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<!NOTATION "+this._charData+">"},e.prototype.up=function(){return this._parent},e}();WD.default=Jit});var GD=h(HD=>{"use strict";Object.defineProperty(HD,"__esModule",{value:!0});var Kit=mn(),Xit=Nr(),Yit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.name=n.name}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){if(this._validation&&!(0,Xit.validateName)(t))throw new Error((0,Kit.getContext)(this.up())+": parameter entity"+(' reference name "'+t+'" should not contain')+" characters not allowed in XML names");this._name=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"%"+this._name+";"},e.prototype.up=function(){return this._parent},e}();HD.default=Yit});var _y=h(JD=>{"use strict";Object.defineProperty(JD,"__esModule",{value:!0});var BS=mn(),VS=Nr(),Qit=function(){function e(t,r,n){this._validation=r,this._parent=t,this.content=n.content,this.target=n.target}return Object.defineProperty(e.prototype,"content",{get:function(){return this._content},set:function(t){if(!(0,VS.isUndefined)(t)){if(this._validation&&!(0,VS.validateChar)(t))throw new Error((0,BS.getContext)(this.up())+": processing"+(' instruction content "'+t+'" should')+" not contain characters not allowed in XML");if(this._validation&&t.indexOf("?>")!==-1)throw new Error((0,BS.getContext)(this.up())+": processing"+(' instruction content "'+t+'" should')+" not contain the string '?>'")}this._content=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){return this._target},set:function(t){if(this._validation&&!(0,VS.validateName)(t))throw new Error((0,BS.getContext)(this.up())+": processing"+(' instruction target "'+t+'" should')+" not contain characters not allowed in XML names");if(this._validation&&t==="xml")throw new Error((0,BS.getContext)(this.up())+": processing"+(' instruction target "'+t+'" should')+" not be the string 'xml'");this._target=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return(0,VS.isUndefined)(this._content)?"<?"+this._target+"?>":"<?"+this._target+" "+this._content+"?>"},e.prototype.up=function(){return this._parent},e}();JD.default=Qit});var WS=h(Op=>{"use strict";var Cp=Op&&Op.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Op,"__esModule",{value:!0});Op.validatePubId=void 0;var Fu=mn(),eat=ch(),ll=Nr(),tat=Cp(wy()),rat=Cp(UD()),nat=Cp(qD()),iat=Cp(VD()),aat=Cp(ZD()),oat=Cp(GD()),sat=Cp(_y()),lat=function(){function e(t,r,n){this._pubId=void 0,this._sysId=void 0,this._validation=r,this._children=[],this._parent=t,this.name=n.name,(0,ll.isUndefined)(n.sysId)||(this.sysId=n.sysId),(0,ll.isUndefined)(n.pubId)||(this.pubId=n.pubId)}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){if(this._validation&&!(0,ll.validateName)(t))throw new Error((0,Fu.getContext)(this.up())+': DTD name "'+t+'" should not contain characters not allowed in XML names');this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pubId",{get:function(){return this._pubId},set:function(t){if(!(0,ll.isUndefined)(t)){if(this._validation&&!Fle(t))throw new Error((0,Fu.getContext)(this.up())+": DTD public"+(' identifier "'+t+'" should not contain')+" characters not allowed in public identifiers");if(this._validation&&(0,ll.isUndefined)(this._sysId))throw new Error((0,Fu.getContext)(this.up())+": DTD public"+(' identifier "'+t+'" should not be defined')+" if system identifier is undefined")}this._pubId=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sysId",{get:function(){return this._sysId},set:function(t){if(!(0,ll.isUndefined)(t)){if(this._validation&&!(0,ll.validateChar)(t))throw new Error((0,Fu.getContext)(this.up())+": DTD system"+(' identifier "'+t+'" should not contain')+" characters not allowed in XML");if(this._validation&&t.indexOf("'")!==-1&&t.indexOf('"')!==-1)throw new Error((0,Fu.getContext)(this.up())+": DTD system"+(' identifier "'+t+'" should not contain')+" both single quotes and double quotes")}this._sysId=t},enumerable:!1,configurable:!0}),e.prototype.attlist=function(t){var r=new rat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.comment=function(t){var r=new tat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.element=function(t){var r=new nat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.entity=function(t){var r=new iat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.notation=function(t){var r=new aat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.paramEntityRef=function(t){var r=new oat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.procInst=function(t){var r=new sat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.toString=function(t){t===void 0&&(t={});var r=new eat.StringOptions(t),n="<!DOCTYPE "+this._name;if((0,ll.isUndefined)(this._pubId))(0,ll.isUndefined)(this._sysId)||(n+=" ",n=this.appendId("SYSTEM",this._sysId,n,r));else{if((0,ll.isUndefined)(this._sysId))throw new Error((0,Fu.getContext)(this.up())+": DTD system identifier is not undefined");n+=" ",n=this.appendId("PUBLIC",this._pubId,n,r),n=this.appendId("",this._sysId,n,r)}if(this._children.length!==0){n+=" [";for(var i=0,a=this._children;i<a.length;i++){var o=a[i];r.pretty&&(n+=r.newline+r.indent),n+=o.toString()}r.pretty&&(n+=r.newline),n+="]>"}else n+=">";return n},e.prototype.up=function(){return this._parent},e.prototype.appendId=function(t,r,n,i){if(n+=t+" ",i.doubleQuotes){if(this._validation&&r.indexOf('"')!==-1)throw new Error((0,Fu.getContext)(this.up())+": doubleQuotes option inconsistent with DTD system identifier or public identifier");n+='"'+r+'"'}else{if(this._validation&&r.indexOf("'")!==-1)throw new Error((0,Fu.getContext)(this)+": doubleQuotes option inconsistent with DTD system identifier or public identifier");n+="'"+r+"'"}return n},e}();Op.default=lat;function Fle(e){for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(!(r===10||r===13||r===32||r===33||r>=35&&r<=37||r>=39&&r<=47||r>=48&&r<=57||r===58||r===59||r===61||r===63||r>=64&&r<=90||r===95||r>=97&&r<=122))return t+1===e.length,!1}return!0}Op.validatePubId=Fle});var YD=h(XD=>{"use strict";Object.defineProperty(XD,"__esModule",{value:!0});var $le=mn(),KD=Nr(),cat=function(){function e(t,r,n){this._validation=r,(0,KD.isUndefined)(n.replaceInvalidCharsInCharData)?this._replaceInvalidCharsInCharData=!1:this._replaceInvalidCharsInCharData=n.replaceInvalidCharsInCharData,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._replaceInvalidCharsInCharData)t=(0,KD.fixChar)(t);else if(this._validation&&!(0,KD.validateChar)(t))throw new Error((0,$le.getContext)(this.up())+": CDATA section"+(' "'+t+'" should not contain characters')+" not allowed in XML");if(this._replaceInvalidCharsInCharData)t=t.replace("]]>","\uFFFD\uFFFD\uFFFD");else if(this._validation&&t.indexOf("]]>")!==-1)throw new Error((0,$le.getContext)(this.up())+": CDATA section"+(' "'+t+'" should not contain the string')+" ']]>'");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<![CDATA["+this._charData+"]]>"},e.prototype.up=function(){return this._parent},e}();XD.default=cat});var rL=h(tL=>{"use strict";Object.defineProperty(tL,"__esModule",{value:!0});var uat=mn(),QD=$S(),eL=Nr(),dat=function(){function e(t,r,n){this._validation=r,(0,eL.isUndefined)(n.replaceInvalidCharsInCharData)?this._replaceInvalidCharsInCharData=!1:this._replaceInvalidCharsInCharData=n.replaceInvalidCharsInCharData,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._replaceInvalidCharsInCharData)t=(0,eL.fixChar)(t);else if(this._validation&&!(0,eL.validateChar)(t))throw new Error((0,uat.getContext)(this.up())+": character data"+('"'+t+'" should not contain characters not')+" allowed in XML");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t=this._charData;return t=(0,QD.escapeAmpersands)(t),t=(0,QD.escapeLeftAngleBrackets)(t),t=(0,QD.escapeRightAngleBracketsInCdataTerminator)(t),t},e.prototype.up=function(){return this._parent},e}();tL.default=dat});var JS=h(xy=>{"use strict";var Tp=xy&&xy.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xy,"__esModule",{value:!0});var ZS=mn(),pat=ch(),Sy=Nr(),Ule=Tp(qS()),fat=Tp(YD()),Ey=Tp(rL()),HS=Tp(US()),mat=Tp(wy()),GS=Tp(zS()),hat=Tp(_y()),gat=function(){function e(t,r,n){this._validation=r,(0,Sy.isUndefined)(n.replaceInvalidCharsInName)?this._replaceInvalidCharsInName=!1:this._replaceInvalidCharsInName=n.replaceInvalidCharsInName,(0,Sy.isUndefined)(n.useSelfClosingTagIfEmpty)?this._useSelfClosingTagIfEmpty=!0:this._useSelfClosingTagIfEmpty=n.useSelfClosingTagIfEmpty,this._children=[],this._attributeNames=[],this._parent=t,this.name=n.name}return Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){if(this._replaceInvalidCharsInName){if(t=(0,Sy.fixName)(t),t.length===0)throw new Error((0,ZS.getContext)(this.up())+": element name should not be empty")}else if(this._validation&&!(0,Sy.validateName)(t))throw t.length===0?new Error((0,ZS.getContext)(this.up())+": element name should not be empty"):new Error((0,ZS.getContext)(this.up())+": element name"+(' "'+t+'" should not contain characters not')+" allowed in XML names");this._name=t},enumerable:!1,configurable:!0}),e.prototype.attribute=function(t){if(this._validation&&this._attributeNames.indexOf(t.name)!==-1)throw new Error((0,ZS.getContext)(this.up())+': element "'+this.name+'" already contains an attribute with the'+(' name "'+t.name+'"'));var r=new Ule.default(this,this._validation,t);return this._children.push(r),this._attributeNames.push(t.name),r},e.prototype.cdata=function(t){var r=new fat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.charData=function(t){var r=new Ey.default(this,this._validation,t);return this._children.push(r),r},e.prototype.charRef=function(t){var r=new HS.default(this,this._validation,t);return this._children.push(r),r},e.prototype.comment=function(t){var r=new mat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.element=function(t){var r=new e(this,this._validation,t);return this._children.push(r),r},e.prototype.entityRef=function(t){var r=new GS.default(this,this._validation,t);return this._children.push(r),r},e.prototype.procInst=function(t){var r=new hat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.toString=function(t){return t===void 0&&(t={}),this.toStringWithIndent(t,"")},e.prototype.up=function(){return this._parent},e.prototype.toStringWithIndent=function(t,r){for(var n=new pat.StringOptions(t),i=r+n.indent,a="<"+this._name,o=[],s=0,l=this._children;s<l.length;s++){var c=l[s];c instanceof Ule.default?a+=" "+c.toString(t):o.push(c)}if(o.length>0){for(var u="",d=0;d<o.length;d++){var f=o[d],p="";f instanceof e?p+=f.toStringWithIndent(n,i):p+=f.toString();var m=d>0?o[d-1]:void 0;f instanceof Ey.default&&f.toString()===""||(n.pretty&&(this.allSameLineNodes(o)||d>0&&this.onSameLine(f,m)||(p=n.newline+i+p)),u+=p)}n.pretty&&(this.allSameLineNodes(o)||(u+=n.newline+r)),u.length===0&&this._useSelfClosingTagIfEmpty?a+="/>":a+=">"+u+"</"+this._name+">"}else this._useSelfClosingTagIfEmpty?a+="/>":a+="></"+this._name+">";return a},e.prototype.allSameLineNodes=function(t){for(var r=0,n=t;r<n.length;r++){var i=n[r];if(!(i instanceof HS.default||i instanceof GS.default||i instanceof Ey.default))return!1}return!0},e.prototype.onSameLine=function(t,r){return(t instanceof HS.default||t instanceof GS.default||t instanceof Ey.default)&&!(0,Sy.isUndefined)(r)&&(r instanceof HS.default||r instanceof GS.default||r instanceof Ey.default)},e}();xy.default=gat});var mn=h(uh=>{"use strict";var XS=uh&&uh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(uh,"__esModule",{value:!0});uh.getContext=void 0;var yat=XS(qS()),bat=XS(YS()),vat=XS(WS()),_at=XS(JS());function KS(e){if(e instanceof yat.default)return KS(e.up())+(' > attribute "'+e.name+'"');if(e instanceof bat.default)return"in XML document";if(e instanceof vat.default)return KS(e.up())+" > DTD";if(e instanceof _at.default)return KS(e.up())+(' > element "'+e.name+'"');throw new Error("Unrecognized object of type "+Object.prototype.toString.call(e))}uh.getContext=KS});var wy=h(aL=>{"use strict";Object.defineProperty(aL,"__esModule",{value:!0});var nL=mn(),iL=Nr(),wat=function(){function e(t,r,n){this._validation=r,(0,iL.isUndefined)(n.replaceInvalidCharsInCharData)?this._replaceInvalidCharsInCharData=!1:this._replaceInvalidCharsInCharData=n.replaceInvalidCharsInCharData,this._parent=t,this.charData=n.charData}return Object.defineProperty(e.prototype,"charData",{get:function(){return this._charData},set:function(t){if(this._replaceInvalidCharsInCharData)t=(0,iL.fixChar)(t);else if(this._validation&&!(0,iL.validateChar)(t))throw new Error((0,nL.getContext)(this.up())+": comment content"+(' "'+t+'" should not contain characters')+" not allowed in XML");if(this._replaceInvalidCharsInCharData)t=t.replace("--","\uFFFD\uFFFD");else if(this._validation&&t.indexOf("--")!==-1)throw new Error((0,nL.getContext)(this.up())+": comment content"+(' "'+t+'" should not contain the string')+" '--'");if(this._replaceInvalidCharsInCharData)t.lastIndexOf("-")===t.length-1&&(t=t.substr(0,t.length-1)+"\uFFFD");else if(this._validation&&t.lastIndexOf("-")===t.length-1)throw new Error((0,nL.getContext)(this.up())+": comment content"+(' "'+t+'" should not end with the string')+" '-'");this._charData=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"<!--"+this._charData+"-->"},e.prototype.up=function(){return this._parent},e}();aL.default=wat});var lL=h(sL=>{"use strict";Object.defineProperty(sL,"__esModule",{value:!0});var oL=mn(),Sat=ch(),Oy=Nr(),Eat=function(){function e(t,r,n){this._version="1.0",this._validation=r,this._parent=t,this.encoding=n.encoding,this.standalone=n.standalone,(0,Oy.isUndefined)(n.version)||(this.version=n.version)}return Object.defineProperty(e.prototype,"encoding",{get:function(){return this._encoding},set:function(t){if(this._validation&&!(0,Oy.isUndefined)(t)&&!xat(t))throw new Error((0,oL.getContext)(this.up())+": declaration"+(" encoding attribute "+t+" should be a")+" valid encoding");this._encoding=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"standalone",{get:function(){return this._standalone},set:function(t){if(this._validation&&!(0,Oy.isUndefined)(t)&&t!=="yes"&&t!=="no")throw new Error((0,oL.getContext)(this.up())+": declaration"+(" standalone attribute "+t+" should")+" be the string 'yes' or the string 'no'");this._standalone=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},set:function(t){if(this._validation&&!Oat(t))throw new Error((0,oL.getContext)(this.up())+": declaration version"+(" attribute "+t+" should be a valid XML")+" version");this._version=t},enumerable:!1,configurable:!0}),e.prototype.toString=function(t){t===void 0&&(t={});var r=new Sat.StringOptions(t),n=r.doubleQuotes?'"':"'",i="<?xml version="+n+this._version+n;return(0,Oy.isUndefined)(this._encoding)||(i+=" encoding="+n+this._encoding+n),(0,Oy.isUndefined)(this._standalone)||(i+=" standalone="+n+this._standalone+n),i+="?>",i},e.prototype.up=function(){return this._parent},e}();sL.default=Eat;function xat(e){if(e.length===0)return!1;var t=e.charCodeAt(0);if(!(t>=65&&t<=90||t>=97&&t<=122))return!1;for(var r=1;r<e.length;r++){var n=e.charCodeAt(r);if(!(n===95||n===45||n===46||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122))return r+1===e.length,!1}return!0}function Oat(e){for(var t=0;t<=9;t++)if(e==="1."+t)return!0;return!1}});var YS=h(Ty=>{"use strict";var Iy=Ty&&Ty.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ty,"__esModule",{value:!0});var Cat=ch(),Tat=Nr(),Iat=Iy(wy()),zle=Iy(lL()),qle=Iy(WS()),Cy=Iy(JS()),Aat=Iy(_y()),Dat=function(){function e(t){this._children=[],this._validation=(0,Tat.isUndefined)(t.validation)?!0:t.validation}return e.prototype.comment=function(t){var r=new Iat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.decl=function(t){if(t===void 0&&(t={}),this._validation&&this._children.length!==0)throw new Error("in XML document: declaration must be the first child");var r=new zle.default(this,this._validation,t);return this._children.push(r),r},e.prototype.dtd=function(t){var r=this._children.filter(function(i){return i instanceof Cy.default});if(this._validation&&r.length!==0)throw new Error("in XML document: DTD must precede the root element");var n=new qle.default(this,this._validation,t);return this._children.push(n),n},e.prototype.element=function(t){var r=this._children.filter(function(i){return i instanceof Cy.default});if(this._validation&&r.length!==0)throw new Error("in XML document: only one root element is permitted");var n=new Cy.default(this,this._validation,t);return this._children.push(n),n},e.prototype.procInst=function(t){var r=new Aat.default(this,this._validation,t);return this._children.push(r),r},e.prototype.toString=function(t){t===void 0&&(t={});var r=this._children.filter(function(c){return c instanceof Cy.default});if(this._validation&&r.length!==1)throw new Error("in XML document: no more than one root element is permitted");for(var n=new Cat.StringOptions(t),i="",a=0,o=this._children;a<o.length;a++){var s=o[a];s instanceof zle.default||s instanceof qle.default||s instanceof Cy.default?i+=s.toString(t):i+=s.toString(),n.pretty&&(i+=n.newline)}var l=i.length-n.newline.length;return i.substr(l)===n.newline&&(i=i.substr(0,l)),i},e}();Ty.default=Dat});var Ble=h(Fe=>{"use strict";var Jr=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.document=Fe.XmlProcInst=Fe.XmlEntityRef=Fe.XmlElement=Fe.XmlDtdParamEntityRef=Fe.XmlDtdNotation=Fe.XmlDtdEntity=Fe.XmlDtdElement=Fe.XmlDtdAttlist=Fe.XmlDtd=Fe.XmlDocument=Fe.XmlDecl=Fe.XmlComment=Fe.XmlCharRef=Fe.XmlCharData=Fe.XmlCdata=Fe.XmlAttributeText=Fe.XmlAttribute=void 0;var Lat=Jr(YS()),kat=qS();Object.defineProperty(Fe,"XmlAttribute",{enumerable:!0,get:function(){return Jr(kat).default}});var Nat=ND();Object.defineProperty(Fe,"XmlAttributeText",{enumerable:!0,get:function(){return Jr(Nat).default}});var jat=YD();Object.defineProperty(Fe,"XmlCdata",{enumerable:!0,get:function(){return Jr(jat).default}});var Pat=rL();Object.defineProperty(Fe,"XmlCharData",{enumerable:!0,get:function(){return Jr(Pat).default}});var Mat=US();Object.defineProperty(Fe,"XmlCharRef",{enumerable:!0,get:function(){return Jr(Mat).default}});var Rat=wy();Object.defineProperty(Fe,"XmlComment",{enumerable:!0,get:function(){return Jr(Rat).default}});var Fat=lL();Object.defineProperty(Fe,"XmlDecl",{enumerable:!0,get:function(){return Jr(Fat).default}});var $at=YS();Object.defineProperty(Fe,"XmlDocument",{enumerable:!0,get:function(){return Jr($at).default}});var Uat=WS();Object.defineProperty(Fe,"XmlDtd",{enumerable:!0,get:function(){return Jr(Uat).default}});var zat=UD();Object.defineProperty(Fe,"XmlDtdAttlist",{enumerable:!0,get:function(){return Jr(zat).default}});var qat=qD();Object.defineProperty(Fe,"XmlDtdElement",{enumerable:!0,get:function(){return Jr(qat).default}});var Bat=VD();Object.defineProperty(Fe,"XmlDtdEntity",{enumerable:!0,get:function(){return Jr(Bat).default}});var Vat=ZD();Object.defineProperty(Fe,"XmlDtdNotation",{enumerable:!0,get:function(){return Jr(Vat).default}});var Wat=GD();Object.defineProperty(Fe,"XmlDtdParamEntityRef",{enumerable:!0,get:function(){return Jr(Wat).default}});var Zat=JS();Object.defineProperty(Fe,"XmlElement",{enumerable:!0,get:function(){return Jr(Zat).default}});var Hat=zS();Object.defineProperty(Fe,"XmlEntityRef",{enumerable:!0,get:function(){return Jr(Hat).default}});var Gat=_y();Object.defineProperty(Fe,"XmlProcInst",{enumerable:!0,get:function(){return Jr(Gat).default}});function Jat(e){return e===void 0&&(e={}),new Lat.default(e)}Fe.document=Jat});var cL=h(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.stringify=Kr.isMap=Kr.isSet=Kr.isFunction=Kr.isArray=Kr.isObject=Kr.isNull=Kr.isUndefined=void 0;function Vle(e){return Object.prototype.toString.call(e)==="[object Undefined]"}Kr.isUndefined=Vle;function Wle(e){return Object.prototype.toString.call(e)==="[object Null]"}Kr.isNull=Wle;function Kat(e){return Object.prototype.toString.call(e)==="[object Object]"}Kr.isObject=Kat;function Xat(e){return Object.prototype.toString.call(e)==="[object Array]"}Kr.isArray=Xat;function Zle(e){return Object.prototype.toString.call(e)==="[object Function]"}Kr.isFunction=Zle;function Yat(e){return Object.prototype.toString.call(e)==="[object Set]"}Kr.isSet=Yat;function Qat(e){return Object.prototype.toString.call(e)==="[object Map]"}Kr.isMap=Qat;function eot(e){return!Vle(e)&&!Wle(e)&&Zle(e?.toString)&&(e=e.toString()),String(e)}Kr.stringify=eot});var Yle=h(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.WrapHandlers=bi.TypeHandlers=bi.FormatOptions=bi.DtdOptions=bi.DeclarationOptions=bi.Options=void 0;var Eo=cL(),tot=function(){function e(t){t===void 0&&(t={}),this.aliasString="=",this.attributeString="@",this.cdataInvalidChars=!1,this.cdataKeys=[],this.replaceInvalidChars=!1,this.useSelfClosingTagIfEmpty=!0,this.validation=!0,this.valueString="#",(0,Eo.isUndefined)(t.validation)||(this.validation=t.validation),(0,Eo.isUndefined)(t.aliasString)||(this.aliasString=t.aliasString),(0,Eo.isUndefined)(t.attributeString)||(this.attributeString=t.attributeString),(0,Eo.isUndefined)(t.cdataInvalidChars)||(this.cdataInvalidChars=t.cdataInvalidChars),(0,Eo.isUndefined)(t.cdataKeys)||(this.cdataKeys=t.cdataKeys),this.declaration=new Hle(t.declaration),this.dtd=new Gle(this.validation,t.dtd),this.format=new Jle(t.format),(0,Eo.isUndefined)(t.replaceInvalidChars)||(this.replaceInvalidChars=t.replaceInvalidChars),this.typeHandlers=new Kle(t.typeHandlers),(0,Eo.isUndefined)(t.useSelfClosingTagIfEmpty)||(this.useSelfClosingTagIfEmpty=t.useSelfClosingTagIfEmpty),(0,Eo.isUndefined)(t.valueString)||(this.valueString=t.valueString),this.wrapHandlers=new Xle(t.wrapHandlers)}return e}();bi.Options=tot;var Hle=function(){function e(t){t===void 0&&(t={}),this.include=!0,(0,Eo.isUndefined)(t.include)||(this.include=t.include),this.encoding=t.encoding,this.standalone=t.standalone,this.version=t.version}return e}();bi.DeclarationOptions=Hle;var Gle=function(){function e(t,r){if(r===void 0&&(r={}),this.include=!1,(0,Eo.isUndefined)(r.include)||(this.include=r.include),t&&(0,Eo.isUndefined)(r.name)&&this.include)throw new Error("options.dtd.name should be defined if options.dtd.include is true");this.name=r.name,this.sysId=r.sysId,this.pubId=r.pubId}return e}();bi.DtdOptions=Gle;var Jle=function(){function e(t){t===void 0&&(t={}),this.doubleQuotes=t.doubleQuotes,this.indent=t.indent,this.newline=t.newline,this.pretty=t.pretty}return e}();bi.FormatOptions=Jle;var Kle=function(){function e(t){t===void 0&&(t={});for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(this[r]=t[r])}return e}();bi.TypeHandlers=Kle;var Xle=function(){function e(t){t===void 0&&(t={});for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(this[r]=t[r])}return e}();bi.WrapHandlers=Xle});var ice=h($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.parse=$u.parseToExistingElement=$u.Absent=void 0;var ece=Ble(),tce=Yle(),cr=cL(),uL=function(){function e(){}return Object.defineProperty(e,"instance",{get:function(){return e._instance},enumerable:!1,configurable:!0}),e._instance=new e,e}();$u.Absent=uL;function dL(e,t){var r=Object.prototype.toString.call(e),n;return Object.prototype.hasOwnProperty.call(t.typeHandlers,"*")&&(n=t.typeHandlers["*"]),Object.prototype.hasOwnProperty.call(t.typeHandlers,r)&&(n=t.typeHandlers[r]),n}function rce(e,t,r){var n=function(o){return r.cdataInvalidChars&&(o.indexOf("<")!==-1||o.indexOf("&")!==-1)||r.cdataKeys.indexOf(t.name)!==-1||r.cdataKeys.indexOf("*")!==-1};if(t instanceof ece.XmlElement)if(n(e))for(var i=e.split("]]>"),a=0;a<i.length;a++)n(i[a])?t.cdata({charData:i[a],replaceInvalidCharsInCharData:r.replaceInvalidChars}):t.charData({charData:i[a],replaceInvalidCharsInCharData:r.replaceInvalidChars}),a<i.length-1&&t.charData({charData:"]]>",replaceInvalidCharsInCharData:r.replaceInvalidChars});else t.charData({charData:e,replaceInvalidCharsInCharData:r.replaceInvalidChars});else t.text({charData:e,replaceInvalidCharsInCharData:r.replaceInvalidChars})}function rot(e,t,r,n){var i=r.attribute({name:e,replaceInvalidCharsInName:n.replaceInvalidChars});rce((0,cr.stringify)(t),i,n)}function Qle(e,t,r,n){if(e===n.aliasString){r.name=(0,cr.stringify)(t);return}if(e.indexOf(n.attributeString)===0&&(0,cr.isObject)(t)){for(var i=0,a=Object.keys(t);i<a.length;i++){var o=a[i];rot(o,(0,cr.stringify)(t[o]),r,n)}return}if(e.indexOf(n.valueString)===0){QS(e,(0,cr.stringify)(t),r,n);return}var s=r;if(!(0,cr.isArray)(t)&&!(0,cr.isSet)(t)){var l=dL(t,n);if(!(0,cr.isUndefined)(l)&&l(t)===uL.instance)return;s=r.element({name:e,replaceInvalidCharsInName:n.replaceInvalidChars,useSelfClosingTagIfEmpty:n.useSelfClosingTagIfEmpty})}QS(e,t,s,n)}function not(e,t,r){if((0,cr.isMap)(e))e.forEach(function(o,s){Qle((0,cr.stringify)(s),o,t,r)});else for(var n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];Qle(a,e[a],t,r)}}function iot(e,t,r,n){var i;Object.prototype.hasOwnProperty.call(n.wrapHandlers,"*")&&(i=n.wrapHandlers["*"]),Object.prototype.hasOwnProperty.call(n.wrapHandlers,e)&&(i=n.wrapHandlers[e]);var a=e,o=r;if(!(0,cr.isUndefined)(i)){var s=i(a,t);(0,cr.isNull)(s)||(a=s,o=r.element({name:e,replaceInvalidCharsInName:n.replaceInvalidChars,useSelfClosingTagIfEmpty:n.useSelfClosingTagIfEmpty}))}t.forEach(function(l){var c=o;if(!(0,cr.isArray)(l)&&!(0,cr.isSet)(l)){var u=dL(l,n);if(!(0,cr.isUndefined)(u)&&u(l)===uL.instance)return;c=o.element({name:a,replaceInvalidCharsInName:n.replaceInvalidChars,useSelfClosingTagIfEmpty:n.useSelfClosingTagIfEmpty})}QS(a,l,c,n)})}function QS(e,t,r,n){var i=dL(t,n);if((0,cr.isUndefined)(i)||(t=i(t)),(0,cr.isObject)(t)||(0,cr.isMap)(t)){not(t,r,n);return}if((0,cr.isArray)(t)||(0,cr.isSet)(t)){iot(e,t,r,n);return}rce((0,cr.stringify)(t),r,n)}function nce(e,t,r){var n=new tce.Options(r);QS(e.name,t,e,n)}$u.parseToExistingElement=nce;function aot(e,t,r){var n=new tce.Options(r),i=new ece.XmlDocument({validation:n.validation});n.declaration.include&&i.decl(n.declaration),n.dtd.include&&i.dtd({name:n.dtd.name,pubId:n.dtd.pubId,sysId:n.dtd.sysId});var a=i.element({name:e,replaceInvalidCharsInName:n.replaceInvalidChars,useSelfClosingTagIfEmpty:n.useSelfClosingTagIfEmpty});return nce(a,t,r),i.toString(n.format)}$u.parse=aot});var Ay=h((X5t,pL)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?pL.exports={nextTick:oot}:pL.exports=process;function oot(e,t,r,n){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var i=arguments.length,a,o;switch(i){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,n)});default:for(a=new Array(i-1),o=0;o<a.length;)a[o++]=arguments[o];return process.nextTick(function(){e.apply(null,a)})}}});var oce=h((Y5t,ace)=>{var sot={}.toString;ace.exports=Array.isArray||function(e){return sot.call(e)=="[object Array]"}});var fL=h((Q5t,sce)=>{sce.exports=require("stream")});var t5=h((mL,cce)=>{var e5=require("buffer"),lc=e5.Buffer;function lce(e,t){for(var r in e)t[r]=e[r]}lc.from&&lc.alloc&&lc.allocUnsafe&&lc.allocUnsafeSlow?cce.exports=e5:(lce(e5,mL),mL.Buffer=dh);function dh(e,t,r){return lc(e,t,r)}lce(lc,dh);dh.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return lc(e,t,r)};dh.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=lc(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};dh.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return lc(e)};dh.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return e5.SlowBuffer(e)}});var ph=h(An=>{function lot(e){return Array.isArray?Array.isArray(e):r5(e)==="[object Array]"}An.isArray=lot;function cot(e){return typeof e=="boolean"}An.isBoolean=cot;function uot(e){return e===null}An.isNull=uot;function dot(e){return e==null}An.isNullOrUndefined=dot;function pot(e){return typeof e=="number"}An.isNumber=pot;function fot(e){return typeof e=="string"}An.isString=fot;function mot(e){return typeof e=="symbol"}An.isSymbol=mot;function hot(e){return e===void 0}An.isUndefined=hot;function got(e){return r5(e)==="[object RegExp]"}An.isRegExp=got;function yot(e){return typeof e=="object"&&e!==null}An.isObject=yot;function bot(e){return r5(e)==="[object Date]"}An.isDate=bot;function vot(e){return r5(e)==="[object Error]"||e instanceof Error}An.isError=vot;function _ot(e){return typeof e=="function"}An.isFunction=_ot;function wot(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}An.isPrimitive=wot;An.isBuffer=require("buffer").Buffer.isBuffer;function r5(e){return Object.prototype.toString.call(e)}});var dce=h((t8t,hL)=>{"use strict";function Sot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var uce=t5().Buffer,Dy=require("util");function Eot(e,t,r){e.copy(t,r)}hL.exports=function(){function e(){Sot(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length},e.prototype.unshift=function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length},e.prototype.shift=function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i},e.prototype.concat=function(r){if(this.length===0)return uce.alloc(0);for(var n=uce.allocUnsafe(r>>>0),i=this.head,a=0;i;)Eot(i.data,n,a),a+=i.data.length,i=i.next;return n},e}();Dy&&Dy.inspect&&Dy.inspect.custom&&(hL.exports.prototype[Dy.inspect.custom]=function(){var e=Dy.inspect({length:this.length});return this.constructor.name+" "+e})});var gL=h((r8t,pce)=>{"use strict";var n5=Ay();function xot(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n5.nextTick(i5,this,e)):n5.nextTick(i5,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n5.nextTick(i5,r,a)):n5.nextTick(i5,r,a):t&&t(a)}),this)}function Oot(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),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 i5(e,t){e.emit("error",t)}pce.exports={destroy:xot,undestroy:Oot}});var bL=h((n8t,_ce)=>{"use strict";var Ip=Ay();_ce.exports=Sr;function mce(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Bot(t,e)}}var Cot=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ip.nextTick,fh;Sr.WritableState=ky;var hce=Object.create(ph());hce.inherits=xa();var Tot={deprecate:qC()},gce=fL(),o5=t5().Buffer,Iot=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Aot(e){return o5.from(e)}function Dot(e){return o5.isBuffer(e)||e instanceof Iot}var yce=gL();hce.inherits(Sr,gce);function Lot(){}function ky(e,t){fh=fh||Ap(),e=e||{};var r=t instanceof fh;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,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 o=e.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(s){Fot(t,s)},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 mce(this)}ky.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(ky.prototype,"buffer",{get:Tot.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var a5;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(a5=Function.prototype[Symbol.hasInstance],Object.defineProperty(Sr,Symbol.hasInstance,{value:function(e){return a5.call(this,e)?!0:this!==Sr?!1:e&&e._writableState instanceof ky}})):a5=function(e){return e instanceof this};function Sr(e){if(fh=fh||Ap(),!a5.call(Sr,this)&&!(this instanceof fh))return new Sr(e);this._writableState=new ky(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),gce.call(this)}Sr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function kot(e,t){var r=new Error("write after end");e.emit("error",r),Ip.nextTick(t,r)}function Not(e,t,r,n){var i=!0,a=!1;return r===null?a=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Ip.nextTick(n,a),i=!1),i}Sr.prototype.write=function(e,t,r){var n=this._writableState,i=!1,a=!n.objectMode&&Dot(e);return a&&!o5.isBuffer(e)&&(e=Aot(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Lot),n.ended?kot(this,r):(a||Not(this,n,e,r))&&(n.pendingcb++,i=Pot(this,n,a,e,t,r)),i};Sr.prototype.cork=function(){var e=this._writableState;e.corked++};Sr.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&bce(this,e))};Sr.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function jot(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=o5.from(t,r)),t}Object.defineProperty(Sr.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Pot(e,t,r,n,i,a){if(!r){var o=jot(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else yL(e,t,!1,s,n,i,a);return l}function yL(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function Mot(e,t,r,n,i){--t.pendingcb,r?(Ip.nextTick(i,n),Ip.nextTick(Ly,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),Ly(e,t))}function Rot(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Fot(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(Rot(r),t)Mot(e,r,n,t,i);else{var a=vce(r);!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&bce(e,r),n?Cot(fce,e,r,a,i):fce(e,r,a,i)}}function fce(e,t,r,n){r||$ot(e,t),t.pendingcb--,n(),Ly(e,t)}function $ot(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function bce(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=!0;r;)i[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,yL(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new mce(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,u=r.callback,d=t.objectMode?1:l.length;if(yL(e,t,!1,d,l,c,u),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}Sr.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))};Sr.prototype._writev=null;Sr.prototype.end=function(e,t,r){var n=this._writableState;typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||qot(this,n,r)};function vce(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Uot(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),Ly(e,t)})}function zot(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Ip.nextTick(Uot,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Ly(e,t){var r=vce(t);return r&&(zot(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),r}function qot(e,t,r){t.ending=!0,Ly(e,t),r&&(t.finished?Ip.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Bot(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(Sr.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});Sr.prototype.destroy=yce.destroy;Sr.prototype._undestroy=yce.undestroy;Sr.prototype._destroy=function(e,t){this.end(),t(e)}});var Ap=h((i8t,xce)=>{"use strict";var wce=Ay(),Vot=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};xce.exports=cc;var Sce=Object.create(ph());Sce.inherits=xa();var Ece=wL(),_L=bL();Sce.inherits(cc,Ece);for(vL=Vot(_L.prototype),s5=0;s5<vL.length;s5++)l5=vL[s5],cc.prototype[l5]||(cc.prototype[l5]=_L.prototype[l5]);var vL,l5,s5;function cc(e){if(!(this instanceof cc))return new cc(e);Ece.call(this,e),_L.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",Wot)}Object.defineProperty(cc.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Wot(){this.allowHalfOpen||this._writableState.ended||wce.nextTick(Zot,this)}function Zot(e){e.end()}Object.defineProperty(cc.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});cc.prototype._destroy=function(e,t){this.push(null),this.end(),wce.nextTick(t,e)}});var wL=h((o8t,Mce)=>{"use strict";var hh=Ay();Mce.exports=Rt;var Hot=oce(),Ny;Rt.ReadableState=Lce;var a8t=require("events").EventEmitter,Ice=function(e,t){return e.listeners(t).length},CL=fL(),jy=t5().Buffer,Got=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Jot(e){return jy.from(e)}function Kot(e){return jy.isBuffer(e)||e instanceof Got}var Ace=Object.create(ph());Ace.inherits=xa();var SL=require("util"),gt=void 0;SL&&SL.debuglog?gt=SL.debuglog("stream"):gt=function(){};var Xot=dce(),Dce=gL(),mh;Ace.inherits(Rt,CL);var EL=["error","close","destroy","pause","resume"];function Yot(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Hot(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Lce(e,t){Ny=Ny||Ap(),e=e||{};var r=t instanceof Ny;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16*1024;n||n===0?this.highWaterMark=n:r&&(i||i===0)?this.highWaterMark=i:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Xot,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=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(mh||(mh=Wg().StringDecoder),this.decoder=new mh(e.encoding),this.encoding=e.encoding)}function Rt(e){if(Ny=Ny||Ap(),!(this instanceof Rt))return new Rt(e);this._readableState=new Lce(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),CL.call(this)}Object.defineProperty(Rt.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Rt.prototype.destroy=Dce.destroy;Rt.prototype._undestroy=Dce.undestroy;Rt.prototype._destroy=function(e,t){this.push(null),t(e)};Rt.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=jy.from(e,t),t=""),n=!0),kce(this,e,t,!1,n)};Rt.prototype.unshift=function(e){return kce(this,e,null,!0,!1)};function kce(e,t,r,n,i){var a=e._readableState;if(t===null)a.reading=!1,rst(e,a);else{var o;i||(o=Qot(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==jy.prototype&&(t=Jot(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):xL(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?xL(e,a,t,!1):Nce(e,a)):xL(e,a,t,!1))):n||(a.reading=!1)}return est(a)}function xL(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&c5(e)),Nce(e,t)}function Qot(e,t){var r;return!Kot(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function est(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Rt.prototype.isPaused=function(){return this._readableState.flowing===!1};Rt.prototype.setEncoding=function(e){return mh||(mh=Wg().StringDecoder),this._readableState.decoder=new mh(e),this._readableState.encoding=e,this};var Oce=8388608;function tst(e){return e>=Oce?e=Oce:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Cce(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=tst(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Rt.prototype.read=function(e){gt("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return gt("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?OL(this):c5(this),null;if(e=Cce(e,t),e===0&&t.ended)return t.length===0&&OL(this),null;var n=t.needReadable;gt("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,gt("length less than watermark",n)),t.ended||t.reading?(n=!1,gt("reading or ended",n)):n&&(gt("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Cce(r,t)));var i;return e>0?i=jce(e,t):i=null,i===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&OL(this)),i!==null&&this.emit("data",i),i};function rst(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,c5(e)}}function c5(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(gt("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?hh.nextTick(Tce,e):Tce(e))}function Tce(e){gt("emit readable"),e.emit("readable"),TL(e)}function Nce(e,t){t.readingMore||(t.readingMore=!0,hh.nextTick(nst,e,t))}function nst(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(gt("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}Rt.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Rt.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,gt("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=i?s:v;n.endEmitted?hh.nextTick(a):r.once("end",a),e.on("unpipe",o);function o(S,E){gt("onunpipe"),S===r&&E&&E.hasUnpiped===!1&&(E.hasUnpiped=!0,u())}function s(){gt("onend"),e.end()}var l=ist(r);e.on("drain",l);var c=!1;function u(){gt("cleanup"),e.removeListener("close",m),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",o),r.removeListener("end",s),r.removeListener("end",v),r.removeListener("data",f),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}var d=!1;r.on("data",f);function f(S){gt("ondata"),d=!1;var E=e.write(S);E===!1&&!d&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Pce(n.pipes,e)!==-1)&&!c&&(gt("false write response, pause",n.awaitDrain),n.awaitDrain++,d=!0),r.pause())}function p(S){gt("onerror",S),v(),e.removeListener("error",p),Ice(e,"error")===0&&e.emit("error",S)}Yot(e,"error",p);function m(){e.removeListener("finish",y),v()}e.once("close",m);function y(){gt("onfinish"),e.removeListener("close",m),v()}e.once("finish",y);function v(){gt("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(gt("pipe resume"),r.resume()),e};function ist(e){return function(){var t=e._readableState;gt("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&Ice(e,"data")&&(t.flowing=!0,TL(e))}}Rt.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Pce(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};Rt.prototype.on=function(e,t){var r=CL.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var n=this._readableState;!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&c5(this):hh.nextTick(ast,this))}return r};Rt.prototype.addListener=Rt.prototype.on;function ast(e){gt("readable nexttick read 0"),e.read(0)}Rt.prototype.resume=function(){var e=this._readableState;return e.flowing||(gt("resume"),e.flowing=!0,ost(this,e)),this};function ost(e,t){t.resumeScheduled||(t.resumeScheduled=!0,hh.nextTick(sst,e,t))}function sst(e,t){t.reading||(gt("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),TL(e),t.flowing&&!t.reading&&e.read(0)}Rt.prototype.pause=function(){return gt("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(gt("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function TL(e){var t=e._readableState;for(gt("flow",t.flowing);t.flowing&&e.read()!==null;);}Rt.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(gt("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(gt("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var s=t.push(o);s||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(o){return function(){return e[o].apply(e,arguments)}}(i));for(var a=0;a<EL.length;a++)e.on(EL[a],this.emit.bind(this,EL[a]));return this._read=function(o){gt("wrapped _read",o),n&&(n=!1,e.resume())},this};Object.defineProperty(Rt.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Rt._fromList=jce;function jce(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.head.data:r=t.buffer.concat(t.length),t.buffer.clear()):r=lst(e,t.buffer,t.decoder),r}function lst(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?n=t.shift():n=r?cst(e,t):ust(e,t),n}function cst(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),e-=o,e===0){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function ust(e,t){var r=jy.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),e-=o,e===0){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function OL(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,hh.nextTick(dst,t,e))}function dst(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Pce(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var IL=h((s8t,$ce)=>{"use strict";$ce.exports=uc;var u5=Ap(),Fce=Object.create(ph());Fce.inherits=xa();Fce.inherits(uc,u5);function pst(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function uc(e){if(!(this instanceof uc))return new uc(e);u5.call(this,e),this._transformState={afterTransform:pst.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",fst)}function fst(){var e=this;typeof this._flush=="function"?this._flush(function(t,r){Rce(e,t,r)}):Rce(this,null,null)}uc.prototype.push=function(e,t){return this._transformState.needTransform=!1,u5.prototype.push.call(this,e,t)};uc.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};uc.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};uc.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};uc.prototype._destroy=function(e,t){var r=this;u5.prototype._destroy.call(this,e,function(n){t(n),r.emit("close")})};function Rce(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var Bce=h((l8t,qce)=>{"use strict";qce.exports=Py;var Uce=IL(),zce=Object.create(ph());zce.inherits=xa();zce.inherits(Py,Uce);function Py(e){if(!(this instanceof Py))return new Py(e);Uce.call(this,e)}Py.prototype._transform=function(e,t,r){r(null,e)}});var AL=h((hn,d5)=>{var cl=require("stream");process.env.READABLE_STREAM==="disable"&&cl?(d5.exports=cl,hn=d5.exports=cl.Readable,hn.Readable=cl.Readable,hn.Writable=cl.Writable,hn.Duplex=cl.Duplex,hn.Transform=cl.Transform,hn.PassThrough=cl.PassThrough,hn.Stream=cl):(hn=d5.exports=wL(),hn.Stream=cl||hn,hn.Readable=hn,hn.Writable=bL(),hn.Duplex=Ap(),hn.Transform=IL(),hn.PassThrough=Bce())});var dc=h(Yi=>{"use strict";Yi.base64=!0;Yi.array=!0;Yi.string=!0;Yi.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Yi.nodebuffer=typeof Buffer<"u";Yi.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Yi.blob=!1;else{DL=new ArrayBuffer(0);try{Yi.blob=new Blob([DL],{type:"application/zip"}).size===0}catch{try{Vce=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,LL=new Vce,LL.append(DL),Yi.blob=LL.getBlob("application/zip").size===0}catch{Yi.blob=!1}}}var DL,Vce,LL;try{Yi.nodestream=!!AL().Readable}catch{Yi.nodestream=!1}});var NL=h(kL=>{"use strict";var mst=Jt(),hst=dc(),ul="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";kL.encode=function(e){for(var t=[],r,n,i,a,o,s,l,c=0,u=e.length,d=u,f=mst.getTypeOf(e)!=="string";c<e.length;)d=u-c,f?(r=e[c++],n=c<u?e[c++]:0,i=c<u?e[c++]:0):(r=e.charCodeAt(c++),n=c<u?e.charCodeAt(c++):0,i=c<u?e.charCodeAt(c++):0),a=r>>2,o=(r&3)<<4|n>>4,s=d>1?(n&15)<<2|i>>6:64,l=d>2?i&63:64,t.push(ul.charAt(a)+ul.charAt(o)+ul.charAt(s)+ul.charAt(l));return t.join("")};kL.decode=function(e){var t,r,n,i,a,o,s,l=0,c=0,u="data:";if(e.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9+/=]/g,"");var d=e.length*3/4;if(e.charAt(e.length-1)===ul.charAt(64)&&d--,e.charAt(e.length-2)===ul.charAt(64)&&d--,d%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(hst.uint8array?f=new Uint8Array(d|0):f=new Array(d|0);l<e.length;)i=ul.indexOf(e.charAt(l++)),a=ul.indexOf(e.charAt(l++)),o=ul.indexOf(e.charAt(l++)),s=ul.indexOf(e.charAt(l++)),t=i<<2|a>>4,r=(a&15)<<4|o>>2,n=(o&3)<<6|s,f[c++]=t,o!==64&&(f[c++]=r),s!==64&&(f[c++]=n);return f}});var My=h((d8t,Wce)=>{"use strict";Wce.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}});var Jce=h((p8t,Gce)=>{"use strict";var Zce=global.MutationObserver||global.WebKitMutationObserver,gh;process.browser?Zce?(jL=0,Hce=new Zce(Ry),PL=global.document.createTextNode(""),Hce.observe(PL,{characterData:!0}),gh=function(){PL.data=jL=++jL%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(ML=new global.MessageChannel,ML.port1.onmessage=Ry,gh=function(){ML.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?gh=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){Ry(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:gh=function(){setTimeout(Ry,0)}:gh=function(){process.nextTick(Ry)};var jL,Hce,PL,ML,RL,Fy=[];function Ry(){RL=!0;for(var e,t,r=Fy.length;r;){for(t=Fy,Fy=[],e=-1;++e<r;)t[e]();r=Fy.length}RL=!1}Gce.exports=gst;function gst(e){Fy.push(e)===1&&!RL&&gh()}});var rue=h((f8t,tue)=>{"use strict";var Kce=Jce();function yh(){}var Dn={},Xce=["REJECTED"],FL=["FULFILLED"],Yce=["PENDING"];process.browser||($y=["UNHANDLED"]);var $y;tue.exports=Uu;function Uu(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=Yce,this.queue=[],this.outcome=void 0,process.browser||(this.handled=$y),e!==yh&&Qce(this,e)}Uu.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(r,n);function r(i){function a(){return i}return t.resolve(e()).then(a)}function n(i){function a(){throw i}return t.resolve(e()).then(a)}};Uu.prototype.catch=function(e){return this.then(null,e)};Uu.prototype.then=function(e,t){if(typeof e!="function"&&this.state===FL||typeof t!="function"&&this.state===Xce)return this;var r=new this.constructor(yh);if(process.browser||this.handled===$y&&(this.handled=null),this.state!==Yce){var n=this.state===FL?e:t;$L(r,n,this.outcome)}else this.queue.push(new Uy(r,e,t));return r};function Uy(e,t,r){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof r=="function"&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}Uy.prototype.callFulfilled=function(e){Dn.resolve(this.promise,e)};Uy.prototype.otherCallFulfilled=function(e){$L(this.promise,this.onFulfilled,e)};Uy.prototype.callRejected=function(e){Dn.reject(this.promise,e)};Uy.prototype.otherCallRejected=function(e){$L(this.promise,this.onRejected,e)};function $L(e,t,r){Kce(function(){var n;try{n=t(r)}catch(i){return Dn.reject(e,i)}n===e?Dn.reject(e,new TypeError("Cannot resolve promise with itself")):Dn.resolve(e,n)})}Dn.resolve=function(e,t){var r=eue(yst,t);if(r.status==="error")return Dn.reject(e,r.value);var n=r.value;if(n)Qce(e,n);else{e.state=FL,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e};Dn.reject=function(e,t){e.state=Xce,e.outcome=t,process.browser||e.handled===$y&&Kce(function(){e.handled===$y&&process.emit("unhandledRejection",t,e)});for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e};function yst(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function Qce(e,t){var r=!1;function n(s){r||(r=!0,Dn.reject(e,s))}function i(s){r||(r=!0,Dn.resolve(e,s))}function a(){t(i,n)}var o=eue(a);o.status==="error"&&n(o.value)}function eue(e,t){var r={};try{r.value=e(t),r.status="success"}catch(n){r.status="error",r.value=n}return r}Uu.resolve=bst;function bst(e){return e instanceof this?e:Dn.resolve(new this(yh),e)}Uu.reject=vst;function vst(e){var t=new this(yh);return Dn.reject(t,e)}Uu.all=_st;function _st(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var i=new Array(r),a=0,o=-1,s=new this(yh);++o<r;)l(e[o],o);return s;function l(c,u){t.resolve(c).then(d,function(f){n||(n=!0,Dn.reject(s,f))});function d(f){i[u]=f,++a===r&&!n&&(n=!0,Dn.resolve(s,i))}}}Uu.race=wst;function wst(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var i=-1,a=new this(yh);++i<r;)o(e[i]);return a;function o(s){t.resolve(s).then(function(l){n||(n=!0,Dn.resolve(a,l))},function(l){n||(n=!0,Dn.reject(a,l))})}}});var bh=h((m8t,nue)=>{"use strict";var UL=null;typeof Promise<"u"?UL=Promise:UL=rue();nue.exports={Promise:UL}});var aue=h(iue=>{(function(e,t){"use strict";if(e.setImmediate)return;var r=1,n={},i=!1,a=e.document,o;function s(E){typeof E!="function"&&(E=new Function(""+E));for(var w=new Array(arguments.length-1),_=0;_<w.length;_++)w[_]=arguments[_+1];var b={callback:E,args:w};return n[r]=b,o(r),r++}function l(E){delete n[E]}function c(E){var w=E.callback,_=E.args;switch(_.length){case 0:w();break;case 1:w(_[0]);break;case 2:w(_[0],_[1]);break;case 3:w(_[0],_[1],_[2]);break;default:w.apply(t,_);break}}function u(E){if(i)setTimeout(u,0,E);else{var w=n[E];if(w){i=!0;try{c(w)}finally{l(E),i=!1}}}}function d(){o=function(E){process.nextTick(function(){u(E)})}}function f(){if(e.postMessage&&!e.importScripts){var E=!0,w=e.onmessage;return e.onmessage=function(){E=!1},e.postMessage("","*"),e.onmessage=w,E}}function p(){var E="setImmediate$"+Math.random()+"$",w=function(_){_.source===e&&typeof _.data=="string"&&_.data.indexOf(E)===0&&u(+_.data.slice(E.length))};e.addEventListener?e.addEventListener("message",w,!1):e.attachEvent("onmessage",w),o=function(_){e.postMessage(E+_,"*")}}function m(){var E=new MessageChannel;E.port1.onmessage=function(w){var _=w.data;u(_)},o=function(w){E.port2.postMessage(w)}}function y(){var E=a.documentElement;o=function(w){var _=a.createElement("script");_.onreadystatechange=function(){u(w),_.onreadystatechange=null,E.removeChild(_),_=null},E.appendChild(_)}}function v(){o=function(E){setTimeout(u,0,E)}}var S=Object.getPrototypeOf&&Object.getPrototypeOf(e);S=S&&S.setTimeout?S:e,{}.toString.call(e.process)==="[object process]"?d():f()?p():e.MessageChannel?m():a&&"onreadystatechange"in a.createElement("script")?y():v(),S.setImmediate=s,S.clearImmediate=l})(typeof self>"u"?typeof global>"u"?iue:global:self)});var Jt=h(Er=>{"use strict";var zu=dc(),Sst=NL(),vh=My(),zL=bh();aue();function Est(e){var t=null;return zu.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),f5(e,t)}Er.newBlob=function(e,t){Er.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var r=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,n=new r;return n.append(e),n.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function zy(e){return e}function f5(e,t){for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)&255;return t}var p5={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)t==="array"||t==="nodebuffer"?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return zu.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return zu.nodebuffer&&String.fromCharCode.apply(null,vh.allocBuffer(1)).length===1}catch{return!1}}()}};function qy(e){var t=65536,r=Er.getTypeOf(e),n=!0;if(r==="uint8array"?n=p5.applyCanBeUsed.uint8array:r==="nodebuffer"&&(n=p5.applyCanBeUsed.nodebuffer),n)for(;t>1;)try{return p5.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2)}return p5.stringifyByChar(e)}Er.applyFromCharCode=qy;function m5(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var qu={};qu.string={string:zy,array:function(e){return f5(e,new Array(e.length))},arraybuffer:function(e){return qu.string.uint8array(e).buffer},uint8array:function(e){return f5(e,new Uint8Array(e.length))},nodebuffer:function(e){return f5(e,vh.allocBuffer(e.length))}};qu.array={string:qy,array:zy,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return vh.newBufferFrom(e)}};qu.arraybuffer={string:function(e){return qy(new Uint8Array(e))},array:function(e){return m5(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:zy,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return vh.newBufferFrom(new Uint8Array(e))}};qu.uint8array={string:qy,array:function(e){return m5(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:zy,nodebuffer:function(e){return vh.newBufferFrom(e)}};qu.nodebuffer={string:qy,array:function(e){return m5(e,new Array(e.length))},arraybuffer:function(e){return qu.nodebuffer.uint8array(e).buffer},uint8array:function(e){return m5(e,new Uint8Array(e.length))},nodebuffer:zy};Er.transformTo=function(e,t){if(t||(t=""),!e)return t;Er.checkSupport(e);var r=Er.getTypeOf(t),n=qu[r][e](t);return n};Er.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];i==="."||i===""&&n!==0&&n!==t.length-1||(i===".."?r.pop():r.push(i))}return r.join("/")};Er.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(zu.nodebuffer&&vh.isBuffer(e))return"nodebuffer";if(zu.uint8array&&e instanceof Uint8Array)return"uint8array";if(zu.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Er.checkSupport=function(e){var t=zu[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Er.MAX_VALUE_16BITS=65535;Er.MAX_VALUE_32BITS=-1;Er.pretty=function(e){var t="",r,n;for(n=0;n<(e||"").length;n++)r=e.charCodeAt(n),t+="\\x"+(r<16?"0":"")+r.toString(16).toUpperCase();return t};Er.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})};Er.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r};Er.extend=function(){var e={},t,r;for(t=0;t<arguments.length;t++)for(r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&typeof e[r]>"u"&&(e[r]=arguments[t][r]);return e};Er.prepareContent=function(e,t,r,n,i){var a=zL.Promise.resolve(t).then(function(o){var s=zu.blob&&(o instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(o))!==-1);return s&&typeof FileReader<"u"?new zL.Promise(function(l,c){var u=new FileReader;u.onload=function(d){l(d.target.result)},u.onerror=function(d){c(d.target.error)},u.readAsArrayBuffer(o)}):o});return a.then(function(o){var s=Er.getTypeOf(o);return s?(s==="arraybuffer"?o=Er.transformTo("uint8array",o):s==="string"&&(i?o=Sst.decode(o):r&&n!==!0&&(o=Est(o))),o):zL.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var Qi=h((y8t,sue)=>{"use strict";function oue(e){this.name=e||"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}oue.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(r){t.processChunk(r)}),e.on("end",function(){t.end()}),e.on("error",function(r){t.error(r)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};sue.exports=oue});var wh=h(Bu=>{"use strict";var _h=Jt(),Dp=dc(),xst=My(),h5=Qi(),By=new Array(256);for(pc=0;pc<256;pc++)By[pc]=pc>=252?6:pc>=248?5:pc>=240?4:pc>=224?3:pc>=192?2:1;var pc;By[254]=By[254]=1;var Ost=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(Dp.uint8array?t=new Uint8Array(s):t=new Array(s),a=0,i=0;a<s;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t},Cst=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+By[e[r]]>t?r:t},Tst=function(e){var t,r,n,i,a=e.length,o=new Array(a*2);for(r=0,t=0;t<a;){if(n=e[t++],n<128){o[r++]=n;continue}if(i=By[n],i>4){o[r++]=65533,t+=i-1;continue}for(n&=i===2?31:i===3?15:7;i>1&&t<a;)n=n<<6|e[t++]&63,i--;if(i>1){o[r++]=65533;continue}n<65536?o[r++]=n:(n-=65536,o[r++]=55296|n>>10&1023,o[r++]=56320|n&1023)}return o.length!==r&&(o.subarray?o=o.subarray(0,r):o.length=r),_h.applyFromCharCode(o)};Bu.utf8encode=function(t){return Dp.nodebuffer?xst.newBufferFrom(t,"utf-8"):Ost(t)};Bu.utf8decode=function(t){return Dp.nodebuffer?_h.transformTo("nodebuffer",t).toString("utf-8"):(t=_h.transformTo(Dp.uint8array?"uint8array":"array",t),Tst(t))};function g5(){h5.call(this,"utf-8 decode"),this.leftOver=null}_h.inherits(g5,h5);g5.prototype.processChunk=function(e){var t=_h.transformTo(Dp.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Dp.uint8array){var r=t;t=new Uint8Array(r.length+this.leftOver.length),t.set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=Cst(t),i=t;n!==t.length&&(Dp.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:Bu.utf8decode(i),meta:e.meta})};g5.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Bu.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};Bu.Utf8DecodeWorker=g5;function qL(){h5.call(this,"utf-8 encode")}_h.inherits(qL,h5);qL.prototype.processChunk=function(e){this.push({data:Bu.utf8encode(e.data),meta:e.meta})};Bu.Utf8EncodeWorker=qL});var due=h((v8t,uue)=>{"use strict";var lue=Qi(),cue=Jt();function BL(e){lue.call(this,"ConvertWorker to "+e),this.destType=e}cue.inherits(BL,lue);BL.prototype.processChunk=function(e){this.push({data:cue.transformTo(this.destType,e.data),meta:e.meta})};uue.exports=BL});var mue=h((_8t,fue)=>{"use strict";var pue=AL().Readable,Ist=Jt();Ist.inherits(VL,pue);function VL(e,t,r){pue.call(this,t),this._helper=e;var n=this;e.on("data",function(i,a){n.push(i)||n._helper.pause(),r&&r(a)}).on("error",function(i){n.emit("error",i)}).on("end",function(){n.push(null)})}VL.prototype._read=function(){this._helper.resume()};fue.exports=VL});var WL=h((w8t,yue)=>{"use strict";var Lp=Jt(),Ast=due(),Dst=Qi(),Lst=NL(),kst=dc(),Nst=bh(),hue=null;if(kst.nodestream)try{hue=mue()}catch{}function jst(e,t,r){switch(e){case"blob":return Lp.newBlob(Lp.transformTo("arraybuffer",t),r);case"base64":return Lst.encode(t);default:return Lp.transformTo(e,t)}}function Pst(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function Mst(e,t){return new Nst.Promise(function(r,n){var i=[],a=e._internalType,o=e._outputType,s=e._mimeType;e.on("data",function(l,c){i.push(l),t&&t(c)}).on("error",function(l){i=[],n(l)}).on("end",function(){try{var l=jst(o,Pst(a,i),s);r(l)}catch(c){n(c)}i=[]}).resume()})}function gue(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string";break}try{this._internalType=n,this._outputType=t,this._mimeType=r,Lp.checkSupport(n),this._worker=e.pipe(new Ast(n)),e.lock()}catch(i){this._worker=new Dst("error"),this._worker.error(i)}}gue.prototype={accumulate:function(e){return Mst(this,e)},on:function(e,t){var r=this;return e==="data"?this._worker.on(e,function(n){t.call(r,n.data,n.meta)}):this._worker.on(e,function(){Lp.delay(t,arguments,r)}),this},resume:function(){return Lp.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(Lp.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new hue(this,{objectMode:this._outputType!=="nodebuffer"},e)}};yue.exports=gue});var ZL=h(xo=>{"use strict";xo.base64=!1;xo.binary=!1;xo.dir=!1;xo.createFolders=!0;xo.date=null;xo.compression=null;xo.compressionOptions=null;xo.comment=null;xo.unixPermissions=null;xo.dosPermissions=null});var HL=h((E8t,bue)=>{"use strict";var y5=Jt(),b5=Qi(),Rst=16*1024;function Sh(e){b5.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(r){t.dataIsReady=!0,t.data=r,t.max=r&&r.length||0,t.type=y5.getTypeOf(r),t.isPaused||t._tickAndRepeat()},function(r){t.error(r)})}y5.inherits(Sh,b5);Sh.prototype.cleanUp=function(){b5.prototype.cleanUp.call(this),this.data=null};Sh.prototype.resume=function(){return b5.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,y5.delay(this._tickAndRepeat,[],this)),!0):!1};Sh.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(y5.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};Sh.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=Rst,t=null,r=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r);break}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};bue.exports=Sh});var v5=h((x8t,_ue)=>{"use strict";var Fst=Jt();function $st(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var vue=$st();function Ust(e,t,r,n){var i=vue,a=n+r;e=e^-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}function zst(e,t,r,n){var i=vue,a=n+r;e=e^-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t.charCodeAt(o))&255];return e^-1}_ue.exports=function(t,r){if(typeof t>"u"||!t.length)return 0;var n=Fst.getTypeOf(t)!=="string";return n?Ust(r|0,t,t.length,0):zst(r|0,t,t.length,0)}});var JL=h((O8t,Sue)=>{"use strict";var wue=Qi(),qst=v5(),Bst=Jt();function GL(){wue.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Bst.inherits(GL,wue);GL.prototype.processChunk=function(e){this.streamInfo.crc32=qst(e.data,this.streamInfo.crc32||0),this.push(e)};Sue.exports=GL});var xue=h((C8t,Eue)=>{"use strict";var Vst=Jt(),KL=Qi();function XL(e){KL.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}Vst.inherits(XL,KL);XL.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}KL.prototype.processChunk.call(this,e)};Eue.exports=XL});var _5=h((T8t,Tue)=>{"use strict";var Oue=bh(),Cue=HL(),Wst=JL(),YL=xue();function QL(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}QL.prototype={getContentWorker:function(){var e=new Cue(Oue.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new YL("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new Cue(Oue.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};QL.createWorkerFrom=function(e,t,r){return e.pipe(new Wst).pipe(new YL("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new YL("compressedSize")).withStreamInfo("compression",t)};Tue.exports=QL});var Lue=h((I8t,Due)=>{"use strict";var Zst=WL(),Hst=HL(),ek=wh(),tk=_5(),Iue=Qi(),rk=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};rk.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");r=e.toLowerCase();var n=r==="string"||r==="text";(r==="binarystring"||r==="text")&&(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new ek.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new ek.Utf8DecodeWorker))}catch(a){t=new Iue("error"),t.error(a)}return new Zst(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof tk&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new ek.Utf8EncodeWorker)),tk.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof tk?this._data.getContentWorker():this._data instanceof Iue?this._data:new Hst(this._data)}};var Aue=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Gst=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(w5=0;w5<Aue.length;w5++)rk.prototype[Aue[w5]]=Gst;var w5;Due.exports=rk});var fc=h(Yn=>{"use strict";var Jst=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Kst(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Yn.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(var n in r)Kst(r,n)&&(e[n]=r[n])}}return e};Yn.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var Xst={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+n),i);return}for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},Yst={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};Yn.setTyped=function(e){e?(Yn.Buf8=Uint8Array,Yn.Buf16=Uint16Array,Yn.Buf32=Int32Array,Yn.assign(Yn,Xst)):(Yn.Buf8=Array,Yn.Buf16=Array,Yn.Buf32=Array,Yn.assign(Yn,Yst))};Yn.setTyped(Jst)});var ede=h(Oh=>{"use strict";var Qst=fc(),elt=4,kue=0,Nue=1,tlt=2;function xh(e){for(var t=e.length;--t>=0;)e[t]=0}var rlt=0,$ue=1,nlt=2,ilt=3,alt=258,ck=29,Jy=256,Wy=Jy+1+ck,Eh=30,uk=19,Uue=2*Wy+1,kp=15,nk=16,olt=7,dk=256,zue=16,que=17,Bue=18,sk=[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],S5=[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],slt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Vue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],llt=512,mc=new Array((Wy+2)*2);xh(mc);var Vy=new Array(Eh*2);xh(Vy);var Zy=new Array(llt);xh(Zy);var Hy=new Array(alt-ilt+1);xh(Hy);var pk=new Array(ck);xh(pk);var E5=new Array(Eh);xh(E5);function ik(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}var Wue,Zue,Hue;function ak(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Gue(e){return e<256?Zy[e]:Zy[256+(e>>>7)]}function Gy(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function vi(e,t,r){e.bi_valid>nk-r?(e.bi_buf|=t<<e.bi_valid&65535,Gy(e,e.bi_buf),e.bi_buf=t>>nk-e.bi_valid,e.bi_valid+=r-nk):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function dl(e,t,r){vi(e,r[t*2],r[t*2+1])}function Jue(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function clt(e){e.bi_valid===16?(Gy(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function ult(e,t){var r=t.dyn_tree,n=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,c,u,d,f,p,m,y=0;for(f=0;f<=kp;f++)e.bl_count[f]=0;for(r[e.heap[e.heap_max]*2+1]=0,c=e.heap_max+1;c<Uue;c++)u=e.heap[c],f=r[r[u*2+1]*2+1]+1,f>l&&(f=l,y++),r[u*2+1]=f,!(u>n)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=r[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(y!==0){do{for(f=l-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[l]--,y-=2}while(y>0);for(f=l;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--c],!(d>n)&&(r[d*2+1]!==f&&(e.opt_len+=(f-r[d*2+1])*r[d*2],r[d*2+1]=f),u--)}}function Kue(e,t,r){var n=new Array(kp+1),i=0,a,o;for(a=1;a<=kp;a++)n[a]=i=i+r[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Jue(n[s]++,s))}}function dlt(){var e,t,r,n,i,a=new Array(kp+1);for(r=0,n=0;n<ck-1;n++)for(pk[n]=r,e=0;e<1<<sk[n];e++)Hy[r++]=n;for(Hy[r-1]=n,i=0,n=0;n<16;n++)for(E5[n]=i,e=0;e<1<<S5[n];e++)Zy[i++]=n;for(i>>=7;n<Eh;n++)for(E5[n]=i<<7,e=0;e<1<<S5[n]-7;e++)Zy[256+i++]=n;for(t=0;t<=kp;t++)a[t]=0;for(e=0;e<=143;)mc[e*2+1]=8,e++,a[8]++;for(;e<=255;)mc[e*2+1]=9,e++,a[9]++;for(;e<=279;)mc[e*2+1]=7,e++,a[7]++;for(;e<=287;)mc[e*2+1]=8,e++,a[8]++;for(Kue(mc,Wy+1,a),e=0;e<Eh;e++)Vy[e*2+1]=5,Vy[e*2]=Jue(e,5);Wue=new ik(mc,sk,Jy+1,Wy,kp),Zue=new ik(Vy,S5,0,Eh,kp),Hue=new ik(new Array(0),slt,0,uk,olt)}function Xue(e){var t;for(t=0;t<Wy;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Eh;t++)e.dyn_dtree[t*2]=0;for(t=0;t<uk;t++)e.bl_tree[t*2]=0;e.dyn_ltree[dk*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Yue(e){e.bi_valid>8?Gy(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function plt(e,t,r,n){Yue(e),n&&(Gy(e,r),Gy(e,~r)),Qst.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function jue(e,t,r,n){var i=t*2,a=r*2;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function ok(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&jue(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!jue(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function Pue(e,t,r){var n,i,a=0,o,s;if(e.last_lit!==0)do n=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,n===0?dl(e,i,t):(o=Hy[i],dl(e,o+Jy+1,t),s=sk[o],s!==0&&(i-=pk[o],vi(e,i,s)),n--,o=Gue(n),dl(e,o,r),s=S5[o],s!==0&&(n-=E5[o],vi(e,n,s)));while(a<e.last_lit);dl(e,dk,t)}function lk(e,t){var r=t.dyn_tree,n=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,l=-1,c;for(e.heap_len=0,e.heap_max=Uue,o=0;o<a;o++)r[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)c=e.heap[++e.heap_len]=l<2?++l:0,r[c*2]=1,e.depth[c]=0,e.opt_len--,i&&(e.static_len-=n[c*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)ok(e,r,o);c=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ok(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[c*2]=r[o*2]+r[s*2],e.depth[c]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=c,e.heap[1]=c++,ok(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],ult(e,t),Kue(r,l,e.bl_count)}function Mue(e,t,r){var n,i=-1,a,o=t[0*2+1],s=0,l=7,c=4;for(o===0&&(l=138,c=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)a=o,o=t[(n+1)*2+1],!(++s<l&&a===o)&&(s<c?e.bl_tree[a*2]+=s:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[zue*2]++):s<=10?e.bl_tree[que*2]++:e.bl_tree[Bue*2]++,s=0,i=a,o===0?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4))}function Rue(e,t,r){var n,i=-1,a,o=t[0*2+1],s=0,l=7,c=4;for(o===0&&(l=138,c=3),n=0;n<=r;n++)if(a=o,o=t[(n+1)*2+1],!(++s<l&&a===o)){if(s<c)do dl(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==i&&(dl(e,a,e.bl_tree),s--),dl(e,zue,e.bl_tree),vi(e,s-3,2)):s<=10?(dl(e,que,e.bl_tree),vi(e,s-3,3)):(dl(e,Bue,e.bl_tree),vi(e,s-11,7));s=0,i=a,o===0?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4)}}function flt(e){var t;for(Mue(e,e.dyn_ltree,e.l_desc.max_code),Mue(e,e.dyn_dtree,e.d_desc.max_code),lk(e,e.bl_desc),t=uk-1;t>=3&&e.bl_tree[Vue[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function mlt(e,t,r,n){var i;for(vi(e,t-257,5),vi(e,r-1,5),vi(e,n-4,4),i=0;i<n;i++)vi(e,e.bl_tree[Vue[i]*2+1],3);Rue(e,e.dyn_ltree,t-1),Rue(e,e.dyn_dtree,r-1)}function hlt(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return kue;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Nue;for(r=32;r<Jy;r++)if(e.dyn_ltree[r*2]!==0)return Nue;return kue}var Fue=!1;function glt(e){Fue||(dlt(),Fue=!0),e.l_desc=new ak(e.dyn_ltree,Wue),e.d_desc=new ak(e.dyn_dtree,Zue),e.bl_desc=new ak(e.bl_tree,Hue),e.bi_buf=0,e.bi_valid=0,Xue(e)}function Que(e,t,r,n){vi(e,(rlt<<1)+(n?1:0),3),plt(e,t,r,!0)}function ylt(e){vi(e,$ue<<1,3),dl(e,dk,mc),clt(e)}function blt(e,t,r,n){var i,a,o=0;e.level>0?(e.strm.data_type===tlt&&(e.strm.data_type=hlt(e)),lk(e,e.l_desc),lk(e,e.d_desc),o=flt(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&t!==-1?Que(e,t,r,n):e.strategy===elt||a===i?(vi(e,($ue<<1)+(n?1:0),3),Pue(e,mc,Vy)):(vi(e,(nlt<<1)+(n?1:0),3),mlt(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Pue(e,e.dyn_ltree,e.dyn_dtree)),Xue(e),n&&Yue(e)}function vlt(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Hy[r]+Jy+1)*2]++,e.dyn_dtree[Gue(t)*2]++),e.last_lit===e.lit_bufsize-1}Oh._tr_init=glt;Oh._tr_stored_block=Que;Oh._tr_flush_block=blt;Oh._tr_tally=vlt;Oh._tr_align=ylt});var fk=h((L8t,tde)=>{"use strict";function _lt(e,t,r,n){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do i=i+t[n++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}tde.exports=_lt});var mk=h((k8t,rde)=>{"use strict";function wlt(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var Slt=wlt();function Elt(e,t,r,n){var i=Slt,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}rde.exports=Elt});var x5=h((N8t,nde)=>{"use strict";nde.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 pde=h(ml=>{"use strict";var Qn=fc(),Ua=ede(),sde=fk(),Vu=mk(),xlt=x5(),Mp=0,Olt=1,Clt=3,Ju=4,ide=5,fl=0,ade=1,za=-2,Tlt=-3,hk=-5,Ilt=-1,Alt=1,O5=2,Dlt=3,Llt=4,klt=0,Nlt=2,A5=8,jlt=9,Plt=15,Mlt=8,Rlt=29,Flt=256,yk=Flt+1+Rlt,$lt=30,Ult=19,zlt=2*yk+1,qlt=15,Qe=3,Hu=258,Oo=Hu+Qe+1,Blt=32,D5=42,bk=69,C5=73,T5=91,I5=103,Np=113,Xy=666,jr=1,Yy=2,jp=3,Ih=4,Vlt=3;function Gu(e,t){return e.msg=xlt[t],t}function ode(e){return(e<<1)-(e>4?9:0)}function Zu(e){for(var t=e.length;--t>=0;)e[t]=0}function Wu(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Qn.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function gn(e,t){Ua._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Wu(e.strm)}function mt(e,t){e.pending_buf[e.pending++]=t}function Ky(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Wlt(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),i===0?0:(e.avail_in-=i,Qn.arraySet(t,e.input,e.next_in,i,r),e.state.wrap===1?e.adler=sde(e.adler,t,i,r):e.state.wrap===2&&(e.adler=Vu(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function lde(e,t){var r=e.max_chain_length,n=e.strstart,i,a,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Oo?e.strstart-(e.w_size-Oo):0,c=e.window,u=e.w_mask,d=e.prev,f=e.strstart+Hu,p=c[n+o-1],m=c[n+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,!(c[i+o]!==m||c[i+o-1]!==p||c[i]!==c[n]||c[++i]!==c[n+1])){n+=2,i++;do;while(c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&n<f);if(a=Hu-(f-n),n=f-Hu,a>o){if(e.match_start=t,o=a,a>=s)break;p=c[n+o-1],m=c[n+o]}}while((t=d[t&u])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function Pp(e){var t=e.w_size,r,n,i,a,o;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Oo)){Qn.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,n=e.hash_size,r=n;do i=e.head[--r],e.head[r]=i>=t?i-t:0;while(--n);n=t,r=n;do i=e.prev[--r],e.prev[r]=i>=t?i-t:0;while(--n);a+=t}if(e.strm.avail_in===0)break;if(n=Wlt(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=Qe)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+Qe-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<Qe)););}while(e.lookahead<Oo&&e.strm.avail_in!==0)}function Zlt(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Pp(e),e.lookahead===0&&t===Mp)return jr;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((e.strstart===0||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,gn(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Oo&&(gn(e,!1),e.strm.avail_out===0))return jr}return e.insert=0,t===Ju?(gn(e,!0),e.strm.avail_out===0?jp:Ih):(e.strstart>e.block_start&&(gn(e,!1),e.strm.avail_out===0),jr)}function gk(e,t){for(var r,n;;){if(e.lookahead<Oo){if(Pp(e),e.lookahead<Oo&&t===Mp)return jr;if(e.lookahead===0)break}if(r=0,e.lookahead>=Qe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Qe-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-Oo&&(e.match_length=lde(e,r)),e.match_length>=Qe)if(n=Ua._tr_tally(e,e.strstart-e.match_start,e.match_length-Qe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Qe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Qe-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=Ua._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(gn(e,!1),e.strm.avail_out===0))return jr}return e.insert=e.strstart<Qe-1?e.strstart:Qe-1,t===Ju?(gn(e,!0),e.strm.avail_out===0?jp:Ih):e.last_lit&&(gn(e,!1),e.strm.avail_out===0)?jr:Yy}function Ch(e,t){for(var r,n,i;;){if(e.lookahead<Oo){if(Pp(e),e.lookahead<Oo&&t===Mp)return jr;if(e.lookahead===0)break}if(r=0,e.lookahead>=Qe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Qe-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Qe-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Oo&&(e.match_length=lde(e,r),e.match_length<=5&&(e.strategy===Alt||e.match_length===Qe&&e.strstart-e.match_start>4096)&&(e.match_length=Qe-1)),e.prev_length>=Qe&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Qe,n=Ua._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Qe),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Qe-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Qe-1,e.strstart++,n&&(gn(e,!1),e.strm.avail_out===0))return jr}else if(e.match_available){if(n=Ua._tr_tally(e,0,e.window[e.strstart-1]),n&&gn(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return jr}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=Ua._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Qe-1?e.strstart:Qe-1,t===Ju?(gn(e,!0),e.strm.avail_out===0?jp:Ih):e.last_lit&&(gn(e,!1),e.strm.avail_out===0)?jr:Yy}function Hlt(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=Hu){if(Pp(e),e.lookahead<=Hu&&t===Mp)return jr;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Qe&&e.strstart>0&&(i=e.strstart-1,n=o[i],n===o[++i]&&n===o[++i]&&n===o[++i])){a=e.strstart+Hu;do;while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=Hu-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Qe?(r=Ua._tr_tally(e,1,e.match_length-Qe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Ua._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(gn(e,!1),e.strm.avail_out===0))return jr}return e.insert=0,t===Ju?(gn(e,!0),e.strm.avail_out===0?jp:Ih):e.last_lit&&(gn(e,!1),e.strm.avail_out===0)?jr:Yy}function Glt(e,t){for(var r;;){if(e.lookahead===0&&(Pp(e),e.lookahead===0)){if(t===Mp)return jr;break}if(e.match_length=0,r=Ua._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(gn(e,!1),e.strm.avail_out===0))return jr}return e.insert=0,t===Ju?(gn(e,!0),e.strm.avail_out===0?jp:Ih):e.last_lit&&(gn(e,!1),e.strm.avail_out===0)?jr:Yy}function pl(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var Th;Th=[new pl(0,0,0,0,Zlt),new pl(4,4,8,4,gk),new pl(4,5,16,8,gk),new pl(4,6,32,32,gk),new pl(4,4,16,16,Ch),new pl(8,16,32,32,Ch),new pl(8,16,128,128,Ch),new pl(8,32,128,256,Ch),new pl(32,128,258,1024,Ch),new pl(32,258,258,4096,Ch)];function Jlt(e){e.window_size=2*e.w_size,Zu(e.head),e.max_lazy_match=Th[e.level].max_lazy,e.good_match=Th[e.level].good_length,e.nice_match=Th[e.level].nice_length,e.max_chain_length=Th[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Qe-1,e.match_available=0,e.ins_h=0}function Klt(){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=A5,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 Qn.Buf16(zlt*2),this.dyn_dtree=new Qn.Buf16((2*$lt+1)*2),this.bl_tree=new Qn.Buf16((2*Ult+1)*2),Zu(this.dyn_ltree),Zu(this.dyn_dtree),Zu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Qn.Buf16(qlt+1),this.heap=new Qn.Buf16(2*yk+1),Zu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Qn.Buf16(2*yk+1),Zu(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 cde(e){var t;return!e||!e.state?Gu(e,za):(e.total_in=e.total_out=0,e.data_type=Nlt,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?D5:Np,e.adler=t.wrap===2?0:1,t.last_flush=Mp,Ua._tr_init(t),fl)}function ude(e){var t=cde(e);return t===fl&&Jlt(e.state),t}function Xlt(e,t){return!e||!e.state||e.state.wrap!==2?za:(e.state.gzhead=t,fl)}function dde(e,t,r,n,i,a){if(!e)return za;var o=1;if(t===Ilt&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>jlt||r!==A5||n<8||n>15||t<0||t>9||a<0||a>Llt)return Gu(e,za);n===8&&(n=9);var s=new Klt;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+Qe-1)/Qe),s.window=new Qn.Buf8(s.w_size*2),s.head=new Qn.Buf16(s.hash_size),s.prev=new Qn.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Qn.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,ude(e)}function Ylt(e,t){return dde(e,t,A5,Plt,Mlt,klt)}function Qlt(e,t){var r,n,i,a;if(!e||!e.state||t>ide||t<0)return e?Gu(e,za):za;if(n=e.state,!e.output||!e.input&&e.avail_in!==0||n.status===Xy&&t!==Ju)return Gu(e,e.avail_out===0?hk:za);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===D5)if(n.wrap===2)e.adler=0,mt(n,31),mt(n,139),mt(n,8),n.gzhead?(mt(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),mt(n,n.gzhead.time&255),mt(n,n.gzhead.time>>8&255),mt(n,n.gzhead.time>>16&255),mt(n,n.gzhead.time>>24&255),mt(n,n.level===9?2:n.strategy>=O5||n.level<2?4:0),mt(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(mt(n,n.gzhead.extra.length&255),mt(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Vu(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=bk):(mt(n,0),mt(n,0),mt(n,0),mt(n,0),mt(n,0),mt(n,n.level===9?2:n.strategy>=O5||n.level<2?4:0),mt(n,Vlt),n.status=Np);else{var o=A5+(n.w_bits-8<<4)<<8,s=-1;n.strategy>=O5||n.level<2?s=0:n.level<6?s=1:n.level===6?s=2:s=3,o|=s<<6,n.strstart!==0&&(o|=Blt),o+=31-o%31,n.status=Np,Ky(n,o),n.strstart!==0&&(Ky(n,e.adler>>>16),Ky(n,e.adler&65535)),e.adler=1}if(n.status===bk)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(n.gzhead.extra.length&65535)&&!(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),Wu(e),i=n.pending,n.pending===n.pending_buf_size));)mt(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=C5)}else n.status=C5;if(n.status===C5)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),Wu(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,mt(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.gzindex=0,n.status=T5)}else n.status=T5;if(n.status===T5)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),Wu(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,mt(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Vu(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.status=I5)}else n.status=I5;if(n.status===I5&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Wu(e),n.pending+2<=n.pending_buf_size&&(mt(n,e.adler&255),mt(n,e.adler>>8&255),e.adler=0,n.status=Np)):n.status=Np),n.pending!==0){if(Wu(e),e.avail_out===0)return n.last_flush=-1,fl}else if(e.avail_in===0&&ode(t)<=ode(r)&&t!==Ju)return Gu(e,hk);if(n.status===Xy&&e.avail_in!==0)return Gu(e,hk);if(e.avail_in!==0||n.lookahead!==0||t!==Mp&&n.status!==Xy){var l=n.strategy===O5?Glt(n,t):n.strategy===Dlt?Hlt(n,t):Th[n.level].func(n,t);if((l===jp||l===Ih)&&(n.status=Xy),l===jr||l===jp)return e.avail_out===0&&(n.last_flush=-1),fl;if(l===Yy&&(t===Olt?Ua._tr_align(n):t!==ide&&(Ua._tr_stored_block(n,0,0,!1),t===Clt&&(Zu(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Wu(e),e.avail_out===0))return n.last_flush=-1,fl}return t!==Ju?fl:n.wrap<=0?ade:(n.wrap===2?(mt(n,e.adler&255),mt(n,e.adler>>8&255),mt(n,e.adler>>16&255),mt(n,e.adler>>24&255),mt(n,e.total_in&255),mt(n,e.total_in>>8&255),mt(n,e.total_in>>16&255),mt(n,e.total_in>>24&255)):(Ky(n,e.adler>>>16),Ky(n,e.adler&65535)),Wu(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?fl:ade)}function ect(e){var t;return!e||!e.state?za:(t=e.state.status,t!==D5&&t!==bk&&t!==C5&&t!==T5&&t!==I5&&t!==Np&&t!==Xy?Gu(e,za):(e.state=null,t===Np?Gu(e,Tlt):fl))}function tct(e,t){var r=t.length,n,i,a,o,s,l,c,u;if(!e||!e.state||(n=e.state,o=n.wrap,o===2||o===1&&n.status!==D5||n.lookahead))return za;for(o===1&&(e.adler=sde(e.adler,t,r,0)),n.wrap=0,r>=n.w_size&&(o===0&&(Zu(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new Qn.Buf8(n.w_size),Qn.arraySet(u,t,r-n.w_size,n.w_size,0),t=u,r=n.w_size),s=e.avail_in,l=e.next_in,c=e.input,e.avail_in=r,e.next_in=0,e.input=t,Pp(n);n.lookahead>=Qe;){i=n.strstart,a=n.lookahead-(Qe-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+Qe-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--a);n.strstart=i,n.lookahead=Qe-1,Pp(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=Qe-1,n.match_available=0,e.next_in=l,e.input=c,e.avail_in=s,n.wrap=o,fl}ml.deflateInit=Ylt;ml.deflateInit2=dde;ml.deflateReset=ude;ml.deflateResetKeep=cde;ml.deflateSetHeader=Xlt;ml.deflate=Qlt;ml.deflateEnd=ect;ml.deflateSetDictionary=tct;ml.deflateInfo="pako deflate (from Nodeca project)"});var vk=h(Ah=>{"use strict";var L5=fc(),fde=!0,mde=!0;try{String.fromCharCode.apply(null,[0])}catch{fde=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{mde=!1}var Qy=new L5.Buf8(256);for(hc=0;hc<256;hc++)Qy[hc]=hc>=252?6:hc>=248?5:hc>=240?4:hc>=224?3:hc>=192?2:1;var hc;Qy[254]=Qy[254]=1;Ah.string2buf=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new L5.Buf8(s),a=0,i=0;a<s;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t};function hde(e,t){if(t<65534&&(e.subarray&&mde||!e.subarray&&fde))return String.fromCharCode.apply(null,L5.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}Ah.buf2binstring=function(e){return hde(e,e.length)};Ah.binstring2buf=function(e){for(var t=new L5.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t};Ah.buf2string=function(e,t){var r,n,i,a,o=t||e.length,s=new Array(o*2);for(n=0,r=0;r<o;){if(i=e[r++],i<128){s[n++]=i;continue}if(a=Qy[i],a>4){s[n++]=65533,r+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&r<o;)i=i<<6|e[r++]&63,a--;if(a>1){s[n++]=65533;continue}i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|i&1023)}return hde(s,n)};Ah.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Qy[e[r]]>t?r:t}});var _k=h((M8t,gde)=>{"use strict";function rct(){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}gde.exports=rct});var _de=h(rb=>{"use strict";var eb=pde(),tb=fc(),Sk=vk(),Ek=x5(),nct=_k(),vde=Object.prototype.toString,ict=0,wk=4,Dh=0,yde=1,bde=2,act=-1,oct=0,sct=8;function Rp(e){if(!(this instanceof Rp))return new Rp(e);this.options=tb.assign({level:act,method:sct,chunkSize:16384,windowBits:15,memLevel:8,strategy:oct,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nct,this.strm.avail_out=0;var r=eb.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==Dh)throw new Error(Ek[r]);if(t.header&&eb.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(typeof t.dictionary=="string"?n=Sk.string2buf(t.dictionary):vde.call(t.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(t.dictionary):n=t.dictionary,r=eb.deflateSetDictionary(this.strm,n),r!==Dh)throw new Error(Ek[r]);this._dict_set=!0}}Rp.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?wk:ict,typeof e=="string"?r.input=Sk.string2buf(e):vde.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new tb.Buf8(n),r.next_out=0,r.avail_out=n),i=eb.deflate(r,a),i!==yde&&i!==Dh)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(a===wk||a===bde))&&(this.options.to==="string"?this.onData(Sk.buf2binstring(tb.shrinkBuf(r.output,r.next_out))):this.onData(tb.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==yde);return a===wk?(i=eb.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===Dh):(a===bde&&(this.onEnd(Dh),r.avail_out=0),!0)};Rp.prototype.onData=function(e){this.chunks.push(e)};Rp.prototype.onEnd=function(e){e===Dh&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=tb.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function xk(e,t){var r=new Rp(t);if(r.push(e,!0),r.err)throw r.msg||Ek[r.err];return r.result}function lct(e,t){return t=t||{},t.raw=!0,xk(e,t)}function cct(e,t){return t=t||{},t.gzip=!0,xk(e,t)}rb.Deflate=Rp;rb.deflate=xk;rb.deflateRaw=lct;rb.gzip=cct});var Sde=h((F8t,wde)=>{"use strict";var k5=30,uct=12;wde.exports=function(t,r){var n,i,a,o,s,l,c,u,d,f,p,m,y,v,S,E,w,_,b,A,j,P,T,N,k;n=t.state,i=t.next_in,N=t.input,a=i+(t.avail_in-5),o=t.next_out,k=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),c=n.dmax,u=n.wsize,d=n.whave,f=n.wnext,p=n.window,m=n.hold,y=n.bits,v=n.lencode,S=n.distcode,E=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;e:do{y<15&&(m+=N[i++]<<y,y+=8,m+=N[i++]<<y,y+=8),_=v[m&E];t:for(;;){if(b=_>>>24,m>>>=b,y-=b,b=_>>>16&255,b===0)k[o++]=_&65535;else if(b&16){A=_&65535,b&=15,b&&(y<b&&(m+=N[i++]<<y,y+=8),A+=m&(1<<b)-1,m>>>=b,y-=b),y<15&&(m+=N[i++]<<y,y+=8,m+=N[i++]<<y,y+=8),_=S[m&w];r:for(;;){if(b=_>>>24,m>>>=b,y-=b,b=_>>>16&255,b&16){if(j=_&65535,b&=15,y<b&&(m+=N[i++]<<y,y+=8,y<b&&(m+=N[i++]<<y,y+=8)),j+=m&(1<<b)-1,j>c){t.msg="invalid distance too far back",n.mode=k5;break e}if(m>>>=b,y-=b,b=o-s,j>b){if(b=j-b,b>d&&n.sane){t.msg="invalid distance too far back",n.mode=k5;break e}if(P=0,T=p,f===0){if(P+=u-b,b<A){A-=b;do k[o++]=p[P++];while(--b);P=o-j,T=k}}else if(f<b){if(P+=u+f-b,b-=f,b<A){A-=b;do k[o++]=p[P++];while(--b);if(P=0,f<A){b=f,A-=b;do k[o++]=p[P++];while(--b);P=o-j,T=k}}}else if(P+=f-b,b<A){A-=b;do k[o++]=p[P++];while(--b);P=o-j,T=k}for(;A>2;)k[o++]=T[P++],k[o++]=T[P++],k[o++]=T[P++],A-=3;A&&(k[o++]=T[P++],A>1&&(k[o++]=T[P++]))}else{P=o-j;do k[o++]=k[P++],k[o++]=k[P++],k[o++]=k[P++],A-=3;while(A>2);A&&(k[o++]=k[P++],A>1&&(k[o++]=k[P++]))}}else if(b&64){t.msg="invalid distance code",n.mode=k5;break e}else{_=S[(_&65535)+(m&(1<<b)-1)];continue r}break}}else if(b&64)if(b&32){n.mode=uct;break e}else{t.msg="invalid literal/length code",n.mode=k5;break e}else{_=v[(_&65535)+(m&(1<<b)-1)];continue t}break}}while(i<a&&o<l);A=y>>3,i-=A,y-=A<<3,m&=(1<<y)-1,t.next_in=i,t.next_out=o,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=o<l?257+(l-o):257-(o-l),n.hold=m,n.bits=y}});var Ade=h(($8t,Ide)=>{"use strict";var Ede=fc(),Lh=15,xde=852,Ode=592,Cde=0,Ok=1,Tde=2,dct=[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],pct=[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],fct=[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],mct=[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];Ide.exports=function(t,r,n,i,a,o,s,l){var c=l.bits,u=0,d=0,f=0,p=0,m=0,y=0,v=0,S=0,E=0,w=0,_,b,A,j,P,T=null,N=0,k,B=new Ede.Buf16(Lh+1),$=new Ede.Buf16(Lh+1),K=null,ae=0,ne,re,ce;for(u=0;u<=Lh;u++)B[u]=0;for(d=0;d<i;d++)B[r[n+d]]++;for(m=c,p=Lh;p>=1&&B[p]===0;p--);if(m>p&&(m=p),p===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,l.bits=1,0;for(f=1;f<p&&B[f]===0;f++);for(m<f&&(m=f),S=1,u=1;u<=Lh;u++)if(S<<=1,S-=B[u],S<0)return-1;if(S>0&&(t===Cde||p!==1))return-1;for($[1]=0,u=1;u<Lh;u++)$[u+1]=$[u]+B[u];for(d=0;d<i;d++)r[n+d]!==0&&(s[$[r[n+d]]++]=d);if(t===Cde?(T=K=s,k=19):t===Ok?(T=dct,N-=257,K=pct,ae-=257,k=256):(T=fct,K=mct,k=-1),w=0,d=0,u=f,P=o,y=m,v=0,A=-1,E=1<<m,j=E-1,t===Ok&&E>xde||t===Tde&&E>Ode)return 1;for(;;){ne=u-v,s[d]<k?(re=0,ce=s[d]):s[d]>k?(re=K[ae+s[d]],ce=T[N+s[d]]):(re=96,ce=0),_=1<<u-v,b=1<<y,f=b;do b-=_,a[P+(w>>v)+b]=ne<<24|re<<16|ce|0;while(b!==0);for(_=1<<u-1;w&_;)_>>=1;if(_!==0?(w&=_-1,w+=_):w=0,d++,--B[u]===0){if(u===p)break;u=r[n+s[d]]}if(u>m&&(w&j)!==A){for(v===0&&(v=m),P+=f,y=u-v,S=1<<y;y+v<p&&(S-=B[y+v],!(S<=0));)y++,S<<=1;if(E+=1<<y,t===Ok&&E>xde||t===Tde&&E>Ode)return 1;A=w&j,a[A]=m<<24|y<<16|P-o|0}}return w!==0&&(a[P+w]=u-v<<24|64<<16|0),l.bits=m,0}});var upe=h(Co=>{"use strict";var ea=fc(),Lk=fk(),hl=mk(),hct=Sde(),nb=Ade(),gct=0,tpe=1,rpe=2,Dde=4,yct=5,N5=6,Fp=0,bct=1,vct=2,qa=-2,npe=-3,kk=-4,_ct=-5,Lde=8,ipe=1,kde=2,Nde=3,jde=4,Pde=5,Mde=6,Rde=7,Fde=8,$de=9,Ude=10,M5=11,gc=12,Ck=13,zde=14,Tk=15,qde=16,Bde=17,Vde=18,Wde=19,j5=20,P5=21,Zde=22,Hde=23,Gde=24,Jde=25,Kde=26,Ik=27,Xde=28,Yde=29,Zt=30,Nk=31,wct=32,Sct=852,Ect=592,xct=15,Oct=xct;function Qde(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function Cct(){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 ea.Buf16(320),this.work=new ea.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ape(e){var t;return!e||!e.state?qa:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=ipe,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new ea.Buf32(Sct),t.distcode=t.distdyn=new ea.Buf32(Ect),t.sane=1,t.back=-1,Fp)}function ope(e){var t;return!e||!e.state?qa:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,ape(e))}function spe(e,t){var r,n;return!e||!e.state||(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?qa:(n.window!==null&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,ope(e))}function lpe(e,t){var r,n;return e?(n=new Cct,e.state=n,n.window=null,r=spe(e,t),r!==Fp&&(e.state=null),r):qa}function Tct(e){return lpe(e,Oct)}var epe=!0,Ak,Dk;function Ict(e){if(epe){var t;for(Ak=new ea.Buf32(512),Dk=new ea.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(nb(tpe,e.lens,0,288,Ak,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;nb(rpe,e.lens,0,32,Dk,0,e.work,{bits:5}),epe=!1}e.lencode=Ak,e.lenbits=9,e.distcode=Dk,e.distbits=5}function cpe(e,t,r,n){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new ea.Buf8(a.wsize)),n>=a.wsize?(ea.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),ea.arraySet(a.window,t,r-n,i,a.wnext),n-=i,n?(ea.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function Act(e,t){var r,n,i,a,o,s,l,c,u,d,f,p,m,y,v=0,S,E,w,_,b,A,j,P,T=new ea.Buf8(4),N,k,B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return qa;r=e.state,r.mode===gc&&(r.mode=Ck),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,u=r.bits,d=s,f=l,P=Fp;e:for(;;)switch(r.mode){case ipe:if(r.wrap===0){r.mode=Ck;break}for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.wrap&2&&c===35615){r.check=0,T[0]=c&255,T[1]=c>>>8&255,r.check=hl(r.check,T,2,0),c=0,u=0,r.mode=kde;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((c&255)<<8)+(c>>8))%31){e.msg="incorrect header check",r.mode=Zt;break}if((c&15)!==Lde){e.msg="unknown compression method",r.mode=Zt;break}if(c>>>=4,u-=4,j=(c&15)+8,r.wbits===0)r.wbits=j;else if(j>r.wbits){e.msg="invalid window size",r.mode=Zt;break}r.dmax=1<<j,e.adler=r.check=1,r.mode=c&512?Ude:gc,c=0,u=0;break;case kde:for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.flags=c,(r.flags&255)!==Lde){e.msg="unknown compression method",r.mode=Zt;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Zt;break}r.head&&(r.head.text=c>>8&1),r.flags&512&&(T[0]=c&255,T[1]=c>>>8&255,r.check=hl(r.check,T,2,0)),c=0,u=0,r.mode=Nde;case Nde:for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.head&&(r.head.time=c),r.flags&512&&(T[0]=c&255,T[1]=c>>>8&255,T[2]=c>>>16&255,T[3]=c>>>24&255,r.check=hl(r.check,T,4,0)),c=0,u=0,r.mode=jde;case jde:for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.head&&(r.head.xflags=c&255,r.head.os=c>>8),r.flags&512&&(T[0]=c&255,T[1]=c>>>8&255,r.check=hl(r.check,T,2,0)),c=0,u=0,r.mode=Pde;case Pde:if(r.flags&1024){for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.length=c,r.head&&(r.head.extra_len=c),r.flags&512&&(T[0]=c&255,T[1]=c>>>8&255,r.check=hl(r.check,T,2,0)),c=0,u=0}else r.head&&(r.head.extra=null);r.mode=Mde;case Mde:if(r.flags&1024&&(p=r.length,p>s&&(p=s),p&&(r.head&&(j=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),ea.arraySet(r.head.extra,n,a,p,j)),r.flags&512&&(r.check=hl(r.check,n,p,a)),s-=p,a+=p,r.length-=p),r.length))break e;r.length=0,r.mode=Rde;case Rde:if(r.flags&2048){if(s===0)break e;p=0;do j=n[a+p++],r.head&&j&&r.length<65536&&(r.head.name+=String.fromCharCode(j));while(j&&p<s);if(r.flags&512&&(r.check=hl(r.check,n,p,a)),s-=p,a+=p,j)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=Fde;case Fde:if(r.flags&4096){if(s===0)break e;p=0;do j=n[a+p++],r.head&&j&&r.length<65536&&(r.head.comment+=String.fromCharCode(j));while(j&&p<s);if(r.flags&512&&(r.check=hl(r.check,n,p,a)),s-=p,a+=p,j)break e}else r.head&&(r.head.comment=null);r.mode=$de;case $de:if(r.flags&512){for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Zt;break}c=0,u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=gc;break;case Ude:for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}e.adler=r.check=Qde(c),c=0,u=0,r.mode=M5;case M5:if(r.havedict===0)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,vct;e.adler=r.check=1,r.mode=gc;case gc:if(t===yct||t===N5)break e;case Ck:if(r.last){c>>>=u&7,u-=u&7,r.mode=Ik;break}for(;u<3;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}switch(r.last=c&1,c>>>=1,u-=1,c&3){case 0:r.mode=zde;break;case 1:if(Ict(r),r.mode=j5,t===N5){c>>>=2,u-=2;break e}break;case 2:r.mode=Bde;break;case 3:e.msg="invalid block type",r.mode=Zt}c>>>=2,u-=2;break;case zde:for(c>>>=u&7,u-=u&7;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if((c&65535)!==(c>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Zt;break}if(r.length=c&65535,c=0,u=0,r.mode=Tk,t===N5)break e;case Tk:r.mode=qde;case qde:if(p=r.length,p){if(p>s&&(p=s),p>l&&(p=l),p===0)break e;ea.arraySet(i,n,a,p,o),s-=p,a+=p,l-=p,o+=p,r.length-=p;break}r.mode=gc;break;case Bde:for(;u<14;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.nlen=(c&31)+257,c>>>=5,u-=5,r.ndist=(c&31)+1,c>>>=5,u-=5,r.ncode=(c&15)+4,c>>>=4,u-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Zt;break}r.have=0,r.mode=Vde;case Vde:for(;r.have<r.ncode;){for(;u<3;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.lens[B[r.have++]]=c&7,c>>>=3,u-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},P=nb(gct,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,P){e.msg="invalid code lengths set",r.mode=Zt;break}r.have=0,r.mode=Wde;case Wde:for(;r.have<r.nlen+r.ndist;){for(;v=r.lencode[c&(1<<r.lenbits)-1],S=v>>>24,E=v>>>16&255,w=v&65535,!(S<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(w<16)c>>>=S,u-=S,r.lens[r.have++]=w;else{if(w===16){for(k=S+2;u<k;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c>>>=S,u-=S,r.have===0){e.msg="invalid bit length repeat",r.mode=Zt;break}j=r.lens[r.have-1],p=3+(c&3),c>>>=2,u-=2}else if(w===17){for(k=S+3;u<k;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=S,u-=S,j=0,p=3+(c&7),c>>>=3,u-=3}else{for(k=S+7;u<k;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=S,u-=S,j=0,p=11+(c&127),c>>>=7,u-=7}if(r.have+p>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Zt;break}for(;p--;)r.lens[r.have++]=j}}if(r.mode===Zt)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Zt;break}if(r.lenbits=9,N={bits:r.lenbits},P=nb(tpe,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,P){e.msg="invalid literal/lengths set",r.mode=Zt;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},P=nb(rpe,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,P){e.msg="invalid distances set",r.mode=Zt;break}if(r.mode=j5,t===N5)break e;case j5:r.mode=P5;case P5:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,hct(e,f),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,u=r.bits,r.mode===gc&&(r.back=-1);break}for(r.back=0;v=r.lencode[c&(1<<r.lenbits)-1],S=v>>>24,E=v>>>16&255,w=v&65535,!(S<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(E&&!(E&240)){for(_=S,b=E,A=w;v=r.lencode[A+((c&(1<<_+b)-1)>>_)],S=v>>>24,E=v>>>16&255,w=v&65535,!(_+S<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=_,u-=_,r.back+=_}if(c>>>=S,u-=S,r.back+=S,r.length=w,E===0){r.mode=Kde;break}if(E&32){r.back=-1,r.mode=gc;break}if(E&64){e.msg="invalid literal/length code",r.mode=Zt;break}r.extra=E&15,r.mode=Zde;case Zde:if(r.extra){for(k=r.extra;u<k;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Hde;case Hde:for(;v=r.distcode[c&(1<<r.distbits)-1],S=v>>>24,E=v>>>16&255,w=v&65535,!(S<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(!(E&240)){for(_=S,b=E,A=w;v=r.distcode[A+((c&(1<<_+b)-1)>>_)],S=v>>>24,E=v>>>16&255,w=v&65535,!(_+S<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=_,u-=_,r.back+=_}if(c>>>=S,u-=S,r.back+=S,E&64){e.msg="invalid distance code",r.mode=Zt;break}r.offset=w,r.extra=E&15,r.mode=Gde;case Gde:if(r.extra){for(k=r.extra;u<k;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Zt;break}r.mode=Jde;case Jde:if(l===0)break e;if(p=f-l,r.offset>p){if(p=r.offset-p,p>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Zt;break}p>r.wnext?(p-=r.wnext,m=r.wsize-p):m=r.wnext-p,p>r.length&&(p=r.length),y=r.window}else y=i,m=o-r.offset,p=r.length;p>l&&(p=l),l-=p,r.length-=p;do i[o++]=y[m++];while(--p);r.length===0&&(r.mode=P5);break;case Kde:if(l===0)break e;i[o++]=r.length,l--,r.mode=P5;break;case Ik:if(r.wrap){for(;u<32;){if(s===0)break e;s--,c|=n[a++]<<u,u+=8}if(f-=l,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=r.flags?hl(r.check,i,f,o-f):Lk(r.check,i,f,o-f)),f=l,(r.flags?c:Qde(c))!==r.check){e.msg="incorrect data check",r.mode=Zt;break}c=0,u=0}r.mode=Xde;case Xde:if(r.wrap&&r.flags){for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Zt;break}c=0,u=0}r.mode=Yde;case Yde:P=bct;break e;case Zt:P=npe;break e;case Nk:return kk;case wct:default:return qa}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,(r.wsize||f!==e.avail_out&&r.mode<Zt&&(r.mode<Ik||t!==Dde))&&cpe(e,e.output,e.next_out,f-e.avail_out)?(r.mode=Nk,kk):(d-=e.avail_in,f-=e.avail_out,e.total_in+=d,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=r.flags?hl(r.check,i,f,e.next_out-f):Lk(r.check,i,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(r.mode===gc?128:0)+(r.mode===j5||r.mode===Tk?256:0),(d===0&&f===0||t===Dde)&&P===Fp&&(P=_ct),P)}function Dct(e){if(!e||!e.state)return qa;var t=e.state;return t.window&&(t.window=null),e.state=null,Fp}function Lct(e,t){var r;return!e||!e.state||(r=e.state,!(r.wrap&2))?qa:(r.head=t,t.done=!1,Fp)}function kct(e,t){var r=t.length,n,i,a;return!e||!e.state||(n=e.state,n.wrap!==0&&n.mode!==M5)?qa:n.mode===M5&&(i=1,i=Lk(i,t,r,0),i!==n.check)?npe:(a=cpe(e,t,r,r),a?(n.mode=Nk,kk):(n.havedict=1,Fp))}Co.inflateReset=ope;Co.inflateReset2=spe;Co.inflateResetKeep=ape;Co.inflateInit=Tct;Co.inflateInit2=lpe;Co.inflate=Act;Co.inflateEnd=Dct;Co.inflateGetHeader=Lct;Co.inflateSetDictionary=kct;Co.inflateInfo="pako inflate (from Nodeca project)"});var jk=h((z8t,dpe)=>{"use strict";dpe.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 fpe=h((q8t,ppe)=>{"use strict";function Nct(){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}ppe.exports=Nct});var hpe=h(ab=>{"use strict";var kh=upe(),ib=fc(),R5=vk(),ur=jk(),Pk=x5(),jct=_k(),Pct=fpe(),mpe=Object.prototype.toString;function $p(e){if(!(this instanceof $p))return new $p(e);this.options=ib.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new jct,this.strm.avail_out=0;var r=kh.inflateInit2(this.strm,t.windowBits);if(r!==ur.Z_OK)throw new Error(Pk[r]);if(this.header=new Pct,kh.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=R5.string2buf(t.dictionary):mpe.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=kh.inflateSetDictionary(this.strm,t.dictionary),r!==ur.Z_OK)))throw new Error(Pk[r])}$p.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i=this.options.dictionary,a,o,s,l,c,u=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?ur.Z_FINISH:ur.Z_NO_FLUSH,typeof e=="string"?r.input=R5.binstring2buf(e):mpe.call(e)==="[object ArrayBuffer]"?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new ib.Buf8(n),r.next_out=0,r.avail_out=n),a=kh.inflate(r,ur.Z_NO_FLUSH),a===ur.Z_NEED_DICT&&i&&(a=kh.inflateSetDictionary(this.strm,i)),a===ur.Z_BUF_ERROR&&u===!0&&(a=ur.Z_OK,u=!1),a!==ur.Z_STREAM_END&&a!==ur.Z_OK)return this.onEnd(a),this.ended=!0,!1;r.next_out&&(r.avail_out===0||a===ur.Z_STREAM_END||r.avail_in===0&&(o===ur.Z_FINISH||o===ur.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=R5.utf8border(r.output,r.next_out),l=r.next_out-s,c=R5.buf2string(r.output,s),r.next_out=l,r.avail_out=n-l,l&&ib.arraySet(r.output,r.output,s,l,0),this.onData(c)):this.onData(ib.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(u=!0)}while((r.avail_in>0||r.avail_out===0)&&a!==ur.Z_STREAM_END);return a===ur.Z_STREAM_END&&(o=ur.Z_FINISH),o===ur.Z_FINISH?(a=kh.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ur.Z_OK):(o===ur.Z_SYNC_FLUSH&&(this.onEnd(ur.Z_OK),r.avail_out=0),!0)};$p.prototype.onData=function(e){this.chunks.push(e)};$p.prototype.onEnd=function(e){e===ur.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ib.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Mk(e,t){var r=new $p(t);if(r.push(e,!0),r.err)throw r.msg||Pk[r.err];return r.result}function Mct(e,t){return t=t||{},t.raw=!0,Mk(e,t)}ab.Inflate=$p;ab.inflate=Mk;ab.inflateRaw=Mct;ab.ungzip=Mk});var bpe=h((V8t,ype)=>{"use strict";var Rct=fc().assign,Fct=_de(),$ct=hpe(),Uct=jk(),gpe={};Rct(gpe,Fct,$ct,Uct);ype.exports=gpe});var _pe=h($5=>{"use strict";var zct=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",qct=bpe(),vpe=Jt(),F5=Qi(),Bct=zct?"uint8array":"array";$5.magic="\b\0";function Up(e,t){F5.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}vpe.inherits(Up,F5);Up.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(vpe.transformTo(Bct,e.data),!1)};Up.prototype.flush=function(){F5.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};Up.prototype.cleanUp=function(){F5.prototype.cleanUp.call(this),this._pako=null};Up.prototype._createPako=function(){this._pako=new qct[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};$5.compressWorker=function(e){return new Up("Deflate",e)};$5.uncompressWorker=function(){return new Up("Inflate",{})}});var Fk=h(Rk=>{"use strict";var wpe=Qi();Rk.STORE={magic:"\0\0",compressWorker:function(){return new wpe("STORE compression")},uncompressWorker:function(){return new wpe("STORE decompression")}};Rk.DEFLATE=_pe()});var $k=h(zp=>{"use strict";zp.LOCAL_FILE_HEADER="PK";zp.CENTRAL_FILE_HEADER="PK";zp.CENTRAL_DIRECTORY_END="PK";zp.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";zp.ZIP64_CENTRAL_DIRECTORY_END="PK";zp.DATA_DESCRIPTOR="PK\x07\b"});var Ope=h((G8t,xpe)=>{"use strict";var Nh=Jt(),jh=Qi(),Uk=wh(),Spe=v5(),U5=$k(),Lt=function(e,t){var r="",n;for(n=0;n<t;n++)r+=String.fromCharCode(e&255),e=e>>>8;return r},Vct=function(e,t){var r=e;return e||(r=t?16893:33204),(r&65535)<<16},Wct=function(e){return(e||0)&63},Epe=function(e,t,r,n,i,a){var o=e.file,s=e.compression,l=a!==Uk.utf8encode,c=Nh.transformTo("string",a(o.name)),u=Nh.transformTo("string",Uk.utf8encode(o.name)),d=o.comment,f=Nh.transformTo("string",a(d)),p=Nh.transformTo("string",Uk.utf8encode(d)),m=u.length!==o.name.length,y=p.length!==d.length,v,S,E="",w="",_="",b=o.dir,A=o.date,j={crc32:0,compressedSize:0,uncompressedSize:0};(!t||r)&&(j.crc32=e.crc32,j.compressedSize=e.compressedSize,j.uncompressedSize=e.uncompressedSize);var P=0;t&&(P|=8),!l&&(m||y)&&(P|=2048);var T=0,N=0;b&&(T|=16),i==="UNIX"?(N=798,T|=Vct(o.unixPermissions,b)):(N=20,T|=Wct(o.dosPermissions,b)),v=A.getUTCHours(),v=v<<6,v=v|A.getUTCMinutes(),v=v<<5,v=v|A.getUTCSeconds()/2,S=A.getUTCFullYear()-1980,S=S<<4,S=S|A.getUTCMonth()+1,S=S<<5,S=S|A.getUTCDate(),m&&(w=Lt(1,1)+Lt(Spe(c),4)+u,E+="up"+Lt(w.length,2)+w),y&&(_=Lt(1,1)+Lt(Spe(f),4)+p,E+="uc"+Lt(_.length,2)+_);var k="";k+=`
|
||
\0`,k+=Lt(P,2),k+=s.magic,k+=Lt(v,2),k+=Lt(S,2),k+=Lt(j.crc32,4),k+=Lt(j.compressedSize,4),k+=Lt(j.uncompressedSize,4),k+=Lt(c.length,2),k+=Lt(E.length,2);var B=U5.LOCAL_FILE_HEADER+k+c+E,$=U5.CENTRAL_FILE_HEADER+Lt(N,2)+k+Lt(f.length,2)+"\0\0\0\0"+Lt(T,4)+Lt(n,4)+c+E+f;return{fileRecord:B,dirRecord:$}},Zct=function(e,t,r,n,i){var a="",o=Nh.transformTo("string",i(n));return a=U5.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Lt(e,2)+Lt(e,2)+Lt(t,4)+Lt(r,4)+Lt(o.length,2)+o,a},Hct=function(e){var t="";return t=U5.DATA_DESCRIPTOR+Lt(e.crc32,4)+Lt(e.compressedSize,4)+Lt(e.uncompressedSize,4),t};function To(e,t,r,n){jh.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Nh.inherits(To,jh);To.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,jh.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))};To.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=Epe(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0};To.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=Epe(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:Hct(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};To.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=Zct(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})};To.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};To.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(r){t.processChunk(r)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(r){t.error(r)}),this};To.prototype.resume=function(){if(!jh.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};To.prototype.error=function(e){var t=this._sources;if(!jh.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch{}return!0};To.prototype.lock=function(){jh.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};xpe.exports=To});var Tpe=h(Cpe=>{"use strict";var Gct=Fk(),Jct=Ope(),Kct=function(e,t){var r=e||t,n=Gct[r];if(!n)throw new Error(r+" is not a valid compression method !");return n};Cpe.generateWorker=function(e,t,r){var n=new Jct(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach(function(a,o){i++;var s=Kct(o.options.compression,t.compression),l=o.options.compressionOptions||t.compressionOptions||{},c=o.dir,u=o.date;o._compressWorker(s,l).withStreamInfo("file",{name:a,dir:c,date:u,comment:o.comment||"",unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(a){n.error(a)}return n}});var Ape=h((K8t,Ipe)=>{"use strict";var Xct=Jt(),z5=Qi();function ob(e,t){z5.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}Xct.inherits(ob,z5);ob.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(r){t.push({data:r,meta:{percent:0}})}).on("error",function(r){t.isPaused?this.generatedError=r:t.error(r)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};ob.prototype.pause=function(){return z5.prototype.pause.call(this)?(this._stream.pause(),!0):!1};ob.prototype.resume=function(){return z5.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};Ipe.exports=ob});var $pe=h((X8t,Fpe)=>{"use strict";var Yct=wh(),sb=Jt(),Npe=Qi(),Qct=WL(),jpe=ZL(),Dpe=_5(),eut=Lue(),tut=Tpe(),Lpe=My(),rut=Ape(),Ppe=function(e,t,r){var n=sb.getTypeOf(t),i,a=sb.extend(r||{},jpe);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=Mpe(e)),a.createFolders&&(i=nut(e))&&Rpe.call(this,i,!0);var o=n==="string"&&a.binary===!1&&a.base64===!1;(!r||typeof r.binary>"u")&&(a.binary=!o);var s=t instanceof Dpe&&t.uncompressedSize===0;(s||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",n="string");var l=null;t instanceof Dpe||t instanceof Npe?l=t:Lpe.isNode&&Lpe.isStream(t)?l=new rut(e,t):l=sb.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var c=new eut(e,l,a);this.files[e]=c},nut=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Mpe=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},Rpe=function(e,t){return t=typeof t<"u"?t:jpe.createFolders,e=Mpe(e),this.files[e]||Ppe.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function kpe(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var iut={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],r=t.slice(this.root.length,t.length),r&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(arguments.length===1)if(kpe(e)){var n=e;return this.filter(function(a,o){return!o.dir&&n.test(a)})}else{var i=this.files[this.root+e];return i&&!i.dir?i:null}else e=this.root+e,Ppe.call(this,e,t,r);return this},folder:function(e){if(!e)return this;if(kpe(e))return this.filter(function(i,a){return a.dir&&e.test(i)});var t=this.root+e,r=Rpe.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(i,a){return a.name.slice(0,e.length)===e}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if(r=sb.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Yct.utf8encode}),r.type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),r.type==="binarystring"&&(r.type="string"),!r.type)throw new Error("No output type specified.");sb.checkSupport(r.type),(r.platform==="darwin"||r.platform==="freebsd"||r.platform==="linux"||r.platform==="sunos")&&(r.platform="UNIX"),r.platform==="win32"&&(r.platform="DOS");var n=r.comment||this.comment||"";t=tut.generateWorker(this,r,n)}catch(i){t=new Npe("error"),t.error(i)}return new Qct(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};Fpe.exports=iut});var zk=h((Y8t,zpe)=>{"use strict";var aut=Jt();function Upe(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}Upe.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t=0,r;for(this.checkOffset(e),r=this.index+e-1;r>=this.index;r--)t=(t<<8)+this.byteAt(r);return this.index+=e,t},readString:function(e){return aut.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};zpe.exports=Upe});var qk=h((Q8t,Bpe)=>{"use strict";var qpe=zk(),out=Jt();function Ph(e){qpe.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}out.inherits(Ph,qpe);Ph.prototype.byteAt=function(e){return this.data[this.zero+e]};Ph.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1};Ph.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]};Ph.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Bpe.exports=Ph});var Zpe=h((e9t,Wpe)=>{"use strict";var Vpe=zk(),sut=Jt();function Mh(e){Vpe.call(this,e)}sut.inherits(Mh,Vpe);Mh.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};Mh.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};Mh.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};Mh.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Wpe.exports=Mh});var Vk=h((t9t,Gpe)=>{"use strict";var Hpe=qk(),lut=Jt();function Bk(e){Hpe.call(this,e)}lut.inherits(Bk,Hpe);Bk.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Gpe.exports=Bk});var Xpe=h((r9t,Kpe)=>{"use strict";var Jpe=Vk(),cut=Jt();function Wk(e){Jpe.call(this,e)}cut.inherits(Wk,Jpe);Wk.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};Kpe.exports=Wk});var Zk=h((n9t,Qpe)=>{"use strict";var q5=Jt(),Ype=dc(),uut=qk(),dut=Zpe(),put=Xpe(),fut=Vk();Qpe.exports=function(e){var t=q5.getTypeOf(e);return q5.checkSupport(t),t==="string"&&!Ype.uint8array?new dut(e):t==="nodebuffer"?new put(e):Ype.uint8array?new fut(q5.transformTo("uint8array",e)):new uut(q5.transformTo("array",e))}});var nfe=h((i9t,rfe)=>{"use strict";var Hk=Zk(),Ku=Jt(),mut=_5(),efe=v5(),B5=wh(),V5=Fk(),hut=dc(),gut=0,yut=3,but=function(e){for(var t in V5)if(Object.prototype.hasOwnProperty.call(V5,t)&&V5[t].magic===e)return V5[t];return null};function tfe(e,t){this.options=e,this.loadOptions=t}tfe.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=but(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Ku.pretty(this.compressionMethod)+" unknown (inner file : "+Ku.transformTo("string",this.fileName)+")");this.decompressed=new mut(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===gut&&(this.dosPermissions=this.externalFileAttributes&63),e===yut&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=Hk(this.extraFields[1].value);this.uncompressedSize===Ku.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Ku.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Ku.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Ku.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,r,n,i;for(this.extraFields||(this.extraFields={});e.index+4<t;)r=e.readInt(2),n=e.readInt(2),i=e.readData(n),this.extraFields[r]={id:r,length:n,value:i};e.setIndex(t)},handleUTF8:function(){var e=hut.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=B5.utf8decode(this.fileName),this.fileCommentStr=B5.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var r=Ku.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(n!==null)this.fileCommentStr=n;else{var i=Ku.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Hk(e.value);return t.readInt(1)!==1||efe(this.fileName)!==t.readInt(4)?null:B5.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Hk(e.value);return t.readInt(1)!==1||efe(this.fileComment)!==t.readInt(4)?null:B5.utf8decode(t.readData(e.length-5))}return null}};rfe.exports=tfe});var ofe=h((a9t,afe)=>{"use strict";var vut=Zk(),yc=Jt(),Io=$k(),_ut=nfe(),wut=dc();function ife(e){this.files=[],this.loadOptions=e}ife.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+yc.pretty(t)+", expected "+yc.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4),i=n===t;return this.reader.setIndex(r),i},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 e=this.reader.readData(this.zipCommentLength),t=wut.uint8array?"uint8array":"array",r=yc.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},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={};for(var e=this.zip64EndOfCentralSize-44,t=0,r,n,i;t<e;)r=this.reader.readInt(2),n=this.reader.readInt(4),i=this.reader.readData(n),this.zip64ExtensibleData[r]={id:r,length:n,value:i}},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 new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(Io.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Io.CENTRAL_FILE_HEADER);)e=new _ut({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(Io.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,Io.LOCAL_FILE_HEADER);throw t?new 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"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var r=e;if(this.checkSignature(Io.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===yc.MAX_VALUE_16BITS||this.diskWithCentralDirStart===yc.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===yc.MAX_VALUE_16BITS||this.centralDirRecords===yc.MAX_VALUE_16BITS||this.centralDirSize===yc.MAX_VALUE_32BITS||this.centralDirOffset===yc.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(Io.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(Io.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Io.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Io.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Io.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=r-n;if(i>0)this.isSignature(r,Io.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=vut(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};afe.exports=ife});var cfe=h((o9t,lfe)=>{"use strict";var Gk=Jt(),W5=bh(),Sut=wh(),Eut=ofe(),xut=JL(),sfe=My();function Out(e){return new W5.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new xut);n.on("error",function(i){r(i)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}lfe.exports=function(e,t){var r=this;return t=Gk.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Sut.utf8decode}),sfe.isNode&&sfe.isStream(e)?W5.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Gk.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(n){var i=new Eut(t);return i.load(n),i}).then(function(i){var a=[W5.Promise.resolve(i)],o=i.files;if(t.checkCRC32)for(var s=0;s<o.length;s++)a.push(Out(o[s]));return W5.Promise.all(a)}).then(function(i){for(var a=i.shift(),o=a.files,s=0;s<o.length;s++){var l=o[s],c=l.fileNameStr,u=Gk.resolve(l.fileNameStr);r.file(u,l.decompressed,{binary:!0,optimizedBinaryString:!0,date:l.date,dir:l.dir,comment:l.fileCommentStr.length?l.fileCommentStr:null,unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions,createFolders:t.createFolders}),l.dir||(r.file(u).unsafeOriginalName=c)}return a.zipComment.length&&(r.comment=a.zipComment),r})}});var dfe=h((s9t,ufe)=>{"use strict";function Ba(){if(!(this instanceof Ba))return new Ba;if(arguments.length)throw new 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 e=new Ba;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Ba.prototype=$pe();Ba.prototype.loadAsync=cfe();Ba.support=dc();Ba.defaults=ZL();Ba.version="3.10.1";Ba.loadAsync=function(e,t){return new Ba().loadAsync(e,t)};Ba.external=bh();ufe.exports=Ba});var pfe=h(Rh=>{"use strict";var Cut=Rh&&Rh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Rh,"__esModule",{value:!0});Rh.ZipWriter=void 0;var Tut=require("node:stream"),Iut=Cut(dfe()),Aut=yt(),Dut=wt(),Jk=class extends Tut.Writable{rootDestination;zip=(0,Iut.default)();zipBuffer;logger;constructor(t){super({objectMode:!0}),this.rootDestination=t;let r=t?`for: ${t}`:"in memory";this.logger=Aut.Logger.childFromRoot(this.constructor.name),this.logger.debug(`generating zip ${r}`)}get buffer(){if(!this.zipBuffer)throw new Dut.SfError("Must finalize the ZipWriter before getting a buffer");return this.zipBuffer}async addToStore(t,r){let n=r.replace(/\\/g,"/");return this.zip.file(n,t),Promise.resolve()}async finalize(){this.zipBuffer=await this.zip.generateAsync({type:"nodebuffer",compression:"DEFLATE",compressionOptions:{level:3}}),this.logger.debug("Generated zip complete")}getDestinationPath(){return this.rootDestination}};Rh.ZipWriter=Jk});var hfe=h(gl=>{"use strict";var Lut=gl&&gl.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),kut=gl&&gl.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ffe=gl&&gl.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Lut(t,e,r);return kut(t,e),t};Object.defineProperty(gl,"__esModule",{value:!0});gl.DirectoryWriter=void 0;var mfe=require("node:stream"),Nut=ffe(require("node:os")),Kk=ffe(require("node:path")),jut=require("node:util"),Fh=Rr(),Put=(0,jut.promisify)(mfe.pipeline),Xk=class{rootDestination;constructor(t){this.rootDestination=t,this.rootDestination?Fh.fs.mkdirSync(this.rootDestination,{recursive:!0}):this.rootDestination=Fh.fs.mkdtempSync(`${Nut.tmpdir()}${Kk.sep}`)}get buffer(){throw new Error("Not implemented")}async addToStore(t,r){let n=Kk.join(this.rootDestination,r);if(Fh.fs.mkdirSync(Kk.dirname(n),{recursive:!0}),t instanceof mfe.Readable){let i=Fh.fs.createWriteStream(n);await Put(t,i)}else(typeof t=="string"||t instanceof Buffer)&&Fh.fs.writeFileSync(n,t)}finalize(){return Promise.resolve(void 0)}getDestinationPath(){return this.rootDestination}};gl.DirectoryWriter=Xk});var tN=h(yn=>{"use strict";var Mut=yn&&yn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Rut=yn&&yn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),yfe=yn&&yn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Mut(t,e,r);return Rut(t,e),t};Object.defineProperty(yn,"__esModule",{value:!0});yn.createRecordTypeAndBusinessProcessFileContent=yn.createObjectFileContent=yn.RequestStatus=void 0;var qp=yfe(require("node:path")),ta=He(),Fut=Ke(),Yk=yfe(ice()),gfe=yt(),$ut=wt(),Uut=_p(),zut=pfe(),qut=hfe(),But=sn(),Vut=bt(),Wut=rc(),Qk;(function(e){e.Pending="Pending",e.InProgress="InProgress",e.Succeeded="Succeeded",e.SucceededPartial="SucceededPartial",e.Failed="Failed",e.Canceling="Canceling",e.Canceled="Canceled"})(Qk||(yn.RequestStatus=Qk={}));var Zut=["Succeeded","SucceededPartial","Failed","Canceled"],Hut=({allRecordTypes:e=[],allBusinessProcesses:t=[],apiVersion:r,settingData:n,objectSettingsData:i})=>{let a={"@":{xmlns:"http://soap.sforce.com/2006/04/metadata"},types:[]};if(n){let o=Object.keys(n).map(s=>(0,ta.upperFirst)(s).replace("Settings",""));a.types.push({members:o,name:"Settings"})}if(i){let o=Object.keys(i).map(s=>(0,ta.upperFirst)(s));a.types.push({members:o,name:"CustomObject"}),e.length>0&&a.types.push({members:e,name:"RecordType"}),t.length>0&&a.types.push({members:t,name:"BusinessProcess"})}return{...a,version:r}};yn.createObjectFileContent=Hut;var Gut=(e,t,r)=>{let n=null,i=null;if(["Case","Lead","Opportunity","Solution"].includes(e))switch(n=r?`${(0,ta.upperFirst)(t)}Process`:`${t}Process`,e){case"Case":i="New";break;case"Lead":i="New - Not Contacted";break;case"Opportunity":i="Prospecting";break;case"Solution":i="Draft"}return[n,i]},Jut=(e,t,r,n,i)=>{let a={"@":{xmlns:"http://soap.sforce.com/2006/04/metadata"}},o=(0,ta.upperFirst)(e),s=t.sharingModel;s&&(a={...a,sharingModel:(0,ta.upperFirst)(s)});let l=i?(0,ta.upperFirst)(t.defaultRecordType):t.defaultRecordType;if(typeof l=="string"){r.push(`${o}.${l}`);let[c,u]=Gut(o,l,i),d={fullName:l,label:l,active:!0};if(a={...a,recordTypes:{...d}},c){let f={fullName:u};o!=="Opportunity"&&(f.default=!0),n.push(`${o}.${c}`),a={...a,recordTypes:{...d,businessProcess:c},businessProcesses:{fullName:c,isActive:!0,values:f}}}}return a};yn.createRecordTypeAndBusinessProcessFileContent=Jut;var eN=class{settingData;objectSettingsData;logger;writer;allRecordTypes=[];allBusinessProcesses=[];shapeDirName;packageFilePath;capitalizeRecordTypes;constructor(t){if(this.logger=gfe.Logger.childFromRoot("SettingsGenerator"),t?.capitalizeRecordTypes===void 0){let i=new Vut.Messages("@salesforce/core","scratchOrgSettingsGenerator",new Map([["noCapitalizeRecordTypeConfigVar","Record types defined in the scratch org definition file will stop being capitalized by default in a future release.\nSet the `org-capitalize-record-types` config var to `true` to enforce capitalization."]]));But.Lifecycle.getInstance().emitWarning(i.getMessage("noCapitalizeRecordTypeConfigVar")),this.capitalizeRecordTypes=!0}else this.capitalizeRecordTypes=t.capitalizeRecordTypes;let r=t?.mdApiTmpDir??ta.env.getString("SFDX_MDAPI_TEMP_DIR");this.shapeDirName=t?.shapeDirName??`shape_${Date.now()}`,this.packageFilePath=qp.join(this.shapeDirName,"package.xml");let n;t?.asDirectory?(n=r?qp.join(r,this.shapeDirName):void 0,this.writer=new qut.DirectoryWriter(n)):(n=r?qp.join(r,`${this.shapeDirName}.zip`):void 0,this.writer=new zut.ZipWriter(n))}async extract(t){return this.logger.debug("extracting settings from scratch definition file"),this.settingData=t.settings,this.objectSettingsData=t.objectSettings,this.logger.debug("settings are",this.settingData),{settings:this.settingData,objectSettings:this.objectSettingsData}}hasSettings(){return!(0,ta.isEmpty)(this.settingData)||!(0,ta.isEmpty)(this.objectSettingsData)}async createDeploy(){let t=qp.join(this.shapeDirName,"settings"),r=qp.join(this.shapeDirName,"objects");await Promise.all([this.writeSettingsIfNeeded(t),this.writeObjectSettingsIfNeeded(r,this.allRecordTypes,this.allBusinessProcesses)])}async deploySettingsViaFolder(t,r,n=ta.Duration.minutes(10)){let i=t.getUsername(),a=await gfe.Logger.child("deploySettingsViaFolder");await this.createDeployPackageContents(r);let o=t.getConnection();a.debug(`deploying to apiVersion: ${r}`),o.setApiVersion(r);let s=(await Wut.ConfigAggregator.create()).getPropertyValue("org-metadata-rest-deploy");a.debug(`Deploying settings to scratch org using ${s?"REST":"SOAP"} API`);let{id:l}=await o.deploy(this.writer.buffer,{rest:s});a.debug(`Settings deploy id: ${l}`);let c=await o.metadata.checkDeployStatus(l,void 0,s),u={async poll(){try{return c=await o.metadata.checkDeployStatus(l,!0),a.debug(`Deploy id: ${l} status: ${c.status}`),Zut.includes(c.status)?{completed:!0,payload:c.status}:{completed:!1}}catch(p){return a.debug(`An error occurred trying to check deploy id: ${l}`),a.debug(`Error: ${p.message}`),a.debug("Re-trying deploy check again...."),{completed:!1}}},timeout:n,frequency:ta.Duration.seconds(1),timeoutErrorName:"DeployingSettingsTimeoutError"};if(await(await Uut.PollingClient.create(u)).subscribe()!==Qk.Succeeded.toString()){let p=(0,Fut.ensureObject)(c.details).componentFailures,m=(Array.isArray(p)?p:[p]).map(y=>`[${y.problemType}] ${y.fullName} : ${y.problem} `).join(`
|
||
`);throw $ut.SfError.create({message:`A scratch org was created with username ${i??"<undefined>"}, but the settings failed to deploy due to:
|
||
${m}`,name:"ProblemDeployingSettings",data:{...c,username:i}})}}async createDeployPackageContents(t){let r=(0,yn.createObjectFileContent)({allRecordTypes:this.allRecordTypes,allBusinessProcesses:this.allBusinessProcesses,apiVersion:t,settingData:this.settingData,objectSettingsData:this.objectSettingsData}),n=Yk.parse("Package",r);await this.writer.addToStore(n,this.packageFilePath),await this.writer.finalize()}getShapeDirName(){return this.shapeDirName}getDestinationPath(){return this.writer.getDestinationPath()}async writeObjectSettingsIfNeeded(t,r,n){this.objectSettingsData&&await Promise.all(Object.entries(this.objectSettingsData).map(([i,a])=>{let o=(0,yn.createRecordTypeAndBusinessProcessFileContent)(i,a,r,n,this.capitalizeRecordTypes),s=Yk.parse("CustomObject",o);return this.writer.addToStore(s,qp.join(t,(0,ta.upperFirst)(i)+".object"))}))}async writeSettingsIfNeeded(t){this.settingData&&await Promise.all(Object.entries(this.settingData).map(([r,n])=>{let i=(0,ta.upperFirst)(r),a=i.replace("Settings",""),o=Yk.parse(i,n);return this.writer.addToStore(o,qp.join(t,a+".settings"))}))}};yn.default=eN});var bfe=h(Z5=>{"use strict";Object.defineProperty(Z5,"__esModule",{value:!0});Z5.simpleFeaturesList=void 0;Z5.simpleFeaturesList=["AIAttribution","API","AccountInspection","AccountingSubledgerGrowthEdition","AccountingSubledgerStarterEdition","AccountingSubledgerUser","AdmissionsConnectUser","AdvisorLinkFeature","AdvisorLinkPathwaysFeature","AllUserIdServiceAccess","AnalyticsAdminPerms","AnalyticsAppEmbedded","ApexGuruCodeAnalyzer","ApexUserModeWithPermSet","ArcGraphCommunity","Assessments","AssociationEngine","AuthorApex","B2BCommerce","B2BLoyaltyManagement","B2CCommerceGMV","B2CLoyaltyManagement","B2CLoyaltyManagementPlus","BYOCCaaS","BYOOTT","BatchManagement","BenefitManagement","BigObjectsBulkAPI","BillingAdvanced","Briefcase","BudgetManagement","BusinessRulesEngine","CGAnalytics","CMSMaxContType","CMSMaxNodesPerContType","CMSUnlimitedUse","CPQ","CacheOnlyKeys","CampaignInfluence2","CascadeDelete","CaseClassification","CaseWrapUp","ChangeDataCapture","Chatbot","ChatterEmailFooterLogo","ChatterEmailFooterText","ChatterEmailSenderName","CloneApplication","Communities","CompareReportsOrgPerm","ConAppPluginExecuteAsUser","ConnectedAppCustomNotifSubscription","ConnectedAppToolingAPI","ConsentEventStream","ContactsToMultipleAccounts","ContractApprovals","ContractManagement","ContractMgmtInd","CoreCpq","CustomFieldDataTranslation","CustomNotificationType","CustomerDataPlatform","CustomerDataPlatformLite","CustomerExperienceAnalytics","DSARPortability","DataComDnbAccounts","DataComFullClean","DataMaskUser","DataProcessingEngine","DebugApex","DecisionTable","DefaultWorkflowUser","DeferSharingCalc","DevOpsCenter","DevelopmentWave","DeviceTrackingEnabled","DisableManageIdConfAPI","DisclosureFramework","Division","DocGen","DocGenDesigner","DocGenInd","DocumentChecklist","DocumentReaderPageLimit","DurableClassicStreamingAPI","DurableGenericStreamingAPI","DynamicClientCreationLimit","EAOutputConnectors","EASyncOut","EAndUDigitalSales","EAndUSelfServicePortal","ERMAnalytics","EdPredictionM3Threshold","EdPredictionTimeout","EdPredictionTimeoutBulk","EdPredictionTimeoutByomBulk","Einstein1AIPlatform","EinsteinAnalyticsPlus","EinsteinArticleRecommendations","EinsteinBuilderFree","EinsteinDocReader","EinsteinGPTForDevelopers","EinsteinRecommendationBuilder","EinsteinRecommendationBuilderMetadata","EinsteinSalesRepFdbk","EinsteinSearch","EinsteinVisits","EinsteinVisitsED","EmbeddedLoginForIE","EnableManageIdConfUI","EnablePRM","EnableSetPasswordInApi","Enablement","EnergyAndUtilitiesCloud","Entitlements","EntityTranslation","EventLogFile","ExcludeSAMLSessionIndex","Explainability","ExpressionSetMaxExecPerHour","ExternalIdentityLogin","FSCAlertFramework","FSCServiceProcess","FieldAuditTrail","FieldServiceMobileExtension","FinanceLogging","FinancialServicesInsuranceUser","FlowSites","ForceComPlatform","ForecastEnableCustomField","Functions","Fundraising","GenericStreaming","Grantmaking","GuidanceHubAllowed","HLSAnalytics","HealthCloudAddOn","HealthCloudEOLOverride","HealthCloudForCmty","HealthCloudMedicationReconciliation","HealthCloudPNMAddOn","HealthCloudUser","HighVelocitySales","HighVolumePlatformEventAddOn","IdentityProvisioningFeatures","IgnoreQueryParamWhitelist","IndustriesActionPlan","IndustriesBranchManagement","IndustriesCompliantDataSharing","IndustriesManufacturingCmty","IndustriesMfgAccountForecast","IndustriesMfgAdvncdAccFrcs","IndustriesMfgPartnerVisitMgmt","IndustriesMfgProgram","IndustriesMfgRebates","IndustriesMfgTargets","InsightsPlatform","InsuranceCalculationUser","InsuranceClaimMgmt","InsurancePolicyAdmin","IntelligentDocumentReader","Interaction","InvestigativeCaseManagement","InvoiceManagement","IoT","JigsawUser","Knowledge","LegacyLiveAgentRouting","LightningSalesConsole","LightningScheduler","LightningServiceConsole","LiveAgent","LiveMessage","LongLayoutSectionTitles","LoyaltyAnalytics","LoyaltyEngine","LoyaltyManagementStarter","Macros","MarketingCloud","MarketingUser","MaterialityAssessment","MaxAudTypeCriterionPerAud","MaxWishlistsItemsPerWishlist","MaxWishlistsPerStoreAccUsr","MinKeyRotationInterval","MobileSecurity","MobileVoiceAndLLM","MultiCurrency","MultiLevelMasterDetail","MutualAuthentication","MyTrailhead","NonprofitCloudCaseManagementUser","ObjectLinking","OmnistudioDesigner","OmnistudioMetadata","OmnistudioRuntime","OrderManagement","OrderSaveBehaviorBoth","OrderSaveLogicEnabled","OutboundMessageHTTPSession","OutcomeManagement","PSSAssetManagement","PardotScFeaturesCampaignInfluence","PersonAccounts","PipelineInspection","PlatformCache","PlatformEncryption","ProcessBuilder","ProductCatalogManagementAddOn","ProductCatalogManagementPCAddOn","ProductCatalogManagementViewerAddOn","ProductsAndSchedules","ProgramManagement","ProviderFreePlatformCache","ProviderManagement","PublicSectorAccess","PublicSectorApplicationUsageCreditsAddOn","PublicSectorSiteTemplate","RateManagement","RecordTypes","RefreshOnInvalidSession","RevSubscriptionManagement","S1ClientComponentCacheSize","SAML20SingleLogout","SCIMProtocol","SFDOInsightsDataIntegrityUser","SalesCloudEinstein","SalesUser","SalesforceContentUser","SalesforceFeedbackManagementStarter","SalesforceHostedMCP","SalesforceIdentityForCommunities","SalesforcePricing","ScvMultipartyAndConsult","SecurityEventEnabled","SentimentInsightsFeature","ServiceCatalog","ServiceCloud","ServiceCloudVoicePartnerTelephony","ServiceUser","SessionIdInLogEnabled","SharedActivities","Sites","SocialCustomerService","StateAndCountryPicklist","StreamingAPI","SurveyAdvancedFeatures","SustainabilityApp","SustainabilityCloud","TCRMforSustainability","TalentRecruitmentManagement","TimeSheetTemplateSettings","TimelineConditionsLimit","TimelineEventLimit","TimelineRecordTypeLimit","TransactionFinalizers","UsageManagement","VolunteerManagement","Walkthroughs","WaveMaxCurrency","WavePlatform","WorkThanksPref","Workflow","WorkflowFlowActionFeature","WorkplaceCommandCenterUser"]});var vfe=h(H5=>{"use strict";Object.defineProperty(H5,"__esModule",{value:!0});H5.patternFeaturesList=void 0;H5.patternFeaturesList=["AddCustomApps","AddCustomObjects","AddCustomRelationships","AddCustomTabs","AddDataComCRMRecordCredit","AddInsightsQueryLimit","AdditionalFieldHistory","AssetScheduling","CalloutSizeMB","ConcStreamingClients","ConsolePersistenceInterval","EducationCloud","EmpPublishRateLimit","EncryptionStatisticsInterval","EncryptionSyncInterval","FieldService","FieldServiceAppointmentAssistantUser","FieldServiceDispatcherUser","FieldServiceLastMileUser","FieldServiceMobileUser","FieldServiceSchedulingUser","FinancialServicesCommunityUser","FinancialServicesUser","GenStreamingEventsPerDay","HoursBetweenCoverageJob","LoyaltyMaxOrderLinePerHour","LoyaltyMaxProcExecPerHour","LoyaltyMaxTransactions","LoyaltyMaxTrxnJournals","LoyaltyMaximumPartners","LoyaltyMaximumPrograms","MaxActiveDPEDefs","MaxApexCodeSize","MaxCustomLabels","MaxDataSourcesPerDPE","MaxDatasetLinksPerDT","MaxDecisionTableAllowed","MaxFavoritesAllowed","MaxFieldsPerNode","MaxInputColumnsPerDT","MaxLoyaltyProcessRules","MaxNoOfLexThemesAllowed","MaxNodesPerDPE","MaxOutputColumnsPerDT","MaxSourceObjectPerDSL","MaxStreamingTopics","MaxUserNavItemsAllowed","MaxUserStreamingChannels","MaxWritebacksPerDPE","MedVisDescriptorLimit","MobileExtMaxFileSizeMB","NumPlatformEvents","PlatformConnect","PlatformEventsPerDay","StreamingEventsPerDay","SubPerStreamingChannel","SubPerStreamingTopic"]});var wfe=h(G5=>{"use strict";Object.defineProperty(G5,"__esModule",{value:!0});G5.FeaturesSchema=void 0;var lb=il(),_fe=bfe(),Kut=vfe(),Xut=new Set(_fe.simpleFeaturesList.map(e=>e.toLowerCase())),Yut=e=>lb.z.string().regex(new RegExp(`^${e}:[0-9]+$`,"i")).meta({title:`${e}:<value>`}),Qut=lb.z.string().refine(e=>Xut.has(e.toLowerCase())).meta({enum:_fe.simpleFeaturesList});G5.FeaturesSchema=lb.z.array(lb.z.union([lb.z.union(Kut.patternFeaturesList.map(Yut)),Qut]))});var Sfe=h(J5=>{"use strict";Object.defineProperty(J5,"__esModule",{value:!0});J5.SettingsSchema=void 0;var C=il();J5.SettingsSchema=C.z.object({accountingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_accountingsettings.htm"),accountInsightsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_accountinsightssettings.htm"),accountIntelligenceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_accountintelligencesettings.htm"),accountPlanSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_accountplansettings.htm"),accountSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_accountsettings.htm"),actionsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_actionssettings.htm"),activitiesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_activitiessettings.htm"),addressSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_addresssettings.htm"),agentforceForDevelopersSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_agentforcefordeveloperssettings.htm"),agentPlatformSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_agentplatformsettings.htm"),aIReplyRecommendationsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_aireplyrecommendationssettings.htm"),analyticsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_analyticssettings.htm"),apexSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_apexsettings.htm"),appAnalyticsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_appanalyticssettings.htm"),appExperienceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_appexperiencesettings.htm"),associationEngineSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_associationenginesettings.htm"),automatedContactsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_automatedcontactssettings.htm"),botSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_botsettings.htm"),branchManagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_branchmanagementsettings.htm"),businessHoursSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_businesshourssettings.htm"),campaignSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_campaignsettings.htm"),caseSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_casesettings.htm"),chatterAnswersSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_chatteranswerssettings.htm"),chatterEmailsMDSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_chatteremailmdsettings.htm"),chatterSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_chattersettings.htm"),codeBuilderSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_codebuildersettings.htm"),collectionsDashboardSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_collectionsdashboardsettings.htm"),communitiesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_communitiessettings.htm"),companySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_companyprofilesettings.htm"),connectedAppSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_connectedappsettings.htm"),contentSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_contentsettings.htm"),contractSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_contractsettings.htm"),conversationalIntelligenceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_conversationalintelligencesettings.htm"),conversationChannelDefinition:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_conversationchanneldefinition.htm"),currencySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_currencysettings.htm"),customAddressFieldSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customaddressfieldsettings.htm"),dataDotComSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_datadotcomsettings.htm"),dataImportManagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_dataimportmanagementsettings.htm"),deploymentSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploymentsettings.htm"),devHubSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_devhubsettings.htm"),documentGenerationSetting:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_documentgenerationsetting.htm"),dynamicFormsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_dynamicformssettings.htm"),eACSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_eacsettings.htm"),einsteinAgentSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_einsteinagentsettings.htm"),einsteinAISettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_einsteinaisettings.htm"),einsteinGptSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_einsteingptsettings.htm"),emailAdministrationSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailadministrationsettings.htm"),emailAuthorizationSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailauthorizationsettings.htm"),emailIntegrationSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailintegrationsettings.htm"),emailTemplateSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_emailtemplatesettings.htm"),employeeUserSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_employeeusersettings.htm"),encryptionKeySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_encryptionkeysettings.htm"),enhancedNotesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_enhancednotessettings.htm"),entitlementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_entitlementsettings.htm"),eventSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_eventsettings.htm"),experienceBundleSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_experiencebundlesettings.htm"),externalClientAppSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_externalclientappsettings.htm"),externalServicesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_externalservicessettings.htm"),fieldServiceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_fieldservicesettings.htm"),filesConnectSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_filesconnectsettings.htm"),fileUploadAndDownloadSecuritySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_fileuploadanddownloadsecuritysettings.htm"),flowSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flowsettings.htm"),forecastingObjectListSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingobjectlistsettings.htm"),forecastingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingsettings.htm"),highVelocitySalesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_highvelocitysalessettings.htm"),ideasSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_ideassettings.htm"),identityProviderSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_identityprovidersettings.htm"),iframeWhiteListUrlSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_iframewhitelisturlsettings.htm"),incidentMgmtSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_incidentmgmtsettings.htm"),industriesEinsteinFeatureSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/industrieseinsteinfeaturesettings_metadata_api.htm"),industriesLoyaltySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/industriesloyaltysettings_metadata_api.htm"),industriesSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_industriessettings.htm"),interestTaggingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_interesttaggingsettings.htm"),inventorySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_inventorysettings.htm"),invLatePymntRiskCalcSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_invlatepymntriskcalcsettings.htm"),invocableActionSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_invocableactionsettings.htm"),ioTSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_iotsettings.htm"),knowledgeSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_knowledgesettings.htm"),languageSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_languagesettings.htm"),leadConfigSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_leadconfigsettings.htm"),leadConvertSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_leadconvertsettings.htm"),lightningExperienceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_lightningexperiencesettings.htm"),liveAgentSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_liveagentsettings.htm"),liveMessageSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_livemessagesettings.htm"),macroSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_macrosettings.htm"),mailMergeSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mailmergesettings.htm"),mapAndLocationSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mapandlocationsettings.htm"),meetingsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_meetingssettings.htm"),mfgServiceConsoleSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/mfg_mfgserviceconsolesettings_metadata_api.htm"),mobileSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mobilesettings.htm"),myDomainSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mydomainsettings.htm"),nameSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_namesettings.htm"),notificationsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_notificationssettings.htm"),oauthOidcSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_oauthoidcsettings.htm"),objectHierarchyRelationship:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/mfg_objecthierarchyrelationshipsettings_metadata_api.htm"),objectLinkingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objectlinkingsettings.htm"),omniChannelSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_omnichannelsettings.htm"),opportunityInsightsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_opportunityinsightssettings.htm"),opportunityScoreSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_opportunityscoresettings.htm"),opportunitySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_opportunityssettings.htm"),orderManagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_ordermanagementsettings.htm"),orderSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_ordersettings.htm"),orgPreferenceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_orgpreferencesettings.htm"),orgSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_orgsettings.htm"),pardotEinsteinSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_pardoteinsteinsettings.htm"),pardotSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_pardotsettings.htm"),partyDataModelSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_partydatamodelsettings.htm"),pathAssistantSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_pathassistantsettings.htm"),paymentsSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_paymentssettings.htm"),picklistSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_picklistsettings.htm"),platformEncryptionSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_platformencryptionsettings.htm"),platformEventSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_platformeventsettings.htm"),predictionBuilderSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_predictionbuildersettings.htm"),privacySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_privacysettings.htm"),processFlowMigration:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_processflowmigration.htm"),productSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_productsettings.htm"),quoteSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_quotessettings.htm"),realTimeEventSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_realtimeeventsettings.htm"),recordPageSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_recordpagesettings.htm"),retailExecutionSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata_api_retexset.htm"),salesAgreementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/mfg_salesagreementsettings_metadata_api.htm"),sandboxSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sandboxsettings.htm"),schemaSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_schemasettings.htm"),searchSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_searchsettings.htm"),securitySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_securitysettings.htm"),serviceCloudVoiceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_servicecloudvoicesettings.htm"),serviceSetupAssistantSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_servicesetupassistantsettings.htm"),sharingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sharingsettings.htm"),siteSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sitesettings.htm"),socialCustomerServiceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_socialcustomerservicesettings.htm"),socialProfileSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_socialprofilesettings.htm"),sourceTrackingSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sourcetrackingsettings.htm"),subscriptionManagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_subscriptionmanagementsettings.htm"),surveySettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_surveysettings.htm"),territory2Settings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_territory2settings.htm"),trailheadSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_trailheadsettings.htm"),trialOrgSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_trialorgsettings.htm"),userEngagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_userengagementsettings.htm"),userInterfaceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_userinterfacesettings.htm"),userManagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_usermanagementsettings.htm"),voiceSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_voicesettings.htm"),warrantyLifeCycleMgmtSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mfg_warrantylifecyclemgmtsettings.htm"),workDotComSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_WorkDotComSettings.htm"),workforceEngagementSettings:C.z.record(C.z.string(),C.z.unknown()).optional().describe("For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_workforceengagementsettings.htm")}).catchall(C.z.unknown())});var rN=h(K5=>{"use strict";Object.defineProperty(K5,"__esModule",{value:!0});K5.ScratchOrgDefSchema=void 0;var Va=il(),edt=wfe(),tdt=Sfe();K5.ScratchOrgDefSchema=Va.z.object({orgName:Va.z.string().optional().describe("The name of the scratch org.").meta({title:"Organization Name"}),edition:Va.z.string().refine(e=>["developer","enterprise","group","partner developer","partner enterprise","partner group","partner professional","professional"].includes(e.toLowerCase()),{message:"Invalid Salesforce edition. Valid options are: developer, enterprise, group, partner developer, partner enterprise, partner group, partner professional, professional."}).meta({enum:["Developer","Enterprise","Group","Professional","Partner Developer","Partner Enterprise","Partner Group","Partner Professional"]}).describe("The Salesforce edition of the scratch org."),country:Va.z.string().max(2).optional().describe("Dev Hub's country. If you want to override this value, enter the two-character, upper-case ISO-3166 country code (Alpha-2 code). You can find a full list of these codes at several sites, such as: https://www.iso.org/obp/ui/#search. This value sets the locale of the scratch org."),username:Va.z.string().optional().describe("A user name formatted like test-unique_identifier@orgName.net."),adminEmail:Va.z.string().optional().describe("Email address of the Dev Hub user making the scratch org creation request.").meta({title:"Administrator Email Address"}),description:Va.z.string().optional().describe("The description is a good way to document the scratch org's purpose. You can view or edit the description in the Dev Hub. From App Launcher, select Scratch Org Info or Active Scratch Orgs, then click the scratch org number.").meta({title:"Description of the Org"}),hasSampleData:Va.z.boolean().default(!1).optional().describe("Valid values are true and false. False is the default, which creates an org without sample data.").meta({title:"Include Sample Data"}),language:Va.z.string().max(5).optional().describe("Default language for the country. To override the language set by the Dev Hub locale, see Supported Languages (https://help.salesforce.com/articleView?id=faq_getstart_what_languages_does.htm&type=5&language=en_US) for the codes to use in this field.").meta({title:"Default Language"}),features:edt.FeaturesSchema.optional().describe("Features to enable in the scratch org."),template:Va.z.string().optional().describe("The template id for the scratch org shape. (Pilot)").meta({title:"Template ID"}),settings:tdt.SettingsSchema.optional().describe("Settings for the scratch org."),release:Va.z.enum(["preview","previous"]).optional().describe("Same Salesforce release as the Dev Hub org. Options are preview or previous. Can use only during Salesforce release transition periods.")}).catchall(Va.z.unknown())});var Efe=h(X5=>{"use strict";Object.defineProperty(X5,"__esModule",{value:!0});X5.ScratchOrgFeatureDeprecation=void 0;var rdt=Ke(),ndt=bt(),nN=new ndt.Messages("@salesforce/core","scratchOrgFeatureDeprecation",new Map([["quantifiedFeatureWithoutQuantityWarning","The feature %s will be deprecated in a future release. It's been replaced by %s:<value>, which requires you to specify a quantity."],["mappedFeatureWarning","The feature %s has been deprecated. It has been replaced with %s in this scratch org create request."],["deprecatedFeatureWarning","The feature %s has been deprecated. It has been removed from the list of requested features."]])),idt={simpleFeatureMapping:{SALESWAVE:["DEVELOPMENTWAVE"],SERVICEWAVE:["DEVELOPMENTWAVE"]},quantifiedFeatureMapping:{},deprecatedFeatures:["EXPANDEDSOURCETRACKING","LISTCUSTOMSETTINGCREATION","AppNavCapabilities","CMTRecordManagedDeletion","EditInSubtab","OldNewRecordFlowConsole","OldNewRecordFlowStd","DesktopLayoutStandardOff","SplitViewOnStandardOff","PopOutUtilities"]},iN=class{featureTypes;constructor(t=idt){this.featureTypes=t,this.featureTypes.deprecatedFeatures=this.featureTypes.deprecatedFeatures.map(n=>n.toUpperCase());let r={};Object.keys(this.featureTypes.simpleFeatureMapping).forEach(n=>{r[n.toUpperCase()]=this.featureTypes.simpleFeatureMapping[n]}),this.featureTypes.simpleFeatureMapping=r}getFeatureWarnings(t){let r=[],n=((0,rdt.isString)(t)?t:t.join(";")).toUpperCase();return Object.keys(this.featureTypes.quantifiedFeatureMapping).forEach(i=>{new RegExp(`${i};|${i},|${i}$`,"i").test(n)&&r.push(nN.getMessage("quantifiedFeatureWithoutQuantityWarning",[i,this.featureTypes.quantifiedFeatureMapping[i]]))}),Object.keys(this.featureTypes.simpleFeatureMapping).forEach(i=>{if(new RegExp(`${i};|${i},|${i}$`,"i").test(n)){let a="["+this.featureTypes.simpleFeatureMapping[i].map(o=>"'"+o+"'").join(",")+"]";r.push(nN.getMessage("mappedFeatureWarning",[i,a]))}}),this.featureTypes.deprecatedFeatures.forEach(i=>{n.includes(i)&&r.push(nN.getMessage("deprecatedFeatureWarning",[i]))}),r}filterDeprecatedFeatures(t){return t.reduce((r,n)=>{let i=n.toUpperCase();if(this.featureTypes.deprecatedFeatures.includes(i))return r;if(this.featureTypes.simpleFeatureMapping[i]){let a=this.featureTypes.simpleFeatureMapping[i];return[...r,...a]}return[...r,n]},[])}};X5.ScratchOrgFeatureDeprecation=iN});var Ife=h(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.getScratchOrgInfoPayload=bc.generateScratchOrgInfo=bc.getAncestorIds=void 0;var adt=He(),odt=Ke(),sdt=Rr(),Ofe=my(),ldt=NS(),cdt=bt(),bl=wt(),Cfe=rN(),Tfe=sn(),udt=Efe(),ddt=sc(),yl=new cdt.Messages("@salesforce/core","scratchOrgInfoGenerator",new Map([["Package2AncestorsIdsKeyNotSupportedError",'The package2AncestorIds key is no longer supported in a scratch org definition. Ancestors defined in sfdx-project.json will be included in the scratch org.",'],["InvalidAncestorVersionFormatError",'The ancestor versionNumber must be in the format major.minor.patch but the value found is %s",'],["NoMatchingAncestorError",`The ancestor for ancestorVersion %s can't be found. Package ID %s.",`],["NoMatchingAncestorIdError",`The ancestor for ancestorId [%s] can't be found. Package ID %s."`],["AncestorNotReleasedError",'The ancestor package version [%s] specified in the sfdx-project.json file may exist hasn\u2019t been promoted and released. Release the ancestor package version before specifying it as the ancestor in a new package or patch version.",'],["AncestorIdVersionMismatchError",'The ancestorVersion in sfdx-project.json is not the version expected for the ancestorId you supplied. ancestorVersion %s. ancestorID %s."'],["unsupportedSnapshotOrgCreateOptions","Org snapshots don\u2019t support one or more options you specified: %s"]])),pdt=["features","orgPreferences","edition","sourceOrg","settingsPath","releaseVersion"],fdt=(e,t)=>{if(e.toLowerCase()==="durationdays")throw new bl.SfError("unrecognizedScratchOrgOption","durationDays");if(e.toLowerCase()==="snapshot"){let r=pdt.filter(n=>n in t);if(r.length>0)throw new bl.SfError(yl.getMessage("unsupportedSnapshotOrgCreateOptions",[r.join(", ")]),"orgSnapshot")}},mdt=async(e,t,r)=>{if(Reflect.has(e,"package2AncestorIds"))throw new bl.SfError(yl.getMessage("Package2AncestorsIdsKeyNotSupportedError"),"DeprecationError");let n=(await t.getPackageDirectories()).filter(Ofe.isPackagingDirectory).filter(a=>a.ancestorId??a.ancestorVersion);if(n.length===0)return"";let i=await Promise.all(n.map(async a=>{let o=t.get("packageAliases"),s=o[(0,odt.ensureString)(a.package)]??a.package;if(a.ancestorVersion==="NONE"||a.ancestorId==="NONE")return"";if(a.ancestorVersion==="HIGHEST"||a.ancestorId==="HIGHEST"){let l=`SELECT Id FROM Package2Version WHERE Package2Id = '${s}' AND IsReleased = True AND IsDeprecated = False AND PatchVersion = 0 ORDER BY MajorVersion Desc, MinorVersion Desc, PatchVersion Desc, BuildNumber Desc LIMIT 1`;try{return(await r.getConnection().singleRecordQuery(l,{tooling:!0})).Id}catch{throw a.ancestorVersion==="HIGHEST"?new bl.SfError(yl.getMessage("NoMatchingAncestorError",[a.ancestorVersion,a.package]),"NoMatchingAncestorError",[yl.getMessage("AncestorNotReleasedError",[a.ancestorVersion])]):new bl.SfError(yl.getMessage("NoMatchingAncestorIdError",[a.ancestorId,a.package]),"NoMatchingAncestorIdError",[yl.getMessage("AncestorNotReleasedError",[a.ancestorId])])}}if(a.ancestorVersion){if(!/^[0-9]+.[0-9]+.[0-9]+(.[0-9]+)?$/.test(a.ancestorVersion))throw yl.createError("InvalidAncestorVersionFormatError",[a.ancestorVersion]);let[l,c,u]=a.ancestorVersion.split("."),d;try{d=await r.getConnection().singleRecordQuery(`SELECT Id, IsReleased FROM Package2Version WHERE Package2Id = '${s}' AND MajorVersion = ${l} AND MinorVersion = ${c} AND PatchVersion = ${u} and IsReleased = true`,{tooling:!0})}catch{throw new bl.SfError(yl.getMessage("NoMatchingAncestorError",[a.ancestorVersion,a.package]),"NoMatchingAncestorError",[yl.getMessage("AncestorNotReleasedError",[a.ancestorVersion])])}if(a.ancestorId&&a.ancestorId!==d.Id)throw yl.createError("AncestorIdVersionMismatchError",[a.ancestorVersion,a.ancestorId]);return d.Id}if(a?.ancestorId?.startsWith("05i"))return a.ancestorId;if(a?.ancestorId?.startsWith("04t"))return(await r.getConnection().singleRecordQuery(`SELECT Id FROM Package2Version WHERE SubscriberPackageVersionId = '${a.ancestorId}'`,{tooling:!0})).Id;if(a.ancestorId&&o?.[a.ancestorId])return o[a.ancestorId];throw new bl.SfError(`Invalid ancestorId ${a.ancestorId??"<undefined>"}`,"InvalidAncestorId")}));return Array.from(new Set(i.filter(a=>a!==""))).join(";")};bc.getAncestorIds=mdt;var hdt=async({hubOrg:e,scratchOrgInfoPayload:t,nonamespace:r,ignoreAncestorIds:n})=>{let i;try{i=await Ofe.SfProjectJson.create({})}catch{}let{namespace:a,...o}=t,s=a??i?.get("namespace");return{...o,orgName:t.orgName??"Company",connectedAppCallbackUrl:`http://localhost:${await ldt.WebOAuthServer.determineOauthPort()}/OauthRedirect`,...!r&&s?{namespace:s}:{},connectedAppConsumerKey:t.connectedAppConsumerKey??e.getConnection().getAuthInfoFields().clientId??ddt.DEFAULT_CONNECTED_APP_INFO.clientId,package2AncestorIds:!n&&i?.hasPackages()?await(0,bc.getAncestorIds)(t,i,e):""}};bc.generateScratchOrgInfo=hdt;var gdt=async e=>{let t=[],r={...e.definitionfile?await ydt(e.definitionfile):{},...e.definitionjson?await xfe(JSON.parse(e.definitionjson),"definitionjson"):{},...e.orgConfig?await xfe(e.orgConfig,"orgConfig"):{}};Object.keys(r).forEach(i=>{if(i[0].toUpperCase()===i[0])throw new bl.SfError("InvalidJsonCasing",i)}),Object.keys(r).forEach(i=>{fdt(i,r)}),e.connectedAppConsumerKey&&(r.connectedAppConsumerKey=e.connectedAppConsumerKey),r.durationDays=e.durationDays;let n=new udt.ScratchOrgFeatureDeprecation;return r.features&&(typeof r.features=="string"&&(r.features=r.features.split(/[;,]/)),t=n.getFeatureWarnings(r.features),r.features=r.features.map(i=>i.trim()),r.features=n.filterDeprecatedFeatures(r.features).join(";")),{scratchOrgInfoPayload:r,ignoreAncestorIds:e.nonamespace??e.noancestors??!1,warnings:t}};bc.getScratchOrgInfoPayload=gdt;var xfe=async(e,t)=>{let r=Cfe.ScratchOrgDefSchema.safeParse(e);if(!r.success){let n=r.error.issues.map(i=>`${i.path.join(".")}: ${i.message}`).join(`
|
||
`);return await Tfe.Lifecycle.getInstance().emitWarning(`Scratch org definition validation issues in ${t}:
|
||
${n}`),e}return r.data},ydt=async e=>{try{let t=await sdt.fs.promises.readFile(e,"utf8"),r=(0,adt.parseJson)(t);delete r.$schema;let n=Cfe.ScratchOrgDefSchema.safeParse(r);if(n.success)return n.data;{let i=n.error.issues.map(a=>`${a.path.join(".")}: ${a.message}`).join(`
|
||
`);return await Tfe.Lifecycle.getInstance().emitWarning(`Scratch org definition validation issues in ${e}:
|
||
${i}`),r}}catch(t){let r=t;throw r.name==="JsonParseError"?new bl.SfError(`An error occurred parsing ${e}`):bl.SfError.wrap(r)}}});var sN=h(Ao=>{"use strict";var bdt=Ao&&Ao.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ao,"__esModule",{value:!0});Ao.scratchOrgCreate=Ao.scratchOrgResume=Ao.DEFAULT_STREAM_TIMEOUT_MINUTES=void 0;var Y5=He(),vdt=Ke(),_dt=bt(),aN=yt(),oN=rc(),Dfe=Du(),wdt=my(),Sdt=zf(),Edt=wt(),Q5=lh(),vc=ID(),Lfe=bdt(tN()),Afe=Ife(),xdt=sc(),Xu=yy(),kfe=PS(),Odt=TD(),cb=new _dt.Messages("@salesforce/core","scratchOrgCreate",new Map([["UnsupportedSnapshotOrgCreateOptionsError","Org snapshots don\u2019t support one or more options you specified: %s."],["DurationDaysValidationMinError","Expected 'durationDays' greater than or equal to %s but received %s."],["DurationDaysValidationMaxError","Expected 'durationDays' less than or equal to %s but received %s."],["DurationDaysNotIntError","Expected 'durationDays' to be an integer number."],["RetryNotIntError","Expected 'retry' to be an integer number."],["CacheMissError","The ScratchOrgInfoId %s was not found in the cache."]]));Ao.DEFAULT_STREAM_TIMEOUT_MINUTES=6;var Cdt=e=>{if(Number.isInteger(e)){if(e<1)throw cb.createError("DurationDaysValidationMinError",[1,e]);if(e>30)throw cb.createError("DurationDaysValidationMaxError",[30,e]);return}throw cb.createError("DurationDaysNotIntError")},Tdt=e=>{if(!Number.isInteger(e))throw cb.createError("RetryNotIntError")},Idt=async(e,t=Y5.Duration.minutes(15))=>{let[r,n]=await Promise.all([aN.Logger.child("scratchOrgResume"),kfe.ScratchOrgCache.create(),(0,Xu.emit)({stage:"send request"})]);r.debug(`resuming scratch org creation for jobId: ${e}`);let i=n.get(e,!0);if(!i)throw cb.createError("CacheMissError",[e]);let{hubUsername:a,apiVersion:o,clientSecret:s,signupTargetLoginUrlConfig:l,definitionjson:c,alias:u,setDefault:d,tracksSource:f}=i,p=l??await Nfe();p&&r.debug(`resuming org create with LoginUrl override= ${p}`);let m=await Q5.Org.create({aliasOrUsername:a}),y=await(0,Odt.validateScratchOrgInfoForResume)({jobId:e,hubOrg:m,cache:n,hubUsername:a,timeout:t}),v=y.Username??y.SignupUsername,E=await(await Sdt.StateAggregator.getInstance()).orgs.exists(v)?await xdt.AuthInfo.create({username:v}):await(0,vc.authorizeScratchOrg)({scratchOrgInfoComplete:y,hubOrg:m,clientSecret:s,signupTargetLoginUrl:p,retry:0});await e8(68)(E.handleAliasAndDefaultSettings({alias:u,setDefault:d??!1,setDefaultDevHub:!1,setTracksSource:f??!0}));let w=await Q5.Org.create({aliasOrUsername:v}),_=await oN.ConfigAggregator.create();await(0,Xu.emit)({stage:"deploy settings",scratchOrgInfo:y});let b=await jfe(),A=new Lfe.default({capitalizeRecordTypes:b});await A.extract({...y,...c});let[j]=await e8(68)(Promise.all([(0,vc.resolveUrl)(E),(0,vc.deploySettings)(w,A,o??_.getPropertyValue(Dfe.OrgConfigProperties.ORG_API_VERSION)??await w.retrieveMaxApiVersion())]));n.unset(y.Id??e);let P=j.getFields();return await Promise.all([(0,Xu.emit)({stage:"done",scratchOrgInfo:y}),n.write(),(0,Xu.emitPostOrgCreate)(P)]),{username:v,scratchOrgInfo:y,authInfo:j,authFields:P,warnings:[]}};Ao.scratchOrgResume=Idt;var Adt=async e=>{let t=await aN.Logger.child("scratchOrgCreate"),r=Date.now();t.debug("preparing scratch org signup request..."),await(0,Xu.emit)({stage:"prepare request"});let{hubOrg:n,connectedAppConsumerKey:i,durationDays:a=1,nonamespace:o,noancestors:s,wait:l=Y5.Duration.minutes(Ao.DEFAULT_STREAM_TIMEOUT_MINUTES),retry:c=0,apiversion:u,definitionjson:d,definitionfile:f,orgConfig:p,clientSecret:m=void 0,alias:y,setDefault:v=!1,tracksSource:S=!0}=e;Cdt(a),Tdt(c);let{scratchOrgInfoPayload:E,ignoreAncestorIds:w,warnings:_}=await(0,Afe.getScratchOrgInfoPayload)({definitionjson:d,definitionfile:f,connectedAppConsumerKey:i,durationDays:a,nonamespace:o,noancestors:s,orgConfig:p}),b=await(0,Afe.generateScratchOrgInfo)({hubOrg:n,scratchOrgInfoPayload:E,nonamespace:o,ignoreAncestorIds:w}),A=await jfe(),j=new Lfe.default({capitalizeRecordTypes:A}),P=await j.extract(b);t.debug(`the scratch org def file has settings: ${j.hasSettings()}`);let[T,N]=await Promise.all([(0,vc.requestScratchOrgCreation)(n,b,j),Nfe()]),k=(0,vdt.ensureString)(T.id),B=await kfe.ScratchOrgCache.create();if(B.set(k,{hubUsername:n.getUsername(),hubBaseUrl:n.getField(Q5.Org.Fields.INSTANCE_URL)?.toString(),definitionjson:{...d?JSON.parse(d):{},...p,...P},clientSecret:m,alias:y,setDefault:v,tracksSource:S}),await B.write(),t.debug(`scratch org has recordId ${k}`),l.minutes===0){let We=await(0,vc.queryScratchOrgInfo)(n,k);return{username:We.SignupUsername,warnings:[],scratchOrgInfo:We}}let $=await(0,vc.pollForScratchOrgInfo)(n,k,l),K=await(0,vc.authorizeScratchOrg)({scratchOrgInfoComplete:$,hubOrg:n,clientSecret:m,signupTargetLoginUrl:N,retry:c||0});await e8(68)(K.handleAliasAndDefaultSettings({alias:y,setDefault:v,setDefaultDevHub:!1,setTracksSource:S!==!1}));let ae=await Q5.Org.create({aliasOrUsername:$.Username??$.SignupUsername}),ne=ae.getUsername();t.debug(`scratch org username ${ne??"<undefined>"}`),await(0,Xu.emit)({stage:"deploy settings",scratchOrgInfo:$});let re=await oN.ConfigAggregator.create(),[ce]=await e8(68)(Promise.all([(0,vc.resolveUrl)(K),(0,vc.deploySettings)(ae,j,u??re.getPropertyValue(Dfe.OrgConfigProperties.ORG_API_VERSION)??await ae.retrieveMaxApiVersion(),Y5.Duration.milliseconds(l.milliseconds-(Date.now()-r)))]));B.unset(k);let _e=ce.getFields();return await Promise.all([(0,Xu.emit)({stage:"done",scratchOrgInfo:$}),B.write(),(0,Xu.emitPostOrgCreate)(_e)]),{username:ne,scratchOrgInfo:$,authInfo:ce,authFields:ce?.getFields(),warnings:_}};Ao.scratchOrgCreate=Adt;var Nfe=async()=>{try{let r=(await(await wdt.SfProject.resolve()).resolveProjectConfig()).signupTargetLoginUrl;if(r)return aN.Logger.childFromRoot("getSignupTargetLoginUrl").debug(`Found signupTargetLoginUrl in project file: ${r}`),r}catch{}};async function jfe(){let t=(await oN.ConfigAggregator.create()).getInfo("org-capitalize-record-types").value;return t!==void 0?(0,Y5.toBoolean)(t):void 0}var e8=e=>async t=>{try{return await t}catch(r){let n=Edt.SfError.wrap(r);throw n.exitCode=e,n}}});var lh=h(kn=>{"use strict";var Ddt=kn&&kn.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ldt=kn&&kn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),kdt=kn&&kn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Ddt(t,e,r);return Ldt(t,e),t};Object.defineProperty(kn,"__esModule",{value:!0});kn.Org=kn.SandboxEvents=kn.OrgTypes=void 0;kn.sandboxIsResumable=Ufe;var Yu=kdt(require("node:path")),ra=He(),bn=Ke(),Pfe=Rr(),lN=G0(),Ndt=rc(),Mfe=FA(),Rfe=Cr(),_c=sn(),jdt=yt(),Ln=wt(),t8=jl(),Ffe=NS(),Pdt=bt(),Do=zf(),Mdt=_p(),wc=wp(),Rdt=uN(),Sc=sc(),Fdt=sN(),ub=Du(),dr=new Pdt.Messages("@salesforce/core","org",new Map([["notADevHub","The provided dev hub username %s is not a valid dev hub."],["noUsernameFound","No username found."],["noDevHubFound","Unable to associate this scratch org with a DevHub."],["deleteOrgHubError","The Dev Hub org cannot be deleted."],["insufficientAccessToDelete","You do not have the appropriate permissions to delete a scratch org. Please contact your Salesforce admin."],["scratchOrgNotFound","Attempting to delete an expired or deleted org"],["sandboxDeleteFailed","The sandbox org deletion failed with a result of %s."],["sandboxNotFound","We can't find a SandboxProcess for the sandbox %s."],["sandboxInfoCreateFailed","The sandbox org creation failed with a result of %s."],["sandboxInfoRefreshFailed","The sandbox org refresh failed with a result of %s."],["missingAuthUsername","The sandbox %s does not have an authorized username."],["orgPollingTimeout","Sandbox status is %s; timed out waiting for completion."],["NotFoundOnDevHub","The scratch org does not belong to the dev hub username %s."],["AuthInfoOrgIdUndefined","AuthInfo orgId is undefined."],["sandboxCreateNotComplete","The sandbox creation has not completed."],["sandboxAuthNotComplete",'The sandbox org completed successfully, but the local authentication file could not be written: %s. Run "org resume sandbox" again to retry authentication.'],["sandboxAuthIncomplete",'The sandbox org completed, but the authentication endpoint is not ready yet (INVALID_STATUS: %s). Run "org resume sandbox" to retry.'],["SandboxProcessNotFoundBySandboxName","We can't find a SandboxProcess with the SandboxName %s."],["MultiSandboxProcessNotFoundBySandboxName","We found more than one SandboxProcess with the SandboxName %s."],["sandboxNotResumable","The sandbox %s cannot resume with status of %s."],["FrontdoorURLError","Failed to generate a frontdoor URL."],["FlowIdNotFound","ID not found for Flow %s."],["CustomObjectIdNotFound","ID not found for custom object %s."],["ApexClassIdNotFound","ID not found for Apex class %s."]])),$fe;(function(e){e.Scratch="scratch",e.Sandbox="sandbox"})($fe||(kn.OrgTypes=$fe={}));var Lo;(function(e){e.EVENT_STATUS="status",e.EVENT_ASYNC_RESULT="asyncResult",e.EVENT_RESULT="result",e.EVENT_AUTH="auth",e.EVENT_RESUME="resume",e.EVENT_MULTIPLE_SBX_PROCESSES="multipleMatchingSbxProcesses"})(Lo||(kn.SandboxEvents=Lo={}));var $dt=["Activating","Pending","Pending Activation","Processing","Sampling","Completed"];function Ufe(e){return $dt.includes(e)}var cN=["Id","Status","SandboxName","SandboxInfoId","LicenseType","CreatedDate","CopyProgress","SandboxOrganization","SourceId","Description","EndDate","Features"],Udt=["Id","IsDeleted","CreatedDate","CreatedById","LastModifiedDate","LastModifiedById","SandboxName","LicenseType","TemplateId","HistoryDays","CopyChatter","AutoActivate","ApexClassId","Description","SourceId","ActivationUserGroupId","Features","PostCopyConfig"],db=class e extends ra.AsyncOptionalCreatable{status=e.Status.UNKNOWN;configAggregator;logger;connection;options;orgId;constructor(t){super(t),this.options=t??{}}async getMetadataUIURL(t,r){let n=async(c,u)=>(await c.singleRecordQuery(`SELECT id FROM BotDefinition WHERE DeveloperName='${Yu.basename(u,".bot-meta.xml")}'`)).Id,i=async(c,u)=>(await c.singleRecordQuery(`SELECT id FROM flexipage WHERE DeveloperName='${Yu.basename(u,".flexipage-meta.xml")}'`,{tooling:!0})).Id,a=async(c,u)=>{try{return(await c.singleRecordQuery(`SELECT DurableId FROM FlowVersionView WHERE FlowDefinitionView.ApiName = '${Yu.basename(u,".flow-meta.xml")}' ORDER BY VersionNumber DESC LIMIT 1`)).DurableId}catch{throw dr.createError("FlowIdNotFound",[u])}},o=async(c,u)=>{try{return(await c.singleRecordQuery(`SELECT Id FROM CustomObject WHERE DeveloperName = '${Yu.basename(u.replace(/__c/g,""),".object-meta.xml")}'`,{tooling:!0})).Id}catch{throw dr.createError("CustomObjectIdNotFound",[u])}},s=async(c,u)=>{try{return(await c.singleRecordQuery(`SELECT Id FROM ApexClass WHERE Name = '${Yu.basename(u,".cls")}'`,{tooling:!0})).Id}catch{throw dr.createError("ApexClassIdNotFound",[u])}},l="";switch(t){case"ApexClass":l=`lightning/setup/ApexClasses/page?address=%2F${await s(this.connection,r)}`;break;case"CustomObject":l=`lightning/setup/ObjectManager/${await o(this.connection,r)}/Details/view`;break;case"Bot":l=`/AiCopilot/copilotStudio.app#/copilot/builder?copilotId=${await n(this.connection,r)}`;break;case"ApexPage":l=`/apex/${Yu.basename(r).replace(".page-meta.xml","").replace(".page","")}`;break;case"Flow":l=`/builder_platform_interaction/flowBuilder.app?flowId=${await a(this.connection,r)}`;break;case"FlexiPage":l=`/visualEditor/appBuilder.app?pageId=${await i(this.connection,r)}`;break;default:l="/lightning/setup/FlexiPageList/home";break}return this.getFrontDoorUrl(l)}async getFrontDoorUrl(t){await this.refreshAuth();let r=new URL("/services/oauth2/singleaccess",this.connection.instanceUrl);t&&r.searchParams.append("redirect_uri",t);let n=await this.connection.requestGet(r.toString());if(n.frontdoor_uri)return n.frontdoor_uri;throw new Ln.SfError(dr.getMessage("FrontdoorURLError")).setData(n)}async createSandbox(t,r={wait:ra.Duration.minutes(6),async:!1,interval:ra.Duration.seconds(30)}){this.logger.debug(t,"CreateSandbox called with SandboxRequest"),t.Features&&Array.isArray(t.Features)&&(t.Features=JSON.stringify(t.Features)),t.PostCopyConfig&&Array.isArray(t.PostCopyConfig)&&(t.PostCopyConfig=JSON.stringify(t.PostCopyConfig));let n=await this.connection.tooling.create("SandboxInfo",t);if(this.logger.debug(n,"Return from calling tooling.create"),Array.isArray(n)||!n.success)throw dr.createError("sandboxInfoCreateFailed",[JSON.stringify(n)]);let i=await this.querySandboxProcessBySandboxInfoId(n.id);if(this.logger.debug(i,"Return from calling singleRecordQuery with tooling"),!!r.async)return await _c.Lifecycle.getInstance().emit(Lo.EVENT_ASYNC_RESULT,i),i;let[o,s]=this.validateWaitOptions(r);return this.logger.debug(i,`create - pollStatusAndAuth sandboxProcessObj, max wait time of ${o.minutes} minutes`),this.pollStatusAndAuth({sandboxProcessObj:i,wait:o,pollInterval:s})}async refreshSandbox(t,r={wait:ra.Duration.minutes(6),async:!1,interval:ra.Duration.seconds(30)}){this.logger.debug(t,"RefreshSandbox called with SandboxInfo"),t.PostCopyConfig&&Array.isArray(t.PostCopyConfig)&&(t.PostCopyConfig=JSON.stringify(t.PostCopyConfig));let n=await this.connection.tooling.update("SandboxInfo",t);if(this.logger.debug(n,"Return from calling tooling.update"),!n.success)throw dr.createError("sandboxInfoRefreshFailed",[JSON.stringify(n)]);let i=`SELECT ${cN.join(",")} FROM SandboxProcess WHERE SandboxName='${t.SandboxName}' ORDER BY CreatedDate DESC`,a=(await this.connection.tooling.query(i)).records.filter(u=>!u.Status.startsWith("Del"));if(this.logger.debug(a,`SandboxProcesses for ${t.SandboxName}`),a?.length===0)throw new Error(`No SandboxProcesses found for: ${t.SandboxName}`);let o=a[0];if(!!r.async)return await _c.Lifecycle.getInstance().emit(Lo.EVENT_ASYNC_RESULT,o),o;let[l,c]=this.validateWaitOptions(r);return this.logger.debug(o,`refresh - pollStatusAndAuth sandboxProcessObj, max wait time of ${l.minutes} minutes`),this.pollStatusAndAuth({sandboxProcessObj:o,wait:l,pollInterval:c})}async cloneSandbox(t,r,n){let i=(await this.querySandboxProcessBySandboxName(r)).SandboxInfoId;return this.logger.debug(`Clone sandbox sourceId ${i}`),this.createSandbox({...t,SourceId:i},n)}async resumeSandbox(t,r={wait:ra.Duration.minutes(0),async:!1,interval:ra.Duration.seconds(30)}){this.logger.debug(t,"ResumeSandbox called with ResumeSandboxRequest");let n;if(t.SandboxProcessObjId)n=await this.querySandboxProcessById(t.SandboxProcessObjId);else if(t.SandboxName)try{n=await this.querySandboxProcessBySandboxName(t.SandboxName)}catch(o){if(o instanceof Ln.SfError&&o.name==="SingleRecordQuery_MultipleRecords"&&o.data){let s=o.data;n=s[0],await _c.Lifecycle.getInstance().emit(Lo.EVENT_MULTIPLE_SBX_PROCESSES,s)}else throw o}else throw dr.createError("sandboxNotFound",[t.SandboxName??t.SandboxProcessObjId]);if(this.logger.debug(n,"Return from calling singleRecordQuery with tooling"),!Ufe(n.Status))throw dr.createError("sandboxNotResumable",[n.SandboxName,n.Status]);await _c.Lifecycle.getInstance().emit(Lo.EVENT_RESUME,n);let[i,a]=this.validateWaitOptions(r);if(i.seconds===0){if(n.Status==="Completed"){let o=await this.sandboxSignupComplete(n);if(o){await _c.Lifecycle.getInstance().emit(Lo.EVENT_AUTH,o);try{return this.logger.debug(o,"sandbox signup complete"),await this.writeSandboxAuthFile(n,o),n}catch(s){let l=s instanceof Error?s:new Error(String(s));this.logger.debug("Failed to write sandbox auth file",l.message);let c=dr.createError("sandboxAuthNotComplete",[l.message]);throw c.cause=l,c}}}throw await _c.Lifecycle.getInstance().emit(Lo.EVENT_ASYNC_RESULT,n),dr.createError("sandboxCreateNotComplete")}return this.logger.debug(n,`resume - pollStatusAndAuth sandboxProcessObj, max wait time of ${i.minutes} minutes`),this.pollStatusAndAuth({sandboxProcessObj:n,wait:i,pollInterval:a})}async scratchOrgCreate(t){return(0,Fdt.scratchOrgCreate)({...t,hubOrg:this})}async sandboxStatus(t,r){return this.authWithRetriesByName(t,r)}async cleanLocalOrgData(t,r=!1){let n;try{n=await this.getLocalDataDir(t),this.logger.debug(`cleaning data for path: ${n}`)}catch(i){if(i instanceof Error&&i.name==="InvalidProjectWorkspaceError")return;throw i}return this.manageDelete(async()=>Pfe.fs.promises.rmdir(n),n,r)}async retrieveOrgUsersConfig(){return Mfe.OrgUsersConfig.create(Mfe.OrgUsersConfig.getOptions(this.getOrgId()))}async remove(t=!1){if(this.getConnection().isUsingAccessToken())return Promise.resolve();await this.removeSandboxConfig(),await this.removeUsers(t),await this.removeUsersConfig(),await this.removeAuth(),await this.removeSourceTrackingFiles()}async isSandbox(){return(await Do.StateAggregator.getInstance()).sandboxes.hasFile(this.getOrgId())}async checkScratchOrg(t){let r=t;r||(r=this.configAggregator.getPropertyValue(ub.OrgConfigProperties.TARGET_DEV_HUB));let n=(await e.create({aliasOrUsername:r})).getConnection(),i=this.getConnection().getAuthInfoFields(),o=`SELECT CreatedDate,Edition,ExpirationDate FROM ActiveScratchOrg WHERE ScratchOrg='${(0,t8.trimTo15)(i.orgId)??"<undefined>"}'`;try{if((await n.query(o)).records.length!==1)throw new Ln.SfError("No results","NoResultsError")}catch(s){throw s instanceof Error&&s.name==="INVALID_TYPE"?dr.createError("notADevHub",[n.getUsername()]):s}return i}async getDevHubOrg(){if(this.isDevHubOrg())return this;if(this.getField(e.Fields.DEV_HUB_USERNAME)){let t=(0,bn.ensureString)(this.getField(e.Fields.DEV_HUB_USERNAME));return e.create({connection:await wc.Connection.create({authInfo:await Sc.AuthInfo.create({username:t})})})}}isDevHubOrg(){let t=this.getField(e.Fields.IS_DEV_HUB);return(0,bn.isBoolean)(t)?t:!1}async deleteFrom(t){let r=typeof t=="string"?await e.create({aggregator:this.configAggregator,aliasOrUsername:t}):t;await this.isSandbox()?await this.deleteSandbox(r):await this.deleteScratchOrg(r)}async delete(){let t=(0,bn.ensureString)(this.getUsername()),r=await Do.StateAggregator.getInstance(),n=r.aliases.getAll(t);await r.aliases.unsetValuesAndSave(n),await Promise.all([...n,t].flatMap(i=>this.configAggregator.unsetByValue(i))),await this.isSandbox()?await this.deleteSandbox():await this.deleteScratchOrg()}async determineIfDevHubOrg(t=!1){let r=this.getField(e.Fields.IS_DEV_HUB);if(!t&&(0,bn.isBoolean)(r))return r;if(this.isDevHubOrg())return!0;this.logger.debug("isDevHub is not cached - querying server...");let n=this.getConnection(),i=!1;try{await n.query("SELECT Id FROM ScratchOrgInfo limit 1"),i=!0}catch{}let a=(0,bn.ensure)(this.getUsername()),o=await Sc.AuthInfo.create({username:a});return await o.save({isDevHub:i}),this.connection=await wc.Connection.create({authInfo:o}),i}isScratch(){let t=this.getField(e.Fields.IS_SCRATCH);return(0,bn.isBoolean)(t)?t:!1}async tracksSource(){let t=this.getField(e.Fields.TRACKS_SOURCE);if((0,bn.isBoolean)(t))return t;if(await this.determineIfScratch())return await this.setTracksSource(!0),!0;if(await this.determineIfSandbox()){let r=await this.supportsSourceTracking();return await this.setTracksSource(r),r}return await this.setTracksSource(!1),!1}async setTracksSource(t){return(await Sc.AuthInfo.create({username:this.getUsername()})).handleAliasAndDefaultSettings({setDefault:!1,setDefaultDevHub:!1,setTracksSource:t})}async determineIfScratch(){let t=this.getField(e.Fields.IS_SCRATCH);return t!==void 0?t:(await this.updateLocalInformation())?.isScratch===!0}async determineIfSandbox(){let t=this.getField(e.Fields.IS_SANDBOX);return t!==void 0?t:(await this.updateLocalInformation())?.isSandbox===!0}async retrieveOrganizationInformation(){return this.getConnection().singleRecordQuery("SELECT Name, InstanceName, IsSandbox, TrialExpirationDate, NamespacePrefix, OrganizationType FROM Organization")}async querySandboxInfo(t){if(t.id&&!(0,t8.validateSalesforceId)(t.id))throw new Ln.SfError(`Invalid Salesforce ID format: ${t.id}`,"InvalidSalesforceId");let r=t.id?`Id='${t.id}'`:`SandboxName='${t.name??"<undefined>"}'`,n=`SELECT ${Udt.join(",")} FROM SandboxInfo WHERE ${r} ORDER BY CreatedDate DESC`,i=(await this.connection.tooling.query(n)).records.filter(a=>!a.IsDeleted);if(i.length===0)throw new Ln.SfError(`No record found for ${n}`,wc.SingleRecordQueryErrors.NoRecords);if(i.length>1){let a=new Ln.SfError("The query returned more than 1 record",wc.SingleRecordQueryErrors.MultipleRecords);throw a.data=i,a}return i[0]}async updateLocalInformation(){let t=this.getUsername();if(t){let[r,n]=await Promise.all([Do.StateAggregator.getInstance(),this.retrieveOrganizationInformation()]),i={[e.Fields.NAME]:n.Name,[e.Fields.INSTANCE_NAME]:n.InstanceName,[e.Fields.NAMESPACE_PREFIX]:n.NamespacePrefix,[e.Fields.IS_SANDBOX]:n.IsSandbox&&!n.TrialExpirationDate,[e.Fields.IS_SCRATCH]:n.IsSandbox&&!!n.TrialExpirationDate,[e.Fields.TRIAL_EXPIRATION_DATE]:n.TrialExpirationDate,[e.Fields.ORG_EDITION]:n.OrganizationType};return r.orgs.update(t,i),await r.orgs.write(t),i}}async refreshAuth(){await this.getConnection().refreshAuth()}async readUserAuthFiles(){let r=await(await this.retrieveOrgUsersConfig()).read(),n=(0,bn.ensure)(this.getUsername()),i=(0,bn.ensureJsonArray)(r.usernames??[n]);return Promise.all(i.map(a=>Sc.AuthInfo.create({username:a===n?this.getConnection().getUsername():(0,bn.ensureString)(a)})))}async addUsername(t){if(!t)throw new Ln.SfError("Missing auth info","MissingAuthInfo");let r=(0,bn.isString)(t)?await Sc.AuthInfo.create({username:t}):t;this.logger.debug(`adding username ${r.getFields().username??"<undefined>"}`);let n=await this.retrieveOrgUsersConfig(),a=(await n.read()).usernames??[];if(!Array.isArray(a))throw new Ln.SfError("Usernames is not an array","UnexpectedDataFormat");let o=!1,s=(0,bn.ensure)(this.getUsername());a.includes(s)||(a.push(s),o=!0);let l=r.getFields().username;return l&&(a.push(l),o=!0),o&&(n.set("usernames",a),await n.write()),this}async removeUsername(t){if(!t)throw new Ln.SfError("Missing auth info","MissingAuthInfoError");let r=(0,bn.isString)(t)?await Sc.AuthInfo.create({username:t}):t;this.logger.debug(`removing username ${r.getFields().username??"<undefined>"}`);let n=await this.retrieveOrgUsersConfig(),i=await n.read(),a=r.getFields().username,o=(i.usernames??[]).filter(s=>s!==a);return n.set("usernames",o),await n.write(),this}async setSandboxConfig(t,r){return(await Do.StateAggregator.getInstance()).sandboxes.set(t,r),this}async getSandboxConfig(t){return(await Do.StateAggregator.getInstance()).sandboxes.read(t)}async retrieveMaxApiVersion(){return this.getConnection().retrieveMaxApiVersion()}getUsername(){return this.getConnection().getUsername()}getOrgId(){return this.orgId??this.getField(e.Fields.ORG_ID)}getConfigAggregator(){return this.configAggregator}getField(t){let r=this[t];return r&&typeof r!="function"?r:this.getConnection().getAuthInfoFields()[t]}getFields(t){return Object.fromEntries(t.map(r=>[r,this.getField(r)]))}getConnection(t){return t&&(this.connection.getApiVersion()===t?this.logger.warn(`Default API version is already ${t}`):this.connection.setApiVersion(t)),this.connection}async supportsSourceTracking(){if(this.isScratch())return!0;try{return await this.getConnection().tooling.sobject("SourceMember").describe(),!0}catch(t){if(t.message.includes("The requested resource does not exist"))return!1;throw t}}async querySandboxProcessBySandboxName(t){return this.querySandboxProcess(`SandboxName='${t}'`)}async querySandboxProcessBySandboxInfoId(t){return this.querySandboxProcess(`SandboxInfoId='${t}'`)}async querySandboxProcessById(t){return this.querySandboxProcess(`Id='${t}'`)}async querySandboxProcessByOrgId(t){return this.querySandboxProcess(`SandboxOrganization='${(0,t8.trimTo15)(t)}'`)}async init(){if(this.logger=(await jdt.Logger.child("Org")).getRawLogger(),this.configAggregator=this.options.aggregator??await Ndt.ConfigAggregator.create(),this.options.connection)this.connection=this.options.connection;else{let t=await Do.StateAggregator.getInstance();if(this.options.aliasOrUsername==null){this.configAggregator=this.getConfigAggregator();let n=this.options.isDevHub?this.configAggregator.getPropertyValue(ub.OrgConfigProperties.TARGET_DEV_HUB):this.configAggregator.getPropertyValue(ub.OrgConfigProperties.TARGET_ORG);this.options.aliasOrUsername=n??void 0}let r=t.aliases.resolveUsername(this.options.aliasOrUsername);if(!r)throw dr.createError("noUsernameFound");this.connection=await wc.Connection.create({authInfo:await Sc.AuthInfo.create({username:r,isDevHub:this.options.isDevHub})})}this.orgId=this.getField(e.Fields.ORG_ID);try{await(0,Rdt.determineOrg)(this.getConnection().getAuthInfo())}catch{}}getDefaultOptions(){throw new Ln.SfError("Not Supported","NotSupportedError")}async getLocalDataDir(t){let r=await lN.Config.resolveRootFolder(!1);return Yu.join(r,Rfe.Global.SFDX_STATE_FOLDER,t||"orgs")}async authWithRetriesByName(t,r){return this.authWithRetries(await this.queryLatestSandboxProcessBySandboxName(t),r)}async authWithRetries(t,r={wait:ra.Duration.minutes(0),interval:ra.Duration.seconds(30)}){let[n,i]=this.validateWaitOptions(r);return this.logger.debug(t,`AuthWithRetries sandboxProcessObj, max wait time of ${n.minutes} minutes`),this.pollStatusAndAuth({sandboxProcessObj:t,wait:n,pollInterval:i})}async queryLatestSandboxProcessBySandboxName(t){let{tooling:r}=this.getConnection();this.logger.debug(`QueryLatestSandboxProcessBySandboxName called with SandboxName: ${t}`);let n=`SELECT ${cN.join(",")} FROM SandboxProcess WHERE SandboxName='${t}' AND Status != 'D' ORDER BY CreatedDate DESC LIMIT 1`,i=await r.query(n);if(this.logger.debug(i,"Return from calling queryToolingApi"),i?.records?.length===1)return i.records[0];throw i.records&&i.records.length>1?dr.createError("MultiSandboxProcessNotFoundBySandboxName",[t]):dr.createError("SandboxProcessNotFoundBySandboxName",[t])}async queryProduction(t,r,n){return t.connection.singleRecordQuery(`SELECT SandboxInfoId FROM SandboxProcess WHERE ${r} ='${n}' AND Status NOT IN ('D', 'E')`,{tooling:!0})}async destroySandbox(t,r){return t.getConnection().tooling.delete("SandboxInfo",r)}async destroyScratchOrg(t,r){return t.getConnection().delete("ActiveScratchOrg",r)}async deleteSandbox(t){let r=await this.getSandboxConfig(this.getOrgId()),n=t??await e.create({aggregator:this.configAggregator,aliasOrUsername:r?.prodOrgUsername}),i=r?.sandboxInfoId;if(!i){let a;try{let o=r?.sandboxName??(this.getUsername()??"").split(`${n.getUsername()??"<undefined>"}.`)[1];if(!o)throw this.logger.debug("Sandbox name is not available"),new Error;this.logger.debug(`attempting to locate sandbox with sandbox ${o}`);try{a=await this.queryProduction(n,"SandboxName",o)}catch(s){throw this.logger.debug(`Failed to find sandbox with sandbox name: ${o}`),s}}catch{let o=(0,t8.trimTo15)(this.getOrgId());this.logger.debug(`defaulting to trimming id from ${this.getOrgId()} to ${o}`);try{a=await this.queryProduction(n,"SandboxOrganization",o),i=a.SandboxInfoId}catch{this.logger.debug(`Failed find a SandboxProcess for the sandbox org: ${this.getOrgId()}`)}}}if(i){let a=await this.destroySandbox(n,i);this.logger.debug(a,"Return from calling tooling.delete")}await this.remove()}async deleteScratchOrg(t){let r=t??await this.getDevHubOrg();if(!r)throw dr.createError("noDevHubFound");if(r.getOrgId()===this.getOrgId())throw dr.createError("deleteOrgHubError");try{let n=r.getConnection(),i=(0,bn.ensureString)(this.getUsername(),"org is missing username"),a=(await n.singleRecordQuery(`SELECT Id FROM ActiveScratchOrg WHERE SignupUsername='${i}'`)).Id;this.logger.trace(`found matching ActiveScratchOrg with SignupUsername: ${i}. Deleting...`),await this.destroyScratchOrg(r,a),await this.remove()}catch(n){throw this.logger.info(n instanceof Error?n.message:n),n instanceof Error&&(n.name==="INVALID_TYPE"||n.name==="INSUFFICIENT_ACCESS_OR_READONLY")?(this.logger.info("Insufficient privilege to access ActiveScratchOrgs."),dr.createError("insufficientAccessToDelete")):n instanceof Error&&n.name===wc.SingleRecordQueryErrors.NoRecords?(this.logger.info("The above error can be the result of deleting an expired or already deleted org."),this.logger.info("attempting to cleanup the auth file"),await this.removeAuth(),dr.createError("scratchOrgNotFound")):n}}async removeAuth(){let t=await Do.StateAggregator.getInstance(),r=this.getUsername();r&&(this.logger.debug(`Removing auth for user: ${r}`),this.logger.debug(`Clearing auth cache for user: ${r}`),await t.orgs.remove(r))}async removeUsersConfig(){let t=await this.retrieveOrgUsersConfig();await t.exists()&&(this.logger.debug(`Removing org users config at: ${t.getPath()}`),await t.unlink())}async manageDelete(t,r,n){return t().catch(i=>{if(n)throw i;this.logger.warn(`failed to read directory ${r}`)})}async removeUsers(t){let r=await Do.StateAggregator.getInstance();this.logger.debug(`Removing users associate with org: ${this.getOrgId()}`);let n=await this.retrieveOrgUsersConfig();this.logger.debug(`using path for org users: ${n.getPath()}`);let i=(await this.readUserAuthFiles()).map(a=>a.getFields().username).filter(bn.isString);await Promise.all(i.map(async a=>{let o=a===this.getUsername()?this:await e.create({connection:await wc.Connection.create({authInfo:await Sc.AuthInfo.create({username:a})})}),s=this.isDevHubOrg()?ub.OrgConfigProperties.TARGET_DEV_HUB:ub.OrgConfigProperties.TARGET_ORG,l=o.configAggregator.getInfo(s),c=(l.isGlobal()||l.isLocal())&&(l.value===a||r.aliases.get(l.value)===a);return[o.removeAuth(),c?lN.Config.update(l.isGlobal(),s,void 0):void 0].filter(Boolean)})),await r.aliases.unsetValuesAndSave(i)}async removeSandboxConfig(){await(await Do.StateAggregator.getInstance()).sandboxes.remove(this.getOrgId())}async writeSandboxAuthFile(t,r){if(this.logger.debug(t,"writeSandboxAuthFile sandboxProcessObj"),this.logger.debug(r,"writeSandboxAuthFile sandboxRes"),r.authUserName){let n=this.connection.getAuthInfoFields();this.logger.debug(n,"Result from getAuthInfoFields: AuthFields");let i={loginUrl:r.loginUrl,instanceUrl:r.instanceUrl,username:r.authUserName};n.privateKey?(i.privateKey=n.privateKey,i.clientId=n.clientId):(i.redirectUri=`http://localhost:${await Ffe.WebOAuthServer.determineOauthPort()}/OauthRedirect`,i.authCode=r.authCode);let a=await Do.StateAggregator.getInstance();try{await a.orgs.read(r.authUserName),await a.orgs.remove(r.authUserName)}catch{}let o=await Sc.AuthInfo.create({username:r.authUserName,oauth2Options:i,parentUsername:n.username});this.logger.debug({sandboxResAuthUsername:r.authUserName,productionAuthFieldsUsername:n.username,...i},"Creating AuthInfo for sandbox"),await o.save({isScratch:!1,isSandbox:!0});let s=o.getFields().orgId;if(!s)throw dr.createError("AuthInfoOrgIdUndefined");let l={sandboxUsername:r.authUserName,sandboxOrgId:s,prodOrgUsername:this.getUsername(),sandboxName:t.SandboxName,sandboxProcessId:t.Id,sandboxInfoId:t.SandboxInfoId,timestamp:new Date().toISOString()};await this.setSandboxConfig(s,l),await(await Do.StateAggregator.getInstance()).sandboxes.write(s),await _c.Lifecycle.getInstance().emit(Lo.EVENT_RESULT,{sandboxProcessObj:t,sandboxRes:r})}else throw dr.createError("missingAuthUsername",[t.SandboxName])}async pollStatusAndAuth(t){this.logger.debug(t,"PollStatusAndAuth called with SandboxProcessObject");let r=t.wait,n=!1;return(await Mdt.PollingClient.create({poll:async()=>{let a=await this.querySandboxProcessById(t.sandboxProcessObj.Id),o;try{o=await this.sandboxSignupComplete(a)}catch(s){let l=s instanceof Error?s:Ln.SfError.wrap((0,bn.isString)(s)?s:"unknown");if(l.name==="SandboxAuthIncompleteError")this.logger.debug("Sandbox auth returned INVALID_STATUS, will retry",l.message),n=!0;else throw l}if(o){await _c.Lifecycle.getInstance().emit(Lo.EVENT_AUTH,o);try{return this.logger.debug(o,"sandbox signup complete with"),await this.writeSandboxAuthFile(a,o),{completed:!0,payload:a}}catch(s){let l=s;if(this.logger.debug("Exception while calling writeSandboxAuthFile",s),l?.name==="JwtAuthError"&&l?.stack?.includes("user hasn't approved"))n=!0;else throw Ln.SfError.wrap(l)}}return await _c.Lifecycle.getInstance().emit(Lo.EVENT_STATUS,{sandboxProcessObj:a,remainingWait:r.seconds,interval:t.pollInterval.seconds,waitingOnAuth:n}),r=ra.Duration.seconds(r.seconds-t.pollInterval.seconds),{completed:!1,payload:a}},frequency:t.pollInterval,timeout:t.wait})).subscribe()}async querySandboxProcess(t){let r=`SELECT ${cN.join(",")} FROM SandboxProcess WHERE ${t} ORDER BY CreatedDate DESC`,n=(await this.connection.tooling.query(r)).records.filter(i=>!i.Status.startsWith("Del"));if(n.length===0)throw new Ln.SfError(`No record found for ${r}`,wc.SingleRecordQueryErrors.NoRecords);if(n.length>1){let i=new Ln.SfError("The query returned more than 1 record",wc.SingleRecordQueryErrors.MultipleRecords);throw i.data=n,i}return n[0]}async sandboxSignupComplete(t){if(this.logger.debug("sandboxSignupComplete called with SandboxProcessObject",t),!!t.EndDate)try{let r=this.connection.getAuthInfoFields(),n=`http://localhost:${await Ffe.WebOAuthServer.determineOauthPort()}/OauthRedirect`,i={clientId:r.clientId,sandboxName:t.SandboxName,callbackUrl:n};this.logger.debug(i,"Calling sandboxAuth with SandboxUserAuthRequest");let o={method:"POST",url:`${this.connection.tooling._baseUrl()}/sandboxAuth`,headers:{"Content-Type":"application/json"},body:JSON.stringify(i)},s=await this.connection.tooling.request(o);return this.logger.debug(s,"Result of calling sandboxAuth"),s}catch(r){let n=r instanceof Error?r:Ln.SfError.wrap((0,bn.isString)(r)?r:"unknown");if(n?.name==="INVALID_STATUS"){this.logger.debug("Error while authenticating the user:",n.message);let i=dr.createError("sandboxAuthIncomplete",[n.message]);throw i.cause=n,i}throw n}}validateWaitOptions(t){let r=t.wait??ra.Duration.minutes(30),n=t.interval??ra.Duration.seconds(30),i=t.async?ra.Duration.seconds(0):n;return i=i.seconds>r.seconds?r:i,[r,i]}async removeSourceTrackingFiles(){try{let t=await lN.Config.resolveRootFolder(!1);await Pfe.fs.promises.rm(Yu.join(t,Rfe.Global.SF_STATE_FOLDER,"orgs",this.getOrgId()),{recursive:!0,force:!0})}catch(t){let r=Ln.SfError.wrap(t);this.logger.debug(`error deleting source tracking information for ${this.getOrgId()} error: ${r.message}`)}}};kn.Org=db;(function(e){let t;(function(n){n.ACTIVE="ACTIVE",n.EXPIRED="EXPIRED",n.UNKNOWN="UNKNOWN",n.MISSING="MISSING"})(t=e.Status||(e.Status={}));let r;(function(n){n.ALIAS="alias",n.CREATED="created",n.NAME="name",n.NAMESPACE_PREFIX="namespacePrefix",n.INSTANCE_NAME="instanceName",n.TRIAL_EXPIRATION_DATE="trailExpirationDate",n.ORG_EDITION="orgEdition",n.CREATED_ORG_INSTANCE="createdOrgInstance",n.DEV_HUB_USERNAME="devHubUsername",n.INSTANCE_URL="instanceUrl",n.IS_DEV_HUB="isDevHub",n.IS_SCRATCH="isScratch",n.IS_SANDBOX="isSandbox",n.LOGIN_URL="loginUrl",n.ORG_ID="orgId",n.STATUS="status",n.SNAPSHOT="snapshot",n.TRACKS_SOURCE="tracksSource"})(r=e.Fields||(e.Fields={}))})(db||(kn.Org=db={}))});var uN=h(dN=>{"use strict";Object.defineProperty(dN,"__esModule",{value:!0});dN.determineOrg=Bdt;var zdt=yt(),qdt=wp(),Qu=lh();async function Bdt(e){let t=e.getFields();if(!(t.orgEdition&&t.namespacePrefix!==void 0))try{let n=await(await qdt.Connection.create({authInfo:e})).singleRecordQuery("SELECT Name, InstanceName, IsSandbox, TrialExpirationDate, NamespacePrefix, OrganizationType FROM Organization");t.orgEdition?await e.save({[Qu.Org.Fields.NAMESPACE_PREFIX]:n.NamespacePrefix}):await e.save({[Qu.Org.Fields.NAME]:n.Name,[Qu.Org.Fields.INSTANCE_NAME]:n.InstanceName,[Qu.Org.Fields.NAMESPACE_PREFIX]:n.NamespacePrefix,[Qu.Org.Fields.IS_SANDBOX]:n.IsSandbox&&!n.TrialExpirationDate,[Qu.Org.Fields.IS_SCRATCH]:n.IsSandbox&&!!n.TrialExpirationDate,[Qu.Org.Fields.TRIAL_EXPIRATION_DATE]:n.TrialExpirationDate,[Qu.Org.Fields.ORG_EDITION]:n.OrganizationType})}catch(r){(await zdt.Logger.child("AuthInfo",{tag:"determineOrg"})).debug("determineOrg failed",r)}}});var sc=h(Pr=>{"use strict";var Vdt=Pr&&Pr.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Wdt=Pr&&Pr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Zfe=Pr&&Pr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Vdt(t,e,r);return Wdt(t,e),t},Zdt=Pr&&Pr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pr,"__esModule",{value:!0});Pr.AuthInfo=Pr.CODE_BUILDER_CONNECTED_APP_INFO=Pr.DEFAULT_CONNECTED_APP_INFO=void 0;var Hdt=require("node:crypto"),zfe=require("node:path"),Gdt=Zfe(require("node:os")),$h=He(),Ct=Ke(),pb=T6(),pN=Zdt(Sg()),Jdt=Zfe(Oie()),Kdt=Rr(),qfe=G0(),fN=rc(),mN=yt(),Ec=wt(),hN=jl(),r8=zf(),Xdt=TE(),Ydt=bt(),vl=ec(),Qdt=Uie(),Bfe=wp(),Vfe=uN(),Wfe=lh(),n8=Du(),ko=new Ydt.Messages("@salesforce/core","core",new Map([["authInfoCreationError","Must pass a username and/or OAuth options when creating an AuthInfo instance."],["authInfoOverwriteError","Cannot create an AuthInfo instance that will overwrite existing auth data."],["authInfoOverwriteError.actions",["Create the AuthInfo instance using existing auth data by just passing the username. E.g., `AuthInfo.create({ username: 'my@user.org' });`."]],["authCodeExchangeError","Error authenticating with auth code due to: %s"],["authCodeUsernameRetrievalError",`Could not retrieve the username after successful auth code exchange.
|
||
|
||
Due to: %s`],["jwtAuthError","Error authenticating with JWT config due to: %s"],["jwtAuthErrors",`Error authenticating with JWT.
|
||
Errors encountered:
|
||
%s`],["refreshTokenAuthError","Error authenticating with the refresh token due to: %s"],["invalidSfdxAuthUrlError",`Invalid SFDX authorization URL. Must be in the format "force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>". Note that the "instanceUrl" inside the SFDX authorization URL doesn\\'t include the protocol ("https://"). Run "org display --target-org" on an org to see an example of an SFDX authorization URL.`],["orgDataNotAvailableError","An attempt to refresh the authentication token failed with a 'Data Not Found Error'. The org identified by username %s does not appear to exist. Likely cause is that the org was deleted by another user or has expired."],["orgDataNotAvailableError.actions",["Run `sfdx force:org:list --clean` to remove stale org authentications.","Use `sfdx force:config:set` to update the defaultusername.","Use `sfdx force:org:create` to create a new org.","Use `sfdx auth` to authenticate an existing org."]],["namedOrgNotFound","No authorization information found for %s."],["noAliasesFound","Nothing to set."],["invalidFormat","Setting aliases must be in the format <key>=<value> but found: [%s]."],["invalidJsonCasing",'All JSON input must have heads down camelcase keys. E.g., `{ sfdcLoginUrl: "https://login.salesforce.com" }`\nFound "%s" at %s'],["missingClientId","Client ID is required for JWT authentication."]]));function gN(e){let t=e.split("/"),r=t.pop(),n=t.pop();return{userId:r,orgId:n,url:e}}Pr.DEFAULT_CONNECTED_APP_INFO={clientId:"PlatformCLI",clientSecret:""};Pr.CODE_BUILDER_CONNECTED_APP_INFO={clientId:"CodeBuilder",clientSecret:""};var yN=class e extends $h.AsyncOptionalCreatable{usingAccessToken=!1;logger;stateAggregator;username;options;constructor(t){super(t),this.options=t??{}}static getDefaultInstanceUrl(){return fN.ConfigAggregator.getValue(n8.OrgConfigProperties.ORG_INSTANCE_URL)?.value??vl.SfdcUrl.PRODUCTION}static async listAllAuthorizations(t=r=>!!r){let r=await r8.StateAggregator.getInstance(),n=(await fN.ConfigAggregator.create()).getConfigInfo(),i=await r.orgs.readAll(),a=[];for(let o of i){let s=(0,Ct.ensureString)(o.username),l=r.aliases.getAll(s)??void 0,c=n.filter(u=>l.includes(u.value)||u.value===s).map(u=>u.key);try{let u=await e.create({username:s}),{orgId:d,instanceUrl:f,devHubUsername:p,expirationDate:m,isDevHub:y}=u.getFields();a.push({aliases:l,configs:c,username:s,instanceUrl:f,isScratchOrg:!!p,isDevHub:y??!1,isSandbox:await r.sandboxes.hasFile(d),orgId:d,accessToken:u.getConnectionOptions().accessToken,oauthMethod:u.isJwt()?"jwt":u.isOauth()?"web":"token",isExpired:p&&m?new Date((0,Ct.ensureString)(m)).getTime()<new Date().getTime():"unknown"})}catch(u){a.push({aliases:l,configs:c,username:s,orgId:o.orgId,instanceUrl:o.instanceUrl,accessToken:void 0,oauthMethod:"unknown",error:u.message,isExpired:"unknown"})}}return a.filter(t)}static async hasAuthentications(){try{let t=await(await r8.StateAggregator.getInstance()).orgs.list();return!(0,$h.isEmpty)(t)}catch(t){let r=t;if(r.name==="OrgDataNotAvailableError"||r.code==="ENOENT")return!1;throw r}}static getAuthorizationUrl(t,r){let n=r??new pb.OAuth2({useVerifier:!0,...t}),i={state:t.state??(0,Hdt.randomBytes)(Math.ceil(6)).toString("hex"),prompt:"login",scope:t.scope??$h.env.getString("SFDX_AUTH_SCOPES","refresh_token api web")};return n.getAuthorizationUrl(i)}static parseSfdxAuthUrl(t){let r=t.match(/^force:\/\/([a-zA-Z0-9._-]+={0,2}):([a-zA-Z0-9._-]*={0,2}):([a-zA-Z0-9._-]+={0,2})@([a-zA-Z0-9:._-]+)/);if(!r)throw new Ec.SfError(ko.getMessage("invalidSfdxAuthUrlError"),"INVALID_SFDX_AUTH_URL");let[,n,i,a,o]=r;return{clientId:n,clientSecret:i,refreshToken:a,loginUrl:`https://${o}`}}static async identifyPossibleScratchOrgs(t,r){let n=await mN.Logger.child("Common",{tag:"identifyPossibleScratchOrgs"});if(await(0,Vfe.determineOrg)(r),t.isDevHub||t.devHubUsername||!t.orgId)return;n.debug("getting devHubs and prod orgs to identify scratch orgs and sandboxes");let i=await e.getDevHubAuthInfos(),a=await e.listAllAuthorizations(o=>o&&!o.isScratchOrg&&!o.isSandbox);n.debug(`found ${i.length} DevHubs`),n.debug(`found ${a.length} possible prod orgs`),!(i.length===0&&a.length===0)&&await Promise.all([...i.map(async o=>{try{let s=await e.queryScratchOrg(o.username,t.orgId);n.debug(`found orgId ${t.orgId??"<undefined>"} in devhub ${o.username}`);try{await r.save({...t,devHubUsername:o.username,expirationDate:s.ExpirationDate,isScratch:!0}),n.debug(`set ${o.username} as devhub and expirationDate ${s.ExpirationDate} for scratch org ${r.getUsername()}`)}catch(l){n.debug(`error updating auth file for ${r.getUsername()}`,l)}}catch(s){s instanceof Error&&s.name==="NoActiveScratchOrgFound"?n.error(`devhub ${o.username} has no scratch orgs`,s):n.error(`Error connecting to devhub ${o.username}`,s)}}),...a.map(async o=>{await e.identifyPossibleSandbox(o,t,r,n)})])}static async getDevHubAuthInfos(){return e.listAllAuthorizations(t=>t?.isDevHub??!1)}static async identifyPossibleSandbox(t,r,n,i){if(r.orgId)try{let o=await(await Wfe.Org.create({aliasOrUsername:t.username})).querySandboxProcessByOrgId(r.orgId);if(!o?.SandboxInfoId)return;i.debug(`${r.orgId} is a sandbox of ${t.username}`);try{await n.save({...r,isScratch:!1,isSandbox:!0})}catch(s){throw i.debug(`error updating auth file for: ${n.getUsername()}`,s),s}try{let s={sandboxUsername:r.username,sandboxOrgId:r.orgId,prodOrgUsername:t.username,sandboxName:o.SandboxName,sandboxProcessId:o.Id,sandboxInfoId:o.SandboxInfoId,timestamp:new Date().toISOString()},l=await r8.StateAggregator.getInstance();l.sandboxes.set(r.orgId,s),i.debug(`writing sandbox auth file for: ${n.getUsername()} with ID: ${r.orgId}`),await l.sandboxes.write(r.orgId)}catch(s){i.debug(`error writing sandbox auth file for: ${n.getUsername()}`,s)}}catch{i.debug(`${r.orgId} is not a sandbox of ${t.username}`)}}static async queryScratchOrg(t,r){let n=await Wfe.Org.create({aliasOrUsername:t}),i=(0,hN.trimTo15)(r),s=(await n.getConnection().query(`select Id, ExpirationDate, ScratchOrg from ScratchOrgInfo where ScratchOrg = '${i}' and Status = 'Active'`)).records.filter(l=>l.ScratchOrg===i)[0];if(s)return s;throw new Ec.SfError(`DevHub ${t??"<undefined>"} has no active scratch orgs that match ${i}`,"NoActiveScratchOrgFound")}getUsername(){return this.username}isJwt(){let{refreshToken:t,privateKey:r}=this.getFields();return!t&&!!r}isAccessTokenFlow(){let{refreshToken:t,privateKey:r}=this.getFields();return!t&&!r}isOauth(){return!this.isAccessTokenFlow()&&!this.isJwt()}isRefreshTokenFlow(){let{refreshToken:t,authCode:r}=this.getFields();return!r&&!!t}async save(t){this.update(t);let r=(0,Ct.ensure)(this.getUsername());return(0,hN.matchesOpaqueAccessToken)(r)?(this.logger.debug("Username is an accesstoken. Skip saving authinfo to disk."),this):(await this.stateAggregator.orgs.write(r),this.logger.info(`Saved auth info for username: ${r}`),this)}update(t){return t&&(0,Ct.isPlainObject)(t)&&(this.username=t.username??this.username,this.stateAggregator.orgs.update(this.username,t),this.logger.info(`Updated auth info for username: ${this.username}`)),this}getConnectionOptions(t){let r=this.getFields(!0),{accessToken:n,instanceUrl:i,loginUrl:a}=r;if(!t)return this.isAccessTokenFlow()?(this.logger.info("Returning fields for a connection using access token."),{accessToken:n,instanceUrl:i,loginUrl:a}):this.isJwt()?(this.logger.info("Returning fields for a connection using JWT config."),{accessToken:n,instanceUrl:i,refreshFn:this.refreshFn.bind(this)}):(this.logger.info("Returning fields for a connection using OAuth config."),{oauth2:{loginUrl:i??vl.SfdcUrl.PRODUCTION,clientId:this.getClientId(),redirectUri:this.getRedirectUri()},accessToken:n,instanceUrl:i,refreshFn:this.refreshFn.bind(this)});if(!r.clientApps)throw new Ec.SfError(`${this.username} does not have any client app linked.`);if(!(t in r.clientApps))throw new Ec.SfError(`${this.username} does not have a "${t}" client app linked.`);let o=r.clientApps[t];return{oauth2:{loginUrl:i??vl.SfdcUrl.PRODUCTION,clientId:o.clientId,redirectUri:this.getRedirectUri()},accessToken:o.accessToken,instanceUrl:i,refreshFn:async(s,l)=>{let c=await this.buildRefreshTokenConfig({clientId:o.clientId,clientSecret:o.clientSecret,refreshToken:o.refreshToken,loginUrl:i});await this.save({clientApps:{...r.clientApps,[t]:{accessToken:(0,Ct.ensureString)(c.accessToken),clientId:o.clientId,clientSecret:o.clientSecret,refreshToken:o.refreshToken,oauthFlow:"web"}}}),await l(null,c.accessToken)}}}getClientId(){return this.getFields()?.clientId??Pr.DEFAULT_CONNECTED_APP_INFO.clientId}getRedirectUri(){return"http://localhost:1717/OauthRedirect"}getFields(t){return this.stateAggregator.orgs.get(this.username,t)??{}}getOrgFrontDoorUrl(){let t=this.getFields(!0),r=(0,Ct.ensureString)(t.instanceUrl).replace(/\/+$/,""),n=(0,Ct.ensureString)(t.accessToken);return`${r}/secur/frontdoor.jsp?sid=${n}`}isUsingAccessToken(){return this.usingAccessToken}getSfdxAuthUrl(){let{clientId:t,clientSecret:r,refreshToken:n,instanceUrl:i}=this.getFields(!0),a=new URL((0,Ct.ensure)(i,"undefined instanceUrl")).host,o=t?`${t}:${r??""}`:"",s=(0,Ct.ensure)(n,"undefined refreshToken");return`force://${o}:${s}@${a}`}async handleAliasAndDefaultSettings(t){(t.alias||t.setDefault||t.setDefaultDevHub||typeof t.setTracksSource=="boolean")&&(t.alias&&await this.setAlias(t.alias),t.setDefault&&await this.setAsDefault({org:!0}),t.setDefaultDevHub&&await this.setAsDefault({devHub:!0}),typeof t.setTracksSource=="boolean"?await this.save({tracksSource:t.setTracksSource}):await this.save())}async setAsDefault(t={org:!0}){let r;try{r=await qfe.Config.create({isGlobal:!1})}catch{r=await qfe.Config.create({isGlobal:!0})}let n=(0,Ct.ensureString)(this.getUsername()),a=this.stateAggregator.aliases.get(n)??n;t.org&&r.set(n8.OrgConfigProperties.TARGET_ORG,a),t.devHub&&r.set(n8.OrgConfigProperties.TARGET_DEV_HUB,a),await r.write()}async setAlias(t){return this.stateAggregator.aliases.setAndSave(t,this.getUsername())}async init(){this.stateAggregator=await r8.StateAggregator.getInstance();let t=this.options.username,r=this.options.oauth2Options??this.options.accessTokenOptions;if(!t&&!r)throw ko.createError("authInfoCreationError");if(t&&r&&await this.stateAggregator.orgs.hasFile(t))throw ko.createError("authInfoOverwriteError");let n=t??r?.username;if(n&&(this.username=n,await this.stateAggregator.orgs.read(n,!1,!1)),(0,Ct.isString)(n)&&(0,hN.matchesOpaqueAccessToken)(n)){this.logger=await mN.Logger.child("AuthInfo");let i=await fN.ConfigAggregator.create(),a=this.getInstanceUrl(i,r);this.update({accessToken:n,instanceUrl:a,orgId:n.split("!")[0],loginUrl:a}),this.usingAccessToken=!0}else if(t&&!r&&!await this.stateAggregator.orgs.exists(t)){let i=(0,Qdt.findSuggestion)(t,[...(await this.stateAggregator.orgs.list()).map(a=>a.split(".json")[0]),...Object.keys(this.stateAggregator.aliases.getAll())]);throw Ec.SfError.create({name:"NamedOrgNotFoundError",message:ko.getMessage("namedOrgNotFound",[t]),actions:i===""?void 0:[`It looks like you mistyped the username or alias. Did you mean "${i}"?`]})}else await this.initAuthOptions(r)}getInstanceUrl(t,r){return r?.instanceUrl??t.getPropertyValue(n8.OrgConfigProperties.ORG_INSTANCE_URL)??vl.SfdcUrl.PRODUCTION}async initAuthOptions(t){this.logger=await mN.Logger.child("AuthInfo");let r;if(t){if(t=structuredClone(t),this.isTokenOptions(t)){r=t;let n=await this.retrieveUserInfo((0,Ct.ensureString)(t.instanceUrl),(0,Ct.ensureString)(t.accessToken));this.update({username:n?.username,orgId:n?.organizationId})}else{if(this.options.parentUsername){let n=await this.loadDecryptedAuthFromConfig(this.options.parentUsername);t.clientId=n.clientId,process.env.SFDX_CLIENT_SECRET?t.clientSecret=process.env.SFDX_CLIENT_SECRET:Object.assign(t,{clientSecret:n.clientSecret,privateKey:n.privateKey?(0,zfe.resolve)(n.privateKey):n.privateKey})}!t.privateKey&&t.privateKeyFile&&(t.privateKey=(0,zfe.resolve)(t.privateKeyFile)),t.privateKey?r=await this.authJwt(t):!t.authCode&&t.refreshToken?r=await this.buildRefreshTokenConfig(t):this.options.oauth2 instanceof pb.OAuth2?r=await this.exchangeToken(t,this.options.oauth2):r=await this.exchangeToken(t)}r.isDevHub=await this.determineIfDevHub((0,Ct.ensureString)(r.instanceUrl),(0,Ct.ensureString)(r.accessToken)),r.username&&await this.stateAggregator.orgs.read(r.username,!1,!1),this.update(r),await(0,Vfe.determineOrg)(this)}return this}async loadDecryptedAuthFromConfig(t){let r=this.stateAggregator.orgs.get(t,!0);if(!r)throw ko.createError("namedOrgNotFound",[t]);return r}isTokenOptions(t){return"accessToken"in t&&!("refreshToken"in t)&&!("privateKey"in t)&&!("privateKeyFile"in t)&&!("authCode"in t)}async refreshFn(t,r){this.logger.info("Access token has expired. Updating...");try{let n=this.getFields(!0);await this.initAuthOptions(n),await this.save();let{accessToken:i}=this.getFields(!0);return await r(null,i)}catch(n){let i=n;return i?.message?.includes("Data Not Available")?await r(ko.createError("orgDataNotAvailableError",[this.getUsername()],[],i)):await r(i)}}async readJwtKey(t){return Kdt.fs.promises.readFile(t,"utf8")}async authJwt(t){if(!t.clientId)throw ko.createError("missingClientId");let r=await this.readJwtKey((0,Ct.ensureString)(t.privateKey)),{loginUrl:n=vl.SfdcUrl.PRODUCTION}=t,i=new vl.SfdcUrl(n),a=(this.getFields().createdOrgInstance??"").trim().toLowerCase(),o=await i.getJwtAudienceUrl(a),s,l=[],c=(0,vl.getLoginAudienceCombos)(o,n);for(let[p,m]of c)try{s=await this.tryJwtAuth(t.clientId,p,m,r);break}catch(y){let v=y,S=v.message.includes("audience")?`${v.message} [audience=${m} login=${p}]`:v.message;l.push(S)}if(!s)throw new Ec.SfError(ko.getMessage("jwtAuthErrors",[l.join(`
|
||
`)]),"JwtAuthError");let u={accessToken:(0,Ct.asString)(s.access_token),orgId:gN((0,Ct.ensureString)(s.id)).orgId,loginUrl:t.loginUrl,privateKey:t.privateKey,clientId:t.clientId},d=(0,Ct.ensureString)(s.instance_url),f=new vl.SfdcUrl(d);try{await f.lookup(),u.instanceUrl=d}catch{this.logger.debug(`Instance URL [${s.instance_url}] is not available. DNS lookup failed. Using loginUrl [${t.loginUrl}] instead. This may result in a "Destination URL not reset" error.`),u.instanceUrl=t.loginUrl}return u}async tryJwtAuth(t,r,n,i){let a=Jdt.sign({iss:t,sub:this.getUsername(),aud:n,exp:Date.now()+300},i,{algorithm:"RS256"}),o=new pb.OAuth2({loginUrl:r});return(0,Ct.ensureJsonMap)(await o.requestToken({grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:a}))}async buildRefreshTokenConfig(t){let r={...t,redirectUri:t.redirectUri??this.getRedirectUri(),...t.clientId?{}:{clientId:Pr.DEFAULT_CONNECTED_APP_INFO.clientId,clientSecret:Pr.DEFAULT_CONNECTED_APP_INFO.clientSecret}},n=new pb.OAuth2(r),i;try{i=await n.refreshToken((0,Ct.ensure)(r.refreshToken))}catch(s){let l=s instanceof Error?s:Ec.SfError.wrap(s);throw ko.createError("refreshTokenAuthError",[l.message],void 0,l)}let{orgId:a}=gN(i.id),o=this.getUsername();if(!o){let s=await this.retrieveUserInfo(i.instance_url,i.access_token);o=(0,Ct.ensureString)(s?.username)}return{orgId:a,username:o,accessToken:i.access_token,instanceUrl:i.instance_url,loginUrl:r.loginUrl??i.instance_url,refreshToken:r.refreshToken,clientId:r.clientId,clientSecret:r.clientSecret}}async exchangeToken(t,r=new pb.OAuth2(t)){r.redirectUri||(r.redirectUri=this.getRedirectUri()),r.clientId||(r.clientId=this.getClientId());let n;try{this.logger.debug(`Exchanging auth code for access token using loginUrl: ${t.loginUrl??"<undefined>"}`),n=await r.requestToken((0,Ct.ensure)(t.authCode)),this.logger.debug(`Successfully requested an access token with scopes: "${n.scope}".`)}catch(o){let s=o instanceof Error?`${o.name}::${o.message}`:typeof o=="string"?o:"UNKNOWN",l=(0,Xdt.filterSecrets)(t);throw Ec.SfError.create({message:ko.getMessage("authCodeExchangeError",[s]),name:"AuthCodeExchangeError",...o instanceof Error?{cause:o}:{},data:(0,Ct.isArray)(l)?l[0]:l})}let{orgId:i}=gN(n.id),a=this.getUsername();return a||(a=(await this.retrieveUserInfo(n.instance_url,n.access_token))?.username),{accessToken:n.access_token,instanceUrl:n.instance_url,orgId:i,username:a,loginUrl:t.loginUrl??n.instance_url,refreshToken:n.refresh_token,clientId:t.clientId,clientSecret:t.clientSecret}}async retrieveUserInfo(t,r){let n="v51.0",i=(0,Ct.ensure)(t),a=new vl.SfdcUrl(i),o=`${a.toString()}services/oauth2/userinfo`,s=Object.assign({Authorization:`Bearer ${r}`},Bfe.SFDX_HTTP_HEADERS);try{this.logger.info(`Sending request for Username after successful auth code exchange to URL: ${o}`);let l=await new pN.default().httpRequest({url:o,method:"GET",headers:s});if(l.statusCode>=400)this.throwUserGetException(l);else{let c=(0,$h.parseJsonMap)(l.body),u=`${a.toString()}services/data/${n}/sobjects/User/${c.user_id}`;return this.logger.info(`Sending request for User SObject after successful auth code exchange to URL: ${u}`),l=await new pN.default().httpRequest({url:u,method:"GET",headers:s}),l.statusCode>=400?this.throwUserGetException(l):c.preferred_username=(0,$h.parseJsonMap)(l.body).Username,{username:c.preferred_username,organizationId:c.organization_id}}}catch(l){throw ko.createError("authCodeUsernameRetrievalError",[l.message])}}throwUserGetException(t){let r="",n=t.body??JSON.stringify({message:"UNKNOWN",errorCode:"UNKNOWN"});try{let i=(0,$h.parseJson)(n);(0,Ct.isArray)(i)?r=i.map(a=>a.message??a.errorCode??"UNKNOWN").join(Gdt.EOL):r=i.message??i.errorCode??"UNKNOWN"}catch{r=`${n}`}throw new Ec.SfError(r)}async determineIfDevHub(t,r){let n="v51.0",i=(0,Ct.ensure)(t),o=`${new vl.SfdcUrl(i).toString()}/services/data/${n}/query?q=SELECT%20Id%20FROM%20ScratchOrgInfo%20limit%201`,s=Object.assign({Authorization:`Bearer ${r}`},Bfe.SFDX_HTTP_HEADERS);try{return!((await new pN.default().httpRequest({url:o,method:"GET",headers:s})).statusCode>=400)}catch{return!1}}};Pr.AuthInfo=yN});var Yfe=h(Uh=>{"use strict";var Kfe=Uh&&Uh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Uh,"__esModule",{value:!0});Uh.DeviceOauthService=void 0;var ept=Kfe(Sg()),a8=He(),i8=Ke(),Hfe=Kfe(bg()),tpt=yt(),bN=sc(),Gfe=wp(),o8=wt(),rpt=bt(),npt=sn(),Xfe=new rpt.Messages("@salesforce/core","auth",new Map([["targetOrgNotSet","A default user is not set."],["targetOrgNotSet.actions",['Run the "sfdx auth" commands with --setdefaultusername to connect to an org and set it as your default org.','Run "force:org:create" with --setdefaultusername to create a scratch org and set it as your default org.','Run "sfdx config:set defaultusername=<username>" to set your default username.']],["portInUse","Cannot start the OAuth redirect server on port %s."],["portInUse.actions",["Kill the process running on port %s or use a custom connected app and update OauthLocalPort in the sfdx-project.json file."]],["invalidRequestMethod","Invalid request method: %s"],["invalidRequestUri","Invalid request uri: %s"],["warn.invalidClientId","Code Builder web authentication is only supported with the Code Builder connected app. Ignoring client ID: %s"],["error.invalidCodeBuilderState","Invalid authentication state."],["error.HttpApi","HTTP response contains html content. Check that the org exists and can be reached."],["pollingTimeout","The device authorization request timed out. After executing force:auth:device:login, you must approve access to the device within 10 minutes. This can happen if the URL wasn't copied into the browser, login was not attempted, or the 2FA process was not completed within 10 minutes. Request authorization again."],["authTimeout","The authentication session timed out. Please try again."],["error.missingWebOauthServer.options","You must specify both an `clientApp` and `username` if you intend the server to link a connected app to a user."],["serverErrorHTMLResponse",'<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 370px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 370px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">%s</div><div id="message">%s<br/><br/>This is most likely <b>not</b> an error with the Salesforce CLI. Please ensure all information is accurate and try again.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>'],["missingAuthCode","No authentication code found on login response."],["serverSuccessHTMLResponse",`<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 300px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 300px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">Authentication Successful</div><div id="message">You've successfully logged in. You can now close this browser tab or window.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>`],["serverSfdcImage","PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNjIgMTg0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNjIgMTg0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzAwQTFFMDt9Cgkuc3Qxe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+Cjx0aXRsZT5sb2dvLXNhbGVzZm9yY2U8L3RpdGxlPgo8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KPGcgaWQ9IlRlc3QtQiI+Cgk8ZyBpZD0iTW9iaWxlLU5hdi0tLVRlc3QtQi1feDI4XzBfeDI5XyI+CgkJPGcgaWQ9Ikdyb3VwIj4KCQkJPGcgaWQ9ImxvZ28tc2FsZXNmb3JjZSI+CgkJCQk8cGF0aCBpZD0iRmlsbC0xIiBjbGFzcz0ic3QwIiBkPSJNMTA5LjIsMjAuOWM4LjQtOC43LDIwLjEtMTQuMiwzMy0xNC4yYzE3LjIsMCwzMi4xLDkuNiw0MC4xLDIzLjhjNi45LTMuMSwxNC42LTQuOCwyMi43LTQuOAoJCQkJCWMzMSwwLDU2LDI1LjMsNTYsNTYuNXMtMjUuMSw1Ni41LTU2LDU2LjVjLTMuOCwwLTcuNS0wLjQtMTEtMS4xYy03LDEyLjUtMjAuNCwyMS0zNS44LDIxYy02LjQsMC0xMi41LTEuNS0xNy45LTQuMQoJCQkJCWMtNy4xLDE2LjctMjMuNywyOC41LTQzLDI4LjVjLTIwLjEsMC0zNy4zLTEyLjctNDMuOS0zMC42Yy0yLjksMC42LTUuOSwwLjktOC45LDAuOWMtMjQsMC00My40LTE5LjYtNDMuNC00My45CgkJCQkJYzAtMTYuMiw4LjctMzAuNCwyMS43LTM4Yy0yLjctNi4xLTQuMi0xMi45LTQuMi0yMC4xQzE4LjUsMjMuNiw0MS4yLDEsNjksMUM4NS40LDEsMTAwLDguOCwxMDkuMiwyMC45Ii8+CgkJCQk8cGF0aCBpZD0iQ29tYmluZWQtU2hhcGUiIGNsYXNzPSJzdDEiIGQ9Ik0zOC43LDk1LjRsMS4xLTIuOWMwLjItMC41LDAuNS0wLjMsMC43LTAuMmMwLjMsMC4yLDAuNSwwLjMsMC45LDAuNmMzLjEsMiw2LDIsNi45LDIKCQkJCQljMi4zLDAsMy44LTEuMiwzLjgtMi45di0wLjFjMC0xLjgtMi4yLTIuNS00LjgtMy4zbC0wLjYtMC4yYy0zLjUtMS03LjMtMi41LTcuMy02Ljl2LTAuMWMwLTQuMiwzLjQtNy4yLDguMy03LjJsMC41LDAKCQkJCQljMi45LDAsNS42LDAuOCw3LjYsMi4xYzAuMiwwLjEsMC40LDAuMywwLjMsMC42Yy0wLjEsMC4zLTEsMi42LTEuMSwyLjljLTAuMiwwLjUtMC43LDAuMi0wLjcsMC4yYy0xLjgtMS00LjUtMS43LTYuOC0xLjcKCQkJCQljLTIuMSwwLTMuNCwxLjEtMy40LDIuNnYwLjFjMCwxLjcsMi4zLDIuNSw0LjksMy4zbDAuNSwwLjFjMy41LDEuMSw3LjIsMi42LDcuMiw2Ljl2MC4xYzAsNC42LTMuMyw3LjQtOC42LDcuNAoJCQkJCWMtMi42LDAtNS4xLTAuNC03LjgtMS44Yy0wLjUtMC4zLTEtMC41LTEuNS0wLjlDMzguNyw5NS45LDM4LjUsOTUuOCwzOC43LDk1LjR6IE0xMTYuNyw5NS40bDEuMS0yLjljMC4yLTAuNSwwLjYtMC4zLDAuNy0wLjIKCQkJCQljMC4zLDAuMiwwLjUsMC4zLDAuOSwwLjZjMy4xLDIsNiwyLDYuOSwyYzIuMywwLDMuOC0xLjIsMy44LTIuOXYtMC4xYzAtMS44LTIuMi0yLjUtNC44LTMuM2wtMC42LTAuMmMtMy41LTEtNy4zLTIuNS03LjMtNi45CgkJCQkJdi0wLjFjMC00LjIsMy40LTcuMiw4LjMtNy4ybDAuNSwwYzIuOSwwLDUuNiwwLjgsNy42LDIuMWMwLjIsMC4xLDAuNCwwLjMsMC4zLDAuNmMtMC4xLDAuMy0xLDIuNi0xLjEsMi45CgkJCQkJYy0wLjIsMC41LTAuNywwLjItMC43LDAuMmMtMS44LTEtNC41LTEuNy02LjgtMS43Yy0yLjEsMC0zLjQsMS4xLTMuNCwyLjZ2MC4xYzAsMS43LDIuMywyLjUsNC45LDMuM2wwLjUsMC4xCgkJCQkJYzMuNSwxLjEsNy4yLDIuNiw3LjIsNi45djAuMWMwLDQuNi0zLjMsNy40LTguNiw3LjRjLTIuNiwwLTUuMS0wLjQtNy44LTEuOGMtMC41LTAuMy0xLTAuNS0xLjUtMC45CgkJCQkJQzExNi44LDk1LjksMTE2LjYsOTUuOCwxMTYuNyw5NS40eiBNMTc0LjUsODEuN2MwLjQsMS41LDAuNywzLjEsMC43LDQuOHMtMC4yLDMuMy0wLjcsNC44Yy0wLjQsMS41LTEuMSwyLjgtMiwzLjkKCQkJCQljLTAuOSwxLjEtMi4xLDItMy40LDIuNmMtMS40LDAuNi0zLDAuOS00LjgsMC45Yy0xLjgsMC0zLjQtMC4zLTQuOC0wLjljLTEuNC0wLjYtMi41LTEuNS0zLjQtMi42Yy0wLjktMS4xLTEuNi0yLjQtMi0zLjkKCQkJCQljLTAuNC0xLjUtMC43LTMuMS0wLjctNC44YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjQtMS41LDEuMS0yLjgsMi0zLjljMC45LTEuMSwyLjEtMiwzLjQtMi42YzEuNC0wLjYsMy0xLDQuOC0xCgkJCQkJYzEuOCwwLDMuNCwwLjMsNC44LDFjMS40LDAuNiwyLjUsMS41LDMuNCwyLjZDMTczLjQsNzguOSwxNzQuMSw4MC4yLDE3NC41LDgxLjd6IE0xNzAsODYuNGMwLTIuNi0wLjUtNC42LTEuNC02CgkJCQkJYy0wLjktMS40LTIuNC0yLjEtNC4zLTIuMWMtMiwwLTMuNCwwLjctNC4zLDIuMWMtMC45LDEuNC0xLjQsMy40LTEuNCw2YzAsMi42LDAuNSw0LjYsMS40LDYuMWMwLjksMS40LDIuMywyLjEsNC4zLDIuMQoJCQkJCWMyLDAsMy40LTAuNyw0LjMtMi4xQzE2OS42LDkxLjEsMTcwLDg5LDE3MCw4Ni40eiBNMjExLjEsOTMuOWwxLjEsM2MwLjEsMC40LTAuMiwwLjUtMC4yLDAuNWMtMS43LDAuNy00LDEuMS02LjMsMS4xCgkJCQkJYy0zLjksMC02LjgtMS4xLTguOC0zLjNjLTItMi4yLTMtNS4yLTMtOC45YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjUtMS41LDEuMi0yLjgsMi4yLTMuOWMxLTEuMSwyLjItMiwzLjYtMi42CgkJCQkJYzEuNC0wLjYsMy4xLTEsNS0xYzEuMywwLDIuNCwwLjEsMy4zLDAuMmMxLDAuMiwyLjQsMC41LDMsMC44YzAuMSwwLDAuNCwwLjIsMC4zLDAuNWMtMC40LDEuMi0wLjcsMi0xLjEsMwoJCQkJCWMtMC4yLDAuNS0wLjUsMC4zLTAuNSwwLjNjLTEuNS0wLjUtMi45LTAuNy00LjctMC43Yy0yLjIsMC0zLjksMC43LTQuOSwyLjJjLTEuMSwxLjQtMS43LDMuMy0xLjcsNS45YzAsMi44LDAuNyw0LjgsMS45LDYuMQoJCQkJCWMxLjIsMS4zLDIuOSwxLjksNS4xLDEuOWMwLjksMCwxLjctMC4xLDIuNC0wLjJjMC43LTAuMSwxLjQtMC4zLDIuMS0wLjZDMjEwLjUsOTMuNiwyMTAuOSw5My41LDIxMS4xLDkzLjl6IE0yMzMuOCw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC40LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzIzMi41LDc3LjksMjMzLjQsNzkuNCwyMzMuOCw4MC44eiBNMjE4LjgsODRoMTAuNwoJCQkJCWMtMC4xLTEuNC0wLjQtMi42LTEtMy42Yy0wLjktMS40LTIuMi0yLjItNC4yLTIuMmMtMiwwLTMuNCwwLjgtNC4zLDIuMkMyMTkuNCw4MS4zLDIxOS4xLDgyLjUsMjE4LjgsODR6IE0xMTMuMSw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC41LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzExMS44LDc3LjksMTEyLjgsNzkuNCwxMTMuMSw4MC44eiBNOTguMSw4NGgxMC44CgkJCQkJYy0wLjEtMS40LTAuNC0yLjYtMS0zLjZjLTAuOS0xLjQtMi4yLTIuMi00LjItMi4yYy0yLDAtMy40LDAuOC00LjMsMi4yQzk4LjcsODEuMyw5OC40LDgyLjUsOTguMSw4NHogTTcxLjYsODMuMgoJCQkJCWMwLDAsMS4yLDAuMSwyLjUsMC4zdi0wLjZjMC0yLTAuNC0zLTEuMi0zLjZjLTAuOC0wLjYtMi4xLTEtMy43LTFjMCwwLTMuNywwLTYuNiwxLjVjLTAuMSwwLjEtMC4yLDAuMS0wLjIsMC4xCgkJCQkJcy0wLjQsMC4xLTAuNS0wLjJsLTEuMS0yLjljLTAuMi0wLjQsMC4xLTAuNiwwLjEtMC42YzEuNC0xLjEsNC42LTEuNyw0LjYtMS43YzEuMS0wLjIsMi45LTAuNCw0LTAuNGMzLDAsNS4zLDAuNyw2LjksMi4xCgkJCQkJYzEuNiwxLjQsMi40LDMuNiwyLjQsNi43bDAsMTMuOGMwLDAsMCwwLjQtMC4zLDAuNWMwLDAtMC42LDAuMi0xLjEsMC4zYy0wLjUsMC4xLTIuMywwLjUtMy44LDAuN2MtMS41LDAuMy0zLDAuNC00LjYsMC40CgkJCQkJYy0xLjUsMC0yLjgtMC4xLTQtMC40Yy0xLjItMC4zLTIuMi0wLjctMy4xLTEuM2MtMC44LTAuNi0xLjUtMS40LTItMi40Yy0wLjUtMC45LTAuNy0yLjEtMC43LTMuNGMwLTEuMywwLjMtMi41LDAuOC0zLjUKCQkJCQljMC41LTEsMS4zLTEuOCwyLjItMi41YzAuOS0wLjcsMi0xLjEsMy4xLTEuNWMxLjItMC4zLDIuNC0wLjUsMy43LTAuNUM3MC4yLDgzLjIsNzEsODMuMiw3MS42LDgzLjJ6IE02NS42LDkzLjgKCQkJCQljMCwwLDEuNCwxLjEsNC40LDAuOWMyLjItMC4xLDQuMS0wLjUsNC4xLTAuNXYtNi45YzAsMC0xLjktMC4zLTQuMS0wLjNjLTMuMSwwLTQuNCwxLjEtNC40LDEuMWMtMC45LDAuNi0xLjMsMS42LTEuMywyLjkKCQkJCQljMCwwLjgsMC4yLDEuNSwwLjUsMkM2NC45LDkzLjIsNjUsOTMuNCw2NS42LDkzLjh6IE0xOTMuMSw3NS41Yy0wLjEsMC40LTAuOSwyLjUtMS4xLDMuMmMtMC4xLDAuMy0wLjMsMC40LTAuNiwwLjQKCQkJCQljMCwwLTAuOS0wLjItMS43LTAuMmMtMC41LDAtMS4zLDAuMS0yLDAuM2MtMC43LDAuMi0xLjMsMC42LTEuOSwxLjFjLTAuNiwwLjUtMSwxLjMtMS4zLDIuMmMtMC4zLDAuOS0wLjUsMi40LTAuNSw0djExLjIKCQkJCQljMCwwLjMtMC4yLDAuNS0wLjUsMC41aC00Yy0wLjMsMC0wLjUtMC4yLTAuNS0wLjVWNzUuMmMwLTAuMywwLjItMC41LDAuNC0wLjVoMy45YzAuMywwLDAuNCwwLjIsMC40LDAuNVY3NwoJCQkJCWMwLjYtMC44LDEuNi0xLjUsMi41LTEuOWMwLjktMC40LDItMC43LDMuOS0wLjZjMSwwLjEsMi4zLDAuMywyLjUsMC40QzE5Myw3NSwxOTMuMiw3NS4xLDE5My4xLDc1LjV6IE0xNTYsNjUuMQoJCQkJCWMwLjEsMCwwLjQsMC4yLDAuMywwLjVsLTEuMiwzLjJjLTAuMSwwLjItMC4yLDAuNC0wLjcsMC4yYy0wLjEsMC0wLjMtMC4xLTAuOC0wLjJjLTAuMy0wLjEtMC44LTAuMS0xLjItMC4xCgkJCQkJYy0wLjYsMC0xLjEsMC4xLTEuNiwwLjJjLTAuNSwwLjEtMC45LDAuNC0xLjMsMC44Yy0wLjQsMC40LTAuOCwwLjktMS4xLDEuNmMtMC42LDEuNi0wLjgsMy4zLTAuOCwzLjRoNC44CgkJCQkJYzAuNCwwLDAuNSwwLjIsMC41LDAuNWwtMC42LDMuMWMtMC4xLDAuNS0wLjUsMC40LTAuNSwwLjRoLTVMMTQzLjYsOThjLTAuNCwyLTAuOCwzLjctMS4zLDUuMWMtMC41LDEuNC0xLjEsMi40LTIsMy40CgkJCQkJYy0wLjgsMC45LTEuNywxLjYtMi44LDEuOWMtMSwwLjQtMi4zLDAuNi0zLjcsMC42Yy0wLjcsMC0xLjQsMC0yLjItMC4yYy0wLjYtMC4xLTAuOS0wLjItMS40LTAuNGMtMC4yLTAuMS0wLjMtMC4zLTAuMi0wLjYKCQkJCQljMC4xLTAuMywxLTIuNywxLjEtMy4xYzAuMi0wLjQsMC41LTAuMiwwLjUtMC4yYzAuMywwLjEsMC41LDAuMiwwLjgsMC4zYzAuNCwwLjEsMC44LDAuMSwxLjIsMC4xYzAuNywwLDEuMy0wLjEsMS44LTAuMwoJCQkJCWMwLjYtMC4yLDEtMC42LDEuNC0xLjFjMC40LTAuNSwwLjctMS4yLDEuMS0yLjFjMC4zLTAuOSwwLjYtMi4yLDAuOS0zLjdsMy40LTE4LjloLTMuM2MtMC40LDAtMC41LTAuMi0wLjUtMC41bDAuNi0zLjEKCQkJCQljMC4xLTAuNSwwLjUtMC40LDAuNS0wLjRoMy40bDAuMi0xYzAuNS0zLDEuNS01LjMsMy02LjhjMS41LTEuNSwzLjctMi4zLDYuNC0yLjNjMC44LDAsMS41LDAuMSwyLjEsMC4yCgkJCQkJQzE1NSw2NC44LDE1NS41LDY0LjksMTU2LDY1LjF6IE04OC42LDk3LjZjMCwwLjMtMC4yLDAuNS0wLjQsMC41aC00Yy0wLjMsMC0wLjQtMC4yLTAuNC0wLjVWNjUuNWMwLTAuMiwwLjItMC41LDAuNC0wLjVoNAoJCQkJCWMwLjMsMCwwLjQsMC4yLDAuNCwwLjVWOTcuNnoiLz4KCQkJPC9nPgoJCTwvZz4KCTwvZz4KPC9nPgo8L3N2Zz4K"]]));async function Jfe(e){let t=await new ept.default().httpRequest(e);if(t?.headers?.["content-type"]==="text/html"){let n=Xfe.createError("error.HttpApi");throw n.setData(t.body),n}let r=(0,a8.parseJsonMap)(t.body);if(r.error){let n=typeof r.error_description=="string"?r.error_description:"",i=typeof r.error=="string"?r.error:"Unknown",a=new o8.SfError(`Request Failed: ${i} ${n}`);throw a.data=Object.assign(r,{status:t.statusCode}),a}else return r}var vN=class e extends a8.AsyncCreatable{static RESPONSE_TYPE="device_code";static GRANT_TYPE="device";static SCOPE="refresh_token web api";static POLLING_COUNT_MAX=100;logger;options;pollingCount=0;constructor(t){super(t),npt.Lifecycle.getInstance().emitWarning("Device Oauth flow is deprecated and will be removed mid January 2026"),this.options=t,this.options.clientId||(this.options.clientId=bN.DEFAULT_CONNECTED_APP_INFO.clientId),this.options.loginUrl||(this.options.loginUrl=bN.AuthInfo.getDefaultInstanceUrl())}async requestDeviceLogin(){let t=this.getDeviceFlowRequestUrl(),r=this.getLoginOptions(t);return Jfe(r)}async awaitDeviceApproval(t){let r=this.getDeviceFlowRequestUrl(),n=this.getPollingOptions(r,t.device_code),i=a8.Duration.seconds(t.interval).milliseconds;return this.pollForDeviceApproval(n,i)}async authorizeAndSave(t){let r=await bN.AuthInfo.create({oauth2Options:{loginUrl:t.instance_url,refreshToken:t.refresh_token,clientSecret:this.options.clientSecret,clientId:this.options.clientId}});return await r.save(),r}async init(){this.logger=await tpt.Logger.child(this.constructor.name),this.logger.debug(`this.options.clientId: ${this.options.clientId??"<undefined>"}`),this.logger.debug(`this.options.loginUrl: ${this.options.loginUrl??"<undefined>"}`)}getLoginOptions(t){let r=new Hfe.default;return r.append("client_id",(0,i8.ensureString)(this.options.clientId)),r.append("response_type",e.RESPONSE_TYPE),r.append("scope",e.SCOPE),{url:t,headers:{...Gfe.SFDX_HTTP_HEADERS,...r.getHeaders()},method:"POST",body:r.getBuffer()}}getPollingOptions(t,r){let n=new Hfe.default;return n.append("client_id",(0,i8.ensureString)(this.options.clientId)),n.append("grant_type",e.GRANT_TYPE),n.append("code",r),{url:t,headers:{...Gfe.SFDX_HTTP_HEADERS,...n.getHeaders()},method:"POST",body:n.getBuffer()}}getDeviceFlowRequestUrl(){return`${(0,i8.ensureString)(this.options.loginUrl)}/services/oauth2/token`}async poll(t){this.logger.debug(`polling for device approval (attempt ${this.pollingCount} of ${e.POLLING_COUNT_MAX})`);try{return await Jfe(t)}catch(r){if(r instanceof o8.SfError&&r.name==="HttpApiError")throw r;let n=r instanceof o8.SfError?r.data:o8.SfError.wrap((0,i8.isString)(r)?r:"unknown").data;if(!(n?.error&&n?.status===400&&n?.error==="authorization_pending"))throw n?.error&&n?.error_description?this.logger.error(`Polling error: ${n.error}: ${n.error_description}`):(this.logger.error("Unknown Polling Error:"),this.logger.error(n??r)),n??r}}shouldContinuePolling(){return this.pollingCount<e.POLLING_COUNT_MAX}async pollForDeviceApproval(t,r){this.logger.debug("BEGIN POLLING FOR DEVICE APPROVAL");let n;for(;this.shouldContinuePolling();)if(n=await this.poll(t),n){this.logger.debug("POLLING FOR DEVICE APPROVAL SUCCESS");break}else this.logger.debug(`waiting ${r} ms...`),await(0,a8.sleep)(r),this.pollingCount+=1;if(this.pollingCount>=e.POLLING_COUNT_MAX)throw this.logger.error(`Polling timed out because max polling was hit: ${this.pollingCount}`),Xfe.createError("pollingTimeout");return n}};Uh.DeviceOauthService=vN});var Qfe=h(s8=>{"use strict";Object.defineProperty(s8,"__esModule",{value:!0});s8.SandboxRequestCache=void 0;var ipt=He(),apt=Cr(),opt=M2(),_N=class e extends opt.TTLConfig{static getDefaultOptions(){return{isGlobal:!0,isState:!0,filename:e.getFileName(),stateFolder:apt.Global.SF_STATE_FOLDER,ttl:ipt.Duration.days(14)}}static async unset(t){let r=await e.create();r.unset(t),await r.write()}static async set(t,r){let n=await e.create();n.set(t,r),await n.write()}static getFileName(){return"sandbox-create-cache.json"}};s8.SandboxRequestCache=_N});var eme=h(l8=>{"use strict";Object.defineProperty(l8,"__esModule",{value:!0});l8.AuthRemover=void 0;var spt=He(),lpt=rc(),cpt=yt(),upt=bt(),dpt=zf(),ppt=Du(),fpt=new upt.Messages("@salesforce/core","auth",new Map([["targetOrgNotSet","A default user is not set."],["targetOrgNotSet.actions",['Run the "sfdx auth" commands with --setdefaultusername to connect to an org and set it as your default org.','Run "force:org:create" with --setdefaultusername to create a scratch org and set it as your default org.','Run "sfdx config:set defaultusername=<username>" to set your default username.']],["portInUse","Cannot start the OAuth redirect server on port %s."],["portInUse.actions",["Kill the process running on port %s or use a custom connected app and update OauthLocalPort in the sfdx-project.json file."]],["invalidRequestMethod","Invalid request method: %s"],["invalidRequestUri","Invalid request uri: %s"],["warn.invalidClientId","Code Builder web authentication is only supported with the Code Builder connected app. Ignoring client ID: %s"],["error.invalidCodeBuilderState","Invalid authentication state."],["error.HttpApi","HTTP response contains html content. Check that the org exists and can be reached."],["pollingTimeout","The device authorization request timed out. After executing force:auth:device:login, you must approve access to the device within 10 minutes. This can happen if the URL wasn't copied into the browser, login was not attempted, or the 2FA process was not completed within 10 minutes. Request authorization again."],["authTimeout","The authentication session timed out. Please try again."],["error.missingWebOauthServer.options","You must specify both an `clientApp` and `username` if you intend the server to link a connected app to a user."],["serverErrorHTMLResponse",'<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 370px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 370px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">%s</div><div id="message">%s<br/><br/>This is most likely <b>not</b> an error with the Salesforce CLI. Please ensure all information is accurate and try again.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>'],["missingAuthCode","No authentication code found on login response."],["serverSuccessHTMLResponse",`<html><head><style>body {background-color:#F4F6F9; font-family: Arial, sans-serif; font-size: 0.8125rem; line-height: 1.5rem; color: #16325c;} #center {margin: auto; width: 300px; padding: 100px 0px 20px;} #logo-container {margin-left: auto; margin-right: auto; text-align: center;} #logo {max-width: 180px; max-height: 113px; margin-bottom: 2rem; border: 0;} #header {font-size: 1.5rem; text-align: center; margin-bottom: 1rem;} #message {background-color: #FFFFFF; margin: 0px auto; padding: 1.25rem; border-radius: 0.25rem; border: 1px solid #D8DDE6;} #footer {height: 24px; width: 300px; text-align: center; font-size: .75rem; position: absolute; bottom: 10;}</style></head><body><div id="center"><div id="logo-container"><img id="logo" aria-hidden="true" name="logo" alt="Salesforce" src="data:image/svg+xml;base64,%s"></div><div id="header">Authentication Successful</div><div id="message">You've successfully logged in. You can now close this browser tab or window.</div><div id="footer">© %s Salesforce, Inc. All rights reserved.</div></div></body></html>`],["serverSfdcImage","PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNjIgMTg0IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNjIgMTg0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzAwQTFFMDt9Cgkuc3Qxe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU+Cjx0aXRsZT5sb2dvLXNhbGVzZm9yY2U8L3RpdGxlPgo8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KPGcgaWQ9IlRlc3QtQiI+Cgk8ZyBpZD0iTW9iaWxlLU5hdi0tLVRlc3QtQi1feDI4XzBfeDI5XyI+CgkJPGcgaWQ9Ikdyb3VwIj4KCQkJPGcgaWQ9ImxvZ28tc2FsZXNmb3JjZSI+CgkJCQk8cGF0aCBpZD0iRmlsbC0xIiBjbGFzcz0ic3QwIiBkPSJNMTA5LjIsMjAuOWM4LjQtOC43LDIwLjEtMTQuMiwzMy0xNC4yYzE3LjIsMCwzMi4xLDkuNiw0MC4xLDIzLjhjNi45LTMuMSwxNC42LTQuOCwyMi43LTQuOAoJCQkJCWMzMSwwLDU2LDI1LjMsNTYsNTYuNXMtMjUuMSw1Ni41LTU2LDU2LjVjLTMuOCwwLTcuNS0wLjQtMTEtMS4xYy03LDEyLjUtMjAuNCwyMS0zNS44LDIxYy02LjQsMC0xMi41LTEuNS0xNy45LTQuMQoJCQkJCWMtNy4xLDE2LjctMjMuNywyOC41LTQzLDI4LjVjLTIwLjEsMC0zNy4zLTEyLjctNDMuOS0zMC42Yy0yLjksMC42LTUuOSwwLjktOC45LDAuOWMtMjQsMC00My40LTE5LjYtNDMuNC00My45CgkJCQkJYzAtMTYuMiw4LjctMzAuNCwyMS43LTM4Yy0yLjctNi4xLTQuMi0xMi45LTQuMi0yMC4xQzE4LjUsMjMuNiw0MS4yLDEsNjksMUM4NS40LDEsMTAwLDguOCwxMDkuMiwyMC45Ii8+CgkJCQk8cGF0aCBpZD0iQ29tYmluZWQtU2hhcGUiIGNsYXNzPSJzdDEiIGQ9Ik0zOC43LDk1LjRsMS4xLTIuOWMwLjItMC41LDAuNS0wLjMsMC43LTAuMmMwLjMsMC4yLDAuNSwwLjMsMC45LDAuNmMzLjEsMiw2LDIsNi45LDIKCQkJCQljMi4zLDAsMy44LTEuMiwzLjgtMi45di0wLjFjMC0xLjgtMi4yLTIuNS00LjgtMy4zbC0wLjYtMC4yYy0zLjUtMS03LjMtMi41LTcuMy02Ljl2LTAuMWMwLTQuMiwzLjQtNy4yLDguMy03LjJsMC41LDAKCQkJCQljMi45LDAsNS42LDAuOCw3LjYsMi4xYzAuMiwwLjEsMC40LDAuMywwLjMsMC42Yy0wLjEsMC4zLTEsMi42LTEuMSwyLjljLTAuMiwwLjUtMC43LDAuMi0wLjcsMC4yYy0xLjgtMS00LjUtMS43LTYuOC0xLjcKCQkJCQljLTIuMSwwLTMuNCwxLjEtMy40LDIuNnYwLjFjMCwxLjcsMi4zLDIuNSw0LjksMy4zbDAuNSwwLjFjMy41LDEuMSw3LjIsMi42LDcuMiw2Ljl2MC4xYzAsNC42LTMuMyw3LjQtOC42LDcuNAoJCQkJCWMtMi42LDAtNS4xLTAuNC03LjgtMS44Yy0wLjUtMC4zLTEtMC41LTEuNS0wLjlDMzguNyw5NS45LDM4LjUsOTUuOCwzOC43LDk1LjR6IE0xMTYuNyw5NS40bDEuMS0yLjljMC4yLTAuNSwwLjYtMC4zLDAuNy0wLjIKCQkJCQljMC4zLDAuMiwwLjUsMC4zLDAuOSwwLjZjMy4xLDIsNiwyLDYuOSwyYzIuMywwLDMuOC0xLjIsMy44LTIuOXYtMC4xYzAtMS44LTIuMi0yLjUtNC44LTMuM2wtMC42LTAuMmMtMy41LTEtNy4zLTIuNS03LjMtNi45CgkJCQkJdi0wLjFjMC00LjIsMy40LTcuMiw4LjMtNy4ybDAuNSwwYzIuOSwwLDUuNiwwLjgsNy42LDIuMWMwLjIsMC4xLDAuNCwwLjMsMC4zLDAuNmMtMC4xLDAuMy0xLDIuNi0xLjEsMi45CgkJCQkJYy0wLjIsMC41LTAuNywwLjItMC43LDAuMmMtMS44LTEtNC41LTEuNy02LjgtMS43Yy0yLjEsMC0zLjQsMS4xLTMuNCwyLjZ2MC4xYzAsMS43LDIuMywyLjUsNC45LDMuM2wwLjUsMC4xCgkJCQkJYzMuNSwxLjEsNy4yLDIuNiw3LjIsNi45djAuMWMwLDQuNi0zLjMsNy40LTguNiw3LjRjLTIuNiwwLTUuMS0wLjQtNy44LTEuOGMtMC41LTAuMy0xLTAuNS0xLjUtMC45CgkJCQkJQzExNi44LDk1LjksMTE2LjYsOTUuOCwxMTYuNyw5NS40eiBNMTc0LjUsODEuN2MwLjQsMS41LDAuNywzLjEsMC43LDQuOHMtMC4yLDMuMy0wLjcsNC44Yy0wLjQsMS41LTEuMSwyLjgtMiwzLjkKCQkJCQljLTAuOSwxLjEtMi4xLDItMy40LDIuNmMtMS40LDAuNi0zLDAuOS00LjgsMC45Yy0xLjgsMC0zLjQtMC4zLTQuOC0wLjljLTEuNC0wLjYtMi41LTEuNS0zLjQtMi42Yy0wLjktMS4xLTEuNi0yLjQtMi0zLjkKCQkJCQljLTAuNC0xLjUtMC43LTMuMS0wLjctNC44YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjQtMS41LDEuMS0yLjgsMi0zLjljMC45LTEuMSwyLjEtMiwzLjQtMi42YzEuNC0wLjYsMy0xLDQuOC0xCgkJCQkJYzEuOCwwLDMuNCwwLjMsNC44LDFjMS40LDAuNiwyLjUsMS41LDMuNCwyLjZDMTczLjQsNzguOSwxNzQuMSw4MC4yLDE3NC41LDgxLjd6IE0xNzAsODYuNGMwLTIuNi0wLjUtNC42LTEuNC02CgkJCQkJYy0wLjktMS40LTIuNC0yLjEtNC4zLTIuMWMtMiwwLTMuNCwwLjctNC4zLDIuMWMtMC45LDEuNC0xLjQsMy40LTEuNCw2YzAsMi42LDAuNSw0LjYsMS40LDYuMWMwLjksMS40LDIuMywyLjEsNC4zLDIuMQoJCQkJCWMyLDAsMy40LTAuNyw0LjMtMi4xQzE2OS42LDkxLjEsMTcwLDg5LDE3MCw4Ni40eiBNMjExLjEsOTMuOWwxLjEsM2MwLjEsMC40LTAuMiwwLjUtMC4yLDAuNWMtMS43LDAuNy00LDEuMS02LjMsMS4xCgkJCQkJYy0zLjksMC02LjgtMS4xLTguOC0zLjNjLTItMi4yLTMtNS4yLTMtOC45YzAtMS43LDAuMi0zLjMsMC43LTQuOGMwLjUtMS41LDEuMi0yLjgsMi4yLTMuOWMxLTEuMSwyLjItMiwzLjYtMi42CgkJCQkJYzEuNC0wLjYsMy4xLTEsNS0xYzEuMywwLDIuNCwwLjEsMy4zLDAuMmMxLDAuMiwyLjQsMC41LDMsMC44YzAuMSwwLDAuNCwwLjIsMC4zLDAuNWMtMC40LDEuMi0wLjcsMi0xLjEsMwoJCQkJCWMtMC4yLDAuNS0wLjUsMC4zLTAuNSwwLjNjLTEuNS0wLjUtMi45LTAuNy00LjctMC43Yy0yLjIsMC0zLjksMC43LTQuOSwyLjJjLTEuMSwxLjQtMS43LDMuMy0xLjcsNS45YzAsMi44LDAuNyw0LjgsMS45LDYuMQoJCQkJCWMxLjIsMS4zLDIuOSwxLjksNS4xLDEuOWMwLjksMCwxLjctMC4xLDIuNC0wLjJjMC43LTAuMSwxLjQtMC4zLDIuMS0wLjZDMjEwLjUsOTMuNiwyMTAuOSw5My41LDIxMS4xLDkzLjl6IE0yMzMuOCw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC40LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzIzMi41LDc3LjksMjMzLjQsNzkuNCwyMzMuOCw4MC44eiBNMjE4LjgsODRoMTAuNwoJCQkJCWMtMC4xLTEuNC0wLjQtMi42LTEtMy42Yy0wLjktMS40LTIuMi0yLjItNC4yLTIuMmMtMiwwLTMuNCwwLjgtNC4zLDIuMkMyMTkuNCw4MS4zLDIxOS4xLDgyLjUsMjE4LjgsODR6IE0xMTMuMSw4MC44CgkJCQkJYzEsMy40LDAuNSw2LjMsMC41LDYuNWMwLDAuNC0wLjQsMC40LTAuNCwwLjRsLTE1LjEsMGMwLjEsMi4zLDAuNiwzLjksMS44LDVjMS4xLDEuMSwyLjgsMS44LDUuMiwxLjhjMy42LDAsNS4xLTAuNyw2LjItMS4xCgkJCQkJYzAsMCwwLjQtMC4xLDAuNiwwLjNsMSwyLjhjMC4yLDAuNSwwLDAuNi0wLjEsMC43Yy0wLjksMC41LTMuMiwxLjUtNy42LDEuNWMtMi4xLDAtNC0wLjMtNS41LTAuOWMtMS41LTAuNi0yLjgtMS40LTMuOC0yLjUKCQkJCQljLTEtMS4xLTEuNy0yLjQtMi4yLTMuOGMtMC41LTEuNS0wLjctMy4xLTAuNy00LjhjMC0xLjcsMC4yLTMuMywwLjctNC44YzAuNC0xLjUsMS4xLTIuOCwyLTMuOWMwLjktMS4xLDIuMS0yLDMuNS0yLjYKCQkJCQljMS40LTAuNywzLjEtMSw1LTFjMS42LDAsMy4xLDAuMyw0LjMsMC45YzAuOSwwLjQsMS45LDEuMSwyLjksMi4yQzExMS44LDc3LjksMTEyLjgsNzkuNCwxMTMuMSw4MC44eiBNOTguMSw4NGgxMC44CgkJCQkJYy0wLjEtMS40LTAuNC0yLjYtMS0zLjZjLTAuOS0xLjQtMi4yLTIuMi00LjItMi4yYy0yLDAtMy40LDAuOC00LjMsMi4yQzk4LjcsODEuMyw5OC40LDgyLjUsOTguMSw4NHogTTcxLjYsODMuMgoJCQkJCWMwLDAsMS4yLDAuMSwyLjUsMC4zdi0wLjZjMC0yLTAuNC0zLTEuMi0zLjZjLTAuOC0wLjYtMi4xLTEtMy43LTFjMCwwLTMuNywwLTYuNiwxLjVjLTAuMSwwLjEtMC4yLDAuMS0wLjIsMC4xCgkJCQkJcy0wLjQsMC4xLTAuNS0wLjJsLTEuMS0yLjljLTAuMi0wLjQsMC4xLTAuNiwwLjEtMC42YzEuNC0xLjEsNC42LTEuNyw0LjYtMS43YzEuMS0wLjIsMi45LTAuNCw0LTAuNGMzLDAsNS4zLDAuNyw2LjksMi4xCgkJCQkJYzEuNiwxLjQsMi40LDMuNiwyLjQsNi43bDAsMTMuOGMwLDAsMCwwLjQtMC4zLDAuNWMwLDAtMC42LDAuMi0xLjEsMC4zYy0wLjUsMC4xLTIuMywwLjUtMy44LDAuN2MtMS41LDAuMy0zLDAuNC00LjYsMC40CgkJCQkJYy0xLjUsMC0yLjgtMC4xLTQtMC40Yy0xLjItMC4zLTIuMi0wLjctMy4xLTEuM2MtMC44LTAuNi0xLjUtMS40LTItMi40Yy0wLjUtMC45LTAuNy0yLjEtMC43LTMuNGMwLTEuMywwLjMtMi41LDAuOC0zLjUKCQkJCQljMC41LTEsMS4zLTEuOCwyLjItMi41YzAuOS0wLjcsMi0xLjEsMy4xLTEuNWMxLjItMC4zLDIuNC0wLjUsMy43LTAuNUM3MC4yLDgzLjIsNzEsODMuMiw3MS42LDgzLjJ6IE02NS42LDkzLjgKCQkJCQljMCwwLDEuNCwxLjEsNC40LDAuOWMyLjItMC4xLDQuMS0wLjUsNC4xLTAuNXYtNi45YzAsMC0xLjktMC4zLTQuMS0wLjNjLTMuMSwwLTQuNCwxLjEtNC40LDEuMWMtMC45LDAuNi0xLjMsMS42LTEuMywyLjkKCQkJCQljMCwwLjgsMC4yLDEuNSwwLjUsMkM2NC45LDkzLjIsNjUsOTMuNCw2NS42LDkzLjh6IE0xOTMuMSw3NS41Yy0wLjEsMC40LTAuOSwyLjUtMS4xLDMuMmMtMC4xLDAuMy0wLjMsMC40LTAuNiwwLjQKCQkJCQljMCwwLTAuOS0wLjItMS43LTAuMmMtMC41LDAtMS4zLDAuMS0yLDAuM2MtMC43LDAuMi0xLjMsMC42LTEuOSwxLjFjLTAuNiwwLjUtMSwxLjMtMS4zLDIuMmMtMC4zLDAuOS0wLjUsMi40LTAuNSw0djExLjIKCQkJCQljMCwwLjMtMC4yLDAuNS0wLjUsMC41aC00Yy0wLjMsMC0wLjUtMC4yLTAuNS0wLjVWNzUuMmMwLTAuMywwLjItMC41LDAuNC0wLjVoMy45YzAuMywwLDAuNCwwLjIsMC40LDAuNVY3NwoJCQkJCWMwLjYtMC44LDEuNi0xLjUsMi41LTEuOWMwLjktMC40LDItMC43LDMuOS0wLjZjMSwwLjEsMi4zLDAuMywyLjUsMC40QzE5Myw3NSwxOTMuMiw3NS4xLDE5My4xLDc1LjV6IE0xNTYsNjUuMQoJCQkJCWMwLjEsMCwwLjQsMC4yLDAuMywwLjVsLTEuMiwzLjJjLTAuMSwwLjItMC4yLDAuNC0wLjcsMC4yYy0wLjEsMC0wLjMtMC4xLTAuOC0wLjJjLTAuMy0wLjEtMC44LTAuMS0xLjItMC4xCgkJCQkJYy0wLjYsMC0xLjEsMC4xLTEuNiwwLjJjLTAuNSwwLjEtMC45LDAuNC0xLjMsMC44Yy0wLjQsMC40LTAuOCwwLjktMS4xLDEuNmMtMC42LDEuNi0wLjgsMy4zLTAuOCwzLjRoNC44CgkJCQkJYzAuNCwwLDAuNSwwLjIsMC41LDAuNWwtMC42LDMuMWMtMC4xLDAuNS0wLjUsMC40LTAuNSwwLjRoLTVMMTQzLjYsOThjLTAuNCwyLTAuOCwzLjctMS4zLDUuMWMtMC41LDEuNC0xLjEsMi40LTIsMy40CgkJCQkJYy0wLjgsMC45LTEuNywxLjYtMi44LDEuOWMtMSwwLjQtMi4zLDAuNi0zLjcsMC42Yy0wLjcsMC0xLjQsMC0yLjItMC4yYy0wLjYtMC4xLTAuOS0wLjItMS40LTAuNGMtMC4yLTAuMS0wLjMtMC4zLTAuMi0wLjYKCQkJCQljMC4xLTAuMywxLTIuNywxLjEtMy4xYzAuMi0wLjQsMC41LTAuMiwwLjUtMC4yYzAuMywwLjEsMC41LDAuMiwwLjgsMC4zYzAuNCwwLjEsMC44LDAuMSwxLjIsMC4xYzAuNywwLDEuMy0wLjEsMS44LTAuMwoJCQkJCWMwLjYtMC4yLDEtMC42LDEuNC0xLjFjMC40LTAuNSwwLjctMS4yLDEuMS0yLjFjMC4zLTAuOSwwLjYtMi4yLDAuOS0zLjdsMy40LTE4LjloLTMuM2MtMC40LDAtMC41LTAuMi0wLjUtMC41bDAuNi0zLjEKCQkJCQljMC4xLTAuNSwwLjUtMC40LDAuNS0wLjRoMy40bDAuMi0xYzAuNS0zLDEuNS01LjMsMy02LjhjMS41LTEuNSwzLjctMi4zLDYuNC0yLjNjMC44LDAsMS41LDAuMSwyLjEsMC4yCgkJCQkJQzE1NSw2NC44LDE1NS41LDY0LjksMTU2LDY1LjF6IE04OC42LDk3LjZjMCwwLjMtMC4yLDAuNS0wLjQsMC41aC00Yy0wLjMsMC0wLjQtMC4yLTAuNC0wLjVWNjUuNWMwLTAuMiwwLjItMC41LDAuNC0wLjVoNAoJCQkJCWMwLjMsMCwwLjQsMC4yLDAuNCwwLjVWOTcuNnoiLz4KCQkJPC9nPgoJCTwvZz4KCTwvZz4KPC9nPgo8L3N2Zz4K"]])),wN=class extends spt.AsyncOptionalCreatable{config;stateAggregator;logger;async removeAuth(t){let r=await this.resolveUsername(t);this.logger.debug(`Removing authorization for user ${r}`),await this.unsetConfigValues(r),await this.unsetAliases(r),await this.stateAggregator.orgs.remove(r)}async removeAllAuths(){let t=this.findAllAuths(),r=Object.keys(t);for(let n of r)await this.removeAuth(n)}async findAuth(t){let r=await this.resolveUsername(t??this.getTargetOrg());return this.stateAggregator.orgs.get(r,!1,!0)}findAllAuths(){return this.stateAggregator.orgs.getAll().reduce((r,n)=>({...r,[n.username]:n}),{})}async init(){this.logger=await cpt.Logger.child(this.constructor.name),this.config=await lpt.ConfigAggregator.create(),this.stateAggregator=await dpt.StateAggregator.getInstance(),await this.stateAggregator.orgs.readAll()}async resolveUsername(t){return this.stateAggregator.aliases.resolveUsername(t)}getTargetOrg(){let t=this.config.getInfo(ppt.OrgConfigProperties.TARGET_ORG).value;if(!t)throw fpt.createError("targetOrgNotSet");return t}getAliases(t){return this.stateAggregator.aliases.getAll(t)}async unsetConfigValues(t){let r=this.getAliases(t);this.logger.debug(`Clearing config keys for username ${t} and aliases: ${r.join(",")}`);let n=[this.config.getGlobalConfig(),this.config.getLocalConfig()];for(let i of n)if(i){let a=i.getKeysByValue(t)||[],o=r.map(l=>i.getKeysByValue(l)).filter(l=>!!l).reduce((l,c)=>l.concat(c),[]),s=a.concat(o);s.length&&(this.logger.debug(`Found these config keys to remove: ${s.join(",")}`),s.forEach(l=>{try{i.unset(l)}catch{this.logger.debug(`Failed to remove ${l}`)}}),await i.write())}}async unsetAliases(t){this.logger.debug(`Clearing aliases for username: ${t}`);let r=this.getAliases(t);if(r.length!==0){this.logger.debug(`Found these aliases to remove: ${r.join(",")}`);for(let n of r)await this.stateAggregator.aliases.unsetAndSave(n)}}};l8.AuthRemover=wN});var rme=h(SN=>{"use strict";Object.defineProperty(SN,"__esModule",{value:!0});SN.getJwtAudienceUrl=mpt;var tme=ec();async function mpt(e){return e.loginUrl?new tme.SfdcUrl(e.loginUrl).getJwtAudienceUrl(e.createdOrgInstance):tme.SfdcUrl.PRODUCTION}});var nme=h(c8=>{"use strict";Object.defineProperty(c8,"__esModule",{value:!0});c8.generateApiName=void 0;var hpt=yt(),gpt=e=>{let r=e;return r=r.replace(/[\W_]+/g,"_"),r.charAt(0).match(/_/i)&&(r=r.slice(1)),r=r.replace(/(^\d+)/,"X$1").slice(0,255).replace(/_$/,""),hpt.Logger.childFromRoot("").debug(`Generated API name: [${r}] from name: [${e}]`),r};c8.generateApiName=gpt});var hb=h(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.regexpCode=lt.getEsmExportName=lt.getProperty=lt.safeStringify=lt.stringify=lt.strConcat=lt.addCodeArg=lt.str=lt._=lt.nil=lt._Code=lt.Name=lt.IDENTIFIER=lt._CodeOrName=void 0;var fb=class{};lt._CodeOrName=fb;lt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Bp=class extends fb{constructor(t){if(super(),!lt.IDENTIFIER.test(t))throw new Error("CodeGen: name must be a valid identifier");this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};lt.Name=Bp;var Wa=class extends fb{constructor(t){super(),this._items=typeof t=="string"?[t]:t}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let t=this._items[0];return t===""||t==='""'}get str(){var t;return(t=this._str)!==null&&t!==void 0?t:this._str=this._items.reduce((r,n)=>`${r}${n}`,"")}get names(){var t;return(t=this._names)!==null&&t!==void 0?t:this._names=this._items.reduce((r,n)=>(n instanceof Bp&&(r[n.str]=(r[n.str]||0)+1),r),{})}};lt._Code=Wa;lt.nil=new Wa("");function ime(e,...t){let r=[e[0]],n=0;for(;n<t.length;)xN(r,t[n]),r.push(e[++n]);return new Wa(r)}lt._=ime;var EN=new Wa("+");function ame(e,...t){let r=[mb(e[0])],n=0;for(;n<t.length;)r.push(EN),xN(r,t[n]),r.push(EN,mb(e[++n]));return ypt(r),new Wa(r)}lt.str=ame;function xN(e,t){t instanceof Wa?e.push(...t._items):t instanceof Bp?e.push(t):e.push(_pt(t))}lt.addCodeArg=xN;function ypt(e){let t=1;for(;t<e.length-1;){if(e[t]===EN){let r=bpt(e[t-1],e[t+1]);if(r!==void 0){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}function bpt(e,t){if(t==='""')return e;if(e==='""')return t;if(typeof e=="string")return t instanceof Bp||e[e.length-1]!=='"'?void 0:typeof t!="string"?`${e.slice(0,-1)}${t}"`:t[0]==='"'?e.slice(0,-1)+t.slice(1):void 0;if(typeof t=="string"&&t[0]==='"'&&!(e instanceof Bp))return`"${e}${t.slice(1)}`}function vpt(e,t){return t.emptyStr()?e:e.emptyStr()?t:ame`${e}${t}`}lt.strConcat=vpt;function _pt(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:mb(Array.isArray(e)?e.join(","):e)}function wpt(e){return new Wa(mb(e))}lt.stringify=wpt;function mb(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}lt.safeStringify=mb;function Spt(e){return typeof e=="string"&<.IDENTIFIER.test(e)?new Wa(`.${e}`):ime`[${e}]`}lt.getProperty=Spt;function Ept(e){if(typeof e=="string"&<.IDENTIFIER.test(e))return new Wa(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}lt.getEsmExportName=Ept;function xpt(e){return new Wa(e.toString())}lt.regexpCode=xpt});var TN=h(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.ValueScope=wi.ValueScopeName=wi.Scope=wi.varKinds=wi.UsedValueState=void 0;var _i=hb(),ON=class extends Error{constructor(t){super(`CodeGen: "code" for ${t} not defined`),this.value=t.value}},u8;(function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"})(u8||(wi.UsedValueState=u8={}));wi.varKinds={const:new _i.Name("const"),let:new _i.Name("let"),var:new _i.Name("var")};var d8=class{constructor({prefixes:t,parent:r}={}){this._names={},this._prefixes=t,this._parent=r}toName(t){return t instanceof _i.Name?t:this.name(t)}name(t){return new _i.Name(this._newName(t))}_newName(t){let r=this._names[t]||this._nameGroup(t);return`${t}${r.index++}`}_nameGroup(t){var r,n;if(!((n=(r=this._parent)===null||r===void 0?void 0:r._prefixes)===null||n===void 0)&&n.has(t)||this._prefixes&&!this._prefixes.has(t))throw new Error(`CodeGen: prefix "${t}" is not allowed in this scope`);return this._names[t]={prefix:t,index:0}}};wi.Scope=d8;var p8=class extends _i.Name{constructor(t,r){super(r),this.prefix=t}setValue(t,{property:r,itemIndex:n}){this.value=t,this.scopePath=(0,_i._)`.${new _i.Name(r)}[${n}]`}};wi.ValueScopeName=p8;var Opt=(0,_i._)`\n`,CN=class extends d8{constructor(t){super(t),this._values={},this._scope=t.scope,this.opts={...t,_n:t.lines?Opt:_i.nil}}get(){return this._scope}name(t){return new p8(t,this._newName(t))}value(t,r){var n;if(r.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let i=this.toName(t),{prefix:a}=i,o=(n=r.key)!==null&&n!==void 0?n:r.ref,s=this._values[a];if(s){let u=s.get(o);if(u)return u}else s=this._values[a]=new Map;s.set(o,i);let l=this._scope[a]||(this._scope[a]=[]),c=l.length;return l[c]=r.ref,i.setValue(r,{property:a,itemIndex:c}),i}getValue(t,r){let n=this._values[t];if(n)return n.get(r)}scopeRefs(t,r=this._values){return this._reduceValues(r,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,_i._)`${t}${n.scopePath}`})}scopeCode(t=this._values,r,n){return this._reduceValues(t,i=>{if(i.value===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return i.value.code},r,n)}_reduceValues(t,r,n={},i){let a=_i.nil;for(let o in t){let s=t[o];if(!s)continue;let l=n[o]=n[o]||new Map;s.forEach(c=>{if(l.has(c))return;l.set(c,u8.Started);let u=r(c);if(u){let d=this.opts.es5?wi.varKinds.var:wi.varKinds.const;a=(0,_i._)`${a}${d} ${c} = ${u};${this.opts._n}`}else if(u=i?.(c))a=(0,_i._)`${a}${u}${this.opts._n}`;else throw new ON(c);l.set(c,u8.Completed)})}return a}};wi.ValueScope=CN});var Be=h(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.or=Ue.and=Ue.not=Ue.CodeGen=Ue.operators=Ue.varKinds=Ue.ValueScopeName=Ue.ValueScope=Ue.Scope=Ue.Name=Ue.regexpCode=Ue.stringify=Ue.getProperty=Ue.nil=Ue.strConcat=Ue.str=Ue._=void 0;var et=hb(),No=TN(),ed=hb();Object.defineProperty(Ue,"_",{enumerable:!0,get:function(){return ed._}});Object.defineProperty(Ue,"str",{enumerable:!0,get:function(){return ed.str}});Object.defineProperty(Ue,"strConcat",{enumerable:!0,get:function(){return ed.strConcat}});Object.defineProperty(Ue,"nil",{enumerable:!0,get:function(){return ed.nil}});Object.defineProperty(Ue,"getProperty",{enumerable:!0,get:function(){return ed.getProperty}});Object.defineProperty(Ue,"stringify",{enumerable:!0,get:function(){return ed.stringify}});Object.defineProperty(Ue,"regexpCode",{enumerable:!0,get:function(){return ed.regexpCode}});Object.defineProperty(Ue,"Name",{enumerable:!0,get:function(){return ed.Name}});var g8=TN();Object.defineProperty(Ue,"Scope",{enumerable:!0,get:function(){return g8.Scope}});Object.defineProperty(Ue,"ValueScope",{enumerable:!0,get:function(){return g8.ValueScope}});Object.defineProperty(Ue,"ValueScopeName",{enumerable:!0,get:function(){return g8.ValueScopeName}});Object.defineProperty(Ue,"varKinds",{enumerable:!0,get:function(){return g8.varKinds}});Ue.operators={GT:new et._Code(">"),GTE:new et._Code(">="),LT:new et._Code("<"),LTE:new et._Code("<="),EQ:new et._Code("==="),NEQ:new et._Code("!=="),NOT:new et._Code("!"),OR:new et._Code("||"),AND:new et._Code("&&"),ADD:new et._Code("+")};var xc=class{optimizeNodes(){return this}optimizeNames(t,r){return this}},IN=class extends xc{constructor(t,r,n){super(),this.varKind=t,this.name=r,this.rhs=n}render({es5:t,_n:r}){let n=t?No.varKinds.var:this.varKind,i=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${i};`+r}optimizeNames(t,r){if(t[this.name.str])return this.rhs&&(this.rhs=qh(this.rhs,t,r)),this}get names(){return this.rhs instanceof et._CodeOrName?this.rhs.names:{}}},f8=class extends xc{constructor(t,r,n){super(),this.lhs=t,this.rhs=r,this.sideEffects=n}render({_n:t}){return`${this.lhs} = ${this.rhs};`+t}optimizeNames(t,r){if(!(this.lhs instanceof et.Name&&!t[this.lhs.str]&&!this.sideEffects))return this.rhs=qh(this.rhs,t,r),this}get names(){let t=this.lhs instanceof et.Name?{}:{...this.lhs.names};return h8(t,this.rhs)}},AN=class extends f8{constructor(t,r,n,i){super(t,n,i),this.op=r}render({_n:t}){return`${this.lhs} ${this.op}= ${this.rhs};`+t}},DN=class extends xc{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`${this.label}:`+t}},LN=class extends xc{constructor(t){super(),this.label=t,this.names={}}render({_n:t}){return`break${this.label?` ${this.label}`:""};`+t}},kN=class extends xc{constructor(t){super(),this.error=t}render({_n:t}){return`throw ${this.error};`+t}get names(){return this.error.names}},NN=class extends xc{constructor(t){super(),this.code=t}render({_n:t}){return`${this.code};`+t}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(t,r){return this.code=qh(this.code,t,r),this}get names(){return this.code instanceof et._CodeOrName?this.code.names:{}}},gb=class extends xc{constructor(t=[]){super(),this.nodes=t}render(t){return this.nodes.reduce((r,n)=>r+n.render(t),"")}optimizeNodes(){let{nodes:t}=this,r=t.length;for(;r--;){let n=t[r].optimizeNodes();Array.isArray(n)?t.splice(r,1,...n):n?t[r]=n:t.splice(r,1)}return t.length>0?this:void 0}optimizeNames(t,r){let{nodes:n}=this,i=n.length;for(;i--;){let a=n[i];a.optimizeNames(t,r)||(Cpt(t,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((t,r)=>Zp(t,r.names),{})}},Oc=class extends gb{render(t){return"{"+t._n+super.render(t)+"}"+t._n}},jN=class extends gb{},zh=class extends Oc{};zh.kind="else";var Vp=class e extends Oc{constructor(t,r){super(r),this.condition=t}render(t){let r=`if(${this.condition})`+super.render(t);return this.else&&(r+="else "+this.else.render(t)),r}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let r=this.else;if(r){let n=r.optimizeNodes();r=this.else=Array.isArray(n)?new zh(n):n}if(r)return t===!1?r instanceof e?r:r.nodes:this.nodes.length?this:new e(ome(t),r instanceof e?[r]:r.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,r){var n;if(this.else=(n=this.else)===null||n===void 0?void 0:n.optimizeNames(t,r),!!(super.optimizeNames(t,r)||this.else))return this.condition=qh(this.condition,t,r),this}get names(){let t=super.names;return h8(t,this.condition),this.else&&Zp(t,this.else.names),t}};Vp.kind="if";var Wp=class extends Oc{};Wp.kind="for";var PN=class extends Wp{constructor(t){super(),this.iteration=t}render(t){return`for(${this.iteration})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iteration=qh(this.iteration,t,r),this}get names(){return Zp(super.names,this.iteration.names)}},MN=class extends Wp{constructor(t,r,n,i){super(),this.varKind=t,this.name=r,this.from=n,this.to=i}render(t){let r=t.es5?No.varKinds.var:this.varKind,{name:n,from:i,to:a}=this;return`for(${r} ${n}=${i}; ${n}<${a}; ${n}++)`+super.render(t)}get names(){let t=h8(super.names,this.from);return h8(t,this.to)}},m8=class extends Wp{constructor(t,r,n,i){super(),this.loop=t,this.varKind=r,this.name=n,this.iterable=i}render(t){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(t)}optimizeNames(t,r){if(super.optimizeNames(t,r))return this.iterable=qh(this.iterable,t,r),this}get names(){return Zp(super.names,this.iterable.names)}},yb=class extends Oc{constructor(t,r,n){super(),this.name=t,this.args=r,this.async=n}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}};yb.kind="func";var bb=class extends gb{render(t){return"return "+super.render(t)}};bb.kind="return";var RN=class extends Oc{render(t){let r="try"+super.render(t);return this.catch&&(r+=this.catch.render(t)),this.finally&&(r+=this.finally.render(t)),r}optimizeNodes(){var t,r;return super.optimizeNodes(),(t=this.catch)===null||t===void 0||t.optimizeNodes(),(r=this.finally)===null||r===void 0||r.optimizeNodes(),this}optimizeNames(t,r){var n,i;return super.optimizeNames(t,r),(n=this.catch)===null||n===void 0||n.optimizeNames(t,r),(i=this.finally)===null||i===void 0||i.optimizeNames(t,r),this}get names(){let t=super.names;return this.catch&&Zp(t,this.catch.names),this.finally&&Zp(t,this.finally.names),t}},vb=class extends Oc{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}};vb.kind="catch";var _b=class extends Oc{render(t){return"finally"+super.render(t)}};_b.kind="finally";var FN=class{constructor(t,r={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...r,_n:r.lines?`
|
||
`:""},this._extScope=t,this._scope=new No.Scope({parent:t}),this._nodes=[new jN]}toString(){return this._root.render(this.opts)}name(t){return this._scope.name(t)}scopeName(t){return this._extScope.name(t)}scopeValue(t,r){let n=this._extScope.value(t,r);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(t,r){return this._extScope.getValue(t,r)}scopeRefs(t){return this._extScope.scopeRefs(t,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(t,r,n,i){let a=this._scope.toName(r);return n!==void 0&&i&&(this._constants[a.str]=n),this._leafNode(new IN(t,a,n)),a}const(t,r,n){return this._def(No.varKinds.const,t,r,n)}let(t,r,n){return this._def(No.varKinds.let,t,r,n)}var(t,r,n){return this._def(No.varKinds.var,t,r,n)}assign(t,r,n){return this._leafNode(new f8(t,r,n))}add(t,r){return this._leafNode(new AN(t,Ue.operators.ADD,r))}code(t){return typeof t=="function"?t():t!==et.nil&&this._leafNode(new NN(t)),this}object(...t){let r=["{"];for(let[n,i]of t)r.length>1&&r.push(","),r.push(n),(n!==i||this.opts.es5)&&(r.push(":"),(0,et.addCodeArg)(r,i));return r.push("}"),new et._Code(r)}if(t,r,n){if(this._blockNode(new Vp(t)),r&&n)this.code(r).else().code(n).endIf();else if(r)this.code(r).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(t){return this._elseNode(new Vp(t))}else(){return this._elseNode(new zh)}endIf(){return this._endBlockNode(Vp,zh)}_for(t,r){return this._blockNode(t),r&&this.code(r).endFor(),this}for(t,r){return this._for(new PN(t),r)}forRange(t,r,n,i,a=this.opts.es5?No.varKinds.var:No.varKinds.let){let o=this._scope.toName(t);return this._for(new MN(a,o,r,n),()=>i(o))}forOf(t,r,n,i=No.varKinds.const){let a=this._scope.toName(t);if(this.opts.es5){let o=r instanceof et.Name?r:this.var("_arr",r);return this.forRange("_i",0,(0,et._)`${o}.length`,s=>{this.var(a,(0,et._)`${o}[${s}]`),n(a)})}return this._for(new m8("of",i,a,r),()=>n(a))}forIn(t,r,n,i=this.opts.es5?No.varKinds.var:No.varKinds.const){if(this.opts.ownProperties)return this.forOf(t,(0,et._)`Object.keys(${r})`,n);let a=this._scope.toName(t);return this._for(new m8("in",i,a,r),()=>n(a))}endFor(){return this._endBlockNode(Wp)}label(t){return this._leafNode(new DN(t))}break(t){return this._leafNode(new LN(t))}return(t){let r=new bb;if(this._blockNode(r),this.code(t),r.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(bb)}try(t,r,n){if(!r&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let i=new RN;if(this._blockNode(i),this.code(t),r){let a=this.name("e");this._currNode=i.catch=new vb(a),r(a)}return n&&(this._currNode=i.finally=new _b,this.code(n)),this._endBlockNode(vb,_b)}throw(t){return this._leafNode(new kN(t))}block(t,r){return this._blockStarts.push(this._nodes.length),t&&this.code(t).endBlock(r),this}endBlock(t){let r=this._blockStarts.pop();if(r===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-r;if(n<0||t!==void 0&&n!==t)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${t} expected`);return this._nodes.length=r,this}func(t,r=et.nil,n,i){return this._blockNode(new yb(t,r,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(yb)}optimize(t=1){for(;t-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(t){return this._currNode.nodes.push(t),this}_blockNode(t){this._currNode.nodes.push(t),this._nodes.push(t)}_endBlockNode(t,r){let n=this._currNode;if(n instanceof t||r&&n instanceof r)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${r?`${t.kind}/${r.kind}`:t.kind}"`)}_elseNode(t){let r=this._currNode;if(!(r instanceof Vp))throw new Error('CodeGen: "else" without "if"');return this._currNode=r.else=t,this}get _root(){return this._nodes[0]}get _currNode(){let t=this._nodes;return t[t.length-1]}set _currNode(t){let r=this._nodes;r[r.length-1]=t}};Ue.CodeGen=FN;function Zp(e,t){for(let r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function h8(e,t){return t instanceof et._CodeOrName?Zp(e,t.names):e}function qh(e,t,r){if(e instanceof et.Name)return n(e);if(!i(e))return e;return new et._Code(e._items.reduce((a,o)=>(o instanceof et.Name&&(o=n(o)),o instanceof et._Code?a.push(...o._items):a.push(o),a),[]));function n(a){let o=r[a.str];return o===void 0||t[a.str]!==1?a:(delete t[a.str],o)}function i(a){return a instanceof et._Code&&a._items.some(o=>o instanceof et.Name&&t[o.str]===1&&r[o.str]!==void 0)}}function Cpt(e,t){for(let r in t)e[r]=(e[r]||0)-(t[r]||0)}function ome(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,et._)`!${$N(e)}`}Ue.not=ome;var Tpt=sme(Ue.operators.AND);function Ipt(...e){return e.reduce(Tpt)}Ue.and=Ipt;var Apt=sme(Ue.operators.OR);function Dpt(...e){return e.reduce(Apt)}Ue.or=Dpt;function sme(e){return(t,r)=>t===et.nil?r:r===et.nil?t:(0,et._)`${$N(t)} ${e} ${$N(r)}`}function $N(e){return e instanceof et.Name?e:(0,et._)`(${e})`}});var it=h(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.checkStrictMode=Ve.getErrorPath=Ve.Type=Ve.useFunc=Ve.setEvaluated=Ve.evaluatedPropsToName=Ve.mergeEvaluated=Ve.eachItem=Ve.unescapeJsonPointer=Ve.escapeJsonPointer=Ve.escapeFragment=Ve.unescapeFragment=Ve.schemaRefOrVal=Ve.schemaHasRulesButRef=Ve.schemaHasRules=Ve.checkUnknownRules=Ve.alwaysValidSchema=Ve.toHash=void 0;var Tt=Be(),Lpt=hb();function kpt(e){let t={};for(let r of e)t[r]=!0;return t}Ve.toHash=kpt;function Npt(e,t){return typeof t=="boolean"?t:Object.keys(t).length===0?!0:(ume(e,t),!dme(t,e.self.RULES.all))}Ve.alwaysValidSchema=Npt;function ume(e,t=e.schema){let{opts:r,self:n}=e;if(!r.strictSchema||typeof t=="boolean")return;let i=n.RULES.keywords;for(let a in t)i[a]||mme(e,`unknown keyword: "${a}"`)}Ve.checkUnknownRules=ume;function dme(e,t){if(typeof e=="boolean")return!e;for(let r in e)if(t[r])return!0;return!1}Ve.schemaHasRules=dme;function jpt(e,t){if(typeof e=="boolean")return!e;for(let r in e)if(r!=="$ref"&&t.all[r])return!0;return!1}Ve.schemaHasRulesButRef=jpt;function Ppt({topSchemaRef:e,schemaPath:t},r,n,i){if(!i){if(typeof r=="number"||typeof r=="boolean")return r;if(typeof r=="string")return(0,Tt._)`${r}`}return(0,Tt._)`${e}${t}${(0,Tt.getProperty)(n)}`}Ve.schemaRefOrVal=Ppt;function Mpt(e){return pme(decodeURIComponent(e))}Ve.unescapeFragment=Mpt;function Rpt(e){return encodeURIComponent(zN(e))}Ve.escapeFragment=Rpt;function zN(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}Ve.escapeJsonPointer=zN;function pme(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}Ve.unescapeJsonPointer=pme;function Fpt(e,t){if(Array.isArray(e))for(let r of e)t(r);else t(e)}Ve.eachItem=Fpt;function lme({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(i,a,o,s)=>{let l=o===void 0?a:o instanceof Tt.Name?(a instanceof Tt.Name?e(i,a,o):t(i,a,o),o):a instanceof Tt.Name?(t(i,o,a),a):r(a,o);return s===Tt.Name&&!(l instanceof Tt.Name)?n(i,l):l}}Ve.mergeEvaluated={props:lme({mergeNames:(e,t,r)=>e.if((0,Tt._)`${r} !== true && ${t} !== undefined`,()=>{e.if((0,Tt._)`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,(0,Tt._)`${r} || {}`).code((0,Tt._)`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if((0,Tt._)`${r} !== true`,()=>{t===!0?e.assign(r,!0):(e.assign(r,(0,Tt._)`${r} || {}`),qN(e,r,t))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:fme}),items:lme({mergeNames:(e,t,r)=>e.if((0,Tt._)`${r} !== true && ${t} !== undefined`,()=>e.assign(r,(0,Tt._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if((0,Tt._)`${r} !== true`,()=>e.assign(r,t===!0?!0:(0,Tt._)`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})};function fme(e,t){if(t===!0)return e.var("props",!0);let r=e.var("props",(0,Tt._)`{}`);return t!==void 0&&qN(e,r,t),r}Ve.evaluatedPropsToName=fme;function qN(e,t,r){Object.keys(r).forEach(n=>e.assign((0,Tt._)`${t}${(0,Tt.getProperty)(n)}`,!0))}Ve.setEvaluated=qN;var cme={};function $pt(e,t){return e.scopeValue("func",{ref:t,code:cme[t.code]||(cme[t.code]=new Lpt._Code(t.code))})}Ve.useFunc=$pt;var UN;(function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"})(UN||(Ve.Type=UN={}));function Upt(e,t,r){if(e instanceof Tt.Name){let n=t===UN.Num;return r?n?(0,Tt._)`"[" + ${e} + "]"`:(0,Tt._)`"['" + ${e} + "']"`:n?(0,Tt._)`"/" + ${e}`:(0,Tt._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,Tt.getProperty)(e).toString():"/"+zN(e)}Ve.getErrorPath=Upt;function mme(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,r===!0)throw new Error(t);e.self.logger.warn(t)}}Ve.checkStrictMode=mme});var Cc=h(BN=>{"use strict";Object.defineProperty(BN,"__esModule",{value:!0});var Nn=Be(),zpt={data:new Nn.Name("data"),valCxt:new Nn.Name("valCxt"),instancePath:new Nn.Name("instancePath"),parentData:new Nn.Name("parentData"),parentDataProperty:new Nn.Name("parentDataProperty"),rootData:new Nn.Name("rootData"),dynamicAnchors:new Nn.Name("dynamicAnchors"),vErrors:new Nn.Name("vErrors"),errors:new Nn.Name("errors"),this:new Nn.Name("this"),self:new Nn.Name("self"),scope:new Nn.Name("scope"),json:new Nn.Name("json"),jsonPos:new Nn.Name("jsonPos"),jsonLen:new Nn.Name("jsonLen"),jsonPart:new Nn.Name("jsonPart")};BN.default=zpt});var wb=h(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.extendErrors=jn.resetErrorsCount=jn.reportExtraError=jn.reportError=jn.keyword$DataError=jn.keywordError=void 0;var at=Be(),y8=it(),ei=Cc();jn.keywordError={message:({keyword:e})=>(0,at.str)`must pass "${e}" keyword validation`};jn.keyword$DataError={message:({keyword:e,schemaType:t})=>t?(0,at.str)`"${e}" keyword must be ${t} ($data)`:(0,at.str)`"${e}" keyword is invalid ($data)`};function qpt(e,t=jn.keywordError,r,n){let{it:i}=e,{gen:a,compositeRule:o,allErrors:s}=i,l=yme(e,t,r);n??(o||s)?hme(a,l):gme(i,(0,at._)`[${l}]`)}jn.reportError=qpt;function Bpt(e,t=jn.keywordError,r){let{it:n}=e,{gen:i,compositeRule:a,allErrors:o}=n,s=yme(e,t,r);hme(i,s),a||o||gme(n,ei.default.vErrors)}jn.reportExtraError=Bpt;function Vpt(e,t){e.assign(ei.default.errors,t),e.if((0,at._)`${ei.default.vErrors} !== null`,()=>e.if(t,()=>e.assign((0,at._)`${ei.default.vErrors}.length`,t),()=>e.assign(ei.default.vErrors,null)))}jn.resetErrorsCount=Vpt;function Wpt({gen:e,keyword:t,schemaValue:r,data:n,errsCount:i,it:a}){if(i===void 0)throw new Error("ajv implementation error");let o=e.name("err");e.forRange("i",i,ei.default.errors,s=>{e.const(o,(0,at._)`${ei.default.vErrors}[${s}]`),e.if((0,at._)`${o}.instancePath === undefined`,()=>e.assign((0,at._)`${o}.instancePath`,(0,at.strConcat)(ei.default.instancePath,a.errorPath))),e.assign((0,at._)`${o}.schemaPath`,(0,at.str)`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign((0,at._)`${o}.schema`,r),e.assign((0,at._)`${o}.data`,n))})}jn.extendErrors=Wpt;function hme(e,t){let r=e.const("err",t);e.if((0,at._)`${ei.default.vErrors} === null`,()=>e.assign(ei.default.vErrors,(0,at._)`[${r}]`),(0,at._)`${ei.default.vErrors}.push(${r})`),e.code((0,at._)`${ei.default.errors}++`)}function gme(e,t){let{gen:r,validateName:n,schemaEnv:i}=e;i.$async?r.throw((0,at._)`new ${e.ValidationError}(${t})`):(r.assign((0,at._)`${n}.errors`,t),r.return(!1))}var Hp={keyword:new at.Name("keyword"),schemaPath:new at.Name("schemaPath"),params:new at.Name("params"),propertyName:new at.Name("propertyName"),message:new at.Name("message"),schema:new at.Name("schema"),parentSchema:new at.Name("parentSchema")};function yme(e,t,r){let{createErrors:n}=e.it;return n===!1?(0,at._)`{}`:Zpt(e,t,r)}function Zpt(e,t,r={}){let{gen:n,it:i}=e,a=[Hpt(i,r),Gpt(e,r)];return Jpt(e,t,a),n.object(...a)}function Hpt({errorPath:e},{instancePath:t}){let r=t?(0,at.str)`${e}${(0,y8.getErrorPath)(t,y8.Type.Str)}`:e;return[ei.default.instancePath,(0,at.strConcat)(ei.default.instancePath,r)]}function Gpt({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:n}){let i=n?t:(0,at.str)`${t}/${e}`;return r&&(i=(0,at.str)`${i}${(0,y8.getErrorPath)(r,y8.Type.Str)}`),[Hp.schemaPath,i]}function Jpt(e,{params:t,message:r},n){let{keyword:i,data:a,schemaValue:o,it:s}=e,{opts:l,propertyName:c,topSchemaRef:u,schemaPath:d}=s;n.push([Hp.keyword,i],[Hp.params,typeof t=="function"?t(e):t||(0,at._)`{}`]),l.messages&&n.push([Hp.message,typeof r=="function"?r(e):r]),l.verbose&&n.push([Hp.schema,o],[Hp.parentSchema,(0,at._)`${u}${d}`],[ei.default.data,a]),c&&n.push([Hp.propertyName,c])}});var vme=h(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.boolOrEmptySchema=Bh.topBoolOrEmptySchema=void 0;var Kpt=wb(),Xpt=Be(),Ypt=Cc(),Qpt={message:"boolean schema is false"};function eft(e){let{gen:t,schema:r,validateName:n}=e;r===!1?bme(e,!1):typeof r=="object"&&r.$async===!0?t.return(Ypt.default.data):(t.assign((0,Xpt._)`${n}.errors`,null),t.return(!0))}Bh.topBoolOrEmptySchema=eft;function tft(e,t){let{gen:r,schema:n}=e;n===!1?(r.var(t,!1),bme(e)):r.var(t,!0)}Bh.boolOrEmptySchema=tft;function bme(e,t){let{gen:r,data:n}=e,i={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,Kpt.reportError)(i,Qpt,void 0,t)}});var VN=h(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.getRules=Vh.isJSONType=void 0;var rft=["string","number","integer","boolean","null","object","array"],nft=new Set(rft);function ift(e){return typeof e=="string"&&nft.has(e)}Vh.isJSONType=ift;function aft(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Vh.getRules=aft});var WN=h(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.shouldUseRule=td.shouldUseGroup=td.schemaHasRulesForType=void 0;function oft({schema:e,self:t},r){let n=t.RULES.types[r];return n&&n!==!0&&_me(e,n)}td.schemaHasRulesForType=oft;function _me(e,t){return t.rules.some(r=>wme(e,r))}td.shouldUseGroup=_me;function wme(e,t){var r;return e[t.keyword]!==void 0||((r=t.definition.implements)===null||r===void 0?void 0:r.some(n=>e[n]!==void 0))}td.shouldUseRule=wme});var Sb=h(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.reportTypeError=Pn.checkDataTypes=Pn.checkDataType=Pn.coerceAndCheckDataType=Pn.getJSONTypes=Pn.getSchemaTypes=Pn.DataType=void 0;var sft=VN(),lft=WN(),cft=wb(),Pe=Be(),Sme=it(),Wh;(function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"})(Wh||(Pn.DataType=Wh={}));function uft(e){let t=Eme(e.type);if(t.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&t.push("null")}return t}Pn.getSchemaTypes=uft;function Eme(e){let t=Array.isArray(e)?e:e?[e]:[];if(t.every(sft.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}Pn.getJSONTypes=Eme;function dft(e,t){let{gen:r,data:n,opts:i}=e,a=pft(t,i.coerceTypes),o=t.length>0&&!(a.length===0&&t.length===1&&(0,lft.schemaHasRulesForType)(e,t[0]));if(o){let s=HN(t,n,i.strictNumbers,Wh.Wrong);r.if(s,()=>{a.length?fft(e,t,a):GN(e)})}return o}Pn.coerceAndCheckDataType=dft;var xme=new Set(["string","number","integer","boolean","null"]);function pft(e,t){return t?e.filter(r=>xme.has(r)||t==="array"&&r==="array"):[]}function fft(e,t,r){let{gen:n,data:i,opts:a}=e,o=n.let("dataType",(0,Pe._)`typeof ${i}`),s=n.let("coerced",(0,Pe._)`undefined`);a.coerceTypes==="array"&&n.if((0,Pe._)`${o} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,()=>n.assign(i,(0,Pe._)`${i}[0]`).assign(o,(0,Pe._)`typeof ${i}`).if(HN(t,i,a.strictNumbers),()=>n.assign(s,i))),n.if((0,Pe._)`${s} !== undefined`);for(let c of r)(xme.has(c)||c==="array"&&a.coerceTypes==="array")&&l(c);n.else(),GN(e),n.endIf(),n.if((0,Pe._)`${s} !== undefined`,()=>{n.assign(i,s),mft(e,s)});function l(c){switch(c){case"string":n.elseIf((0,Pe._)`${o} == "number" || ${o} == "boolean"`).assign(s,(0,Pe._)`"" + ${i}`).elseIf((0,Pe._)`${i} === null`).assign(s,(0,Pe._)`""`);return;case"number":n.elseIf((0,Pe._)`${o} == "boolean" || ${i} === null
|
||
|| (${o} == "string" && ${i} && ${i} == +${i})`).assign(s,(0,Pe._)`+${i}`);return;case"integer":n.elseIf((0,Pe._)`${o} === "boolean" || ${i} === null
|
||
|| (${o} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(s,(0,Pe._)`+${i}`);return;case"boolean":n.elseIf((0,Pe._)`${i} === "false" || ${i} === 0 || ${i} === null`).assign(s,!1).elseIf((0,Pe._)`${i} === "true" || ${i} === 1`).assign(s,!0);return;case"null":n.elseIf((0,Pe._)`${i} === "" || ${i} === 0 || ${i} === false`),n.assign(s,null);return;case"array":n.elseIf((0,Pe._)`${o} === "string" || ${o} === "number"
|
||
|| ${o} === "boolean" || ${i} === null`).assign(s,(0,Pe._)`[${i}]`)}}}function mft({gen:e,parentData:t,parentDataProperty:r},n){e.if((0,Pe._)`${t} !== undefined`,()=>e.assign((0,Pe._)`${t}[${r}]`,n))}function ZN(e,t,r,n=Wh.Correct){let i=n===Wh.Correct?Pe.operators.EQ:Pe.operators.NEQ,a;switch(e){case"null":return(0,Pe._)`${t} ${i} null`;case"array":a=(0,Pe._)`Array.isArray(${t})`;break;case"object":a=(0,Pe._)`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=o((0,Pe._)`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=o();break;default:return(0,Pe._)`typeof ${t} ${i} ${e}`}return n===Wh.Correct?a:(0,Pe.not)(a);function o(s=Pe.nil){return(0,Pe.and)((0,Pe._)`typeof ${t} == "number"`,s,r?(0,Pe._)`isFinite(${t})`:Pe.nil)}}Pn.checkDataType=ZN;function HN(e,t,r,n){if(e.length===1)return ZN(e[0],t,r,n);let i,a=(0,Sme.toHash)(e);if(a.array&&a.object){let o=(0,Pe._)`typeof ${t} != "object"`;i=a.null?o:(0,Pe._)`!${t} || ${o}`,delete a.null,delete a.array,delete a.object}else i=Pe.nil;a.number&&delete a.integer;for(let o in a)i=(0,Pe.and)(i,ZN(o,t,r,n));return i}Pn.checkDataTypes=HN;var hft={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>typeof e=="string"?(0,Pe._)`{type: ${e}}`:(0,Pe._)`{type: ${t}}`};function GN(e){let t=gft(e);(0,cft.reportError)(t,hft)}Pn.reportTypeError=GN;function gft(e){let{gen:t,data:r,schema:n}=e,i=(0,Sme.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}});var Cme=h(b8=>{"use strict";Object.defineProperty(b8,"__esModule",{value:!0});b8.assignDefaults=void 0;var Zh=Be(),yft=it();function bft(e,t){let{properties:r,items:n}=e.schema;if(t==="object"&&r)for(let i in r)Ome(e,i,r[i].default);else t==="array"&&Array.isArray(n)&&n.forEach((i,a)=>Ome(e,a,i.default))}b8.assignDefaults=bft;function Ome(e,t,r){let{gen:n,compositeRule:i,data:a,opts:o}=e;if(r===void 0)return;let s=(0,Zh._)`${a}${(0,Zh.getProperty)(t)}`;if(i){(0,yft.checkStrictMode)(e,`default is ignored for: ${s}`);return}let l=(0,Zh._)`${s} === undefined`;o.useDefaults==="empty"&&(l=(0,Zh._)`${l} || ${s} === null || ${s} === ""`),n.if(l,(0,Zh._)`${s} = ${(0,Zh.stringify)(r)}`)}});var Za=h(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.validateUnion=St.validateArray=St.usePattern=St.callValidateCode=St.schemaProperties=St.allSchemaProperties=St.noPropertyInData=St.propertyInData=St.isOwnProperty=St.hasPropFunc=St.reportMissingProp=St.checkMissingProp=St.checkReportMissingProp=void 0;var Ft=Be(),JN=it(),rd=Cc(),vft=it();function _ft(e,t){let{gen:r,data:n,it:i}=e;r.if(XN(r,n,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:(0,Ft._)`${t}`},!0),e.error()})}St.checkReportMissingProp=_ft;function wft({gen:e,data:t,it:{opts:r}},n,i){return(0,Ft.or)(...n.map(a=>(0,Ft.and)(XN(e,t,a,r.ownProperties),(0,Ft._)`${i} = ${a}`)))}St.checkMissingProp=wft;function Sft(e,t){e.setParams({missingProperty:t},!0),e.error()}St.reportMissingProp=Sft;function Tme(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Ft._)`Object.prototype.hasOwnProperty`})}St.hasPropFunc=Tme;function KN(e,t,r){return(0,Ft._)`${Tme(e)}.call(${t}, ${r})`}St.isOwnProperty=KN;function Eft(e,t,r,n){let i=(0,Ft._)`${t}${(0,Ft.getProperty)(r)} !== undefined`;return n?(0,Ft._)`${i} && ${KN(e,t,r)}`:i}St.propertyInData=Eft;function XN(e,t,r,n){let i=(0,Ft._)`${t}${(0,Ft.getProperty)(r)} === undefined`;return n?(0,Ft.or)(i,(0,Ft.not)(KN(e,t,r))):i}St.noPropertyInData=XN;function Ime(e){return e?Object.keys(e).filter(t=>t!=="__proto__"):[]}St.allSchemaProperties=Ime;function xft(e,t){return Ime(t).filter(r=>!(0,JN.alwaysValidSchema)(e,t[r]))}St.schemaProperties=xft;function Oft({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:i,errorPath:a},it:o},s,l,c){let u=c?(0,Ft._)`${e}, ${t}, ${n}${i}`:t,d=[[rd.default.instancePath,(0,Ft.strConcat)(rd.default.instancePath,a)],[rd.default.parentData,o.parentData],[rd.default.parentDataProperty,o.parentDataProperty],[rd.default.rootData,rd.default.rootData]];o.opts.dynamicRef&&d.push([rd.default.dynamicAnchors,rd.default.dynamicAnchors]);let f=(0,Ft._)`${u}, ${r.object(...d)}`;return l!==Ft.nil?(0,Ft._)`${s}.call(${l}, ${f})`:(0,Ft._)`${s}(${f})`}St.callValidateCode=Oft;var Cft=(0,Ft._)`new RegExp`;function Tft({gen:e,it:{opts:t}},r){let n=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(r,n);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:(0,Ft._)`${i.code==="new RegExp"?Cft:(0,vft.useFunc)(e,i)}(${r}, ${n})`})}St.usePattern=Tft;function Ift(e){let{gen:t,data:r,keyword:n,it:i}=e,a=t.name("valid");if(i.allErrors){let s=t.let("valid",!0);return o(()=>t.assign(s,!1)),s}return t.var(a,!0),o(()=>t.break()),a;function o(s){let l=t.const("len",(0,Ft._)`${r}.length`);t.forRange("i",0,l,c=>{e.subschema({keyword:n,dataProp:c,dataPropType:JN.Type.Num},a),t.if((0,Ft.not)(a),s)})}}St.validateArray=Ift;function Aft(e){let{gen:t,schema:r,keyword:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(l=>(0,JN.alwaysValidSchema)(i,l))&&!i.opts.unevaluated)return;let o=t.let("valid",!1),s=t.name("_valid");t.block(()=>r.forEach((l,c)=>{let u=e.subschema({keyword:n,schemaProp:c,compositeRule:!0},s);t.assign(o,(0,Ft._)`${o} || ${s}`),e.mergeValidEvaluated(u,s)||t.if((0,Ft.not)(o))})),e.result(o,()=>e.reset(),()=>e.error(!0))}St.validateUnion=Aft});var Lme=h(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.validateKeywordUsage=_l.validSchemaType=_l.funcKeywordCode=_l.macroKeywordCode=void 0;var ti=Be(),Gp=Cc(),Dft=Za(),Lft=wb();function kft(e,t){let{gen:r,keyword:n,schema:i,parentSchema:a,it:o}=e,s=t.macro.call(o.self,i,a,o),l=Dme(r,n,s);o.opts.validateSchema!==!1&&o.self.validateSchema(s,!0);let c=r.name("valid");e.subschema({schema:s,schemaPath:ti.nil,errSchemaPath:`${o.errSchemaPath}/${n}`,topSchemaRef:l,compositeRule:!0},c),e.pass(c,()=>e.error(!0))}_l.macroKeywordCode=kft;function Nft(e,t){var r;let{gen:n,keyword:i,schema:a,parentSchema:o,$data:s,it:l}=e;Pft(l,t);let c=!s&&t.compile?t.compile.call(l.self,a,o,l):t.validate,u=Dme(n,i,c),d=n.let("valid");e.block$data(d,f),e.ok((r=t.valid)!==null&&r!==void 0?r:d);function f(){if(t.errors===!1)y(),t.modifying&&Ame(e),v(()=>e.error());else{let S=t.async?p():m();t.modifying&&Ame(e),v(()=>jft(e,S))}}function p(){let S=n.let("ruleErrs",null);return n.try(()=>y((0,ti._)`await `),E=>n.assign(d,!1).if((0,ti._)`${E} instanceof ${l.ValidationError}`,()=>n.assign(S,(0,ti._)`${E}.errors`),()=>n.throw(E))),S}function m(){let S=(0,ti._)`${u}.errors`;return n.assign(S,null),y(ti.nil),S}function y(S=t.async?(0,ti._)`await `:ti.nil){let E=l.opts.passContext?Gp.default.this:Gp.default.self,w=!("compile"in t&&!s||t.schema===!1);n.assign(d,(0,ti._)`${S}${(0,Dft.callValidateCode)(e,u,E,w)}`,t.modifying)}function v(S){var E;n.if((0,ti.not)((E=t.valid)!==null&&E!==void 0?E:d),S)}}_l.funcKeywordCode=Nft;function Ame(e){let{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,(0,ti._)`${n.parentData}[${n.parentDataProperty}]`))}function jft(e,t){let{gen:r}=e;r.if((0,ti._)`Array.isArray(${t})`,()=>{r.assign(Gp.default.vErrors,(0,ti._)`${Gp.default.vErrors} === null ? ${t} : ${Gp.default.vErrors}.concat(${t})`).assign(Gp.default.errors,(0,ti._)`${Gp.default.vErrors}.length`),(0,Lft.extendErrors)(e)},()=>e.error())}function Pft({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}function Dme(e,t,r){if(r===void 0)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword",typeof r=="function"?{ref:r}:{ref:r,code:(0,ti.stringify)(r)})}function Mft(e,t,r=!1){return!t.length||t.some(n=>n==="array"?Array.isArray(e):n==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==n||r&&typeof e>"u")}_l.validSchemaType=Mft;function Rft({schema:e,opts:t,self:r,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");let o=i.dependencies;if(o?.some(s=>!Object.prototype.hasOwnProperty.call(e,s)))throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[a])){let l=`keyword "${a}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if(t.validateSchema==="log")r.logger.error(l);else throw new Error(l)}}_l.validateKeywordUsage=Rft});var Nme=h(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.extendSubschemaMode=nd.extendSubschemaData=nd.getSubschema=void 0;var wl=Be(),kme=it();function Fft(e,{keyword:t,schemaProp:r,schema:n,schemaPath:i,errSchemaPath:a,topSchemaRef:o}){if(t!==void 0&&n!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(t!==void 0){let s=e.schema[t];return r===void 0?{schema:s,schemaPath:(0,wl._)`${e.schemaPath}${(0,wl.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:(0,wl._)`${e.schemaPath}${(0,wl.getProperty)(t)}${(0,wl.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,kme.escapeFragment)(r)}`}}if(n!==void 0){if(i===void 0||a===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:n,schemaPath:i,topSchemaRef:o,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}nd.getSubschema=Fft;function $ft(e,t,{dataProp:r,dataPropType:n,data:i,dataTypes:a,propertyName:o}){if(i!==void 0&&r!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');let{gen:s}=t;if(r!==void 0){let{errorPath:c,dataPathArr:u,opts:d}=t,f=s.let("data",(0,wl._)`${t.data}${(0,wl.getProperty)(r)}`,!0);l(f),e.errorPath=(0,wl.str)`${c}${(0,kme.getErrorPath)(r,n,d.jsPropertySyntax)}`,e.parentDataProperty=(0,wl._)`${r}`,e.dataPathArr=[...u,e.parentDataProperty]}if(i!==void 0){let c=i instanceof wl.Name?i:s.let("data",i,!0);l(c),o!==void 0&&(e.propertyName=o)}a&&(e.dataTypes=a);function l(c){e.data=c,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,c]}}nd.extendSubschemaData=$ft;function Uft(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:a}){n!==void 0&&(e.compositeRule=n),i!==void 0&&(e.createErrors=i),a!==void 0&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=r}nd.extendSubschemaMode=Uft});var YN=h((z9t,jme)=>{"use strict";jme.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(a=Object.keys(t),n=a.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;i--!==0;){var o=a[i];if(!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r}});var Mme=h((q9t,Pme)=>{"use strict";var id=Pme.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},i=r.post||function(){};v8(t,n,i,e,"",e)};id.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};id.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};id.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};id.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 v8(e,t,r,n,i,a,o,s,l,c){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,a,o,s,l,c);for(var u in n){var d=n[u];if(Array.isArray(d)){if(u in id.arrayKeywords)for(var f=0;f<d.length;f++)v8(e,t,r,d[f],i+"/"+u+"/"+f,a,i,u,n,f)}else if(u in id.propsKeywords){if(d&&typeof d=="object")for(var p in d)v8(e,t,r,d[p],i+"/"+u+"/"+zft(p),a,i,u,n,p)}else(u in id.keywords||e.allKeys&&!(u in id.skipKeywords))&&v8(e,t,r,d,i+"/"+u,a,i,u,n)}r(n,i,a,o,s,l,c)}}function zft(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}});var Eb=h(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.getSchemaRefs=Si.resolveUrl=Si.normalizeId=Si._getFullPath=Si.getFullPath=Si.inlineRef=void 0;var qft=it(),Bft=YN(),Vft=Mme(),Wft=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Zft(e,t=!0){return typeof e=="boolean"?!0:t===!0?!QN(e):t?Rme(e)<=t:!1}Si.inlineRef=Zft;var Hft=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function QN(e){for(let t in e){if(Hft.has(t))return!0;let r=e[t];if(Array.isArray(r)&&r.some(QN)||typeof r=="object"&&QN(r))return!0}return!1}function Rme(e){let t=0;for(let r in e){if(r==="$ref")return 1/0;if(t++,!Wft.has(r)&&(typeof e[r]=="object"&&(0,qft.eachItem)(e[r],n=>t+=Rme(n)),t===1/0))return 1/0}return t}function Fme(e,t="",r){r!==!1&&(t=Hh(t));let n=e.parse(t);return $me(e,n)}Si.getFullPath=Fme;function $me(e,t){return e.serialize(t).split("#")[0]+"#"}Si._getFullPath=$me;var Gft=/#\/?$/;function Hh(e){return e?e.replace(Gft,""):""}Si.normalizeId=Hh;function Jft(e,t,r){return r=Hh(r),e.resolve(t,r)}Si.resolveUrl=Jft;var Kft=/^[a-z_][-a-z0-9._]*$/i;function Xft(e,t){if(typeof e=="boolean")return{};let{schemaId:r,uriResolver:n}=this.opts,i=Hh(e[r]||t),a={"":i},o=Fme(n,i,!1),s={},l=new Set;return Vft(e,{allKeys:!0},(d,f,p,m)=>{if(m===void 0)return;let y=o+f,v=a[m];typeof d[r]=="string"&&(v=S.call(this,d[r])),E.call(this,d.$anchor),E.call(this,d.$dynamicAnchor),a[f]=v;function S(w){let _=this.opts.uriResolver.resolve;if(w=Hh(v?_(v,w):w),l.has(w))throw u(w);l.add(w);let b=this.refs[w];return typeof b=="string"&&(b=this.refs[b]),typeof b=="object"?c(d,b.schema,w):w!==Hh(y)&&(w[0]==="#"?(c(d,s[w],w),s[w]=d):this.refs[w]=y),w}function E(w){if(typeof w=="string"){if(!Kft.test(w))throw new Error(`invalid anchor "${w}"`);S.call(this,`#${w}`)}}}),s;function c(d,f,p){if(f!==void 0&&!Bft(d,f))throw u(p)}function u(d){return new Error(`reference "${d}" resolves to more than one schema`)}}Si.getSchemaRefs=Xft});var Cb=h(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.getData=ad.KeywordCxt=ad.validateFunctionCode=void 0;var Vme=vme(),Ume=Sb(),tj=WN(),_8=Sb(),Yft=Cme(),Ob=Lme(),ej=Nme(),Ce=Be(),ke=Cc(),Qft=Eb(),Tc=it(),xb=wb();function emt(e){if(Hme(e)&&(Gme(e),Zme(e))){nmt(e);return}Wme(e,()=>(0,Vme.topBoolOrEmptySchema)(e))}ad.validateFunctionCode=emt;function Wme({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},a){i.code.es5?e.func(t,(0,Ce._)`${ke.default.data}, ${ke.default.valCxt}`,n.$async,()=>{e.code((0,Ce._)`"use strict"; ${zme(r,i)}`),rmt(e,i),e.code(a)}):e.func(t,(0,Ce._)`${ke.default.data}, ${tmt(i)}`,n.$async,()=>e.code(zme(r,i)).code(a))}function tmt(e){return(0,Ce._)`{${ke.default.instancePath}="", ${ke.default.parentData}, ${ke.default.parentDataProperty}, ${ke.default.rootData}=${ke.default.data}${e.dynamicRef?(0,Ce._)`, ${ke.default.dynamicAnchors}={}`:Ce.nil}}={}`}function rmt(e,t){e.if(ke.default.valCxt,()=>{e.var(ke.default.instancePath,(0,Ce._)`${ke.default.valCxt}.${ke.default.instancePath}`),e.var(ke.default.parentData,(0,Ce._)`${ke.default.valCxt}.${ke.default.parentData}`),e.var(ke.default.parentDataProperty,(0,Ce._)`${ke.default.valCxt}.${ke.default.parentDataProperty}`),e.var(ke.default.rootData,(0,Ce._)`${ke.default.valCxt}.${ke.default.rootData}`),t.dynamicRef&&e.var(ke.default.dynamicAnchors,(0,Ce._)`${ke.default.valCxt}.${ke.default.dynamicAnchors}`)},()=>{e.var(ke.default.instancePath,(0,Ce._)`""`),e.var(ke.default.parentData,(0,Ce._)`undefined`),e.var(ke.default.parentDataProperty,(0,Ce._)`undefined`),e.var(ke.default.rootData,ke.default.data),t.dynamicRef&&e.var(ke.default.dynamicAnchors,(0,Ce._)`{}`)})}function nmt(e){let{schema:t,opts:r,gen:n}=e;Wme(e,()=>{r.$comment&&t.$comment&&Kme(e),lmt(e),n.let(ke.default.vErrors,null),n.let(ke.default.errors,0),r.unevaluated&&imt(e),Jme(e),dmt(e)})}function imt(e){let{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",(0,Ce._)`${r}.evaluated`),t.if((0,Ce._)`${e.evaluated}.dynamicProps`,()=>t.assign((0,Ce._)`${e.evaluated}.props`,(0,Ce._)`undefined`)),t.if((0,Ce._)`${e.evaluated}.dynamicItems`,()=>t.assign((0,Ce._)`${e.evaluated}.items`,(0,Ce._)`undefined`))}function zme(e,t){let r=typeof e=="object"&&e[t.schemaId];return r&&(t.code.source||t.code.process)?(0,Ce._)`/*# sourceURL=${r} */`:Ce.nil}function amt(e,t){if(Hme(e)&&(Gme(e),Zme(e))){omt(e,t);return}(0,Vme.boolOrEmptySchema)(e,t)}function Zme({schema:e,self:t}){if(typeof e=="boolean")return!e;for(let r in e)if(t.RULES.all[r])return!0;return!1}function Hme(e){return typeof e.schema!="boolean"}function omt(e,t){let{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&Kme(e),cmt(e),umt(e);let a=n.const("_errs",ke.default.errors);Jme(e,a),n.var(t,(0,Ce._)`${a} === ${ke.default.errors}`)}function Gme(e){(0,Tc.checkUnknownRules)(e),smt(e)}function Jme(e,t){if(e.opts.jtd)return qme(e,[],!1,t);let r=(0,Ume.getSchemaTypes)(e.schema),n=(0,Ume.coerceAndCheckDataType)(e,r);qme(e,r,!n,t)}function smt(e){let{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,Tc.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}function lmt(e){let{schema:t,opts:r}=e;t.default!==void 0&&r.useDefaults&&r.strictSchema&&(0,Tc.checkStrictMode)(e,"default is ignored in the schema root")}function cmt(e){let t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,Qft.resolveUrl)(e.opts.uriResolver,e.baseId,t))}function umt(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function Kme({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){let a=r.$comment;if(i.$comment===!0)e.code((0,Ce._)`${ke.default.self}.logger.log(${a})`);else if(typeof i.$comment=="function"){let o=(0,Ce.str)`${n}/$comment`,s=e.scopeValue("root",{ref:t.root});e.code((0,Ce._)`${ke.default.self}.opts.$comment(${a}, ${o}, ${s}.schema)`)}}function dmt(e){let{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:a}=e;r.$async?t.if((0,Ce._)`${ke.default.errors} === 0`,()=>t.return(ke.default.data),()=>t.throw((0,Ce._)`new ${i}(${ke.default.vErrors})`)):(t.assign((0,Ce._)`${n}.errors`,ke.default.vErrors),a.unevaluated&&pmt(e),t.return((0,Ce._)`${ke.default.errors} === 0`))}function pmt({gen:e,evaluated:t,props:r,items:n}){r instanceof Ce.Name&&e.assign((0,Ce._)`${t}.props`,r),n instanceof Ce.Name&&e.assign((0,Ce._)`${t}.items`,n)}function qme(e,t,r,n){let{gen:i,schema:a,data:o,allErrors:s,opts:l,self:c}=e,{RULES:u}=c;if(a.$ref&&(l.ignoreKeywordsWithRef||!(0,Tc.schemaHasRulesButRef)(a,u))){i.block(()=>Yme(e,"$ref",u.all.$ref.definition));return}l.jtd||fmt(e,t),i.block(()=>{for(let f of u.rules)d(f);d(u.post)});function d(f){(0,tj.shouldUseGroup)(a,f)&&(f.type?(i.if((0,_8.checkDataType)(f.type,o,l.strictNumbers)),Bme(e,f),t.length===1&&t[0]===f.type&&r&&(i.else(),(0,_8.reportTypeError)(e)),i.endIf()):Bme(e,f),s||i.if((0,Ce._)`${ke.default.errors} === ${n||0}`))}}function Bme(e,t){let{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,Yft.assignDefaults)(e,t.type),r.block(()=>{for(let a of t.rules)(0,tj.shouldUseRule)(n,a)&&Yme(e,a.keyword,a.definition,t.type)})}function fmt(e,t){e.schemaEnv.meta||!e.opts.strictTypes||(mmt(e,t),e.opts.allowUnionTypes||hmt(e,t),gmt(e,e.dataTypes))}function mmt(e,t){if(t.length){if(!e.dataTypes.length){e.dataTypes=t;return}t.forEach(r=>{Xme(e.dataTypes,r)||rj(e,`type "${r}" not allowed by context "${e.dataTypes.join(",")}"`)}),bmt(e,t)}}function hmt(e,t){t.length>1&&!(t.length===2&&t.includes("null"))&&rj(e,"use allowUnionTypes to allow union type keyword")}function gmt(e,t){let r=e.self.RULES.all;for(let n in r){let i=r[n];if(typeof i=="object"&&(0,tj.shouldUseRule)(e.schema,i)){let{type:a}=i.definition;a.length&&!a.some(o=>ymt(t,o))&&rj(e,`missing type "${a.join(",")}" for keyword "${n}"`)}}}function ymt(e,t){return e.includes(t)||t==="number"&&e.includes("integer")}function Xme(e,t){return e.includes(t)||t==="integer"&&e.includes("number")}function bmt(e,t){let r=[];for(let n of e.dataTypes)Xme(t,n)?r.push(n):t.includes("integer")&&n==="number"&&r.push("integer");e.dataTypes=r}function rj(e,t){let r=e.schemaEnv.baseId+e.errSchemaPath;t+=` at "${r}" (strictTypes)`,(0,Tc.checkStrictMode)(e,t,e.opts.strictTypes)}var w8=class{constructor(t,r,n){if((0,Ob.validateKeywordUsage)(t,r,n),this.gen=t.gen,this.allErrors=t.allErrors,this.keyword=n,this.data=t.data,this.schema=t.schema[n],this.$data=r.$data&&t.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,Tc.schemaRefOrVal)(t,this.schema,n,this.$data),this.schemaType=r.schemaType,this.parentSchema=t.schema,this.params={},this.it=t,this.def=r,this.$data)this.schemaCode=t.gen.const("vSchema",Qme(this.$data,t));else if(this.schemaCode=this.schemaValue,!(0,Ob.validSchemaType)(this.schema,r.schemaType,r.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(r.schemaType)}`);("code"in r?r.trackErrors:r.errors!==!1)&&(this.errsCount=t.gen.const("_errs",ke.default.errors))}result(t,r,n){this.failResult((0,Ce.not)(t),r,n)}failResult(t,r,n){this.gen.if(t),n?n():this.error(),r?(this.gen.else(),r(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(t,r){this.failResult((0,Ce.not)(t),void 0,r)}fail(t){if(t===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(t),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(t){if(!this.$data)return this.fail(t);let{schemaCode:r}=this;this.fail((0,Ce._)`${r} !== undefined && (${(0,Ce.or)(this.invalid$data(),t)})`)}error(t,r,n){if(r){this.setParams(r),this._error(t,n),this.setParams({});return}this._error(t,n)}_error(t,r){(t?xb.reportExtraError:xb.reportError)(this,this.def.error,r)}$dataError(){(0,xb.reportError)(this,this.def.$dataError||xb.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,xb.resetErrorsCount)(this.gen,this.errsCount)}ok(t){this.allErrors||this.gen.if(t)}setParams(t,r){r?Object.assign(this.params,t):this.params=t}block$data(t,r,n=Ce.nil){this.gen.block(()=>{this.check$data(t,n),r()})}check$data(t=Ce.nil,r=Ce.nil){if(!this.$data)return;let{gen:n,schemaCode:i,schemaType:a,def:o}=this;n.if((0,Ce.or)((0,Ce._)`${i} === undefined`,r)),t!==Ce.nil&&n.assign(t,!0),(a.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),t!==Ce.nil&&n.assign(t,!1)),n.else()}invalid$data(){let{gen:t,schemaCode:r,schemaType:n,def:i,it:a}=this;return(0,Ce.or)(o(),s());function o(){if(n.length){if(!(r instanceof Ce.Name))throw new Error("ajv implementation error");let l=Array.isArray(n)?n:[n];return(0,Ce._)`${(0,_8.checkDataTypes)(l,r,a.opts.strictNumbers,_8.DataType.Wrong)}`}return Ce.nil}function s(){if(i.validateSchema){let l=t.scopeValue("validate$data",{ref:i.validateSchema});return(0,Ce._)`!${l}(${r})`}return Ce.nil}}subschema(t,r){let n=(0,ej.getSubschema)(this.it,t);(0,ej.extendSubschemaData)(n,this.it,t),(0,ej.extendSubschemaMode)(n,t);let i={...this.it,...n,items:void 0,props:void 0};return amt(i,r),i}mergeEvaluated(t,r){let{it:n,gen:i}=this;n.opts.unevaluated&&(n.props!==!0&&t.props!==void 0&&(n.props=Tc.mergeEvaluated.props(i,t.props,n.props,r)),n.items!==!0&&t.items!==void 0&&(n.items=Tc.mergeEvaluated.items(i,t.items,n.items,r)))}mergeValidEvaluated(t,r){let{it:n,gen:i}=this;if(n.opts.unevaluated&&(n.props!==!0||n.items!==!0))return i.if(r,()=>this.mergeEvaluated(t,Ce.Name)),!0}};ad.KeywordCxt=w8;function Yme(e,t,r,n){let i=new w8(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,Ob.funcKeywordCode)(i,r):"macro"in r?(0,Ob.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,Ob.funcKeywordCode)(i,r)}var vmt=/^\/(?:[^~]|~0|~1)*$/,_mt=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Qme(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,a;if(e==="")return ke.default.rootData;if(e[0]==="/"){if(!vmt.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,a=ke.default.rootData}else{let c=_mt.exec(e);if(!c)throw new Error(`Invalid JSON-pointer: ${e}`);let u=+c[1];if(i=c[2],i==="#"){if(u>=t)throw new Error(l("property/index",u));return n[t-u]}if(u>t)throw new Error(l("data",u));if(a=r[t-u],!i)return a}let o=a,s=i.split("/");for(let c of s)c&&(a=(0,Ce._)`${a}${(0,Ce.getProperty)((0,Tc.unescapeJsonPointer)(c))}`,o=(0,Ce._)`${o} && ${a}`);return o;function l(c,u){return`Cannot access ${c} ${u} levels up, current level is ${t}`}}ad.getData=Qme});var S8=h(ij=>{"use strict";Object.defineProperty(ij,"__esModule",{value:!0});var nj=class extends Error{constructor(t){super("validation failed"),this.errors=t,this.ajv=this.validation=!0}};ij.default=nj});var Tb=h(sj=>{"use strict";Object.defineProperty(sj,"__esModule",{value:!0});var aj=Eb(),oj=class extends Error{constructor(t,r,n,i){super(i||`can't resolve reference ${n} from id ${r}`),this.missingRef=(0,aj.resolveUrl)(t,r,n),this.missingSchema=(0,aj.normalizeId)((0,aj.getFullPath)(t,this.missingRef))}};sj.default=oj});var x8=h(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.resolveSchema=Ha.getCompilingSchema=Ha.resolveRef=Ha.compileSchema=Ha.SchemaEnv=void 0;var jo=Be(),wmt=S8(),Jp=Cc(),Po=Eb(),ehe=it(),Smt=Cb(),Gh=class{constructor(t){var r;this.refs={},this.dynamicAnchors={};let n;typeof t.schema=="object"&&(n=t.schema),this.schema=t.schema,this.schemaId=t.schemaId,this.root=t.root||this,this.baseId=(r=t.baseId)!==null&&r!==void 0?r:(0,Po.normalizeId)(n?.[t.schemaId||"$id"]),this.schemaPath=t.schemaPath,this.localRefs=t.localRefs,this.meta=t.meta,this.$async=n?.$async,this.refs={}}};Ha.SchemaEnv=Gh;function cj(e){let t=the.call(this,e);if(t)return t;let r=(0,Po.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:n,lines:i}=this.opts.code,{ownProperties:a}=this.opts,o=new jo.CodeGen(this.scope,{es5:n,lines:i,ownProperties:a}),s;e.$async&&(s=o.scopeValue("Error",{ref:wmt.default,code:(0,jo._)`require("ajv/dist/runtime/validation_error").default`}));let l=o.scopeName("validate");e.validateName=l;let c={gen:o,allErrors:this.opts.allErrors,data:Jp.default.data,parentData:Jp.default.parentData,parentDataProperty:Jp.default.parentDataProperty,dataNames:[Jp.default.data],dataPathArr:[jo.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:o.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,jo.stringify)(e.schema)}:{ref:e.schema}),validateName:l,ValidationError:s,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:jo.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,jo._)`""`,opts:this.opts,self:this},u;try{this._compilations.add(e),(0,Smt.validateFunctionCode)(c),o.optimize(this.opts.code.optimize);let d=o.toString();u=`${o.scopeRefs(Jp.default.scope)}return ${d}`,this.opts.code.process&&(u=this.opts.code.process(u,e));let p=new Function(`${Jp.default.self}`,`${Jp.default.scope}`,u)(this,this.scope.get());if(this.scope.value(l,{ref:p}),p.errors=null,p.schema=e.schema,p.schemaEnv=e,e.$async&&(p.$async=!0),this.opts.code.source===!0&&(p.source={validateName:l,validateCode:d,scopeValues:o._values}),this.opts.unevaluated){let{props:m,items:y}=c;p.evaluated={props:m instanceof jo.Name?void 0:m,items:y instanceof jo.Name?void 0:y,dynamicProps:m instanceof jo.Name,dynamicItems:y instanceof jo.Name},p.source&&(p.source.evaluated=(0,jo.stringify)(p.evaluated))}return e.validate=p,e}catch(d){throw delete e.validate,delete e.validateName,u&&this.logger.error("Error compiling schema, function code:",u),d}finally{this._compilations.delete(e)}}Ha.compileSchema=cj;function Emt(e,t,r){var n;r=(0,Po.resolveUrl)(this.opts.uriResolver,t,r);let i=e.refs[r];if(i)return i;let a=Cmt.call(this,e,r);if(a===void 0){let o=(n=e.localRefs)===null||n===void 0?void 0:n[r],{schemaId:s}=this.opts;o&&(a=new Gh({schema:o,schemaId:s,root:e,baseId:t}))}if(a!==void 0)return e.refs[r]=xmt.call(this,a)}Ha.resolveRef=Emt;function xmt(e){return(0,Po.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:cj.call(this,e)}function the(e){for(let t of this._compilations)if(Omt(t,e))return t}Ha.getCompilingSchema=the;function Omt(e,t){return e.schema===t.schema&&e.root===t.root&&e.baseId===t.baseId}function Cmt(e,t){let r;for(;typeof(r=this.refs[t])=="string";)t=r;return r||this.schemas[t]||E8.call(this,e,t)}function E8(e,t){let r=this.opts.uriResolver.parse(t),n=(0,Po._getFullPath)(this.opts.uriResolver,r),i=(0,Po.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return lj.call(this,r,e);let a=(0,Po.normalizeId)(n),o=this.refs[a]||this.schemas[a];if(typeof o=="string"){let s=E8.call(this,e,o);return typeof s?.schema!="object"?void 0:lj.call(this,r,s)}if(typeof o?.schema=="object"){if(o.validate||cj.call(this,o),a===(0,Po.normalizeId)(t)){let{schema:s}=o,{schemaId:l}=this.opts,c=s[l];return c&&(i=(0,Po.resolveUrl)(this.opts.uriResolver,i,c)),new Gh({schema:s,schemaId:l,root:e,baseId:i})}return lj.call(this,r,o)}}Ha.resolveSchema=E8;var Tmt=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function lj(e,{baseId:t,schema:r,root:n}){var i;if(((i=e.fragment)===null||i===void 0?void 0:i[0])!=="/")return;for(let s of e.fragment.slice(1).split("/")){if(typeof r=="boolean")return;let l=r[(0,ehe.unescapeFragment)(s)];if(l===void 0)return;r=l;let c=typeof r=="object"&&r[this.opts.schemaId];!Tmt.has(s)&&c&&(t=(0,Po.resolveUrl)(this.opts.uriResolver,t,c))}let a;if(typeof r!="boolean"&&r.$ref&&!(0,ehe.schemaHasRulesButRef)(r,this.RULES)){let s=(0,Po.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=E8.call(this,n,s)}let{schemaId:o}=this.opts;if(a=a||new Gh({schema:r,schemaId:o,root:n,baseId:t}),a.schema!==a.root.schema)return a}});var rhe=h((G9t,Imt)=>{Imt.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 pj=h((J9t,lhe)=>{"use strict";var Amt=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),ihe=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),uj=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),ahe=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),Dmt=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function dj(e){let t="",r=0,n=0;for(n=0;n<e.length;n++)if(r=e[n].charCodeAt(0),r!==48){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n];break}for(n+=1;n<e.length;n++){if(r=e[n].charCodeAt(0),!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[n]}return t}var Lmt=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function nhe(e){return e.length=0,!0}function kmt(e,t,r){if(e.length){let n=dj(e);if(n!=="")t.push(n);else return r.error=!0,!1;e.length=0}return!0}function Nmt(e){let t=0,r={error:!1,address:"",zone:""},n=[],i=[],a=!1,o=!1,s=kmt;for(let l=0;l<e.length;l++){let c=e[l];if(!(c==="["||c==="]"))if(c===":"){if(a===!0&&(o=!0),!s(i,n,r))break;if(++t>7){r.error=!0;break}l>0&&e[l-1]===":"&&(a=!0),n.push(":");continue}else if(c==="%"){if(!s(i,n,r))break;s=nhe}else{i.push(c);continue}}return i.length&&(s===nhe?r.zone=i.join(""):o?n.push(i.join("")):n.push(dj(i))),r.address=n.join(""),r}function ohe(e){if(jmt(e,":")<2)return{host:e,isIPV6:!1};let t=Nmt(e);if(t.error)return{host:e,isIPV6:!1};{let r=t.address,n=t.address;return t.zone&&(r+="%"+t.zone,n+="%25"+t.zone),{host:r,isIPV6:!0,escapedHost:n}}}function jmt(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}function Pmt(e){let t=e,r=[],n=-1,i=0;for(;i=t.length;){if(i===1){if(t===".")break;if(t==="/"){r.push("/");break}else{r.push(t);break}}else if(i===2){if(t[0]==="."){if(t[1]===".")break;if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&(t[1]==="."||t[1]==="/")){r.push("/");break}}else if(i===3&&t==="/.."){r.length!==0&&r.pop(),r.push("/");break}if(t[0]==="."){if(t[1]==="."){if(t[2]==="/"){t=t.slice(3);continue}}else if(t[1]==="/"){t=t.slice(2);continue}}else if(t[0]==="/"&&t[1]==="."){if(t[2]==="/"){t=t.slice(2);continue}else if(t[2]==="."&&t[3]==="/"){t=t.slice(3),r.length!==0&&r.pop();continue}}if((n=t.indexOf("/",1))===-1){r.push(t);break}else r.push(t.slice(0,n)),t=t.slice(n)}return r.join("")}var Mmt={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},Rmt=/[@/?#:]/g,Fmt=/[@/?#]/g;function she(e,t){let r=t?Fmt:Rmt;return r.lastIndex=0,e.replace(r,n=>Mmt[n])}function $mt(e,t=!1){if(e.indexOf("%")===-1)return e;let r="";for(let n=0;n<e.length;n++){if(e[n]==="%"&&n+2<e.length){let i=e.slice(n+1,n+3);if(uj(i)){let a=i.toUpperCase(),o=String.fromCharCode(parseInt(a,16));t&&ahe(o)?r+=o:r+="%"+a,n+=2;continue}}r+=e[n]}return r}function Umt(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){let n=e.slice(r+1,r+3);if(uj(n)){let i=n.toUpperCase(),a=String.fromCharCode(parseInt(i,16));a!=="."&&ahe(a)?t+=a:t+="%"+i,r+=2;continue}}Dmt(e[r])?t+=e[r]:t+=escape(e[r])}return t}function zmt(e){let t="";for(let r=0;r<e.length;r++){if(e[r]==="%"&&r+2<e.length){let n=e.slice(r+1,r+3);if(uj(n)){t+="%"+n.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t}function qmt(e){let t=[];if(e.userinfo!==void 0&&(t.push(e.userinfo),t.push("@")),e.host!==void 0){let r=unescape(e.host);if(!ihe(r)){let n=ohe(r);n.isIPV6===!0?r=`[${n.escapedHost}]`:r=she(r,!1)}t.push(r)}return(typeof e.port=="number"||typeof e.port=="string")&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0}lhe.exports={nonSimpleDomain:Lmt,recomposeAuthority:qmt,reescapeHostDelimiters:she,normalizePercentEncoding:$mt,normalizePathEncoding:Umt,escapePreservingEscapes:zmt,removeDotSegments:Pmt,isIPv4:ihe,isUUID:Amt,normalizeIPv6:ohe,stringArrayToHexStripped:dj}});var fhe=h((K9t,phe)=>{"use strict";var{isUUID:Bmt}=pj(),Vmt=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Wmt=["http","https","ws","wss","urn","urn:uuid"];function Zmt(e){return Wmt.indexOf(e)!==-1}function fj(e){return e.secure===!0?!0:e.secure===!1?!1:e.scheme?e.scheme.length===3&&(e.scheme[0]==="w"||e.scheme[0]==="W")&&(e.scheme[1]==="s"||e.scheme[1]==="S")&&(e.scheme[2]==="s"||e.scheme[2]==="S"):!1}function che(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function uhe(e){let t=String(e.scheme).toLowerCase()==="https";return(e.port===(t?443:80)||e.port==="")&&(e.port=void 0),e.path||(e.path="/"),e}function Hmt(e){return e.secure=fj(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e}function Gmt(e){if((e.port===(fj(e)?443:80)||e.port==="")&&(e.port=void 0),typeof e.secure=="boolean"&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){let[t,r]=e.resourceName.split("?");e.path=t&&t!=="/"?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}function Jmt(e,t){if(!e.path)return e.error="URN can not be parsed",e;let r=e.path.match(Vmt);if(r){let n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];let i=`${n}:${t.nid||e.nid}`,a=mj(i);e.path=void 0,a&&(e=a.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e}function Kmt(e,t){if(e.nid===void 0)throw new Error("URN without nid cannot be serialized");let r=t.scheme||e.scheme||"urn",n=e.nid.toLowerCase(),i=`${r}:${t.nid||n}`,a=mj(i);a&&(e=a.serialize(e,t));let o=e,s=e.nss;return o.path=`${n||t.nid}:${s}`,t.skipEscape=!0,o}function Xmt(e,t){let r=e;return r.uuid=r.nss,r.nss=void 0,!t.tolerant&&(!r.uuid||!Bmt(r.uuid))&&(r.error=r.error||"UUID is not valid."),r}function Ymt(e){let t=e;return t.nss=(e.uuid||"").toLowerCase(),t}var dhe={scheme:"http",domainHost:!0,parse:che,serialize:uhe},Qmt={scheme:"https",domainHost:dhe.domainHost,parse:che,serialize:uhe},O8={scheme:"ws",domainHost:!0,parse:Hmt,serialize:Gmt},eht={scheme:"wss",domainHost:O8.domainHost,parse:O8.parse,serialize:O8.serialize},tht={scheme:"urn",parse:Jmt,serialize:Kmt,skipNormalize:!0},rht={scheme:"urn:uuid",parse:Xmt,serialize:Ymt,skipNormalize:!0},C8={http:dhe,https:Qmt,ws:O8,wss:eht,urn:tht,"urn:uuid":rht};Object.setPrototypeOf(C8,null);function mj(e){return e&&(C8[e]||C8[e.toLowerCase()])||void 0}phe.exports={wsIsSecure:fj,SCHEMES:C8,isValidSchemeName:Zmt,getSchemeHandler:mj}});var vhe=h((X9t,T8)=>{"use strict";var{normalizeIPv6:nht,removeDotSegments:Ib,recomposeAuthority:iht,normalizePercentEncoding:aht,normalizePathEncoding:oht,escapePreservingEscapes:sht,reescapeHostDelimiters:lht,isIPv4:cht,nonSimpleDomain:uht}=pj(),{SCHEMES:dht,getSchemeHandler:hhe}=fhe();function pht(e,t){return typeof e=="string"?e=yht(e,t):typeof e=="object"&&(e=Jh(Kp(e,t),t)),e}function fht(e,t,r){let n=r?Object.assign({scheme:"null"},r):{scheme:"null"},i=ghe(Jh(e,n),Jh(t,n),n,!0);return n.skipEscape=!0,Kp(i,n)}function ghe(e,t,r,n){let i={};return n||(e=Jh(Kp(e,r),r),t=Jh(Kp(t,r),r)),r=r||{},!r.tolerant&&t.scheme?(i.scheme=t.scheme,i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=Ib(t.path||""),i.query=t.query):(t.userinfo!==void 0||t.host!==void 0||t.port!==void 0?(i.userinfo=t.userinfo,i.host=t.host,i.port=t.port,i.path=Ib(t.path||""),i.query=t.query):(t.path?(t.path[0]==="/"?i.path=Ib(t.path):((e.userinfo!==void 0||e.host!==void 0||e.port!==void 0)&&!e.path?i.path="/"+t.path:e.path?i.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:i.path=t.path,i.path=Ib(i.path)),i.query=t.query):(i.path=e.path,t.query!==void 0?i.query=t.query:i.query=e.query),i.userinfo=e.userinfo,i.host=e.host,i.port=e.port),i.scheme=e.scheme),i.fragment=t.fragment,i}function mht(e,t,r){let n=mhe(e,r),i=mhe(t,r);return n!==void 0&&i!==void 0&&n.toLowerCase()===i.toLowerCase()}function Kp(e,t){let r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},n=Object.assign({},t),i=[],a=hhe(n.scheme||r.scheme);a&&a.serialize&&a.serialize(r,n),r.path!==void 0&&(n.skipEscape?r.path=aht(r.path):(r.path=sht(r.path),r.scheme!==void 0&&(r.path=r.path.split("%3A").join(":")))),n.reference!=="suffix"&&r.scheme&&i.push(r.scheme,":");let o=iht(r);if(o!==void 0&&(n.reference!=="suffix"&&i.push("//"),i.push(o),r.path&&r.path[0]!=="/"&&i.push("/")),r.path!==void 0){let s=r.path;!n.absolutePath&&(!a||!a.absolutePath)&&(s=Ib(s)),o===void 0&&s[0]==="/"&&s[1]==="/"&&(s="/%2F"+s.slice(2)),i.push(s)}return r.query!==void 0&&i.push("?",r.query),r.fragment!==void 0&&i.push("#",r.fragment),i.join("")}var hht=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function ght(e,t){if(t[2]!==void 0&&e.path&&e.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof e.port=="number"&&(e.port<0||e.port>65535))return"URI port is malformed."}function yhe(e,t){let r=Object.assign({},t),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},i=!1,a=!1;r.reference==="suffix"&&(r.scheme?e=r.scheme+":"+e:e="//"+e);let o=e.match(hht);if(o){n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5]);let s=ght(n,o);if(s!==void 0&&(n.error=n.error||s,i=!0),n.host)if(cht(n.host)===!1){let u=nht(n.host);n.host=u.host.toLowerCase(),a=u.isIPV6}else a=!0;n.scheme===void 0&&n.userinfo===void 0&&n.host===void 0&&n.port===void 0&&n.query===void 0&&!n.path?n.reference="same-document":n.scheme===void 0?n.reference="relative":n.fragment===void 0?n.reference="absolute":n.reference="uri",r.reference&&r.reference!=="suffix"&&r.reference!==n.reference&&(n.error=n.error||"URI is not a "+r.reference+" reference.");let l=hhe(r.scheme||n.scheme);if(!r.unicodeSupport&&(!l||!l.unicodeSupport)&&n.host&&(r.domainHost||l&&l.domainHost)&&a===!1&&uht(n.host))try{n.host=new URL("http://"+n.host).hostname}catch(c){n.error=n.error||"Host's domain name can not be converted to ASCII: "+c}if((!l||l&&!l.skipNormalize)&&(e.indexOf("%")!==-1&&(n.scheme!==void 0&&(n.scheme=unescape(n.scheme)),n.host!==void 0&&(n.host=lht(unescape(n.host),a))),n.path&&(n.path=oht(n.path)),n.fragment))try{n.fragment=encodeURI(decodeURIComponent(n.fragment))}catch{n.error=n.error||"URI malformed"}l&&l.parse&&l.parse(n,r)}else n.error=n.error||"URI can not be parsed.";return{parsed:n,malformedAuthorityOrPort:i}}function Jh(e,t){return yhe(e,t).parsed}function yht(e,t){return bhe(e,t).normalized}function bhe(e,t){let{parsed:r,malformedAuthorityOrPort:n}=yhe(e,t);return{normalized:n?e:Kp(r,t),malformedAuthorityOrPort:n}}function mhe(e,t){if(typeof e=="string"){let{normalized:r,malformedAuthorityOrPort:n}=bhe(e,t);return n?void 0:r}if(typeof e=="object")return Kp(e,t)}var hj={SCHEMES:dht,normalize:pht,resolve:fht,resolveComponent:ghe,equal:mht,serialize:Kp,parse:Jh};T8.exports=hj;T8.exports.default=hj;T8.exports.fastUri=hj});var whe=h(gj=>{"use strict";Object.defineProperty(gj,"__esModule",{value:!0});var _he=vhe();_he.code='require("ajv/dist/runtime/uri").default';gj.default=_he});var Ahe=h(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.CodeGen=vn.Name=vn.nil=vn.stringify=vn.str=vn._=vn.KeywordCxt=void 0;var bht=Cb();Object.defineProperty(vn,"KeywordCxt",{enumerable:!0,get:function(){return bht.KeywordCxt}});var Kh=Be();Object.defineProperty(vn,"_",{enumerable:!0,get:function(){return Kh._}});Object.defineProperty(vn,"str",{enumerable:!0,get:function(){return Kh.str}});Object.defineProperty(vn,"stringify",{enumerable:!0,get:function(){return Kh.stringify}});Object.defineProperty(vn,"nil",{enumerable:!0,get:function(){return Kh.nil}});Object.defineProperty(vn,"Name",{enumerable:!0,get:function(){return Kh.Name}});Object.defineProperty(vn,"CodeGen",{enumerable:!0,get:function(){return Kh.CodeGen}});var vht=S8(),Che=Tb(),_ht=VN(),Ab=x8(),wht=Be(),Db=Eb(),I8=Sb(),bj=it(),She=rhe(),Sht=whe(),The=(e,t)=>new RegExp(e,t);The.code="new RegExp";var Eht=["removeAdditional","useDefaults","coerceTypes"],xht=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Oht={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."},Cht={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},Ehe=200;function Tht(e){var t,r,n,i,a,o,s,l,c,u,d,f,p,m,y,v,S,E,w,_,b,A,j,P,T;let N=e.strict,k=(t=e.code)===null||t===void 0?void 0:t.optimize,B=k===!0||k===void 0?1:k||0,$=(n=(r=e.code)===null||r===void 0?void 0:r.regExp)!==null&&n!==void 0?n:The,K=(i=e.uriResolver)!==null&&i!==void 0?i:Sht.default;return{strictSchema:(o=(a=e.strictSchema)!==null&&a!==void 0?a:N)!==null&&o!==void 0?o:!0,strictNumbers:(l=(s=e.strictNumbers)!==null&&s!==void 0?s:N)!==null&&l!==void 0?l:!0,strictTypes:(u=(c=e.strictTypes)!==null&&c!==void 0?c:N)!==null&&u!==void 0?u:"log",strictTuples:(f=(d=e.strictTuples)!==null&&d!==void 0?d:N)!==null&&f!==void 0?f:"log",strictRequired:(m=(p=e.strictRequired)!==null&&p!==void 0?p:N)!==null&&m!==void 0?m:!1,code:e.code?{...e.code,optimize:B,regExp:$}:{optimize:B,regExp:$},loopRequired:(y=e.loopRequired)!==null&&y!==void 0?y:Ehe,loopEnum:(v=e.loopEnum)!==null&&v!==void 0?v:Ehe,meta:(S=e.meta)!==null&&S!==void 0?S:!0,messages:(E=e.messages)!==null&&E!==void 0?E:!0,inlineRefs:(w=e.inlineRefs)!==null&&w!==void 0?w:!0,schemaId:(_=e.schemaId)!==null&&_!==void 0?_:"$id",addUsedSchema:(b=e.addUsedSchema)!==null&&b!==void 0?b:!0,validateSchema:(A=e.validateSchema)!==null&&A!==void 0?A:!0,validateFormats:(j=e.validateFormats)!==null&&j!==void 0?j:!0,unicodeRegExp:(P=e.unicodeRegExp)!==null&&P!==void 0?P:!0,int32range:(T=e.int32range)!==null&&T!==void 0?T:!0,uriResolver:K}}var Lb=class{constructor(t={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,t=this.opts={...t,...Tht(t)};let{es5:r,lines:n}=this.opts.code;this.scope=new wht.ValueScope({scope:{},prefixes:xht,es5:r,lines:n}),this.logger=Nht(t.logger);let i=t.validateFormats;t.validateFormats=!1,this.RULES=(0,_ht.getRules)(),xhe.call(this,Oht,t,"NOT SUPPORTED"),xhe.call(this,Cht,t,"DEPRECATED","warn"),this._metaOpts=Lht.call(this),t.formats&&Aht.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),t.keywords&&Dht.call(this,t.keywords),typeof t.meta=="object"&&this.addMetaSchema(t.meta),Iht.call(this),t.validateFormats=i}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:t,meta:r,schemaId:n}=this.opts,i=She;n==="id"&&(i={...She},i.id=i.$id,delete i.$id),r&&t&&this.addMetaSchema(i,i[n],!1)}defaultMeta(){let{meta:t,schemaId:r}=this.opts;return this.opts.defaultMeta=typeof t=="object"?t[r]||t:void 0}validate(t,r){let n;if(typeof t=="string"){if(n=this.getSchema(t),!n)throw new Error(`no schema with key or ref "${t}"`)}else n=this.compile(t);let i=n(r);return"$async"in n||(this.errors=n.errors),i}compile(t,r){let n=this._addSchema(t,r);return n.validate||this._compileSchemaEnv(n)}compileAsync(t,r){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");let{loadSchema:n}=this.opts;return i.call(this,t,r);async function i(u,d){await a.call(this,u.$schema);let f=this._addSchema(u,d);return f.validate||o.call(this,f)}async function a(u){u&&!this.getSchema(u)&&await i.call(this,{$ref:u},!0)}async function o(u){try{return this._compileSchemaEnv(u)}catch(d){if(!(d instanceof Che.default))throw d;return s.call(this,d),await l.call(this,d.missingSchema),o.call(this,u)}}function s({missingSchema:u,missingRef:d}){if(this.refs[u])throw new Error(`AnySchema ${u} is loaded but ${d} cannot be resolved`)}async function l(u){let d=await c.call(this,u);this.refs[u]||await a.call(this,d.$schema),this.refs[u]||this.addSchema(d,u,r)}async function c(u){let d=this._loading[u];if(d)return d;try{return await(this._loading[u]=n(u))}finally{delete this._loading[u]}}}addSchema(t,r,n,i=this.opts.validateSchema){if(Array.isArray(t)){for(let o of t)this.addSchema(o,void 0,n,i);return this}let a;if(typeof t=="object"){let{schemaId:o}=this.opts;if(a=t[o],a!==void 0&&typeof a!="string")throw new Error(`schema ${o} must be string`)}return r=(0,Db.normalizeId)(r||a),this._checkUnique(r),this.schemas[r]=this._addSchema(t,n,r,i,!0),this}addMetaSchema(t,r,n=this.opts.validateSchema){return this.addSchema(t,r,!0,n),this}validateSchema(t,r){if(typeof t=="boolean")return!0;let n;if(n=t.$schema,n!==void 0&&typeof n!="string")throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let i=this.validate(n,t);if(!i&&r){let a="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(a);else throw new Error(a)}return i}getSchema(t){let r;for(;typeof(r=Ohe.call(this,t))=="string";)t=r;if(r===void 0){let{schemaId:n}=this.opts,i=new Ab.SchemaEnv({schema:{},schemaId:n});if(r=Ab.resolveSchema.call(this,i,t),!r)return;this.refs[t]=r}return r.validate||this._compileSchemaEnv(r)}removeSchema(t){if(t instanceof RegExp)return this._removeAllSchemas(this.schemas,t),this._removeAllSchemas(this.refs,t),this;switch(typeof t){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let r=Ohe.call(this,t);return typeof r=="object"&&this._cache.delete(r.schema),delete this.schemas[t],delete this.refs[t],this}case"object":{let r=t;this._cache.delete(r);let n=t[this.opts.schemaId];return n&&(n=(0,Db.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(t){for(let r of t)this.addKeyword(r);return this}addKeyword(t,r){let n;if(typeof t=="string")n=t,typeof r=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),r.keyword=n);else if(typeof t=="object"&&r===void 0){if(r=t,n=r.keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(Pht.call(this,n,r),!r)return(0,bj.eachItem)(n,a=>yj.call(this,a)),this;Rht.call(this,r);let i={...r,type:(0,I8.getJSONTypes)(r.type),schemaType:(0,I8.getJSONTypes)(r.schemaType)};return(0,bj.eachItem)(n,i.type.length===0?a=>yj.call(this,a,i):a=>i.type.forEach(o=>yj.call(this,a,i,o))),this}getKeyword(t){let r=this.RULES.all[t];return typeof r=="object"?r.definition:!!r}removeKeyword(t){let{RULES:r}=this;delete r.keywords[t],delete r.all[t];for(let n of r.rules){let i=n.rules.findIndex(a=>a.keyword===t);i>=0&&n.rules.splice(i,1)}return this}addFormat(t,r){return typeof r=="string"&&(r=new RegExp(r)),this.formats[t]=r,this}errorsText(t=this.errors,{separator:r=", ",dataVar:n="data"}={}){return!t||t.length===0?"No errors":t.map(i=>`${n}${i.instancePath} ${i.message}`).reduce((i,a)=>i+r+a)}$dataMetaSchema(t,r){let n=this.RULES.all;t=JSON.parse(JSON.stringify(t));for(let i of r){let a=i.split("/").slice(1),o=t;for(let s of a)o=o[s];for(let s in n){let l=n[s];if(typeof l!="object")continue;let{$data:c}=l.definition,u=o[s];c&&u&&(o[s]=Ihe(u))}}return t}_removeAllSchemas(t,r){for(let n in t){let i=t[n];(!r||r.test(n))&&(typeof i=="string"?delete t[n]:i&&!i.meta&&(this._cache.delete(i.schema),delete t[n]))}}_addSchema(t,r,n,i=this.opts.validateSchema,a=this.opts.addUsedSchema){let o,{schemaId:s}=this.opts;if(typeof t=="object")o=t[s];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof t!="boolean")throw new Error("schema must be object or boolean")}let l=this._cache.get(t);if(l!==void 0)return l;n=(0,Db.normalizeId)(o||n);let c=Db.getSchemaRefs.call(this,t,n);return l=new Ab.SchemaEnv({schema:t,schemaId:s,meta:r,baseId:n,localRefs:c}),this._cache.set(l.schema,l),a&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=l),i&&this.validateSchema(t,!0),l}_checkUnique(t){if(this.schemas[t]||this.refs[t])throw new Error(`schema with key or id "${t}" already exists`)}_compileSchemaEnv(t){if(t.meta?this._compileMetaSchema(t):Ab.compileSchema.call(this,t),!t.validate)throw new Error("ajv implementation error");return t.validate}_compileMetaSchema(t){let r=this.opts;this.opts=this._metaOpts;try{Ab.compileSchema.call(this,t)}finally{this.opts=r}}};Lb.ValidationError=vht.default;Lb.MissingRefError=Che.default;vn.default=Lb;function xhe(e,t,r,n="error"){for(let i in e){let a=i;a in t&&this.logger[n](`${r}: option ${i}. ${e[a]}`)}}function Ohe(e){return e=(0,Db.normalizeId)(e),this.schemas[e]||this.refs[e]}function Iht(){let e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(let t in e)this.addSchema(e[t],t)}function Aht(){for(let e in this.opts.formats){let t=this.opts.formats[e];t&&this.addFormat(e,t)}}function Dht(e){if(Array.isArray(e)){this.addVocabulary(e);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let t in e){let r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}function Lht(){let e={...this.opts};for(let t of Eht)delete e[t];return e}var kht={log(){},warn(){},error(){}};function Nht(e){if(e===!1)return kht;if(e===void 0)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}var jht=/^[a-z_$][a-z0-9_$:-]*$/i;function Pht(e,t){let{RULES:r}=this;if((0,bj.eachItem)(e,n=>{if(r.keywords[n])throw new Error(`Keyword ${n} is already defined`);if(!jht.test(n))throw new Error(`Keyword ${n} has invalid name`)}),!!t&&t.$data&&!("code"in t||"validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function yj(e,t,r){var n;let i=t?.post;if(r&&i)throw new Error('keyword with "post" flag cannot have "type"');let{RULES:a}=this,o=i?a.post:a.rules.find(({type:l})=>l===r);if(o||(o={type:r,rules:[]},a.rules.push(o)),a.keywords[e]=!0,!t)return;let s={keyword:e,definition:{...t,type:(0,I8.getJSONTypes)(t.type),schemaType:(0,I8.getJSONTypes)(t.schemaType)}};t.before?Mht.call(this,o,s,t.before):o.rules.push(s),a.all[e]=s,(n=t.implements)===null||n===void 0||n.forEach(l=>this.addKeyword(l))}function Mht(e,t,r){let n=e.rules.findIndex(i=>i.keyword===r);n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function Rht(e){let{metaSchema:t}=e;t!==void 0&&(e.$data&&this.opts.$data&&(t=Ihe(t)),e.validateSchema=this.compile(t,!0))}var Fht={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function Ihe(e){return{anyOf:[e,Fht]}}});var Dhe=h(vj=>{"use strict";Object.defineProperty(vj,"__esModule",{value:!0});var $ht={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};vj.default=$ht});var jhe=h(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.callRef=Xp.getValidate=void 0;var Uht=Tb(),Lhe=Za(),Ei=Be(),Xh=Cc(),khe=x8(),A8=it(),zht={keyword:"$ref",schemaType:"string",code(e){let{gen:t,schema:r,it:n}=e,{baseId:i,schemaEnv:a,validateName:o,opts:s,self:l}=n,{root:c}=a;if((r==="#"||r==="#/")&&i===c.baseId)return d();let u=khe.resolveRef.call(l,c,i,r);if(u===void 0)throw new Uht.default(n.opts.uriResolver,i,r);if(u instanceof khe.SchemaEnv)return f(u);return p(u);function d(){if(a===c)return D8(e,o,a,a.$async);let m=t.scopeValue("root",{ref:c});return D8(e,(0,Ei._)`${m}.validate`,c,c.$async)}function f(m){let y=Nhe(e,m);D8(e,y,m,m.$async)}function p(m){let y=t.scopeValue("schema",s.code.source===!0?{ref:m,code:(0,Ei.stringify)(m)}:{ref:m}),v=t.name("valid"),S=e.subschema({schema:m,dataTypes:[],schemaPath:Ei.nil,topSchemaRef:y,errSchemaPath:r},v);e.mergeEvaluated(S),e.ok(v)}}};function Nhe(e,t){let{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):(0,Ei._)`${r.scopeValue("wrapper",{ref:t})}.validate`}Xp.getValidate=Nhe;function D8(e,t,r,n){let{gen:i,it:a}=e,{allErrors:o,schemaEnv:s,opts:l}=a,c=l.passContext?Xh.default.this:Ei.nil;n?u():d();function u(){if(!s.$async)throw new Error("async schema referenced by sync schema");let m=i.let("valid");i.try(()=>{i.code((0,Ei._)`await ${(0,Lhe.callValidateCode)(e,t,c)}`),p(t),o||i.assign(m,!0)},y=>{i.if((0,Ei._)`!(${y} instanceof ${a.ValidationError})`,()=>i.throw(y)),f(y),o||i.assign(m,!1)}),e.ok(m)}function d(){e.result((0,Lhe.callValidateCode)(e,t,c),()=>p(t),()=>f(t))}function f(m){let y=(0,Ei._)`${m}.errors`;i.assign(Xh.default.vErrors,(0,Ei._)`${Xh.default.vErrors} === null ? ${y} : ${Xh.default.vErrors}.concat(${y})`),i.assign(Xh.default.errors,(0,Ei._)`${Xh.default.vErrors}.length`)}function p(m){var y;if(!a.opts.unevaluated)return;let v=(y=r?.validate)===null||y===void 0?void 0:y.evaluated;if(a.props!==!0)if(v&&!v.dynamicProps)v.props!==void 0&&(a.props=A8.mergeEvaluated.props(i,v.props,a.props));else{let S=i.var("props",(0,Ei._)`${m}.evaluated.props`);a.props=A8.mergeEvaluated.props(i,S,a.props,Ei.Name)}if(a.items!==!0)if(v&&!v.dynamicItems)v.items!==void 0&&(a.items=A8.mergeEvaluated.items(i,v.items,a.items));else{let S=i.var("items",(0,Ei._)`${m}.evaluated.items`);a.items=A8.mergeEvaluated.items(i,S,a.items,Ei.Name)}}}Xp.callRef=D8;Xp.default=zht});var Phe=h(_j=>{"use strict";Object.defineProperty(_j,"__esModule",{value:!0});var qht=Dhe(),Bht=jhe(),Vht=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",qht.default,Bht.default];_j.default=Vht});var Mhe=h(wj=>{"use strict";Object.defineProperty(wj,"__esModule",{value:!0});var L8=Be(),od=L8.operators,k8={maximum:{okStr:"<=",ok:od.LTE,fail:od.GT},minimum:{okStr:">=",ok:od.GTE,fail:od.LT},exclusiveMaximum:{okStr:"<",ok:od.LT,fail:od.GTE},exclusiveMinimum:{okStr:">",ok:od.GT,fail:od.LTE}},Wht={message:({keyword:e,schemaCode:t})=>(0,L8.str)`must be ${k8[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>(0,L8._)`{comparison: ${k8[e].okStr}, limit: ${t}}`},Zht={keyword:Object.keys(k8),type:"number",schemaType:"number",$data:!0,error:Wht,code(e){let{keyword:t,data:r,schemaCode:n}=e;e.fail$data((0,L8._)`${r} ${k8[t].fail} ${n} || isNaN(${r})`)}};wj.default=Zht});var Rhe=h(Sj=>{"use strict";Object.defineProperty(Sj,"__esModule",{value:!0});var kb=Be(),Hht={message:({schemaCode:e})=>(0,kb.str)`must be multiple of ${e}`,params:({schemaCode:e})=>(0,kb._)`{multipleOf: ${e}}`},Ght={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:Hht,code(e){let{gen:t,data:r,schemaCode:n,it:i}=e,a=i.opts.multipleOfPrecision,o=t.let("res"),s=a?(0,kb._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${a}`:(0,kb._)`${o} !== parseInt(${o})`;e.fail$data((0,kb._)`(${n} === 0 || (${o} = ${r}/${n}, ${s}))`)}};Sj.default=Ght});var $he=h(Ej=>{"use strict";Object.defineProperty(Ej,"__esModule",{value:!0});function Fhe(e){let t=e.length,r=0,n=0,i;for(;n<t;)r++,i=e.charCodeAt(n++),i>=55296&&i<=56319&&n<t&&(i=e.charCodeAt(n),(i&64512)===56320&&n++);return r}Ej.default=Fhe;Fhe.code='require("ajv/dist/runtime/ucs2length").default'});var Uhe=h(xj=>{"use strict";Object.defineProperty(xj,"__esModule",{value:!0});var Yp=Be(),Jht=it(),Kht=$he(),Xht={message({keyword:e,schemaCode:t}){let r=e==="maxLength"?"more":"fewer";return(0,Yp.str)`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>(0,Yp._)`{limit: ${e}}`},Yht={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:Xht,code(e){let{keyword:t,data:r,schemaCode:n,it:i}=e,a=t==="maxLength"?Yp.operators.GT:Yp.operators.LT,o=i.opts.unicode===!1?(0,Yp._)`${r}.length`:(0,Yp._)`${(0,Jht.useFunc)(e.gen,Kht.default)}(${r})`;e.fail$data((0,Yp._)`${o} ${a} ${n}`)}};xj.default=Yht});var zhe=h(Oj=>{"use strict";Object.defineProperty(Oj,"__esModule",{value:!0});var Qht=Za(),e1t=it(),Yh=Be(),t1t={message:({schemaCode:e})=>(0,Yh.str)`must match pattern "${e}"`,params:({schemaCode:e})=>(0,Yh._)`{pattern: ${e}}`},r1t={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:t1t,code(e){let{gen:t,data:r,$data:n,schema:i,schemaCode:a,it:o}=e,s=o.opts.unicodeRegExp?"u":"";if(n){let{regExp:l}=o.opts.code,c=l.code==="new RegExp"?(0,Yh._)`new RegExp`:(0,e1t.useFunc)(t,l),u=t.let("valid");t.try(()=>t.assign(u,(0,Yh._)`${c}(${a}, ${s}).test(${r})`),()=>t.assign(u,!1)),e.fail$data((0,Yh._)`!${u}`)}else{let l=(0,Qht.usePattern)(e,i);e.fail$data((0,Yh._)`!${l}.test(${r})`)}}};Oj.default=r1t});var qhe=h(Cj=>{"use strict";Object.defineProperty(Cj,"__esModule",{value:!0});var Nb=Be(),n1t={message({keyword:e,schemaCode:t}){let r=e==="maxProperties"?"more":"fewer";return(0,Nb.str)`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>(0,Nb._)`{limit: ${e}}`},i1t={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:n1t,code(e){let{keyword:t,data:r,schemaCode:n}=e,i=t==="maxProperties"?Nb.operators.GT:Nb.operators.LT;e.fail$data((0,Nb._)`Object.keys(${r}).length ${i} ${n}`)}};Cj.default=i1t});var Bhe=h(Tj=>{"use strict";Object.defineProperty(Tj,"__esModule",{value:!0});var jb=Za(),Pb=Be(),a1t=it(),o1t={message:({params:{missingProperty:e}})=>(0,Pb.str)`must have required property '${e}'`,params:({params:{missingProperty:e}})=>(0,Pb._)`{missingProperty: ${e}}`},s1t={keyword:"required",type:"object",schemaType:"array",$data:!0,error:o1t,code(e){let{gen:t,schema:r,schemaCode:n,data:i,$data:a,it:o}=e,{opts:s}=o;if(!a&&r.length===0)return;let l=r.length>=s.loopRequired;if(o.allErrors?c():u(),s.strictRequired){let p=e.parentSchema.properties,{definedProperties:m}=e.it;for(let y of r)if(p?.[y]===void 0&&!m.has(y)){let v=o.schemaEnv.baseId+o.errSchemaPath,S=`required property "${y}" is not defined at "${v}" (strictRequired)`;(0,a1t.checkStrictMode)(o,S,o.opts.strictRequired)}}function c(){if(l||a)e.block$data(Pb.nil,d);else for(let p of r)(0,jb.checkReportMissingProp)(e,p)}function u(){let p=t.let("missing");if(l||a){let m=t.let("valid",!0);e.block$data(m,()=>f(p,m)),e.ok(m)}else t.if((0,jb.checkMissingProp)(e,r,p)),(0,jb.reportMissingProp)(e,p),t.else()}function d(){t.forOf("prop",n,p=>{e.setParams({missingProperty:p}),t.if((0,jb.noPropertyInData)(t,i,p,s.ownProperties),()=>e.error())})}function f(p,m){e.setParams({missingProperty:p}),t.forOf(p,n,()=>{t.assign(m,(0,jb.propertyInData)(t,i,p,s.ownProperties)),t.if((0,Pb.not)(m),()=>{e.error(),t.break()})},Pb.nil)}}};Tj.default=s1t});var Vhe=h(Ij=>{"use strict";Object.defineProperty(Ij,"__esModule",{value:!0});var Mb=Be(),l1t={message({keyword:e,schemaCode:t}){let r=e==="maxItems"?"more":"fewer";return(0,Mb.str)`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>(0,Mb._)`{limit: ${e}}`},c1t={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:l1t,code(e){let{keyword:t,data:r,schemaCode:n}=e,i=t==="maxItems"?Mb.operators.GT:Mb.operators.LT;e.fail$data((0,Mb._)`${r}.length ${i} ${n}`)}};Ij.default=c1t});var N8=h(Aj=>{"use strict";Object.defineProperty(Aj,"__esModule",{value:!0});var Whe=YN();Whe.code='require("ajv/dist/runtime/equal").default';Aj.default=Whe});var Zhe=h(Lj=>{"use strict";Object.defineProperty(Lj,"__esModule",{value:!0});var Dj=Sb(),_n=Be(),u1t=it(),d1t=N8(),p1t={message:({params:{i:e,j:t}})=>(0,_n.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>(0,_n._)`{i: ${e}, j: ${t}}`},f1t={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:p1t,code(e){let{gen:t,data:r,$data:n,schema:i,parentSchema:a,schemaCode:o,it:s}=e;if(!n&&!i)return;let l=t.let("valid"),c=a.items?(0,Dj.getSchemaTypes)(a.items):[];e.block$data(l,u,(0,_n._)`${o} === false`),e.ok(l);function u(){let m=t.let("i",(0,_n._)`${r}.length`),y=t.let("j");e.setParams({i:m,j:y}),t.assign(l,!0),t.if((0,_n._)`${m} > 1`,()=>(d()?f:p)(m,y))}function d(){return c.length>0&&!c.some(m=>m==="object"||m==="array")}function f(m,y){let v=t.name("item"),S=(0,Dj.checkDataTypes)(c,v,s.opts.strictNumbers,Dj.DataType.Wrong),E=t.const("indices",(0,_n._)`{}`);t.for((0,_n._)`;${m}--;`,()=>{t.let(v,(0,_n._)`${r}[${m}]`),t.if(S,(0,_n._)`continue`),c.length>1&&t.if((0,_n._)`typeof ${v} == "string"`,(0,_n._)`${v} += "_"`),t.if((0,_n._)`typeof ${E}[${v}] == "number"`,()=>{t.assign(y,(0,_n._)`${E}[${v}]`),e.error(),t.assign(l,!1).break()}).code((0,_n._)`${E}[${v}] = ${m}`)})}function p(m,y){let v=(0,u1t.useFunc)(t,d1t.default),S=t.name("outer");t.label(S).for((0,_n._)`;${m}--;`,()=>t.for((0,_n._)`${y} = ${m}; ${y}--;`,()=>t.if((0,_n._)`${v}(${r}[${m}], ${r}[${y}])`,()=>{e.error(),t.assign(l,!1).break(S)})))}}};Lj.default=f1t});var Hhe=h(Nj=>{"use strict";Object.defineProperty(Nj,"__esModule",{value:!0});var kj=Be(),m1t=it(),h1t=N8(),g1t={message:"must be equal to constant",params:({schemaCode:e})=>(0,kj._)`{allowedValue: ${e}}`},y1t={keyword:"const",$data:!0,error:g1t,code(e){let{gen:t,data:r,$data:n,schemaCode:i,schema:a}=e;n||a&&typeof a=="object"?e.fail$data((0,kj._)`!${(0,m1t.useFunc)(t,h1t.default)}(${r}, ${i})`):e.fail((0,kj._)`${a} !== ${r}`)}};Nj.default=y1t});var Ghe=h(jj=>{"use strict";Object.defineProperty(jj,"__esModule",{value:!0});var Rb=Be(),b1t=it(),v1t=N8(),_1t={message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,Rb._)`{allowedValues: ${e}}`},w1t={keyword:"enum",schemaType:"array",$data:!0,error:_1t,code(e){let{gen:t,data:r,$data:n,schema:i,schemaCode:a,it:o}=e;if(!n&&i.length===0)throw new Error("enum must have non-empty array");let s=i.length>=o.opts.loopEnum,l,c=()=>l??(l=(0,b1t.useFunc)(t,v1t.default)),u;if(s||n)u=t.let("valid"),e.block$data(u,d);else{if(!Array.isArray(i))throw new Error("ajv implementation error");let p=t.const("vSchema",a);u=(0,Rb.or)(...i.map((m,y)=>f(p,y)))}e.pass(u);function d(){t.assign(u,!1),t.forOf("v",a,p=>t.if((0,Rb._)`${c()}(${r}, ${p})`,()=>t.assign(u,!0).break()))}function f(p,m){let y=i[m];return typeof y=="object"&&y!==null?(0,Rb._)`${c()}(${r}, ${p}[${m}])`:(0,Rb._)`${r} === ${y}`}}};jj.default=w1t});var Jhe=h(Pj=>{"use strict";Object.defineProperty(Pj,"__esModule",{value:!0});var S1t=Mhe(),E1t=Rhe(),x1t=Uhe(),O1t=zhe(),C1t=qhe(),T1t=Bhe(),I1t=Vhe(),A1t=Zhe(),D1t=Hhe(),L1t=Ghe(),k1t=[S1t.default,E1t.default,x1t.default,O1t.default,C1t.default,T1t.default,I1t.default,A1t.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},D1t.default,L1t.default];Pj.default=k1t});var Rj=h(Fb=>{"use strict";Object.defineProperty(Fb,"__esModule",{value:!0});Fb.validateAdditionalItems=void 0;var Qp=Be(),Mj=it(),N1t={message:({params:{len:e}})=>(0,Qp.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,Qp._)`{limit: ${e}}`},j1t={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:N1t,code(e){let{parentSchema:t,it:r}=e,{items:n}=t;if(!Array.isArray(n)){(0,Mj.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas');return}Khe(e,n)}};function Khe(e,t){let{gen:r,schema:n,data:i,keyword:a,it:o}=e;o.items=!0;let s=r.const("len",(0,Qp._)`${i}.length`);if(n===!1)e.setParams({len:t.length}),e.pass((0,Qp._)`${s} <= ${t.length}`);else if(typeof n=="object"&&!(0,Mj.alwaysValidSchema)(o,n)){let c=r.var("valid",(0,Qp._)`${s} <= ${t.length}`);r.if((0,Qp.not)(c),()=>l(c)),e.ok(c)}function l(c){r.forRange("i",t.length,s,u=>{e.subschema({keyword:a,dataProp:u,dataPropType:Mj.Type.Num},c),o.allErrors||r.if((0,Qp.not)(c),()=>r.break())})}}Fb.validateAdditionalItems=Khe;Fb.default=j1t});var Fj=h($b=>{"use strict";Object.defineProperty($b,"__esModule",{value:!0});$b.validateTuple=void 0;var Xhe=Be(),j8=it(),P1t=Za(),M1t={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){let{schema:t,it:r}=e;if(Array.isArray(t))return Yhe(e,"additionalItems",t);r.items=!0,!(0,j8.alwaysValidSchema)(r,t)&&e.ok((0,P1t.validateArray)(e))}};function Yhe(e,t,r=e.schema){let{gen:n,parentSchema:i,data:a,keyword:o,it:s}=e;u(i),s.opts.unevaluated&&r.length&&s.items!==!0&&(s.items=j8.mergeEvaluated.items(n,r.length,s.items));let l=n.name("valid"),c=n.const("len",(0,Xhe._)`${a}.length`);r.forEach((d,f)=>{(0,j8.alwaysValidSchema)(s,d)||(n.if((0,Xhe._)`${c} > ${f}`,()=>e.subschema({keyword:o,schemaProp:f,dataProp:f},l)),e.ok(l))});function u(d){let{opts:f,errSchemaPath:p}=s,m=r.length,y=m===d.minItems&&(m===d.maxItems||d[t]===!1);if(f.strictTuples&&!y){let v=`"${o}" is ${m}-tuple, but minItems or maxItems/${t} are not specified or different at path "${p}"`;(0,j8.checkStrictMode)(s,v,f.strictTuples)}}}$b.validateTuple=Yhe;$b.default=M1t});var Qhe=h($j=>{"use strict";Object.defineProperty($j,"__esModule",{value:!0});var R1t=Fj(),F1t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,R1t.validateTuple)(e,"items")};$j.default=F1t});var t1e=h(Uj=>{"use strict";Object.defineProperty(Uj,"__esModule",{value:!0});var e1e=Be(),$1t=it(),U1t=Za(),z1t=Rj(),q1t={message:({params:{len:e}})=>(0,e1e.str)`must NOT have more than ${e} items`,params:({params:{len:e}})=>(0,e1e._)`{limit: ${e}}`},B1t={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:q1t,code(e){let{schema:t,parentSchema:r,it:n}=e,{prefixItems:i}=r;n.items=!0,!(0,$1t.alwaysValidSchema)(n,t)&&(i?(0,z1t.validateAdditionalItems)(e,i):e.ok((0,U1t.validateArray)(e)))}};Uj.default=B1t});var r1e=h(zj=>{"use strict";Object.defineProperty(zj,"__esModule",{value:!0});var Ga=Be(),P8=it(),V1t={message:({params:{min:e,max:t}})=>t===void 0?(0,Ga.str)`must contain at least ${e} valid item(s)`:(0,Ga.str)`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>t===void 0?(0,Ga._)`{minContains: ${e}}`:(0,Ga._)`{minContains: ${e}, maxContains: ${t}}`},W1t={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:V1t,code(e){let{gen:t,schema:r,parentSchema:n,data:i,it:a}=e,o,s,{minContains:l,maxContains:c}=n;a.opts.next?(o=l===void 0?1:l,s=c):o=1;let u=t.const("len",(0,Ga._)`${i}.length`);if(e.setParams({min:o,max:s}),s===void 0&&o===0){(0,P8.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&o>s){(0,P8.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),e.fail();return}if((0,P8.alwaysValidSchema)(a,r)){let y=(0,Ga._)`${u} >= ${o}`;s!==void 0&&(y=(0,Ga._)`${y} && ${u} <= ${s}`),e.pass(y);return}a.items=!0;let d=t.name("valid");s===void 0&&o===1?p(d,()=>t.if(d,()=>t.break())):o===0?(t.let(d,!0),s!==void 0&&t.if((0,Ga._)`${i}.length > 0`,f)):(t.let(d,!1),f()),e.result(d,()=>e.reset());function f(){let y=t.name("_valid"),v=t.let("count",0);p(y,()=>t.if(y,()=>m(v)))}function p(y,v){t.forRange("i",0,u,S=>{e.subschema({keyword:"contains",dataProp:S,dataPropType:P8.Type.Num,compositeRule:!0},y),v()})}function m(y){t.code((0,Ga._)`${y}++`),s===void 0?t.if((0,Ga._)`${y} >= ${o}`,()=>t.assign(d,!0).break()):(t.if((0,Ga._)`${y} > ${s}`,()=>t.assign(d,!1).break()),o===1?t.assign(d,!0):t.if((0,Ga._)`${y} >= ${o}`,()=>t.assign(d,!0)))}}};zj.default=W1t});var a1e=h(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.validateSchemaDeps=Sl.validatePropertyDeps=Sl.error=void 0;var qj=Be(),Z1t=it(),Ub=Za();Sl.error={message:({params:{property:e,depsCount:t,deps:r}})=>{let n=t===1?"property":"properties";return(0,qj.str)`must have ${n} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:n}})=>(0,qj._)`{property: ${e},
|
||
missingProperty: ${n},
|
||
depsCount: ${t},
|
||
deps: ${r}}`};var H1t={keyword:"dependencies",type:"object",schemaType:"object",error:Sl.error,code(e){let[t,r]=G1t(e);n1e(e,t),i1e(e,r)}};function G1t({schema:e}){let t={},r={};for(let n in e){if(n==="__proto__")continue;let i=Array.isArray(e[n])?t:r;i[n]=e[n]}return[t,r]}function n1e(e,t=e.schema){let{gen:r,data:n,it:i}=e;if(Object.keys(t).length===0)return;let a=r.let("missing");for(let o in t){let s=t[o];if(s.length===0)continue;let l=(0,Ub.propertyInData)(r,n,o,i.opts.ownProperties);e.setParams({property:o,depsCount:s.length,deps:s.join(", ")}),i.allErrors?r.if(l,()=>{for(let c of s)(0,Ub.checkReportMissingProp)(e,c)}):(r.if((0,qj._)`${l} && (${(0,Ub.checkMissingProp)(e,s,a)})`),(0,Ub.reportMissingProp)(e,a),r.else())}}Sl.validatePropertyDeps=n1e;function i1e(e,t=e.schema){let{gen:r,data:n,keyword:i,it:a}=e,o=r.name("valid");for(let s in t)(0,Z1t.alwaysValidSchema)(a,t[s])||(r.if((0,Ub.propertyInData)(r,n,s,a.opts.ownProperties),()=>{let l=e.subschema({keyword:i,schemaProp:s},o);e.mergeValidEvaluated(l,o)},()=>r.var(o,!0)),e.ok(o))}Sl.validateSchemaDeps=i1e;Sl.default=H1t});var s1e=h(Bj=>{"use strict";Object.defineProperty(Bj,"__esModule",{value:!0});var o1e=Be(),J1t=it(),K1t={message:"property name must be valid",params:({params:e})=>(0,o1e._)`{propertyName: ${e.propertyName}}`},X1t={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:K1t,code(e){let{gen:t,schema:r,data:n,it:i}=e;if((0,J1t.alwaysValidSchema)(i,r))return;let a=t.name("valid");t.forIn("key",n,o=>{e.setParams({propertyName:o}),e.subschema({keyword:"propertyNames",data:o,dataTypes:["string"],propertyName:o,compositeRule:!0},a),t.if((0,o1e.not)(a),()=>{e.error(!0),i.allErrors||t.break()})}),e.ok(a)}};Bj.default=X1t});var Wj=h(Vj=>{"use strict";Object.defineProperty(Vj,"__esModule",{value:!0});var M8=Za(),Mo=Be(),Y1t=Cc(),R8=it(),Q1t={message:"must NOT have additional properties",params:({params:e})=>(0,Mo._)`{additionalProperty: ${e.additionalProperty}}`},egt={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Q1t,code(e){let{gen:t,schema:r,parentSchema:n,data:i,errsCount:a,it:o}=e;if(!a)throw new Error("ajv implementation error");let{allErrors:s,opts:l}=o;if(o.props=!0,l.removeAdditional!=="all"&&(0,R8.alwaysValidSchema)(o,r))return;let c=(0,M8.allSchemaProperties)(n.properties),u=(0,M8.allSchemaProperties)(n.patternProperties);d(),e.ok((0,Mo._)`${a} === ${Y1t.default.errors}`);function d(){t.forIn("key",i,v=>{!c.length&&!u.length?m(v):t.if(f(v),()=>m(v))})}function f(v){let S;if(c.length>8){let E=(0,R8.schemaRefOrVal)(o,n.properties,"properties");S=(0,M8.isOwnProperty)(t,E,v)}else c.length?S=(0,Mo.or)(...c.map(E=>(0,Mo._)`${v} === ${E}`)):S=Mo.nil;return u.length&&(S=(0,Mo.or)(S,...u.map(E=>(0,Mo._)`${(0,M8.usePattern)(e,E)}.test(${v})`))),(0,Mo.not)(S)}function p(v){t.code((0,Mo._)`delete ${i}[${v}]`)}function m(v){if(l.removeAdditional==="all"||l.removeAdditional&&r===!1){p(v);return}if(r===!1){e.setParams({additionalProperty:v}),e.error(),s||t.break();return}if(typeof r=="object"&&!(0,R8.alwaysValidSchema)(o,r)){let S=t.name("valid");l.removeAdditional==="failing"?(y(v,S,!1),t.if((0,Mo.not)(S),()=>{e.reset(),p(v)})):(y(v,S),s||t.if((0,Mo.not)(S),()=>t.break()))}}function y(v,S,E){let w={keyword:"additionalProperties",dataProp:v,dataPropType:R8.Type.Str};E===!1&&Object.assign(w,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(w,S)}}};Vj.default=egt});var u1e=h(Hj=>{"use strict";Object.defineProperty(Hj,"__esModule",{value:!0});var tgt=Cb(),l1e=Za(),Zj=it(),c1e=Wj(),rgt={keyword:"properties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,parentSchema:n,data:i,it:a}=e;a.opts.removeAdditional==="all"&&n.additionalProperties===void 0&&c1e.default.code(new tgt.KeywordCxt(a,c1e.default,"additionalProperties"));let o=(0,l1e.allSchemaProperties)(r);for(let d of o)a.definedProperties.add(d);a.opts.unevaluated&&o.length&&a.props!==!0&&(a.props=Zj.mergeEvaluated.props(t,(0,Zj.toHash)(o),a.props));let s=o.filter(d=>!(0,Zj.alwaysValidSchema)(a,r[d]));if(s.length===0)return;let l=t.name("valid");for(let d of s)c(d)?u(d):(t.if((0,l1e.propertyInData)(t,i,d,a.opts.ownProperties)),u(d),a.allErrors||t.else().var(l,!0),t.endIf()),e.it.definedProperties.add(d),e.ok(l);function c(d){return a.opts.useDefaults&&!a.compositeRule&&r[d].default!==void 0}function u(d){e.subschema({keyword:"properties",schemaProp:d,dataProp:d},l)}}};Hj.default=rgt});var m1e=h(Gj=>{"use strict";Object.defineProperty(Gj,"__esModule",{value:!0});var d1e=Za(),F8=Be(),p1e=it(),f1e=it(),ngt={keyword:"patternProperties",type:"object",schemaType:"object",code(e){let{gen:t,schema:r,data:n,parentSchema:i,it:a}=e,{opts:o}=a,s=(0,d1e.allSchemaProperties)(r),l=s.filter(y=>(0,p1e.alwaysValidSchema)(a,r[y]));if(s.length===0||l.length===s.length&&(!a.opts.unevaluated||a.props===!0))return;let c=o.strictSchema&&!o.allowMatchingProperties&&i.properties,u=t.name("valid");a.props!==!0&&!(a.props instanceof F8.Name)&&(a.props=(0,f1e.evaluatedPropsToName)(t,a.props));let{props:d}=a;f();function f(){for(let y of s)c&&p(y),a.allErrors?m(y):(t.var(u,!0),m(y),t.if(u))}function p(y){for(let v in c)new RegExp(y).test(v)&&(0,p1e.checkStrictMode)(a,`property ${v} matches pattern ${y} (use allowMatchingProperties)`)}function m(y){t.forIn("key",n,v=>{t.if((0,F8._)`${(0,d1e.usePattern)(e,y)}.test(${v})`,()=>{let S=l.includes(y);S||e.subschema({keyword:"patternProperties",schemaProp:y,dataProp:v,dataPropType:f1e.Type.Str},u),a.opts.unevaluated&&d!==!0?t.assign((0,F8._)`${d}[${v}]`,!0):!S&&!a.allErrors&&t.if((0,F8.not)(u),()=>t.break())})})}}};Gj.default=ngt});var h1e=h(Jj=>{"use strict";Object.defineProperty(Jj,"__esModule",{value:!0});var igt=it(),agt={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){let{gen:t,schema:r,it:n}=e;if((0,igt.alwaysValidSchema)(n,r)){e.fail();return}let i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};Jj.default=agt});var g1e=h(Kj=>{"use strict";Object.defineProperty(Kj,"__esModule",{value:!0});var ogt=Za(),sgt={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:ogt.validateUnion,error:{message:"must match a schema in anyOf"}};Kj.default=sgt});var y1e=h(Xj=>{"use strict";Object.defineProperty(Xj,"__esModule",{value:!0});var $8=Be(),lgt=it(),cgt={message:"must match exactly one schema in oneOf",params:({params:e})=>(0,$8._)`{passingSchemas: ${e.passing}}`},ugt={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:cgt,code(e){let{gen:t,schema:r,parentSchema:n,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(i.opts.discriminator&&n.discriminator)return;let a=r,o=t.let("valid",!1),s=t.let("passing",null),l=t.name("_valid");e.setParams({passing:s}),t.block(c),e.result(o,()=>e.reset(),()=>e.error(!0));function c(){a.forEach((u,d)=>{let f;(0,lgt.alwaysValidSchema)(i,u)?t.var(l,!0):f=e.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},l),d>0&&t.if((0,$8._)`${l} && ${o}`).assign(o,!1).assign(s,(0,$8._)`[${s}, ${d}]`).else(),t.if(l,()=>{t.assign(o,!0),t.assign(s,d),f&&e.mergeEvaluated(f,$8.Name)})})}}};Xj.default=ugt});var b1e=h(Yj=>{"use strict";Object.defineProperty(Yj,"__esModule",{value:!0});var dgt=it(),pgt={keyword:"allOf",schemaType:"array",code(e){let{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");let i=t.name("valid");r.forEach((a,o)=>{if((0,dgt.alwaysValidSchema)(n,a))return;let s=e.subschema({keyword:"allOf",schemaProp:o},i);e.ok(i),e.mergeEvaluated(s)})}};Yj.default=pgt});var w1e=h(Qj=>{"use strict";Object.defineProperty(Qj,"__esModule",{value:!0});var U8=Be(),_1e=it(),fgt={message:({params:e})=>(0,U8.str)`must match "${e.ifClause}" schema`,params:({params:e})=>(0,U8._)`{failingKeyword: ${e.ifClause}}`},mgt={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:fgt,code(e){let{gen:t,parentSchema:r,it:n}=e;r.then===void 0&&r.else===void 0&&(0,_1e.checkStrictMode)(n,'"if" without "then" and "else" is ignored');let i=v1e(n,"then"),a=v1e(n,"else");if(!i&&!a)return;let o=t.let("valid",!0),s=t.name("_valid");if(l(),e.reset(),i&&a){let u=t.let("ifClause");e.setParams({ifClause:u}),t.if(s,c("then",u),c("else",u))}else i?t.if(s,c("then")):t.if((0,U8.not)(s),c("else"));e.pass(o,()=>e.error(!0));function l(){let u=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},s);e.mergeEvaluated(u)}function c(u,d){return()=>{let f=e.subschema({keyword:u},s);t.assign(o,s),e.mergeValidEvaluated(f,o),d?t.assign(d,(0,U8._)`${u}`):e.setParams({ifClause:u})}}}};function v1e(e,t){let r=e.schema[t];return r!==void 0&&!(0,_1e.alwaysValidSchema)(e,r)}Qj.default=mgt});var S1e=h(eP=>{"use strict";Object.defineProperty(eP,"__esModule",{value:!0});var hgt=it(),ggt={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){t.if===void 0&&(0,hgt.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};eP.default=ggt});var E1e=h(tP=>{"use strict";Object.defineProperty(tP,"__esModule",{value:!0});var ygt=Rj(),bgt=Qhe(),vgt=Fj(),_gt=t1e(),wgt=r1e(),Sgt=a1e(),Egt=s1e(),xgt=Wj(),Ogt=u1e(),Cgt=m1e(),Tgt=h1e(),Igt=g1e(),Agt=y1e(),Dgt=b1e(),Lgt=w1e(),kgt=S1e();function Ngt(e=!1){let t=[Tgt.default,Igt.default,Agt.default,Dgt.default,Lgt.default,kgt.default,Egt.default,xgt.default,Sgt.default,Ogt.default,Cgt.default];return e?t.push(bgt.default,_gt.default):t.push(ygt.default,vgt.default),t.push(wgt.default),t}tP.default=Ngt});var x1e=h(rP=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});var pr=Be(),jgt={message:({schemaCode:e})=>(0,pr.str)`must match format "${e}"`,params:({schemaCode:e})=>(0,pr._)`{format: ${e}}`},Pgt={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:jgt,code(e,t){let{gen:r,data:n,$data:i,schema:a,schemaCode:o,it:s}=e,{opts:l,errSchemaPath:c,schemaEnv:u,self:d}=s;if(!l.validateFormats)return;i?f():p();function f(){let m=r.scopeValue("formats",{ref:d.formats,code:l.code.formats}),y=r.const("fDef",(0,pr._)`${m}[${o}]`),v=r.let("fType"),S=r.let("format");r.if((0,pr._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>r.assign(v,(0,pr._)`${y}.type || "string"`).assign(S,(0,pr._)`${y}.validate`),()=>r.assign(v,(0,pr._)`"string"`).assign(S,y)),e.fail$data((0,pr.or)(E(),w()));function E(){return l.strictSchema===!1?pr.nil:(0,pr._)`${o} && !${S}`}function w(){let _=u.$async?(0,pr._)`(${y}.async ? await ${S}(${n}) : ${S}(${n}))`:(0,pr._)`${S}(${n})`,b=(0,pr._)`(typeof ${S} == "function" ? ${_} : ${S}.test(${n}))`;return(0,pr._)`${S} && ${S} !== true && ${v} === ${t} && !${b}`}}function p(){let m=d.formats[a];if(!m){E();return}if(m===!0)return;let[y,v,S]=w(m);y===t&&e.pass(_());function E(){if(l.strictSchema===!1){d.logger.warn(b());return}throw new Error(b());function b(){return`unknown format "${a}" ignored in schema at path "${c}"`}}function w(b){let A=b instanceof RegExp?(0,pr.regexpCode)(b):l.code.formats?(0,pr._)`${l.code.formats}${(0,pr.getProperty)(a)}`:void 0,j=r.scopeValue("formats",{key:a,ref:b,code:A});return typeof b=="object"&&!(b instanceof RegExp)?[b.type||"string",b.validate,(0,pr._)`${j}.validate`]:["string",b,j]}function _(){if(typeof m=="object"&&!(m instanceof RegExp)&&m.async){if(!u.$async)throw new Error("async format in sync schema");return(0,pr._)`await ${S}(${n})`}return typeof v=="function"?(0,pr._)`${S}(${n})`:(0,pr._)`${S}.test(${n})`}}}};rP.default=Pgt});var O1e=h(nP=>{"use strict";Object.defineProperty(nP,"__esModule",{value:!0});var Mgt=x1e(),Rgt=[Mgt.default];nP.default=Rgt});var C1e=h(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.contentVocabulary=Qh.metadataVocabulary=void 0;Qh.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Qh.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var I1e=h(iP=>{"use strict";Object.defineProperty(iP,"__esModule",{value:!0});var Fgt=Phe(),$gt=Jhe(),Ugt=E1e(),zgt=O1e(),T1e=C1e(),qgt=[Fgt.default,$gt.default,(0,Ugt.default)(),zgt.default,T1e.metadataVocabulary,T1e.contentVocabulary];iP.default=qgt});var D1e=h(z8=>{"use strict";Object.defineProperty(z8,"__esModule",{value:!0});z8.DiscrError=void 0;var A1e;(function(e){e.Tag="tag",e.Mapping="mapping"})(A1e||(z8.DiscrError=A1e={}))});var k1e=h(oP=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});var e1=Be(),aP=D1e(),L1e=x8(),Bgt=Tb(),Vgt=it(),Wgt={message:({params:{discrError:e,tagName:t}})=>e===aP.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>(0,e1._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`},Zgt={keyword:"discriminator",type:"object",schemaType:"object",error:Wgt,code(e){let{gen:t,data:r,schema:n,parentSchema:i,it:a}=e,{oneOf:o}=i;if(!a.opts.discriminator)throw new Error("discriminator: requires discriminator option");let s=n.propertyName;if(typeof s!="string")throw new Error("discriminator: requires propertyName");if(n.mapping)throw new Error("discriminator: mapping is not supported");if(!o)throw new Error("discriminator: requires oneOf keyword");let l=t.let("valid",!1),c=t.const("tag",(0,e1._)`${r}${(0,e1.getProperty)(s)}`);t.if((0,e1._)`typeof ${c} == "string"`,()=>u(),()=>e.error(!1,{discrError:aP.DiscrError.Tag,tag:c,tagName:s})),e.ok(l);function u(){let p=f();t.if(!1);for(let m in p)t.elseIf((0,e1._)`${c} === ${m}`),t.assign(l,d(p[m]));t.else(),e.error(!1,{discrError:aP.DiscrError.Mapping,tag:c,tagName:s}),t.endIf()}function d(p){let m=t.name("valid"),y=e.subschema({keyword:"oneOf",schemaProp:p},m);return e.mergeEvaluated(y,e1.Name),m}function f(){var p;let m={},y=S(i),v=!0;for(let _=0;_<o.length;_++){let b=o[_];if(b?.$ref&&!(0,Vgt.schemaHasRulesButRef)(b,a.self.RULES)){let j=b.$ref;if(b=L1e.resolveRef.call(a.self,a.schemaEnv.root,a.baseId,j),b instanceof L1e.SchemaEnv&&(b=b.schema),b===void 0)throw new Bgt.default(a.opts.uriResolver,a.baseId,j)}let A=(p=b?.properties)===null||p===void 0?void 0:p[s];if(typeof A!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);v=v&&(y||S(b)),E(A,_)}if(!v)throw new Error(`discriminator: "${s}" must be required`);return m;function S({required:_}){return Array.isArray(_)&&_.includes(s)}function E(_,b){if(_.const)w(_.const,b);else if(_.enum)for(let A of _.enum)w(A,b);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function w(_,b){if(typeof _!="string"||_ in m)throw new Error(`discriminator: "${s}" values must be unique strings`);m[_]=b}}}};oP.default=Zgt});var N1e=h(($7t,Hgt)=>{Hgt.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 P1e=h(($t,sP)=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.MissingRefError=$t.ValidationError=$t.CodeGen=$t.Name=$t.nil=$t.stringify=$t.str=$t._=$t.KeywordCxt=$t.Ajv=void 0;var Ggt=Ahe(),Jgt=I1e(),Kgt=k1e(),j1e=N1e(),Xgt=["/properties"],q8="http://json-schema.org/draft-07/schema",t1=class extends Ggt.default{_addVocabularies(){super._addVocabularies(),Jgt.default.forEach(t=>this.addVocabulary(t)),this.opts.discriminator&&this.addKeyword(Kgt.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let t=this.opts.$data?this.$dataMetaSchema(j1e,Xgt):j1e;this.addMetaSchema(t,q8,!1),this.refs["http://json-schema.org/schema"]=q8}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(q8)?q8:void 0)}};$t.Ajv=t1;sP.exports=$t=t1;sP.exports.Ajv=t1;Object.defineProperty($t,"__esModule",{value:!0});$t.default=t1;var Ygt=Cb();Object.defineProperty($t,"KeywordCxt",{enumerable:!0,get:function(){return Ygt.KeywordCxt}});var r1=Be();Object.defineProperty($t,"_",{enumerable:!0,get:function(){return r1._}});Object.defineProperty($t,"str",{enumerable:!0,get:function(){return r1.str}});Object.defineProperty($t,"stringify",{enumerable:!0,get:function(){return r1.stringify}});Object.defineProperty($t,"nil",{enumerable:!0,get:function(){return r1.nil}});Object.defineProperty($t,"Name",{enumerable:!0,get:function(){return r1.Name}});Object.defineProperty($t,"CodeGen",{enumerable:!0,get:function(){return r1.CodeGen}});var Qgt=S8();Object.defineProperty($t,"ValidationError",{enumerable:!0,get:function(){return Qgt.default}});var e0t=Tb();Object.defineProperty($t,"MissingRefError",{enumerable:!0,get:function(){return e0t.default}})});var R1e=h(Ja=>{"use strict";var t0t=Ja&&Ja.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),r0t=Ja&&Ja.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n0t=Ja&&Ja.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&t0t(t,e,r);return r0t(t,e),t},i0t=Ja&&Ja.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ja,"__esModule",{value:!0});Ja.SchemaValidator=void 0;var M1e=n0t(require("node:path")),a0t=i0t(P1e()),B8=He(),lP=Rr(),cP=wt(),uP=class{schemaPath;schemasDir;logger;schema;constructor(t,r){this.schemaPath=r,this.logger=t.child("SchemaValidator"),this.schemasDir=M1e.dirname(this.schemaPath)}async load(){return this.schema||(this.schema=(0,B8.parseJsonMap)(await lP.fs.promises.readFile(this.schemaPath,"utf8")),this.logger.debug(`Schema loaded for ${this.schemaPath}`)),this.schema}loadSync(){return this.schema||(this.schema=(0,B8.parseJsonMap)(lP.fs.readFileSync(this.schemaPath,"utf8")),this.logger.debug(`Schema loaded for ${this.schemaPath}`)),this.schema}async validate(t){return this.validateSync(t)}validateSync(t){let r=this.loadSync(),n=this.loadExternalSchemas(r),a=new a0t.default({allErrors:!0,allowUnionTypes:!0,schemas:n,useDefaults:!0,strictSchema:!1,validateSchema:!1}).compile(r),o=structuredClone(t);if(!a(o))if(a.errors){let l=this.getErrorsText(a.errors);throw new cP.SfError(`Validation errors:
|
||
${l}`,"ValidationSchemaFieldError")}else throw new cP.SfError("Unknown schema validation error","ValidationSchemaUnknownError");return o}loadExternalSchemas(t){return(0,B8.getJsonValuesByName)(t,"$ref").map(r=>r&&RegExp(/([\w\.]+)#/).exec(r)).map(r=>r?.[1]).filter(r=>!!r).map(r=>this.loadExternalSchema(r))}loadExternalSchema(t){let r=M1e.join(this.schemasDir,`${t}.json`);try{return(0,B8.parseJsonMap)(lP.fs.readFileSync(r,"utf8"))}catch(n){throw n.code==="ENOENT"?new cP.SfError(`Schema not found: ${r}`,"ValidationSchemaNotFound"):n}}getErrorsText(t){return t.map(r=>{let n=`${r.schemaPath}: ${r.message??"<no error message>"}`;switch(r.keyword){case"additionalProperties":return`${n} '${r.params.additionalProperty}'`;case"enum":return`${n} '${r.params.allowedValues.join(", ")}'`;default:return n}}).join(`
|
||
`)}};Ja.SchemaValidator=uP});var F1e=h(V8=>{"use strict";Object.defineProperty(V8,"__esModule",{value:!0});V8.CometClient=void 0;var o0t=require("node:events"),dP=class extends o0t.EventEmitter{};V8.CometClient=dP});var z1e=h(Ic=>{"use strict";var s0t=Ic&&Ic.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ic,"__esModule",{value:!0});Ic.StreamingClient=Ic.CometClient=void 0;var l0t=require("node:url"),n1=He(),pP=Ke(),fP=s0t(VI()),U1e=yt(),W8=wt(),c0t=bt(),u0t=F1e();Object.defineProperty(Ic,"CometClient",{enumerable:!0,get:function(){return u0t.CometClient}});var zb=new c0t.Messages("@salesforce/core","streaming",new Map([["genericTimeout","Socket timeout occurred while listening for results."],["genericHandshakeTimeout","The streaming request failed to handshake at %s."],["handshakeApiVersionError","Invalid API version specified for streaming connection handshake: %s"],["handshakeApiVersionError.actions",["Set the API version to match the org as an environment variable (e.g., SFDX_API_VERSION=XX.0)."]],["waitParamValidValueError","Invalid value was specified for wait. Please provide a wait value greater than %s minutes."],["invalidApiVersion","Invalid api version is being reported by config (apiVersion=%s)."]]));function $1e(e,t){if(e.milliseconds>=t.milliseconds)return e;throw zb.createError("waitParamValidValueError",[t.minutes])}var qb=class e extends n1.AsyncOptionalCreatable{targetUrl;options;logger;cometClient;constructor(t){super(t),this.options=(0,pP.ensure)(t);let r=(0,pP.ensure)(this.options.org.getConnection().getAuthInfoFields().instanceUrl);this.targetUrl=(0,l0t.resolve)(r,`cometd/${this.options.apiVersion}`),this.cometClient=this.options.streamingImpl.getCometClient(this.targetUrl),this.options.streamingImpl.setLogger(this.log.bind(this)),this.cometClient.on("transport:up",()=>this.log("Transport up event received")),this.cometClient.on("transport:down",()=>this.log("Transport down event received")),this.cometClient.addExtension({incoming:this.incoming.bind(this)}),this.cometClient.disable("websocket")}async init(){let t=this.options.org.getConnection();this.options.apiVersion=this.options.apiVersion||t.getApiVersion(),this.logger=await U1e.Logger.child(this.constructor.name),await this.options.org.refreshAuth();let r=t.getConnectionOptions().accessToken;if(r&&r.length>5)this.logger.debug(`accessToken: XXXXXX${r.substring(r.length-5,r.length-1)}`),this.cometClient.setHeader("Authorization",`OAuth ${r}`);else throw new W8.SfError("Missing or invalid access token","MissingOrInvalidAccessToken");this.log(`Streaming client target url: ${this.targetUrl}`),this.log(`options.subscribeTimeout (ms): ${this.options.subscribeTimeout.milliseconds}`),this.log(`options.handshakeTimeout (ms): ${this.options.handshakeTimeout.milliseconds}`)}replay(t){this.cometClient.addExtension({outgoing:(r,n)=>{if(r.channel==="/meta/subscribe"){r.ext||(r.ext={});let i={};i[this.options.channel]=t,(0,n1.set)(r,"ext.replay",i)}n(r)}})}handshake(){let t;return new Promise((r,n)=>{t=setTimeout(()=>{let i=zb.createError("genericHandshakeTimeout",[this.targetUrl]);this.doTimeout(t,i),n(i)},this.options.handshakeTimeout.milliseconds),this.cometClient.handshake(()=>{this.log("handshake completed"),clearTimeout(t),this.log("cleared handshake timeout"),r(e.ConnectionState.CONNECTED)})})}subscribe(t){let r;return new Promise((n,i)=>new Promise((a,o)=>{r=setTimeout(()=>{let l=zb.createError("genericTimeout");this.doTimeout(r,l),i(l)},this.options.subscribeTimeout.milliseconds);let s=this.cometClient.subscribe(this.options.channel,l=>{try{let c=this.options.streamProcessor(l);c?.completed&&(clearTimeout(r),this.disconnectClient(),n(c.payload))}catch(c){clearTimeout(r),this.disconnectClient(),i(c)}});s.callback(()=>{a()}),s.errback(l=>{o(l)})}).then(()=>t?.()).catch(a=>{this.disconnect(),clearTimeout(r),i(a)}))}incoming(t,r){if(this.log(t),t&&t.channel==="/meta/handshake"&&t.error&&(0,pP.ensureString)(t.error).includes("400::API version in the URI is mandatory"))throw zb.createError("handshakeApiVersionError",[this.options.apiVersion]);r(t)}doTimeout(t,r){return this.disconnect(),clearTimeout(t),this.log(JSON.stringify(r)),r}disconnectClient(){this.cometClient&&this.cometClient.disconnect()}disconnect(){if(this.log("Disconnecting the comet client"),this.cometClient._dispatcher){this.log("Closing the faye dispatcher");let t=this.cometClient._dispatcher;this.log(`dispatcher.clientId: ${t.clientId}`),t.clientId?this.disconnectClient():t.close()}}log(t){this.logger&&this.logger.debug(t)}};Ic.StreamingClient=qb;(function(e){class t{static SFDX_ENABLE_FAYE_COOKIES_ALLOW_ALL_PATHS="SFDX_ENABLE_FAYE_REQUEST_RESPONSE_LOGGING";static SFDX_ENABLE_FAYE_REQUEST_RESPONSE_LOGGING="SFDX_ENABLE_FAYE_REQUEST_RESPONSE_LOGGING";static DEFAULT_SUBSCRIBE_TIMEOUT=n1.Duration.minutes(3);static DEFAULT_HANDSHAKE_TIMEOUT=n1.Duration.seconds(30);apiVersion;org;streamProcessor;subscribeTimeout;handshakeTimeout;channel;streamingImpl;constructor(a,o,s,l=n1.env){if(l&&U1e.Logger.childFromRoot("StreamingClient").warn("envDep is deprecated"),!s)throw new W8.SfError("Missing stream processor","MissingArg");if(!a)throw new W8.SfError("Missing org","MissingArg");if(!o)throw new W8.SfError("Missing streaming channel","MissingArg");if(this.org=a,this.apiVersion=a.getConnection().getApiVersion(),o.startsWith("/system")&&(this.apiVersion="36.0"),!(parseFloat(this.apiVersion)>0))throw zb.createError("invalidApiVersion",[this.apiVersion]);this.streamProcessor=s,this.channel=o,this.subscribeTimeout=e.DefaultOptions.DEFAULT_SUBSCRIBE_TIMEOUT,this.handshakeTimeout=e.DefaultOptions.DEFAULT_HANDSHAKE_TIMEOUT,this.streamingImpl={getCometClient:c=>new fP.default.Client(c),setLogger:c=>{fP.default.logger={},["info","error","fatal","warn","debug"].forEach(u=>{(0,n1.set)(fP.default.logger,u,c)})}}}setSubscribeTimeout(a){this.subscribeTimeout=$1e(a,t.DEFAULT_SUBSCRIBE_TIMEOUT)}setHandshakeTimeout(a){this.handshakeTimeout=$1e(a,t.DEFAULT_HANDSHAKE_TIMEOUT)}}e.DefaultOptions=t;let r;(function(i){i[i.CONNECTED=0]="CONNECTED"})(r=e.ConnectionState||(e.ConnectionState={}));let n;(function(i){i.HANDSHAKE="GenericHandshakeTimeoutError",i.SUBSCRIBE="GenericTimeoutError"})(n=e.TimeoutErrorType||(e.TimeoutErrorType={}))})(qb||(Ic.StreamingClient=qb={}))});var hP=h(Z8=>{"use strict";Object.defineProperty(Z8,"__esModule",{value:!0});Z8.PermissionSetAssignment=void 0;var d0t=require("node:os"),q1e=He(),p0t=yt(),f0t=bt(),m0t=wt(),ef=new f0t.Messages("@salesforce/core","permissionSetAssignment",new Map([["orgRequired","An Org instance is required."],["userIdRequired","A Salesforce id for the user is required."],["permSetRequired","The name of a permission set is required."],["unexpectedType","An unexpected response was returned from the permission set assignment."],["assignCommandPermissionSetNotFoundError",'Permission set "%s" not found in target org. Do you need to push source?'],["assignCommandPermissionSetNotFoundForNSError",'Permission set "%s" for namespace "%s" not found in target org. Do you need to push source or install the package?'],["errorsEncounteredCreatingAssignment","Error(s) were reported."],["notSuccessfulButNoErrorsReported","The permission set assignment failed but no errors were reported."]])),mP=class e{logger;org;constructor(t,r){this.logger=r,this.org=t}static async init(t){if(!t)throw ef.createError("orgRequired");return new e(t,await p0t.Logger.child("PermissionSetAssignment"))}async create(t,r){if(!t)throw ef.createError("userIdRequired");if(!r)throw ef.createError("permSetRequired");let{nsPrefix:n,permSetName:i}=this.parsePermissionSetString(r),a=`SELECT Id FROM PermissionSet WHERE Name='${i}'`;n&&(a+=` AND NamespacePrefix='${n}'`);let s=(await this.org.getConnection().query(a))?.records[0]?.Id;if(!s)throw n?ef.createError("assignCommandPermissionSetNotFoundForNSError",[i,n]):ef.createError("assignCommandPermissionSetNotFoundError",[i]);let l={assigneeId:t,permissionSetId:s},c=await this.org.getConnection().sobject("PermissionSetAssignment").create((0,q1e.mapKeys)(l,(u,d)=>(0,q1e.upperFirst)(d)));if(c.success===!1){if(!c.errors?.length)throw ef.createError("notSuccessfulButNoErrorsReported");let u=[ef.getMessage("errorsEncounteredCreatingAssignment")].concat((c.errors??[]).map(d=>typeof d=="string"?d:d.fields?`${d.message} on fields ${d.fields.join(",")}`:d.message)).join(d0t.EOL);throw new m0t.SfError(u,"errorsEncounteredCreatingAssignment")}else return l}parsePermissionSetString(t){let r=RegExp(/(\w+(?=__))(__)(.*)/).exec(t);if(r)try{let n=r[1],i=r[3];return this.logger.debug(`Using namespacePrefix ${n} for permission set ${i}`),{nsPrefix:n,permSetName:i}}catch(n){this.logger.debug(n)}return{nsPrefix:void 0,permSetName:t}}};Z8.PermissionSetAssignment=mP});var K1e=h(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.User=nr.DefaultUserFields=nr.REQUIRED_FIELDS=void 0;var B1e=require("node:os"),Ac=He(),Xr=Ke(),h0t=sm(),H1e=yt(),g0t=bt(),V1e=xx(),gP=wt(),G1e=jl(),G8=wp(),y0t=hP(),J8=sc(),W1e=e=>Math.floor(Math.random()*e.length),H8={LOWER:"abcdefghijklmnopqrstuvwxyz",UPPER:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",NUMBERS:"1234567890",SYMBOLS:["!","@","#","$","%","^","&","*","(",")","_","[","]","|","-"]},Z1e={0:{LOWER:!0},1:{LOWER:!0,NUMBERS:!0},2:{LOWER:!0,SYMBOLS:!0},3:{LOWER:!0,UPPER:!0,NUMBERS:!0},4:{LOWER:!0,UPPER:!0,SYMBOLS:!0},5:{LOWER:!0,UPPER:!0,NUMBERS:!0,SYMBOLS:!0}},b0t="/services/scim/v1/Users",v0t={"auto-approve-user":"true"},sd=new g0t.Messages("@salesforce/core","user",new Map([["orgRequired","An org instance is required."],["userQueryFailed","Failed to query for the user %s."],["invalidHttpResponseCreatingUser","An invalid http response code (%s) was received while trying to create a user."],["missingFields","The fields parameters is undefined."],["missingId","The Salesforce id for the user is required."],["permsetNamesAreRequired","The permission set names are missing but required."],["complexityOutOfBound","Invalid complexity value. Specify a value between 0 and 5, inclusive."],["lengthOutOfBound","Invalid length value. Specify a value between 8 and 1000, inclusive."],["problemsDescribingTheUserObject","Problems occurred while attempting to describe the user object."]]));nr.REQUIRED_FIELDS={id:"id",username:"username",lastName:"lastName",alias:"alias",timeZoneSidKey:"timeZoneSidKey",localeSidKey:"localeSidKey",emailEncodingKey:"emailEncodingKey",profileId:"profileId",languageLocaleKey:"languageLocaleKey",email:"email"};async function J1e(e,t){let r=await G8.Connection.create({authInfo:await J8.AuthInfo.create({username:t})}),n=await w0t(e)(r)(t),a=`SELECT ${Object.keys(nr.REQUIRED_FIELDS).map(Ac.upperFirst).filter(Xr.isString).join(", ")} FROM User WHERE Username='${n}'`,o=await r.query(a);if(e.debug("Successfully retrieved the admin user for this org."),o.totalSize===1){let s=(0,Ac.mapKeys)(o.records[0],(c,u)=>(0,Ac.lowerFirst)(u));return{id:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.id]),username:t,alias:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.alias]),email:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.email]),emailEncodingKey:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.emailEncodingKey]),languageLocaleKey:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.languageLocaleKey]),localeSidKey:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.localeSidKey]),profileId:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.profileId]),lastName:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.lastName]),timeZoneSidKey:(0,Xr.ensureString)(s[nr.REQUIRED_FIELDS.timeZoneSidKey])}}else throw sd.createError("userQueryFailed",[n])}async function _0t(e,t){if(!(0,G1e.validateSalesforceId)(e)){let r=`SELECT Id FROM Profile WHERE name='${e}'`,n=await t.query(r);if(n.records.length>0)return n.records[0].Id}return e}var yP=class extends Ac.AsyncCreatable{logger;userFields;options;constructor(t){super(t),this.options=t||{templateUser:""}}getFields(){return this.userFields}async init(){this.logger=await H1e.Logger.child("DefaultUserFields"),this.userFields=await J1e(this.logger,this.options.templateUser),this.userFields.profileId=await _0t("Standard User",await G8.Connection.create({authInfo:await J8.AuthInfo.create({username:this.options.templateUser})})),this.logger.debug(`Standard User profileId: ${this.userFields.profileId}`),this.options.newUserName?this.userFields.username=this.options.newUserName:this.userFields.username=`${Date.now()}_${this.userFields.username}`}};nr.DefaultUserFields=yP;var bP=class e extends Ac.AsyncCreatable{org;logger;constructor(t){super(t),this.org=t.org}static generatePasswordUtf8(t={length:13,complexity:5}){if(!Z1e[t.complexity]){let i=sd.getMessage("complexityOutOfBound");throw new gP.SfError(i,"complexityOutOfBound")}if(t.length<8||t.length>1e3){let i=sd.getMessage("lengthOutOfBound");throw new gP.SfError(i,"lengthOutOfBound")}let r=[];["SYMBOLS","NUMBERS","UPPER","LOWER"].forEach(i=>{Z1e[t.complexity][i]&&r.push(H8[i][W1e(H8[i])])}),r=r.concat(Array(Math.max(t.length-r.length,0)).fill("0").map(()=>H8.LOWER[W1e(H8.LOWER)])),r=r.sort(()=>Math.random()-.5);let n=new V1e.SecureBuffer;return n.consume(Buffer.from(r.join(""),"utf8")),n}async init(){this.logger=await H1e.Logger.child("User"),await this.org.refreshAuth(),this.logger.debug("Auth refresh ok")}async assignPassword(t,r=e.generatePasswordUtf8()){this.logger.debug(`Attempting to set password for userId: ${t.getFields().userId??"<undefined>"} username: ${t.getFields().username??"<undefined>"}`);let n=await G8.Connection.create({authInfo:t});return new Promise((i,a)=>{r.value(async o=>{try{let s=n.soap,l=(0,Xr.ensureString)(t.getFields().userId);await s.setPassword(l,o.toString("utf8")),this.logger.debug(`Set password for userId: ${l}`),i()}catch(s){a(s)}})})}async assignPermissionSets(t,r){if(!t)throw sd.createError("missingId");if(!r)throw sd.createError("permsetNamesAreRequired");let n=await y0t.PermissionSetAssignment.init(this.org);await Promise.all(r.map(i=>n.create(t,i)))}async createUser(t){let r=await this.createUserInternal(t),i=(await J8.AuthInfo.create({username:this.org.getUsername()})).getFields(!0),a={loginUrl:i.instanceUrl??i.loginUrl,refreshToken:r.buffer.value(s=>s.toString("utf8")),clientId:i.clientId,clientSecret:i.clientSecret,privateKey:i.privateKey},o=await J8.AuthInfo.create({username:t.username,oauth2Options:a});return o.update({userId:r.userId}),await this.describeUserAndSave(o),await this.org.addUsername(o),o}async retrieve(t){return J1e(this.logger,t)}async describeUserAndSave(t){let r=await G8.Connection.create({authInfo:t});if(this.logger.debug(`Created connection for user: ${t.getUsername()}`),(await r.describe("User"))?.fields)return await t.save(),t;throw sd.createError("permsetNamesAreRequired")}async createUserInternal(t){if(!t)throw sd.createError("missingFields");let r=this.org.getConnection(),n=JSON.stringify({username:t.username,emails:[t.email],name:{familyName:t.lastName},nickName:t.username.substring(0,40),entitlements:[{value:t.profileId}]});this.logger.debug(`user create request body: ${n}`);let i=r.normalizeUrl(b0t);this.logger.debug(`scimUrl: ${i}`);let a={method:"POST",url:i,headers:v0t,body:n},o=await this.rawRequest(r,a),s=(0,Ac.parseJsonMap)((0,Xr.ensureString)(o.body)),l=(0,Xr.asNumber)(o.statusCode);if(this.logger.debug(`user create response.statusCode: ${o.statusCode}`),!(l===201||l===200)){let p=sd.getMessage("invalidHttpResponseCreatingUser",[l]);if(s){let m=(0,Xr.asJsonArray)(s.Errors);m&&m.length>0&&(p=`${p} causes:${B1e.EOL}`,m.forEach(y=>{(0,Xr.isJsonMap)(y)&&(p=`${p}${B1e.EOL}${y.description}`)}))}throw this.logger.debug(p),new gP.SfError(p,"UserCreateHttpError")}let c={...t,id:(0,Xr.ensureString)(s.id)};await this.updateRequiredUserFields(c);let u=new V1e.SecureBuffer,d=(0,Xr.ensureJsonMap)(o.headers),f=(0,Xr.ensureString)(d["auto-approve-user"]);return u.consume(Buffer.from(f)),{buffer:u,userId:c.id}}async rawRequest(t,r){return new Promise((n,i)=>{let a=new h0t.HttpApi(t,r);a.on("response",o=>n(o)),a.request(r).catch(i)})}async updateRequiredUserFields(t){let r=(0,Ac.omit)(t,[nr.REQUIRED_FIELDS.username,nr.REQUIRED_FIELDS.email,nr.REQUIRED_FIELDS.lastName,nr.REQUIRED_FIELDS.profileId]),n=(0,Ac.mapKeys)(r,(i,a)=>(0,Ac.upperFirst)(a));await this.org.getConnection().sobject("User").update(n),this.logger.debug(`Successfully Updated additional properties for user: ${t.username}`)}};nr.User=bP;var w0t=e=>t=>async r=>{if((0,G1e.matchesOpaqueAccessToken)(r)){e.debug("received an accessToken for the username. Converting...");let n=(await t.identity()).username;return e.debug(`accessToken converted to ${n}`),n}return e.debug("not a accessToken"),r}});var age=h(G=>{"use strict";var S0t=G&&G.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),X1e=G&&G.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&S0t(t,e,r)},E0t=G&&G.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(G,"__esModule",{value:!0});G.lockInit=G.PermissionSetAssignment=G.User=G.REQUIRED_FIELDS=G.DefaultUserFields=G.MyDomainResolver=G.StreamingClient=G.CometClient=G.PollingClient=G.SfError=G.SchemaValidator=G.isNamedPackagingDirectory=G.isPackagingDirectory=G.SfProjectJson=G.SfProject=G.ORG_CONFIG_ALLOWED_PROPERTIES=G.OrgConfigProperties=G.OrgTypes=G.SandboxEvents=G.Org=G.Messages=G.Logger=G.LoggerLevel=G.generateApiName=G.getJwtAudienceUrl=G.SfdcUrl=G.WebOAuthServer=G.Lifecycle=G.Global=G.Mode=G.SFDX_HTTP_HEADERS=G.Connection=G.AuthRemover=G.AuthInfo=G.ConfigAggregator=G.SandboxRequestCache=G.SF_ALLOWED_PROPERTIES=G.SFDX_ALLOWED_PROPERTIES=G.SfConfigProperties=G.SfdxPropertyKeys=G.Config=G.OrgUsersConfig=G.DeviceOauthService=G.StateAggregator=G.EnvVars=G.SUPPORTED_ENV_VARS=G.EnvironmentVariable=G.envVars=G.TTLConfig=G.ConfigFile=void 0;G.fs=G.ScratchOrgSettingsGenerator=G.ScratchOrgCache=G.scratchOrgLifecycleStages=G.scratchOrgLifecycleEventName=G.ScratchOrgDefSchema=G.ProjectJsonSchema=G.scratchOrgResume=G.scratchOrgCreate=void 0;var W7t=bt(),x0t=nu();Object.defineProperty(G,"ConfigFile",{enumerable:!0,get:function(){return x0t.ConfigFile}});var O0t=M2();Object.defineProperty(G,"TTLConfig",{enumerable:!0,get:function(){return O0t.TTLConfig}});var K8=H2();Object.defineProperty(G,"envVars",{enumerable:!0,get:function(){return K8.envVars}});Object.defineProperty(G,"EnvironmentVariable",{enumerable:!0,get:function(){return K8.EnvironmentVariable}});Object.defineProperty(G,"SUPPORTED_ENV_VARS",{enumerable:!0,get:function(){return K8.SUPPORTED_ENV_VARS}});Object.defineProperty(G,"EnvVars",{enumerable:!0,get:function(){return K8.EnvVars}});var C0t=zf();Object.defineProperty(G,"StateAggregator",{enumerable:!0,get:function(){return C0t.StateAggregator}});var T0t=Yfe();Object.defineProperty(G,"DeviceOauthService",{enumerable:!0,get:function(){return T0t.DeviceOauthService}});var I0t=FA();Object.defineProperty(G,"OrgUsersConfig",{enumerable:!0,get:function(){return I0t.OrgUsersConfig}});var Bb=G0();Object.defineProperty(G,"Config",{enumerable:!0,get:function(){return Bb.Config}});Object.defineProperty(G,"SfdxPropertyKeys",{enumerable:!0,get:function(){return Bb.SfdxPropertyKeys}});Object.defineProperty(G,"SfConfigProperties",{enumerable:!0,get:function(){return Bb.SfConfigProperties}});Object.defineProperty(G,"SFDX_ALLOWED_PROPERTIES",{enumerable:!0,get:function(){return Bb.SFDX_ALLOWED_PROPERTIES}});Object.defineProperty(G,"SF_ALLOWED_PROPERTIES",{enumerable:!0,get:function(){return Bb.SF_ALLOWED_PROPERTIES}});var A0t=Qfe();Object.defineProperty(G,"SandboxRequestCache",{enumerable:!0,get:function(){return A0t.SandboxRequestCache}});var D0t=rc();Object.defineProperty(G,"ConfigAggregator",{enumerable:!0,get:function(){return D0t.ConfigAggregator}});var L0t=sc();Object.defineProperty(G,"AuthInfo",{enumerable:!0,get:function(){return L0t.AuthInfo}});var k0t=eme();Object.defineProperty(G,"AuthRemover",{enumerable:!0,get:function(){return k0t.AuthRemover}});var Y1e=wp();Object.defineProperty(G,"Connection",{enumerable:!0,get:function(){return Y1e.Connection}});Object.defineProperty(G,"SFDX_HTTP_HEADERS",{enumerable:!0,get:function(){return Y1e.SFDX_HTTP_HEADERS}});var Q1e=Cr();Object.defineProperty(G,"Mode",{enumerable:!0,get:function(){return Q1e.Mode}});Object.defineProperty(G,"Global",{enumerable:!0,get:function(){return Q1e.Global}});var N0t=sn();Object.defineProperty(G,"Lifecycle",{enumerable:!0,get:function(){return N0t.Lifecycle}});var j0t=NS();Object.defineProperty(G,"WebOAuthServer",{enumerable:!0,get:function(){return j0t.WebOAuthServer}});var P0t=ec();Object.defineProperty(G,"SfdcUrl",{enumerable:!0,get:function(){return P0t.SfdcUrl}});var M0t=rme();Object.defineProperty(G,"getJwtAudienceUrl",{enumerable:!0,get:function(){return M0t.getJwtAudienceUrl}});var R0t=nme();Object.defineProperty(G,"generateApiName",{enumerable:!0,get:function(){return R0t.generateApiName}});var ege=yt();Object.defineProperty(G,"LoggerLevel",{enumerable:!0,get:function(){return ege.LoggerLevel}});Object.defineProperty(G,"Logger",{enumerable:!0,get:function(){return ege.Logger}});var F0t=bt();Object.defineProperty(G,"Messages",{enumerable:!0,get:function(){return F0t.Messages}});var vP=lh();Object.defineProperty(G,"Org",{enumerable:!0,get:function(){return vP.Org}});Object.defineProperty(G,"SandboxEvents",{enumerable:!0,get:function(){return vP.SandboxEvents}});Object.defineProperty(G,"OrgTypes",{enumerable:!0,get:function(){return vP.OrgTypes}});var tge=Du();Object.defineProperty(G,"OrgConfigProperties",{enumerable:!0,get:function(){return tge.OrgConfigProperties}});Object.defineProperty(G,"ORG_CONFIG_ALLOWED_PROPERTIES",{enumerable:!0,get:function(){return tge.ORG_CONFIG_ALLOWED_PROPERTIES}});var X8=my();Object.defineProperty(G,"SfProject",{enumerable:!0,get:function(){return X8.SfProject}});Object.defineProperty(G,"SfProjectJson",{enumerable:!0,get:function(){return X8.SfProjectJson}});Object.defineProperty(G,"isPackagingDirectory",{enumerable:!0,get:function(){return X8.isPackagingDirectory}});Object.defineProperty(G,"isNamedPackagingDirectory",{enumerable:!0,get:function(){return X8.isNamedPackagingDirectory}});var $0t=R1e();Object.defineProperty(G,"SchemaValidator",{enumerable:!0,get:function(){return $0t.SchemaValidator}});var U0t=wt();Object.defineProperty(G,"SfError",{enumerable:!0,get:function(){return U0t.SfError}});var z0t=_p();Object.defineProperty(G,"PollingClient",{enumerable:!0,get:function(){return z0t.PollingClient}});var rge=z1e();Object.defineProperty(G,"CometClient",{enumerable:!0,get:function(){return rge.CometClient}});Object.defineProperty(G,"StreamingClient",{enumerable:!0,get:function(){return rge.StreamingClient}});var q0t=W0();Object.defineProperty(G,"MyDomainResolver",{enumerable:!0,get:function(){return q0t.MyDomainResolver}});var _P=K1e();Object.defineProperty(G,"DefaultUserFields",{enumerable:!0,get:function(){return _P.DefaultUserFields}});Object.defineProperty(G,"REQUIRED_FIELDS",{enumerable:!0,get:function(){return _P.REQUIRED_FIELDS}});Object.defineProperty(G,"User",{enumerable:!0,get:function(){return _P.User}});var B0t=hP();Object.defineProperty(G,"PermissionSetAssignment",{enumerable:!0,get:function(){return B0t.PermissionSetAssignment}});var V0t=i2();Object.defineProperty(G,"lockInit",{enumerable:!0,get:function(){return V0t.lockInit}});var nge=sN();Object.defineProperty(G,"scratchOrgCreate",{enumerable:!0,get:function(){return nge.scratchOrgCreate}});Object.defineProperty(G,"scratchOrgResume",{enumerable:!0,get:function(){return nge.scratchOrgResume}});var W0t=vD();Object.defineProperty(G,"ProjectJsonSchema",{enumerable:!0,get:function(){return W0t.ProjectJsonSchema}});var Z0t=rN();Object.defineProperty(G,"ScratchOrgDefSchema",{enumerable:!0,get:function(){return Z0t.ScratchOrgDefSchema}});var ige=yy();Object.defineProperty(G,"scratchOrgLifecycleEventName",{enumerable:!0,get:function(){return ige.scratchOrgLifecycleEventName}});Object.defineProperty(G,"scratchOrgLifecycleStages",{enumerable:!0,get:function(){return ige.scratchOrgLifecycleStages}});var H0t=PS();Object.defineProperty(G,"ScratchOrgCache",{enumerable:!0,get:function(){return H0t.ScratchOrgCache}});var G0t=tN();Object.defineProperty(G,"ScratchOrgSettingsGenerator",{enumerable:!0,get:function(){return E0t(G0t).default}});X1e(jl(),G);var J0t=Rr();Object.defineProperty(G,"fs",{enumerable:!0,get:function(){return J0t.fs}});X1e(J2(),G)});process.env.SFDX_ENV=process.env.SFDX_ENV||"test";process.env.SF_LOG_LEVEL=process.env.SF_LOG_LEVEL||"fatal";process.env.SF_DISABLE_TELEMETRY="true";var Vb=require("fs"),oge=require("path"),cge=require("readline"),{ConfigAggregator:K0t,Org:uge,OrgConfigProperties:X0t,StateAggregator:dge}=age(),Y0t="v1-beta.2",Dc="api.salesforce.com",Q0t=[".pc-rnd.salesforce.com",".pc-rnd.force.com"],eyt=["stm.salesforce.com","stm.force.com",".stm.salesforce.ms"],tyt=[".crm.dev","localhost.sfdcdev.",".internal."],ryt=/\.dev[a-z0-9]+\./,nyt=/\.perf\d\w*\./,iyt=/\.test\d+\./;function ayt(e){let t=(process.env.SF_API_ENV||"").toLowerCase();if(["prod","test","dev","perf","stage"].includes(t))return t==="prod"?Dc:`${t}.${Dc}`;let r=(e||"").toLowerCase();return eyt.some(n=>r.includes(n))?`stage.${Dc}`:Q0t.some(n=>r.includes(n))?ryt.test(r)?`dev.${Dc}`:nyt.test(r)?`perf.${Dc}`:iyt.test(r)?`test.${Dc}`:`test.${Dc}`:tyt.some(n=>r.includes(n))?`dev.${Dc}`:Dc}function pge(e,t){return`https://${ayt(t)}/platform/mcp/${Y0t}/platform/${e}`}async function Q8(e){let t=await e.request({method:"POST",url:`${e.instanceUrl}/ide/auth`,body:"{}",headers:{"Content-Type":"application/json"}}),r=typeof t=="string"?JSON.parse(t):t,n=r&&(r.jwt||r.result&&r.result.jwt)||null;if(typeof n!="string"||n.length===0)throw new Error("POST /ide/auth returned no jwt field");return n}function xr(e){process.stderr.write(`[sf-mcp-proxy] ${e}
|
||
`)}function wP(e,t){return e===404&&/Server definition not found/i.test(t||"")?"inactive":e===401||e===403?"auth":e>=200&&e<300||e===202?"ok":"unreachable"}function Y8(e,t){return`${e||""}::${t||""}`}function i1({slug:e,state:t,detail:r,source:n,httpStatus:i,org:a}){if(Vb.existsSync("sfdx-project.json"))try{let o=oge.join(process.cwd(),".sf","mcp-health");Vb.mkdirSync(o,{recursive:!0});let s={slug:e,state:t,detail:r||null,source:n,httpStatus:typeof i=="number"?i:null,checkedAt:new Date().toISOString(),org:a||null};Vb.writeFileSync(oge.join(o,`${e}.json`),JSON.stringify(s))}catch(o){xr(`failed to write health sidecar for '${e}': ${o&&o.message||o}`)}}async function fge(){let e=process.env.SF_TARGET_ORG||process.env.SFDX_TARGET_ORG;if(e)return e;let t=await K0t.create();await t.reload();let r=t.getInfo(X0t.TARGET_ORG);return r&&r.value?String(r.value):null}async function oyt(e,t){dge.clearInstance();let n=(await uge.create({aliasOrUsername:t})).getConnection(),i=pge(e,n.instanceUrl),a=await Q8(n);return{connection:n,upstreamUrl:i,jwt:a,instanceUrl:n.instanceUrl}}function Lc(e){process.stdout.write(JSON.stringify(e)+`
|
||
`)}function syt(e){try{let t=JSON.parse(e);return typeof t.method=="string"?t.method:null}catch{return null}}function sge(e,t,r){try{let n=JSON.parse(e);n.id!==void 0&&n.id!==null&&Lc({jsonrpc:"2.0",id:n.id,error:{code:t,message:r}})}catch{}}async function tf(e,t,r,n){let i={"Content-Type":"application/json",Accept:"application/json, text/event-stream",Authorization:`Bearer ${t}`};return r&&(i["Mcp-Session-Id"]=r),fetch(e,{method:"POST",headers:i,body:n})}async function lyt(e){let t=await e.text();if(!t.trim())return;let r;try{r=JSON.parse(t)}catch{xr(`upstream returned non-JSON body: ${t.slice(0,200)}`);return}if(Array.isArray(r))for(let n of r)Lc(n);else Lc(r)}async function cyt(e){let t="";for await(let r of e.body){t+=typeof r=="string"?r:Buffer.from(r).toString("utf8");let n;for(;(n=t.indexOf(`
|
||
|
||
`))>=0;){let i=t.slice(0,n);t=t.slice(n+2);let a=[];for(let s of i.split(`
|
||
`))s.startsWith("data:")&&a.push(s.slice(5).replace(/^ /,""));if(a.length===0)continue;let o=a.join(`
|
||
`);try{Lc(JSON.parse(o))}catch{xr(`SSE event with non-JSON data: ${o.slice(0,200)}`)}}}}async function lge(e){xr(`inactive: ${e} \u2014 serving an empty (zero-tool) MCP session so the client shows no connection error`);let t=cge.createInterface({input:process.stdin});for await(let r of t){if(!r.trim())continue;let n;try{n=JSON.parse(r)}catch{continue}let{id:i,method:a}=n;if(i!=null)if(a==="initialize"){let o=n.params&&n.params.protocolVersion;Lc({jsonrpc:"2.0",id:i,result:{protocolVersion:o||"2025-06-18",capabilities:{tools:{}},serverInfo:{name:"sf-mcp-proxy (inactive)",version:"0.1.0"}}})}else Lc(a==="tools/list"?{jsonrpc:"2.0",id:i,result:{tools:[]}}:a==="ping"?{jsonrpc:"2.0",id:i,result:{}}:{jsonrpc:"2.0",id:i,error:{code:-32601,message:"sf-mcp-proxy inactive in this context (no tools available)"}})}}async function uyt(e,t){let r=e.headers.get("mcp-session-id");if(r&&t(r),e.status===202)return;let n=(e.headers.get("content-type")||"").toLowerCase();if(n.startsWith("application/json")){await lyt(e);return}if(n.startsWith("text/event-stream")){await cyt(e);return}let i=await e.text();if(i.trim())try{Lc(JSON.parse(i))}catch{xr(`unexpected content-type "${n}", body: ${i.slice(0,200)}`)}}async function mge(e){let t=null;if(!Vb.existsSync("sfdx-project.json"))return{session:null,org:t,state:"env-not-ready",detail:"no sfdx-project.json in cwd \u2014 not a Salesforce project"};try{t=await fge()}catch(a){return{session:null,org:t,state:"unreachable",detail:a&&a.message||String(a)}}if(!t)return{session:null,org:t,state:"env-not-ready",detail:"No target org. Set one with: sf config set target-org <alias>"};let r;try{dge.clearInstance(),r=(await uge.create({aliasOrUsername:t})).getConnection()}catch(a){return{session:null,org:t,state:"unreachable",detail:a&&a.message||String(a)}}if(!r.instanceUrl)return{session:null,org:t,state:"env-not-ready",detail:"could not resolve an instance URL for the target org"};let n=pge(e,r.instanceUrl),i;try{i=await Q8(r)}catch(a){return{session:null,org:t,state:"auth",detail:a&&a.message||String(a)}}return{session:{connection:r,upstreamUrl:n,jwt:i},org:t,state:null,detail:null}}async function dyt(e){if(!e){xr("Usage: sf-mcp-proxy --probe <platform-mcp-slug>"),process.exit(2);return}let t=null,r=await mge(e),n=r.org,i=r.state,a=r.detail;if(r.session)try{let o=JSON.stringify({jsonrpc:"2.0",id:1,method:"initialize",params:{protocolVersion:"2025-06-18",capabilities:{},clientInfo:{name:"sf-mcp-proxy-probe",version:"0.1.0"}}}),s=await tf(r.session.upstreamUrl,r.session.jwt,null,o);t=s.status;let l=await s.text().catch(()=>"");i=wP(s.status,l),a=`HTTP ${s.status}${l.trim()?` ${l.trim().slice(0,200)}`:""}`}catch(o){i="unreachable",a=o&&o.message||String(o)}i1({slug:e,state:i,detail:a,source:"probe",httpStatus:t,org:n}),process.stdout.write(`${JSON.stringify({slug:e,state:i,detail:a,httpStatus:t,org:n})}
|
||
`,()=>process.exit(0))}async function pyt(){if(process.argv[2]==="--probe"){await dyt(process.argv[3]);return}let e=process.argv[2];if(e||(xr("Usage: sf-mcp-proxy <platform-mcp-slug>"),process.exit(2)),!Vb.existsSync("sfdx-project.json")){i1({slug:e,state:"env-not-ready",detail:"no sfdx-project.json in cwd \u2014 not a Salesforce project",source:"live",httpStatus:null,org:null}),await lge("no sfdx-project.json in cwd \u2014 not a Salesforce project");return}let t=await mge(e),r=t.session,n=t.org;if(!r){i1({slug:e,state:t.state,detail:t.detail,source:"live",httpStatus:null,org:n}),await lge(`failed to initialize (${t.state}): ${t.detail}`);return}xr(`bridging stdio <-> ${r.upstreamUrl} (org: ${n})`);let i=null,a=f=>{i=f},o=null,s=null,l=null;async function c(){if(!s)return!1;let f=await tf(r.upstreamUrl,r.jwt,null,s);if(f.status===401&&(r.jwt=await Q8(r.connection),f=await tf(r.upstreamUrl,r.jwt,null,s)),!f.ok&&f.status!==202){let m=await f.text().catch(()=>"");return xr(`initialize replay failed: upstream ${f.status}: ${m.slice(0,200)}`),!1}let p=f.headers.get("mcp-session-id");return p&&a(p),await f.text().catch(()=>{}),l&&i&&await tf(r.upstreamUrl,r.jwt,i,l).catch(m=>xr(`initialized-notification replay failed: ${m&&m.message||m}`)),xr(`replayed initialize -> session ${i?"established":"MISSING session-id"}`),!!i}async function u(){let f;try{f=await fge()}catch(p){xr(`target-org re-resolve failed, keeping current org: ${p&&p.message||p}`);return}if(!(!f||f===n)){xr(`target org changed: ${n} -> ${f} \u2014 rebuilding session`);try{r=await oyt(e,f),n=f,i=null,xr(`rebuilt session -> ${r.upstreamUrl} (org: ${n})`),await c()}catch(p){xr(`failed to switch to '${f}', keeping '${n}': ${p&&p.message||p}`)}}}let d=cge.createInterface({input:process.stdin});for await(let f of d)if(f.trim())try{let p=syt(f);p==="initialize"?s=f:p==="notifications/initialized"&&(l=f),await u();let m=await tf(r.upstreamUrl,r.jwt,i,f);if(m.status===401&&(xr("upstream 401 \u2014 re-minting JWT and retrying once"),r.jwt=await Q8(r.connection),m=await tf(r.upstreamUrl,r.jwt,i,f)),m.status===400&&p!=="initialize"&&s&&(await m.text().catch(()=>{}),xr("upstream 400 \u2014 re-establishing session and retrying once"),await c()&&(m=await tf(r.upstreamUrl,r.jwt,i,f))),!m.ok&&m.status!==202){let v=await m.text().catch(()=>"");xr(`upstream ${m.status}: ${v.slice(0,300)}`);let S=wP(m.status,v),E=Y8(n,S);o!==E&&(o=E,i1({slug:e,state:S,detail:`HTTP ${m.status}${v.trim()?` ${v.trim().slice(0,200)}`:""}`,source:"live",httpStatus:m.status,org:n}));let w=S==="inactive"?"Server not activated in this org \u2014 activate it in Salesforce Setup, then retry":`upstream HTTP ${m.status}`;sge(f,-32603,w);continue}let y=Y8(n,"ok");o!==y&&(o=y,i1({slug:e,state:"ok",detail:`HTTP ${m.status}`,source:"live",httpStatus:m.status,org:n})),await uyt(m,a)}catch(p){let m=p&&p.message||String(p);xr(`forward error: ${m}`);let y=Y8(n,"unreachable");o!==y&&(o=y,i1({slug:e,state:"unreachable",detail:`request failed: ${m.slice(0,200)}`,source:"live",httpStatus:null,org:n})),sge(f,-32603,`proxy error: ${m}`)}}require.main===module&&pyt().catch(e=>{xr(`fatal: ${e&&e.message||e}`),process.exit(1)});module.exports={classifyUpstream:wP,healthWriteKey:Y8};
|