@fern-api/php-dynamic-snippets 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/cjs/DynamicSnippetsGenerator.cjs +18 -11
  2. package/cjs/DynamicSnippetsGenerator.cjs.map +1 -1
  3. package/cjs/DynamicSnippetsGenerator.d.cts +1 -1
  4. package/cjs/{DynamicSnippetsGeneratorContext-7JXlOyjB.d.cts → DynamicSnippetsGeneratorContext-CwkDTYOI.d.cts} +3 -3
  5. package/cjs/EndpointSnippetGenerator.cjs +20 -13
  6. package/cjs/EndpointSnippetGenerator.cjs.map +1 -1
  7. package/cjs/EndpointSnippetGenerator.d.cts +5 -1
  8. package/cjs/context/DynamicSnippetsGeneratorContext.cjs +17 -10
  9. package/cjs/context/DynamicSnippetsGeneratorContext.cjs.map +1 -1
  10. package/cjs/context/DynamicSnippetsGeneratorContext.d.cts +1 -1
  11. package/cjs/context/DynamicTypeLiteralMapper.cjs +17 -10
  12. package/cjs/context/DynamicTypeLiteralMapper.cjs.map +1 -1
  13. package/cjs/context/DynamicTypeLiteralMapper.d.cts +1 -1
  14. package/cjs/context/FilePropertyMapper.cjs +17 -10
  15. package/cjs/context/FilePropertyMapper.cjs.map +1 -1
  16. package/cjs/context/FilePropertyMapper.d.cts +1 -1
  17. package/cjs/index.cjs +20 -25
  18. package/cjs/index.cjs.map +1 -1
  19. package/cjs/index.d.cts +1 -1
  20. package/esm/DynamicSnippetsGenerator.d.ts +1 -1
  21. package/esm/DynamicSnippetsGenerator.js +1 -1
  22. package/esm/{DynamicSnippetsGeneratorContext-7JXlOyjB.d.ts → DynamicSnippetsGeneratorContext-CwkDTYOI.d.ts} +3 -3
  23. package/esm/EndpointSnippetGenerator.d.ts +5 -1
  24. package/esm/EndpointSnippetGenerator.js +1 -1
  25. package/esm/chunk-3LG5WCZI.js +2 -0
  26. package/esm/chunk-3LG5WCZI.js.map +1 -0
  27. package/esm/{chunk-KU3OGJUU.js → chunk-3QAUV5WT.js} +2 -2
  28. package/esm/chunk-CPIHNCS3.js +4 -0
  29. package/esm/chunk-CPIHNCS3.js.map +1 -0
  30. package/esm/chunk-DFQIKN25.js +2 -0
  31. package/esm/{chunk-625QSFAH.js → chunk-EECVWAVT.js} +2 -2
  32. package/esm/{chunk-625QSFAH.js.map → chunk-EECVWAVT.js.map} +1 -1
  33. package/esm/chunk-PYHFKEW4.js +47 -0
  34. package/esm/chunk-PYHFKEW4.js.map +1 -0
  35. package/esm/chunk-XX3MRTVI.js +2 -0
  36. package/esm/chunk-XX3MRTVI.js.map +1 -0
  37. package/esm/context/DynamicSnippetsGeneratorContext.d.ts +1 -1
  38. package/esm/context/DynamicSnippetsGeneratorContext.js +1 -1
  39. package/esm/context/DynamicTypeLiteralMapper.d.ts +1 -1
  40. package/esm/context/DynamicTypeLiteralMapper.js +1 -1
  41. package/esm/context/FilePropertyMapper.d.ts +1 -1
  42. package/esm/context/FilePropertyMapper.js +1 -1
  43. package/esm/index.d.ts +1 -1
  44. package/esm/index.js +1 -13
  45. package/esm/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/esm/chunk-7MI6WLZG.js +0 -2
  48. package/esm/chunk-7MI6WLZG.js.map +0 -1
  49. package/esm/chunk-BYNT7UJT.js +0 -2
  50. package/esm/chunk-BYNT7UJT.js.map +0 -1
  51. package/esm/chunk-J4Y3S6QS.js +0 -40
  52. package/esm/chunk-J4Y3S6QS.js.map +0 -1
  53. package/esm/chunk-YKXTGZL6.js +0 -4
  54. package/esm/chunk-YKXTGZL6.js.map +0 -1
  55. package/esm/chunk-ZYT6M32A.js +0 -2
  56. /package/esm/{chunk-KU3OGJUU.js.map → chunk-3QAUV5WT.js.map} +0 -0
  57. /package/esm/{chunk-ZYT6M32A.js.map → chunk-DFQIKN25.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{a as g}from"./chunk-EECVWAVT.js";import{c as l}from"./chunk-3LG5WCZI.js";import{a as f}from"./chunk-3QAUV5WT.js";import{e as r,f as m,g as p,i as o,j as c,l as s,m as u}from"./chunk-PYHFKEW4.js";m();p();var h=["use","clone","list"],d="Requests",y="Types",C=class i extends l{constructor({ir:e,config:t}){var n;super({ir:e,config:t});r(this,"ir");r(this,"customConfig");r(this,"dynamicTypeLiteralMapper");r(this,"filePropertyMapper");r(this,"rootNamespace");this.ir=e,this.customConfig=t.customConfig!=null?t.customConfig:void 0,this.dynamicTypeLiteralMapper=new g({context:this}),this.filePropertyMapper=new f({context:this}),this.rootNamespace=F({organization:t.organization,namespaceOverride:(n=this.customConfig)==null?void 0:n.namespace})}clone(){return new i({ir:this.ir,config:this.config})}getParameterName(e){return this.prependUnderscoreIfNeeded(e.camelCase.unsafeName)}getPropertyName(e){return this.prependUnderscoreIfNeeded(e.camelCase.unsafeName)}getMethodName(e){let t=e.camelCase.unsafeName;return h.includes(t)?t:e.camelCase.safeName}getClassName(e){return u(e.pascalCase.safeName)}getRootClientClassName(){var e,t,n;return((e=this.customConfig)==null?void 0:e.clientName)!=null?this.customConfig.clientName:((t=this.customConfig)==null?void 0:t["client-class-name"])!=null?(n=this.customConfig)==null?void 0:n["client-class-name"]:this.getComputedClientName()}getEnvironmentsClassReference(){return s.classReference({name:"Environments",namespace:this.rootNamespace})}getRequestNamespace(e){return this.getNamespace(e,d)}getTypesNamespace(e){return this.getNamespace(e,y)}getNamespace(e,t){let n=e.allParts.map(N=>N.pascalCase.safeName);return n=t!=null?[...n,t]:n,[this.rootNamespace,...n].join("\\")}getEnvironmentClassAccessFromID(e){let t=this.resolveEnvironmentName(e);if(t!=null)return s.codeblock(n=>{n.writeNode(this.getEnvironmentClassReference(t)),n.write("::"),n.write(this.getClassName(t))})}getEnvironmentClassReference(e){return s.classReference({name:"Environments",namespace:this.rootNamespace})}prependUnderscoreIfNeeded(e){return/^[a-zA-Z_]/.test(e)?e:`_${e}`}getComputedClientName(){return`${this.getOrganizationPascalCase()}Client`}getOrganizationPascalCase(){return`${o(c(this.config.organization))}`}};function F({organization:i,namespaceOverride:a}){return a!=null?a:`${o(c(i))}`}export{C as a};
2
+ //# sourceMappingURL=chunk-XX3MRTVI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/context/DynamicSnippetsGeneratorContext.ts"],"sourcesContent":["import {\n AbstractDynamicSnippetsGeneratorContext,\n FernGeneratorExec\n} from \"@fern-api/browser-compatible-base-generator\";\nimport { FernIr } from \"@fern-api/dynamic-ir-sdk\";\nimport { BasePhpCustomConfigSchema, getSafeClassName, php } from \"@fern-api/php-codegen\";\nimport { camelCase, upperFirst } from \"lodash-es\";\n\nimport { DynamicTypeLiteralMapper } from \"./DynamicTypeLiteralMapper\";\nimport { FilePropertyMapper } from \"./FilePropertyMapper\";\n\nconst RESERVED_METHOD_NAMES = [\"use\", \"clone\", \"list\"];\nconst REQUEST_NAMESPACE = \"Requests\";\nconst TYPES_NAMESPACE = \"Types\";\n\nexport class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGeneratorContext {\n public ir: FernIr.dynamic.DynamicIntermediateRepresentation;\n public customConfig: BasePhpCustomConfigSchema | undefined;\n public dynamicTypeLiteralMapper: DynamicTypeLiteralMapper;\n public filePropertyMapper: FilePropertyMapper;\n public rootNamespace: string;\n constructor({\n ir,\n config\n }: {\n ir: FernIr.dynamic.DynamicIntermediateRepresentation;\n config: FernGeneratorExec.GeneratorConfig;\n }) {\n super({ ir, config });\n this.ir = ir;\n this.customConfig =\n config.customConfig != null ? (config.customConfig as BasePhpCustomConfigSchema) : undefined;\n this.dynamicTypeLiteralMapper = new DynamicTypeLiteralMapper({ context: this });\n this.filePropertyMapper = new FilePropertyMapper({ context: this });\n this.rootNamespace = getRootNamespace({\n organization: config.organization,\n namespaceOverride: this.customConfig?.namespace\n });\n }\n\n public clone(): DynamicSnippetsGeneratorContext {\n return new DynamicSnippetsGeneratorContext({\n ir: this.ir,\n config: this.config\n });\n }\n\n public getParameterName(name: FernIr.Name): string {\n return this.prependUnderscoreIfNeeded(name.camelCase.unsafeName);\n }\n\n public getPropertyName(name: FernIr.Name): string {\n return this.prependUnderscoreIfNeeded(name.camelCase.unsafeName);\n }\n\n public getMethodName(name: FernIr.Name): string {\n // TODO: Propogate reserved keywords through IR via CasingsGenerator.\n const unsafeName = name.camelCase.unsafeName;\n if (RESERVED_METHOD_NAMES.includes(unsafeName)) {\n return unsafeName;\n }\n return name.camelCase.safeName;\n }\n\n public getClassName(name: FernIr.Name): string {\n return getSafeClassName(name.pascalCase.safeName);\n }\n\n public getRootClientClassName(): string {\n if (this.customConfig?.clientName != null) {\n return this.customConfig.clientName;\n }\n if (this.customConfig?.[\"client-class-name\"] != null) {\n return this.customConfig?.[\"client-class-name\"];\n }\n return this.getComputedClientName();\n }\n\n public getEnvironmentsClassReference(): php.ClassReference {\n return php.classReference({\n name: \"Environments\",\n namespace: this.rootNamespace\n });\n }\n\n public getRequestNamespace(fernFilepath: FernIr.dynamic.FernFilepath): string {\n return this.getNamespace(fernFilepath, REQUEST_NAMESPACE);\n }\n\n public getTypesNamespace(fernFilepath: FernIr.dynamic.FernFilepath): string {\n return this.getNamespace(fernFilepath, TYPES_NAMESPACE);\n }\n\n public getNamespace(fernFilepath: FernIr.dynamic.FernFilepath, suffix?: string): string {\n let parts = fernFilepath.allParts.map((path) => path.pascalCase.safeName);\n parts = suffix != null ? [...parts, suffix] : parts;\n return [this.rootNamespace, ...parts].join(\"\\\\\");\n }\n\n public getEnvironmentClassAccessFromID(environmentID: string): php.AstNode | undefined {\n const environmentName = this.resolveEnvironmentName(environmentID);\n if (environmentName == null) {\n return undefined;\n }\n return php.codeblock((writer) => {\n writer.writeNode(this.getEnvironmentClassReference(environmentName));\n writer.write(\"::\");\n writer.write(this.getClassName(environmentName));\n });\n }\n\n public getEnvironmentClassReference(name: FernIr.Name): php.ClassReference {\n return php.classReference({\n name: \"Environments\",\n namespace: this.rootNamespace\n });\n }\n\n private prependUnderscoreIfNeeded(input: string): string {\n // https://www.php.net/manual/en/language.variables.basics.php\n if (!/^[a-zA-Z_]/.test(input)) {\n return `_${input}`;\n }\n return input;\n }\n\n private getComputedClientName(): string {\n return `${this.getOrganizationPascalCase()}Client`;\n }\n\n private getOrganizationPascalCase(): string {\n return `${upperFirst(camelCase(this.config.organization))}`;\n }\n}\n\nfunction getRootNamespace({\n organization,\n namespaceOverride\n}: {\n organization: string;\n namespaceOverride?: string;\n}): string {\n return namespaceOverride ?? `${upperFirst(camelCase(organization))}`;\n}\n"],"mappings":"0MAAAA,IAAAC,IAWA,IAAMC,EAAwB,CAAC,MAAO,QAAS,MAAM,EAC/CC,EAAoB,WACpBC,EAAkB,QAEXC,EAAN,MAAMC,UAAwCC,CAAwC,CAMzF,YAAY,CACR,GAAAC,EACA,OAAAC,CACJ,EAGG,CA3BP,IAAAC,EA4BQ,MAAM,CAAE,GAAAF,EAAI,OAAAC,CAAO,CAAC,EAZxBE,EAAA,KAAO,MACPA,EAAA,KAAO,gBACPA,EAAA,KAAO,4BACPA,EAAA,KAAO,sBACPA,EAAA,KAAO,iBASH,KAAK,GAAKH,EACV,KAAK,aACDC,EAAO,cAAgB,KAAQA,EAAO,aAA6C,OACvF,KAAK,yBAA2B,IAAIG,EAAyB,CAAE,QAAS,IAAK,CAAC,EAC9E,KAAK,mBAAqB,IAAIC,EAAmB,CAAE,QAAS,IAAK,CAAC,EAClE,KAAK,cAAgBC,EAAiB,CAClC,aAAcL,EAAO,aACrB,mBAAmBC,EAAA,KAAK,eAAL,YAAAA,EAAmB,SAC1C,CAAC,CACL,CAEO,OAAyC,CAC5C,OAAO,IAAIJ,EAAgC,CACvC,GAAI,KAAK,GACT,OAAQ,KAAK,MACjB,CAAC,CACL,CAEO,iBAAiBS,EAA2B,CAC/C,OAAO,KAAK,0BAA0BA,EAAK,UAAU,UAAU,CACnE,CAEO,gBAAgBA,EAA2B,CAC9C,OAAO,KAAK,0BAA0BA,EAAK,UAAU,UAAU,CACnE,CAEO,cAAcA,EAA2B,CAE5C,IAAMC,EAAaD,EAAK,UAAU,WAClC,OAAIb,EAAsB,SAASc,CAAU,EAClCA,EAEJD,EAAK,UAAU,QAC1B,CAEO,aAAaA,EAA2B,CAC3C,OAAOE,EAAiBF,EAAK,WAAW,QAAQ,CACpD,CAEO,wBAAiC,CApE5C,IAAAL,EAAAQ,EAAAC,EAqEQ,QAAIT,EAAA,KAAK,eAAL,YAAAA,EAAmB,aAAc,KAC1B,KAAK,aAAa,aAEzBQ,EAAA,KAAK,eAAL,YAAAA,EAAoB,uBAAwB,MACrCC,EAAA,KAAK,eAAL,YAAAA,EAAoB,qBAExB,KAAK,sBAAsB,CACtC,CAEO,+BAAoD,CACvD,OAAOC,EAAI,eAAe,CACtB,KAAM,eACN,UAAW,KAAK,aACpB,CAAC,CACL,CAEO,oBAAoBC,EAAmD,CAC1E,OAAO,KAAK,aAAaA,EAAclB,CAAiB,CAC5D,CAEO,kBAAkBkB,EAAmD,CACxE,OAAO,KAAK,aAAaA,EAAcjB,CAAe,CAC1D,CAEO,aAAaiB,EAA2CC,EAAyB,CACpF,IAAIC,EAAQF,EAAa,SAAS,IAAKG,GAASA,EAAK,WAAW,QAAQ,EACxE,OAAAD,EAAQD,GAAU,KAAO,CAAC,GAAGC,EAAOD,CAAM,EAAIC,EACvC,CAAC,KAAK,cAAe,GAAGA,CAAK,EAAE,KAAK,IAAI,CACnD,CAEO,gCAAgCE,EAAgD,CACnF,IAAMC,EAAkB,KAAK,uBAAuBD,CAAa,EACjE,GAAIC,GAAmB,KAGvB,OAAON,EAAI,UAAWO,GAAW,CAC7BA,EAAO,UAAU,KAAK,6BAA6BD,CAAe,CAAC,EACnEC,EAAO,MAAM,IAAI,EACjBA,EAAO,MAAM,KAAK,aAAaD,CAAe,CAAC,CACnD,CAAC,CACL,CAEO,6BAA6BX,EAAuC,CACvE,OAAOK,EAAI,eAAe,CACtB,KAAM,eACN,UAAW,KAAK,aACpB,CAAC,CACL,CAEQ,0BAA0BQ,EAAuB,CAErD,MAAK,aAAa,KAAKA,CAAK,EAGrBA,EAFI,IAAIA,CAAK,EAGxB,CAEQ,uBAAgC,CACpC,MAAO,GAAG,KAAK,0BAA0B,CAAC,QAC9C,CAEQ,2BAAoC,CACxC,MAAO,GAAGC,EAAWC,EAAU,KAAK,OAAO,YAAY,CAAC,CAAC,EAC7D,CACJ,EAEA,SAAShB,EAAiB,CACtB,aAAAiB,EACA,kBAAAC,CACJ,EAGW,CACP,OAAOA,GAAA,KAAAA,EAAqB,GAAGH,EAAWC,EAAUC,CAAY,CAAC,CAAC,EACtE","names":["init_process","init_buffer","RESERVED_METHOD_NAMES","REQUEST_NAMESPACE","TYPES_NAMESPACE","DynamicSnippetsGeneratorContext","_DynamicSnippetsGeneratorContext","AbstractDynamicSnippetsGeneratorContext","ir","config","_a","__publicField","DynamicTypeLiteralMapper","FilePropertyMapper","getRootNamespace","name","unsafeName","getSafeClassName","_b","_c","php_exports","fernFilepath","suffix","parts","path","environmentID","environmentName","writer","input","upperFirst_default","camelCase_default","organization","namespaceOverride"]}
@@ -1,4 +1,4 @@
1
1
  import '@fern-api/browser-compatible-base-generator';
2
2
  import '@fern-api/dynamic-ir-sdk';
3
3
  import '@fern-api/php-codegen';
4
- export { D as DynamicSnippetsGeneratorContext } from '../DynamicSnippetsGeneratorContext-7JXlOyjB.js';
4
+ export { D as DynamicSnippetsGeneratorContext } from '../DynamicSnippetsGeneratorContext-CwkDTYOI.js';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-BYNT7UJT.js";import"../chunk-625QSFAH.js";import"../chunk-7MI6WLZG.js";import"../chunk-KU3OGJUU.js";import"../chunk-J4Y3S6QS.js";export{a as DynamicSnippetsGeneratorContext};
1
+ import{a}from"../chunk-XX3MRTVI.js";import"../chunk-EECVWAVT.js";import"../chunk-3LG5WCZI.js";import"../chunk-3QAUV5WT.js";import"../chunk-PYHFKEW4.js";export{a as DynamicSnippetsGeneratorContext};
2
2
  //# sourceMappingURL=DynamicSnippetsGeneratorContext.js.map
@@ -1,4 +1,4 @@
1
1
  import '@fern-api/dynamic-ir-sdk';
2
2
  import '@fern-api/php-codegen';
3
- export { a as DynamicTypeLiteralMapper } from '../DynamicSnippetsGeneratorContext-7JXlOyjB.js';
3
+ export { a as DynamicTypeLiteralMapper } from '../DynamicSnippetsGeneratorContext-CwkDTYOI.js';
4
4
  import '@fern-api/browser-compatible-base-generator';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-625QSFAH.js";import"../chunk-7MI6WLZG.js";import"../chunk-J4Y3S6QS.js";export{a as DynamicTypeLiteralMapper};
1
+ import{a}from"../chunk-EECVWAVT.js";import"../chunk-3LG5WCZI.js";import"../chunk-PYHFKEW4.js";export{a as DynamicTypeLiteralMapper};
2
2
  //# sourceMappingURL=DynamicTypeLiteralMapper.js.map
@@ -1,4 +1,4 @@
1
1
  import '@fern-api/dynamic-ir-sdk';
2
2
  import '@fern-api/php-codegen';
3
- export { F as FilePropertyInfo, b as FilePropertyMapper } from '../DynamicSnippetsGeneratorContext-7JXlOyjB.js';
3
+ export { F as FilePropertyInfo, b as FilePropertyMapper } from '../DynamicSnippetsGeneratorContext-CwkDTYOI.js';
4
4
  import '@fern-api/browser-compatible-base-generator';
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-KU3OGJUU.js";import"../chunk-J4Y3S6QS.js";export{a as FilePropertyMapper};
1
+ import{a}from"../chunk-3QAUV5WT.js";import"../chunk-PYHFKEW4.js";export{a as FilePropertyMapper};
2
2
  //# sourceMappingURL=FilePropertyMapper.js.map
package/esm/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DynamicSnippetsGenerator } from './DynamicSnippetsGenerator.js';
2
2
  import '@fern-api/browser-compatible-base-generator';
3
3
  import '@fern-api/dynamic-ir-sdk';
4
- import './DynamicSnippetsGeneratorContext-7JXlOyjB.js';
4
+ import './DynamicSnippetsGeneratorContext-CwkDTYOI.js';
5
5
  import '@fern-api/php-codegen';
6
6
  import './EndpointSnippetGenerator.js';
package/esm/index.js CHANGED
@@ -1,14 +1,2 @@
1
- import{a as _a}from"./chunk-ZYT6M32A.js";import"./chunk-YKXTGZL6.js";import"./chunk-BYNT7UJT.js";import"./chunk-625QSFAH.js";import"./chunk-7MI6WLZG.js";import"./chunk-KU3OGJUU.js";import{e as pe,f as p,g as Ra,h as Da,i as Na,k as o,l as s,m as i}from"./chunk-J4Y3S6QS.js";var ce=p((ep,Ot)=>{"use strict";o();i();Ot.exports=Object});var xt=p((op,qt)=>{"use strict";o();i();qt.exports=Error});var $t=p((up,Pt)=>{"use strict";o();i();Pt.exports=EvalError});var Tt=p((lp,Et)=>{"use strict";o();i();Et.exports=RangeError});var Ft=p((yp,It)=>{"use strict";o();i();It.exports=ReferenceError});var ye=p((dp,Rt)=>{"use strict";o();i();Rt.exports=SyntaxError});var w=p((Sp,Dt)=>{"use strict";o();i();Dt.exports=TypeError});var _t=p((Ap,Nt)=>{"use strict";o();i();Nt.exports=URIError});var ve=p((xp,Bt)=>{"use strict";o();i();Bt.exports=Math.abs});var ge=p((Ep,Mt)=>{"use strict";o();i();Mt.exports=Math.floor});var Ut=p((Fp,Ct)=>{"use strict";o();i();Ct.exports=Math.max});var de=p((Np,Wt)=>{"use strict";o();i();Wt.exports=Math.min});var Gt=p((Mp,Lt)=>{"use strict";o();i();Lt.exports=Math.pow});var zt=p((Wp,kt)=>{"use strict";o();i();kt.exports=Math.round});var $r=p((kp,jt)=>{"use strict";o();i();jt.exports=Number.isNaN||function(r){return r!==r}});var Jt=p((Hp,Ht)=>{"use strict";o();i();var Ba=$r();Ht.exports=function(r){return Ba(r)||r===0?r:r<0?-1:1}});var Qt=p((Qp,Kt)=>{"use strict";o();i();Kt.exports=Object.getOwnPropertyDescriptor});var K=p((Zp,Yt)=>{"use strict";o();i();var Er=Qt();if(Er)try{Er([],"length")}catch(e){Er=null}Yt.exports=Er});var ur=p((ec,Xt)=>{"use strict";o();i();var Tr=Object.defineProperty||!1;if(Tr)try{Tr({},"a",{value:1})}catch(e){Tr=!1}Xt.exports=Tr});var he=p((oc,Zt)=>{"use strict";o();i();Zt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;r[t]=a;for(var u in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var f=Object.getOwnPropertySymbols(r);if(f.length!==1||f[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var y=Object.getOwnPropertyDescriptor(r,t);if(y.value!==a||y.enumerable!==!0)return!1}return!0}});var me=p((uc,rn)=>{"use strict";o();i();var Vt=typeof Symbol!="undefined"&&Symbol,Ma=he();rn.exports=function(){return typeof Vt!="function"||typeof Symbol!="function"||typeof Vt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ma()}});var Se=p((lc,en)=>{"use strict";o();i();en.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null});var be=p((yc,tn)=>{"use strict";o();i();var Ca=ce();tn.exports=Ca.getPrototypeOf||null});var an=p((dc,on)=>{"use strict";o();i();var Ua="Function.prototype.bind called on incompatible ",Wa=Object.prototype.toString,La=Math.max,Ga="[object Function]",nn=function(r,t){for(var n=[],a=0;a<r.length;a+=1)n[a]=r[a];for(var u=0;u<t.length;u+=1)n[u+r.length]=t[u];return n},ka=function(r,t){for(var n=[],a=t||0,u=0;a<r.length;a+=1,u+=1)n[u]=r[a];return n},za=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};on.exports=function(r){var t=this;if(typeof t!="function"||Wa.apply(t)!==Ga)throw new TypeError(Ua+t);for(var n=ka(arguments,1),a,u=function(){if(this instanceof a){var g=t.apply(this,nn(n,arguments));return Object(g)===g?g:this}return t.apply(r,nn(n,arguments))},f=La(0,t.length-n.length),y=[],c=0;c<f;c++)y[c]="$"+c;if(a=Function("binder","return function ("+za(y,",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var m=function(){};m.prototype=t.prototype,a.prototype=new m,m.prototype=null}return a}});var Q=p((Sc,un)=>{"use strict";o();i();var ja=an();un.exports=Function.prototype.bind||ja});var Ir=p((Ac,sn)=>{"use strict";o();i();sn.exports=Function.prototype.call});var Fr=p((xc,fn)=>{"use strict";o();i();fn.exports=Function.prototype.apply});var pn=p((Ec,ln)=>{"use strict";o();i();ln.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var we=p((Fc,cn)=>{"use strict";o();i();var Ha=Q(),Ja=Fr(),Ka=Ir(),Qa=pn();cn.exports=Qa||Ha.call(Ka,Ja)});var Rr=p((Nc,yn)=>{"use strict";o();i();var Ya=Q(),Xa=w(),Za=Ir(),Va=we();yn.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new Xa("a function is required");return Va(Ya,Za,r)}});var Sn=p((Mc,mn)=>{"use strict";o();i();var ru=Rr(),vn=K(),dn;try{dn=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Ae=!!dn&&vn&&vn(Object.prototype,"__proto__"),hn=Object,gn=hn.getPrototypeOf;mn.exports=Ae&&typeof Ae.get=="function"?ru([Ae.get]):typeof gn=="function"?function(r){return gn(r==null?r:hn(r))}:!1});var qn=p((Wc,On)=>{"use strict";o();i();var bn=Se(),wn=be(),An=Sn();On.exports=bn?function(r){return bn(r)}:wn?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return wn(r)}:An?function(r){return An(r)}:null});var Oe=p((kc,xn)=>{"use strict";o();i();var eu=Function.prototype.call,tu=Object.prototype.hasOwnProperty,nu=Q();xn.exports=nu.call(eu,tu)});var F=p((Hc,Fn)=>{"use strict";o();i();var d,ou=ce(),iu=xt(),au=$t(),uu=Tt(),su=Ft(),V=ye(),Z=w(),fu=_t(),lu=ve(),pu=ge(),cu=Ut(),yu=de(),vu=Gt(),gu=zt(),du=Jt(),Tn=Function,qe=function(e){try{return Tn('"use strict"; return ('+e+").constructor;")()}catch(r){}},sr=K(),hu=ur(),xe=function(){throw new Z},mu=sr?(function(){try{return arguments.callee,xe}catch(e){try{return sr(arguments,"callee").get}catch(r){return xe}}})():xe,Y=me()(),b=qn(),Su=be(),bu=Se(),In=Fr(),fr=Ir(),X={},wu=typeof Uint8Array=="undefined"||!b?d:b(Uint8Array),L={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?d:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics=="undefined"?d:Atomics,"%BigInt%":typeof BigInt=="undefined"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":iu,"%eval%":eval,"%EvalError%":au,"%Float16Array%":typeof Float16Array=="undefined"?d:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?d:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?d:FinalizationRegistry,"%Function%":Tn,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array=="undefined"?d:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?d:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map=="undefined"?d:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Y||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ou,"%Object.getOwnPropertyDescriptor%":sr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?d:Promise,"%Proxy%":typeof Proxy=="undefined"?d:Proxy,"%RangeError%":uu,"%ReferenceError%":su,"%Reflect%":typeof Reflect=="undefined"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?d:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Y||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&b?b(""[Symbol.iterator]()):d,"%Symbol%":Y?Symbol:d,"%SyntaxError%":V,"%ThrowTypeError%":mu,"%TypedArray%":wu,"%TypeError%":Z,"%Uint8Array%":typeof Uint8Array=="undefined"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?d:Uint32Array,"%URIError%":fu,"%WeakMap%":typeof WeakMap=="undefined"?d:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?d:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?d:WeakSet,"%Function.prototype.call%":fr,"%Function.prototype.apply%":In,"%Object.defineProperty%":hu,"%Object.getPrototypeOf%":Su,"%Math.abs%":lu,"%Math.floor%":pu,"%Math.max%":cu,"%Math.min%":yu,"%Math.pow%":vu,"%Math.round%":gu,"%Math.sign%":du,"%Reflect.getPrototypeOf%":bu};if(b)try{null.error}catch(e){Pn=b(b(e)),L["%Error.prototype%"]=Pn}var Pn,Au=function e(r){var t;if(r==="%AsyncFunction%")t=qe("async function () {}");else if(r==="%GeneratorFunction%")t=qe("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=qe("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&b&&(t=b(a.prototype))}return L[r]=t,t},$n={__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"]},lr=Q(),Dr=Oe(),Ou=lr.call(fr,Array.prototype.concat),qu=lr.call(In,Array.prototype.splice),En=lr.call(fr,String.prototype.replace),Nr=lr.call(fr,String.prototype.slice),xu=lr.call(fr,RegExp.prototype.exec),Pu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$u=/\\(\\)?/g,Eu=function(r){var t=Nr(r,0,1),n=Nr(r,-1);if(t==="%"&&n!=="%")throw new V("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new V("invalid intrinsic syntax, expected opening `%`");var a=[];return En(r,Pu,function(u,f,y,c){a[a.length]=y?En(c,$u,"$1"):f||u}),a},Tu=function(r,t){var n=r,a;if(Dr($n,n)&&(a=$n[n],n="%"+a[0]+"%"),Dr(L,n)){var u=L[n];if(u===X&&(u=Au(n)),typeof u=="undefined"&&!t)throw new Z("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:u}}throw new V("intrinsic "+r+" does not exist!")};Fn.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Z('"allowMissing" argument must be a boolean');if(xu(/^%?[^%]*%?$/,r)===null)throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Eu(r),a=n.length>0?n[0]:"",u=Tu("%"+a+"%",t),f=u.name,y=u.value,c=!1,m=u.alias;m&&(a=m[0],qu(n,Ou([0,1],m)));for(var g=1,h=!0;g<n.length;g+=1){var v=n[g],A=Nr(v,0,1),q=Nr(v,-1);if((A==='"'||A==="'"||A==="`"||q==='"'||q==="'"||q==="`")&&A!==q)throw new V("property names with quotes must have matching quotes");if((v==="constructor"||!h)&&(c=!0),a+="."+v,f="%"+a+"%",Dr(L,f))y=L[f];else if(y!=null){if(!(v in y)){if(!t)throw new Z("base intrinsic for "+r+" exists, but the property is not available.");return}if(sr&&g+1>=n.length){var S=sr(y,v);h=!!S,h&&"get"in S&&!("originalValue"in S.get)?y=S.get:y=y[v]}else h=Dr(y,v),y=y[v];h&&!c&&(L[f]=y)}}return y}});var _r=p((Qc,Nn)=>{"use strict";o();i();var Rn=ur(),Iu=ye(),rr=w(),Dn=K();Nn.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new rr("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new rr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new rr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new rr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new rr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new rr("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,c=!!Dn&&Dn(r,t);if(Rn)Rn(r,t,{configurable:f===null&&c?c.configurable:!f,enumerable:a===null&&c?c.enumerable:!a,value:n,writable:u===null&&c?c.writable:!u});else if(y||!a&&!u&&!f)r[t]=n;else throw new Iu("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Br=p((Zc,Bn)=>{"use strict";o();i();var Pe=ur(),_n=function(){return!!Pe};_n.hasArrayLengthDefineBug=function(){if(!Pe)return null;try{return Pe([],"length",{value:1}).length!==1}catch(r){return!0}};Bn.exports=_n});var Ln=p((ey,Wn)=>{"use strict";o();i();var Fu=F(),Mn=_r(),Ru=Br()(),Cn=K(),Un=w(),Du=Fu("%Math.floor%");Wn.exports=function(r,t){if(typeof r!="function")throw new Un("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Du(t)!==t)throw new Un("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,u=!0;if("length"in r&&Cn){var f=Cn(r,"length");f&&!f.configurable&&(a=!1),f&&!f.writable&&(u=!1)}return(a||u||!n)&&(Ru?Mn(r,"length",t,!0,!0):Mn(r,"length",t)),r}});var kn=p((oy,Gn)=>{"use strict";o();i();var Nu=Q(),_u=Fr(),Bu=we();Gn.exports=function(){return Bu(Nu,_u,arguments)}});var Cr=p((uy,Mr)=>{"use strict";o();i();var Mu=Ln(),zn=ur(),Cu=Rr(),jn=kn();Mr.exports=function(r){var t=Cu(arguments),n=r.length-(arguments.length-1);return Mu(t,1+(n>0?n:0),!0)};zn?zn(Mr.exports,"apply",{value:jn}):Mr.exports.apply=jn});var $e=p((ly,Jn)=>{"use strict";o();i();var Hn=Object.prototype.toString;Jn.exports=function(r){var t=Hn.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Hn.call(r.callee)==="[object Function]"),n}});var to=p((yy,eo)=>{"use strict";o();i();var ro;Object.keys||(pr=Object.prototype.hasOwnProperty,Ee=Object.prototype.toString,Kn=$e(),Te=Object.prototype.propertyIsEnumerable,Qn=!Te.call({toString:null},"toString"),Yn=Te.call(function(){},"prototype"),cr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ur=function(e){var r=e.constructor;return r&&r.prototype===e},Xn={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Zn=(function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!Xn["$"+e]&&pr.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Ur(window[e])}catch(r){return!0}}catch(r){return!0}return!1})(),Vn=function(e){if(typeof window=="undefined"||!Zn)return Ur(e);try{return Ur(e)}catch(r){return!1}},ro=function(r){var t=r!==null&&typeof r=="object",n=Ee.call(r)==="[object Function]",a=Kn(r),u=t&&Ee.call(r)==="[object String]",f=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var y=Yn&&n;if(u&&r.length>0&&!pr.call(r,0))for(var c=0;c<r.length;++c)f.push(String(c));if(a&&r.length>0)for(var m=0;m<r.length;++m)f.push(String(m));else for(var g in r)!(y&&g==="prototype")&&pr.call(r,g)&&f.push(String(g));if(Qn)for(var h=Vn(r),v=0;v<cr.length;++v)!(h&&cr[v]==="constructor")&&pr.call(r,cr[v])&&f.push(cr[v]);return f});var pr,Ee,Kn,Te,Qn,Yn,cr,Ur,Xn,Zn,Vn;eo.exports=ro});var ao=p((dy,io)=>{"use strict";o();i();var Uu=Array.prototype.slice,Wu=$e(),no=Object.keys,Wr=no?function(r){return no(r)}:to(),oo=Object.keys;Wr.shim=function(){if(Object.keys){var r=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);r||(Object.keys=function(n){return Wu(n)?oo(Uu.call(n)):oo(n)})}else Object.keys=Wr;return Object.keys||Wr};io.exports=Wr});var Lr=p((Sy,lo)=>{"use strict";o();i();var Lu=ao(),Gu=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",ku=Object.prototype.toString,zu=Array.prototype.concat,uo=_r(),ju=function(e){return typeof e=="function"&&ku.call(e)==="[object Function]"},so=Br()(),Hu=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!ju(n)||!n())return}so?uo(e,r,t,!0):uo(e,r,t)},fo=function(e,r){var t=arguments.length>2?arguments[2]:{},n=Lu(r);Gu&&(n=zu.call(n,Object.getOwnPropertySymbols(r)));for(var a=0;a<n.length;a+=1)Hu(e,n[a],r[n[a]],t[n[a]])};fo.supportsDescriptors=!!so;lo.exports=fo});var P=p((Ay,yo)=>{"use strict";o();i();var po=F(),co=Rr(),Ju=co([po("%String.prototype.indexOf%")]);yo.exports=function(r,t){var n=po(r,!!t);return typeof n=="function"&&Ju(r,".prototype.")>-1?co([n]):n}});var ho=p((xy,go)=>{"use strict";o();i();var Ku=F(),vo=Ku("%Array%"),Qu=!vo.isArray&&P()("Object.prototype.toString");go.exports=vo.isArray||function(r){return Qu(r)==="[object Array]"}});var Ie=p((Ey,mo)=>{"use strict";o();i();mo.exports=ho()});var bo=p((Fy,So)=>{"use strict";o();i();var Yu=F(),Xu=P(),Zu=w(),Vu=Ie(),rs=Yu("%Reflect.apply%",!0)||Xu("Function.prototype.apply");So.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!Vu(n))throw new Zu("Assertion failed: optional `argumentsList`, if provided, must be a List");return rs(r,t,n)}});function wo(){throw new Error("setTimeout has not been defined")}function Ao(){throw new Error("clearTimeout has not been defined")}function Oo(e){if(B===setTimeout)return setTimeout(e,0);if((B===wo||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(r){try{return B.call(null,e,0)}catch(t){return B.call(this,e,0)}}}function es(e){if(M===clearTimeout)return clearTimeout(e);if((M===Ao||!M)&&clearTimeout)return M=clearTimeout,clearTimeout(e);try{return M(e)}catch(r){try{return M.call(null,e)}catch(t){return M.call(this,e)}}}function ts(){!tr||!G||(tr=!1,G.length?R=G.concat(R):Gr=-1,R.length&&qo())}function qo(){if(!tr){var e=Oo(ts);tr=!0;for(var r=R.length;r;){for(G=R,R=[];++Gr<r;)G&&G[Gr].run();Gr=-1,r=R.length}G=null,tr=!1,es(e)}}function ns(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];R.push(new xo(e,r)),R.length===1&&!tr&&Oo(qo)}function xo(e,r){this.fun=e,this.array=r}function k(){}function bs(e){throw new Error("process.binding is not supported")}function ws(){return"/"}function As(e){throw new Error("process.chdir is not supported")}function Os(){return 0}function xs(e){var r=qs.call(er)*.001,t=Math.floor(r),n=Math.floor(r%1*1e9);return e&&(t=t-e[0],n=n-e[1],n<0&&(t--,n+=1e9)),[t,n]}function $s(){var e=new Date,r=e-Ps;return r/1e3}var B,M,R,tr,G,Gr,os,is,as,us,ss,fs,ls,ps,cs,ys,vs,gs,ds,hs,ms,Ss,er,qs,Ps,Es,yr,Po=pe(()=>{"use strict";o();i();B=wo,M=Ao;typeof globalThis.setTimeout=="function"&&(B=setTimeout);typeof globalThis.clearTimeout=="function"&&(M=clearTimeout);R=[],tr=!1,Gr=-1;xo.prototype.run=function(){this.fun.apply(null,this.array)};os="browser",is="browser",as=!0,us={},ss=[],fs="",ls={},ps={},cs={};ys=k,vs=k,gs=k,ds=k,hs=k,ms=k,Ss=k;er=globalThis.performance||{},qs=er.now||er.mozNow||er.msNow||er.oNow||er.webkitNow||function(){return new Date().getTime()};Ps=new Date;Es={nextTick:ns,title:os,browser:as,env:us,argv:ss,version:fs,versions:ls,on:ys,addListener:vs,once:gs,off:ds,removeListener:hs,removeAllListeners:ms,emit:Ss,binding:bs,cwd:ws,chdir:As,umask:Os,hrtime:xs,platform:is,release:ps,config:cs,uptime:$s},yr=Es});var Fe,Re,$o=pe(()=>{"use strict";o();i();typeof Object.create=="function"?Fe=function(r,t){r.super_=t,r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:Fe=function(r,t){r.super_=t;var n=function(){};n.prototype=t.prototype,r.prototype=new n,r.prototype.constructor=r};Re=Fe});var _o={};Ra(_o,{_extend:()=>Le,debuglog:()=>Eo,default:()=>Cs,deprecate:()=>Me,format:()=>Hr,inherits:()=>Re,inspect:()=>E,isArray:()=>Ce,isBoolean:()=>Jr,isBuffer:()=>Ro,isDate:()=>jr,isError:()=>gr,isFunction:()=>dr,isNull:()=>hr,isNullOrUndefined:()=>To,isNumber:()=>Ue,isObject:()=>z,isPrimitive:()=>Fo,isRegExp:()=>vr,isString:()=>mr,isSymbol:()=>Io,isUndefined:()=>$,log:()=>Do});function Hr(e){if(!mr(e)){for(var r=[],t=0;t<arguments.length;t++)r.push(E(arguments[t]));return r.join(" ")}for(var t=1,n=arguments,a=n.length,u=String(e).replace(Ts,function(y){if(y==="%%")return"%";if(t>=a)return y;switch(y){case"%s":return String(n[t++]);case"%d":return Number(n[t++]);case"%j":try{return JSON.stringify(n[t++])}catch(c){return"[Circular]"}default:return y}}),f=n[t];t<a;f=n[++t])hr(f)||!z(f)?u+=" "+f:u+=" "+E(f);return u}function Me(e,r){if($(globalThis.process))return function(){return Me(e,r).apply(this,arguments)};if(yr.noDeprecation===!0)return e;var t=!1;function n(){if(!t){if(yr.throwDeprecation)throw new Error(r);yr.traceDeprecation?console.trace(r):console.error(r),t=!0}return e.apply(this,arguments)}return n}function Eo(e){if($(De)&&(De=yr.env.NODE_DEBUG||""),e=e.toUpperCase(),!kr[e])if(new RegExp("\\b"+e+"\\b","i").test(De)){var r=0;kr[e]=function(){var t=Hr.apply(null,arguments);console.error("%s %d: %s",e,r,t)}}else kr[e]=function(){};return kr[e]}function E(e,r){var t={seen:[],stylize:Fs};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Jr(r)?t.showHidden=r:r&&Le(t,r),$(t.showHidden)&&(t.showHidden=!1),$(t.depth)&&(t.depth=2),$(t.colors)&&(t.colors=!1),$(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=Is),zr(t,e,t.depth)}function Is(e,r){var t=E.styles[r];return t?"\x1B["+E.colors[t][0]+"m"+e+"\x1B["+E.colors[t][1]+"m":e}function Fs(e,r){return e}function Rs(e){var r={};return e.forEach(function(t,n){r[t]=!0}),r}function zr(e,r,t){if(e.customInspect&&r&&dr(r.inspect)&&r.inspect!==E&&!(r.constructor&&r.constructor.prototype===r)){var n=r.inspect(t,e);return mr(n)||(n=zr(e,n,t)),n}var a=Ds(e,r);if(a)return a;var u=Object.keys(r),f=Rs(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(r)),gr(r)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return Ne(r);if(u.length===0){if(dr(r)){var y=r.name?": "+r.name:"";return e.stylize("[Function"+y+"]","special")}if(vr(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(jr(r))return e.stylize(Date.prototype.toString.call(r),"date");if(gr(r))return Ne(r)}var c="",m=!1,g=["{","}"];if(Ce(r)&&(m=!0,g=["[","]"]),dr(r)){var h=r.name?": "+r.name:"";c=" [Function"+h+"]"}if(vr(r)&&(c=" "+RegExp.prototype.toString.call(r)),jr(r)&&(c=" "+Date.prototype.toUTCString.call(r)),gr(r)&&(c=" "+Ne(r)),u.length===0&&(!m||r.length==0))return g[0]+c+g[1];if(t<0)return vr(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special");e.seen.push(r);var v;return m?v=Ns(e,r,t,f,u):v=u.map(function(A){return Be(e,r,t,f,A,m)}),e.seen.pop(),_s(v,c,g)}function Ds(e,r){if($(r))return e.stylize("undefined","undefined");if(mr(r)){var t="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(t,"string")}if(Ue(r))return e.stylize(""+r,"number");if(Jr(r))return e.stylize(""+r,"boolean");if(hr(r))return e.stylize("null","null")}function Ne(e){return"["+Error.prototype.toString.call(e)+"]"}function Ns(e,r,t,n,a){for(var u=[],f=0,y=r.length;f<y;++f)No(r,String(f))?u.push(Be(e,r,t,n,String(f),!0)):u.push("");return a.forEach(function(c){c.match(/^\d+$/)||u.push(Be(e,r,t,n,c,!0))}),u}function Be(e,r,t,n,a,u){var f,y,c;if(c=Object.getOwnPropertyDescriptor(r,a)||{value:r[a]},c.get?c.set?y=e.stylize("[Getter/Setter]","special"):y=e.stylize("[Getter]","special"):c.set&&(y=e.stylize("[Setter]","special")),No(n,a)||(f="["+a+"]"),y||(e.seen.indexOf(c.value)<0?(hr(t)?y=zr(e,c.value,null):y=zr(e,c.value,t-1),y.indexOf(`
2
- `)>-1&&(u?y=y.split(`
3
- `).map(function(m){return" "+m}).join(`
4
- `).substr(2):y=`
5
- `+y.split(`
6
- `).map(function(m){return" "+m}).join(`
7
- `))):y=e.stylize("[Circular]","special")),$(f)){if(u&&a.match(/^\d+$/))return y;f=JSON.stringify(""+a),f.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(f=f.substr(1,f.length-2),f=e.stylize(f,"name")):(f=f.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),f=e.stylize(f,"string"))}return f+": "+y}function _s(e,r,t){var n=0,a=e.reduce(function(u,f){return n++,f.indexOf(`
8
- `)>=0&&n++,u+f.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?t[0]+(r===""?"":r+`
9
- `)+" "+e.join(`,
10
- `)+" "+t[1]:t[0]+r+" "+e.join(", ")+" "+t[1]}function Ce(e){return Array.isArray(e)}function Jr(e){return typeof e=="boolean"}function hr(e){return e===null}function To(e){return e==null}function Ue(e){return typeof e=="number"}function mr(e){return typeof e=="string"}function Io(e){return typeof e=="symbol"}function $(e){return e===void 0}function vr(e){return z(e)&&We(e)==="[object RegExp]"}function z(e){return typeof e=="object"&&e!==null}function jr(e){return z(e)&&We(e)==="[object Date]"}function gr(e){return z(e)&&(We(e)==="[object Error]"||e instanceof Error)}function dr(e){return typeof e=="function"}function Fo(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e=="undefined"}function Ro(e){return s.isBuffer(e)}function We(e){return Object.prototype.toString.call(e)}function _e(e){return e<10?"0"+e.toString(10):e.toString(10)}function Ms(){var e=new Date,r=[_e(e.getHours()),_e(e.getMinutes()),_e(e.getSeconds())].join(":");return[e.getDate(),Bs[e.getMonth()],r].join(" ")}function Do(){console.log("%s - %s",Ms(),Hr.apply(null,arguments))}function Le(e,r){if(!r||!z(r))return e;for(var t=Object.keys(r),n=t.length;n--;)e[t[n]]=r[t[n]];return e}function No(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var Ts,kr,De,Bs,Cs,Bo=pe(()=>{"use strict";o();i();Po();$o();Ts=/%[sdj%]/g;kr={};E.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};E.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};Bs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Cs={inherits:Re,_extend:Le,log:Do,isBuffer:Ro,isPrimitive:Fo,isFunction:dr,isError:gr,isDate:jr,isObject:z,isRegExp:vr,isUndefined:$,isSymbol:Io,isString:mr,isNumber:Ue,isNullOrUndefined:To,isNull:hr,isBoolean:Jr,isArray:Ce,inspect:E,deprecate:Me,format:Hr,debuglog:Eo}});var Mo=p((zy,Kr)=>{"use strict";o();i();var j=(Bo(),Na(_o));if(j&&j.default){Kr.exports=j.default;for(let e in j)Kr.exports[e]=j[e]}else j&&(Kr.exports=j)});var Uo=p((Jy,Co)=>{"use strict";o();i();Co.exports=Mo().inspect});var Or=p((Yy,ii)=>{"use strict";o();i();var Xe=typeof Map=="function"&&Map.prototype,Ge=Object.getOwnPropertyDescriptor&&Xe?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Yr=Xe&&Ge&&typeof Ge.get=="function"?Ge.get:null,Wo=Xe&&Map.prototype.forEach,Ze=typeof Set=="function"&&Set.prototype,ke=Object.getOwnPropertyDescriptor&&Ze?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xr=Ze&&ke&&typeof ke.get=="function"?ke.get:null,Lo=Ze&&Set.prototype.forEach,Us=typeof WeakMap=="function"&&WeakMap.prototype,br=Us?WeakMap.prototype.has:null,Ws=typeof WeakSet=="function"&&WeakSet.prototype,wr=Ws?WeakSet.prototype.has:null,Ls=typeof WeakRef=="function"&&WeakRef.prototype,Go=Ls?WeakRef.prototype.deref:null,Gs=Boolean.prototype.valueOf,ks=Object.prototype.toString,zs=Function.prototype.toString,js=String.prototype.match,Ve=String.prototype.slice,C=String.prototype.replace,Hs=String.prototype.toUpperCase,ko=String.prototype.toLowerCase,Zo=RegExp.prototype.test,zo=Array.prototype.concat,T=Array.prototype.join,Js=Array.prototype.slice,jo=Math.floor,He=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ze=Object.getOwnPropertySymbols,Je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,nr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ar=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===nr||!0)?Symbol.toStringTag:null,Vo=Object.prototype.propertyIsEnumerable,Ho=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Jo(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Zo.call(/e/,r))return r;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-jo(-e):jo(e);if(n!==e){var a=String(n),u=Ve.call(r,a.length+1);return C.call(a,t,"$&_")+"."+C.call(C.call(u,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(r,t,"$&_")}var Ke=Uo(),Ko=Ke.custom,Qo=ti(Ko)?Ko:null,ri={__proto__:null,double:'"',single:"'"},Ks={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ii.exports=function e(r,t,n,a){var u=t||{};if(D(u,"quoteStyle")&&!D(ri,u.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(D(u,"maxStringLength")&&(typeof u.maxStringLength=="number"?u.maxStringLength<0&&u.maxStringLength!==1/0:u.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=D(u,"customInspect")?u.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(D(u,"indent")&&u.indent!==null&&u.indent!==" "&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(D(u,"numericSeparator")&&typeof u.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=u.numericSeparator;if(typeof r=="undefined")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return oi(r,u);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var c=String(r);return y?Jo(r,c):c}if(typeof r=="bigint"){var m=String(r)+"n";return y?Jo(r,m):m}var g=typeof u.depth=="undefined"?5:u.depth;if(typeof n=="undefined"&&(n=0),n>=g&&g>0&&typeof r=="object")return Qe(r)?"[Array]":"[Object]";var h=yf(u,n);if(typeof a=="undefined")a=[];else if(ni(a,r)>=0)return"[Circular]";function v(J,Pr,Fa){if(Pr&&(a=Js.call(a),a.push(Pr)),Fa){var At={depth:u.depth};return D(u,"quoteStyle")&&(At.quoteStyle=u.quoteStyle),e(J,At,n+1,a)}return e(J,u,n+1,a)}if(typeof r=="function"&&!Yo(r)){var A=nf(r),q=Qr(r,v);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(q.length>0?" { "+T.call(q,", ")+" }":"")}if(ti(r)){var S=nr?C.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):Je.call(r);return typeof r=="object"&&!nr?Sr(S):S}if(lf(r)){for(var O="<"+ko.call(String(r.nodeName)),x=r.attributes||[],I=0;I<x.length;I++)O+=" "+x[I].name+"="+ei(Qs(x[I].value),"double",u);return O+=">",r.childNodes&&r.childNodes.length&&(O+="..."),O+="</"+ko.call(String(r.nodeName))+">",O}if(Qe(r)){if(r.length===0)return"[]";var W=Qr(r,v);return h&&!cf(W)?"["+Ye(W,h)+"]":"[ "+T.call(W,", ")+" ]"}if(Xs(r)){var ar=Qr(r,v);return!("cause"in Error.prototype)&&"cause"in r&&!Vo.call(r,"cause")?"{ ["+String(r)+"] "+T.call(zo.call("[cause]: "+v(r.cause),ar),", ")+" }":ar.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+T.call(ar,", ")+" }"}if(typeof r=="object"&&f){if(Qo&&typeof r[Qo]=="function"&&Ke)return Ke(r,{depth:g-n});if(f!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(of(r)){var xr=[];return Wo&&Wo.call(r,function(J,Pr){xr.push(v(Pr,r,!0)+" => "+v(J,r))}),Xo("Map",Yr.call(r),xr,h)}if(sf(r)){var St=[];return Lo&&Lo.call(r,function(J){St.push(v(J,r))}),Xo("Set",Xr.call(r),St,h)}if(af(r))return je("WeakMap");if(ff(r))return je("WeakSet");if(uf(r))return je("WeakRef");if(Vs(r))return Sr(v(Number(r)));if(ef(r))return Sr(v(He.call(r)));if(rf(r))return Sr(Gs.call(r));if(Zs(r))return Sr(v(String(r)));if(typeof window!="undefined"&&r===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&r===globalThis||typeof globalThis!="undefined"&&r===globalThis)return"{ [object globalThis] }";if(!Ys(r)&&!Yo(r)){var se=Qr(r,v),bt=Ho?Ho(r)===Object.prototype:r instanceof Object||r.constructor===Object,fe=r instanceof Object?"":"null prototype",wt=!bt&&Ar&&Object(r)===r&&Ar in r?Ve.call(U(r),8,-1):fe?"Object":"",Ia=bt||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",le=Ia+(wt||fe?"["+T.call(zo.call([],wt||[],fe||[]),": ")+"] ":"");return se.length===0?le+"{}":h?le+"{"+Ye(se,h)+"}":le+"{ "+T.call(se,", ")+" }"}return String(r)};function ei(e,r,t){var n=t.quoteStyle||r,a=ri[n];return a+e+a}function Qs(e){return C.call(String(e),/"/g,"&quot;")}function H(e){return!Ar||!(typeof e=="object"&&(Ar in e||typeof e[Ar]!="undefined"))}function Qe(e){return U(e)==="[object Array]"&&H(e)}function Ys(e){return U(e)==="[object Date]"&&H(e)}function Yo(e){return U(e)==="[object RegExp]"&&H(e)}function Xs(e){return U(e)==="[object Error]"&&H(e)}function Zs(e){return U(e)==="[object String]"&&H(e)}function Vs(e){return U(e)==="[object Number]"&&H(e)}function rf(e){return U(e)==="[object Boolean]"&&H(e)}function ti(e){if(nr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Je)return!1;try{return Je.call(e),!0}catch(r){}return!1}function ef(e){if(!e||typeof e!="object"||!He)return!1;try{return He.call(e),!0}catch(r){}return!1}var tf=Object.prototype.hasOwnProperty||function(e){return e in this};function D(e,r){return tf.call(e,r)}function U(e){return ks.call(e)}function nf(e){if(e.name)return e.name;var r=js.call(zs.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function ni(e,r){if(e.indexOf)return e.indexOf(r);for(var t=0,n=e.length;t<n;t++)if(e[t]===r)return t;return-1}function of(e){if(!Yr||!e||typeof e!="object")return!1;try{Yr.call(e);try{Xr.call(e)}catch(r){return!0}return e instanceof Map}catch(r){}return!1}function af(e){if(!br||!e||typeof e!="object")return!1;try{br.call(e,br);try{wr.call(e,wr)}catch(r){return!0}return e instanceof WeakMap}catch(r){}return!1}function uf(e){if(!Go||!e||typeof e!="object")return!1;try{return Go.call(e),!0}catch(r){}return!1}function sf(e){if(!Xr||!e||typeof e!="object")return!1;try{Xr.call(e);try{Yr.call(e)}catch(r){return!0}return e instanceof Set}catch(r){}return!1}function ff(e){if(!wr||!e||typeof e!="object")return!1;try{wr.call(e,wr);try{br.call(e,br)}catch(r){return!0}return e instanceof WeakSet}catch(r){}return!1}function lf(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function oi(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return oi(Ve.call(e,0,r.maxStringLength),r)+n}var a=Ks[r.quoteStyle||"single"];a.lastIndex=0;var u=C.call(C.call(e,a,"\\$1"),/[\x00-\x1f]/g,pf);return ei(u,"single",r)}function pf(e){var r=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return t?"\\"+t:"\\x"+(r<16?"0":"")+Hs.call(r.toString(16))}function Sr(e){return"Object("+e+")"}function je(e){return e+" { ? }"}function Xo(e,r,t,n){var a=n?Ye(t,n):T.call(t,", ");return e+" ("+r+") {"+a+"}"}function cf(e){for(var r=0;r<e.length;r++)if(ni(e[r],`
11
- `)>=0)return!1;return!0}function yf(e,r){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=T.call(Array(e.indent+1)," ");else return null;return{base:t,prev:T.call(Array(r+1),t)}}function Ye(e,r){if(e.length===0)return"";var t=`
12
- `+r.prev+r.base;return t+T.call(e,","+t)+`
13
- `+r.prev}function Qr(e,r){var t=Qe(e),n=[];if(t){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=D(e,a)?r(e[a],e):""}var u=typeof ze=="function"?ze(e):[],f;if(nr){f={};for(var y=0;y<u.length;y++)f["$"+u[y]]=u[y]}for(var c in e)D(e,c)&&(t&&String(Number(c))===c&&c<e.length||nr&&f["$"+c]instanceof Symbol||(Zo.call(/[^\w$]/,c)?n.push(r(c,e)+": "+r(e[c],e)):n.push(c+": "+r(e[c],e))));if(typeof ze=="function")for(var m=0;m<u.length;m++)Vo.call(e,u[m])&&n.push("["+r(u[m])+"]: "+r(e[u[m]],e));return n}});var Zr=p((Vy,ai)=>{"use strict";o();i();ai.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var si=p((tv,ui)=>{"use strict";o();i();var vf=w(),gf=Or(),df=Zr();ui.exports=function(r,t){if(!df(t))throw new vf("Assertion failed: P is not a Property Key, got "+gf(t));return r[t]}});var ci=p((iv,pi)=>{"use strict";o();i();var li=Function.prototype.toString,or=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,et,Vr;if(typeof or=="function"&&typeof Object.defineProperty=="function")try{et=Object.defineProperty({},"length",{get:function(){throw Vr}}),Vr={},or(function(){throw 42},null,et)}catch(e){e!==Vr&&(or=null)}else or=null;var hf=/^\s*class\b/,tt=function(r){try{var t=li.call(r);return hf.test(t)}catch(n){return!1}},rt=function(r){try{return tt(r)?!1:(li.call(r),!0)}catch(t){return!1}},re=Object.prototype.toString,mf="[object Object]",Sf="[object Function]",bf="[object GeneratorFunction]",wf="[object HTMLAllCollection]",Af="[object HTML document.all class]",Of="[object HTMLCollection]",qf=typeof Symbol=="function"&&!!Symbol.toStringTag,xf=!(0 in[,]),nt=function(){return!1};typeof document=="object"&&(fi=document.all,re.call(fi)===re.call(document.all)&&(nt=function(r){if((xf||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var t=re.call(r);return(t===wf||t===Af||t===Of||t===mf)&&r("")==null}catch(n){}return!1}));var fi;pi.exports=or?function(r){if(nt(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{or(r,null,et)}catch(t){if(t!==Vr)return!1}return!tt(r)&&rt(r)}:function(r){if(nt(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(qf)return rt(r);if(tt(r))return!1;var t=re.call(r);return t!==Sf&&t!==bf&&!/^\[object HTML/.test(t)?!1:rt(r)}});var ot=p((sv,yi)=>{"use strict";o();i();yi.exports=ci()});var hi=p((pv,di)=>{"use strict";o();i();var vi=w(),Pf=si(),$f=ot(),Ef=Zr(),gi=Or();di.exports=function(r,t){if(!Ef(t))throw new vi("Assertion failed: P is not a Property Key");var n=Pf(r,t);if(n!=null){if(!$f(n))throw new vi(gi(t)+" is not a function: "+gi(n));return n}}});var Si=p((vv,mi)=>{"use strict";o();i();var Tf=$r();mi.exports=function(r){return(typeof r=="number"||typeof r=="bigint")&&!Tf(r)&&r!==1/0&&r!==-1/0}});var ee=p((hv,bi)=>{"use strict";o();i();var If=ve(),Ff=ge(),Rf=$r(),Df=Si();bi.exports=function(r){if(typeof r!="number"||Rf(r)||!Df(r))return!1;var t=If(r);return Ff(t)===t}});var it=p((bv,wi)=>{"use strict";o();i();wi.exports=function(r){return!!r&&(typeof r=="function"||typeof r=="object")}});var Oi=p((Ov,Ai)=>{"use strict";o();i();var Nf=he();Ai.exports=function(){return Nf()&&!!Symbol.toStringTag}});var ft=p((Pv,Ei)=>{"use strict";o();i();var qi=P(),_f=Oi()(),Bf=Oe(),Mf=K(),st;_f?(xi=qi("RegExp.prototype.exec"),at={},te=function(){throw at},ut={toString:te,valueOf:te},typeof Symbol.toPrimitive=="symbol"&&(ut[Symbol.toPrimitive]=te),st=function(r){if(!r||typeof r!="object")return!1;var t=Mf(r,"lastIndex"),n=t&&Bf(t,"value");if(!n)return!1;try{xi(r,ut)}catch(a){return a===at}}):(Pi=qi("Object.prototype.toString"),$i="[object RegExp]",st=function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:Pi(r)===$i});var xi,at,te,ut,Pi,$i;Ei.exports=st});var lt=p((Tv,Ti)=>{"use strict";o();i();var Cf=P(),Uf=ft(),Wf=Cf("RegExp.prototype.exec"),Lf=w();Ti.exports=function(r){if(!Uf(r))throw new Lf("`regex` must be a RegExp");return function(n){return Wf(r,n)!==null}}});var Ri=p((Rv,Fi)=>{"use strict";o();i();var Ii=w(),Gf=Or(),kf=Zr(),zf=it();Fi.exports=function(r,t){if(!zf(r))throw new Ii("Assertion failed: Type(O) is not Object");if(!kf(t))throw new Ii("Assertion failed: P is not a Property Key, got "+Gf(t));return r[t]}});var Ni=p((_v,Di)=>{"use strict";o();i();Di.exports=de()});var ct=p((Cv,_i)=>{"use strict";o();i();var jf=P(),pt=w(),Hf=ee(),Jf=jf("String.prototype.slice");_i.exports=function(r,t,n){if(typeof r!="string")throw new pt("Assertion failed: `string` must be a String");if(typeof t!="string")throw new pt("Assertion failed: `searchValue` must be a String");if(!Hf(n)||n<0)throw new pt("Assertion failed: `fromIndex` must be a non-negative integer");var a=r.length;if(t===""&&n<=a)return n;for(var u=t.length,f=n;f<=a-u;f+=1){var y=Jf(r,f,f+u);if(y===t)return f}return-1}});var ne=p((Lv,Bi)=>{"use strict";o();i();var Kf=w();Bi.exports=function(r){if(r==null)throw new Kf(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var oe=p((zv,Mi)=>{"use strict";o();i();var Qf=F(),Yf=Qf("%String%"),Xf=w();Mi.exports=function(r){if(typeof r=="symbol")throw new Xf("Cannot convert a Symbol value to a string");return Yf(r)}});var yt=p((Jv,Wi)=>{"use strict";o();i();var Zf=ne(),Vf=oe(),rl=P(),Ci=rl("String.prototype.replace"),Ui=/^\s$/.test("\u180E"),el=Ui?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,tl=Ui?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;Wi.exports=function(){var r=Vf(Zf(this));return Ci(Ci(r,el,""),tl,"")}});var vt=p((Yv,Gi)=>{"use strict";o();i();var nl=yt(),Li="\u200B",ir="\u180E";Gi.exports=function(){return String.prototype.trim&&Li.trim()===Li&&ir.trim()===ir&&("_"+ir).trim()==="_"+ir&&(ir+"_").trim()===ir+"_"?String.prototype.trim:nl}});var ji=p((Vv,zi)=>{"use strict";o();i();var ol=Br()(),ki=_r(),il=vt();zi.exports=function(){var r=il();return String.prototype.trim!==r&&(ol?ki(String.prototype,"trim",r,!0):ki(String.prototype,"trim",r)),r}});var Qi=p((tg,Ki)=>{"use strict";o();i();var al=Cr(),ul=Lr(),sl=ne(),fl=yt(),Hi=vt(),ll=ji(),pl=al(Hi()),Ji=function(r){return sl(r),pl(r)};ul(Ji,{getPolyfill:Hi,implementation:fl,shim:ll});Ki.exports=Ji});var ra=p((ig,Vi)=>{"use strict";o();i();var Zi=F(),cl=Zi("%RegExp%"),yl=w(),Yi=Zi("%parseInt%"),vl=P(),ie=lt(),Xi=vl("String.prototype.slice"),gl=ie(/^0b[01]+$/i),dl=ie(/^0o[0-7]+$/i),hl=ie(/^[-+]0x[0-9a-f]+$/i),ml=["\x85","\u200B","\uFFFE"].join(""),Sl=new cl("["+ml+"]","g"),bl=ie(Sl),wl=Qi();Vi.exports=function e(r){if(typeof r!="string")throw new yl("Assertion failed: `argument` is not a String");if(gl(r))return+Yi(Xi(r,2),2);if(dl(r))return+Yi(Xi(r,2),8);if(bl(r)||hl(r))return NaN;var t=wl(r);return t!==r?e(t):+r}});var na=p((sg,ta)=>{"use strict";o();i();var Al=w(),ea=ee(),Ol=P(),ql=Ol("String.prototype.slice");ta.exports=function(r,t,n){if(typeof r!="string"||!ea(t)||arguments.length>2&&!ea(n))throw new Al("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return ql(r,t,arguments.length>2?n:r.length)}});var ia=p((pg,oa)=>{"use strict";o();i();oa.exports=function(r,t){for(var n=0;n<r.length;n+=1)if(!t(r[n],n,r))return!1;return!0}});var ua=p((vg,aa)=>{"use strict";o();i();var xl=P()("String.prototype.slice");aa.exports=function(r,t){return r===t?!0:r.length>t.length?!1:xl(t,0,r.length)===r}});var fa=p((hg,sa)=>{"use strict";o();i();sa.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var va=p((bg,ya)=>{"use strict";o();i();var N=w(),gt=Or(),Pl=ee(),la=it(),ca=lt(),$l=Ri(),El=Ie(),Tl=Ni(),Il=ct(),pa=ra(),_=na(),Fl=oe(),Rl=ia(),qr=ua(),Dl=fa(),Nl=ca(/^\$[0-9]/),_l=ca(/^\$[0-9][0-9]/);ya.exports=function(r,t,n,a,u,f){if(typeof r!="string")throw new N("Assertion failed: `matched` must be a String");if(typeof t!="string")throw new N("Assertion failed: `str` must be a String");if(!Pl(n)||n<0)throw new N("Assertion failed: `position` must be a nonnegative integer, got "+gt(n));if(!El(a)||!Rl(a,Dl))throw new N("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+gt(a));if(typeof u!="undefined"&&!la(u))throw new N("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof f!="string")throw new N("Assertion failed: `replacementTemplate` must be a String");var y=t.length;if(n>y)throw new N("Assertion failed: position > stringLength, got "+gt(n));for(var c=f,m="";c!=="";){var g,h,v;if(qr("$$",c))g="$$",h="$";else if(qr("$`",c))g="$`",h=_(t,0,n);else if(qr("$&",c))g="$&",h=r;else if(qr("$'",c)){g="$'";var A=r.length,q=n+A;h=_(t,Tl(q,y))}else if(Nl(c)){var S=_l(c)?2:1,O=_(c,1,1+S),x=pa(O);if(x<0||x>99)throw new N("Assertion failed: `index` must be >= 0 and <= 99");var I=a.length;x>I&&S===2&&(S=1,O=_(O,0,1),x=pa(O)),g=_(c,0,1+S),1<=x&&x<=I?(v=a[x-1],typeof v=="undefined"?h="":h=v):h=g}else if(qr("$<",c)){var W=Il(c,">",0);if(!(W>-1)||typeof u=="undefined")g="$<",h=g;else{g=_(c,0,W+1);var ar=_(c,2,W);if(!la(u))throw new N("Assertion failed: Type(namedCaptures) is not Object");v=$l(u,ar),typeof v=="undefined"?h="":h=Fl(v)}}else g=_(c,0,1),h=g;var xr=g.length;c=_(c,xr),m+=h}return m}});var ma=p((Og,ha)=>{"use strict";o();i();var ga=F(),da=Cr(),Bl=da(ga("String.prototype.indexOf"));ha.exports=function(r,t){var n=ga(r,!!t);return typeof n=="function"&&Bl(r,".prototype.")>-1?da(n):n}});var ht=p((Pg,Aa)=>{"use strict";o();i();var Sa=bo(),Ml=hi(),Cl=va(),Ul=ot(),Wl=ne(),ae=oe(),ba=ct(),Ll=F(),ue=ma(),Gl=me()(),kl=ft(),zl=Ll("%Math.max%"),wa=w(),jl=ue("Array.prototype.push"),dt=ue("String.prototype.slice"),Hl=ue("String.prototype.indexOf"),Jl=ue("String.prototype.replace");Aa.exports=function(r,t){var n=Wl(this),a=kl(r);if(a&&Hl(dt(r,r.source.length+2),"g")===-1)throw new wa("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(Gl&&Symbol.replace){if(r!=null){var u=Ml(r,Symbol.replace);if(typeof u!="undefined")return Sa(u,r,[n,t])}}else if(a)return Jl(n,r,t);var f=ae(n),y=ae(r),c=Ul(t);c||(t=ae(t));for(var m=y.length,g=zl(1,m),h=[],v=ba(f,y,0);v!==-1;)jl(h,v),v=ba(f,y,v+g);for(var A=0,q="",S=0;S<h.length;S+=1){var O;if(c)O=ae(Sa(t,void 0,[y,h[S],f]));else{if(typeof t!="string")throw new wa("Assertion failed: `replaceValue` should be a string at this point");var x=[];O=Cl(y,f,h[S],x,void 0,t)}var I=dt(f,A,h[S]);q+=I+O,A=h[S]+m}return A<f.length&&(q+=dt(f,A)),q}});var mt=p((Tg,Oa)=>{"use strict";o();i();var Kl=ht();Oa.exports=function(){return String.prototype.replaceAll||Kl}});var xa=p((Rg,qa)=>{"use strict";o();i();var Ql=Lr(),Yl=mt();qa.exports=function(){var r=Yl();return Ql(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var Ta=p((_g,Ea)=>{"use strict";o();i();var Xl=Cr(),Zl=Lr(),Pa=ht(),Vl=mt(),rp=xa(),$a=Xl(Pa);Zl($a,{getPolyfill:Vl,implementation:Pa,shim:rp});Ea.exports=$a});o();i();var Cg=Da(Ta(),1);export{_a as DynamicSnippetsGenerator};
1
+ import{a as n}from"./chunk-DFQIKN25.js";import"./chunk-CPIHNCS3.js";import"./chunk-XX3MRTVI.js";import"./chunk-EECVWAVT.js";import"./chunk-3LG5WCZI.js";import"./chunk-3QAUV5WT.js";import{f as e,g as r}from"./chunk-PYHFKEW4.js";e();r();export{n as DynamicSnippetsGenerator};
14
2
  //# sourceMappingURL=index.js.map