UNPKG

@sap/generator-fiori

Version:

Create an SAPUI5 application using SAP Fiori elements or a freestyle approach

5 lines 368 kB
const __esmImportMetaUrl = require('node:url').pathToFileURL(__filename).href; var Ug=Object.create;var zr=Object.defineProperty;var kg=Object.getOwnPropertyDescriptor;var Vg=Object.getOwnPropertyNames;var jg=Object.getPrototypeOf,Gg=Object.prototype.hasOwnProperty;var s=(t,e)=>zr(t,"name",{value:e,configurable:!0});var E=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(r){throw e=0,r}},Hg=(t,e)=>{for(var r in e)zr(t,r,{get:e[r],enumerable:!0})},Sa=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vg(e))!Gg.call(t,i)&&i!==r&&zr(t,i,{get:()=>e[i],enumerable:!(o=kg(e,i))||o.enumerable});return t};var Ee=(t,e,r)=>(r=t!=null?Ug(jg(t)):{},Sa(e||!t||!t.__esModule?zr(r,"default",{value:t,enumerable:!0}):r,t)),$g=t=>Sa(zr({},"__esModule",{value:!0}),t);var Da=E((qN,Ca)=>{"use strict";var Na=require("fs"),vi;function zg(){try{return Na.statSync("/.dockerenv"),!0}catch{return!1}}s(zg,"hasDockerEnv");function Yg(){try{return Na.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}s(Yg,"hasDockerCGroup");Ca.exports=()=>(vi===void 0&&(vi=zg()||Yg()),vi)});var Ia=E((kN,Ei)=>{"use strict";var Xg=require("os"),Qg=require("fs"),Oa=Da(),Ra=s(()=>{if(process.platform!=="linux")return!1;if(Xg.release().toLowerCase().includes("microsoft"))return!Oa();try{return Qg.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!Oa():!1}catch{return!1}},"isWsl");process.env.__IS_WSL_TEST__?Ei.exports=Ra:Ei.exports=Ra()});var Ba=E((jN,Pa)=>{"use strict";var _a=require("fs"),xi;function Kg(){try{return _a.statSync("/.dockerenv"),!0}catch{return!1}}s(Kg,"hasDockerEnv");function Jg(){try{return _a.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}s(Jg,"hasDockerCGroup");Pa.exports=()=>(xi===void 0&&(xi=Kg()||Jg()),xi)});var La=E((HN,Fa)=>{"use strict";Fa.exports=(t,e,r)=>{let o=s(i=>Object.defineProperty(t,e,{value:i,enumerable:!0,writable:!0}),"define");return Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get(){let i=r();return o(i),i},set(i){o(i)}}),t}});var Ni=E((WN,ja)=>{var Zg=require("path"),em=require("child_process"),{promises:Kn,constants:Va}=require("fs"),Qn=Ia(),tm=Ba(),wi=La(),Ma=Zg.join(__dirname,"xdg-open"),{platform:rr,arch:qa}=process,rm=s(()=>{try{return Kn.statSync("/run/.containerenv"),!0}catch{return!1}},"hasContainerEnv"),bi;function nm(){return bi===void 0&&(bi=rm()||tm()),bi}s(nm,"isInsideContainer");var om=(()=>{let t="/mnt/",e;return async function(){if(e)return e;let r="/etc/wsl.conf",o=!1;try{await Kn.access(r,Va.F_OK),o=!0}catch{}if(!o)return t;let i=await Kn.readFile(r,{encoding:"utf8"}),a=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(i);return a?(e=a.groups.mountPoint.trim(),e=e.endsWith("/")?e:`${e}/`,e):t}})(),Ua=s(async(t,e)=>{let r;for(let o of t)try{return await e(o)}catch(i){r=i}throw r},"pTryEach"),Jn=s(async t=>{if(t={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...t},Array.isArray(t.app))return Ua(t.app,l=>Jn({...t,app:l}));let{name:e,arguments:r=[]}=t.app||{};if(r=[...r],Array.isArray(e))return Ua(e,l=>Jn({...t,app:{name:l,arguments:r}}));let o,i=[],a={};if(rr==="darwin")o="open",t.wait&&i.push("--wait-apps"),t.background&&i.push("--background"),t.newInstance&&i.push("--new"),e&&i.push("-a",e);else if(rr==="win32"||Qn&&!nm()&&!e){let l=await om();o=Qn?`${l}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,i.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),Qn||(a.windowsVerbatimArguments=!0);let f=["Start"];t.wait&&f.push("-Wait"),e?(f.push(`"\`"${e}\`""`,"-ArgumentList"),t.target&&r.unshift(t.target)):t.target&&f.push(`"${t.target}"`),r.length>0&&(r=r.map(h=>`"\`"${h}\`""`),f.push(r.join(","))),t.target=Buffer.from(f.join(" "),"utf16le").toString("base64")}else{if(e)o=e;else{let l=!__dirname||__dirname==="/",f=!1;try{await Kn.access(Ma,Va.X_OK),f=!0}catch{}o=process.versions.electron||rr==="android"||l||!f?"xdg-open":Ma}r.length>0&&i.push(...r),t.wait||(a.stdio="ignore",a.detached=!0)}t.target&&i.push(t.target),rr==="darwin"&&r.length>0&&i.push("--args",...r);let c=em.spawn(o,i,a);return t.wait?new Promise((l,f)=>{c.once("error",f),c.once("close",h=>{if(!t.allowNonzeroExitCode&&h>0){f(new Error(`Exited with code ${h}`));return}l(c)})}):(c.unref(),c)},"baseOpen"),Si=s((t,e)=>{if(typeof t!="string")throw new TypeError("Expected a `target`");return Jn({...e,target:t})},"open"),im=s((t,e)=>{if(typeof t!="string")throw new TypeError("Expected a `name`");let{arguments:r=[]}=e||{};if(r!=null&&!Array.isArray(r))throw new TypeError("Expected `appArguments` as Array type");return Jn({...e,app:{name:t,arguments:r}})},"openApp");function ka(t){if(typeof t=="string"||Array.isArray(t))return t;let{[qa]:e}=t;if(!e)throw new Error(`${qa} is not supported`);return e}s(ka,"detectArchBinary");function Ti({[rr]:t},{wsl:e}){if(e&&Qn)return ka(e);if(!t)throw new Error(`${rr} is not supported`);return ka(t)}s(Ti,"detectPlatformBinary");var Zn={};wi(Zn,"chrome",()=>Ti({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));wi(Zn,"firefox",()=>Ti({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));wi(Zn,"edge",()=>Ti({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Si.apps=Zn;Si.openApp=im;ja.exports=Si});var Ha=E((eo,Ga)=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=sm;function sm(t){let e=t.slice(0,512),r=0;for(;r<e.length&&am(e[r]);)r++;for(let o of lm){let i=o.match(e,r);if(i!="")return i}return"application/octet-stream"}s(sm,"detectContentType");function am(t){switch(t){case 9:case 10:case 44:case 13:case 32:return!0}return!1}s(am,"isWS");var Ne=class{static{s(this,"exactSig")}constructor(e,r){Object.assign(this,{sig:e,ct:r})}match(e){return Buffer.compare(this.sig,e.slice(0,this.sig.length))==0?this.ct:""}},Ce=class{static{s(this,"maskedSig")}constructor(e,r,o,i){Object.assign(this,{mask:e,pat:r,skipWS:o,ct:i})}match(e,r){if(this.skipWS&&(e=e.slice(r)),this.pat.length!=this.mask.length||e.length<this.mask.length)return"";for(let o=0;o<this.mask.length;o++)if((e[o]&this.mask[o])!=this.pat[o])return"";return this.ct}},de=class{static{s(this,"htmlSig")}constructor(e){this.h=Buffer.from(e)}match(e,r){if(e=e.slice(r),e.length<this.h.length+1)return"";for(let i=0;i<this.h.length;i++){let a=this.h[i],c=e[i];if(65<=a&&a<=90&&(c&=223),a!=c)return""}let o=String.fromCharCode(e[this.h.length]);return o!=" "&&o!=">"?"":"text/html; charset=utf-8"}},um=Buffer.from("ftyp"),cm=Buffer.from("mp4"),Ci=class{static{s(this,"mp4Sig")}match(e){if(e.length<12)return"";let r=e.readUInt32BE(0);if(r%4!=0||e.length<r||Buffer.compare(e.slice(4,8),um)!=0)return"";for(let o=8;o<r;o+=4)if(o!=12&&Buffer.compare(e.slice(o,o+3),cm)==0)return"video/mp4";return""}},Di=class{static{s(this,"textSig")}match(e,r){for(let o of e.slice(r))if(o<=8||o==11||14<=o&&o<=26||28<=o&&o<=31)return"";return"text/plain; charset=utf-8"}},lm=[new de("<!DOCTYPE HTML"),new de("<HTML"),new de("<HEAD"),new de("<SCRIPT"),new de("<IFRAME"),new de("<H1"),new de("<DIV"),new de("<FONT"),new de("<TABLE"),new de("<A"),new de("<STYLE"),new de("<TITLE"),new de("<B"),new de("<BODY"),new de("<BR"),new de("<P"),new de("<!--"),new Ce(Buffer.from([255,255,255,255,255]),Buffer.from("<?xml"),!0,"text/xml; charset=utf-8"),new Ne(Buffer.from("%PDF-"),"application/pdf"),new Ne(Buffer.from("%!PS-Adobe-"),"application/postscript"),new Ce(Buffer.from([255,255,0,0]),Buffer.from([254,255,0,0]),!1,"text/plain; charset=utf-16be"),new Ce(Buffer.from([255,255,0,0]),Buffer.from([255,254,0,0]),!1,"text/plain; charset=utf-16le"),new Ce(Buffer.from([255,255,255,0]),Buffer.from([239,187,191,0]),!1,"text/plain; charset=utf-8"),new Ne(Buffer.from("GIF87a"),"image/gif"),new Ne(Buffer.from("GIF89a"),"image/gif"),new Ne(Buffer.from([137,80,78,71,13,10,26,10]),"image/png"),new Ne(Buffer.from([255,216,255]),"image/jpeg"),new Ne(Buffer.from("BM"),"image/bmp"),new Ce(Buffer.from([255,255,255,255,0,0,0,0,255,255,255,255,255,255]),Buffer.from("RIFF\0\0\0\0WEBPVP"),!1,"image/webp"),new Ne(Buffer.from([0,0,1,0]),"image/vnd.microsoft.icon"),new Ce(Buffer.from([255,255,255,255,0,0,0,0,255,255,255,255]),Buffer.from("RIFF\0\0\0\0WAVE"),!1,"audio/wave"),new Ce(Buffer.from([255,255,255,255,0,0,0,0,255,255,255,255]),Buffer.from("FORM\0\0\0\0AIFF"),!1,"audio/aiff"),new Ce(Buffer.from([255,255,255,255]),Buffer.from(".snd"),!1,"audio/basic"),new Ce(Buffer.from([255,255,255,255,255]),Buffer.from("OggS\0"),!1,"application/ogg"),new Ce(Buffer.from([255,255,255,255,255,255,255,255]),Buffer.concat([Buffer.from("MThd"),Buffer.from([0,0,0,6])]),!1,"audio/midi"),new Ce(Buffer.from([255,255,255]),Buffer.from("ID3"),!1,"audio/mpeg"),new Ce(Buffer.from([255,255,255,255,0,0,0,0,255,255,255,255]),Buffer.from("RIFF\0\0\0\0AVI "),!1,"video/avi"),new Ne(Buffer.from([26,69,223,163]),"video/webm"),new Ne(Buffer.from([82,97,114,32,26,7,0]),"application/x-rar-compressed"),new Ne(Buffer.from([80,75,3,4]),"application/zip"),new Ne(Buffer.from([31,139,8]),"application/x-gzip"),new Ci,new Di];Ga.exports=eo.default});var Mt=E((gC,ou)=>{"use strict";ou.exports=TypeError});var su=E((mC,iu)=>{iu.exports=require("util").inspect});var on=E((yC,Nu)=>{var Vi=typeof Map=="function"&&Map.prototype,_i=Object.getOwnPropertyDescriptor&&Vi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ao=Vi&&_i&&typeof _i.get=="function"?_i.get:null,au=Vi&&Map.prototype.forEach,ji=typeof Set=="function"&&Set.prototype,Pi=Object.getOwnPropertyDescriptor&&ji?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,uo=ji&&Pi&&typeof Pi.get=="function"?Pi.get:null,uu=ji&&Set.prototype.forEach,mm=typeof WeakMap=="function"&&WeakMap.prototype,tn=mm?WeakMap.prototype.has:null,ym=typeof WeakSet=="function"&&WeakSet.prototype,rn=ym?WeakSet.prototype.has:null,Am=typeof WeakRef=="function"&&WeakRef.prototype,cu=Am?WeakRef.prototype.deref:null,vm=Boolean.prototype.valueOf,Em=Object.prototype.toString,xm=Function.prototype.toString,bm=String.prototype.match,Gi=String.prototype.slice,Ot=String.prototype.replace,wm=String.prototype.toUpperCase,lu=String.prototype.toLowerCase,vu=RegExp.prototype.test,fu=Array.prototype.concat,ot=Array.prototype.join,Sm=Array.prototype.slice,pu=Math.floor,Li=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Bi=Object.getOwnPropertySymbols,Mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ir=typeof Symbol=="function"&&typeof Symbol.iterator=="object",nn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ir||!0)?Symbol.toStringTag:null,Eu=Object.prototype.propertyIsEnumerable,hu=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function du(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||vu.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var o=t<0?-pu(-t):pu(t);if(o!==t){var i=String(o),a=Gi.call(e,i.length+1);return Ot.call(i,r,"$&_")+"."+Ot.call(Ot.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ot.call(e,r,"$&_")}s(du,"addNumericSeparator");var qi=su(),gu=qi.custom,mu=wu(gu)?gu:null,xu={__proto__:null,double:'"',single:"'"},Tm={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Nu.exports=s(function t(e,r,o,i){var a=r||{};if(Et(a,"quoteStyle")&&!Et(xu,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Et(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=Et(a,"customInspect")?a.customInspect:!0;if(typeof c!="boolean"&&c!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Et(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Et(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Tu(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var f=String(e);return l?du(e,f):f}if(typeof e=="bigint"){var h=String(e)+"n";return l?du(e,h):h}var g=typeof a.depth>"u"?5:a.depth;if(typeof o>"u"&&(o=0),o>=g&&g>0&&typeof e=="object")return Ui(e)?"[Array]":"[Object]";var A=Gm(a,o);if(typeof i>"u")i=[];else if(Su(i,e)>=0)return"[Circular]";function y(ae,ce,le){if(ce&&(i=Sm.call(i),i.push(ce)),le){var z={depth:a.depth};return Et(a,"quoteStyle")&&(z.quoteStyle=a.quoteStyle),t(ae,z,o+1,i)}return t(ae,a,o+1,i)}if(s(y,"inspect"),typeof e=="function"&&!yu(e)){var b=Bm(e),T=so(e,y);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(T.length>0?" { "+ot.call(T,", ")+" }":"")}if(wu(e)){var C=ir?Ot.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Mi.call(e);return typeof e=="object"&&!ir?en(C):C}if(km(e)){for(var _="<"+lu.call(String(e.nodeName)),j=e.attributes||[],H=0;H<j.length;H++)_+=" "+j[H].name+"="+bu(Nm(j[H].value),"double",a);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+lu.call(String(e.nodeName))+">",_}if(Ui(e)){if(e.length===0)return"[]";var P=so(e,y);return A&&!jm(P)?"["+ki(P,A)+"]":"[ "+ot.call(P,", ")+" ]"}if(Dm(e)){var w=so(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!Eu.call(e,"cause")?"{ ["+String(e)+"] "+ot.call(fu.call("[cause]: "+y(e.cause),w),", ")+" }":w.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ot.call(w,", ")+" }"}if(typeof e=="object"&&c){if(mu&&typeof e[mu]=="function"&&qi)return qi(e,{depth:g-o});if(c!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Fm(e)){var x=[];return au&&au.call(e,function(ae,ce){x.push(y(ce,e,!0)+" => "+y(ae,e))}),Au("Map",ao.call(e),x,A)}if(qm(e)){var V=[];return uu&&uu.call(e,function(ae){V.push(y(ae,e))}),Au("Set",uo.call(e),V,A)}if(Lm(e))return Fi("WeakMap");if(Um(e))return Fi("WeakSet");if(Mm(e))return Fi("WeakRef");if(Rm(e))return en(y(Number(e)));if(_m(e))return en(y(Li.call(e)));if(Im(e))return en(vm.call(e));if(Om(e))return en(y(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!Cm(e)&&!yu(e)){var re=so(e,y),G=hu?hu(e)===Object.prototype:e instanceof Object||e.constructor===Object,Y=e instanceof Object?"":"null prototype",oe=!G&&nn&&Object(e)===e&&nn in e?Gi.call(Rt(e),8,-1):Y?"Object":"",F=G||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ue=F+(oe||Y?"["+ot.call(fu.call([],oe||[],Y||[]),": ")+"] ":"");return re.length===0?ue+"{}":A?ue+"{"+ki(re,A)+"}":ue+"{ "+ot.call(re,", ")+" }"}return String(e)},"inspect_");function bu(t,e,r){var o=r.quoteStyle||e,i=xu[o];return i+t+i}s(bu,"wrapQuotes");function Nm(t){return Ot.call(String(t),/"/g,"&quot;")}s(Nm,"quote");function qt(t){return!nn||!(typeof t=="object"&&(nn in t||typeof t[nn]<"u"))}s(qt,"canTrustToString");function Ui(t){return Rt(t)==="[object Array]"&&qt(t)}s(Ui,"isArray");function Cm(t){return Rt(t)==="[object Date]"&&qt(t)}s(Cm,"isDate");function yu(t){return Rt(t)==="[object RegExp]"&&qt(t)}s(yu,"isRegExp");function Dm(t){return Rt(t)==="[object Error]"&&qt(t)}s(Dm,"isError");function Om(t){return Rt(t)==="[object String]"&&qt(t)}s(Om,"isString");function Rm(t){return Rt(t)==="[object Number]"&&qt(t)}s(Rm,"isNumber");function Im(t){return Rt(t)==="[object Boolean]"&&qt(t)}s(Im,"isBoolean");function wu(t){if(ir)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Mi)return!1;try{return Mi.call(t),!0}catch{}return!1}s(wu,"isSymbol");function _m(t){if(!t||typeof t!="object"||!Li)return!1;try{return Li.call(t),!0}catch{}return!1}s(_m,"isBigInt");var Pm=Object.prototype.hasOwnProperty||function(t){return t in this};function Et(t,e){return Pm.call(t,e)}s(Et,"has");function Rt(t){return Em.call(t)}s(Rt,"toStr");function Bm(t){if(t.name)return t.name;var e=bm.call(xm.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}s(Bm,"nameOf");function Su(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}s(Su,"indexOf");function Fm(t){if(!ao||!t||typeof t!="object")return!1;try{ao.call(t);try{uo.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}s(Fm,"isMap");function Lm(t){if(!tn||!t||typeof t!="object")return!1;try{tn.call(t,tn);try{rn.call(t,rn)}catch{return!0}return t instanceof WeakMap}catch{}return!1}s(Lm,"isWeakMap");function Mm(t){if(!cu||!t||typeof t!="object")return!1;try{return cu.call(t),!0}catch{}return!1}s(Mm,"isWeakRef");function qm(t){if(!uo||!t||typeof t!="object")return!1;try{uo.call(t);try{ao.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}s(qm,"isSet");function Um(t){if(!rn||!t||typeof t!="object")return!1;try{rn.call(t,rn);try{tn.call(t,tn)}catch{return!0}return t instanceof WeakSet}catch{}return!1}s(Um,"isWeakSet");function km(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}s(km,"isElement");function Tu(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return Tu(Gi.call(t,0,e.maxStringLength),e)+o}var i=Tm[e.quoteStyle||"single"];i.lastIndex=0;var a=Ot.call(Ot.call(t,i,"\\$1"),/[\x00-\x1f]/g,Vm);return bu(a,"single",e)}s(Tu,"inspectString");function Vm(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+wm.call(e.toString(16))}s(Vm,"lowbyte");function en(t){return"Object("+t+")"}s(en,"markBoxed");function Fi(t){return t+" { ? }"}s(Fi,"weakCollectionOf");function Au(t,e,r,o){var i=o?ki(r,o):ot.call(r,", ");return t+" ("+e+") {"+i+"}"}s(Au,"collectionOf");function jm(t){for(var e=0;e<t.length;e++)if(Su(t[e],` `)>=0)return!1;return!0}s(jm,"singleLineValues");function Gm(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ot.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ot.call(Array(e+1),r)}}s(Gm,"getIndent");function ki(t,e){if(t.length===0)return"";var r=` `+e.prev+e.base;return r+ot.call(t,","+r)+` `+e.prev}s(ki,"indentedJoin");function so(t,e){var r=Ui(t),o=[];if(r){o.length=t.length;for(var i=0;i<t.length;i++)o[i]=Et(t,i)?e(t[i],t):""}var a=typeof Bi=="function"?Bi(t):[],c;if(ir){c={};for(var l=0;l<a.length;l++)c["$"+a[l]]=a[l]}for(var f in t)Et(t,f)&&(r&&String(Number(f))===f&&f<t.length||ir&&c["$"+f]instanceof Symbol||(vu.call(/[^\w$]/,f)?o.push(e(f,t)+": "+e(t[f],t)):o.push(f+": "+e(t[f],t))));if(typeof Bi=="function")for(var h=0;h<a.length;h++)Eu.call(t,a[h])&&o.push("["+e(a[h])+"]: "+e(t[a[h]],t));return o}s(so,"arrObjKeys")});var Du=E((vC,Cu)=>{"use strict";var Hm=on(),$m=Mt(),co=s(function(t,e,r){for(var o=t,i;(i=o.next)!=null;o=i)if(i.key===e)return o.next=i.next,r||(i.next=t.next,t.next=i),i},"listGetNode"),Wm=s(function(t,e){if(t){var r=co(t,e);return r&&r.value}},"listGet"),zm=s(function(t,e,r){var o=co(t,e);o?o.value=r:t.next={key:e,next:t.next,value:r}},"listSet"),Ym=s(function(t,e){return t?!!co(t,e):!1},"listHas"),Xm=s(function(t,e){if(t)return co(t,e,!0)},"listDelete");Cu.exports=s(function(){var e,r={assert:s(function(o){if(!r.has(o))throw new $m("Side channel does not contain "+Hm(o))},"assert"),delete:s(function(o){var i=Xm(e,o);return i&&e&&!e.next&&(e=void 0),!!i},"delete"),get:s(function(o){return Wm(e,o)},"get"),has:s(function(o){return Ym(e,o)},"has"),set:s(function(o,i){e||(e={next:void 0}),zm(e,o,i)},"set")};return r},"getSideChannelList")});var Hi=E((xC,Ou)=>{"use strict";Ou.exports=Object});var Iu=E((bC,Ru)=>{"use strict";Ru.exports=Error});var Pu=E((wC,_u)=>{"use strict";_u.exports=EvalError});var Fu=E((SC,Bu)=>{"use strict";Bu.exports=RangeError});var Mu=E((TC,Lu)=>{"use strict";Lu.exports=ReferenceError});var Uu=E((NC,qu)=>{"use strict";qu.exports=SyntaxError});var Vu=E((CC,ku)=>{"use strict";ku.exports=URIError});var Gu=E((DC,ju)=>{"use strict";ju.exports=Math.abs});var $u=E((OC,Hu)=>{"use strict";Hu.exports=Math.floor});var zu=E((RC,Wu)=>{"use strict";Wu.exports=Math.max});var Xu=E((IC,Yu)=>{"use strict";Yu.exports=Math.min});var Ku=E((_C,Qu)=>{"use strict";Qu.exports=Math.pow});var Zu=E((PC,Ju)=>{"use strict";Ju.exports=Math.round});var tc=E((BC,ec)=>{"use strict";ec.exports=Number.isNaN||s(function(e){return e!==e},"isNaN")});var nc=E((LC,rc)=>{"use strict";var Qm=tc();rc.exports=s(function(e){return Qm(e)||e===0?e:e<0?-1:1},"sign")});var ic=E((qC,oc)=>{"use strict";oc.exports=Object.getOwnPropertyDescriptor});var $i=E((UC,sc)=>{"use strict";var lo=ic();if(lo)try{lo([],"length")}catch{lo=null}sc.exports=lo});var uc=E((kC,ac)=>{"use strict";var fo=Object.defineProperty||!1;if(fo)try{fo({},"a",{value:1})}catch{fo=!1}ac.exports=fo});var lc=E((VC,cc)=>{"use strict";cc.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),o=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var c=Object.getOwnPropertySymbols(e);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")});var hc=E((GC,pc)=>{"use strict";var fc=typeof Symbol<"u"&&Symbol,Km=lc();pc.exports=s(function(){return typeof fc!="function"||typeof Symbol!="function"||typeof fc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Km()},"hasNativeSymbols")});var Wi=E(($C,dc)=>{"use strict";dc.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var zi=E((WC,gc)=>{"use strict";var Jm=Hi();gc.exports=Jm.getPrototypeOf||null});var Ac=E((zC,yc)=>{"use strict";var Zm="Function.prototype.bind called on incompatible ",e2=Object.prototype.toString,t2=Math.max,r2="[object Function]",mc=s(function(e,r){for(var o=[],i=0;i<e.length;i+=1)o[i]=e[i];for(var a=0;a<r.length;a+=1)o[a+e.length]=r[a];return o},"concatty"),n2=s(function(e,r){for(var o=[],i=r||0,a=0;i<e.length;i+=1,a+=1)o[a]=e[i];return o},"slicy"),o2=s(function(t,e){for(var r="",o=0;o<t.length;o+=1)r+=t[o],o+1<t.length&&(r+=e);return r},"joiny");yc.exports=s(function(e){var r=this;if(typeof r!="function"||e2.apply(r)!==r2)throw new TypeError(Zm+r);for(var o=n2(arguments,1),i,a=s(function(){if(this instanceof i){var g=r.apply(this,mc(o,arguments));return Object(g)===g?g:this}return r.apply(e,mc(o,arguments))},"binder"),c=t2(0,r.length-o.length),l=[],f=0;f<c;f++)l[f]="$"+f;if(i=Function("binder","return function ("+o2(l,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var h=s(function(){},"Empty");h.prototype=r.prototype,i.prototype=new h,h.prototype=null}return i},"bind")});var sn=E((XC,vc)=>{"use strict";var i2=Ac();vc.exports=Function.prototype.bind||i2});var po=E((QC,Ec)=>{"use strict";Ec.exports=Function.prototype.call});var Yi=E((KC,xc)=>{"use strict";xc.exports=Function.prototype.apply});var wc=E((JC,bc)=>{"use strict";bc.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Tc=E((ZC,Sc)=>{"use strict";var s2=sn(),a2=Yi(),u2=po(),c2=wc();Sc.exports=c2||s2.call(u2,a2)});var Xi=E((eD,Nc)=>{"use strict";var l2=sn(),f2=Mt(),p2=po(),h2=Tc();Nc.exports=s(function(e){if(e.length<1||typeof e[0]!="function")throw new f2("a function is required");return h2(l2,p2,e)},"callBindBasic")});var _c=E((rD,Ic)=>{"use strict";var d2=Xi(),Cc=$i(),Oc;try{Oc=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var Qi=!!Oc&&Cc&&Cc(Object.prototype,"__proto__"),Rc=Object,Dc=Rc.getPrototypeOf;Ic.exports=Qi&&typeof Qi.get=="function"?d2([Qi.get]):typeof Dc=="function"?s(function(e){return Dc(e==null?e:Rc(e))},"getDunder"):!1});var Mc=E((oD,Lc)=>{"use strict";var Pc=Wi(),Bc=zi(),Fc=_c();Lc.exports=Pc?s(function(e){return Pc(e)},"getProto"):Bc?s(function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Bc(e)},"getProto"):Fc?s(function(e){return Fc(e)},"getProto"):null});var Uc=E((sD,qc)=>{"use strict";var g2=Function.prototype.call,m2=Object.prototype.hasOwnProperty,y2=sn();qc.exports=y2.call(g2,m2)});var mo=E((aD,$c)=>{"use strict";var X,A2=Hi(),v2=Iu(),E2=Pu(),x2=Fu(),b2=Mu(),cr=Uu(),ur=Mt(),w2=Vu(),S2=Gu(),T2=$u(),N2=zu(),C2=Xu(),D2=Ku(),O2=Zu(),R2=nc(),Gc=Function,Ki=s(function(t){try{return Gc('"use strict"; return ('+t+").constructor;")()}catch{}},"getEvalledConstructor"),an=$i(),I2=uc(),Ji=s(function(){throw new ur},"throwTypeError"),_2=an?(function(){try{return arguments.callee,Ji}catch{try{return an(arguments,"callee").get}catch{return Ji}}})():Ji,sr=hc()(),ye=Mc(),P2=zi(),B2=Wi(),Hc=Yi(),un=po(),ar={},F2=typeof Uint8Array>"u"||!ye?X:ye(Uint8Array),Ut={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?X:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?X:ArrayBuffer,"%ArrayIteratorPrototype%":sr&&ye?ye([][Symbol.iterator]()):X,"%AsyncFromSyncIteratorPrototype%":X,"%AsyncFunction%":ar,"%AsyncGenerator%":ar,"%AsyncGeneratorFunction%":ar,"%AsyncIteratorPrototype%":ar,"%Atomics%":typeof Atomics>"u"?X:Atomics,"%BigInt%":typeof BigInt>"u"?X:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?X:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?X:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?X:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":v2,"%eval%":eval,"%EvalError%":E2,"%Float16Array%":typeof Float16Array>"u"?X:Float16Array,"%Float32Array%":typeof Float32Array>"u"?X:Float32Array,"%Float64Array%":typeof Float64Array>"u"?X:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?X:FinalizationRegistry,"%Function%":Gc,"%GeneratorFunction%":ar,"%Int8Array%":typeof Int8Array>"u"?X:Int8Array,"%Int16Array%":typeof Int16Array>"u"?X:Int16Array,"%Int32Array%":typeof Int32Array>"u"?X:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":sr&&ye?ye(ye([][Symbol.iterator]())):X,"%JSON%":typeof JSON=="object"?JSON:X,"%Map%":typeof Map>"u"?X:Map,"%MapIteratorPrototype%":typeof Map>"u"||!sr||!ye?X:ye(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":A2,"%Object.getOwnPropertyDescriptor%":an,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?X:Promise,"%Proxy%":typeof Proxy>"u"?X:Proxy,"%RangeError%":x2,"%ReferenceError%":b2,"%Reflect%":typeof Reflect>"u"?X:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?X:Set,"%SetIteratorPrototype%":typeof Set>"u"||!sr||!ye?X:ye(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?X:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":sr&&ye?ye(""[Symbol.iterator]()):X,"%Symbol%":sr?Symbol:X,"%SyntaxError%":cr,"%ThrowTypeError%":_2,"%TypedArray%":F2,"%TypeError%":ur,"%Uint8Array%":typeof Uint8Array>"u"?X:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?X:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?X:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?X:Uint32Array,"%URIError%":w2,"%WeakMap%":typeof WeakMap>"u"?X:WeakMap,"%WeakRef%":typeof WeakRef>"u"?X:WeakRef,"%WeakSet%":typeof WeakSet>"u"?X:WeakSet,"%Function.prototype.call%":un,"%Function.prototype.apply%":Hc,"%Object.defineProperty%":I2,"%Object.getPrototypeOf%":P2,"%Math.abs%":S2,"%Math.floor%":T2,"%Math.max%":N2,"%Math.min%":C2,"%Math.pow%":D2,"%Math.round%":O2,"%Math.sign%":R2,"%Reflect.getPrototypeOf%":B2};if(ye)try{null.error}catch(t){kc=ye(ye(t)),Ut["%Error.prototype%"]=kc}var kc,L2=s(function t(e){var r;if(e==="%AsyncFunction%")r=Ki("async function () {}");else if(e==="%GeneratorFunction%")r=Ki("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Ki("async function* () {}");else if(e==="%AsyncGenerator%"){var o=t("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&ye&&(r=ye(i.prototype))}return Ut[e]=r,r},"doEval"),Vc={__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"]},cn=sn(),ho=Uc(),M2=cn.call(un,Array.prototype.concat),q2=cn.call(Hc,Array.prototype.splice),jc=cn.call(un,String.prototype.replace),go=cn.call(un,String.prototype.slice),U2=cn.call(un,RegExp.prototype.exec),k2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V2=/\\(\\)?/g,j2=s(function(e){var r=go(e,0,1),o=go(e,-1);if(r==="%"&&o!=="%")throw new cr("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&r!=="%")throw new cr("invalid intrinsic syntax, expected opening `%`");var i=[];return jc(e,k2,function(a,c,l,f){i[i.length]=l?jc(f,V2,"$1"):c||a}),i},"stringToPath"),G2=s(function(e,r){var o=e,i;if(ho(Vc,o)&&(i=Vc[o],o="%"+i[0]+"%"),ho(Ut,o)){var a=Ut[o];if(a===ar&&(a=L2(o)),typeof a>"u"&&!r)throw new ur("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new cr("intrinsic "+e+" does not exist!")},"getBaseIntrinsic");$c.exports=s(function(e,r){if(typeof e!="string"||e.length===0)throw new ur("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ur('"allowMissing" argument must be a boolean');if(U2(/^%?[^%]*%?$/,e)===null)throw new cr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=j2(e),i=o.length>0?o[0]:"",a=G2("%"+i+"%",r),c=a.name,l=a.value,f=!1,h=a.alias;h&&(i=h[0],q2(o,M2([0,1],h)));for(var g=1,A=!0;g<o.length;g+=1){var y=o[g],b=go(y,0,1),T=go(y,-1);if((b==='"'||b==="'"||b==="`"||T==='"'||T==="'"||T==="`")&&b!==T)throw new cr("property names with quotes must have matching quotes");if((y==="constructor"||!A)&&(f=!0),i+="."+y,c="%"+i+"%",ho(Ut,c))l=Ut[c];else if(l!=null){if(!(y in l)){if(!r)throw new ur("base intrinsic for "+e+" exists, but the property is not available.");return}if(an&&g+1>=o.length){var C=an(l,y);A=!!C,A&&"get"in C&&!("originalValue"in C.get)?l=C.get:l=l[y]}else A=ho(l,y),l=l[y];A&&!f&&(Ut[c]=l)}}return l},"GetIntrinsic")});var Zi=E((cD,Yc)=>{"use strict";var Wc=mo(),zc=Xi(),H2=zc([Wc("%String.prototype.indexOf%")]);Yc.exports=s(function(e,r){var o=Wc(e,!!r);return typeof o=="function"&&H2(e,".prototype.")>-1?zc([o]):o},"callBoundIntrinsic")});var es=E((fD,Qc)=>{"use strict";var $2=mo(),ln=Zi(),W2=on(),z2=Mt(),Xc=$2("%Map%",!0),Y2=ln("Map.prototype.get",!0),X2=ln("Map.prototype.set",!0),Q2=ln("Map.prototype.has",!0),K2=ln("Map.prototype.delete",!0),J2=ln("Map.prototype.size",!0);Qc.exports=!!Xc&&s(function(){var e,r={assert:s(function(o){if(!r.has(o))throw new z2("Side channel does not contain "+W2(o))},"assert"),delete:s(function(o){if(e){var i=K2(e,o);return J2(e)===0&&(e=void 0),i}return!1},"delete"),get:s(function(o){if(e)return Y2(e,o)},"get"),has:s(function(o){return e?Q2(e,o):!1},"has"),set:s(function(o,i){e||(e=new Xc),X2(e,o,i)},"set")};return r},"getSideChannelMap")});var Jc=E((hD,Kc)=>{"use strict";var Z2=mo(),Ao=Zi(),ey=on(),yo=es(),ty=Mt(),lr=Z2("%WeakMap%",!0),ry=Ao("WeakMap.prototype.get",!0),ny=Ao("WeakMap.prototype.set",!0),oy=Ao("WeakMap.prototype.has",!0),iy=Ao("WeakMap.prototype.delete",!0);Kc.exports=lr?s(function(){var e,r,o={assert:s(function(i){if(!o.has(i))throw new ty("Side channel does not contain "+ey(i))},"assert"),delete:s(function(i){if(lr&&i&&(typeof i=="object"||typeof i=="function")){if(e)return iy(e,i)}else if(yo&&r)return r.delete(i);return!1},"delete"),get:s(function(i){return lr&&i&&(typeof i=="object"||typeof i=="function")&&e?ry(e,i):r&&r.get(i)},"get"),has:s(function(i){return lr&&i&&(typeof i=="object"||typeof i=="function")&&e?oy(e,i):!!r&&r.has(i)},"has"),set:s(function(i,a){lr&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new lr),ny(e,i,a)):yo&&(r||(r=yo()),r.set(i,a))},"set")};return o},"getSideChannelWeakMap"):yo});var ts=E((gD,Zc)=>{"use strict";var sy=Mt(),ay=on(),uy=Du(),cy=es(),ly=Jc(),fy=ly||cy||uy;Zc.exports=s(function(){var e,r={assert:s(function(o){if(!r.has(o))throw new sy("Side channel does not contain "+ay(o))},"assert"),delete:s(function(o){return!!e&&e.delete(o)},"delete"),get:s(function(o){return e&&e.get(o)},"get"),has:s(function(o){return!!e&&e.has(o)},"has"),set:s(function(o,i){e||(e=fy()),e.set(o,i)},"set")};return r},"getSideChannel")});var vo=E((yD,el)=>{"use strict";var py=String.prototype.replace,hy=/%20/g,rs={RFC1738:"RFC1738",RFC3986:"RFC3986"};el.exports={default:rs.RFC3986,formatters:{RFC1738:s(function(t){return py.call(t,hy,"+")},"RFC1738"),RFC3986:s(function(t){return String(t)},"RFC3986")},RFC1738:rs.RFC1738,RFC3986:rs.RFC3986}});var ss=E((vD,tl)=>{"use strict";var dy=vo(),gy=ts(),ns=Object.prototype.hasOwnProperty,kt=Array.isArray,Eo=gy(),fr=s(function(e,r){return Eo.set(e,r),e},"markOverflow"),Vt=s(function(e){return Eo.has(e)},"isOverflow"),pn=s(function(e){return Eo.get(e)},"getMaxIndex"),is=s(function(e,r){Eo.set(e,r)},"setMaxIndex"),it=(function(){for(var t=[],e=0;e<256;++e)t[t.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return t})(),my=s(function(e){for(;e.length>1;){var r=e.pop(),o=r.obj[r.prop];if(kt(o)){for(var i=[],a=0;a<o.length;++a)typeof o[a]<"u"&&(i[i.length]=o[a]);r.obj[r.prop]=i}}},"compactQueue"),hn=s(function(e,r){for(var o=r&&r.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)typeof e[i]<"u"&&(o[i]=e[i]);return o},"arrayToObject"),yy=s(function t(e,r,o){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(kt(e)){var i=e.length;if(o&&typeof o.arrayLimit=="number"&&i>o.arrayLimit)return fr(hn(e.concat(r),o),i);e[i]=r}else if(e&&typeof e=="object")if(Vt(e)){var a=pn(e)+1;e[a]=r,is(e,a)}else{if(o&&o.strictMerge)return[e,r];(o&&(o.plainObjects||o.allowPrototypes)||!ns.call(Object.prototype,r))&&(e[r]=!0)}else return[e,r];return e}if(!e||typeof e!="object"){if(Vt(r)){for(var c=Object.keys(r),l=o&&o.plainObjects?{__proto__:null,0:e}:{0:e},f=0;f<c.length;f++){var h=parseInt(c[f],10);l[h+1]=r[c[f]]}return fr(l,pn(r)+1)}var g=[e].concat(r);return o&&typeof o.arrayLimit=="number"&&g.length>o.arrayLimit?fr(hn(g,o),g.length-1):g}var A=e;return kt(e)&&!kt(r)&&(A=hn(e,o)),kt(e)&&kt(r)?(r.forEach(function(y,b){if(ns.call(e,b)){var T=e[b];T&&typeof T=="object"&&y&&typeof y=="object"?e[b]=t(T,y,o):e[e.length]=y}else e[b]=y}),e):Object.keys(r).reduce(function(y,b){var T=r[b];if(ns.call(y,b)?y[b]=t(y[b],T,o):y[b]=T,Vt(r)&&!Vt(y)&&fr(y,pn(r)),Vt(y)){var C=parseInt(b,10);String(C)===b&&C>=0&&C>pn(y)&&is(y,C)}return y},A)},"merge"),Ay=s(function(e,r){return Object.keys(r).reduce(function(o,i){return o[i]=r[i],o},e)},"assignSingleSource"),vy=s(function(t,e,r){var o=t.replace(/\+/g," ");if(r==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},"decode"),os=1024,Ey=s(function(e,r,o,i,a){if(e.length===0)return e;var c=e;if(typeof e=="symbol"?c=Symbol.prototype.toString.call(e):typeof e!="string"&&(c=String(e)),o==="iso-8859-1")return escape(c).replace(/%u[0-9a-f]{4}/gi,function(b){return"%26%23"+parseInt(b.slice(2),16)+"%3B"});for(var l="",f=0;f<c.length;f+=os){for(var h=c.length>=os?c.slice(f,f+os):c,g=[],A=0;A<h.length;++A){var y=h.charCodeAt(A);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===dy.RFC1738&&(y===40||y===41)){g[g.length]=h.charAt(A);continue}if(y<128){g[g.length]=it[y];continue}if(y<2048){g[g.length]=it[192|y>>6]+it[128|y&63];continue}if(y<55296||y>=57344){g[g.length]=it[224|y>>12]+it[128|y>>6&63]+it[128|y&63];continue}A+=1,y=65536+((y&1023)<<10|h.charCodeAt(A)&1023),g[g.length]=it[240|y>>18]+it[128|y>>12&63]+it[128|y>>6&63]+it[128|y&63]}l+=g.join("")}return l},"encode"),xy=s(function(e){for(var r=[{obj:{o:e},prop:"o"}],o=[],i=0;i<r.length;++i)for(var a=r[i],c=a.obj[a.prop],l=Object.keys(c),f=0;f<l.length;++f){var h=l[f],g=c[h];typeof g=="object"&&g!==null&&o.indexOf(g)===-1&&(r[r.length]={obj:c,prop:h},o[o.length]=g)}return my(r),e},"compact"),by=s(function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},"isRegExp"),wy=s(function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},"isBuffer"),Sy=s(function(e,r,o,i){if(Vt(e)){var a=pn(e)+1;return e[a]=r,is(e,a),e}var c=[].concat(e,r);return c.length>o?fr(hn(c,{plainObjects:i}),c.length-1):c},"combine"),Ty=s(function(e,r){if(kt(e)){for(var o=[],i=0;i<e.length;i+=1)o[o.length]=r(e[i]);return o}return r(e)},"maybeMap");tl.exports={arrayToObject:hn,assign:Ay,combine:Sy,compact:xy,decode:vy,encode:Ey,isBuffer:wy,isOverflow:Vt,isRegExp:by,markOverflow:fr,maybeMap:Ty,merge:yy}});var al=E((xD,sl)=>{"use strict";var nl=ts(),xo=ss(),dn=vo(),Ny=Object.prototype.hasOwnProperty,ol={brackets:s(function(e){return e+"[]"},"brackets"),comma:"comma",indices:s(function(e,r){return e+"["+r+"]"},"indices"),repeat:s(function(e){return e},"repeat")},st=Array.isArray,Cy=Array.prototype.push,il=s(function(t,e){Cy.apply(t,st(e)?e:[e])},"pushToArray"),Dy=Date.prototype.toISOString,rl=dn.default,ge={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:xo.encode,encodeValuesOnly:!1,filter:void 0,format:rl,formatter:dn.formatters[rl],indices:!1,serializeDate:s(function(e){return Dy.call(e)},"serializeDate"),skipNulls:!1,strictNullHandling:!1},Oy=s(function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},"isNonNullishPrimitive"),as={},Ry=s(function t(e,r,o,i,a,c,l,f,h,g,A,y,b,T,C,_,j,H){for(var P=e,w=H,x=0,V=!1;(w=w.get(as))!==void 0&&!V;){var re=w.get(e);if(x+=1,typeof re<"u"){if(re===x)throw new RangeError("Cyclic object value");V=!0}typeof w.get(as)>"u"&&(x=0)}if(typeof g=="function"?P=g(r,P):P instanceof Date?P=b(P):o==="comma"&&st(P)&&(P=xo.maybeMap(P,function(me){return me instanceof Date?b(me):me})),P===null){if(c)return C(h&&!_?h(r,ge.encoder,j,"key",T):r);P=""}if(Oy(P)||xo.isBuffer(P)){if(h){var G=_?r:h(r,ge.encoder,j,"key",T);return[C(G)+"="+C(h(P,ge.encoder,j,"value",T))]}return[C(r)+"="+C(String(P))]}var Y=[];if(typeof P>"u")return Y;var oe;if(o==="comma"&&st(P))_&&h&&(P=xo.maybeMap(P,function(me){return me==null?me:h(me)})),oe=[{value:P.length>0?P.join(",")||null:void 0}];else if(st(g))oe=g;else{var F=Object.keys(P);oe=A?F.sort(A):F}var ue=f?String(r).replace(/\./g,"%2E"):String(r),ae=i&&st(P)&&P.length===1?ue+"[]":ue;if(a&&st(P)&&P.length===0)return ae+"[]";for(var ce=0;ce<oe.length;++ce){var le=oe[ce],z=typeof le=="object"&&le&&typeof le.value<"u"?le.value:P[le];if(!(l&&z===null)){var ne=y&&f?String(le).replace(/\./g,"%2E"):String(le),we=st(P)?typeof o=="function"?o(ae,ne):ae:ae+(y?"."+ne:"["+ne+"]");H.set(e,x);var Le=nl();Le.set(as,H),il(Y,t(z,we,o,i,a,c,l,f,o==="comma"&&_&&st(P)?null:h,g,A,y,b,T,C,_,j,Le))}}return Y},"stringify"),Iy=s(function(e){if(!e)return ge;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||ge.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=dn.default;if(typeof e.format<"u"){if(!Ny.call(dn.formatters,e.format))throw new TypeError("Unknown format option provided.");o=e.format}var i=dn.formatters[o],a=ge.filter;(typeof e.filter=="function"||st(e.filter))&&(a=e.filter);var c;if(e.arrayFormat in ol?c=e.arrayFormat:"indices"in e?c=e.indices?"indices":"repeat":c=ge.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:ge.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ge.addQueryPrefix,allowDots:l,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ge.allowEmptyArrays,arrayFormat:c,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ge.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ge.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ge.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ge.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ge.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ge.encodeValuesOnly,filter:a,format:o,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ge.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ge.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ge.strictNullHandling}},"normalizeStringifyOptions");sl.exports=function(t,e){var r=t,o=Iy(e),i,a;typeof o.filter=="function"?(a=o.filter,r=a("",r)):st(o.filter)&&(a=o.filter,i=a);var c=[];if(typeof r!="object"||r===null)return"";var l=ol[o.arrayFormat],f=l==="comma"&&o.commaRoundTrip;i||(i=Object.keys(r)),o.sort&&i.sort(o.sort);for(var h=nl(),g=0;g<i.length;++g){var A=i[g];if(!(typeof A>"u"||A===null)){var y=r[A];o.skipNulls&&y===null||il(c,Ry(y,A,l,f,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,h))}}var b=c.join(o.delimiter),T=o.addQueryPrefix===!0?"?":"";return o.charsetSentinel&&(o.charset==="iso-8859-1"?T+="utf8=%26%2310003%3B"+o.delimiter:T+="utf8=%E2%9C%93"+o.delimiter),b.length>0?T+b:""}});var ll=E((wD,cl)=>{"use strict";var at=ss(),bo=Object.prototype.hasOwnProperty,us=Array.isArray,fe={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:at.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},_y=s(function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},"interpretNumericEntities"),ul=s(function(t,e,r){if(t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1)return t.split(",");if(e.throwOnLimitExceeded&&r>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return t},"parseArrayValue"),Py="utf8=%26%2310003%3B",By="utf8=%E2%9C%93",Fy=s(function(e,r){var o={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,c=i.split(r.delimiter,r.throwOnLimitExceeded&&typeof a<"u"?a+1:a);if(r.throwOnLimitExceeded&&typeof a<"u"&&c.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var l=-1,f,h=r.charset;if(r.charsetSentinel)for(f=0;f<c.length;++f)c[f].indexOf("utf8=")===0&&(c[f]===By?h="utf-8":c[f]===Py&&(h="iso-8859-1"),l=f,f=c.length);for(f=0;f<c.length;++f)if(f!==l){var g=c[f],A=g.indexOf("]="),y=A===-1?g.indexOf("="):A+1,b,T;if(y===-1?(b=r.decoder(g,fe.decoder,h,"key"),T=r.strictNullHandling?null:""):(b=r.decoder(g.slice(0,y),fe.decoder,h,"key"),b!==null&&(T=at.maybeMap(ul(g.slice(y+1),r,us(o[b])?o[b].length:0),function(_){return r.decoder(_,fe.decoder,h,"value")}))),T&&r.interpretNumericEntities&&h==="iso-8859-1"&&(T=_y(String(T))),g.indexOf("[]=")>-1&&(T=us(T)?[T]:T),r.comma&&us(T)&&T.length>r.arrayLimit){if(r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");T=at.combine([],T,r.arrayLimit,r.plainObjects)}if(b!==null){var C=bo.call(o,b);C&&(r.duplicates==="combine"||g.indexOf("[]=")>-1)?o[b]=at.combine(o[b],T,r.arrayLimit,r.plainObjects):(!C||r.duplicates==="last")&&(o[b]=T)}}return o},"parseQueryStringValues"),Ly=s(function(t,e,r,o){var i=0;if(t.length>0&&t[t.length-1]==="[]"){var a=t.slice(0,-1).join("");i=Array.isArray(e)&&e[a]?e[a].length:0}for(var c=o?e:ul(e,r,i),l=t.length-1;l>=0;--l){var f,h=t[l];if(h==="[]"&&r.parseArrays)at.isOverflow(c)?f=c:f=r.allowEmptyArrays&&(c===""||r.strictNullHandling&&c===null)?[]:at.combine([],c,r.arrayLimit,r.plainObjects);else{f=r.plainObjects?{__proto__:null}:{};var g=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,A=r.decodeDotInKeys?g.replace(/%2E/g,"."):g,y=parseInt(A,10),b=!isNaN(y)&&h!==A&&String(y)===A&&y>=0&&r.parseArrays;if(!r.parseArrays&&A==="")f={0:c};else if(b&&y<r.arrayLimit)f=[],f[y]=c;else{if(b&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");b?(f[y]=c,at.markOverflow(f,y)):A!=="__proto__"&&(f[A]=c)}}c=f}return c},"parseObject"),My=s(function(e,r){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(r.depth<=0)return!r.plainObjects&&bo.call(Object.prototype,o)&&!r.allowPrototypes?void 0:[o];var i=[],a=o.indexOf("["),c=a>=0?o.slice(0,a):o;if(c){if(!r.plainObjects&&bo.call(Object.prototype,c)&&!r.allowPrototypes)return;i[i.length]=c}for(var l=o.length,f=a,h=0;f>=0&&h<r.depth;){for(var g=1,A=f+1,y=-1;A<l&&y<0;){var b=o.charCodeAt(A);b===91?g+=1:b===93&&(g-=1,g===0&&(y=A)),A+=1}if(y<0)return i[i.length]="["+o.slice(f)+"]",i;var T=o.slice(f,y+1),C=T.slice(1,-1);if(!r.plainObjects&&bo.call(Object.prototype,C)&&!r.allowPrototypes)return;i[i.length]=T,h+=1,f=o.indexOf("[",y+1)}if(f>=0){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");i[i.length]="["+o.slice(f)+"]"}return i},"splitKeyIntoSegments"),qy=s(function(e,r,o,i){if(e){var a=My(e,o);if(a)return Ly(a,r,o,i)}},"parseQueryStringKeys"),Uy=s(function(e){if(!e)return fe;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays