@wix/cli-app 1.1.34 → 1.1.35

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 (108) hide show
  1. package/build/CreateVersionCommand-FGFXCQ6O.js +4 -0
  2. package/build/{CreateVersionCommand-3ECZI65A.js.map → CreateVersionCommand-FGFXCQ6O.js.map} +1 -1
  3. package/build/DevCommand-5DVDWGBY.js +4 -0
  4. package/build/DevCommand-5DVDWGBY.js.map +1 -0
  5. package/build/{GenerateCommand-CIO77YCS.js → GenerateCommand-5MXGDU5D.js} +3 -3
  6. package/build/GenerateCommand-5MXGDU5D.js.map +1 -0
  7. package/build/LogsCommand-GT4C6W63.js +4 -0
  8. package/build/LogsCommand-GT4C6W63.js.map +1 -0
  9. package/build/PreviewCommand-TYTUHLCK.js +4 -0
  10. package/build/{ServeCommand-AEELDVFH.js → ServeCommand-3XS2PRLZ.js} +2 -2
  11. package/build/ServeCommand-3XS2PRLZ.js.map +1 -0
  12. package/build/build-D3GVJS75.js +5 -0
  13. package/build/build-D3GVJS75.js.map +1 -0
  14. package/build/{build-JVHXDZDD.js → build-R2V6VPAY.js} +2 -2
  15. package/build/{build-JVHXDZDD.js.map → build-R2V6VPAY.js.map} +1 -1
  16. package/build/{chunk-MB65UVFQ.js → chunk-2JOP4YNL.js} +5 -5
  17. package/build/chunk-2JOP4YNL.js.map +1 -0
  18. package/build/chunk-3T3H3UJF.js +11 -0
  19. package/build/chunk-3T3H3UJF.js.map +1 -0
  20. package/build/chunk-5JYQ2Z7Y.js +116 -0
  21. package/build/chunk-5JYQ2Z7Y.js.map +1 -0
  22. package/build/chunk-5YLHD2SK.js +4 -0
  23. package/build/{chunk-F4LXYTO3.js → chunk-A3KHJIN7.js} +2 -2
  24. package/build/chunk-A7TURNR5.js +4 -0
  25. package/build/chunk-A7TURNR5.js.map +1 -0
  26. package/build/chunk-CBDNKNAV.js +4 -0
  27. package/build/chunk-CBDNKNAV.js.map +1 -0
  28. package/build/chunk-F6WBFD2I.js +11 -0
  29. package/build/chunk-F6WBFD2I.js.map +1 -0
  30. package/build/{chunk-QTYWYBN3.js → chunk-J2KSZ5LE.js} +2 -2
  31. package/build/{chunk-QTYWYBN3.js.map → chunk-J2KSZ5LE.js.map} +1 -1
  32. package/build/{chunk-MKVAJTCF.js → chunk-KRQ3H7GR.js} +2 -2
  33. package/build/{chunk-MKVAJTCF.js.map → chunk-KRQ3H7GR.js.map} +1 -1
  34. package/build/chunk-MI2F3EIB.js +4 -0
  35. package/build/chunk-MI2F3EIB.js.map +1 -0
  36. package/build/{chunk-MON4UIEH.js → chunk-NNF6JCN7.js} +2 -2
  37. package/build/chunk-NNF6JCN7.js.map +1 -0
  38. package/build/{chunk-HTY6QIPX.js → chunk-OWEB37KH.js} +2 -2
  39. package/build/{chunk-FBYP5GID.js → chunk-PWHZSGUV.js} +2 -2
  40. package/build/chunk-PWHZSGUV.js.map +1 -0
  41. package/build/{chunk-JKG4PFVP.js → chunk-QEH4HZND.js} +2 -2
  42. package/build/chunk-R4ZQYYZR.js +4 -0
  43. package/build/chunk-R4ZQYYZR.js.map +1 -0
  44. package/build/{chunk-ROZV4SHP.js → chunk-RXT5UM7Q.js} +54 -46
  45. package/build/chunk-RXT5UM7Q.js.map +1 -0
  46. package/build/{chunk-COIDN4V4.js → chunk-VRNTLFVH.js} +2 -2
  47. package/build/chunk-VRNTLFVH.js.map +1 -0
  48. package/build/{chunk-XUF2HJAT.js → chunk-YT6VEJPK.js} +2 -2
  49. package/build/chunk-YT6VEJPK.js.map +1 -0
  50. package/build/{chunk-2KPKOJPE.js → chunk-ZORLYW6M.js} +2 -2
  51. package/build/esm-HBMYQBEO.js +466 -0
  52. package/build/esm-HBMYQBEO.js.map +1 -0
  53. package/build/index.js +2 -2
  54. package/build/platform-sdk/chunk-RFBBAUMM.js +2 -0
  55. package/build/platform-sdk/chunk-RFBBAUMM.js.map +1 -0
  56. package/build/platform-sdk/dashboard.js +2 -0
  57. package/build/platform-sdk/dashboard.js.map +1 -0
  58. package/build/platform-sdk/esm-IUMNLA6B.js +2 -0
  59. package/build/platform-sdk/esm-IUMNLA6B.js.map +1 -0
  60. package/build/preview-5HAC2VHN.js +4 -0
  61. package/build/{preview-L5LDZK2L.js.map → preview-5HAC2VHN.js.map} +1 -1
  62. package/build/render-command-OPJNFJRC.js +4 -0
  63. package/build/{render-command-IA3LLA3F.js.map → render-command-OPJNFJRC.js.map} +1 -1
  64. package/internal/component-hmr-wrapper.tsx +4 -8
  65. package/package.json +10 -9
  66. package/schemas/custom-element.json +1 -1
  67. package/schemas/dashboard-menu-plugin.json +1 -1
  68. package/schemas/dashboard-modal.json +1 -1
  69. package/schemas/embedded-script.json +1 -1
  70. package/build/CreateVersionCommand-3ECZI65A.js +0 -4
  71. package/build/DevCommand-B7WYY2UQ.js +0 -4
  72. package/build/DevCommand-B7WYY2UQ.js.map +0 -1
  73. package/build/GenerateCommand-CIO77YCS.js.map +0 -1
  74. package/build/LogsCommand-VJ64MYDN.js +0 -4
  75. package/build/LogsCommand-VJ64MYDN.js.map +0 -1
  76. package/build/PreviewCommand-BZY2XOZN.js +0 -4
  77. package/build/ServeCommand-AEELDVFH.js.map +0 -1
  78. package/build/chunk-35SQ77PW.js +0 -4
  79. package/build/chunk-35SQ77PW.js.map +0 -1
  80. package/build/chunk-COIDN4V4.js.map +0 -1
  81. package/build/chunk-E6MYDYCH.js +0 -4
  82. package/build/chunk-E6MYDYCH.js.map +0 -1
  83. package/build/chunk-F4YTZ6XA.js +0 -116
  84. package/build/chunk-F4YTZ6XA.js.map +0 -1
  85. package/build/chunk-F55KYUXJ.js +0 -4
  86. package/build/chunk-F55KYUXJ.js.map +0 -1
  87. package/build/chunk-FBYP5GID.js.map +0 -1
  88. package/build/chunk-HTO6ALNX.js +0 -4
  89. package/build/chunk-HTO6ALNX.js.map +0 -1
  90. package/build/chunk-JAY5356K.js +0 -11
  91. package/build/chunk-JAY5356K.js.map +0 -1
  92. package/build/chunk-KQOYEWON.js +0 -11
  93. package/build/chunk-KQOYEWON.js.map +0 -1
  94. package/build/chunk-MB65UVFQ.js.map +0 -1
  95. package/build/chunk-MON4UIEH.js.map +0 -1
  96. package/build/chunk-ROZV4SHP.js.map +0 -1
  97. package/build/chunk-X62VPDUS.js +0 -4
  98. package/build/chunk-XUF2HJAT.js.map +0 -1
  99. package/build/esm-Z5T56VLV.js +0 -365
  100. package/build/esm-Z5T56VLV.js.map +0 -1
  101. package/build/preview-L5LDZK2L.js +0 -4
  102. package/build/render-command-IA3LLA3F.js +0 -4
  103. /package/build/{PreviewCommand-BZY2XOZN.js.map → PreviewCommand-TYTUHLCK.js.map} +0 -0
  104. /package/build/{chunk-X62VPDUS.js.map → chunk-5YLHD2SK.js.map} +0 -0
  105. /package/build/{chunk-F4LXYTO3.js.map → chunk-A3KHJIN7.js.map} +0 -0
  106. /package/build/{chunk-HTY6QIPX.js.map → chunk-OWEB37KH.js.map} +0 -0
  107. /package/build/{chunk-JKG4PFVP.js.map → chunk-QEH4HZND.js.map} +0 -0
  108. /package/build/{chunk-2KPKOJPE.js.map → chunk-ZORLYW6M.js.map} +0 -0
@@ -1,116 +0,0 @@
1
- import { createRequire as _createRequire } from 'node:module';
2
- const require = _createRequire(import.meta.url);
3
- import{E as pg,L as op,M as lg,N as ms,O as Ya,P as dg,R as zi,S as mg,V as Xi,Y as fg,a as Ke,b as It,c as SW,d as y,e as C,g as ag,h as og,i as Wa,j as ja,k as OW,l as g,m as ot,n as sp,o as AW,p as Fr,q as cg,r as Va,s as Ka,t as ap,u as NW,w as Bt,x as Mr,y as ug,z as H}from"./chunk-MB65UVFQ.js";import{a as N,b as Et,c as _,d as xW,e as j,f as ds,g as d,h as o}from"./chunk-V4TR6DCM.js";var fs=_(ct=>{"use strict";o();Object.defineProperty(ct,"__esModule",{value:!0});ct.ORIGINAL_PROTOCOL_HEADER=ct.ORIGINAL_HOST_HEADER=ct.ORIGINAL_URL_HEADER=ct.SSR_PROTOCOL=ct.SSR_HOST=ct.NO_SCENARIO_FOUND=void 0;ct.NO_SCENARIO_FOUND="NO_SCENARIO_FOUND";ct.SSR_HOST="www.wix.com";ct.SSR_PROTOCOL="http";ct.ORIGINAL_URL_HEADER="x-wix-metro-original-url";ct.ORIGINAL_HOST_HEADER="x-wix-metro-original-host";ct.ORIGINAL_PROTOCOL_HEADER="x-wix-metro-original-protocol"});function Eg(){if(typeof document=="object")return document}function Ei(){return typeof self=="object"?self:global}var hs=Et(()=>{"use strict";o()});function vg(e){let t=bW(e);return t?t.split("=")[1]:""}function TW(){let e=Eg();return e&&e.cookie?decodeURIComponent(e.cookie).split(";"):[]}function bW(e){return TW().filter(t=>e===t.split("=")[0].trim())[0]}var gg=Et(()=>{"use strict";o();hs()});function xg(){let e=vg(yW);return{[DW]:e}}var yW,DW,Sg=Et(()=>{"use strict";o();gg();yW="XSRF-TOKEN",DW="x-xsrf-token"});function Og(){let e=PW();return{[CW]:e}}function PW(){let e=Ei();return e&&e.commonConfig&&typeof e.commonConfig.brand=="string"?e.commonConfig.brand:""}var CW,Ag=Et(()=>{"use strict";o();hs();CW="x-wix-brand"});function Ng(){return LW()||wW()||FW()}function wW(){let e=Ei();if(e&&e.Wix&&e.Wix.Utils&&typeof e.Wix.Utils._getConsentPolicyHeader=="function")return e.Wix.Utils._getConsentPolicyHeader()}function LW(){let e=Ei();if(e&&e.consentPolicyManager&&typeof e.consentPolicyManager._getConsentPolicyHeader=="function")return e.consentPolicyManager._getConsentPolicyHeader()}function FW(){return{}}var Ig=Et(()=>{"use strict";o();hs()});function Rg(e){return{authorization:e}}var Tg=Et(()=>{"use strict";o()});function bg(){return MW()?!!process.env.TEAMCITY_VERSION||!!process.env.BUILDKITE:!1}function MW(){return typeof process<"u"&&process.versions?.node!=null}var yg=Et(()=>{"use strict";o()});function Dg(e){let t=process.env.ARTIFACT_ID??process.env.APP_NAME??"";return{"X-Wix-Client-Artifact-Id":e??(bg()?"":t)}}var Cg=Et(()=>{"use strict";o();yg()});function GW(){let t=Ei()?.commonConfig;if(!t)return null;let r={},i=!1;return Object.keys(t).forEach(n=>{let s=kW[n];s?(r[s]=t[n],i=!0):UW.indexOf(n)<0&&typeof t[n]!="function"&&(r[n]=t[n],i=!0)}),i?r:null}var UW,qW,kW,Pg,wg=Et(()=>{"use strict";o();hs();UW=["consentPolicy","consentPolicyHeader"],qW="commonConfig",kW={bsi:"BSI"};Pg=()=>{let e=GW(),t=e?JSON.stringify(e):"";return{[qW]:encodeURIComponent(t)}}});var Lg=_(($a,_s)=>{"use strict";o();(function(e){var t=typeof $a=="object"&&$a,r=typeof _s=="object"&&_s&&_s.exports==t&&_s,i=typeof global=="object"&&global;(i.global===i||i.window===i)&&(e=i);var n=function(h){this.message=h};n.prototype=new Error,n.prototype.name="InvalidCharacterError";var s=function(h){throw new n(h)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,u=function(h){h=String(h).replace(c,"");var E=h.length;E%4==0&&(h=h.replace(/==?$/,""),E=h.length),(E%4==1||/[^+a-zA-Z0-9/]/.test(h))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var x=0,S,I,b="",q=-1;++q<E;)I=a.indexOf(h.charAt(q)),S=x%4?S*64+I:I,x++%4&&(b+=String.fromCharCode(255&S>>(-2*x&6)));return b},p=function(h){h=String(h),/[^\0-\xFF]/.test(h)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var E=h.length%3,x="",S=-1,I,b,q,k,W=h.length-E;++S<W;)I=h.charCodeAt(S)<<16,b=h.charCodeAt(++S)<<8,q=h.charCodeAt(++S),k=I+b+q,x+=a.charAt(k>>18&63)+a.charAt(k>>12&63)+a.charAt(k>>6&63)+a.charAt(k&63);return E==2?(I=h.charCodeAt(S)<<8,b=h.charCodeAt(++S),k=I+b,x+=a.charAt(k>>10)+a.charAt(k>>4&63)+a.charAt(k<<2&63)+"="):E==1&&(k=h.charCodeAt(S),x+=a.charAt(k>>2)+a.charAt(k<<4&63)+"=="),x},l={encode:p,decode:u,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return l});else if(t&&!t.nodeType)if(r)r.exports=l;else for(var f in l)l.hasOwnProperty(f)&&(t[f]=l[f]);else e.base64=l})($a)});function Mg({lang:e,locale:t,isPrimaryLanguage:r,signedInstance:i}){if(HW({lang:e,locale:t,isPrimaryLanguage:r})){let n=WW(i);if(n!==void 0)return{[BW]:[e,t,r?.toString(),n].join("|")}}return{}}function HW({lang:e,locale:t,isPrimaryLanguage:r}){return e&&t&&/^(true|false)$/.test(r?.toString()||"")}function WW(e){try{let t=e?.startsWith("wixcode")?e?.split(".")[2]:e?.split(".")[1];if(t)return JSON.parse(Fg.default.decode(t)).instanceId}catch{}}var Fg,BW,Ug=Et(()=>{"use strict";o();Fg=j(Lg()),BW="x-wix-linguist"});var Es,qg=Et(()=>{"use strict";o();Es=class extends Error{constructor(t,r,i){super(`WixHeadersValidationError: expected ${r} to be ${t} but got ${JSON.stringify(i)}`)}}});function kg(e,t){if(typeof t!="boolean")throw new Es("boolean",e,t)}function Gg(e,t){if(typeof t!="string")throw new Es("string",e,t)}var Bg=Et(()=>{"use strict";o();qg()});var Hg={};xW(Hg,{createHeaders:()=>jW});function jW(e={}){e={csrf:!0,signedInstance:"",...e},VW(e);let t=[Og(),Ng(),Rg(e.signedInstance),Dg(e.artifactId),Pg(),Mg({signedInstance:e.signedInstance,...e.multilingualOptions})];return e.csrf&&t.push(xg()),t.filter(r=>Object.values(r).every(i=>i)).reduce((r,i)=>({...r,...i}),{})}function VW(e){kg("opts.csrf",e.csrf),Gg("opts.signedInstance",e.signedInstance)}var Wg=Et(()=>{"use strict";o();Sg();Ag();Ig();Tg();Cg();wg();Ug();Bg()});var pp=_(Ur=>{"use strict";o();Object.defineProperty(Ur,"__esModule",{value:!0});Ur.isNode=Ur.isWebWorker=Ur.isBrowser=void 0;function KW(){return typeof window<"u"}Ur.isBrowser=KW;function YW(){var e;return typeof self=="object"&&((e=self?.constructor)===null||e===void 0?void 0:e.name)==="DedicatedWorkerGlobalScope"}Ur.isWebWorker=YW;function $W(){var e;return typeof process<"u"&&((e=process==null?void 0:process.versions)===null||e===void 0?void 0:e.node)!=null}Ur.isNode=$W});var za=_(oe=>{"use strict";o();Object.defineProperty(oe,"__esModule",{value:!0});oe.toSearchQueryParams=oe.shouldAllowUnmocked=oe.isHttpMockServerEnabled=oe.getGlobalConfig=oe.changeHost=oe.extractHost=oe.extractProtocol=oe.resolveProtocol=oe.resolveHost=oe.extractProp=oe.silent=oe.isAbsoluteUrl=void 0;var jg=fs(),lp=pp();function zW(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return/(^https?:)|(^\/\/)/.test(e)}oe.isAbsoluteUrl=zW;async function XW(e){try{await e()}catch{}}oe.silent=XW;function JW(e,t){return t.split(".").filter(r=>r).reduce((r,i)=>r[i],e)}oe.extractProp=JW;function ZW(e){return e.baseURL?Kg(e.baseURL):e.isSSR?jg.SSR_HOST:typeof self<"u"&&self.location?self.location.host:""}oe.resolveHost=ZW;function QW(e){return e.baseURL?Vg(e.baseURL):e.isSSR?jg.SSR_PROTOCOL:typeof self<"u"&&self.location?self.location.protocol:""}oe.resolveProtocol=QW;function Vg(e){try{return new URL(e).protocol}catch{return Yg(e).protocol}}oe.extractProtocol=Vg;function Kg(e){let t;try{t=new URL(e)}catch{t=new URL(`http:${e}`)}try{return t.host}catch{return Yg(e).host}}oe.extractHost=Kg;function Yg(e){let t=new RegExp("^(.*:)//([A-Za-z0-9-.]+)(:[0-9]+)?(.*)$");try{let r=t.exec(e);return{protocol:r[1],host:r[2]}}catch{return{protocol:"http:",host:""}}}function ej(e,t){let r;try{r=new URL(e),r.host=t,r.protocol="http"}catch{r=new URL(`http://${t}`),r.pathname=e}return r.toString()}oe.changeHost=ej;function dp(){let e={httpMockServer:{enabled:!1}},t;if((0,lp.isNode)()&&process.env.HTTP_CLIENT_GLOBAL_CONFIG)try{t=JSON.parse(process.env.HTTP_CLIENT_GLOBAL_CONFIG)}catch{}return t||((0,lp.isBrowser)()?t=window._httpClientGlobalConfig:(0,lp.isWebWorker)()),t||e}oe.getGlobalConfig=dp;function tj(){return dp().httpMockServer.enabled}oe.isHttpMockServerEnabled=tj;function rj(){return dp().httpMockServer.allowUnmocked}oe.shouldAllowUnmocked=rj;function ij(e){return Object.entries(e).map(([t,r])=>`${t}=${encodeURIComponent(r)}`).flat().join("&")}oe.toSearchQueryParams=ij});var $g=_((Mue,nj)=>{nj.exports=["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]});var Xa=_(qr=>{"use strict";o();Object.defineProperty(qr,"__esModule",{value:!0});qr.isWixDomain=qr.composeHeaders=qr.requestIdOrEmptyString=void 0;var sj=(ja(),ds(Wa)),aj=(Wg(),ds(Hg)),zg=za(),oj=sj.__importDefault($g());function cj(e){var t;return((t=e?.headers)===null||t===void 0?void 0:t["x-wix-request-id"])||""}qr.requestIdOrEmptyString=cj;var uj=({url:e,disableWixHeaders:t,wixHeadersOpts:r})=>!t&&Xg(e)?(0,aj.createHeaders)(r):{};qr.composeHeaders=uj;function Xg(e){if(!(0,zg.isAbsoluteUrl)(e))return!0;let r=`.${(0,zg.extractHost)(e)}`;return!!oj.default.find(n=>r.endsWith(`.${n}`))}qr.isWixDomain=Xg});var mp=_(mr=>{"use strict";o();Object.defineProperty(mr,"__esModule",{value:!0});mr.createHttpError=mr.HttpError=mr.axiosErrorFields=void 0;var pj=Xa();mr.axiosErrorFields=["code","config","request","response","toJSON","__CANCEL__"];var Ja=class e extends Error{constructor(t){super(t.message),this.isWixHttpError=!0,Object.setPrototypeOf(this,e.prototype),mr.axiosErrorFields.forEach(r=>{this[r]=t[r]})}get requestId(){return(0,pj.requestIdOrEmptyString)(this.response)}};mr.HttpError=Ja;function lj(...e){return new Ja(...e)}mr.createHttpError=lj});var fp=_((Bue,Jg)=>{"use strict";o();Jg.exports=function(t,r){return function(){for(var n=new Array(arguments.length),s=0;s<n.length;s++)n[s]=arguments[s];return t.apply(r,n)}}});var it=_((Wue,ex)=>{"use strict";o();var dj=fp(),vi=Object.prototype.toString;function Ep(e){return vi.call(e)==="[object Array]"}function hp(e){return typeof e>"u"}function mj(e){return e!==null&&!hp(e)&&e.constructor!==null&&!hp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function fj(e){return vi.call(e)==="[object ArrayBuffer]"}function hj(e){return typeof FormData<"u"&&e instanceof FormData}function _j(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function Ej(e){return typeof e=="string"}function vj(e){return typeof e=="number"}function Zg(e){return e!==null&&typeof e=="object"}function Za(e){if(vi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function gj(e){return vi.call(e)==="[object Date]"}function xj(e){return vi.call(e)==="[object File]"}function Sj(e){return vi.call(e)==="[object Blob]"}function Qg(e){return vi.call(e)==="[object Function]"}function Oj(e){return Zg(e)&&Qg(e.pipe)}function Aj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function Nj(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Ij(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function vp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Ep(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function _p(){var e={};function t(n,s){Za(e[s])&&Za(n)?e[s]=_p(e[s],n):Za(n)?e[s]=_p({},n):Ep(n)?e[s]=n.slice():e[s]=n}for(var r=0,i=arguments.length;r<i;r++)vp(arguments[r],t);return e}function Rj(e,t,r){return vp(t,function(n,s){r&&typeof n=="function"?e[s]=dj(n,r):e[s]=n}),e}function Tj(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}ex.exports={isArray:Ep,isArrayBuffer:fj,isBuffer:mj,isFormData:hj,isArrayBufferView:_j,isString:Ej,isNumber:vj,isObject:Zg,isPlainObject:Za,isUndefined:hp,isDate:gj,isFile:xj,isBlob:Sj,isFunction:Qg,isStream:Oj,isURLSearchParams:Aj,isStandardBrowserEnv:Ij,forEach:vp,merge:_p,extend:Rj,trim:Nj,stripBOM:Tj}});var Qa=_((Vue,tx)=>{"use strict";o();tx.exports=function(t,r,i,n,s){return t.config=r,i&&(t.code=i),t.request=n,t.response=s,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}});var eo=_((Yue,rx)=>{"use strict";o();var bj=Qa();rx.exports=function(t,r,i,n,s){var a=new Error(t);return bj(a,r,i,n,s)}});var gp=_((zue,ix)=>{"use strict";o();var yj=eo();ix.exports=function(t,r,i){var n=i.config.validateStatus;!i.status||!n||n(i.status)?t(i):r(yj("Request failed with status code "+i.status,i.config,null,i.request,i))}});var sx=_((Jue,nx)=>{"use strict";o();nx.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var ox=_((Que,ax)=>{"use strict";o();ax.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var xp=_((tpe,cx)=>{"use strict";o();var Dj=sx(),Cj=ox();cx.exports=function(t,r){return t&&!Dj(r)?Cj(t,r):r}});var to=_((ipe,px)=>{"use strict";o();var Qi=it();function ux(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}px.exports=function(t,r,i){if(!r)return t;var n;if(i)n=i(r);else if(Qi.isURLSearchParams(r))n=r.toString();else{var s=[];Qi.forEach(r,function(u,p){u===null||typeof u>"u"||(Qi.isArray(u)?p=p+"[]":u=[u],Qi.forEach(u,function(f){Qi.isDate(f)?f=f.toISOString():Qi.isObject(f)&&(f=JSON.stringify(f)),s.push(ux(p)+"="+ux(f))}))}),n=s.join("&")}if(n){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t}});var dx=_((spe,lx)=>{"use strict";o();var en=1e3,tn=en*60,rn=tn*60,gi=rn*24,Pj=gi*7,wj=gi*365.25;lx.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Lj(e);if(r==="number"&&isFinite(e))return t.long?Mj(e):Fj(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Lj(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*wj;case"weeks":case"week":case"w":return r*Pj;case"days":case"day":case"d":return r*gi;case"hours":case"hour":case"hrs":case"hr":case"h":return r*rn;case"minutes":case"minute":case"mins":case"min":case"m":return r*tn;case"seconds":case"second":case"secs":case"sec":case"s":return r*en;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Fj(e){var t=Math.abs(e);return t>=gi?Math.round(e/gi)+"d":t>=rn?Math.round(e/rn)+"h":t>=tn?Math.round(e/tn)+"m":t>=en?Math.round(e/en)+"s":e+"ms"}function Mj(e){var t=Math.abs(e);return t>=gi?ro(e,t,gi,"day"):t>=rn?ro(e,t,rn,"hour"):t>=tn?ro(e,t,tn,"minute"):t>=en?ro(e,t,en,"second"):e+" ms"}function ro(e,t,r,i){var n=t>=r*1.5;return Math.round(e/r)+" "+i+(n?"s":"")}});var Sp=_((ope,mx)=>{"use strict";o();function Uj(e){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=n,r.enabled=a,r.humanize=dx(),r.destroy=p,Object.keys(e).forEach(l=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function t(l){let f=0;for(let h=0;h<l.length;h++)f=(f<<5)-f+l.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(l){let f,h=null,E,x;function S(...I){if(!S.enabled)return;let b=S,q=Number(new Date),k=q-(f||q);b.diff=k,b.prev=f,b.curr=q,f=q,I[0]=r.coerce(I[0]),typeof I[0]!="string"&&I.unshift("%O");let W=0;I[0]=I[0].replace(/%([a-zA-Z%])/g,(X,K)=>{if(X==="%%")return"%";W++;let F=r.formatters[K];if(typeof F=="function"){let J=I[W];X=F.call(b,J),I.splice(W,1),W--}return X}),r.formatArgs.call(b,I),(b.log||r.log).apply(b,I)}return S.namespace=l,S.useColors=r.useColors(),S.color=r.selectColor(l),S.extend=i,S.destroy=r.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(E!==r.namespaces&&(E=r.namespaces,x=r.enabled(l)),x),set:I=>{h=I}}),typeof r.init=="function"&&r.init(S),S}function i(l,f){let h=r(this.namespace+(typeof f>"u"?":":f)+l);return h.log=this.log,h}function n(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let f,h=(typeof l=="string"?l:"").split(/[\s,]+/),E=h.length;for(f=0;f<E;f++)h[f]&&(l=h[f].replace(/\*/g,".*?"),l[0]==="-"?r.skips.push(new RegExp("^"+l.slice(1)+"$")):r.names.push(new RegExp("^"+l+"$")))}function s(){let l=[...r.names.map(c),...r.skips.map(c).map(f=>"-"+f)].join(",");return r.enable(""),l}function a(l){if(l[l.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f<h;f++)if(r.skips[f].test(l))return!1;for(f=0,h=r.names.length;f<h;f++)if(r.names[f].test(l))return!0;return!1}function c(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function u(l){return l instanceof Error?l.stack||l.message:l}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}mx.exports=Uj});var fx=_((vt,io)=>{"use strict";o();vt.formatArgs=kj;vt.save=Gj;vt.load=Bj;vt.useColors=qj;vt.storage=Hj();vt.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();vt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function qj(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function kj(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+io.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(i=r))}),e.splice(i,0,t)}vt.log=console.debug||console.log||(()=>{});function Gj(e){try{e?vt.storage.setItem("debug",e):vt.storage.removeItem("debug")}catch{}}function Bj(){let e;try{e=vt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Hj(){try{return localStorage}catch{}}io.exports=Sp()(vt);var{formatters:Wj}=io.exports;Wj.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var _x=_((Le,so)=>{"use strict";o();var jj=N("tty"),no=N("util");Le.init=Jj;Le.log=$j;Le.formatArgs=Kj;Le.save=zj;Le.load=Xj;Le.useColors=Vj;Le.destroy=no.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Le.colors=[6,2,3,4,5,1];try{let e=OW();e&&(e.stderr||e).level>=2&&(Le.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Le.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[r]=i,e},{});function Vj(){return"colors"in Le.inspectOpts?!!Le.inspectOpts.colors:jj.isatty(process.stderr.fd)}function Kj(e){let{namespace:t,useColors:r}=this;if(r){let i=this.color,n="\x1B[3"+(i<8?i:"8;5;"+i),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
4
- `).join(`
5
- `+s),e.push(n+"m+"+so.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Yj()+t+" "+e[0]}function Yj(){return Le.inspectOpts.hideDate?"":new Date().toISOString()+" "}function $j(...e){return process.stderr.write(no.formatWithOptions(Le.inspectOpts,...e)+`
6
- `)}function zj(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Xj(){return process.env.DEBUG}function Jj(e){e.inspectOpts={};let t=Object.keys(Le.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Le.inspectOpts[t[r]]}so.exports=Sp()(Le);var{formatters:hx}=so.exports;hx.o=function(e){return this.inspectOpts.colors=this.useColors,no.inspect(e,this.inspectOpts).split(`
7
- `).map(t=>t.trim()).join(" ")};hx.O=function(e){return this.inspectOpts.colors=this.useColors,no.inspect(e,this.inspectOpts)}});var Ex=_((lpe,Op)=>{"use strict";o();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Op.exports=fx():Op.exports=_x()});var gx=_((mpe,vx)=>{"use strict";o();var vs;vx.exports=function(){if(!vs){try{vs=Ex()("follow-redirects")}catch{}typeof vs!="function"&&(vs=function(){})}vs.apply(null,arguments)}});var Fp=_((hpe,Lp)=>{"use strict";o();var Ss=N("url"),gs=Ss.URL,Zj=N("http"),Qj=N("https"),Tp=N("stream").Writable,bp=N("assert"),xx=gx(),yp=!1;try{bp(new gs)}catch(e){yp=e.code==="ERR_INVALID_URL"}var e2=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Dp=["abort","aborted","connect","error","socket","timeout"],Cp=Object.create(null);Dp.forEach(function(e){Cp[e]=function(t,r,i){this._redirectable.emit(e,t,r,i)}});var Np=Os("ERR_INVALID_URL","Invalid URL",TypeError),Ip=Os("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),t2=Os("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ip),r2=Os("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),i2=Os("ERR_STREAM_WRITE_AFTER_END","write after end"),n2=Tp.prototype.destroy||Ox;function ut(e,t){Tp.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(i){try{r._processResponse(i)}catch(n){r.emit("error",n instanceof Ip?n:new Ip({cause:n}))}},this._performRequest()}ut.prototype=Object.create(Tp.prototype);ut.prototype.abort=function(){wp(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};ut.prototype.destroy=function(e){return wp(this._currentRequest,e),n2.call(this,e),this};ut.prototype.write=function(e,t,r){if(this._ending)throw new i2;if(!xi(e)&&!o2(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(xs(t)&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new r2),this.abort())};ut.prototype.end=function(e,t,r){if(xs(e)?(r=e,e=t=null):xs(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var i=this,n=this._currentRequest;this.write(e,t,function(){i._ended=!0,n.end(null,null,r)}),this._ending=!0}};ut.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};ut.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};ut.prototype.setTimeout=function(e,t){var r=this;function i(a){a.setTimeout(e),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function n(a){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},e),i(a)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",n)}return t&&this.on("timeout",t),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){ut.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(ut.prototype,e,{get:function(){return this._currentRequest[e]}})});ut.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};ut.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of Dp)i.on(n,Cp[n]);if(this._currentUrl=/^\//.test(this._options.path)?Ss.format(this._options):this._options.path,this._isRedirect){var s=0,a=this,c=this._requestBodyBuffers;(function u(p){if(i===a._currentRequest)if(p)a.emit("error",p);else if(s<c.length){var l=c[s++];i.finished||i.write(l.data,l.encoding,u)}else a._ended&&i.end()})()}};ut.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(wp(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new t2;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ap(/^content-/i,this._options.headers));var a=Ap(/^host$/i,this._options.headers),c=Pp(this._currentUrl),u=a||c.host,p=/^\w+:/.test(r)?this._currentUrl:Ss.format(Object.assign(c,{host:u})),l=s2(r,p);if(xx("redirecting to",l.href),this._isRedirect=!0,Rp(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==u&&!a2(l.host,u))&&Ap(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),xs(n)){var f={headers:e.headers,statusCode:t},h={url:p,method:s,headers:i};n(this._options,f,h),this._sanitizeOptions(this._options)}this._performRequest()};function Sx(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var n=i+":",s=r[n]=e[i],a=t[i]=Object.create(s);function c(p,l,f){return c2(p)?p=Rp(p):xi(p)?p=Rp(Pp(p)):(f=l,l=Ax(p),p={protocol:n}),xs(l)&&(f=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},p,l),l.nativeProtocols=r,!xi(l.host)&&!xi(l.hostname)&&(l.hostname="::1"),bp.equal(l.protocol,n,"protocol mismatch"),xx("options",l),new ut(l,f)}function u(p,l,f){var h=a.request(p,l,f);return h.end(),h}Object.defineProperties(a,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),t}function Ox(){}function Pp(e){var t;if(yp)t=new gs(e);else if(t=Ax(Ss.parse(e)),!xi(t.protocol))throw new Np({input:e});return t}function s2(e,t){return yp?new gs(e,t):Pp(Ss.resolve(t,e))}function Ax(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Np({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Np({input:e.href||e});return e}function Rp(e,t){var r=t||{};for(var i of e2)r[i]=e[i];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function Ap(e,t){var r;for(var i in t)e.test(i)&&(r=t[i],delete t[i]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Os(e,t,r){function i(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(r||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function wp(e,t){for(var r of Dp)e.removeListener(r,Cp[r]);e.on("error",Ox),e.destroy(t)}function a2(e,t){bp(xi(e)&&xi(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function xi(e){return typeof e=="string"||e instanceof String}function xs(e){return typeof e=="function"}function o2(e){return typeof e=="object"&&"length"in e}function c2(e){return gs&&e instanceof gs}Lp.exports=Sx({http:Zj,https:Qj});Lp.exports.wrap=Sx});var Mp=_((Epe,u2)=>{u2.exports={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]}});var oo=_((vpe,bx)=>{"use strict";o();var As=it(),Nx=gp(),p2=xp(),l2=to(),d2=N("http"),m2=N("https"),f2=Fp().http,h2=Fp().https,Ix=N("url"),_2=N("zlib"),E2=Mp(),ao=eo(),Up=Qa(),Rx=/https:?/;function Tx(e,t,r){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=r,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(s){s.headers.host=s.host,Tx(s,t,s.href)}}bx.exports=function(t){return new Promise(function(i,n){var s=function(U){i(U)},a=function(U){n(U)},c=t.data,u=t.headers;if("User-Agent"in u||"user-agent"in u?!u["User-Agent"]&&!u["user-agent"]&&(delete u["User-Agent"],delete u["user-agent"]):u["User-Agent"]="axios/"+E2.version,c&&!As.isStream(c)){if(!Buffer.isBuffer(c))if(As.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(As.isString(c))c=Buffer.from(c,"utf-8");else return a(ao("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));u["Content-Length"]=c.length}var p=void 0;if(t.auth){var l=t.auth.username||"",f=t.auth.password||"";p=l+":"+f}var h=p2(t.baseURL,t.url),E=Ix.parse(h),x=E.protocol||"http:";if(!p&&E.auth){var S=E.auth.split(":"),I=S[0]||"",b=S[1]||"";p=I+":"+b}p&&delete u.Authorization;var q=Rx.test(x),k=q?t.httpsAgent:t.httpAgent,W={path:l2(E.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:u,agent:k,agents:{http:t.httpAgent,https:t.httpsAgent},auth:p};t.socketPath?W.socketPath=t.socketPath:(W.hostname=E.hostname,W.port=E.port);var M=t.proxy;if(!M&&M!==!1){var X=x.slice(0,-1)+"_proxy",K=process.env[X]||process.env[X.toUpperCase()];if(K){var F=Ix.parse(K),J=process.env.no_proxy||process.env.NO_PROXY,Ae=!0;if(J){var T=J.split(",").map(function(U){return U.trim()});Ae=!T.some(function(U){return U?U==="*"||U[0]==="."&&E.hostname.substr(E.hostname.length-U.length)===U?!0:E.hostname===U:!1})}if(Ae&&(M={host:F.hostname,port:F.port,protocol:F.protocol},F.auth)){var se=F.auth.split(":");M.auth={username:se[0],password:se[1]}}}}M&&(W.headers.host=E.hostname+(E.port?":"+E.port:""),Tx(W,M,x+"//"+E.hostname+(E.port?":"+E.port:"")+W.path));var te,Gt=q&&(M?Rx.test(M.protocol):!0);t.transport?te=t.transport:t.maxRedirects===0?te=Gt?m2:d2:(t.maxRedirects&&(W.maxRedirects=t.maxRedirects),te=Gt?h2:f2),t.maxBodyLength>-1&&(W.maxBodyLength=t.maxBodyLength);var O=te.request(W,function(U){if(!O.aborted){var Ce=U,tt=U.req||O;if(U.statusCode!==204&&tt.method!=="HEAD"&&t.decompress!==!1)switch(U.headers["content-encoding"]){case"gzip":case"compress":case"deflate":Ce=Ce.pipe(_2.createUnzip()),delete U.headers["content-encoding"];break}var Pe={status:U.statusCode,statusText:U.statusMessage,headers:U.headers,config:t,request:tt};if(t.responseType==="stream")Pe.data=Ce,Nx(s,a,Pe);else{var hi=[],Ga=0;Ce.on("data",function(we){hi.push(we),Ga+=we.length,t.maxContentLength>-1&&Ga>t.maxContentLength&&(Ce.destroy(),a(ao("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,tt)))}),Ce.on("error",function(we){O.aborted||a(Up(we,t,null,tt))}),Ce.on("end",function(){var we=Buffer.concat(hi);t.responseType!=="arraybuffer"&&(we=we.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(we=As.stripBOM(we))),Pe.data=we,Nx(s,a,Pe)})}}});if(O.on("error",function(U){O.aborted&&U.code!=="ERR_FR_TOO_MANY_REDIRECTS"||a(Up(U,t,null,O))}),t.timeout){var A=parseInt(t.timeout,10);if(isNaN(A)){a(ao("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",O));return}O.setTimeout(A,function(){O.abort(),a(ao("timeout of "+A+"ms exceeded",t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",O))})}t.cancelToken&&t.cancelToken.promise.then(function(U){O.aborted||(O.abort(),a(U))}),As.isStream(c)?c.on("error",function(U){a(Up(U,t,null,O))}).pipe(O):O.end(c)})}});var Dx=_((xpe,yx)=>{"use strict";o();var v2=it();function co(){this.handlers=[]}co.prototype.use=function(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};co.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};co.prototype.forEach=function(t){v2.forEach(this.handlers,function(i){i!==null&&t(i)})};yx.exports=co});var Px=_((Ope,Cx)=>{"use strict";o();var g2=it();Cx.exports=function(t,r){g2.forEach(t,function(n,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(t[r]=n,delete t[s])})}});var Lx=_((Npe,wx)=>{"use strict";o();var uo=it();wx.exports=uo.isStandardBrowserEnv()?function(){return{write:function(r,i,n,s,a,c){var u=[];u.push(r+"="+encodeURIComponent(i)),uo.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),uo.isString(s)&&u.push("path="+s),uo.isString(a)&&u.push("domain="+a),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Mx=_((Rpe,Fx)=>{"use strict";o();var qp=it(),x2=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];Fx.exports=function(t){var r={},i,n,s;return t&&qp.forEach(t.split(`
8
- `),function(c){if(s=c.indexOf(":"),i=qp.trim(c.substr(0,s)).toLowerCase(),n=qp.trim(c.substr(s+1)),i){if(r[i]&&x2.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([n]):r[i]=r[i]?r[i]+", "+n:n}}),r}});var kx=_((bpe,qx)=>{"use strict";o();var Ux=it();qx.exports=Ux.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function n(s){var a=s;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=n(window.location.href),function(a){var c=Ux.isString(a)?n(a):a;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}()});var Gp=_((Dpe,Gx)=>{"use strict";o();var po=it(),S2=gp(),O2=Lx(),A2=to(),N2=xp(),I2=Mx(),R2=kx(),kp=eo();Gx.exports=function(t){return new Promise(function(i,n){var s=t.data,a=t.headers,c=t.responseType;po.isFormData(s)&&delete a["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",l=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(p+":"+l)}var f=N2(t.baseURL,t.url);u.open(t.method.toUpperCase(),A2(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function h(){if(u){var x="getAllResponseHeaders"in u?I2(u.getAllResponseHeaders()):null,S=!c||c==="text"||c==="json"?u.responseText:u.response,I={data:S,status:u.status,statusText:u.statusText,headers:x,config:t,request:u};S2(i,n,I),u=null}}if("onloadend"in u?u.onloadend=h:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(h)},u.onabort=function(){u&&(n(kp("Request aborted",t,"ECONNABORTED",u)),u=null)},u.onerror=function(){n(kp("Network Error",t,null,u)),u=null},u.ontimeout=function(){var S="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(S=t.timeoutErrorMessage),n(kp(S,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},po.isStandardBrowserEnv()){var E=(t.withCredentials||R2(f))&&t.xsrfCookieName?O2.read(t.xsrfCookieName):void 0;E&&(a[t.xsrfHeaderName]=E)}"setRequestHeader"in u&&po.forEach(a,function(S,I){typeof s>"u"&&I.toLowerCase()==="content-type"?delete a[I]:u.setRequestHeader(I,S)}),po.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),c&&c!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(S){u&&(u.abort(),n(S),u=null)}),s||(s=null),u.send(s)})}});var mo=_((Ppe,Wx)=>{"use strict";o();var Ge=it(),Bx=Px(),T2=Qa(),b2={"Content-Type":"application/x-www-form-urlencoded"};function Hx(e,t){!Ge.isUndefined(e)&&Ge.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function y2(){var e;return typeof XMLHttpRequest<"u"?e=Gp():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=oo()),e}function D2(e,t,r){if(Ge.isString(e))try{return(t||JSON.parse)(e),Ge.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var lo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:y2(),transformRequest:[function(t,r){return Bx(r,"Accept"),Bx(r,"Content-Type"),Ge.isFormData(t)||Ge.isArrayBuffer(t)||Ge.isBuffer(t)||Ge.isStream(t)||Ge.isFile(t)||Ge.isBlob(t)?t:Ge.isArrayBufferView(t)?t.buffer:Ge.isURLSearchParams(t)?(Hx(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Ge.isObject(t)||r&&r["Content-Type"]==="application/json"?(Hx(r,"application/json"),D2(t)):t}],transformResponse:[function(t){var r=this.transitional,i=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||n&&Ge.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?T2(a,this,"E_JSON_PARSE"):a}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};lo.headers={common:{Accept:"application/json, text/plain, */*"}};Ge.forEach(["delete","get","head"],function(t){lo.headers[t]={}});Ge.forEach(["post","put","patch"],function(t){lo.headers[t]=Ge.merge(b2)});Wx.exports=lo});var Vx=_((Lpe,jx)=>{"use strict";o();var C2=it(),P2=mo();jx.exports=function(t,r,i){var n=this||P2;return C2.forEach(i,function(a){t=a.call(n,t,r)}),t}});var Bp=_((Mpe,Kx)=>{"use strict";o();Kx.exports=function(t){return!!(t&&t.__CANCEL__)}});var zx=_((qpe,$x)=>{"use strict";o();var Yx=it(),Hp=Vx(),w2=Bp(),L2=mo();function Wp(e){e.cancelToken&&e.cancelToken.throwIfRequested()}$x.exports=function(t){Wp(t),t.headers=t.headers||{},t.data=Hp.call(t,t.data,t.headers,t.transformRequest),t.headers=Yx.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Yx.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]});var r=t.adapter||L2.adapter;return r(t).then(function(n){return Wp(t),n.data=Hp.call(t,n.data,n.headers,t.transformResponse),n},function(n){return w2(n)||(Wp(t),n&&n.response&&(n.response.data=Hp.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}});var jp=_((Gpe,Xx)=>{"use strict";o();var Ye=it();Xx.exports=function(t,r){r=r||{};var i={},n=["url","method","data"],s=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(h,E){return Ye.isPlainObject(h)&&Ye.isPlainObject(E)?Ye.merge(h,E):Ye.isPlainObject(E)?Ye.merge({},E):Ye.isArray(E)?E.slice():E}function p(h){Ye.isUndefined(r[h])?Ye.isUndefined(t[h])||(i[h]=u(void 0,t[h])):i[h]=u(t[h],r[h])}Ye.forEach(n,function(E){Ye.isUndefined(r[E])||(i[E]=u(void 0,r[E]))}),Ye.forEach(s,p),Ye.forEach(a,function(E){Ye.isUndefined(r[E])?Ye.isUndefined(t[E])||(i[E]=u(void 0,t[E])):i[E]=u(void 0,r[E])}),Ye.forEach(c,function(E){E in r?i[E]=u(t[E],r[E]):E in t&&(i[E]=u(void 0,t[E]))});var l=n.concat(s).concat(a).concat(c),f=Object.keys(t).concat(Object.keys(r)).filter(function(E){return l.indexOf(E)===-1});return Ye.forEach(f,p),i}});var tS=_((Hpe,eS)=>{"use strict";o();var Zx=Mp(),Vp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Vp[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var Jx={},F2=Zx.version.split(".");function Qx(e,t){for(var r=t?t.split("."):F2,i=e.split("."),n=0;n<3;n++){if(r[n]>i[n])return!0;if(r[n]<i[n])return!1}return!1}Vp.transitional=function(t,r,i){var n=r&&Qx(r);function s(a,c){return"[Axios v"+Zx.version+"] Transitional option '"+a+"'"+c+(i?". "+i:"")}return function(a,c,u){if(t===!1)throw new Error(s(c," has been removed in "+r));return n&&!Jx[c]&&(Jx[c]=!0,console.warn(s(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,c,u):!0}};function M2(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),n=i.length;n-- >0;){var s=i[n],a=t[s];if(a){var c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new TypeError("option "+s+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+s)}}eS.exports={isOlderVersion:Qx,assertOptions:M2,validators:Vp}});var oS=_((jpe,aS)=>{"use strict";o();var nS=it(),U2=to(),rS=Dx(),iS=zx(),fo=jp(),sS=tS(),nn=sS.validators;function Ns(e){this.defaults=e,this.interceptors={request:new rS,response:new rS}}Ns.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=fo(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&sS.assertOptions(r,{silentJSONParsing:nn.transitional(nn.boolean,"1.0.0"),forcedJSONParsing:nn.transitional(nn.boolean,"1.0.0"),clarifyTimeoutError:nn.transitional(nn.boolean,"1.0.0")},!1);var i=[],n=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(n=n&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var s=[];this.interceptors.response.forEach(function(h){s.push(h.fulfilled,h.rejected)});var a;if(!n){var c=[iS,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),a=Promise.resolve(t);c.length;)a=a.then(c.shift(),c.shift());return a}for(var u=t;i.length;){var p=i.shift(),l=i.shift();try{u=p(u)}catch(f){l(f);break}}try{a=iS(u)}catch(f){return Promise.reject(f)}for(;s.length;)a=a.then(s.shift(),s.shift());return a};Ns.prototype.getUri=function(t){return t=fo(this.defaults,t),U2(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};nS.forEach(["delete","get","head","options"],function(t){Ns.prototype[t]=function(r,i){return this.request(fo(i||{},{method:t,url:r,data:(i||{}).data}))}});nS.forEach(["post","put","patch"],function(t){Ns.prototype[t]=function(r,i,n){return this.request(fo(n||{},{method:t,url:r,data:i}))}});aS.exports=Ns});var Yp=_((Kpe,cS)=>{"use strict";o();function Kp(e){this.message=e}Kp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Kp.prototype.__CANCEL__=!0;cS.exports=Kp});var pS=_(($pe,uS)=>{"use strict";o();var q2=Yp();function ho(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(n){t=n});var r=this;e(function(n){r.reason||(r.reason=new q2(n),t(r.reason))})}ho.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ho.source=function(){var t,r=new ho(function(n){t=n});return{token:r,cancel:t}};uS.exports=ho});var dS=_((Xpe,lS)=>{"use strict";o();lS.exports=function(t){return function(i){return t.apply(null,i)}}});var fS=_((Zpe,mS)=>{"use strict";o();mS.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var ES=_((ele,$p)=>{"use strict";o();var hS=it(),k2=fp(),_o=oS(),G2=jp(),B2=mo();function _S(e){var t=new _o(e),r=k2(_o.prototype.request,t);return hS.extend(r,_o.prototype,t),hS.extend(r,t),r}var Ht=_S(B2);Ht.Axios=_o;Ht.create=function(t){return _S(G2(Ht.defaults,t))};Ht.Cancel=Yp();Ht.CancelToken=pS();Ht.isCancel=Bp();Ht.all=function(t){return Promise.all(t)};Ht.spread=dS();Ht.isAxiosError=fS();$p.exports=Ht;$p.exports.default=Ht});var gS=_((rle,vS)=>{"use strict";o();vS.exports=ES()});var xS=_(fr=>{"use strict";o();Object.defineProperty(fr,"__esModule",{value:!0});fr.getUrlHeaders=fr.buildAllHeaders=fr.buildOptions=void 0;var zp=fs(),H2=Xa(),sn=za(),W2=({requestOptions:e,urlObject:t,headers:r,globalConfig:i={httpMockServer:{enabled:!1}}})=>{let{url:n,params:s}=e;if(s&&typeof s!="object")throw new Error("Search params must be an object");let a=K2(n,i);return Object.assign(Object.assign(Object.assign({},e),a),{headers:r})};fr.buildOptions=W2;var j2=(e,t,r={httpMockServer:{enabled:!1}},i)=>{let{url:n,disableWixHeaders:s,headers:a}=e,c=(0,H2.composeHeaders)({url:n,disableWixHeaders:s,wixHeadersOpts:t}),u=(0,fr.getUrlHeaders)(r,e,i);return Object.assign(Object.assign(Object.assign({},c),$2(a)),u)};fr.buildAllHeaders=j2;var V2=(e,t,r)=>{let{url:i,params:n}=t,{host:s,protocol:a}=r;return e.httpMockServer.enabled?{[zp.ORIGINAL_URL_HEADER]:Y2(i,n),[zp.ORIGINAL_HOST_HEADER]:(0,sn.isAbsoluteUrl)(i)?(0,sn.extractHost)(i):s,[zp.ORIGINAL_PROTOCOL_HEADER]:(0,sn.isAbsoluteUrl)(i)?(0,sn.extractProtocol)(i):a}:{}};fr.getUrlHeaders=V2;function K2(e,t){if(t.httpMockServer.enabled){let r=new URL(t.httpMockServer.mockServerUrl);return{url:(0,sn.changeHost)(e,r.host)}}return{}}function Y2(e,t){let{pathname:r,searchParams:i}=new URL(e,"http://unused.com");if(t=t||i,t){let n=(0,sn.toSearchQueryParams)(t)||t.toString(),s=n?`?${n}`:"";return`${r}${s}`}return r}function $2(e){return e=e||{},Object.keys(e).reduce((r,i)=>Object.assign(Object.assign({},r),{[i.toLowerCase()]:e[i]}),{})}});var NS=_(on=>{"use strict";o();Object.defineProperty(on,"__esModule",{value:!0});on.createHttpClient=on.HttpClient=void 0;var OS=(ja(),ds(Wa)),Is=OS.__importDefault(gS()),z2=OS.__importDefault(Gp()),Xp=fs(),AS=pp(),X2=mp(),SS=Xa(),Eo=xS(),Jt=za(),an=class{constructor(t={}){this.opts=t,this.opts=J2(this.opts),this.client=Is.default.create(this.opts),this.flags={sanitizerPocEnabled:tV()}}static isHttpError(t){return!!t?.isWixHttpError}async request(t,r){var i,n;let s=(0,Jt.resolveHost)(this.opts),c={protocol:(0,Jt.resolveProtocol)(this.opts),host:s},u=typeof t=="function"?t({isSSR:this.opts.isSSR,host:s}):t,p=r?.signedInstance||await((n=(i=this.opts).getAppToken)===null||n===void 0?void 0:n.call(i))||"",l=this.getHeaders(u,p,c),f=(0,Eo.buildOptions)({requestOptions:u,urlObject:c,headers:l,globalConfig:(0,Jt.getGlobalConfig)()});this.opts.isSSR&&(f.baseURL=this.opts.baseURL?this.opts.baseURL:`${Xp.SSR_PROTOCOL}://${Xp.SSR_HOST}`);try{let h=await this.client.request(f).catch(E=>this.maybeFallbackRequest(E,u,c,p));return this.transformResponse(h,u)}catch(h){this.handleRequestError(h,f)}}async get(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"GET"});return this.request(i)}async delete(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"DELETE"});return this.request(i)}async head(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"HEAD"});return this.request(i)}async options(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"OPTIONS"});return this.request(i)}async post(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"POST"});return this.request(n)}async put(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PUT"});return this.request(n)}async patch(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PATCH"});return this.request(n)}get CancelToken(){return Is.default.CancelToken}get isCancel(){return Is.default.isCancel}getHeaders(t,r,i){if(typeof this.opts.createHeaders=="function")return this.getCustomHeaders(t,r,i);let n={signedInstance:r,artifactId:this.opts.artifactId,csrf:!1,multilingualOptions:this.opts.multilingualOptions};return(0,Eo.buildAllHeaders)(t,n,(0,Jt.getGlobalConfig)(),i)}getCustomHeaders(t,r,i){let{url:n}=t,s=r&&(0,SS.isWixDomain)(n)?{authorization:r}:{},a=this.opts.createHeaders(),c=(0,Eo.getUrlHeaders)((0,Jt.getGlobalConfig)(),t,i);return Object.assign(Object.assign(Object.assign({},c),a),s)}handleRequestError(t,r){let i=(0,X2.createHttpError)(t);throw(0,Jt.silent)(()=>{var n;return(n=r.onError)===null||n===void 0?void 0:n.call(r,i)}),i}maybeFallbackRequest(t,r,i,n){var s,a,c;if((0,Jt.isHttpMockServerEnabled)()&&(0,Jt.shouldAllowUnmocked)()&&((s=t.response)===null||s===void 0?void 0:s.status)===404&&((c=(a=t.response)===null||a===void 0?void 0:a.data)===null||c===void 0?void 0:c.msg)===Xp.NO_SCENARIO_FOUND){let p=this.getHeaders(r,n,i),l=(0,Eo.buildOptions)({requestOptions:r,urlObject:i,headers:p});return this.client.request(l)}throw t}transformResponse(t,r){let i=(0,SS.requestIdOrEmptyString)(t),n=Q2(t,r,this.flags);return Object.assign(Object.assign({},t),{data:n,requestId:i})}};on.HttpClient=an;an.CancelToken=Is.default.CancelToken;an.isCancel=Is.default.isCancel;function J2(e){let t=e.adapter;return t||(t=z2.default,(0,AS.isNode)()&&(t=Z2())),Object.assign({adapter:t,isSSR:!1},e)}function Z2(){return typeof __webpack_require__=="function"?__non_webpack_require__("axios/lib/adapters/http"):oo()}function Q2(e,t,r){let i=eV(e,r);if(t._pickResponseBody&&(i=(0,Jt.extractProp)(e.data,t._pickResponseBody)),t._logs){let n=(0,Jt.extractProp)(e.data,t._logs);n?.length&&n.map(s=>console.log(...s))}return i}function eV(e,t){try{if(t.sanitizerPocEnabled){let r=performance.now(),i=new Sanitizer;if(e.headers["content-type"].includes("application/json")){console.log("[+] JSON Response detected, sanitizing data");let n=function(a){try{return Object.keys(a).forEach(c=>{typeof a[c]=="string"?a[c]=i.sanitizeFor("span",a[c]).innerHTML:typeof a[c]=="object"&&(a[c]=n(a[c]))}),a}catch(c){console.log(c)}},s=performance.now();return console.log(`Time taken: ${s-r} milliseconds.`),n(e.data)}}}catch(r){console.log("[+] Sanitizer API not supported: %o",r)}return e.data}function tV(){var e;try{return(0,AS.isBrowser)()&&new URLSearchParams(((e=window?.location)===null||e===void 0?void 0:e.hash)||"").get("sanitizerPOC")==="true"}catch{return!1}}function rV(...e){return new an(...e)}on.createHttpClient=rV});var IS=_(cn=>{"use strict";o();Object.defineProperty(cn,"__esModule",{value:!0});cn.HttpClient=cn.createHttpClient=void 0;var iV=(ja(),ds(Wa)),nV=iV.__importDefault(oo()),sV=NS(),vo=class extends sV.HttpClient{constructor(t={}){super(Object.assign({adapter:nV.default},t))}};cn.HttpClient=vo;function aV(...e){return new vo(...e)}cn.createHttpClient=aV});var TS=_(RS=>{"use strict";o();Object.defineProperty(RS,"__esModule",{value:!0})});var go=_(Be=>{"use strict";o();Object.defineProperty(Be,"__esModule",{value:!0});Be.HttpClient=Be.createHttpClient=Be.HttpError=Be.createHttpError=Be.ORIGINAL_URL_HEADER=Be.ORIGINAL_PROTOCOL_HEADER=Be.ORIGINAL_HOST_HEADER=void 0;var oV=(ja(),ds(Wa)),Jp=fs();Object.defineProperty(Be,"ORIGINAL_HOST_HEADER",{enumerable:!0,get:function(){return Jp.ORIGINAL_HOST_HEADER}});Object.defineProperty(Be,"ORIGINAL_PROTOCOL_HEADER",{enumerable:!0,get:function(){return Jp.ORIGINAL_PROTOCOL_HEADER}});Object.defineProperty(Be,"ORIGINAL_URL_HEADER",{enumerable:!0,get:function(){return Jp.ORIGINAL_URL_HEADER}});var bS=mp();Object.defineProperty(Be,"createHttpError",{enumerable:!0,get:function(){return bS.createHttpError}});Object.defineProperty(Be,"HttpError",{enumerable:!0,get:function(){return bS.HttpError}});var yS=IS();Object.defineProperty(Be,"createHttpClient",{enumerable:!0,get:function(){return yS.createHttpClient}});Object.defineProperty(Be,"HttpClient",{enumerable:!0,get:function(){return yS.HttpClient}});oV.__exportStar(TS(),Be)});var pn=_((Lle,US)=>{"use strict";o();var MS=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);US.exports=e=>e?Object.keys(e).map(t=>[MS.has(t)?MS.get(t):t,e[t]]).reduce((t,r)=>(t[r[0]]=r[1],t),Object.create(null)):{}});var bo=_(YS=>{"use strict";o();var qS=typeof process=="object"&&process?process:{stdout:null,stderr:null},vV=N("events"),kS=N("stream"),gV=N("string_decoder"),GS=gV.StringDecoder,_r=Symbol("EOF"),Er=Symbol("maybeEmitEnd"),Br=Symbol("emittedEnd"),Oo=Symbol("emittingEnd"),Rs=Symbol("emittedError"),Ao=Symbol("closed"),BS=Symbol("read"),No=Symbol("flush"),HS=Symbol("flushChunk"),pt=Symbol("encoding"),vr=Symbol("decoder"),Io=Symbol("flowing"),Ts=Symbol("paused"),ln=Symbol("resume"),xe=Symbol("buffer"),Zt=Symbol("pipes"),Fe=Symbol("bufferLength"),il=Symbol("bufferPush"),nl=Symbol("bufferShift"),He=Symbol("objectMode"),Se=Symbol("destroyed"),sl=Symbol("error"),al=Symbol("emitData"),WS=Symbol("emitEnd"),ol=Symbol("emitEnd2"),gr=Symbol("async"),cl=Symbol("abort"),Ro=Symbol("aborted"),Si=Symbol("signal"),bs=e=>Promise.resolve().then(e),KS=global._MP_NO_ITERATOR_SYMBOLS_!=="1",jS=KS&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),VS=KS&&Symbol.iterator||Symbol("iterator not implemented"),xV=e=>e==="end"||e==="finish"||e==="prefinish",SV=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,OV=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),To=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[ln](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},ul=class extends To{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}},pl=class e extends kS{constructor(t){super(),this[Io]=!1,this[Ts]=!1,this[Zt]=[],this[xe]=[],this[He]=t&&t.objectMode||!1,this[He]?this[pt]=null:this[pt]=t&&t.encoding||null,this[pt]==="buffer"&&(this[pt]=null),this[gr]=t&&!!t.async||!1,this[vr]=this[pt]?new GS(this[pt]):null,this[_r]=!1,this[Br]=!1,this[Oo]=!1,this[Ao]=!1,this[Rs]=null,this.writable=!0,this.readable=!0,this[Fe]=0,this[Se]=!1,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[xe]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Zt]}),this[Si]=t&&t.signal,this[Ro]=!1,this[Si]&&(this[Si].addEventListener("abort",()=>this[cl]()),this[Si].aborted&&this[cl]())}get bufferLength(){return this[Fe]}get encoding(){return this[pt]}set encoding(t){if(this[He])throw new Error("cannot set encoding in objectMode");if(this[pt]&&t!==this[pt]&&(this[vr]&&this[vr].lastNeed||this[Fe]))throw new Error("cannot change encoding");this[pt]!==t&&(this[vr]=t?new GS(t):null,this[xe].length&&(this[xe]=this[xe].map(r=>this[vr].write(r)))),this[pt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[He]}set objectMode(t){this[He]=this[He]||!!t}get async(){return this[gr]}set async(t){this[gr]=this[gr]||!!t}[cl](){this[Ro]=!0,this.emit("abort",this[Si].reason),this.destroy(this[Si].reason)}get aborted(){return this[Ro]}set aborted(t){}write(t,r,i){if(this[Ro])return!1;if(this[_r])throw new Error("write after end");if(this[Se])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[gr]?bs:s=>s();return!this[He]&&!Buffer.isBuffer(t)&&(OV(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):SV(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[He]?(this.flowing&&this[Fe]!==0&&this[No](!0),this.flowing?this.emit("data",t):this[il](t),this[Fe]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[pt]&&!this[vr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[pt]&&(t=this[vr].write(t)),this.flowing&&this[Fe]!==0&&this[No](!0),this.flowing?this.emit("data",t):this[il](t),this[Fe]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Fe]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[Se])return null;if(this[Fe]===0||t===0||t>this[Fe])return this[Er](),null;this[He]&&(t=null),this[xe].length>1&&!this[He]&&(this.encoding?this[xe]=[this[xe].join("")]:this[xe]=[Buffer.concat(this[xe],this[Fe])]);let r=this[BS](t||null,this[xe][0]);return this[Er](),r}[BS](t,r){return t===r.length||t===null?this[nl]():(this[xe][0]=r.slice(t),r=r.slice(0,t),this[Fe]-=t),this.emit("data",r),!this[xe].length&&!this[_r]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[_r]=!0,this.writable=!1,(this.flowing||!this[Ts])&&this[Er](),this}[ln](){this[Se]||(this[Ts]=!1,this[Io]=!0,this.emit("resume"),this[xe].length?this[No]():this[_r]?this[Er]():this.emit("drain"))}resume(){return this[ln]()}pause(){this[Io]=!1,this[Ts]=!0}get destroyed(){return this[Se]}get flowing(){return this[Io]}get paused(){return this[Ts]}[il](t){this[He]?this[Fe]+=1:this[Fe]+=t.length,this[xe].push(t)}[nl](){return this[He]?this[Fe]-=1:this[Fe]-=this[xe][0].length,this[xe].shift()}[No](t){do;while(this[HS](this[nl]())&&this[xe].length);!t&&!this[xe].length&&!this[_r]&&this.emit("drain")}[HS](t){return this.emit("data",t),this.flowing}pipe(t,r){if(this[Se])return;let i=this[Br];return r=r||{},t===qS.stdout||t===qS.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this[Zt].push(r.proxyErrors?new ul(this,t,r):new To(this,t,r)),this[gr]?bs(()=>this[ln]()):this[ln]()),t}unpipe(t){let r=this[Zt].find(i=>i.dest===t);r&&(this[Zt].splice(this[Zt].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this[Zt].length&&!this.flowing?this[ln]():t==="readable"&&this[Fe]!==0?super.emit("readable"):xV(t)&&this[Br]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[Rs]&&(this[gr]?bs(()=>r.call(this,this[Rs])):r.call(this,this[Rs])),i}get emittedEnd(){return this[Br]}[Er](){!this[Oo]&&!this[Br]&&!this[Se]&&this[xe].length===0&&this[_r]&&(this[Oo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Ao]&&this.emit("close"),this[Oo]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==Se&&this[Se])return;if(t==="data")return!this[He]&&!r?!1:this[gr]?bs(()=>this[al](r)):this[al](r);if(t==="end")return this[WS]();if(t==="close"){if(this[Ao]=!0,!this[Br]&&!this[Se])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Rs]=r,super.emit(sl,r);let s=!this[Si]||this.listeners("error").length?super.emit("error",r):!1;return this[Er](),s}else if(t==="resume"){let s=super.emit("resume");return this[Er](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[Er](),n}[al](t){for(let i of this[Zt])i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[Er](),r}[WS](){this[Br]||(this[Br]=!0,this.readable=!1,this[gr]?bs(()=>this[ol]()):this[ol]())}[ol](){if(this[vr]){let r=this[vr].end();if(r){for(let i of this[Zt])i.dest.write(r);super.emit("data",r)}}for(let r of this[Zt])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[He]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[He]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[He]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[He]?Promise.reject(new Error("cannot concat in objectMode")):this[pt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Se,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[jS](){let t=!1,r=()=>(this.pause(),t=!0,Promise.resolve({done:!0}));return{next:()=>{if(t)return r();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[_r])return r();let s=null,a=null,c=f=>{this.removeListener("data",u),this.removeListener("end",p),this.removeListener(Se,l),r(),a(f)},u=f=>{this.removeListener("error",c),this.removeListener("end",p),this.removeListener(Se,l),this.pause(),s({value:f,done:!!this[_r]})},p=()=>{this.removeListener("error",c),this.removeListener("data",u),this.removeListener(Se,l),r(),s({done:!0})},l=()=>c(new Error("stream destroyed"));return new Promise((f,h)=>{a=h,s=f,this.once(Se,l),this.once("error",c),this.once("end",p),this.once("data",u)})},throw:r,return:r,[jS](){return this}}}[VS](){let t=!1,r=()=>(this.pause(),this.removeListener(sl,r),this.removeListener(Se,r),this.removeListener("end",r),t=!0,{done:!0}),i=()=>{if(t)return r();let n=this.read();return n===null?r():{value:n}};return this.once("end",r),this.once(sl,r),this.once(Se,r),{next:i,throw:r,return:r,[VS](){return this}}}destroy(t){return this[Se]?(t?this.emit("error",t):this.emit(Se),this):(this[Se]=!0,this[xe].length=0,this[Fe]=0,typeof this.close=="function"&&!this[Ao]&&this.close(),t?this.emit("error",t):this.emit(Se),this)}static isStream(t){return!!t&&(t instanceof e||t instanceof kS||t instanceof vV&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}};YS.Minipass=pl});var zS=_((qle,$S)=>{"use strict";o();var AV=N("zlib").constants||{ZLIB_VERNUM:4736};$S.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},AV))});var _l=_((Gle,nO)=>{"use strict";o();var XS=typeof process=="object"&&process?process:{stdout:null,stderr:null},NV=N("events"),JS=N("stream"),ZS=N("string_decoder").StringDecoder,xr=Symbol("EOF"),Sr=Symbol("maybeEmitEnd"),Hr=Symbol("emittedEnd"),yo=Symbol("emittingEnd"),ys=Symbol("emittedError"),Do=Symbol("closed"),QS=Symbol("read"),Co=Symbol("flush"),eO=Symbol("flushChunk"),lt=Symbol("encoding"),Or=Symbol("decoder"),Po=Symbol("flowing"),Ds=Symbol("paused"),dn=Symbol("resume"),Me=Symbol("bufferLength"),ll=Symbol("bufferPush"),dl=Symbol("bufferShift"),$e=Symbol("objectMode"),ze=Symbol("destroyed"),ml=Symbol("emitData"),tO=Symbol("emitEnd"),fl=Symbol("emitEnd2"),Ar=Symbol("async"),Cs=e=>Promise.resolve().then(e),rO=global._MP_NO_ITERATOR_SYMBOLS_!=="1",IV=rO&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),RV=rO&&Symbol.iterator||Symbol("iterator not implemented"),TV=e=>e==="end"||e==="finish"||e==="prefinish",bV=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,yV=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),wo=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[dn](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},hl=class extends wo{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}};nO.exports=class iO extends JS{constructor(t){super(),this[Po]=!1,this[Ds]=!1,this.pipes=[],this.buffer=[],this[$e]=t&&t.objectMode||!1,this[$e]?this[lt]=null:this[lt]=t&&t.encoding||null,this[lt]==="buffer"&&(this[lt]=null),this[Ar]=t&&!!t.async||!1,this[Or]=this[lt]?new ZS(this[lt]):null,this[xr]=!1,this[Hr]=!1,this[yo]=!1,this[Do]=!1,this[ys]=null,this.writable=!0,this.readable=!0,this[Me]=0,this[ze]=!1}get bufferLength(){return this[Me]}get encoding(){return this[lt]}set encoding(t){if(this[$e])throw new Error("cannot set encoding in objectMode");if(this[lt]&&t!==this[lt]&&(this[Or]&&this[Or].lastNeed||this[Me]))throw new Error("cannot change encoding");this[lt]!==t&&(this[Or]=t?new ZS(t):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[Or].write(r)))),this[lt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[$e]}set objectMode(t){this[$e]=this[$e]||!!t}get async(){return this[Ar]}set async(t){this[Ar]=this[Ar]||!!t}write(t,r,i){if(this[xr])throw new Error("write after end");if(this[ze])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Ar]?Cs:s=>s();return!this[$e]&&!Buffer.isBuffer(t)&&(yV(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):bV(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[$e]?(this.flowing&&this[Me]!==0&&this[Co](!0),this.flowing?this.emit("data",t):this[ll](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[lt]&&!this[Or].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[lt]&&(t=this[Or].write(t)),this.flowing&&this[Me]!==0&&this[Co](!0),this.flowing?this.emit("data",t):this[ll](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[ze])return null;if(this[Me]===0||t===0||t>this[Me])return this[Sr](),null;this[$e]&&(t=null),this.buffer.length>1&&!this[$e]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Me])]);let r=this[QS](t||null,this.buffer[0]);return this[Sr](),r}[QS](t,r){return t===r.length||t===null?this[dl]():(this.buffer[0]=r.slice(t),r=r.slice(0,t),this[Me]-=t),this.emit("data",r),!this.buffer.length&&!this[xr]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[xr]=!0,this.writable=!1,(this.flowing||!this[Ds])&&this[Sr](),this}[dn](){this[ze]||(this[Ds]=!1,this[Po]=!0,this.emit("resume"),this.buffer.length?this[Co]():this[xr]?this[Sr]():this.emit("drain"))}resume(){return this[dn]()}pause(){this[Po]=!1,this[Ds]=!0}get destroyed(){return this[ze]}get flowing(){return this[Po]}get paused(){return this[Ds]}[ll](t){this[$e]?this[Me]+=1:this[Me]+=t.length,this.buffer.push(t)}[dl](){return this.buffer.length&&(this[$e]?this[Me]-=1:this[Me]-=this.buffer[0].length),this.buffer.shift()}[Co](t){do;while(this[eO](this[dl]()));!t&&!this.buffer.length&&!this[xr]&&this.emit("drain")}[eO](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[ze])return;let i=this[Hr];return r=r||{},t===XS.stdout||t===XS.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this.pipes.push(r.proxyErrors?new hl(this,t,r):new wo(this,t,r)),this[Ar]?Cs(()=>this[dn]()):this[dn]()),t}unpipe(t){let r=this.pipes.find(i=>i.dest===t);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this.pipes.length&&!this.flowing?this[dn]():t==="readable"&&this[Me]!==0?super.emit("readable"):TV(t)&&this[Hr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[ys]&&(this[Ar]?Cs(()=>r.call(this,this[ys])):r.call(this,this[ys])),i}get emittedEnd(){return this[Hr]}[Sr](){!this[yo]&&!this[Hr]&&!this[ze]&&this.buffer.length===0&&this[xr]&&(this[yo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Do]&&this.emit("close"),this[yo]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==ze&&this[ze])return;if(t==="data")return r?this[Ar]?Cs(()=>this[ml](r)):this[ml](r):!1;if(t==="end")return this[tO]();if(t==="close"){if(this[Do]=!0,!this[Hr]&&!this[ze])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[ys]=r;let s=super.emit("error",r);return this[Sr](),s}else if(t==="resume"){let s=super.emit("resume");return this[Sr](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[Sr](),n}[ml](t){for(let i of this.pipes)i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[Sr](),r}[tO](){this[Hr]||(this[Hr]=!0,this.readable=!1,this[Ar]?Cs(()=>this[fl]()):this[fl]())}[fl](){if(this[Or]){let r=this[Or].end();if(r){for(let i of this.pipes)i.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[$e]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[$e]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[$e]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[$e]?Promise.reject(new Error("cannot concat in objectMode")):this[lt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(ze,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[IV](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[xr])return Promise.resolve({done:!0});let i=null,n=null,s=p=>{this.removeListener("data",a),this.removeListener("end",c),n(p)},a=p=>{this.removeListener("error",s),this.removeListener("end",c),this.pause(),i({value:p,done:!!this[xr]})},c=()=>{this.removeListener("error",s),this.removeListener("data",a),i({done:!0})},u=()=>s(new Error("stream destroyed"));return new Promise((p,l)=>{n=l,i=p,this.once(ze,u),this.once("error",s),this.once("end",c),this.once("data",a)})}}}[RV](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[ze]?(t?this.emit("error",t):this.emit(ze),this):(this[ze]=!0,this.buffer.length=0,this[Me]=0,typeof this.close=="function"&&!this[Do]&&this.close(),t?this.emit("error",t):this.emit(ze),this)}static isStream(t){return!!t&&(t instanceof iO||t instanceof JS||t instanceof NV&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var Pl=_(gt=>{"use strict";o();var Sl=N("assert"),Wr=N("buffer").Buffer,oO=N("zlib"),Oi=gt.constants=zS(),DV=_l(),sO=Wr.concat,Ai=Symbol("_superWrite"),fn=class extends Error{constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},CV=Symbol("opts"),Ps=Symbol("flushFlag"),aO=Symbol("finishFlushFlag"),Cl=Symbol("fullFlushFlag"),ce=Symbol("handle"),Lo=Symbol("onError"),mn=Symbol("sawError"),El=Symbol("level"),vl=Symbol("strategy"),gl=Symbol("ended"),Hle=Symbol("_defaultFullFlush"),Fo=class extends DV{constructor(t,r){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this[mn]=!1,this[gl]=!1,this[CV]=t,this[Ps]=t.flush,this[aO]=t.finishFlush;try{this[ce]=new oO[r](t)}catch(i){throw new fn(i)}this[Lo]=i=>{this[mn]||(this[mn]=!0,this.close(),this.emit("error",i))},this[ce].on("error",i=>this[Lo](new fn(i))),this.once("end",()=>this.close)}close(){this[ce]&&(this[ce].close(),this[ce]=null,this.emit("close"))}reset(){if(!this[mn])return Sl(this[ce],"zlib binding closed"),this[ce].reset()}flush(t){this.ended||(typeof t!="number"&&(t=this[Cl]),this.write(Object.assign(Wr.alloc(0),{[Ps]:t})))}end(t,r,i){return t&&this.write(t,r),this.flush(this[aO]),this[gl]=!0,super.end(null,null,i)}get ended(){return this[gl]}write(t,r,i){if(typeof r=="function"&&(i=r,r="utf8"),typeof t=="string"&&(t=Wr.from(t,r)),this[mn])return;Sl(this[ce],"zlib binding closed");let n=this[ce]._handle,s=n.close;n.close=()=>{};let a=this[ce].close;this[ce].close=()=>{},Wr.concat=p=>p;let c;try{let p=typeof t[Ps]=="number"?t[Ps]:this[Ps];c=this[ce]._processChunk(t,p),Wr.concat=sO}catch(p){Wr.concat=sO,this[Lo](new fn(p))}finally{this[ce]&&(this[ce]._handle=n,n.close=s,this[ce].close=a,this[ce].removeAllListeners("error"))}this[ce]&&this[ce].on("error",p=>this[Lo](new fn(p)));let u;if(c)if(Array.isArray(c)&&c.length>0){u=this[Ai](Wr.from(c[0]));for(let p=1;p<c.length;p++)u=this[Ai](c[p])}else u=this[Ai](Wr.from(c));return i&&i(),u}[Ai](t){return super.write(t)}},Nr=class extends Fo{constructor(t,r){t=t||{},t.flush=t.flush||Oi.Z_NO_FLUSH,t.finishFlush=t.finishFlush||Oi.Z_FINISH,super(t,r),this[Cl]=Oi.Z_FULL_FLUSH,this[El]=t.level,this[vl]=t.strategy}params(t,r){if(!this[mn]){if(!this[ce])throw new Error("cannot switch params when binding is closed");if(!this[ce].params)throw new Error("not supported in this implementation");if(this[El]!==t||this[vl]!==r){this.flush(Oi.Z_SYNC_FLUSH),Sl(this[ce],"zlib binding closed");let i=this[ce].flush;this[ce].flush=(n,s)=>{this.flush(n),s()};try{this[ce].params(t,r)}finally{this[ce].flush=i}this[ce]&&(this[El]=t,this[vl]=r)}}}},Ol=class extends Nr{constructor(t){super(t,"Deflate")}},Al=class extends Nr{constructor(t){super(t,"Inflate")}},xl=Symbol("_portable"),Nl=class extends Nr{constructor(t){super(t,"Gzip"),this[xl]=t&&!!t.portable}[Ai](t){return this[xl]?(this[xl]=!1,t[9]=255,super[Ai](t)):super[Ai](t)}},Il=class extends Nr{constructor(t){super(t,"Gunzip")}},Rl=class extends Nr{constructor(t){super(t,"DeflateRaw")}},Tl=class extends Nr{constructor(t){super(t,"InflateRaw")}},bl=class extends Nr{constructor(t){super(t,"Unzip")}},Mo=class extends Fo{constructor(t,r){t=t||{},t.flush=t.flush||Oi.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||Oi.BROTLI_OPERATION_FINISH,super(t,r),this[Cl]=Oi.BROTLI_OPERATION_FLUSH}},yl=class extends Mo{constructor(t){super(t,"BrotliCompress")}},Dl=class extends Mo{constructor(t){super(t,"BrotliDecompress")}};gt.Deflate=Ol;gt.Inflate=Al;gt.Gzip=Nl;gt.Gunzip=Il;gt.DeflateRaw=Rl;gt.InflateRaw=Tl;gt.Unzip=bl;typeof oO.BrotliCompress=="function"?(gt.BrotliCompress=yl,gt.BrotliDecompress=Dl):gt.BrotliCompress=gt.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var hn=_((Kle,cO)=>{"use strict";o();var PV=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;cO.exports=PV!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/")});var Uo=_((zle,uO)=>{"use strict";o();var{Minipass:wV}=bo(),wl=hn(),Ll=Symbol("slurp");uO.exports=class extends wV{constructor(t,r,i){switch(super(),this.pause(),this.extended=r,this.globalExtended=i,this.header=t,this.startBlockSize=512*Math.ceil(t.size/512),this.blockRemain=this.startBlockSize,this.remain=t.size,this.type=t.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=wl(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=t.size,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=wl(t.linkpath),this.uname=t.uname,this.gname=t.gname,r&&this[Ll](r),i&&this[Ll](i,!0)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let i=this.remain,n=this.blockRemain;return this.remain=Math.max(0,i-r),this.blockRemain=Math.max(0,n-r),this.ignore?!0:i>=r?super.write(t):super.write(t.slice(0,i))}[Ll](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=i==="path"||i==="linkpath"?wl(t[i]):t[i])}}});var Fl=_(qo=>{"use strict";o();qo.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);qo.code=new Map(Array.from(qo.name).map(e=>[e[1],e[0]]))});var mO=_((Qle,dO)=>{"use strict";o();var LV=(e,t)=>{if(Number.isSafeInteger(e))e<0?MV(e,t):FV(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},FV=(e,t)=>{t[0]=128;for(var r=t.length;r>1;r--)t[r-1]=e&255,e=Math.floor(e/256)},MV=(e,t)=>{t[0]=255;var r=!1;e=e*-1;for(var i=t.length;i>1;i--){var n=e&255;e=Math.floor(e/256),r?t[i-1]=pO(n):n===0?t[i-1]=0:(r=!0,t[i-1]=lO(n))}},UV=e=>{let t=e[0],r=t===128?kV(e.slice(1,e.length)):t===255?qV(e):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},qV=e=>{for(var t=e.length,r=0,i=!1,n=t-1;n>-1;n--){var s=e[n],a;i?a=pO(s):s===0?a=s:(i=!0,a=lO(s)),a!==0&&(r-=a*Math.pow(256,t-n-1))}return r},kV=e=>{for(var t=e.length,r=0,i=t-1;i>-1;i--){var n=e[i];n!==0&&(r+=n*Math.pow(256,t-i-1))}return r},pO=e=>(255^e)&255,lO=e=>(255^e)+1&255;dO.exports={encode:LV,parse:UV}});var En=_((tde,hO)=>{"use strict";o();var Ml=Fl(),_n=N("path").posix,fO=mO(),Ul=Symbol("slurp"),xt=Symbol("type"),Gl=class{constructor(t,r,i,n){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[xt]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(t)?this.decode(t,r||0,i,n):t&&this.set(t)}decode(t,r,i,n){if(r||(r=0),!t||!(t.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=Ni(t,r,100),this.mode=jr(t,r+100,8),this.uid=jr(t,r+108,8),this.gid=jr(t,r+116,8),this.size=jr(t,r+124,12),this.mtime=ql(t,r+136,12),this.cksum=jr(t,r+148,12),this[Ul](i),this[Ul](n,!0),this[xt]=Ni(t,r+156,1),this[xt]===""&&(this[xt]="0"),this[xt]==="0"&&this.path.slice(-1)==="/"&&(this[xt]="5"),this[xt]==="5"&&(this.size=0),this.linkpath=Ni(t,r+157,100),t.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=Ni(t,r+265,32),this.gname=Ni(t,r+297,32),this.devmaj=jr(t,r+329,8),this.devmin=jr(t,r+337,8),t[r+475]!==0){let a=Ni(t,r+345,155);this.path=a+"/"+this.path}else{let a=Ni(t,r+345,130);a&&(this.path=a+"/"+this.path),this.atime=ql(t,r+476,12),this.ctime=ql(t,r+488,12)}let s=8*32;for(let a=r;a<r+148;a++)s+=t[a];for(let a=r+156;a<r+512;a++)s+=t[a];this.cksumValid=s===this.cksum,this.cksum===null&&s===8*32&&(this.nullBlock=!0)}[Ul](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=t[i])}encode(t,r){if(t||(t=this.block=Buffer.alloc(512),r=0),r||(r=0),!(t.length>=r+512))throw new Error("need 512 bytes for header");let i=this.ctime||this.atime?130:155,n=GV(this.path||"",i),s=n[0],a=n[1];this.needPax=n[2],this.needPax=Ii(t,r,100,s)||this.needPax,this.needPax=Vr(t,r+100,8,this.mode)||this.needPax,this.needPax=Vr(t,r+108,8,this.uid)||this.needPax,this.needPax=Vr(t,r+116,8,this.gid)||this.needPax,this.needPax=Vr(t,r+124,12,this.size)||this.needPax,this.needPax=kl(t,r+136,12,this.mtime)||this.needPax,t[r+156]=this[xt].charCodeAt(0),this.needPax=Ii(t,r+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",r+257,8),this.needPax=Ii(t,r+265,32,this.uname)||this.needPax,this.needPax=Ii(t,r+297,32,this.gname)||this.needPax,this.needPax=Vr(t,r+329,8,this.devmaj)||this.needPax,this.needPax=Vr(t,r+337,8,this.devmin)||this.needPax,this.needPax=Ii(t,r+345,i,a)||this.needPax,t[r+475]!==0?this.needPax=Ii(t,r+345,155,a)||this.needPax:(this.needPax=Ii(t,r+345,130,a)||this.needPax,this.needPax=kl(t,r+476,12,this.atime)||this.needPax,this.needPax=kl(t,r+488,12,this.ctime)||this.needPax);let c=8*32;for(let u=r;u<r+148;u++)c+=t[u];for(let u=r+156;u<r+512;u++)c+=t[u];return this.cksum=c,Vr(t,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(t){for(let r in t)t[r]!==null&&t[r]!==void 0&&(this[r]=t[r])}get type(){return Ml.name.get(this[xt])||this[xt]}get typeKey(){return this[xt]}set type(t){Ml.code.has(t)?this[xt]=Ml.code.get(t):this[xt]=t}},GV=(e,t)=>{let i=e,n="",s,a=_n.parse(e).root||".";if(Buffer.byteLength(i)<100)s=[i,n,!1];else{n=_n.dirname(i),i=_n.basename(i);do Buffer.byteLength(i)<=100&&Buffer.byteLength(n)<=t?s=[i,n,!1]:Buffer.byteLength(i)>100&&Buffer.byteLength(n)<=t?s=[i.slice(0,99),n,!0]:(i=_n.join(_n.basename(n),i),n=_n.dirname(n));while(n!==a&&!s);s||(s=[e.slice(0,99),"",!0])}return s},Ni=(e,t,r)=>e.slice(t,t+r).toString("utf8").replace(/\0.*/,""),ql=(e,t,r)=>BV(jr(e,t,r)),BV=e=>e===null?null:new Date(e*1e3),jr=(e,t,r)=>e[t]&128?fO.parse(e.slice(t,t+r)):WV(e,t,r),HV=e=>isNaN(e)?null:e,WV=(e,t,r)=>HV(parseInt(e.slice(t,t+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),jV={12:8589934591,8:2097151},Vr=(e,t,r,i)=>i===null?!1:i>jV[r]||i<0?(fO.encode(i,e.slice(t,t+r)),!0):(VV(e,t,r,i),!1),VV=(e,t,r,i)=>e.write(KV(i,r),t,r,"ascii"),KV=(e,t)=>YV(Math.floor(e).toString(8),t),YV=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",kl=(e,t,r,i)=>i===null?!1:Vr(e,t,r,i.getTime()/1e3),$V=new Array(156).join("\0"),Ii=(e,t,r,i)=>i===null?!1:(e.write(i+$V,t,r,"utf8"),i.length!==Buffer.byteLength(i)||i.length>r);hO.exports=Gl});var ko=_((ide,_O)=>{"use strict";o();var zV=En(),XV=N("path"),ws=class{constructor(t,r){this.atime=t.atime||null,this.charset=t.charset||null,this.comment=t.comment||null,this.ctime=t.ctime||null,this.gid=t.gid||null,this.gname=t.gname||null,this.linkpath=t.linkpath||null,this.mtime=t.mtime||null,this.path=t.path||null,this.size=t.size||null,this.uid=t.uid||null,this.uname=t.uname||null,this.dev=t.dev||null,this.ino=t.ino||null,this.nlink=t.nlink||null,this.global=r||!1}encode(){let t=this.encodeBody();if(t==="")return null;let r=Buffer.byteLength(t),i=512*Math.ceil(1+r/512),n=Buffer.allocUnsafe(i);for(let s=0;s<512;s++)n[s]=0;new zV({path:("PaxHeader/"+XV.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(n),n.write(t,512,r,"utf8");for(let s=r+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===null||this[t]===void 0)return"";let r=this[t]instanceof Date?this[t].getTime()/1e3:this[t],i=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+`
9
- `,n=Buffer.byteLength(i),s=Math.floor(Math.log(n)/Math.log(10))+1;return n+s>=Math.pow(10,s)&&(s+=1),s+n+i}};ws.parse=(e,t,r)=>new ws(JV(ZV(e),t),r);var JV=(e,t)=>t?Object.keys(e).reduce((r,i)=>(r[i]=e[i],r),t):e,ZV=e=>e.replace(/\n$/,"").split(`
10
- `).reduce(QV,Object.create(null)),QV=(e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.slice((r+" ").length);let i=t.split("="),n=i.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!n)return e;let s=i.join("=");return e[n]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(n)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s,e};_O.exports=ws});var vn=_((sde,EO)=>{"use strict";o();EO.exports=e=>{let t=e.length-1,r=-1;for(;t>-1&&e.charAt(t)==="/";)r=t,t--;return r===-1?e:e.slice(0,r)}});var Go=_((ode,vO)=>{"use strict";o();vO.exports=e=>class extends e{warn(t,r,i={}){this.file&&(i.file=this.file),this.cwd&&(i.cwd=this.cwd),i.code=r instanceof Error&&r.code||t,i.tarCode=t,!this.strict&&i.recoverable!==!1?(r instanceof Error&&(i=Object.assign(r,i),r=r.message),this.emit("warn",i.tarCode,r,i)):r instanceof Error?this.emit("error",Object.assign(r,i)):this.emit("error",Object.assign(new Error(`${t}: ${r}`),i))}}});var Hl=_((pde,gO)=>{"use strict";o();var Bo=["|","<",">","?",":"],Bl=Bo.map(e=>String.fromCharCode(61440+e.charCodeAt(0))),eK=new Map(Bo.map((e,t)=>[e,Bl[t]])),tK=new Map(Bl.map((e,t)=>[e,Bo[t]]));gO.exports={encode:e=>Bo.reduce((t,r)=>t.split(r).join(eK.get(r)),e),decode:e=>Bl.reduce((t,r)=>t.split(r).join(tK.get(r)),e)}});var Wl=_((dde,SO)=>{"use strict";o();var{isAbsolute:rK,parse:xO}=N("path").win32;SO.exports=e=>{let t="",r=xO(e);for(;rK(e)||r.root;){let i=e.charAt(0)==="/"&&e.slice(0,4)!=="//?/"?"/":r.root;e=e.slice(i.length),t+=i,r=xO(e)}return[t,e]}});var AO=_((fde,OO)=>{"use strict";o();OO.exports=(e,t,r)=>(e&=4095,r&&(e=(e|384)&-19),t&&(e&256&&(e|=64),e&32&&(e|=8),e&4&&(e|=1)),e)});var Ql=_((vde,UO)=>{"use strict";o();var{Minipass:DO}=bo(),CO=ko(),PO=En(),er=N("fs"),NO=N("path"),Qt=hn(),iK=vn(),wO=(e,t)=>t?(e=Qt(e).replace(/^\.(\/|$)/,""),iK(t)+"/"+e):Qt(e),nK=16*1024*1024,IO=Symbol("process"),RO=Symbol("file"),TO=Symbol("directory"),Vl=Symbol("symlink"),bO=Symbol("hardlink"),Ls=Symbol("header"),Ho=Symbol("read"),Kl=Symbol("lstat"),Wo=Symbol("onlstat"),Yl=Symbol("onread"),$l=Symbol("onreadlink"),zl=Symbol("openfile"),Xl=Symbol("onopenfile"),Kr=Symbol("close"),jo=Symbol("mode"),Jl=Symbol("awaitDrain"),jl=Symbol("ondrain"),tr=Symbol("prefix"),yO=Symbol("hadError"),LO=Go(),sK=Hl(),FO=Wl(),MO=AO(),Vo=LO(class extends DO{constructor(t,r){if(r=r||{},super(r),typeof t!="string")throw new TypeError("path is required");this.path=Qt(t),this.portable=!!r.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=r.maxReadSize||nK,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=Qt(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime||null,this.prefix=r.prefix?Qt(r.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=FO(this.path);n&&(this.path=s,i=n)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=sK.decode(this.path.replace(/\\/g,"/")),t=t.replace(/\\/g,"/")),this.absolute=Qt(r.absolute||NO.resolve(this.cwd,t)),this.path===""&&(this.path="./"),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.statCache.has(this.absolute)?this[Wo](this.statCache.get(this.absolute)):this[Kl]()}emit(t,...r){return t==="error"&&(this[yO]=!0),super.emit(t,...r)}[Kl](){er.lstat(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[Wo](r)})}[Wo](t){this.statCache.set(this.absolute,t),this.stat=t,t.isFile()||(t.size=0),this.type=oK(t),this.emit("stat",t),this[IO]()}[IO](){switch(this.type){case"File":return this[RO]();case"Directory":return this[TO]();case"SymbolicLink":return this[Vl]();default:return this.end()}}[jo](t){return MO(t,this.type==="Directory",this.portable)}[tr](t){return wO(t,this.prefix)}[Ls](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new PO({path:this[tr](this.path),linkpath:this.type==="Link"?this[tr](this.linkpath):this.linkpath,mode:this[jo](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new CO({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[tr](this.path),linkpath:this.type==="Link"?this[tr](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[TO](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[Ls](),this.end()}[Vl](){er.readlink(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[$l](r)})}[$l](t){this.linkpath=Qt(t),this[Ls](),this.end()}[bO](t){this.type="Link",this.linkpath=Qt(NO.relative(this.cwd,t)),this.stat.size=0,this[Ls](),this.end()}[RO](){if(this.stat.nlink>1){let t=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(t)){let r=this.linkCache.get(t);if(r.indexOf(this.cwd)===0)return this[bO](r)}this.linkCache.set(t,this.absolute)}if(this[Ls](),this.stat.size===0)return this.end();this[zl]()}[zl](){er.open(this.absolute,"r",(t,r)=>{if(t)return this.emit("error",t);this[Xl](r)})}[Xl](t){if(this.fd=t,this[yO])return this[Kr]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let r=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(r),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[Ho]()}[Ho](){let{fd:t,buf:r,offset:i,length:n,pos:s}=this;er.read(t,r,i,n,s,(a,c)=>{if(a)return this[Kr](()=>this.emit("error",a));this[Yl](c)})}[Kr](t){er.close(this.fd,t)}[Yl](t){if(t<=0&&this.remain>0){let n=new Error("encountered unexpected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[Kr](()=>this.emit("error",n))}if(t>this.remain){let n=new Error("did not encounter expected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[Kr](()=>this.emit("error",n))}if(t===this.remain)for(let n=t;n<this.length&&t<this.blockRemain;n++)this.buf[n+this.offset]=0,t++,this.remain++;let r=this.offset===0&&t===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+t);this.write(r)?this[jl]():this[Jl](()=>this[jl]())}[Jl](t){this.once("drain",t)}write(t){if(this.blockRemain<t.length){let r=new Error("writing more data than expected");return r.path=this.absolute,this.emit("error",r)}return this.remain-=t.length,this.blockRemain-=t.length,this.pos+=t.length,this.offset+=t.length,super.write(t)}[jl](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[Kr](t=>t?this.emit("error",t):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[Ho]()}}),Zl=class extends Vo{[Kl](){this[Wo](er.lstatSync(this.absolute))}[Vl](){this[$l](er.readlinkSync(this.absolute))}[zl](){this[Xl](er.openSync(this.absolute,"r"))}[Ho](){let t=!0;try{let{fd:r,buf:i,offset:n,length:s,pos:a}=this,c=er.readSync(r,i,n,s,a);this[Yl](c),t=!1}finally{if(t)try{this[Kr](()=>{})}catch{}}}[Jl](t){t()}[Kr](t){er.closeSync(this.fd),t()}},aK=LO(class extends DO{constructor(t,r){r=r||{},super(r),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=t,this.type=t.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix||null,this.path=Qt(t.path),this.mode=this[jo](t.mode),this.uid=this.portable?null:t.uid,this.gid=this.portable?null:t.gid,this.uname=this.portable?null:t.uname,this.gname=this.portable?null:t.gname,this.size=t.size,this.mtime=this.noMtime?null:r.mtime||t.mtime,this.atime=this.portable?null:t.atime,this.ctime=this.portable?null:t.ctime,this.linkpath=Qt(t.linkpath),typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=FO(this.path);n&&(this.path=s,i=n)}this.remain=t.size,this.blockRemain=t.startBlockSize,this.header=new PO({path:this[tr](this.path),linkpath:this.type==="Link"?this[tr](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.header.encode()&&!this.noPax&&super.write(new CO({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[tr](this.path),linkpath:this.type==="Link"?this[tr](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),t.pipe(this)}[tr](t){return wO(t,this.prefix)}[jo](t){return MO(t,this.type==="Directory",this.portable)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=r,super.write(t)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});Vo.Sync=Zl;Vo.Tar=aK;var oK=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";UO.exports=Vo});var kO=_((xde,qO)=>{"use strict";o();qO.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var ed=_((Ode,GO)=>{"use strict";o();GO.exports=Q;Q.Node=Ri;Q.create=Q;function Q(e){var t=this;if(t instanceof Q||(t=new Q),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(n){t.push(n)});else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)t.push(arguments[r]);return t}Q.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Q.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Q.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Q.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)uK(this,arguments[e]);return this.length};Q.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)pK(this,arguments[e]);return this.length};Q.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Q.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Q.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,i=0;r!==null;i++)e.call(t,r.value,i,this),r=r.next};Q.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,i=this.length-1;r!==null;i--)e.call(t,r.value,i,this),r=r.prev};Q.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};Q.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};Q.prototype.map=function(e,t){t=t||this;for(var r=new Q,i=this.head;i!==null;)r.push(e.call(t,i.value,this)),i=i.next;return r};Q.prototype.mapReverse=function(e,t){t=t||this;for(var r=new Q,i=this.tail;i!==null;)r.push(e.call(t,i.value,this)),i=i.prev;return r};Q.prototype.reduce=function(e,t){var r,i=this.head;if(arguments.length>1)r=t;else if(this.head)i=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)r=e(r,i.value,n),i=i.next;return r};Q.prototype.reduceReverse=function(e,t){var r,i=this.tail;if(arguments.length>1)r=t;else if(this.tail)i=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)r=e(r,i.value,n),i=i.prev;return r};Q.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};Q.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};Q.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,n=this.head;n!==null&&i<e;i++)n=n.next;for(;n!==null&&i<t;i++,n=n.next)r.push(n.value);return r};Q.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,n=this.tail;n!==null&&i>t;i--)n=n.prev;for(;n!==null&&i>e;i--,n=n.prev)r.push(n.value);return r};Q.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,n=this.head;n!==null&&i<e;i++)n=n.next;for(var s=[],i=0;n&&i<t;i++)s.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var i=0;i<r.length;i++)n=cK(this,n,r[i]);return s};Q.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var i=r.prev;r.prev=r.next,r.next=i}return this.head=t,this.tail=e,this};function cK(e,t,r){var i=t===e.head?new Ri(r,null,t,e):new Ri(r,t,t.next,e);return i.next===null&&(e.tail=i),i.prev===null&&(e.head=i),e.length++,i}function uK(e,t){e.tail=new Ri(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function pK(e,t){e.head=new Ri(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Ri(e,t,r,i){if(!(this instanceof Ri))return new Ri(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{kO()(Q)}catch{}});var ec=_((Ide,$O)=>{"use strict";o();var Zo=class{constructor(t,r){this.path=t||"./",this.absolute=r,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},{Minipass:lK}=bo(),BO=Pl(),dK=Uo(),ud=Ql(),mK=ud.Sync,fK=ud.Tar,hK=ed(),HO=Buffer.alloc(1024),$o=Symbol("onStat"),Ko=Symbol("ended"),rr=Symbol("queue"),gn=Symbol("current"),Ti=Symbol("process"),Yo=Symbol("processing"),WO=Symbol("processJob"),ir=Symbol("jobs"),td=Symbol("jobDone"),zo=Symbol("addFSEntry"),jO=Symbol("addTarEntry"),sd=Symbol("stat"),ad=Symbol("readdir"),Xo=Symbol("onreaddir"),Jo=Symbol("pipe"),VO=Symbol("entry"),rd=Symbol("entryOpt"),od=Symbol("writeEntryClass"),YO=Symbol("write"),id=Symbol("ondrain"),Qo=N("fs"),KO=N("path"),_K=Go(),nd=hn(),pd=_K(class extends lK{constructor(t){if(super(t),t=t||Object.create(null),this.opt=t,this.file=t.file||"",this.cwd=t.cwd||process.cwd(),this.maxReadSize=t.maxReadSize,this.preservePaths=!!t.preservePaths,this.strict=!!t.strict,this.noPax=!!t.noPax,this.prefix=nd(t.prefix||""),this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.readdirCache=t.readdirCache||new Map,this[od]=ud,typeof t.onwarn=="function"&&this.on("warn",t.onwarn),this.portable=!!t.portable,this.zip=null,t.gzip||t.brotli){if(t.gzip&&t.brotli)throw new TypeError("gzip and brotli are mutually exclusive");t.gzip&&(typeof t.gzip!="object"&&(t.gzip={}),this.portable&&(t.gzip.portable=!0),this.zip=new BO.Gzip(t.gzip)),t.brotli&&(typeof t.brotli!="object"&&(t.brotli={}),this.zip=new BO.BrotliCompress(t.brotli)),this.zip.on("data",r=>super.write(r)),this.zip.on("end",r=>super.end()),this.zip.on("drain",r=>this[id]()),this.on("resume",r=>this.zip.resume())}else this.on("drain",this[id]);this.noDirRecurse=!!t.noDirRecurse,this.follow=!!t.follow,this.noMtime=!!t.noMtime,this.mtime=t.mtime||null,this.filter=typeof t.filter=="function"?t.filter:r=>!0,this[rr]=new hK,this[ir]=0,this.jobs=+t.jobs||4,this[Yo]=!1,this[Ko]=!1}[YO](t){return super.write(t)}add(t){return this.write(t),this}end(t){return t&&this.write(t),this[Ko]=!0,this[Ti](),this}write(t){if(this[Ko])throw new Error("write after end");return t instanceof dK?this[jO](t):this[zo](t),this.flowing}[jO](t){let r=nd(KO.resolve(this.cwd,t.path));if(!this.filter(t.path,t))t.resume();else{let i=new Zo(t.path,r,!1);i.entry=new fK(t,this[rd](i)),i.entry.on("end",n=>this[td](i)),this[ir]+=1,this[rr].push(i)}this[Ti]()}[zo](t){let r=nd(KO.resolve(this.cwd,t));this[rr].push(new Zo(t,r)),this[Ti]()}[sd](t){t.pending=!0,this[ir]+=1;let r=this.follow?"stat":"lstat";Qo[r](t.absolute,(i,n)=>{t.pending=!1,this[ir]-=1,i?this.emit("error",i):this[$o](t,n)})}[$o](t,r){this.statCache.set(t.absolute,r),t.stat=r,this.filter(t.path,r)||(t.ignore=!0),this[Ti]()}[ad](t){t.pending=!0,this[ir]+=1,Qo.readdir(t.absolute,(r,i)=>{if(t.pending=!1,this[ir]-=1,r)return this.emit("error",r);this[Xo](t,i)})}[Xo](t,r){this.readdirCache.set(t.absolute,r),t.readdir=r,this[Ti]()}[Ti](){if(!this[Yo]){this[Yo]=!0;for(let t=this[rr].head;t!==null&&this[ir]<this.jobs;t=t.next)if(this[WO](t.value),t.value.ignore){let r=t.next;this[rr].removeNode(t),t.next=r}this[Yo]=!1,this[Ko]&&!this[rr].length&&this[ir]===0&&(this.zip?this.zip.end(HO):(super.write(HO),super.end()))}}get[gn](){return this[rr]&&this[rr].head&&this[rr].head.value}[td](t){this[rr].shift(),this[ir]-=1,this[Ti]()}[WO](t){if(!t.pending){if(t.entry){t===this[gn]&&!t.piped&&this[Jo](t);return}if(t.stat||(this.statCache.has(t.absolute)?this[$o](t,this.statCache.get(t.absolute)):this[sd](t)),!!t.stat&&!t.ignore&&!(!this.noDirRecurse&&t.stat.isDirectory()&&!t.readdir&&(this.readdirCache.has(t.absolute)?this[Xo](t,this.readdirCache.get(t.absolute)):this[ad](t),!t.readdir))){if(t.entry=this[VO](t),!t.entry){t.ignore=!0;return}t===this[gn]&&!t.piped&&this[Jo](t)}}}[rd](t){return{onwarn:(r,i,n)=>this.warn(r,i,n),noPax:this.noPax,cwd:this.cwd,absolute:t.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[VO](t){this[ir]+=1;try{return new this[od](t.path,this[rd](t)).on("end",()=>this[td](t)).on("error",r=>this.emit("error",r))}catch(r){this.emit("error",r)}}[id](){this[gn]&&this[gn].entry&&this[gn].entry.resume()}[Jo](t){t.piped=!0,t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[zo](a+n)});let r=t.entry,i=this.zip;i?r.on("data",n=>{i.write(n)||r.pause()}):r.on("data",n=>{super.write(n)||r.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),cd=class extends pd{constructor(t){super(t),this[od]=mK}pause(){}resume(){}[sd](t){let r=this.follow?"statSync":"lstatSync";this[$o](t,Qo[r](t.absolute))}[ad](t,r){this[Xo](t,Qo.readdirSync(t.absolute))}[Jo](t){let r=t.entry,i=this.zip;t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[zo](a+n)}),i?r.on("data",n=>{i.write(n)}):r.on("data",n=>{super[YO](n)})}};pd.Sync=cd;$O.exports=pd});var Tn=_(Ms=>{"use strict";o();var EK=_l(),vK=N("events").EventEmitter,dt=N("fs"),md=dt.writev;if(!md){let e=process.binding("fs"),t=e.FSReqWrap||e.FSReqCallback;md=(r,i,n,s)=>{let a=(u,p)=>s(u,p,i),c=new t;c.oncomplete=a,e.writeBuffers(r,i,n,c)}}var In=Symbol("_autoClose"),Wt=Symbol("_close"),Fs=Symbol("_ended"),ne=Symbol("_fd"),zO=Symbol("_finished"),$r=Symbol("_flags"),ld=Symbol("_flush"),fd=Symbol("_handleChunk"),hd=Symbol("_makeBuf"),sc=Symbol("_mode"),tc=Symbol("_needDrain"),An=Symbol("_onerror"),Rn=Symbol("_onopen"),dd=Symbol("_onread"),Sn=Symbol("_onwrite"),zr=Symbol("_open"),Ir=Symbol("_path"),bi=Symbol("_pos"),nr=Symbol("_queue"),On=Symbol("_read"),XO=Symbol("_readSize"),Yr=Symbol("_reading"),rc=Symbol("_remain"),JO=Symbol("_size"),ic=Symbol("_write"),xn=Symbol("_writing"),nc=Symbol("_defaultFlag"),Nn=Symbol("_errored"),ac=class extends EK{constructor(t,r){if(r=r||{},super(r),this.readable=!0,this.writable=!1,typeof t!="string")throw new TypeError("path must be a string");this[Nn]=!1,this[ne]=typeof r.fd=="number"?r.fd:null,this[Ir]=t,this[XO]=r.readSize||16*1024*1024,this[Yr]=!1,this[JO]=typeof r.size=="number"?r.size:1/0,this[rc]=this[JO],this[In]=typeof r.autoClose=="boolean"?r.autoClose:!0,typeof this[ne]=="number"?this[On]():this[zr]()}get fd(){return this[ne]}get path(){return this[Ir]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[zr](){dt.open(this[Ir],"r",(t,r)=>this[Rn](t,r))}[Rn](t,r){t?this[An](t):(this[ne]=r,this.emit("open",r),this[On]())}[hd](){return Buffer.allocUnsafe(Math.min(this[XO],this[rc]))}[On](){if(!this[Yr]){this[Yr]=!0;let t=this[hd]();if(t.length===0)return process.nextTick(()=>this[dd](null,0,t));dt.read(this[ne],t,0,t.length,null,(r,i,n)=>this[dd](r,i,n))}}[dd](t,r,i){this[Yr]=!1,t?this[An](t):this[fd](r,i)&&this[On]()}[Wt](){if(this[In]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,dt.close(t,r=>r?this.emit("error",r):this.emit("close"))}}[An](t){this[Yr]=!0,this[Wt](),this.emit("error",t)}[fd](t,r){let i=!1;return this[rc]-=t,t>0&&(i=super.write(t<r.length?r.slice(0,t):r)),(t===0||this[rc]<=0)&&(i=!1,this[Wt](),super.end()),i}emit(t,r){switch(t){case"prefinish":case"finish":break;case"drain":typeof this[ne]=="number"&&this[On]();break;case"error":return this[Nn]?void 0:(this[Nn]=!0,super.emit(t,r));default:return super.emit(t,r)}}},_d=class extends ac{[zr](){let t=!0;try{this[Rn](null,dt.openSync(this[Ir],"r")),t=!1}finally{t&&this[Wt]()}}[On](){let t=!0;try{if(!this[Yr]){this[Yr]=!0;do{let r=this[hd](),i=r.length===0?0:dt.readSync(this[ne],r,0,r.length,null);if(!this[fd](i,r))break}while(!0);this[Yr]=!1}t=!1}finally{t&&this[Wt]()}}[Wt](){if(this[In]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,dt.closeSync(t),this.emit("close")}}},oc=class extends vK{constructor(t,r){r=r||{},super(r),this.readable=!1,this.writable=!0,this[Nn]=!1,this[xn]=!1,this[Fs]=!1,this[tc]=!1,this[nr]=[],this[Ir]=t,this[ne]=typeof r.fd=="number"?r.fd:null,this[sc]=r.mode===void 0?438:r.mode,this[bi]=typeof r.start=="number"?r.start:null,this[In]=typeof r.autoClose=="boolean"?r.autoClose:!0;let i=this[bi]!==null?"r+":"w";this[nc]=r.flags===void 0,this[$r]=this[nc]?i:r.flags,this[ne]===null&&this[zr]()}emit(t,r){if(t==="error"){if(this[Nn])return;this[Nn]=!0}return super.emit(t,r)}get fd(){return this[ne]}get path(){return this[Ir]}[An](t){this[Wt](),this[xn]=!0,this.emit("error",t)}[zr](){dt.open(this[Ir],this[$r],this[sc],(t,r)=>this[Rn](t,r))}[Rn](t,r){this[nc]&&this[$r]==="r+"&&t&&t.code==="ENOENT"?(this[$r]="w",this[zr]()):t?this[An](t):(this[ne]=r,this.emit("open",r),this[ld]())}end(t,r){return t&&this.write(t,r),this[Fs]=!0,!this[xn]&&!this[nr].length&&typeof this[ne]=="number"&&this[Sn](null,0),this}write(t,r){return typeof t=="string"&&(t=Buffer.from(t,r)),this[Fs]?(this.emit("error",new Error("write() after end()")),!1):this[ne]===null||this[xn]||this[nr].length?(this[nr].push(t),this[tc]=!0,!1):(this[xn]=!0,this[ic](t),!0)}[ic](t){dt.write(this[ne],t,0,t.length,this[bi],(r,i)=>this[Sn](r,i))}[Sn](t,r){t?this[An](t):(this[bi]!==null&&(this[bi]+=r),this[nr].length?this[ld]():(this[xn]=!1,this[Fs]&&!this[zO]?(this[zO]=!0,this[Wt](),this.emit("finish")):this[tc]&&(this[tc]=!1,this.emit("drain"))))}[ld](){if(this[nr].length===0)this[Fs]&&this[Sn](null,0);else if(this[nr].length===1)this[ic](this[nr].pop());else{let t=this[nr];this[nr]=[],md(this[ne],t,this[bi],(r,i)=>this[Sn](r,i))}}[Wt](){if(this[In]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,dt.close(t,r=>r?this.emit("error",r):this.emit("close"))}}},Ed=class extends oc{[zr](){let t;if(this[nc]&&this[$r]==="r+")try{t=dt.openSync(this[Ir],this[$r],this[sc])}catch(r){if(r.code==="ENOENT")return this[$r]="w",this[zr]();throw r}else t=dt.openSync(this[Ir],this[$r],this[sc]);this[Rn](null,t)}[Wt](){if(this[In]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,dt.closeSync(t),this.emit("close")}}[ic](t){let r=!0;try{this[Sn](null,dt.writeSync(this[ne],t,0,t.length,this[bi])),r=!1}finally{if(r)try{this[Wt]()}catch{}}}};Ms.ReadStream=ac;Ms.ReadStreamSync=_d;Ms.WriteStream=oc;Ms.WriteStreamSync=Ed});var fc=_((Dde,oA)=>{"use strict";o();var gK=Go(),ZO=En(),xK=N("events"),SK=ed(),OK=1024*1024,AK=Uo(),QO=ko(),eA=Pl(),{nextTick:NK}=N("process"),vd=Buffer.from([31,139]),Tt=Symbol("state"),yi=Symbol("writeEntry"),Rr=Symbol("readEntry"),gd=Symbol("nextEntry"),tA=Symbol("processEntry"),bt=Symbol("extendedHeader"),Us=Symbol("globalExtendedHeader"),Xr=Symbol("meta"),rA=Symbol("emitMeta"),ue=Symbol("buffer"),Tr=Symbol("queue"),Jr=Symbol("ended"),iA=Symbol("emittedEnd"),Di=Symbol("emit"),Ue=Symbol("unzip"),cc=Symbol("consumeChunk"),uc=Symbol("consumeChunkSub"),xd=Symbol("consumeBody"),nA=Symbol("consumeMeta"),sA=Symbol("consumeHeader"),pc=Symbol("consuming"),Sd=Symbol("bufferConcat"),Od=Symbol("maybeEnd"),qs=Symbol("writing"),Zr=Symbol("aborted"),lc=Symbol("onDone"),Ci=Symbol("sawValidEntry"),dc=Symbol("sawNullBlock"),mc=Symbol("sawEOF"),aA=Symbol("closeStream"),IK=e=>!0;oA.exports=gK(class extends xK{constructor(t){t=t||{},super(t),this.file=t.file||"",this[Ci]=null,this.on(lc,i=>{(this[Tt]==="begin"||this[Ci]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),t.ondone?this.on(lc,t.ondone):this.on(lc,i=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!t.strict,this.maxMetaEntrySize=t.maxMetaEntrySize||OK,this.filter=typeof t.filter=="function"?t.filter:IK;let r=t.file&&(t.file.endsWith(".tar.br")||t.file.endsWith(".tbr"));this.brotli=!t.gzip&&t.brotli!==void 0?t.brotli:r?void 0:!1,this.writable=!0,this.readable=!1,this[Tr]=new SK,this[ue]=null,this[Rr]=null,this[yi]=null,this[Tt]="begin",this[Xr]="",this[bt]=null,this[Us]=null,this[Jr]=!1,this[Ue]=null,this[Zr]=!1,this[dc]=!1,this[mc]=!1,this.on("end",()=>this[aA]()),typeof t.onwarn=="function"&&this.on("warn",t.onwarn),typeof t.onentry=="function"&&this.on("entry",t.onentry)}[sA](t,r){this[Ci]===null&&(this[Ci]=!1);let i;try{i=new ZO(t,r,this[bt],this[Us])}catch(n){return this.warn("TAR_ENTRY_INVALID",n)}if(i.nullBlock)this[dc]?(this[mc]=!0,this[Tt]==="begin"&&(this[Tt]="header"),this[Di]("eof")):(this[dc]=!0,this[Di]("nullBlock"));else if(this[dc]=!1,!i.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:i});else if(!i.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:i});else{let n=i.type;if(/^(Symbolic)?Link$/.test(n)&&!i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:i});else if(!/^(Symbolic)?Link$/.test(n)&&i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:i});else{let s=this[yi]=new AK(i,this[bt],this[Us]);if(!this[Ci])if(s.remain){let a=()=>{s.invalid||(this[Ci]=!0)};s.on("end",a)}else this[Ci]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[Di]("ignoredEntry",s),this[Tt]="ignore",s.resume()):s.size>0&&(this[Xr]="",s.on("data",a=>this[Xr]+=a),this[Tt]="meta"):(this[bt]=null,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[Di]("ignoredEntry",s),this[Tt]=s.remain?"ignore":"header",s.resume()):(s.remain?this[Tt]="body":(this[Tt]="header",s.end()),this[Rr]?this[Tr].push(s):(this[Tr].push(s),this[gd]())))}}}[aA](){NK(()=>this.emit("close"))}[tA](t){let r=!0;return t?Array.isArray(t)?this.emit.apply(this,t):(this[Rr]=t,this.emit("entry",t),t.emittedEnd||(t.on("end",i=>this[gd]()),r=!1)):(this[Rr]=null,r=!1),r}[gd](){do;while(this[tA](this[Tr].shift()));if(!this[Tr].length){let t=this[Rr];!t||t.flowing||t.size===t.remain?this[qs]||this.emit("drain"):t.once("drain",i=>this.emit("drain"))}}[xd](t,r){let i=this[yi],n=i.blockRemain,s=n>=t.length&&r===0?t:t.slice(r,r+n);return i.write(s),i.blockRemain||(this[Tt]="header",this[yi]=null,i.end()),s.length}[nA](t,r){let i=this[yi],n=this[xd](t,r);return this[yi]||this[rA](i),n}[Di](t,r,i){!this[Tr].length&&!this[Rr]?this.emit(t,r,i):this[Tr].push([t,r,i])}[rA](t){switch(this[Di]("meta",this[Xr]),t.type){case"ExtendedHeader":case"OldExtendedHeader":this[bt]=QO.parse(this[Xr],this[bt],!1);break;case"GlobalExtendedHeader":this[Us]=QO.parse(this[Xr],this[Us],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[bt]=this[bt]||Object.create(null),this[bt].path=this[Xr].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[bt]=this[bt]||Object.create(null),this[bt].linkpath=this[Xr].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+t.type)}}abort(t){this[Zr]=!0,this.emit("abort",t),this.warn("TAR_ABORT",t,{recoverable:!1})}write(t){if(this[Zr])return;if((this[Ue]===null||this.brotli===void 0&&this[Ue]===!1)&&t){if(this[ue]&&(t=Buffer.concat([this[ue],t]),this[ue]=null),t.length<vd.length)return this[ue]=t,!0;for(let s=0;this[Ue]===null&&s<vd.length;s++)t[s]!==vd[s]&&(this[Ue]=!1);let n=this.brotli===void 0;if(this[Ue]===!1&&n)if(t.length<512)if(this[Jr])this.brotli=!0;else return this[ue]=t,!0;else try{new ZO(t.slice(0,512)),this.brotli=!1}catch{this.brotli=!0}if(this[Ue]===null||this[Ue]===!1&&this.brotli){let s=this[Jr];this[Jr]=!1,this[Ue]=this[Ue]===null?new eA.Unzip:new eA.BrotliDecompress,this[Ue].on("data",c=>this[cc](c)),this[Ue].on("error",c=>this.abort(c)),this[Ue].on("end",c=>{this[Jr]=!0,this[cc]()}),this[qs]=!0;let a=this[Ue][s?"end":"write"](t);return this[qs]=!1,a}}this[qs]=!0,this[Ue]?this[Ue].write(t):this[cc](t),this[qs]=!1;let i=this[Tr].length?!1:this[Rr]?this[Rr].flowing:!0;return!i&&!this[Tr].length&&this[Rr].once("drain",n=>this.emit("drain")),i}[Sd](t){t&&!this[Zr]&&(this[ue]=this[ue]?Buffer.concat([this[ue],t]):t)}[Od](){if(this[Jr]&&!this[iA]&&!this[Zr]&&!this[pc]){this[iA]=!0;let t=this[yi];if(t&&t.blockRemain){let r=this[ue]?this[ue].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${t.blockRemain} more bytes, only ${r} available)`,{entry:t}),this[ue]&&t.write(this[ue]),t.end()}this[Di](lc)}}[cc](t){if(this[pc])this[Sd](t);else if(!t&&!this[ue])this[Od]();else{if(this[pc]=!0,this[ue]){this[Sd](t);let r=this[ue];this[ue]=null,this[uc](r)}else this[uc](t);for(;this[ue]&&this[ue].length>=512&&!this[Zr]&&!this[mc];){let r=this[ue];this[ue]=null,this[uc](r)}this[pc]=!1}(!this[ue]||this[Jr])&&this[Od]()}[uc](t){let r=0,i=t.length;for(;r+512<=i&&!this[Zr]&&!this[mc];)switch(this[Tt]){case"begin":case"header":this[sA](t,r),r+=512;break;case"ignore":case"body":r+=this[xd](t,r);break;case"meta":r+=this[nA](t,r);break;default:throw new Error("invalid state: "+this[Tt])}r<i&&(this[ue]?this[ue]=Buffer.concat([t.slice(r),this[ue]]):this[ue]=t.slice(r))}end(t){this[Zr]||(this[Ue]?this[Ue].end(t):(this[Jr]=!0,this.brotli===void 0&&(t=t||Buffer.alloc(0)),this.write(t)))}})});var hc=_((Pde,lA)=>{"use strict";o();var RK=pn(),uA=fc(),bn=N("fs"),TK=Tn(),cA=N("path"),Ad=vn();lA.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let i=RK(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&yK(i,t),i.noResume||bK(i),i.file&&i.sync?DK(i):i.file?CK(i,r):pA(i)};var bK=e=>{let t=e.onentry;e.onentry=t?r=>{t(r),r.resume()}:r=>r.resume()},yK=(e,t)=>{let r=new Map(t.map(s=>[Ad(s),!0])),i=e.filter,n=(s,a)=>{let c=a||cA.parse(s).root||".",u=s===c?!1:r.has(s)?r.get(s):n(cA.dirname(s),c);return r.set(s,u),u};e.filter=i?(s,a)=>i(s,a)&&n(Ad(s)):s=>n(Ad(s))},DK=e=>{let t=pA(e),r=e.file,i=!0,n;try{let s=bn.statSync(r),a=e.maxReadSize||16*1024*1024;if(s.size<a)t.end(bn.readFileSync(r));else{let c=0,u=Buffer.allocUnsafe(a);for(n=bn.openSync(r,"r");c<s.size;){let p=bn.readSync(n,u,0,a,c);c+=p,t.write(u.slice(0,p))}t.end()}i=!1}finally{if(i&&n)try{bn.closeSync(n)}catch{}}},CK=(e,t)=>{let r=new uA(e),i=e.maxReadSize||16*1024*1024,n=e.file,s=new Promise((a,c)=>{r.on("error",c),r.on("end",a),bn.stat(n,(u,p)=>{if(u)c(u);else{let l=new TK.ReadStream(n,{readSize:i,size:p.size});l.on("error",c),l.pipe(r)}})});return t?s.then(t,t):s},pA=e=>new uA(e)});var EA=_((Lde,_A)=>{"use strict";o();var PK=pn(),_c=ec(),dA=Tn(),mA=hc(),fA=N("path");_A.exports=(e,t,r)=>{if(typeof t=="function"&&(r=t),Array.isArray(e)&&(t=e,e={}),!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);let i=PK(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return i.file&&i.sync?wK(i,t):i.file?LK(i,t,r):i.sync?FK(i,t):MK(i,t)};var wK=(e,t)=>{let r=new _c.Sync(e),i=new dA.WriteStreamSync(e.file,{mode:e.mode||438});r.pipe(i),hA(r,t)},LK=(e,t,r)=>{let i=new _c(e),n=new dA.WriteStream(e.file,{mode:e.mode||438});i.pipe(n);let s=new Promise((a,c)=>{n.on("error",c),n.on("close",a),i.on("error",c)});return Nd(i,t),r?s.then(r,r):s},hA=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?mA({file:fA.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>e.add(i)}):e.add(r)}),e.end()},Nd=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return mA({file:fA.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:i=>e.add(i)}).then(i=>Nd(e,t));e.add(r)}e.end()},FK=(e,t)=>{let r=new _c.Sync(e);return hA(r,t),r},MK=(e,t)=>{let r=new _c(e);return Nd(r,t),r}});var Id=_((Mde,NA)=>{"use strict";o();var UK=pn(),vA=ec(),St=N("fs"),gA=Tn(),xA=hc(),SA=N("path"),OA=En();NA.exports=(e,t,r)=>{let i=UK(e);if(!i.file)throw new TypeError("file is required");if(i.gzip||i.brotli||i.file.endsWith(".br")||i.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),i.sync?qK(i,t):GK(i,t,r)};var qK=(e,t)=>{let r=new vA.Sync(e),i=!0,n,s;try{try{n=St.openSync(e.file,"r+")}catch(u){if(u.code==="ENOENT")n=St.openSync(e.file,"w+");else throw u}let a=St.fstatSync(n),c=Buffer.alloc(512);e:for(s=0;s<a.size;s+=512){for(let l=0,f=0;l<512;l+=f){if(f=St.readSync(n,c,l,c.length-l,s+l),s===0&&c[0]===31&&c[1]===139)throw new Error("cannot append to compressed archives");if(!f)break e}let u=new OA(c);if(!u.cksumValid)break;let p=512*Math.ceil(u.size/512);if(s+p+512>a.size)break;s+=p,e.mtimeCache&&e.mtimeCache.set(u.path,u.mtime)}i=!1,kK(e,r,s,n,t)}finally{if(i)try{St.closeSync(n)}catch{}}},kK=(e,t,r,i,n)=>{let s=new gA.WriteStreamSync(e.file,{fd:i,start:r});t.pipe(s),BK(t,n)},GK=(e,t,r)=>{t=Array.from(t);let i=new vA(e),n=(a,c,u)=>{let p=(x,S)=>{x?St.close(a,I=>u(x)):u(null,S)},l=0;if(c===0)return p(null,0);let f=0,h=Buffer.alloc(512),E=(x,S)=>{if(x)return p(x);if(f+=S,f<512&&S)return St.read(a,h,f,h.length-f,l+f,E);if(l===0&&h[0]===31&&h[1]===139)return p(new Error("cannot append to compressed archives"));if(f<512)return p(null,l);let I=new OA(h);if(!I.cksumValid)return p(null,l);let b=512*Math.ceil(I.size/512);if(l+b+512>c||(l+=b+512,l>=c))return p(null,l);e.mtimeCache&&e.mtimeCache.set(I.path,I.mtime),f=0,St.read(a,h,0,512,l,E)};St.read(a,h,0,512,l,E)},s=new Promise((a,c)=>{i.on("error",c);let u="r+",p=(l,f)=>{if(l&&l.code==="ENOENT"&&u==="r+")return u="w+",St.open(e.file,u,p);if(l)return c(l);St.fstat(f,(h,E)=>{if(h)return St.close(f,()=>c(h));n(f,E.size,(x,S)=>{if(x)return c(x);let I=new gA.WriteStream(e.file,{fd:f,start:S});i.pipe(I),I.on("error",c),I.on("close",a),AA(i,t)})})};St.open(e.file,u,p)});return r?s.then(r,r):s},BK=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?xA({file:SA.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>e.add(i)}):e.add(r)}),e.end()},AA=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return xA({file:SA.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:i=>e.add(i)}).then(i=>AA(e,t));e.add(r)}e.end()}});var RA=_((qde,IA)=>{"use strict";o();var HK=pn(),WK=Id();IA.exports=(e,t,r)=>{let i=HK(e);if(!i.file)throw new TypeError("file is required");if(i.gzip||i.brotli||i.file.endsWith(".br")||i.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),jK(i),WK(i,t,r)};var jK=e=>{let t=e.filter;e.mtimeCache||(e.mtimeCache=new Map),e.filter=t?(r,i)=>t(r,i)&&!(e.mtimeCache.get(r)>i.mtime):(r,i)=>!(e.mtimeCache.get(r)>i.mtime)}});var yA=_((Gde,bA)=>{"use strict";o();var{promisify:TA}=N("util"),Qr=N("fs"),VK=e=>{if(!e)e={mode:511,fs:Qr};else if(typeof e=="object")e={mode:511,fs:Qr,...e};else if(typeof e=="number")e={mode:e,fs:Qr};else if(typeof e=="string")e={mode:parseInt(e,8),fs:Qr};else throw new TypeError("invalid options argument");return e.mkdir=e.mkdir||e.fs.mkdir||Qr.mkdir,e.mkdirAsync=TA(e.mkdir),e.stat=e.stat||e.fs.stat||Qr.stat,e.statAsync=TA(e.stat),e.statSync=e.statSync||e.fs.statSync||Qr.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||Qr.mkdirSync,e};bA.exports=VK});var CA=_((Hde,DA)=>{"use strict";o();var KK=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:YK,parse:$K}=N("path"),zK=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=YK(e),KK==="win32"){let t=/[*|"<>?:]/,{root:r}=$K(e);if(t.test(e.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};DA.exports=zK});var MA=_((jde,FA)=>{"use strict";o();var{dirname:PA}=N("path"),wA=(e,t,r=void 0)=>r===t?Promise.resolve():e.statAsync(t).then(i=>i.isDirectory()?r:void 0,i=>i.code==="ENOENT"?wA(e,PA(t),t):void 0),LA=(e,t,r=void 0)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(i){return i.code==="ENOENT"?LA(e,PA(t),t):void 0}};FA.exports={findMade:wA,findMadeSync:LA}});var bd=_((Kde,qA)=>{"use strict";o();var{dirname:UA}=N("path"),Rd=(e,t,r)=>{t.recursive=!1;let i=UA(e);return i===e?t.mkdirAsync(e,t).catch(n=>{if(n.code!=="EISDIR")throw n}):t.mkdirAsync(e,t).then(()=>r||e,n=>{if(n.code==="ENOENT")return Rd(i,t).then(s=>Rd(e,t,s));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return t.statAsync(e).then(s=>{if(s.isDirectory())return r;throw n},()=>{throw n})})},Td=(e,t,r)=>{let i=UA(e);if(t.recursive=!1,i===e)try{return t.mkdirSync(e,t)}catch(n){if(n.code!=="EISDIR")throw n;return}try{return t.mkdirSync(e,t),r||e}catch(n){if(n.code==="ENOENT")return Td(e,t,Td(i,t,r));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!t.statSync(e).isDirectory())throw n}catch{throw n}}};qA.exports={mkdirpManual:Rd,mkdirpManualSync:Td}});var BA=_(($de,GA)=>{"use strict";o();var{dirname:kA}=N("path"),{findMade:XK,findMadeSync:JK}=MA(),{mkdirpManual:ZK,mkdirpManualSync:QK}=bd(),e3=(e,t)=>(t.recursive=!0,kA(e)===e?t.mkdirAsync(e,t):XK(t,e).then(i=>t.mkdirAsync(e,t).then(()=>i).catch(n=>{if(n.code==="ENOENT")return ZK(e,t);throw n}))),t3=(e,t)=>{if(t.recursive=!0,kA(e)===e)return t.mkdirSync(e,t);let i=JK(t,e);try{return t.mkdirSync(e,t),i}catch(n){if(n.code==="ENOENT")return QK(e,t);throw n}};GA.exports={mkdirpNative:e3,mkdirpNativeSync:t3}});var VA=_((Xde,jA)=>{"use strict";o();var HA=N("fs"),r3=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,yd=r3.replace(/^v/,"").split("."),WA=+yd[0]>10||+yd[0]==10&&+yd[1]>=12,i3=WA?e=>e.mkdir===HA.mkdir:()=>!1,n3=WA?e=>e.mkdirSync===HA.mkdirSync:()=>!1;jA.exports={useNative:i3,useNativeSync:n3}});var JA=_((Zde,XA)=>{"use strict";o();var yn=yA(),Dn=CA(),{mkdirpNative:KA,mkdirpNativeSync:YA}=BA(),{mkdirpManual:$A,mkdirpManualSync:zA}=bd(),{useNative:s3,useNativeSync:a3}=VA(),Cn=(e,t)=>(e=Dn(e),t=yn(t),s3(t)?KA(e,t):$A(e,t)),o3=(e,t)=>(e=Dn(e),t=yn(t),a3(t)?YA(e,t):zA(e,t));Cn.sync=o3;Cn.native=(e,t)=>KA(Dn(e),yn(t));Cn.manual=(e,t)=>$A(Dn(e),yn(t));Cn.nativeSync=(e,t)=>YA(Dn(e),yn(t));Cn.manualSync=(e,t)=>zA(Dn(e),yn(t));XA.exports=Cn});var nN=_((eme,iN)=>{"use strict";o();var yt=N("fs"),Pi=N("path"),c3=yt.lchown?"lchown":"chown",u3=yt.lchownSync?"lchownSync":"chownSync",QA=yt.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),ZA=(e,t,r)=>{try{return yt[u3](e,t,r)}catch(i){if(i.code!=="ENOENT")throw i}},p3=(e,t,r)=>{try{return yt.chownSync(e,t,r)}catch(i){if(i.code!=="ENOENT")throw i}},l3=QA?(e,t,r,i)=>n=>{!n||n.code!=="EISDIR"?i(n):yt.chown(e,t,r,i)}:(e,t,r,i)=>i,Dd=QA?(e,t,r)=>{try{return ZA(e,t,r)}catch(i){if(i.code!=="EISDIR")throw i;p3(e,t,r)}}:(e,t,r)=>ZA(e,t,r),d3=process.version,eN=(e,t,r)=>yt.readdir(e,t,r),m3=(e,t)=>yt.readdirSync(e,t);/^v4\./.test(d3)&&(eN=(e,t,r)=>yt.readdir(e,r));var Ec=(e,t,r,i)=>{yt[c3](e,t,r,l3(e,t,r,n=>{i(n&&n.code!=="ENOENT"?n:null)}))},tN=(e,t,r,i,n)=>{if(typeof t=="string")return yt.lstat(Pi.resolve(e,t),(s,a)=>{if(s)return n(s.code!=="ENOENT"?s:null);a.name=t,tN(e,a,r,i,n)});if(t.isDirectory())Cd(Pi.resolve(e,t.name),r,i,s=>{if(s)return n(s);let a=Pi.resolve(e,t.name);Ec(a,r,i,n)});else{let s=Pi.resolve(e,t.name);Ec(s,r,i,n)}},Cd=(e,t,r,i)=>{eN(e,{withFileTypes:!0},(n,s)=>{if(n){if(n.code==="ENOENT")return i();if(n.code!=="ENOTDIR"&&n.code!=="ENOTSUP")return i(n)}if(n||!s.length)return Ec(e,t,r,i);let a=s.length,c=null,u=p=>{if(!c){if(p)return i(c=p);if(--a===0)return Ec(e,t,r,i)}};s.forEach(p=>tN(e,p,t,r,u))})},f3=(e,t,r,i)=>{if(typeof t=="string")try{let n=yt.lstatSync(Pi.resolve(e,t));n.name=t,t=n}catch(n){if(n.code==="ENOENT")return;throw n}t.isDirectory()&&rN(Pi.resolve(e,t.name),r,i),Dd(Pi.resolve(e,t.name),r,i)},rN=(e,t,r)=>{let i;try{i=m3(e,{withFileTypes:!0})}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return Dd(e,t,r);throw n}return i&&i.length&&i.forEach(n=>f3(e,n,t,r)),Dd(e,t,r)};iN.exports=Cd;Cd.sync=rN});var cN=_((rme,Pd)=>{"use strict";o();var sN=JA(),Dt=N("fs"),vc=N("path"),aN=nN(),jt=hn(),gc=class extends Error{constructor(t,r){super("Cannot extract through symbolic link"),this.path=r,this.symlink=t}get name(){return"SylinkError"}},xc=class extends Error{constructor(t,r){super(r+": Cannot cd into '"+t+"'"),this.path=t,this.code=r}get name(){return"CwdError"}},Sc=(e,t)=>e.get(jt(t)),ks=(e,t,r)=>e.set(jt(t),r),h3=(e,t)=>{Dt.stat(e,(r,i)=>{(r||!i.isDirectory())&&(r=new xc(e,r&&r.code||"ENOTDIR")),t(r)})};Pd.exports=(e,t,r)=>{e=jt(e);let i=t.umask,n=t.mode|448,s=(n&i)!==0,a=t.uid,c=t.gid,u=typeof a=="number"&&typeof c=="number"&&(a!==t.processUid||c!==t.processGid),p=t.preserve,l=t.unlink,f=t.cache,h=jt(t.cwd),E=(I,b)=>{I?r(I):(ks(f,e,!0),b&&u?aN(b,a,c,q=>E(q)):s?Dt.chmod(e,n,r):r())};if(f&&Sc(f,e)===!0)return E();if(e===h)return h3(e,E);if(p)return sN(e,{mode:n}).then(I=>E(null,I),E);let S=jt(vc.relative(h,e)).split("/");Oc(h,S,n,f,l,h,null,E)};var Oc=(e,t,r,i,n,s,a,c)=>{if(!t.length)return c(null,a);let u=t.shift(),p=jt(vc.resolve(e+"/"+u));if(Sc(i,p))return Oc(p,t,r,i,n,s,a,c);Dt.mkdir(p,r,oN(p,t,r,i,n,s,a,c))},oN=(e,t,r,i,n,s,a,c)=>u=>{u?Dt.lstat(e,(p,l)=>{if(p)p.path=p.path&&jt(p.path),c(p);else if(l.isDirectory())Oc(e,t,r,i,n,s,a,c);else if(n)Dt.unlink(e,f=>{if(f)return c(f);Dt.mkdir(e,r,oN(e,t,r,i,n,s,a,c))});else{if(l.isSymbolicLink())return c(new gc(e,e+"/"+t.join("/")));c(u)}}):(a=a||e,Oc(e,t,r,i,n,s,a,c))},_3=e=>{let t=!1,r="ENOTDIR";try{t=Dt.statSync(e).isDirectory()}catch(i){r=i.code}finally{if(!t)throw new xc(e,r)}};Pd.exports.sync=(e,t)=>{e=jt(e);let r=t.umask,i=t.mode|448,n=(i&r)!==0,s=t.uid,a=t.gid,c=typeof s=="number"&&typeof a=="number"&&(s!==t.processUid||a!==t.processGid),u=t.preserve,p=t.unlink,l=t.cache,f=jt(t.cwd),h=I=>{ks(l,e,!0),I&&c&&aN.sync(I,s,a),n&&Dt.chmodSync(e,i)};if(l&&Sc(l,e)===!0)return h();if(e===f)return _3(f),h();if(u)return h(sN.sync(e,i));let x=jt(vc.relative(f,e)).split("/"),S=null;for(let I=x.shift(),b=f;I&&(b+="/"+I);I=x.shift())if(b=jt(vc.resolve(b)),!Sc(l,b))try{Dt.mkdirSync(b,i),S=S||b,ks(l,b,!0)}catch{let k=Dt.lstatSync(b);if(k.isDirectory()){ks(l,b,!0);continue}else if(p){Dt.unlinkSync(b),Dt.mkdirSync(b,i),S=S||b,ks(l,b,!0);continue}else if(k.isSymbolicLink())return new gc(b,b+"/"+x.join("/"))}return h(S)}});var Ld=_((nme,uN)=>{"use strict";o();var wd=Object.create(null),{hasOwnProperty:E3}=Object.prototype;uN.exports=e=>(E3.call(wd,e)||(wd[e]=e.normalize("NFD")),wd[e])});var mN=_((ame,dN)=>{"use strict";o();var pN=N("assert"),v3=Ld(),g3=vn(),{join:lN}=N("path"),x3=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,S3=x3==="win32";dN.exports=()=>{let e=new Map,t=new Map,r=p=>p.split("/").slice(0,-1).reduce((f,h)=>(f.length&&(h=lN(f[f.length-1],h)),f.push(h||"/"),f),[]),i=new Set,n=p=>{let l=t.get(p);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(f=>e.get(f)),dirs:[...l.dirs].map(f=>e.get(f))}},s=p=>{let{paths:l,dirs:f}=n(p);return l.every(h=>h[0]===p)&&f.every(h=>h[0]instanceof Set&&h[0].has(p))},a=p=>i.has(p)||!s(p)?!1:(i.add(p),p(()=>c(p)),!0),c=p=>{if(!i.has(p))return!1;let{paths:l,dirs:f}=t.get(p),h=new Set;return l.forEach(E=>{let x=e.get(E);pN.equal(x[0],p),x.length===1?e.delete(E):(x.shift(),typeof x[0]=="function"?h.add(x[0]):x[0].forEach(S=>h.add(S)))}),f.forEach(E=>{let x=e.get(E);pN(x[0]instanceof Set),x[0].size===1&&x.length===1?e.delete(E):x[0].size===1?(x.shift(),h.add(x[0])):x[0].delete(p)}),i.delete(p),h.forEach(E=>a(E)),!0};return{check:s,reserve:(p,l)=>{p=S3?["win32 parallelization disabled"]:p.map(h=>g3(lN(v3(h))).toLowerCase());let f=new Set(p.map(h=>r(h)).reduce((h,E)=>h.concat(E)));return t.set(l,{dirs:f,paths:p}),p.forEach(h=>{let E=e.get(h);E?E.push(l):e.set(h,[l])}),f.forEach(h=>{let E=e.get(h);E?E[E.length-1]instanceof Set?E[E.length-1].add(l):E.push(new Set([l])):e.set(h,[new Set([l])])}),a(l)}}}});var _N=_((cme,hN)=>{"use strict";o();var O3=process.env.__FAKE_PLATFORM__||process.platform,A3=O3==="win32",N3=global.__FAKE_TESTING_FS__||N("fs"),{O_CREAT:I3,O_TRUNC:R3,O_WRONLY:T3,UV_FS_O_FILEMAP:fN=0}=N3.constants,b3=A3&&!!fN,y3=512*1024,D3=fN|R3|I3|T3;hN.exports=b3?e=>e<y3?D3:"w":()=>"w"});var Wd=_((pme,DN)=>{"use strict";o();var C3=N("assert"),P3=fc(),ee=N("fs"),w3=Tn(),br=N("path"),TN=cN(),EN=Hl(),L3=mN(),F3=Wl(),Ct=hn(),M3=vn(),U3=Ld(),vN=Symbol("onEntry"),Ud=Symbol("checkFs"),gN=Symbol("checkFs2"),Ic=Symbol("pruneCache"),qd=Symbol("isReusable"),Pt=Symbol("makeFs"),kd=Symbol("file"),Gd=Symbol("directory"),Rc=Symbol("link"),xN=Symbol("symlink"),SN=Symbol("hardlink"),ON=Symbol("unsupported"),AN=Symbol("checkPath"),ei=Symbol("mkdir"),Xe=Symbol("onError"),Ac=Symbol("pending"),NN=Symbol("pend"),Pn=Symbol("unpend"),Fd=Symbol("ended"),Md=Symbol("maybeClose"),Bd=Symbol("skip"),Gs=Symbol("doChown"),Bs=Symbol("uid"),Hs=Symbol("gid"),Ws=Symbol("checkedCwd"),bN=N("crypto"),yN=_N(),q3=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,js=q3==="win32",k3=1024,G3=(e,t)=>{if(!js)return ee.unlink(e,t);let r=e+".DELETE."+bN.randomBytes(16).toString("hex");ee.rename(e,r,i=>{if(i)return t(i);ee.unlink(r,t)})},B3=e=>{if(!js)return ee.unlinkSync(e);let t=e+".DELETE."+bN.randomBytes(16).toString("hex");ee.renameSync(e,t),ee.unlinkSync(t)},IN=(e,t,r)=>e===e>>>0?e:t===t>>>0?t:r,RN=e=>M3(Ct(U3(e))).toLowerCase(),H3=(e,t)=>{t=RN(t);for(let r of e.keys()){let i=RN(r);(i===t||i.indexOf(t+"/")===0)&&e.delete(r)}},W3=e=>{for(let t of e.keys())e.delete(t)},Vs=class extends P3{constructor(t){if(t||(t={}),t.ondone=r=>{this[Fd]=!0,this[Md]()},super(t),this[Ws]=!1,this.reservations=L3(),this.transform=typeof t.transform=="function"?t.transform:null,this.writable=!0,this.readable=!1,this[Ac]=0,this[Fd]=!1,this.dirCache=t.dirCache||new Map,typeof t.uid=="number"||typeof t.gid=="number"){if(typeof t.uid!="number"||typeof t.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(t.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=t.uid,this.gid=t.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;t.preserveOwner===void 0&&typeof t.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!t.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:k3,this.forceChown=t.forceChown===!0,this.win32=!!t.win32||js,this.newer=!!t.newer,this.keep=!!t.keep,this.noMtime=!!t.noMtime,this.preservePaths=!!t.preservePaths,this.unlink=!!t.unlink,this.cwd=Ct(br.resolve(t.cwd||process.cwd())),this.strip=+t.strip||0,this.processUmask=t.noChmod?0:process.umask(),this.umask=typeof t.umask=="number"?t.umask:this.processUmask,this.dmode=t.dmode||511&~this.umask,this.fmode=t.fmode||438&~this.umask,this.on("entry",r=>this[vN](r))}warn(t,r,i={}){return(t==="TAR_BAD_ARCHIVE"||t==="TAR_ABORT")&&(i.recoverable=!1),super.warn(t,r,i)}[Md](){this[Fd]&&this[Ac]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[AN](t){let r=Ct(t.path),i=r.split("/");if(this.strip){if(i.length<this.strip)return!1;if(t.type==="Link"){let n=Ct(t.linkpath).split("/");if(n.length>=this.strip)t.linkpath=n.slice(this.strip).join("/");else return!1}i.splice(0,this.strip),t.path=i.join("/")}if(isFinite(this.maxDepth)&&i.length>this.maxDepth)return this.warn("TAR_ENTRY_ERROR","path excessively deep",{entry:t,path:r,depth:i.length,maxDepth:this.maxDepth}),!1;if(!this.preservePaths){if(i.includes("..")||js&&/^[a-z]:\.\.$/i.test(i[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:t,path:r}),!1;let[n,s]=F3(r);n&&(t.path=s,this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:t,path:r}))}if(br.isAbsolute(t.path)?t.absolute=Ct(br.resolve(t.path)):t.absolute=Ct(br.resolve(this.cwd,t.path)),!this.preservePaths&&t.absolute.indexOf(this.cwd+"/")!==0&&t.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:t,path:Ct(t.path),resolvedPath:t.absolute,cwd:this.cwd}),!1;if(t.absolute===this.cwd&&t.type!=="Directory"&&t.type!=="GNUDumpDir")return!1;if(this.win32){let{root:n}=br.win32.parse(t.absolute);t.absolute=n+EN.encode(t.absolute.slice(n.length));let{root:s}=br.win32.parse(t.path);t.path=s+EN.encode(t.path.slice(s.length))}return!0}[vN](t){if(!this[AN](t))return t.resume();switch(C3.equal(typeof t.absolute,"string"),t.type){case"Directory":case"GNUDumpDir":t.mode&&(t.mode=t.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[Ud](t);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[ON](t)}}[Xe](t,r){t.name==="CwdError"?this.emit("error",t):(this.warn("TAR_ENTRY_ERROR",t,{entry:r}),this[Pn](),r.resume())}[ei](t,r,i){TN(Ct(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r,noChmod:this.noChmod},i)}[Gs](t){return this.forceChown||this.preserveOwner&&(typeof t.uid=="number"&&t.uid!==this.processUid||typeof t.gid=="number"&&t.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[Bs](t){return IN(this.uid,t.uid,this.processUid)}[Hs](t){return IN(this.gid,t.gid,this.processGid)}[kd](t,r){let i=t.mode&4095||this.fmode,n=new w3.WriteStream(t.absolute,{flags:yN(t.size),mode:i,autoClose:!1});n.on("error",u=>{n.fd&&ee.close(n.fd,()=>{}),n.write=()=>!0,this[Xe](u,t),r()});let s=1,a=u=>{if(u){n.fd&&ee.close(n.fd,()=>{}),this[Xe](u,t),r();return}--s===0&&ee.close(n.fd,p=>{p?this[Xe](p,t):this[Pn](),r()})};n.on("finish",u=>{let p=t.absolute,l=n.fd;if(t.mtime&&!this.noMtime){s++;let f=t.atime||new Date,h=t.mtime;ee.futimes(l,f,h,E=>E?ee.utimes(p,f,h,x=>a(x&&E)):a())}if(this[Gs](t)){s++;let f=this[Bs](t),h=this[Hs](t);ee.fchown(l,f,h,E=>E?ee.chown(p,f,h,x=>a(x&&E)):a())}a()});let c=this.transform&&this.transform(t)||t;c!==t&&(c.on("error",u=>{this[Xe](u,t),r()}),t.pipe(c)),c.pipe(n)}[Gd](t,r){let i=t.mode&4095||this.dmode;this[ei](t.absolute,i,n=>{if(n){this[Xe](n,t),r();return}let s=1,a=c=>{--s===0&&(r(),this[Pn](),t.resume())};t.mtime&&!this.noMtime&&(s++,ee.utimes(t.absolute,t.atime||new Date,t.mtime,a)),this[Gs](t)&&(s++,ee.chown(t.absolute,this[Bs](t),this[Hs](t),a)),a()})}[ON](t){t.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${t.type}`,{entry:t}),t.resume()}[xN](t,r){this[Rc](t,t.linkpath,"symlink",r)}[SN](t,r){let i=Ct(br.resolve(this.cwd,t.linkpath));this[Rc](t,i,"link",r)}[NN](){this[Ac]++}[Pn](){this[Ac]--,this[Md]()}[Bd](t){this[Pn](),t.resume()}[qd](t,r){return t.type==="File"&&!this.unlink&&r.isFile()&&r.nlink<=1&&!js}[Ud](t){this[NN]();let r=[t.path];t.linkpath&&r.push(t.linkpath),this.reservations.reserve(r,i=>this[gN](t,i))}[Ic](t){t.type==="SymbolicLink"?W3(this.dirCache):t.type!=="Directory"&&H3(this.dirCache,t.absolute)}[gN](t,r){this[Ic](t);let i=c=>{this[Ic](t),r(c)},n=()=>{this[ei](this.cwd,this.dmode,c=>{if(c){this[Xe](c,t),i();return}this[Ws]=!0,s()})},s=()=>{if(t.absolute!==this.cwd){let c=Ct(br.dirname(t.absolute));if(c!==this.cwd)return this[ei](c,this.dmode,u=>{if(u){this[Xe](u,t),i();return}a()})}a()},a=()=>{ee.lstat(t.absolute,(c,u)=>{if(u&&(this.keep||this.newer&&u.mtime>t.mtime)){this[Bd](t),i();return}if(c||this[qd](t,u))return this[Pt](null,t,i);if(u.isDirectory()){if(t.type==="Directory"){let p=!this.noChmod&&t.mode&&(u.mode&4095)!==t.mode,l=f=>this[Pt](f,t,i);return p?ee.chmod(t.absolute,t.mode,l):l()}if(t.absolute!==this.cwd)return ee.rmdir(t.absolute,p=>this[Pt](p,t,i))}if(t.absolute===this.cwd)return this[Pt](null,t,i);G3(t.absolute,p=>this[Pt](p,t,i))})};this[Ws]?s():n()}[Pt](t,r,i){if(t){this[Xe](t,r),i();return}switch(r.type){case"File":case"OldFile":case"ContiguousFile":return this[kd](r,i);case"Link":return this[SN](r,i);case"SymbolicLink":return this[xN](r,i);case"Directory":case"GNUDumpDir":return this[Gd](r,i)}}[Rc](t,r,i,n){ee[i](r,t.absolute,s=>{s?this[Xe](s,t):(this[Pn](),t.resume()),n()})}},Nc=e=>{try{return[null,e()]}catch(t){return[t,null]}},Hd=class extends Vs{[Pt](t,r){return super[Pt](t,r,()=>{})}[Ud](t){if(this[Ic](t),!this[Ws]){let s=this[ei](this.cwd,this.dmode);if(s)return this[Xe](s,t);this[Ws]=!0}if(t.absolute!==this.cwd){let s=Ct(br.dirname(t.absolute));if(s!==this.cwd){let a=this[ei](s,this.dmode);if(a)return this[Xe](a,t)}}let[r,i]=Nc(()=>ee.lstatSync(t.absolute));if(i&&(this.keep||this.newer&&i.mtime>t.mtime))return this[Bd](t);if(r||this[qd](t,i))return this[Pt](null,t);if(i.isDirectory()){if(t.type==="Directory"){let a=!this.noChmod&&t.mode&&(i.mode&4095)!==t.mode,[c]=a?Nc(()=>{ee.chmodSync(t.absolute,t.mode)}):[];return this[Pt](c,t)}let[s]=Nc(()=>ee.rmdirSync(t.absolute));this[Pt](s,t)}let[n]=t.absolute===this.cwd?[]:Nc(()=>B3(t.absolute));this[Pt](n,t)}[kd](t,r){let i=t.mode&4095||this.fmode,n=c=>{let u;try{ee.closeSync(s)}catch(p){u=p}(c||u)&&this[Xe](c||u,t),r()},s;try{s=ee.openSync(t.absolute,yN(t.size),i)}catch(c){return n(c)}let a=this.transform&&this.transform(t)||t;a!==t&&(a.on("error",c=>this[Xe](c,t)),t.pipe(a)),a.on("data",c=>{try{ee.writeSync(s,c,0,c.length)}catch(u){n(u)}}),a.on("end",c=>{let u=null;if(t.mtime&&!this.noMtime){let p=t.atime||new Date,l=t.mtime;try{ee.futimesSync(s,p,l)}catch(f){try{ee.utimesSync(t.absolute,p,l)}catch{u=f}}}if(this[Gs](t)){let p=this[Bs](t),l=this[Hs](t);try{ee.fchownSync(s,p,l)}catch(f){try{ee.chownSync(t.absolute,p,l)}catch{u=u||f}}}n(u)})}[Gd](t,r){let i=t.mode&4095||this.dmode,n=this[ei](t.absolute,i);if(n){this[Xe](n,t),r();return}if(t.mtime&&!this.noMtime)try{ee.utimesSync(t.absolute,t.atime||new Date,t.mtime)}catch{}if(this[Gs](t))try{ee.chownSync(t.absolute,this[Bs](t),this[Hs](t))}catch{}r(),t.resume()}[ei](t,r){try{return TN.sync(Ct(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r})}catch(i){return i}}[Rc](t,r,i,n){try{ee[i+"Sync"](r,t.absolute),n(),t.resume()}catch(s){return this[Xe](s,t)}}};Vs.Sync=Hd;DN.exports=Vs});var FN=_((dme,LN)=>{"use strict";o();var j3=pn(),Tc=Wd(),PN=N("fs"),wN=Tn(),CN=N("path"),jd=vn();LN.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let i=j3(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&V3(i,t),i.file&&i.sync?K3(i):i.file?Y3(i,r):i.sync?$3(i):z3(i)};var V3=(e,t)=>{let r=new Map(t.map(s=>[jd(s),!0])),i=e.filter,n=(s,a)=>{let c=a||CN.parse(s).root||".",u=s===c?!1:r.has(s)?r.get(s):n(CN.dirname(s),c);return r.set(s,u),u};e.filter=i?(s,a)=>i(s,a)&&n(jd(s)):s=>n(jd(s))},K3=e=>{let t=new Tc.Sync(e),r=e.file,i=PN.statSync(r),n=e.maxReadSize||16*1024*1024;new wN.ReadStreamSync(r,{readSize:n,size:i.size}).pipe(t)},Y3=(e,t)=>{let r=new Tc(e),i=e.maxReadSize||16*1024*1024,n=e.file,s=new Promise((a,c)=>{r.on("error",c),r.on("close",a),PN.stat(n,(u,p)=>{if(u)c(u);else{let l=new wN.ReadStream(n,{readSize:i,size:p.size});l.on("error",c),l.pipe(r)}})});return t?s.then(t,t):s},$3=e=>new Tc.Sync(e),z3=e=>new Tc(e)});var MN=_(ye=>{"use strict";o();ye.c=ye.create=EA();ye.r=ye.replace=Id();ye.t=ye.list=hc();ye.u=ye.update=RA();ye.x=ye.extract=FN();ye.Pack=ec();ye.Unpack=Wd();ye.Parse=fc();ye.ReadEntry=Uo();ye.WriteEntry=Ql();ye.Header=En();ye.Pax=ko();ye.types=Fl()});var KN=_((Fme,VN)=>{"use strict";o();function wt(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}VN.exports=wt;wt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};wt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};wt.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var i=this;return this._timer=setTimeout(function(){i._attempts++,i._operationTimeoutCb&&(i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout),i._options.unref&&i._timeout.unref()),i._fn(i._attempts)},r),this._options.unref&&this._timer.unref(),!0};wt.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};wt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};wt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};wt.prototype.start=wt.prototype.try;wt.prototype.errors=function(){return this._errors};wt.prototype.attempts=function(){return this._attempts};wt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,i=0;i<this._errors.length;i++){var n=this._errors[i],s=n.message,a=(e[s]||0)+1;e[s]=a,a>=r&&(t=n,r=a)}return t}});var YN=_(Li=>{"use strict";o();var iY=KN();Li.operation=function(e){var t=Li.timeouts(e);return new iY(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Li.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var i=[],n=0;n<t.retries;n++)i.push(this.createTimeout(n,t));return e&&e.forever&&!i.length&&i.push(this.createTimeout(n,t)),i.sort(function(s,a){return s-a}),i};Li.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,i=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return i=Math.min(i,t.maxTimeout),i};Li.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var i in e)typeof e[i]=="function"&&r.push(i)}for(var n=0;n<r.length;n++){var s=r[n],a=e[s];e[s]=function(u){var p=Li.operation(t),l=Array.prototype.slice.call(arguments,1),f=l.pop();l.push(function(h){p.retry(h)||(h&&(arguments[0]=p.mainError()),f.apply(this,arguments))}),p.attempt(function(){u.apply(e,l)})}.bind(e,a),e[s].options=t}}});var zN=_((kme,$N)=>{"use strict";o();$N.exports=YN()});var dm=_((u_e,GI)=>{"use strict";o();var kI=N("fs"),lm;function o$(){try{return kI.statSync("/.dockerenv"),!0}catch{return!1}}function c$(){try{return kI.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}GI.exports=()=>(lm===void 0&&(lm=o$()||c$()),lm)});var WI=_((l_e,mm)=>{"use strict";o();var u$=N("os"),p$=N("fs"),BI=dm(),HI=()=>{if(process.platform!=="linux")return!1;if(u$.release().toLowerCase().includes("microsoft"))return!BI();try{return p$.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!BI():!1}catch{return!1}};process.env.__IS_WSL_TEST__?mm.exports=HI:mm.exports=HI()});var VI=_((m_e,jI)=>{"use strict";o();jI.exports=(e,t,r)=>{let i=n=>Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let n=r();return i(n),n},set(n){i(n)}}),e}});var ZI=_((h_e,JI)=>{"use strict";o();var l$=N("path"),d$=N("child_process"),{promises:Lc,constants:XI}=N("fs"),wc=WI(),m$=dm(),hm=VI(),KI=l$.join(d,"xdg-open"),{platform:Fn,arch:YI}=process,f$=()=>{try{return Lc.statSync("/run/.containerenv"),!0}catch{return!1}},fm;function h$(){return fm===void 0&&(fm=f$()||m$()),fm}var _$=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",i=!1;try{await Lc.access(r,XI.F_OK),i=!0}catch{}if(!i)return e;let n=await Lc.readFile(r,{encoding:"utf8"}),s=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(n);return s?(t=s.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),$I=async(e,t)=>{let r;for(let i of e)try{return await t(i)}catch(n){r=n}throw r},Fc=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return $I(e.app,c=>Fc({...e,app:c}));let{name:t,arguments:r=[]}=e.app||{};if(r=[...r],Array.isArray(t))return $I(t,c=>Fc({...e,app:{name:c,arguments:r}}));let i,n=[],s={};if(Fn==="darwin")i="open",e.wait&&n.push("--wait-apps"),e.background&&n.push("--background"),e.newInstance&&n.push("--new"),t&&n.push("-a",t);else if(Fn==="win32"||wc&&!h$()&&!t){let c=await _$();i=wc?`${c}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,n.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),wc||(s.windowsVerbatimArguments=!0);let u=["Start"];e.wait&&u.push("-Wait"),t?(u.push(`"\`"${t}\`""`,"-ArgumentList"),e.target&&r.unshift(e.target)):e.target&&u.push(`"${e.target}"`),r.length>0&&(r=r.map(p=>`"\`"${p}\`""`),u.push(r.join(","))),e.target=Buffer.from(u.join(" "),"utf16le").toString("base64")}else{if(t)i=t;else{let c=!d||d==="/",u=!1;try{await Lc.access(KI,XI.X_OK),u=!0}catch{}i=process.versions.electron||Fn==="android"||c||!u?"xdg-open":KI}r.length>0&&n.push(...r),e.wait||(s.stdio="ignore",s.detached=!0)}e.target&&n.push(e.target),Fn==="darwin"&&r.length>0&&n.push("--args",...r);let a=d$.spawn(i,n,s);return e.wait?new Promise((c,u)=>{a.once("error",u),a.once("close",p=>{if(!e.allowNonzeroExitCode&&p>0){u(new Error(`Exited with code ${p}`));return}c(a)})}):(a.unref(),a)},_m=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return Fc({...t,target:e})},E$=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:r=[]}=t||{};if(r!=null&&!Array.isArray(r))throw new TypeError("Expected `appArguments` as Array type");return Fc({...t,app:{name:e,arguments:r}})};function zI(e){if(typeof e=="string"||Array.isArray(e))return e;let{[YI]:t}=e;if(!t)throw new Error(`${YI} is not supported`);return t}function Em({[Fn]:e},{wsl:t}){if(t&&wc)return zI(t);if(!e)throw new Error(`${Fn} is not supported`);return zI(e)}var Mc={};hm(Mc,"chrome",()=>Em({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"]}}));hm(Mc,"firefox",()=>Em({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));hm(Mc,"edge",()=>Em({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));_m.apps=Mc;_m.openApp=E$;JI.exports=_m});var rw=_((pge,tw)=>{"use strict";o();var ew=N("stream").Stream,Fz=N("util");tw.exports=Vt;function Vt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}Fz.inherits(Vt,ew);Vt.create=function(e,t){var r=new this;t=t||{};for(var i in t)r[i]=t[i];r.source=e;var n=e.emit;return e.emit=function(){return r._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(Vt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Vt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Vt.prototype.resume=function(){this._released||this.release(),this.source.resume()};Vt.prototype.pause=function(){this.source.pause()};Vt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Vt.prototype.pipe=function(){var e=ew.prototype.pipe.apply(this,arguments);return this.resume(),e};Vt.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};Vt.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var aw=_((dge,sw)=>{"use strict";o();var Mz=N("util"),nw=N("stream").Stream,iw=rw();sw.exports=ge;function ge(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Mz.inherits(ge,nw);ge.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};ge.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};ge.prototype.append=function(e){var t=ge.isStreamLike(e);if(t){if(!(e instanceof iw)){var r=iw.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};ge.prototype.pipe=function(e,t){return nw.prototype.pipe.call(this,e,t),this.resume(),e};ge.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};ge.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var i=ge.isStreamLike(r);i&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};ge.prototype._pipeNext=function(e){this._currentStream=e;var t=ge.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};ge.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};ge.prototype.write=function(e){this.emit("data",e)};ge.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};ge.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};ge.prototype.end=function(){this._reset(),this.emit("end")};ge.prototype.destroy=function(){this._reset(),this.emit("close")};ge.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ge.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};ge.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};ge.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var ow=_((fge,Uz)=>{Uz.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var uw=_((hge,cw)=>{"use strict";o();cw.exports=ow()});var dw=_(ft=>{"use strict";o();var kc=uw(),qz=N("path").extname,pw=/^\s*([^;\s]*)(?:;|\s|$)/,kz=/^text\//i;ft.charset=lw;ft.charsets={lookup:lw};ft.contentType=Gz;ft.extension=Bz;ft.extensions=Object.create(null);ft.lookup=Hz;ft.types=Object.create(null);Wz(ft.extensions,ft.types);function lw(e){if(!e||typeof e!="string")return!1;var t=pw.exec(e),r=t&&kc[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&kz.test(t[1])?"UTF-8":!1}function Gz(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?ft.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=ft.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function Bz(e){if(!e||typeof e!="string")return!1;var t=pw.exec(e),r=t&&ft.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function Hz(e){if(!e||typeof e!="string")return!1;var t=qz("x."+e).toLowerCase().substr(1);return t&&ft.types[t]||!1}function Wz(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(kc).forEach(function(n){var s=kc[n],a=s.extensions;if(!(!a||!a.length)){e[n]=a;for(var c=0;c<a.length;c++){var u=a[c];if(t[u]){var p=r.indexOf(kc[t[u]].source),l=r.indexOf(s.source);if(t[u]!=="application/octet-stream"&&(p>l||p===l&&t[u].substr(0,12)==="application/"))continue}t[u]=n}}})}});var fw=_((gge,mw)=>{"use strict";o();mw.exports=jz;function jz(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var _h=_((Sge,_w)=>{"use strict";o();var hw=fw();_w.exports=Vz;function Vz(e){var t=!1;return hw(function(){t=!0}),function(i,n){t?e(i,n):hw(function(){e(i,n)})}}});var Eh=_((Age,Ew)=>{"use strict";o();Ew.exports=Kz;function Kz(e){Object.keys(e.jobs).forEach(Yz.bind(e)),e.jobs={}}function Yz(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var vh=_((Ige,gw)=>{"use strict";o();var vw=_h(),$z=Eh();gw.exports=zz;function zz(e,t,r,i){var n=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[n]=Xz(t,n,e[n],function(s,a){n in r.jobs&&(delete r.jobs[n],s?$z(r):r.results[n]=a,i(s,r.results))})}function Xz(e,t,r,i){var n;return e.length==2?n=e(r,vw(i)):n=e(r,t,vw(i)),n}});var gh=_((Tge,xw)=>{"use strict";o();xw.exports=Jz;function Jz(e,t){var r=!Array.isArray(e),i={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&i.keyedList.sort(r?t:function(n,s){return t(e[n],e[s])}),i}});var xh=_((yge,Sw)=>{"use strict";o();var Zz=Eh(),Qz=_h();Sw.exports=eX;function eX(e){Object.keys(this.jobs).length&&(this.index=this.size,Zz(this),Qz(e)(null,this.results))}});var Aw=_((Cge,Ow)=>{"use strict";o();var tX=vh(),rX=gh(),iX=xh();Ow.exports=nX;function nX(e,t,r){for(var i=rX(e);i.index<(i.keyedList||e).length;)tX(e,t,i,function(n,s){if(n){r(n,s);return}if(Object.keys(i.jobs).length===0){r(null,i.results);return}}),i.index++;return iX.bind(i,r)}});var Sh=_((wge,Gc)=>{"use strict";o();var Nw=vh(),sX=gh(),aX=xh();Gc.exports=oX;Gc.exports.ascending=Iw;Gc.exports.descending=cX;function oX(e,t,r,i){var n=sX(e,r);return Nw(e,t,n,function s(a,c){if(a){i(a,c);return}if(n.index++,n.index<(n.keyedList||e).length){Nw(e,t,n,s);return}i(null,n.results)}),aX.bind(n,i)}function Iw(e,t){return e<t?-1:e>t?1:0}function cX(e,t){return-1*Iw(e,t)}});var Tw=_((Fge,Rw)=>{"use strict";o();var uX=Sh();Rw.exports=pX;function pX(e,t,r){return uX(e,t,null,r)}});var yw=_((Uge,bw)=>{"use strict";o();bw.exports={parallel:Aw(),serial:Tw(),serialOrdered:Sh()}});var Cw=_((kge,Dw)=>{"use strict";o();Dw.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var Lw=_((Bge,ww)=>{"use strict";o();var Ih=aw(),Pw=N("util"),Oh=N("path"),lX=N("http"),dX=N("https"),mX=N("url").parse,fX=N("fs"),hX=N("stream").Stream,Ah=dw(),_X=yw(),Nh=Cw();ww.exports=Z;Pw.inherits(Z,Ih);function Z(e){if(!(this instanceof Z))return new Z(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Ih.call(this),e=e||{};for(var t in e)this[t]=e[t]}Z.LINE_BREAK=`\r
11
- `;Z.DEFAULT_CONTENT_TYPE="application/octet-stream";Z.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var i=Ih.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),Pw.isArray(t)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,t,r),s=this._multiPartFooter();i(n),i(t),i(s),this._trackLength(n,t,r)};Z.prototype._trackLength=function(e,t,r){var i=0;r.knownLength!=null?i+=+r.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+Z.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof hX))&&(r.knownLength||this._valuesToMeasure.push(t))};Z.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):fX.stat(e.path,function(r,i){var n;if(r){t(r);return}n=i.size-(e.start?e.start:0),t(null,n)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(r){e.pause(),t(null,+r.headers["content-length"])}),e.resume()):t("Unknown stream")};Z.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var i=this._getContentDisposition(t,r),n=this._getContentType(t,r),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof r.header=="object"&&Nh(a,r.header);var c;for(var u in a)a.hasOwnProperty(u)&&(c=a[u],c!=null&&(Array.isArray(c)||(c=[c]),c.length&&(s+=u+": "+c.join("; ")+Z.LINE_BREAK)));return"--"+this.getBoundary()+Z.LINE_BREAK+s+Z.LINE_BREAK};Z.prototype._getContentDisposition=function(e,t){var r,i;return typeof t.filepath=="string"?r=Oh.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?r=Oh.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(r=Oh.basename(e.client._httpMessage.path||"")),r&&(i='filename="'+r+'"'),i};Z.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=Ah.lookup(e.name)),!r&&e.path&&(r=Ah.lookup(e.path)),!r&&e.readable&&e.hasOwnProperty("httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=Ah.lookup(t.filepath||t.filename)),!r&&typeof e=="object"&&(r=Z.DEFAULT_CONTENT_TYPE),r};Z.prototype._multiPartFooter=function(){return function(e){var t=Z.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};Z.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Z.LINE_BREAK};Z.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(r[t.toLowerCase()]=e[t]);return r};Z.prototype.setBoundary=function(e){this._boundary=e};Z.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};Z.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,i=this._streams.length;r<i;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(Z.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};Z.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};Z.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};Z.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};Z.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}_X.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,i){if(r){e(r);return}i.forEach(function(n){t+=n}),e(null,t)})};Z.prototype.submit=function(e,t){var r,i,n={method:"post"};return typeof e=="string"?(e=mX(e),i=Nh({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=Nh(e,n),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?r=dX.request(i):r=lX.request(i),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&r.setHeader("Content-Length",a),this.pipe(r),t){var c,u=function(p,l){return r.removeListener("error",u),r.removeListener("response",c),t.call(this,p,l)};c=u.bind(this,null),r.on("error",u),r.on("response",c)}}.bind(this)),r};Z.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};Z.prototype.toString=function(){return"[object FormData]"}});var Rh=_((Wxe,Qw)=>{"use strict";o();var wX=N("stream"),Jw=wX.PassThrough,LX=Array.prototype.slice;Qw.exports=FX;function FX(){let e=[],t=LX.call(arguments),r=!1,i=t[t.length-1];i&&!Array.isArray(i)&&i.pipe==null?t.pop():i={};let n=i.end!==!1,s=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let a=Jw(i);function c(){for(let l=0,f=arguments.length;l<f;l++)e.push(Zw(arguments[l],i));return u(),this}function u(){if(r)return;r=!0;let l=e.shift();if(!l){process.nextTick(p);return}Array.isArray(l)||(l=[l]);let f=l.length+1;function h(){--f>0||(r=!1,u())}function E(x){function S(){x.removeListener("merge2UnpipeEnd",S),x.removeListener("end",S),s&&x.removeListener("error",I),h()}function I(b){a.emit("error",b)}if(x._readableState.endEmitted)return h();x.on("merge2UnpipeEnd",S),x.on("end",S),s&&x.on("error",I),x.pipe(a,{end:!1}),x.resume()}for(let x=0;x<l.length;x++)E(l[x]);h()}function p(){r=!1,a.emit("queueDrain"),n&&a.end()}return a.setMaxListeners(0),a.add=c,a.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),t.length&&c.apply(null,t),a}function Zw(e,t){if(Array.isArray(e))for(let r=0,i=e.length;r<i;r++)e[r]=Zw(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Jw(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var eL=_(Gn=>{"use strict";o();Object.defineProperty(Gn,"__esModule",{value:!0});Gn.splitWhen=Gn.flatten=void 0;function MX(e){return e.reduce((t,r)=>[].concat(t,r),[])}Gn.flatten=MX;function UX(e,t){let r=[[]],i=0;for(let n of e)t(n)?(i++,r[i]=[]):r[i].push(n);return r}Gn.splitWhen=UX});var tL=_(Kc=>{"use strict";o();Object.defineProperty(Kc,"__esModule",{value:!0});Kc.isEnoentCodeError=void 0;function qX(e){return e.code==="ENOENT"}Kc.isEnoentCodeError=qX});var rL=_(Yc=>{"use strict";o();Object.defineProperty(Yc,"__esModule",{value:!0});Yc.createDirentFromStats=void 0;var Th=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function kX(e,t){return new Th(e,t)}Yc.createDirentFromStats=kX});var aL=_(Te=>{"use strict";o();Object.defineProperty(Te,"__esModule",{value:!0});Te.convertPosixPathToPattern=Te.convertWindowsPathToPattern=Te.convertPathToPattern=Te.escapePosixPath=Te.escapeWindowsPath=Te.escape=Te.removeLeadingDotSegment=Te.makeAbsolute=Te.unixify=void 0;var GX=N("os"),BX=N("path"),iL=GX.platform()==="win32",HX=2,WX=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,jX=/(\\?)([(){}]|^!|[!+@](?=\())/g,VX=/^\\\\([.?])/,KX=/\\(?![!()+@{}])/g;function YX(e){return e.replace(/\\/g,"/")}Te.unixify=YX;function $X(e,t){return BX.resolve(e,t)}Te.makeAbsolute=$X;function zX(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(HX)}return e}Te.removeLeadingDotSegment=zX;Te.escape=iL?bh:yh;function bh(e){return e.replace(jX,"\\$2")}Te.escapeWindowsPath=bh;function yh(e){return e.replace(WX,"\\$2")}Te.escapePosixPath=yh;Te.convertPathToPattern=iL?nL:sL;function nL(e){return bh(e).replace(VX,"//$1").replace(KX,"/")}Te.convertWindowsPathToPattern=nL;function sL(e){return yh(e)}Te.convertPosixPathToPattern=sL});var cL=_((Qxe,oL)=>{"use strict";o();oL.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var Dh=_((tSe,pL)=>{"use strict";o();var XX=cL(),uL={"{":"}","(":")","[":"]"},JX=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,i=-2,n=-2,s=-2,a=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||i!==-1&&e[t]==="["&&e[t+1]!=="]"&&(i<t&&(i=e.indexOf("]",t)),i>t&&(a===-1||a>i||(a=e.indexOf("\\",t),a===-1||a>i)))||n!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(n=e.indexOf("}",t),n>t&&(a=e.indexOf("\\",t),a===-1||a>n))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(a=e.indexOf("\\",t),a===-1||a>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(a=e.indexOf("\\",r),a===-1||a>s))))return!0;if(e[t]==="\\"){var c=e[t+1];t+=2;var u=uL[c];if(u){var p=e.indexOf(u,t);p!==-1&&(t=p+1)}if(e[t]==="!")return!0}else t++}return!1},ZX=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var i=uL[r];if(i){var n=e.indexOf(i,t);n!==-1&&(t=n+1)}if(e[t]==="!")return!0}else t++}return!1};pL.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(XX(t))return!0;var i=JX;return r&&r.strict===!1&&(i=ZX),i(t)}});var Ph=_((iSe,lL)=>{"use strict";o();var QX=Dh(),e4=N("path").posix.dirname,t4=N("os").platform()==="win32",Ch="/",r4=/\\/g,i4=/[\{\[].*[\}\]]$/,n4=/(^|[^\\])([\{\[]|\([^\)]+$)/,s4=/\\([\!\*\?\|\[\]\(\)\{\}])/g;lL.exports=function(t,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&t4&&t.indexOf(Ch)<0&&(t=t.replace(r4,Ch)),i4.test(t)&&(t+=Ch),t+="a";do t=e4(t);while(QX(t)||n4.test(t));return t.replace(s4,"$1")}});var $c=_(Lt=>{"use strict";o();Lt.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Lt.find=(e,t)=>e.nodes.find(r=>r.type===t);Lt.exceedsLimit=(e,t,r=1,i)=>i===!1||!Lt.isInteger(e)||!Lt.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=i;Lt.escapeNode=(e,t=0,r)=>{let i=e.nodes[t];i&&(r&&i.type===r||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};Lt.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0);Lt.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:!(e.commas>>0+e.ranges>>0)||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;Lt.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Lt.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);Lt.flatten=(...e)=>{let t=[],r=i=>{for(let n=0;n<i.length;n++){let s=i[n];if(Array.isArray(s)){r(s);continue}s!==void 0&&t.push(s)}return t};return r(e),t}});var zc=_((oSe,mL)=>{"use strict";o();var dL=$c();mL.exports=(e,t={})=>{let r=(i,n={})=>{let s=t.escapeInvalid&&dL.isInvalidBrace(n),a=i.invalid===!0&&t.escapeInvalid===!0,c="";if(i.value)return(s||a)&&dL.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let u of i.nodes)c+=r(u);return c};return r(e)}});var hL=_((uSe,fL)=>{"use strict";o();fL.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var NL=_((lSe,AL)=>{"use strict";o();var _L=hL(),qi=(e,t,r)=>{if(_L(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(_L(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let n=String(i.relaxZeros),s=String(i.shorthand),a=String(i.capture),c=String(i.wrap),u=e+":"+t+"="+n+s+a+c;if(qi.cache.hasOwnProperty(u))return qi.cache[u].result;let p=Math.min(e,t),l=Math.max(e,t);if(Math.abs(p-l)===1){let S=e+"|"+t;return i.capture?`(${S})`:i.wrap===!1?S:`(?:${S})`}let f=OL(e)||OL(t),h={min:e,max:t,a:p,b:l},E=[],x=[];if(f&&(h.isPadded=f,h.maxLen=String(h.max).length),p<0){let S=l<0?Math.abs(l):1;x=EL(S,Math.abs(p),h,i),p=h.a=0}return l>=0&&(E=EL(p,l,h,i)),h.negatives=x,h.positives=E,h.result=a4(x,E,i),i.capture===!0?h.result=`(${h.result})`:i.wrap!==!1&&E.length+x.length>1&&(h.result=`(?:${h.result})`),qi.cache[u]=h,h.result};function a4(e,t,r){let i=wh(e,t,"-",!1,r)||[],n=wh(t,e,"",!1,r)||[],s=wh(e,t,"-?",!0,r)||[];return i.concat(s).concat(n).join("|")}function o4(e,t){let r=1,i=1,n=gL(e,r),s=new Set([t]);for(;e<=n&&n<=t;)s.add(n),r+=1,n=gL(e,r);for(n=xL(t+1,i)-1;e<n&&n<=t;)s.add(n),i+=1,n=xL(t+1,i)-1;return s=[...s],s.sort(p4),s}function c4(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let i=u4(e,t),n=i.length,s="",a=0;for(let c=0;c<n;c++){let[u,p]=i[c];u===p?s+=u:u!=="0"||p!=="9"?s+=l4(u,p,r):a++}return a&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[a],digits:n}}function EL(e,t,r,i){let n=o4(e,t),s=[],a=e,c;for(let u=0;u<n.length;u++){let p=n[u],l=c4(String(a),String(p),i),f="";if(!r.isPadded&&c&&c.pattern===l.pattern){c.count.length>1&&c.count.pop(),c.count.push(l.count[0]),c.string=c.pattern+SL(c.count),a=p+1;continue}r.isPadded&&(f=d4(p,r,i)),l.string=f+l.pattern+SL(l.count),s.push(l),a=p+1,c=l}return s}function wh(e,t,r,i,n){let s=[];for(let a of e){let{string:c}=a;!i&&!vL(t,"string",c)&&s.push(r+c),i&&vL(t,"string",c)&&s.push(r+c)}return s}function u4(e,t){let r=[];for(let i=0;i<e.length;i++)r.push([e[i],t[i]]);return r}function p4(e,t){return e>t?1:t>e?-1:0}function vL(e,t,r){return e.some(i=>i[t]===r)}function gL(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function xL(e,t){return e-e%Math.pow(10,t)}function SL(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function l4(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function OL(e){return/^-?(0+)\d/.test(e)}function d4(e,t,r){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),n=r.relaxZeros!==!1;switch(i){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${i}}`:`0{${i}}`}}qi.cache={};qi.clearCache=()=>qi.cache={};AL.exports=qi});var Mh=_((mSe,CL)=>{"use strict";o();var m4=N("util"),RL=NL(),IL=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),f4=e=>t=>e===!0?Number(t):String(t),Lh=e=>typeof e=="number"||typeof e=="string"&&e!=="",na=e=>Number.isInteger(+e),Fh=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},h4=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,_4=(e,t,r)=>{if(t>0){let i=e[0]==="-"?"-":"";i&&(e=e.slice(1)),e=i+e.padStart(i?t-1:t,"0")}return r===!1?String(e):e},Jc=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},E4=(e,t,r)=>{e.negatives.sort((c,u)=>c<u?-1:c>u?1:0),e.positives.sort((c,u)=>c<u?-1:c>u?1:0);let i=t.capture?"":"?:",n="",s="",a;return e.positives.length&&(n=e.positives.map(c=>Jc(String(c),r)).join("|")),e.negatives.length&&(s=`-(${i}${e.negatives.map(c=>Jc(String(c),r)).join("|")})`),n&&s?a=`${n}|${s}`:a=n||s,t.wrap?`(${i}${a})`:a},TL=(e,t,r,i)=>{if(r)return RL(e,t,{wrap:!1,...i});let n=String.fromCharCode(e);if(e===t)return n;let s=String.fromCharCode(t);return`[${n}-${s}]`},bL=(e,t,r)=>{if(Array.isArray(e)){let i=r.wrap===!0,n=r.capture?"":"?:";return i?`(${n}${e.join("|")})`:e.join("|")}return RL(e,t,r)},yL=(...e)=>new RangeError("Invalid range arguments: "+m4.inspect(...e)),DL=(e,t,r)=>{if(r.strictRanges===!0)throw yL([e,t]);return[]},v4=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},g4=(e,t,r=1,i={})=>{let n=Number(e),s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(i.strictRanges===!0)throw yL([e,t]);return[]}n===0&&(n=0),s===0&&(s=0);let a=n>s,c=String(e),u=String(t),p=String(r);r=Math.max(Math.abs(r),1);let l=Fh(c)||Fh(u)||Fh(p),f=l?Math.max(c.length,u.length,p.length):0,h=l===!1&&h4(e,t,i)===!1,E=i.transform||f4(h);if(i.toRegex&&r===1)return TL(Jc(e,f),Jc(t,f),!0,i);let x={negatives:[],positives:[]},S=q=>x[q<0?"negatives":"positives"].push(Math.abs(q)),I=[],b=0;for(;a?n>=s:n<=s;)i.toRegex===!0&&r>1?S(n):I.push(_4(E(n,b),f,h)),n=a?n-r:n+r,b++;return i.toRegex===!0?r>1?E4(x,i,f):bL(I,null,{wrap:!1,...i}):I},x4=(e,t,r=1,i={})=>{if(!na(e)&&e.length>1||!na(t)&&t.length>1)return DL(e,t,i);let n=i.transform||(h=>String.fromCharCode(h)),s=`${e}`.charCodeAt(0),a=`${t}`.charCodeAt(0),c=s>a,u=Math.min(s,a),p=Math.max(s,a);if(i.toRegex&&r===1)return TL(u,p,!1,i);let l=[],f=0;for(;c?s>=a:s<=a;)l.push(n(s,f)),s=c?s-r:s+r,f++;return i.toRegex===!0?bL(l,null,{wrap:!1,options:i}):l},Xc=(e,t,r,i={})=>{if(t==null&&Lh(e))return[e];if(!Lh(e)||!Lh(t))return DL(e,t,i);if(typeof r=="function")return Xc(e,t,1,{transform:r});if(IL(r))return Xc(e,t,0,r);let n={...i};return n.capture===!0&&(n.wrap=!0),r=r||n.step||1,na(r)?na(e)&&na(t)?g4(e,t,r,n):x4(e,t,Math.max(Math.abs(r),1),n):r!=null&&!IL(r)?v4(r,n):Xc(e,t,1,r)};CL.exports=Xc});var LL=_((hSe,wL)=>{"use strict";o();var S4=Mh(),PL=$c(),O4=(e,t={})=>{let r=(i,n={})=>{let s=PL.isInvalidBrace(n),a=i.invalid===!0&&t.escapeInvalid===!0,c=s===!0||a===!0,u=t.escapeInvalid===!0?"\\":"",p="";if(i.isOpen===!0)return u+i.value;if(i.isClose===!0)return console.log("node.isClose",u,i.value),u+i.value;if(i.type==="open")return c?u+i.value:"(";if(i.type==="close")return c?u+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":c?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let l=PL.reduce(i.nodes),f=S4(...l,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(f.length!==0)return l.length>1&&f.length>1?`(${f})`:f}if(i.nodes)for(let l of i.nodes)p+=r(l,i);return p};return r(e)};wL.exports=O4});var UL=_((ESe,ML)=>{"use strict";o();var A4=Mh(),FL=zc(),Bn=$c(),ki=(e="",t="",r=!1)=>{let i=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?Bn.flatten(t).map(n=>`{${n}}`):t;for(let n of e)if(Array.isArray(n))for(let s of n)i.push(ki(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),i.push(Array.isArray(s)?ki(n,s,r):n+s);return Bn.flatten(i)},N4=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,i=(n,s={})=>{n.queue=[];let a=s,c=s.queue;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,c=a.queue;if(n.invalid||n.dollar){c.push(ki(c.pop(),FL(n,t)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){c.push(ki(c.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let f=Bn.reduce(n.nodes);if(Bn.exceedsLimit(...f,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let h=A4(...f,t);h.length===0&&(h=FL(n,t)),c.push(ki(c.pop(),h)),n.nodes=[];return}let u=Bn.encloseBrace(n),p=n.queue,l=n;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,p=l.queue;for(let f=0;f<n.nodes.length;f++){let h=n.nodes[f];if(h.type==="comma"&&n.type==="brace"){f===1&&p.push(""),p.push("");continue}if(h.type==="close"){c.push(ki(c.pop(),p,u));continue}if(h.value&&h.type!=="open"){p.push(ki(p.pop(),h.value));continue}h.nodes&&i(h,n)}return p};return Bn.flatten(i(e))};ML.exports=N4});var kL=_((gSe,qL)=>{"use strict";o();qL.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
12
- `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var jL=_((SSe,WL)=>{"use strict";o();var I4=zc(),{MAX_LENGTH:GL,CHAR_BACKSLASH:Uh,CHAR_BACKTICK:R4,CHAR_COMMA:T4,CHAR_DOT:b4,CHAR_LEFT_PARENTHESES:y4,CHAR_RIGHT_PARENTHESES:D4,CHAR_LEFT_CURLY_BRACE:C4,CHAR_RIGHT_CURLY_BRACE:P4,CHAR_LEFT_SQUARE_BRACKET:BL,CHAR_RIGHT_SQUARE_BRACKET:HL,CHAR_DOUBLE_QUOTE:w4,CHAR_SINGLE_QUOTE:L4,CHAR_NO_BREAK_SPACE:F4,CHAR_ZERO_WIDTH_NOBREAK_SPACE:M4}=kL(),U4=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},i=typeof r.maxLength=="number"?Math.min(GL,r.maxLength):GL;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);let n={type:"root",input:e,nodes:[]},s=[n],a=n,c=n,u=0,p=e.length,l=0,f=0,h,E=()=>e[l++],x=S=>{if(S.type==="text"&&c.type==="dot"&&(c.type="text"),c&&c.type==="text"&&S.type==="text"){c.value+=S.value;return}return a.nodes.push(S),S.parent=a,S.prev=c,c=S,S};for(x({type:"bos"});l<p;)if(a=s[s.length-1],h=E(),!(h===M4||h===F4)){if(h===Uh){x({type:"text",value:(t.keepEscaping?h:"")+E()});continue}if(h===HL){x({type:"text",value:"\\"+h});continue}if(h===BL){u++;let S;for(;l<p&&(S=E());){if(h+=S,S===BL){u++;continue}if(S===Uh){h+=E();continue}if(S===HL&&(u--,u===0))break}x({type:"text",value:h});continue}if(h===y4){a=x({type:"paren",nodes:[]}),s.push(a),x({type:"text",value:h});continue}if(h===D4){if(a.type!=="paren"){x({type:"text",value:h});continue}a=s.pop(),x({type:"text",value:h}),a=s[s.length-1];continue}if(h===w4||h===L4||h===R4){let S=h,I;for(t.keepQuotes!==!0&&(h="");l<p&&(I=E());){if(I===Uh){h+=I+E();continue}if(I===S){t.keepQuotes===!0&&(h+=I);break}h+=I}x({type:"text",value:h});continue}if(h===C4){f++;let I={type:"brace",open:!0,close:!1,dollar:c.value&&c.value.slice(-1)==="$"||a.dollar===!0,depth:f,commas:0,ranges:0,nodes:[]};a=x(I),s.push(a),x({type:"open",value:h});continue}if(h===P4){if(a.type!=="brace"){x({type:"text",value:h});continue}let S="close";a=s.pop(),a.close=!0,x({type:S,value:h}),f--,a=s[s.length-1];continue}if(h===T4&&f>0){if(a.ranges>0){a.ranges=0;let S=a.nodes.shift();a.nodes=[S,{type:"text",value:I4(a)}]}x({type:"comma",value:h}),a.commas++;continue}if(h===b4&&f>0&&a.commas===0){let S=a.nodes;if(f===0||S.length===0){x({type:"text",value:h});continue}if(c.type==="dot"){if(a.range=[],c.value+=h,c.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,c.type="text";continue}a.ranges++,a.args=[];continue}if(c.type==="range"){S.pop();let I=S[S.length-1];I.value+=c.value+h,c=I,a.ranges--;continue}x({type:"dot",value:h});continue}x({type:"text",value:h})}do if(a=s.pop(),a.type!=="root"){a.nodes.forEach(b=>{b.nodes||(b.type==="open"&&(b.isOpen=!0),b.type==="close"&&(b.isClose=!0),b.nodes||(b.type="text"),b.invalid=!0)});let S=s[s.length-1],I=S.nodes.indexOf(a);S.nodes.splice(I,1,...a.nodes)}while(s.length>0);return x({type:"eos"}),n};WL.exports=U4});var qh=_((ASe,KL)=>{"use strict";o();var VL=zc(),q4=LL(),k4=UL(),G4=jL(),At=(e,t={})=>{let r=[];if(Array.isArray(e))for(let i of e){let n=At.create(i,t);Array.isArray(n)?r.push(...n):r.push(n)}else r=[].concat(At.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};At.parse=(e,t={})=>G4(e,t);At.stringify=(e,t={})=>VL(typeof e=="string"?At.parse(e,t):e,t);At.compile=(e,t={})=>(typeof e=="string"&&(e=At.parse(e,t)),q4(e,t));At.expand=(e,t={})=>{typeof e=="string"&&(e=At.parse(e,t));let r=k4(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};At.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?At.compile(e,t):At.expand(e,t);KL.exports=At});var sa=_((ISe,JL)=>{"use strict";o();var B4=N("path"),or="\\\\/",YL=`[^${or}]`,Dr="\\.",H4="\\+",W4="\\?",Zc="\\/",j4="(?=.)",$L="[^/]",kh=`(?:${Zc}|$)`,zL=`(?:^|${Zc})`,Gh=`${Dr}{1,2}${kh}`,V4=`(?!${Dr})`,K4=`(?!${zL}${Gh})`,Y4=`(?!${Dr}{0,1}${kh})`,$4=`(?!${Gh})`,z4=`[^.${Zc}]`,X4=`${$L}*?`,XL={DOT_LITERAL:Dr,PLUS_LITERAL:H4,QMARK_LITERAL:W4,SLASH_LITERAL:Zc,ONE_CHAR:j4,QMARK:$L,END_ANCHOR:kh,DOTS_SLASH:Gh,NO_DOT:V4,NO_DOTS:K4,NO_DOT_SLASH:Y4,NO_DOTS_SLASH:$4,QMARK_NO_DOT:z4,STAR:X4,START_ANCHOR:zL},J4={...XL,SLASH_LITERAL:`[${or}]`,QMARK:YL,STAR:`${YL}*?`,DOTS_SLASH:`${Dr}{1,2}(?:[${or}]|$)`,NO_DOT:`(?!${Dr})`,NO_DOTS:`(?!(?:^|[${or}])${Dr}{1,2}(?:[${or}]|$))`,NO_DOT_SLASH:`(?!${Dr}{0,1}(?:[${or}]|$))`,NO_DOTS_SLASH:`(?!${Dr}{1,2}(?:[${or}]|$))`,QMARK_NO_DOT:`[^.${or}]`,START_ANCHOR:`(?:^|[${or}])`,END_ANCHOR:`(?:[${or}]|$)`},Z4={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};JL.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Z4,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:B4.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?J4:XL}}});var aa=_(ht=>{"use strict";o();var Q4=N("path"),eJ=process.platform==="win32",{REGEX_BACKSLASH:tJ,REGEX_REMOVE_BACKSLASH:rJ,REGEX_SPECIAL_CHARS:iJ,REGEX_SPECIAL_CHARS_GLOBAL:nJ}=sa();ht.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);ht.hasRegexChars=e=>iJ.test(e);ht.isRegexChar=e=>e.length===1&&ht.hasRegexChars(e);ht.escapeRegex=e=>e.replace(nJ,"\\$1");ht.toPosixSlashes=e=>e.replace(tJ,"/");ht.removeBackslashes=e=>e.replace(rJ,t=>t==="\\"?"":t);ht.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};ht.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:eJ===!0||Q4.sep==="\\";ht.escapeLast=(e,t,r)=>{let i=e.lastIndexOf(t,r);return i===-1?e:e[i-1]==="\\"?ht.escapeLast(e,t,i-1):`${e.slice(0,i)}\\${e.slice(i)}`};ht.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};ht.wrapOutput=(e,t={},r={})=>{let i=r.contains?"":"^",n=r.contains?"":"$",s=`${i}(?:${e})${n}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var sF=_((ySe,nF)=>{"use strict";o();var ZL=aa(),{CHAR_ASTERISK:Bh,CHAR_AT:sJ,CHAR_BACKWARD_SLASH:oa,CHAR_COMMA:aJ,CHAR_DOT:Hh,CHAR_EXCLAMATION_MARK:Wh,CHAR_FORWARD_SLASH:iF,CHAR_LEFT_CURLY_BRACE:jh,CHAR_LEFT_PARENTHESES:Vh,CHAR_LEFT_SQUARE_BRACKET:oJ,CHAR_PLUS:cJ,CHAR_QUESTION_MARK:QL,CHAR_RIGHT_CURLY_BRACE:uJ,CHAR_RIGHT_PARENTHESES:eF,CHAR_RIGHT_SQUARE_BRACKET:pJ}=sa(),tF=e=>e===iF||e===oa,rF=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},lJ=(e,t)=>{let r=t||{},i=e.length-1,n=r.parts===!0||r.scanToEnd===!0,s=[],a=[],c=[],u=e,p=-1,l=0,f=0,h=!1,E=!1,x=!1,S=!1,I=!1,b=!1,q=!1,k=!1,W=!1,M=!1,X=0,K,F,J={value:"",depth:0,isGlob:!1},Ae=()=>p>=i,T=()=>u.charCodeAt(p+1),se=()=>(K=F,u.charCodeAt(++p));for(;p<i;){F=se();let fe;if(F===oa){q=J.backslashes=!0,F=se(),F===jh&&(b=!0);continue}if(b===!0||F===jh){for(X++;Ae()!==!0&&(F=se());){if(F===oa){q=J.backslashes=!0,se();continue}if(F===jh){X++;continue}if(b!==!0&&F===Hh&&(F=se())===Hh){if(h=J.isBrace=!0,x=J.isGlob=!0,M=!0,n===!0)continue;break}if(b!==!0&&F===aJ){if(h=J.isBrace=!0,x=J.isGlob=!0,M=!0,n===!0)continue;break}if(F===uJ&&(X--,X===0)){b=!1,h=J.isBrace=!0,M=!0;break}}if(n===!0)continue;break}if(F===iF){if(s.push(p),a.push(J),J={value:"",depth:0,isGlob:!1},M===!0)continue;if(K===Hh&&p===l+1){l+=2;continue}f=p+1;continue}if(r.noext!==!0&&(F===cJ||F===sJ||F===Bh||F===QL||F===Wh)===!0&&T()===Vh){if(x=J.isGlob=!0,S=J.isExtglob=!0,M=!0,F===Wh&&p===l&&(W=!0),n===!0){for(;Ae()!==!0&&(F=se());){if(F===oa){q=J.backslashes=!0,F=se();continue}if(F===eF){x=J.isGlob=!0,M=!0;break}}continue}break}if(F===Bh){if(K===Bh&&(I=J.isGlobstar=!0),x=J.isGlob=!0,M=!0,n===!0)continue;break}if(F===QL){if(x=J.isGlob=!0,M=!0,n===!0)continue;break}if(F===oJ){for(;Ae()!==!0&&(fe=se());){if(fe===oa){q=J.backslashes=!0,se();continue}if(fe===pJ){E=J.isBracket=!0,x=J.isGlob=!0,M=!0;break}}if(n===!0)continue;break}if(r.nonegate!==!0&&F===Wh&&p===l){k=J.negated=!0,l++;continue}if(r.noparen!==!0&&F===Vh){if(x=J.isGlob=!0,n===!0){for(;Ae()!==!0&&(F=se());){if(F===Vh){q=J.backslashes=!0,F=se();continue}if(F===eF){M=!0;break}}continue}break}if(x===!0){if(M=!0,n===!0)continue;break}}r.noext===!0&&(S=!1,x=!1);let te=u,Gt="",O="";l>0&&(Gt=u.slice(0,l),u=u.slice(l),f-=l),te&&x===!0&&f>0?(te=u.slice(0,f),O=u.slice(f)):x===!0?(te="",O=u):te=u,te&&te!==""&&te!=="/"&&te!==u&&tF(te.charCodeAt(te.length-1))&&(te=te.slice(0,-1)),r.unescape===!0&&(O&&(O=ZL.removeBackslashes(O)),te&&q===!0&&(te=ZL.removeBackslashes(te)));let A={prefix:Gt,input:e,start:l,base:te,glob:O,isBrace:h,isBracket:E,isGlob:x,isExtglob:S,isGlobstar:I,negated:k,negatedExtglob:W};if(r.tokens===!0&&(A.maxDepth=0,tF(F)||a.push(J),A.tokens=a),r.parts===!0||r.tokens===!0){let fe;for(let U=0;U<s.length;U++){let Ce=fe?fe+1:l,tt=s[U],Pe=e.slice(Ce,tt);r.tokens&&(U===0&&l!==0?(a[U].isPrefix=!0,a[U].value=Gt):a[U].value=Pe,rF(a[U]),A.maxDepth+=a[U].depth),(U!==0||Pe!=="")&&c.push(Pe),fe=tt}if(fe&&fe+1<e.length){let U=e.slice(fe+1);c.push(U),r.tokens&&(a[a.length-1].value=U,rF(a[a.length-1]),A.maxDepth+=a[a.length-1].depth)}A.slashes=s,A.parts=c}return A};nF.exports=lJ});var cF=_((CSe,oF)=>{"use strict";o();var Qc=sa(),Nt=aa(),{MAX_LENGTH:eu,POSIX_REGEX_SOURCE:dJ,REGEX_NON_SPECIAL_CHARS:mJ,REGEX_SPECIAL_CHARS_BACKREF:fJ,REPLACEMENTS:aF}=Qc,hJ=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(n=>Nt.escapeRegex(n)).join("..")}return r},Hn=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Kh=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=aF[e]||e;let r={...t},i=typeof r.maxLength=="number"?Math.min(eu,r.maxLength):eu,n=e.length;if(n>i)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`);let s={type:"bos",value:"",output:r.prepend||""},a=[s],c=r.capture?"":"?:",u=Nt.isWindows(t),p=Qc.globChars(u),l=Qc.extglobChars(p),{DOT_LITERAL:f,PLUS_LITERAL:h,SLASH_LITERAL:E,ONE_CHAR:x,DOTS_SLASH:S,NO_DOT:I,NO_DOT_SLASH:b,NO_DOTS_SLASH:q,QMARK:k,QMARK_NO_DOT:W,STAR:M,START_ANCHOR:X}=p,K=P=>`(${c}(?:(?!${X}${P.dot?S:f}).)*?)`,F=r.dot?"":I,J=r.dot?k:W,Ae=r.bash===!0?K(r):M;r.capture&&(Ae=`(${Ae})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let T={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=Nt.removePrefix(e,T),n=e.length;let se=[],te=[],Gt=[],O=s,A,fe=()=>T.index===n-1,U=T.peek=(P=1)=>e[T.index+P],Ce=T.advance=()=>e[++T.index]||"",tt=()=>e.slice(T.index+1),Pe=(P="",pe=0)=>{T.consumed+=P,T.index+=pe},hi=P=>{T.output+=P.output!=null?P.output:P.value,Pe(P.value)},Ga=()=>{let P=1;for(;U()==="!"&&(U(2)!=="("||U(3)==="?");)Ce(),T.start++,P++;return P%2===0?!1:(T.negated=!0,T.start++,!0)},_i=P=>{T[P]++,Gt.push(P)},we=P=>{T[P]--,Gt.pop()},z=P=>{if(O.type==="globstar"){let pe=T.braces>0&&(P.type==="comma"||P.type==="brace"),D=P.extglob===!0||se.length&&(P.type==="pipe"||P.type==="paren");P.type!=="slash"&&P.type!=="paren"&&!pe&&!D&&(T.output=T.output.slice(0,-O.output.length),O.type="star",O.value="*",O.output=Ae,T.output+=O.output)}if(se.length&&P.type!=="paren"&&(se[se.length-1].inner+=P.value),(P.value||P.output)&&hi(P),O&&O.type==="text"&&P.type==="text"){O.value+=P.value,O.output=(O.output||"")+P.value;return}P.prev=O,a.push(P),O=P},Ba=(P,pe)=>{let D={...l[pe],conditions:1,inner:""};D.prev=O,D.parens=T.parens,D.output=T.output;let $=(r.capture?"(":"")+D.open;_i("parens"),z({type:P,value:pe,output:T.output?"":x}),z({type:"paren",extglob:!0,value:Ce(),output:$}),se.push(D)},gW=P=>{let pe=P.close+(r.capture?")":""),D;if(P.type==="negate"){let $=Ae;if(P.inner&&P.inner.length>1&&P.inner.includes("/")&&($=K(r)),($!==Ae||fe()||/^\)+$/.test(tt()))&&(pe=P.close=`)$))${$}`),P.inner.includes("*")&&(D=tt())&&/^\.[^\\/.]+$/.test(D)){let ve=Kh(D,{...t,fastpaths:!1}).output;pe=P.close=`)${ve})${$})`}P.prev.type==="bos"&&(T.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:A,output:pe}),we("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let P=!1,pe=e.replace(fJ,(D,$,ve,rt,be,np)=>rt==="\\"?(P=!0,D):rt==="?"?$?$+rt+(be?k.repeat(be.length):""):np===0?J+(be?k.repeat(be.length):""):k.repeat(ve.length):rt==="."?f.repeat(ve.length):rt==="*"?$?$+rt+(be?Ae:""):Ae:$?D:`\\${D}`);return P===!0&&(r.unescape===!0?pe=pe.replace(/\\/g,""):pe=pe.replace(/\\+/g,D=>D.length%2===0?"\\\\":D?"\\":"")),pe===e&&r.contains===!0?(T.output=e,T):(T.output=Nt.wrapOutput(pe,T,t),T)}for(;!fe();){if(A=Ce(),A==="\0")continue;if(A==="\\"){let D=U();if(D==="/"&&r.bash!==!0||D==="."||D===";")continue;if(!D){A+="\\",z({type:"text",value:A});continue}let $=/^\\+/.exec(tt()),ve=0;if($&&$[0].length>2&&(ve=$[0].length,T.index+=ve,ve%2!==0&&(A+="\\")),r.unescape===!0?A=Ce():A+=Ce(),T.brackets===0){z({type:"text",value:A});continue}}if(T.brackets>0&&(A!=="]"||O.value==="["||O.value==="[^")){if(r.posix!==!1&&A===":"){let D=O.value.slice(1);if(D.includes("[")&&(O.posix=!0,D.includes(":"))){let $=O.value.lastIndexOf("["),ve=O.value.slice(0,$),rt=O.value.slice($+2),be=dJ[rt];if(be){O.value=ve+be,T.backtrack=!0,Ce(),!s.output&&a.indexOf(O)===1&&(s.output=x);continue}}}(A==="["&&U()!==":"||A==="-"&&U()==="]")&&(A=`\\${A}`),A==="]"&&(O.value==="["||O.value==="[^")&&(A=`\\${A}`),r.posix===!0&&A==="!"&&O.value==="["&&(A="^"),O.value+=A,hi({value:A});continue}if(T.quotes===1&&A!=='"'){A=Nt.escapeRegex(A),O.value+=A,hi({value:A});continue}if(A==='"'){T.quotes=T.quotes===1?0:1,r.keepQuotes===!0&&z({type:"text",value:A});continue}if(A==="("){_i("parens"),z({type:"paren",value:A});continue}if(A===")"){if(T.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Hn("opening","("));let D=se[se.length-1];if(D&&T.parens===D.parens+1){gW(se.pop());continue}z({type:"paren",value:A,output:T.parens?")":"\\)"}),we("parens");continue}if(A==="["){if(r.nobracket===!0||!tt().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Hn("closing","]"));A=`\\${A}`}else _i("brackets");z({type:"bracket",value:A});continue}if(A==="]"){if(r.nobracket===!0||O&&O.type==="bracket"&&O.value.length===1){z({type:"text",value:A,output:`\\${A}`});continue}if(T.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Hn("opening","["));z({type:"text",value:A,output:`\\${A}`});continue}we("brackets");let D=O.value.slice(1);if(O.posix!==!0&&D[0]==="^"&&!D.includes("/")&&(A=`/${A}`),O.value+=A,hi({value:A}),r.literalBrackets===!1||Nt.hasRegexChars(D))continue;let $=Nt.escapeRegex(O.value);if(T.output=T.output.slice(0,-O.value.length),r.literalBrackets===!0){T.output+=$,O.value=$;continue}O.value=`(${c}${$}|${O.value})`,T.output+=O.value;continue}if(A==="{"&&r.nobrace!==!0){_i("braces");let D={type:"brace",value:A,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};te.push(D),z(D);continue}if(A==="}"){let D=te[te.length-1];if(r.nobrace===!0||!D){z({type:"text",value:A,output:A});continue}let $=")";if(D.dots===!0){let ve=a.slice(),rt=[];for(let be=ve.length-1;be>=0&&(a.pop(),ve[be].type!=="brace");be--)ve[be].type!=="dots"&&rt.unshift(ve[be].value);$=hJ(rt,r),T.backtrack=!0}if(D.comma!==!0&&D.dots!==!0){let ve=T.output.slice(0,D.outputIndex),rt=T.tokens.slice(D.tokensIndex);D.value=D.output="\\{",A=$="\\}",T.output=ve;for(let be of rt)T.output+=be.output||be.value}z({type:"brace",value:A,output:$}),we("braces"),te.pop();continue}if(A==="|"){se.length>0&&se[se.length-1].conditions++,z({type:"text",value:A});continue}if(A===","){let D=A,$=te[te.length-1];$&&Gt[Gt.length-1]==="braces"&&($.comma=!0,D="|"),z({type:"comma",value:A,output:D});continue}if(A==="/"){if(O.type==="dot"&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",a.pop(),O=s;continue}z({type:"slash",value:A,output:E});continue}if(A==="."){if(T.braces>0&&O.type==="dot"){O.value==="."&&(O.output=f);let D=te[te.length-1];O.type="dots",O.output+=A,O.value+=A,D.dots=!0;continue}if(T.braces+T.parens===0&&O.type!=="bos"&&O.type!=="slash"){z({type:"text",value:A,output:f});continue}z({type:"dot",value:A,output:f});continue}if(A==="?"){if(!(O&&O.value==="(")&&r.noextglob!==!0&&U()==="("&&U(2)!=="?"){Ba("qmark",A);continue}if(O&&O.type==="paren"){let $=U(),ve=A;if($==="<"&&!Nt.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(O.value==="("&&!/[!=<:]/.test($)||$==="<"&&!/<([!=]|\w+>)/.test(tt()))&&(ve=`\\${A}`),z({type:"text",value:A,output:ve});continue}if(r.dot!==!0&&(O.type==="slash"||O.type==="bos")){z({type:"qmark",value:A,output:W});continue}z({type:"qmark",value:A,output:k});continue}if(A==="!"){if(r.noextglob!==!0&&U()==="("&&(U(2)!=="?"||!/[!=<:]/.test(U(3)))){Ba("negate",A);continue}if(r.nonegate!==!0&&T.index===0){Ga();continue}}if(A==="+"){if(r.noextglob!==!0&&U()==="("&&U(2)!=="?"){Ba("plus",A);continue}if(O&&O.value==="("||r.regex===!1){z({type:"plus",value:A,output:h});continue}if(O&&(O.type==="bracket"||O.type==="paren"||O.type==="brace")||T.parens>0){z({type:"plus",value:A});continue}z({type:"plus",value:h});continue}if(A==="@"){if(r.noextglob!==!0&&U()==="("&&U(2)!=="?"){z({type:"at",extglob:!0,value:A,output:""});continue}z({type:"text",value:A});continue}if(A!=="*"){(A==="$"||A==="^")&&(A=`\\${A}`);let D=mJ.exec(tt());D&&(A+=D[0],T.index+=D[0].length),z({type:"text",value:A});continue}if(O&&(O.type==="globstar"||O.star===!0)){O.type="star",O.star=!0,O.value+=A,O.output=Ae,T.backtrack=!0,T.globstar=!0,Pe(A);continue}let P=tt();if(r.noextglob!==!0&&/^\([^?]/.test(P)){Ba("star",A);continue}if(O.type==="star"){if(r.noglobstar===!0){Pe(A);continue}let D=O.prev,$=D.prev,ve=D.type==="slash"||D.type==="bos",rt=$&&($.type==="star"||$.type==="globstar");if(r.bash===!0&&(!ve||P[0]&&P[0]!=="/")){z({type:"star",value:A,output:""});continue}let be=T.braces>0&&(D.type==="comma"||D.type==="brace"),np=se.length&&(D.type==="pipe"||D.type==="paren");if(!ve&&D.type!=="paren"&&!be&&!np){z({type:"star",value:A,output:""});continue}for(;P.slice(0,3)==="/**";){let Ha=e[T.index+4];if(Ha&&Ha!=="/")break;P=P.slice(3),Pe("/**",3)}if(D.type==="bos"&&fe()){O.type="globstar",O.value+=A,O.output=K(r),T.output=O.output,T.globstar=!0,Pe(A);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&!rt&&fe()){T.output=T.output.slice(0,-(D.output+O.output).length),D.output=`(?:${D.output}`,O.type="globstar",O.output=K(r)+(r.strictSlashes?")":"|$)"),O.value+=A,T.globstar=!0,T.output+=D.output+O.output,Pe(A);continue}if(D.type==="slash"&&D.prev.type!=="bos"&&P[0]==="/"){let Ha=P[1]!==void 0?"|$":"";T.output=T.output.slice(0,-(D.output+O.output).length),D.output=`(?:${D.output}`,O.type="globstar",O.output=`${K(r)}${E}|${E}${Ha})`,O.value+=A,T.output+=D.output+O.output,T.globstar=!0,Pe(A+Ce()),z({type:"slash",value:"/",output:""});continue}if(D.type==="bos"&&P[0]==="/"){O.type="globstar",O.value+=A,O.output=`(?:^|${E}|${K(r)}${E})`,T.output=O.output,T.globstar=!0,Pe(A+Ce()),z({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-O.output.length),O.type="globstar",O.output=K(r),O.value+=A,T.output+=O.output,T.globstar=!0,Pe(A);continue}let pe={type:"star",value:A,output:Ae};if(r.bash===!0){pe.output=".*?",(O.type==="bos"||O.type==="slash")&&(pe.output=F+pe.output),z(pe);continue}if(O&&(O.type==="bracket"||O.type==="paren")&&r.regex===!0){pe.output=A,z(pe);continue}(T.index===T.start||O.type==="slash"||O.type==="dot")&&(O.type==="dot"?(T.output+=b,O.output+=b):r.dot===!0?(T.output+=q,O.output+=q):(T.output+=F,O.output+=F),U()!=="*"&&(T.output+=x,O.output+=x)),z(pe)}for(;T.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Hn("closing","]"));T.output=Nt.escapeLast(T.output,"["),we("brackets")}for(;T.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Hn("closing",")"));T.output=Nt.escapeLast(T.output,"("),we("parens")}for(;T.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Hn("closing","}"));T.output=Nt.escapeLast(T.output,"{"),we("braces")}if(r.strictSlashes!==!0&&(O.type==="star"||O.type==="bracket")&&z({type:"maybe_slash",value:"",output:`${E}?`}),T.backtrack===!0){T.output="";for(let P of T.tokens)T.output+=P.output!=null?P.output:P.value,P.suffix&&(T.output+=P.suffix)}return T};Kh.fastpaths=(e,t)=>{let r={...t},i=typeof r.maxLength=="number"?Math.min(eu,r.maxLength):eu,n=e.length;if(n>i)throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`);e=aF[e]||e;let s=Nt.isWindows(t),{DOT_LITERAL:a,SLASH_LITERAL:c,ONE_CHAR:u,DOTS_SLASH:p,NO_DOT:l,NO_DOTS:f,NO_DOTS_SLASH:h,STAR:E,START_ANCHOR:x}=Qc.globChars(s),S=r.dot?f:l,I=r.dot?h:l,b=r.capture?"":"?:",q={negated:!1,prefix:""},k=r.bash===!0?".*?":E;r.capture&&(k=`(${k})`);let W=F=>F.noglobstar===!0?k:`(${b}(?:(?!${x}${F.dot?p:a}).)*?)`,M=F=>{switch(F){case"*":return`${S}${u}${k}`;case".*":return`${a}${u}${k}`;case"*.*":return`${S}${k}${a}${u}${k}`;case"*/*":return`${S}${k}${c}${u}${I}${k}`;case"**":return S+W(r);case"**/*":return`(?:${S}${W(r)}${c})?${I}${u}${k}`;case"**/*.*":return`(?:${S}${W(r)}${c})?${I}${k}${a}${u}${k}`;case"**/.*":return`(?:${S}${W(r)}${c})?${a}${u}${k}`;default:{let J=/^(.*?)\.(\w+)$/.exec(F);if(!J)return;let Ae=M(J[1]);return Ae?Ae+a+J[2]:void 0}}},X=Nt.removePrefix(e,q),K=M(X);return K&&r.strictSlashes!==!0&&(K+=`${c}?`),K};oF.exports=Kh});var pF=_((wSe,uF)=>{"use strict";o();var _J=N("path"),EJ=sF(),Yh=cF(),$h=aa(),vJ=sa(),gJ=e=>e&&typeof e=="object"&&!Array.isArray(e),Oe=(e,t,r=!1)=>{if(Array.isArray(e)){let l=e.map(h=>Oe(h,t,r));return h=>{for(let E of l){let x=E(h);if(x)return x}return!1}}let i=gJ(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let n=t||{},s=$h.isWindows(t),a=i?Oe.compileRe(e,t):Oe.makeRe(e,t,!1,!0),c=a.state;delete a.state;let u=()=>!1;if(n.ignore){let l={...t,ignore:null,onMatch:null,onResult:null};u=Oe(n.ignore,l,r)}let p=(l,f=!1)=>{let{isMatch:h,match:E,output:x}=Oe.test(l,a,t,{glob:e,posix:s}),S={glob:e,state:c,regex:a,posix:s,input:l,output:x,match:E,isMatch:h};return typeof n.onResult=="function"&&n.onResult(S),h===!1?(S.isMatch=!1,f?S:!1):u(l)?(typeof n.onIgnore=="function"&&n.onIgnore(S),S.isMatch=!1,f?S:!1):(typeof n.onMatch=="function"&&n.onMatch(S),f?S:!0)};return r&&(p.state=c),p};Oe.test=(e,t,r,{glob:i,posix:n}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},a=s.format||(n?$h.toPosixSlashes:null),c=e===i,u=c&&a?a(e):e;return c===!1&&(u=a?a(e):e,c=u===i),(c===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?c=Oe.matchBase(e,t,r,n):c=t.exec(u)),{isMatch:!!c,match:c,output:u}};Oe.matchBase=(e,t,r,i=$h.isWindows(r))=>(t instanceof RegExp?t:Oe.makeRe(t,r)).test(_J.basename(e));Oe.isMatch=(e,t,r)=>Oe(t,r)(e);Oe.parse=(e,t)=>Array.isArray(e)?e.map(r=>Oe.parse(r,t)):Yh(e,{...t,fastpaths:!1});Oe.scan=(e,t)=>EJ(e,t);Oe.compileRe=(e,t,r=!1,i=!1)=>{if(r===!0)return e.output;let n=t||{},s=n.contains?"":"^",a=n.contains?"":"$",c=`${s}(?:${e.output})${a}`;e&&e.negated===!0&&(c=`^(?!${c}).*$`);let u=Oe.toRegex(c,t);return i===!0&&(u.state=e),u};Oe.makeRe=(e,t={},r=!1,i=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let n={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(n.output=Yh.fastpaths(e,t)),n.output||(n=Yh(e,t)),Oe.compileRe(n,t,r,i)};Oe.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};Oe.constants=vJ;uF.exports=Oe});var tu=_((FSe,lF)=>{"use strict";o();lF.exports=pF()});var _F=_((USe,hF)=>{"use strict";o();var mF=N("util"),fF=qh(),cr=tu(),zh=aa(),dF=e=>e===""||e==="./",Ee=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let i=new Set,n=new Set,s=new Set,a=0,c=l=>{s.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<t.length;l++){let f=cr(String(t[l]),{...r,onResult:c},!0),h=f.state.negated||f.state.negatedExtglob;h&&a++;for(let E of e){let x=f(E,!0);(h?!x.isMatch:x.isMatch)&&(h?i.add(x.output):(i.delete(x.output),n.add(x.output)))}}let p=(a===t.length?[...s]:[...n]).filter(l=>!i.has(l));if(r&&p.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(l=>l.replace(/\\/g,"")):t}return p};Ee.match=Ee;Ee.matcher=(e,t)=>cr(e,t);Ee.isMatch=(e,t,r)=>cr(t,r)(e);Ee.any=Ee.isMatch;Ee.not=(e,t,r={})=>{t=[].concat(t).map(String);let i=new Set,n=[],s=c=>{r.onResult&&r.onResult(c),n.push(c.output)},a=new Set(Ee(e,t,{...r,onResult:s}));for(let c of n)a.has(c)||i.add(c);return[...i]};Ee.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${mF.inspect(e)}"`);if(Array.isArray(t))return t.some(i=>Ee.contains(e,i,r));if(typeof t=="string"){if(dF(e)||dF(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Ee.isMatch(e,t,{...r,contains:!0})};Ee.matchKeys=(e,t,r)=>{if(!zh.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=Ee(Object.keys(e),t,r),n={};for(let s of i)n[s]=e[s];return n};Ee.some=(e,t,r)=>{let i=[].concat(e);for(let n of[].concat(t)){let s=cr(String(n),r);if(i.some(a=>s(a)))return!0}return!1};Ee.every=(e,t,r)=>{let i=[].concat(e);for(let n of[].concat(t)){let s=cr(String(n),r);if(!i.every(a=>s(a)))return!1}return!0};Ee.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${mF.inspect(e)}"`);return[].concat(t).every(i=>cr(i,r)(e))};Ee.capture=(e,t,r)=>{let i=zh.isWindows(r),s=cr.makeRe(String(e),{...r,capture:!0}).exec(i?zh.toPosixSlashes(t):t);if(s)return s.slice(1).map(a=>a===void 0?"":a)};Ee.makeRe=(...e)=>cr.makeRe(...e);Ee.scan=(...e)=>cr.scan(...e);Ee.parse=(e,t)=>{let r=[];for(let i of[].concat(e||[]))for(let n of fF(String(i),t))r.push(cr.parse(n,t));return r};Ee.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:fF(e,t)};Ee.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return Ee.braces(e,{...t,expand:!0})};hF.exports=Ee});var NF=_(V=>{"use strict";o();Object.defineProperty(V,"__esModule",{value:!0});V.removeDuplicateSlashes=V.matchAny=V.convertPatternsToRe=V.makeRe=V.getPatternParts=V.expandBraceExpansion=V.expandPatternsWithBraceExpansion=V.isAffectDepthOfReadingPattern=V.endsWithSlashGlobStar=V.hasGlobStar=V.getBaseDirectory=V.isPatternRelatedToParentDirectory=V.getPatternsOutsideCurrentDirectory=V.getPatternsInsideCurrentDirectory=V.getPositivePatterns=V.getNegativePatterns=V.isPositivePattern=V.isNegativePattern=V.convertToNegativePattern=V.convertToPositivePattern=V.isDynamicPattern=V.isStaticPattern=void 0;var xJ=N("path"),SJ=Ph(),Xh=_F(),EF="**",OJ="\\",AJ=/[*?]|^!/,NJ=/\[[^[]*]/,IJ=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,RJ=/[!*+?@]\([^(]*\)/,TJ=/,|\.\./,bJ=/(?!^)\/{2,}/g;function vF(e,t={}){return!gF(e,t)}V.isStaticPattern=vF;function gF(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(OJ)||AJ.test(e)||NJ.test(e)||IJ.test(e)||t.extglob!==!1&&RJ.test(e)||t.braceExpansion!==!1&&yJ(e))}V.isDynamicPattern=gF;function yJ(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let i=e.slice(t,r);return TJ.test(i)}function DJ(e){return ru(e)?e.slice(1):e}V.convertToPositivePattern=DJ;function CJ(e){return"!"+e}V.convertToNegativePattern=CJ;function ru(e){return e.startsWith("!")&&e[1]!=="("}V.isNegativePattern=ru;function xF(e){return!ru(e)}V.isPositivePattern=xF;function PJ(e){return e.filter(ru)}V.getNegativePatterns=PJ;function wJ(e){return e.filter(xF)}V.getPositivePatterns=wJ;function LJ(e){return e.filter(t=>!Jh(t))}V.getPatternsInsideCurrentDirectory=LJ;function FJ(e){return e.filter(Jh)}V.getPatternsOutsideCurrentDirectory=FJ;function Jh(e){return e.startsWith("..")||e.startsWith("./..")}V.isPatternRelatedToParentDirectory=Jh;function MJ(e){return SJ(e,{flipBackslashes:!1})}V.getBaseDirectory=MJ;function UJ(e){return e.includes(EF)}V.hasGlobStar=UJ;function SF(e){return e.endsWith("/"+EF)}V.endsWithSlashGlobStar=SF;function qJ(e){let t=xJ.basename(e);return SF(e)||vF(t)}V.isAffectDepthOfReadingPattern=qJ;function kJ(e){return e.reduce((t,r)=>t.concat(OF(r)),[])}V.expandPatternsWithBraceExpansion=kJ;function OF(e){let t=Xh.braces(e,{expand:!0,nodupes:!0});return t.sort((r,i)=>r.length-i.length),t.filter(r=>r!=="")}V.expandBraceExpansion=OF;function GJ(e,t){let{parts:r}=Xh.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}V.getPatternParts=GJ;function AF(e,t){return Xh.makeRe(e,t)}V.makeRe=AF;function BJ(e,t){return e.map(r=>AF(r,t))}V.convertPatternsToRe=BJ;function HJ(e,t){return t.some(r=>r.test(e))}V.matchAny=HJ;function WJ(e){return e.replace(bJ,"/")}V.removeDuplicateSlashes=WJ});var RF=_(iu=>{"use strict";o();Object.defineProperty(iu,"__esModule",{value:!0});iu.merge=void 0;var jJ=Rh();function VJ(e){let t=jJ(e);return e.forEach(r=>{r.once("error",i=>t.emit("error",i))}),t.once("close",()=>IF(e)),t.once("end",()=>IF(e)),t}iu.merge=VJ;function IF(e){e.forEach(t=>t.emit("close"))}});var TF=_(Wn=>{"use strict";o();Object.defineProperty(Wn,"__esModule",{value:!0});Wn.isEmpty=Wn.isString=void 0;function KJ(e){return typeof e=="string"}Wn.isString=KJ;function YJ(e){return e===""}Wn.isEmpty=YJ});var Cr=_(Je=>{"use strict";o();Object.defineProperty(Je,"__esModule",{value:!0});Je.string=Je.stream=Je.pattern=Je.path=Je.fs=Je.errno=Je.array=void 0;var $J=eL();Je.array=$J;var zJ=tL();Je.errno=zJ;var XJ=rL();Je.fs=XJ;var JJ=aL();Je.path=JJ;var ZJ=NF();Je.pattern=ZJ;var QJ=RF();Je.stream=QJ;var e5=TF();Je.string=e5});var CF=_(Ze=>{"use strict";o();Object.defineProperty(Ze,"__esModule",{value:!0});Ze.convertPatternGroupToTask=Ze.convertPatternGroupsToTasks=Ze.groupPatternsByBaseDirectory=Ze.getNegativePatternsAsPositive=Ze.getPositivePatterns=Ze.convertPatternsToTasks=Ze.generate=void 0;var Yt=Cr();function t5(e,t){let r=bF(e,t),i=bF(t.ignore,t),n=yF(r),s=DF(r,i),a=n.filter(l=>Yt.pattern.isStaticPattern(l,t)),c=n.filter(l=>Yt.pattern.isDynamicPattern(l,t)),u=Zh(a,s,!1),p=Zh(c,s,!0);return u.concat(p)}Ze.generate=t5;function bF(e,t){let r=e;return t.braceExpansion&&(r=Yt.pattern.expandPatternsWithBraceExpansion(r)),t.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Yt.pattern.removeDuplicateSlashes(i))}function Zh(e,t,r){let i=[],n=Yt.pattern.getPatternsOutsideCurrentDirectory(e),s=Yt.pattern.getPatternsInsideCurrentDirectory(e),a=Qh(n),c=Qh(s);return i.push(...e_(a,t,r)),"."in c?i.push(t_(".",s,t,r)):i.push(...e_(c,t,r)),i}Ze.convertPatternsToTasks=Zh;function yF(e){return Yt.pattern.getPositivePatterns(e)}Ze.getPositivePatterns=yF;function DF(e,t){return Yt.pattern.getNegativePatterns(e).concat(t).map(Yt.pattern.convertToPositivePattern)}Ze.getNegativePatternsAsPositive=DF;function Qh(e){let t={};return e.reduce((r,i)=>{let n=Yt.pattern.getBaseDirectory(i);return n in r?r[n].push(i):r[n]=[i],r},t)}Ze.groupPatternsByBaseDirectory=Qh;function e_(e,t,r){return Object.keys(e).map(i=>t_(i,e[i],t,r))}Ze.convertPatternGroupsToTasks=e_;function t_(e,t,r,i){return{dynamic:i,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(Yt.pattern.convertToNegativePattern))}}Ze.convertPatternGroupToTask=t_});var wF=_(nu=>{"use strict";o();Object.defineProperty(nu,"__esModule",{value:!0});nu.read=void 0;function r5(e,t,r){t.fs.lstat(e,(i,n)=>{if(i!==null){PF(r,i);return}if(!n.isSymbolicLink()||!t.followSymbolicLink){r_(r,n);return}t.fs.stat(e,(s,a)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){PF(r,s);return}r_(r,n);return}t.markSymbolicLink&&(a.isSymbolicLink=()=>!0),r_(r,a)})})}nu.read=r5;function PF(e,t){e(t)}function r_(e,t){e(null,t)}});var LF=_(su=>{"use strict";o();Object.defineProperty(su,"__esModule",{value:!0});su.read=void 0;function i5(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let i=t.fs.statSync(e);return t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw i}}su.read=i5});var FF=_(oi=>{"use strict";o();Object.defineProperty(oi,"__esModule",{value:!0});oi.createFileSystemAdapter=oi.FILE_SYSTEM_ADAPTER=void 0;var au=N("fs");oi.FILE_SYSTEM_ADAPTER={lstat:au.lstat,stat:au.stat,lstatSync:au.lstatSync,statSync:au.statSync};function n5(e){return e===void 0?oi.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},oi.FILE_SYSTEM_ADAPTER),e)}oi.createFileSystemAdapter=n5});var MF=_(n_=>{"use strict";o();Object.defineProperty(n_,"__esModule",{value:!0});var s5=FF(),i_=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=s5.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};n_.default=i_});var Gi=_(ci=>{"use strict";o();Object.defineProperty(ci,"__esModule",{value:!0});ci.statSync=ci.stat=ci.Settings=void 0;var UF=wF(),a5=LF(),s_=MF();ci.Settings=s_.default;function o5(e,t,r){if(typeof t=="function"){UF.read(e,a_(),t);return}UF.read(e,a_(t),r)}ci.stat=o5;function c5(e,t){let r=a_(t);return a5.read(e,r)}ci.statSync=c5;function a_(e={}){return e instanceof s_.default?e:new s_.default(e)}});var GF=_((sOe,kF)=>{"use strict";o();var qF;kF.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(qF||(qF=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var HF=_((oOe,BF)=>{"use strict";o();BF.exports=p5;var u5=GF();function p5(e,t){let r,i,n,s=!0;Array.isArray(e)?(r=[],i=e.length):(n=Object.keys(e),r={},i=n.length);function a(u){function p(){t&&t(u,r),t=null}s?u5(p):p()}function c(u,p,l){r[u]=l,(--i===0||p)&&a(p)}i?n?n.forEach(function(u){e[u](function(p,l){c(u,p,l)})}):e.forEach(function(u,p){u(function(l,f){c(p,l,f)})}):a(null),s=!1}});var o_=_(cu=>{"use strict";o();Object.defineProperty(cu,"__esModule",{value:!0});cu.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var ou=process.versions.node.split(".");if(ou[0]===void 0||ou[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var WF=Number.parseInt(ou[0],10),l5=Number.parseInt(ou[1],10),jF=10,d5=10,m5=WF>jF,f5=WF===jF&&l5>=d5;cu.IS_SUPPORT_READDIR_WITH_FILE_TYPES=m5||f5});var VF=_(uu=>{"use strict";o();Object.defineProperty(uu,"__esModule",{value:!0});uu.createDirentFromStats=void 0;var c_=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function h5(e,t){return new c_(e,t)}uu.createDirentFromStats=h5});var u_=_(pu=>{"use strict";o();Object.defineProperty(pu,"__esModule",{value:!0});pu.fs=void 0;var _5=VF();pu.fs=_5});var p_=_(lu=>{"use strict";o();Object.defineProperty(lu,"__esModule",{value:!0});lu.joinPathSegments=void 0;function E5(e,t,r){return e.endsWith(r)?e+t:e+r+t}lu.joinPathSegments=E5});var JF=_(ui=>{"use strict";o();Object.defineProperty(ui,"__esModule",{value:!0});ui.readdir=ui.readdirWithFileTypes=ui.read=void 0;var v5=Gi(),KF=HF(),g5=o_(),YF=u_(),$F=p_();function x5(e,t,r){if(!t.stats&&g5.IS_SUPPORT_READDIR_WITH_FILE_TYPES){zF(e,t,r);return}XF(e,t,r)}ui.read=x5;function zF(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(i,n)=>{if(i!==null){du(r,i);return}let s=n.map(c=>({dirent:c,name:c.name,path:$F.joinPathSegments(e,c.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){l_(r,s);return}let a=s.map(c=>S5(c,t));KF(a,(c,u)=>{if(c!==null){du(r,c);return}l_(r,u)})})}ui.readdirWithFileTypes=zF;function S5(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(i,n)=>{if(i!==null){if(t.throwErrorOnBrokenSymbolicLink){r(i);return}r(null,e);return}e.dirent=YF.fs.createDirentFromStats(e.name,n),r(null,e)})}}function XF(e,t,r){t.fs.readdir(e,(i,n)=>{if(i!==null){du(r,i);return}let s=n.map(a=>{let c=$F.joinPathSegments(e,a,t.pathSegmentSeparator);return u=>{v5.stat(c,t.fsStatSettings,(p,l)=>{if(p!==null){u(p);return}let f={name:a,path:c,dirent:YF.fs.createDirentFromStats(a,l)};t.stats&&(f.stats=l),u(null,f)})}});KF(s,(a,c)=>{if(a!==null){du(r,a);return}l_(r,c)})})}ui.readdir=XF;function du(e,t){e(t)}function l_(e,t){e(null,t)}});var rM=_(pi=>{"use strict";o();Object.defineProperty(pi,"__esModule",{value:!0});pi.readdir=pi.readdirWithFileTypes=pi.read=void 0;var O5=Gi(),A5=o_(),ZF=u_(),QF=p_();function N5(e,t){return!t.stats&&A5.IS_SUPPORT_READDIR_WITH_FILE_TYPES?eM(e,t):tM(e,t)}pi.read=N5;function eM(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(i=>{let n={dirent:i,name:i.name,path:QF.joinPathSegments(e,i.name,t.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(n.path);n.dirent=ZF.fs.createDirentFromStats(n.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return n})}pi.readdirWithFileTypes=eM;function tM(e,t){return t.fs.readdirSync(e).map(i=>{let n=QF.joinPathSegments(e,i,t.pathSegmentSeparator),s=O5.statSync(n,t.fsStatSettings),a={name:i,path:n,dirent:ZF.fs.createDirentFromStats(i,s)};return t.stats&&(a.stats=s),a})}pi.readdir=tM});var iM=_(li=>{"use strict";o();Object.defineProperty(li,"__esModule",{value:!0});li.createFileSystemAdapter=li.FILE_SYSTEM_ADAPTER=void 0;var jn=N("fs");li.FILE_SYSTEM_ADAPTER={lstat:jn.lstat,stat:jn.stat,lstatSync:jn.lstatSync,statSync:jn.statSync,readdir:jn.readdir,readdirSync:jn.readdirSync};function I5(e){return e===void 0?li.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},li.FILE_SYSTEM_ADAPTER),e)}li.createFileSystemAdapter=I5});var nM=_(m_=>{"use strict";o();Object.defineProperty(m_,"__esModule",{value:!0});var R5=N("path"),T5=Gi(),b5=iM(),d_=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=b5.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,R5.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new T5.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};m_.default=d_});var mu=_(di=>{"use strict";o();Object.defineProperty(di,"__esModule",{value:!0});di.Settings=di.scandirSync=di.scandir=void 0;var sM=JF(),y5=rM(),f_=nM();di.Settings=f_.default;function D5(e,t,r){if(typeof t=="function"){sM.read(e,h_(),t);return}sM.read(e,h_(t),r)}di.scandir=D5;function C5(e,t){let r=h_(t);return y5.read(e,r)}di.scandirSync=C5;function h_(e={}){return e instanceof f_.default?e:new f_.default(e)}});var oM=_((TOe,aM)=>{"use strict";o();function P5(e){var t=new e,r=t;function i(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function n(s){r.next=s,r=s}return{get:i,release:n}}aM.exports=P5});var uM=_((yOe,__)=>{"use strict";o();var w5=oM();function cM(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var i=w5(L5),n=null,s=null,a=0,c=null,u={push:S,drain:Ft,saturated:Ft,pause:l,paused:!1,concurrency:r,running:p,resume:E,idle:x,length:f,getQueue:h,unshift:I,empty:Ft,kill:q,killAndDrain:k,error:W};return u;function p(){return a}function l(){u.paused=!0}function f(){for(var M=n,X=0;M;)M=M.next,X++;return X}function h(){for(var M=n,X=[];M;)X.push(M.value),M=M.next;return X}function E(){if(u.paused){u.paused=!1;for(var M=0;M<u.concurrency;M++)a++,b()}}function x(){return a===0&&u.length()===0}function S(M,X){var K=i.get();K.context=e,K.release=b,K.value=M,K.callback=X||Ft,K.errorHandler=c,a===u.concurrency||u.paused?s?(s.next=K,s=K):(n=K,s=K,u.saturated()):(a++,t.call(e,K.value,K.worked))}function I(M,X){var K=i.get();K.context=e,K.release=b,K.value=M,K.callback=X||Ft,a===u.concurrency||u.paused?n?(K.next=n,n=K):(n=K,s=K,u.saturated()):(a++,t.call(e,K.value,K.worked))}function b(M){M&&i.release(M);var X=n;X?u.paused?a--:(s===n&&(s=null),n=X.next,X.next=null,t.call(e,X.value,X.worked),s===null&&u.empty()):--a===0&&u.drain()}function q(){n=null,s=null,u.drain=Ft}function k(){n=null,s=null,u.drain(),u.drain=Ft}function W(M){c=M}}function Ft(){}function L5(){this.value=null,this.callback=Ft,this.next=null,this.release=Ft,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,i){var n=e.callback,s=e.errorHandler,a=e.value;e.value=null,e.callback=Ft,e.errorHandler&&s(r,a),n.call(e.context,r,i),e.release(e)}}function F5(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function i(l,f){t.call(this,l).then(function(h){f(null,h)},f)}var n=cM(e,i,r),s=n.push,a=n.unshift;return n.push=c,n.unshift=u,n.drained=p,n;function c(l){var f=new Promise(function(h,E){s(l,function(x,S){if(x){E(x);return}h(S)})});return f.catch(Ft),f}function u(l){var f=new Promise(function(h,E){a(l,function(x,S){if(x){E(x);return}h(S)})});return f.catch(Ft),f}function p(){var l=n.drain,f=new Promise(function(h){n.drain=function(){l(),h()}});return f}}__.exports=cM;__.exports.promise=F5});var fu=_(ur=>{"use strict";o();Object.defineProperty(ur,"__esModule",{value:!0});ur.joinPathSegments=ur.replacePathSegmentSeparator=ur.isAppliedFilter=ur.isFatalError=void 0;function M5(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}ur.isFatalError=M5;function U5(e,t){return e===null||e(t)}ur.isAppliedFilter=U5;function q5(e,t){return e.split(/[/\\]/).join(t)}ur.replacePathSegmentSeparator=q5;function k5(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}ur.joinPathSegments=k5});var g_=_(v_=>{"use strict";o();Object.defineProperty(v_,"__esModule",{value:!0});var G5=fu(),E_=class{constructor(t,r){this._root=t,this._settings=r,this._root=G5.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};v_.default=E_});var O_=_(S_=>{"use strict";o();Object.defineProperty(S_,"__esModule",{value:!0});var B5=N("events"),H5=mu(),W5=uM(),hu=fu(),j5=g_(),x_=class extends j5.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=H5.scandir,this._emitter=new B5.EventEmitter,this._queue=W5(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let i={directory:t,base:r};this._queue.push(i,n=>{n!==null&&this._handleError(n)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(i,n)=>{if(i!==null){r(i,void 0);return}for(let s of n)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!hu.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let i=t.path;r!==void 0&&(t.path=hu.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),hu.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&hu.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(i,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};S_.default=x_});var pM=_(N_=>{"use strict";o();Object.defineProperty(N_,"__esModule",{value:!0});var V5=O_(),A_=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new V5.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{K5(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Y5(t,this._storage)}),this._reader.read()}};N_.default=A_;function K5(e,t){e(t)}function Y5(e,t){e(null,t)}});var lM=_(R_=>{"use strict";o();Object.defineProperty(R_,"__esModule",{value:!0});var $5=N("stream"),z5=O_(),I_=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new z5.default(this._root,this._settings),this._stream=new $5.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};R_.default=I_});var dM=_(b_=>{"use strict";o();Object.defineProperty(b_,"__esModule",{value:!0});var X5=mu(),_u=fu(),J5=g_(),T_=class extends J5.default{constructor(){super(...arguments),this._scandir=X5.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let i=this._scandir(t,this._settings.fsScandirSettings);for(let n of i)this._handleEntry(n,r)}catch(i){this._handleError(i)}}_handleError(t){if(_u.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let i=t.path;r!==void 0&&(t.path=_u.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),_u.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&_u.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(i,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};b_.default=T_});var mM=_(D_=>{"use strict";o();Object.defineProperty(D_,"__esModule",{value:!0});var Z5=dM(),y_=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new Z5.default(this._root,this._settings)}read(){return this._reader.read()}};D_.default=y_});var fM=_(P_=>{"use strict";o();Object.defineProperty(P_,"__esModule",{value:!0});var Q5=N("path"),e6=mu(),C_=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Q5.sep),this.fsScandirSettings=new e6.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};P_.default=C_});var vu=_(pr=>{"use strict";o();Object.defineProperty(pr,"__esModule",{value:!0});pr.Settings=pr.walkStream=pr.walkSync=pr.walk=void 0;var hM=pM(),t6=lM(),r6=mM(),w_=fM();pr.Settings=w_.default;function i6(e,t,r){if(typeof t=="function"){new hM.default(e,Eu()).read(t);return}new hM.default(e,Eu(t)).read(r)}pr.walk=i6;function n6(e,t){let r=Eu(t);return new r6.default(e,r).read()}pr.walkSync=n6;function s6(e,t){let r=Eu(t);return new t6.default(e,r).read()}pr.walkStream=s6;function Eu(e={}){return e instanceof w_.default?e:new w_.default(e)}});var gu=_(F_=>{"use strict";o();Object.defineProperty(F_,"__esModule",{value:!0});var a6=N("path"),o6=Gi(),_M=Cr(),L_=class{constructor(t){this._settings=t,this._fsStatSettings=new o6.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return a6.resolve(this._settings.cwd,t)}_makeEntry(t,r){let i={name:r,path:r,dirent:_M.fs.createDirentFromStats(r,t)};return this._settings.stats&&(i.stats=t),i}_isFatalError(t){return!_M.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};F_.default=L_});var q_=_(U_=>{"use strict";o();Object.defineProperty(U_,"__esModule",{value:!0});var c6=N("stream"),u6=Gi(),p6=vu(),l6=gu(),M_=class extends l6.default{constructor(){super(...arguments),this._walkStream=p6.walkStream,this._stat=u6.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let i=t.map(this._getFullEntryPath,this),n=new c6.PassThrough({objectMode:!0});n._write=(s,a,c)=>this._getEntry(i[s],t[s],r).then(u=>{u!==null&&r.entryFilter(u)&&n.push(u),s===i.length-1&&n.end(),c()}).catch(c);for(let s=0;s<i.length;s++)n.write(s);return n}_getEntry(t,r,i){return this._getStat(t).then(n=>this._makeEntry(n,r)).catch(n=>{if(i.errorFilter(n))return null;throw n})}_getStat(t){return new Promise((r,i)=>{this._stat(t,this._fsStatSettings,(n,s)=>n===null?r(s):i(n))})}};U_.default=M_});var EM=_(G_=>{"use strict";o();Object.defineProperty(G_,"__esModule",{value:!0});var d6=vu(),m6=gu(),f6=q_(),k_=class extends m6.default{constructor(){super(...arguments),this._walkAsync=d6.walk,this._readerStream=new f6.default(this._settings)}dynamic(t,r){return new Promise((i,n)=>{this._walkAsync(t,r,(s,a)=>{s===null?i(a):n(s)})})}async static(t,r){let i=[],n=this._readerStream.static(t,r);return new Promise((s,a)=>{n.once("error",a),n.on("data",c=>i.push(c)),n.once("end",()=>s(i))})}};G_.default=k_});var vM=_(H_=>{"use strict";o();Object.defineProperty(H_,"__esModule",{value:!0});var ca=Cr(),B_=class{constructor(t,r,i){this._patterns=t,this._settings=r,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let t of this._patterns){let r=this._getPatternSegments(t),i=this._splitSegmentsIntoSections(r);this._storage.push({complete:i.length<=1,pattern:t,segments:r,sections:i})}}_getPatternSegments(t){return ca.pattern.getPatternParts(t,this._micromatchOptions).map(i=>ca.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:ca.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(t){return ca.array.splitWhen(t,r=>r.dynamic&&ca.pattern.hasGlobStar(r.pattern))}};H_.default=B_});var gM=_(j_=>{"use strict";o();Object.defineProperty(j_,"__esModule",{value:!0});var h6=vM(),W_=class extends h6.default{match(t){let r=t.split("/"),i=r.length,n=this._storage.filter(s=>!s.complete||s.segments.length>i);for(let s of n){let a=s.sections[0];if(!s.complete&&i>a.length||r.every((u,p)=>{let l=s.segments[p];return!!(l.dynamic&&l.patternRe.test(u)||!l.dynamic&&l.pattern===u)}))return!0}return!1}};j_.default=W_});var xM=_(K_=>{"use strict";o();Object.defineProperty(K_,"__esModule",{value:!0});var xu=Cr(),_6=gM(),V_=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,i){let n=this._getMatcher(r),s=this._getNegativePatternsRe(i);return a=>this._filter(t,a,n,s)}_getMatcher(t){return new _6.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(xu.pattern.isAffectDepthOfReadingPattern);return xu.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,i,n){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=xu.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,i)?!1:this._isSkippedByNegativePatterns(s,n)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let i=r.split("/").length;if(t==="")return i;let n=t.split("/").length;return i-n}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!xu.pattern.matchAny(t,r)}};K_.default=V_});var SM=_($_=>{"use strict";o();Object.defineProperty($_,"__esModule",{value:!0});var Bi=Cr(),Y_=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let i=Bi.pattern.convertPatternsToRe(t,this._micromatchOptions),n=Bi.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return s=>this._filter(s,i,n)}_filter(t,r,i){let n=Bi.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(n,i))return!1;let s=t.dirent.isDirectory(),a=this._isMatchToPatterns(n,r,s)&&!this._isMatchToPatterns(n,i,s);return this._settings.unique&&a&&this._createIndexRecord(n),a}_isDuplicateEntry(t){return this.index.has(t)}_createIndexRecord(t){this.index.set(t,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let i=Bi.path.makeAbsolute(this._settings.cwd,t);return Bi.pattern.matchAny(i,r)}_isMatchToPatterns(t,r,i){let n=Bi.pattern.matchAny(t,r);return!n&&i?Bi.pattern.matchAny(t+"/",r):n}};$_.default=Y_});var OM=_(X_=>{"use strict";o();Object.defineProperty(X_,"__esModule",{value:!0});var E6=Cr(),z_=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return E6.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};X_.default=z_});var NM=_(Z_=>{"use strict";o();Object.defineProperty(Z_,"__esModule",{value:!0});var AM=Cr(),J_=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=AM.path.makeAbsolute(this._settings.cwd,r),r=AM.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Z_.default=J_});var Su=_(eE=>{"use strict";o();Object.defineProperty(eE,"__esModule",{value:!0});var v6=N("path"),g6=xM(),x6=SM(),S6=OM(),O6=NM(),Q_=class{constructor(t){this._settings=t,this.errorFilter=new S6.default(this._settings),this.entryFilter=new x6.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new g6.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new O6.default(this._settings)}_getRootDirectory(t){return v6.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};eE.default=Q_});var IM=_(rE=>{"use strict";o();Object.defineProperty(rE,"__esModule",{value:!0});var A6=EM(),N6=Su(),tE=class extends N6.default{constructor(){super(...arguments),this._reader=new A6.default(this._settings)}async read(t){let r=this._getRootDirectory(t),i=this._getReaderOptions(t);return(await this.api(r,t,i)).map(s=>i.transform(s))}api(t,r,i){return r.dynamic?this._reader.dynamic(t,i):this._reader.static(r.patterns,i)}};rE.default=tE});var RM=_(nE=>{"use strict";o();Object.defineProperty(nE,"__esModule",{value:!0});var I6=N("stream"),R6=q_(),T6=Su(),iE=class extends T6.default{constructor(){super(...arguments),this._reader=new R6.default(this._settings)}read(t){let r=this._getRootDirectory(t),i=this._getReaderOptions(t),n=this.api(r,t,i),s=new I6.Readable({objectMode:!0,read:()=>{}});return n.once("error",a=>s.emit("error",a)).on("data",a=>s.emit("data",i.transform(a))).once("end",()=>s.emit("end")),s.once("close",()=>n.destroy()),s}api(t,r,i){return r.dynamic?this._reader.dynamic(t,i):this._reader.static(r.patterns,i)}};nE.default=iE});var TM=_(aE=>{"use strict";o();Object.defineProperty(aE,"__esModule",{value:!0});var b6=Gi(),y6=vu(),D6=gu(),sE=class extends D6.default{constructor(){super(...arguments),this._walkSync=y6.walkSync,this._statSync=b6.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let i=[];for(let n of t){let s=this._getFullEntryPath(n),a=this._getEntry(s,n,r);a===null||!r.entryFilter(a)||i.push(a)}return i}_getEntry(t,r,i){try{let n=this._getStat(t);return this._makeEntry(n,r)}catch(n){if(i.errorFilter(n))return null;throw n}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};aE.default=sE});var bM=_(cE=>{"use strict";o();Object.defineProperty(cE,"__esModule",{value:!0});var C6=TM(),P6=Su(),oE=class extends P6.default{constructor(){super(...arguments),this._reader=new C6.default(this._settings)}read(t){let r=this._getRootDirectory(t),i=this._getReaderOptions(t);return this.api(r,t,i).map(i.transform)}api(t,r,i){return r.dynamic?this._reader.dynamic(t,i):this._reader.static(r.patterns,i)}};cE.default=oE});var yM=_(Kn=>{"use strict";o();Object.defineProperty(Kn,"__esModule",{value:!0});Kn.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Vn=N("fs"),w6=N("os"),L6=Math.max(w6.cpus().length,1);Kn.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Vn.lstat,lstatSync:Vn.lstatSync,stat:Vn.stat,statSync:Vn.statSync,readdir:Vn.readdir,readdirSync:Vn.readdirSync};var uE=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,L6),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},Kn.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Kn.default=uE});var mE=_((IAe,CM)=>{"use strict";o();var DM=CF(),F6=IM(),M6=RM(),U6=bM(),pE=yM(),Mt=Cr();async function lE(e,t){$t(e);let r=dE(e,F6.default,t),i=await Promise.all(r);return Mt.array.flatten(i)}(function(e){e.glob=e,e.globSync=t,e.globStream=r,e.async=e;function t(p,l){$t(p);let f=dE(p,U6.default,l);return Mt.array.flatten(f)}e.sync=t;function r(p,l){$t(p);let f=dE(p,M6.default,l);return Mt.stream.merge(f)}e.stream=r;function i(p,l){$t(p);let f=[].concat(p),h=new pE.default(l);return DM.generate(f,h)}e.generateTasks=i;function n(p,l){$t(p);let f=new pE.default(l);return Mt.pattern.isDynamicPattern(p,f)}e.isDynamicPattern=n;function s(p){return $t(p),Mt.path.escape(p)}e.escapePath=s;function a(p){return $t(p),Mt.path.convertPathToPattern(p)}e.convertPathToPattern=a;let c;(function(p){function l(h){return $t(h),Mt.path.escapePosixPath(h)}p.escapePath=l;function f(h){return $t(h),Mt.path.convertPosixPathToPattern(h)}p.convertPathToPattern=f})(c=e.posix||(e.posix={}));let u;(function(p){function l(h){return $t(h),Mt.path.escapeWindowsPath(h)}p.escapePath=l;function f(h){return $t(h),Mt.path.convertWindowsPathToPattern(h)}p.convertPathToPattern=f})(u=e.win32||(e.win32={}))})(lE||(lE={}));function dE(e,t,r){let i=[].concat(e),n=new pE.default(r),s=DM.generate(i,n),a=new t(n);return s.map(a.read,a)}function $t(e){if(![].concat(e).every(i=>Mt.string.isString(i)&&!Mt.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}CM.exports=lE});var wM=_(Hi=>{"use strict";o();var{promisify:q6}=N("util"),PM=N("fs");async function fE(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await q6(PM[e])(r))[t]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}function hE(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return PM[e](r)[t]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}Hi.isFile=fE.bind(null,"stat","isFile");Hi.isDirectory=fE.bind(null,"stat","isDirectory");Hi.isSymlink=fE.bind(null,"lstat","isSymbolicLink");Hi.isFileSync=hE.bind(null,"statSync","isFile");Hi.isDirectorySync=hE.bind(null,"statSync","isDirectory");Hi.isSymlinkSync=hE.bind(null,"lstatSync","isSymbolicLink")});var qM=_((yAe,_E)=>{"use strict";o();var Wi=N("path"),LM=wM(),FM=e=>e.length>1?`{${e.join(",")}}`:e[0],MM=(e,t)=>{let r=e[0]==="!"?e.slice(1):e;return Wi.isAbsolute(r)?r:Wi.join(t,r)},k6=(e,t)=>Wi.extname(e)?`**/${e}`:`**/${e}.${FM(t)}`,UM=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map(r=>Wi.posix.join(e,k6(r,t.extensions))):t.files?t.files.map(r=>Wi.posix.join(e,`**/${r}`)):t.extensions?[Wi.posix.join(e,`**/*.${FM(t.extensions)}`)]:[Wi.posix.join(e,"**")]};_E.exports=async(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=await Promise.all([].concat(e).map(async i=>await LM.isDirectory(MM(i,t.cwd))?UM(i,t):i));return[].concat.apply([],r)};_E.exports.sync=(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=[].concat(e).map(i=>LM.isDirectorySync(MM(i,t.cwd))?UM(i,t):i);return[].concat.apply([],r)}});var $M=_((CAe,YM)=>{"use strict";o();function kM(e){return Array.isArray(e)?e:[e]}var WM="",GM=" ",EE="\\",G6=/^\s+$/,B6=/(?:[^\\]|^)\\$/,H6=/^\\!/,W6=/^\\#/,j6=/\r?\n/g,V6=/^\.*\/|^\.+$/,vE="/",jM="node-ignore";typeof Symbol<"u"&&(jM=Symbol.for("node-ignore"));var BM=jM,K6=(e,t,r)=>Object.defineProperty(e,t,{value:r}),Y6=/([0-z])-([0-z])/g,VM=()=>!1,$6=e=>e.replace(Y6,(t,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?t:WM),z6=e=>{let{length:t}=e;return e.slice(0,t-t%2)},X6=[[/\\?\s+$/,e=>e.indexOf("\\")===0?GM:WM],[/\\\s/g,()=>GM],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let i=r.replace(/\\\*/g,"[^\\/]*");return t+i}],[/\\\\\\(?=[$.|*+(){^])/g,()=>EE],[/\\\\/g,()=>EE],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,i,n)=>t===EE?`\\[${r}${z6(i)}${n}`:n==="]"&&i.length%2===0?`[${$6(r)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],HM=Object.create(null),J6=(e,t)=>{let r=HM[e];return r||(r=X6.reduce((i,n)=>i.replace(n[0],n[1].bind(e)),e),HM[e]=r),t?new RegExp(r,"i"):new RegExp(r)},SE=e=>typeof e=="string",Z6=e=>e&&SE(e)&&!G6.test(e)&&!B6.test(e)&&e.indexOf("#")!==0,Q6=e=>e.split(j6),gE=class{constructor(t,r,i,n){this.origin=t,this.pattern=r,this.negative=i,this.regex=n}},e8=(e,t)=>{let r=e,i=!1;e.indexOf("!")===0&&(i=!0,e=e.substr(1)),e=e.replace(H6,"!").replace(W6,"#");let n=J6(e,t);return new gE(r,e,i,n)},t8=(e,t)=>{throw new t(e)},Pr=(e,t,r)=>SE(e)?e?Pr.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),KM=e=>V6.test(e);Pr.isNotRelative=KM;Pr.convert=e=>e;var xE=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:i=!1}={}){K6(this,BM,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[BM]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(Z6(t)){let r=e8(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,kM(SE(t)?Q6(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let i=!1,n=!1;return this._rules.forEach(s=>{let{negative:a}=s;if(n===a&&i!==n||a&&!i&&!n&&!r)return;s.regex.test(t)&&(i=!a,n=a)}),{ignored:i,unignored:n}}_test(t,r,i,n){let s=t&&Pr.convert(t);return Pr(s,t,this._allowRelativePaths?VM:t8),this._t(s,r,i,n)}_t(t,r,i,n){if(t in r)return r[t];if(n||(n=t.split(vE)),n.pop(),!n.length)return r[t]=this._testOne(t,i);let s=this._t(n.join(vE)+vE,r,i,n);return r[t]=s.ignored?s:this._testOne(t,i)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return kM(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},Ou=e=>new xE(e),r8=e=>Pr(e&&Pr.convert(e),e,VM);Ou.isPathValid=r8;Ou.default=Ou;YM.exports=Ou;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");Pr.convert=e;let t=/^[a-z]:\//i;Pr.isNotRelative=r=>t.test(r)||KM(r)}});var TE=_((VNe,gU)=>{"use strict";o();var O8=Va(),A8=sp(),N8="[object AsyncFunction]",I8="[object Function]",R8="[object GeneratorFunction]",T8="[object Proxy]";function b8(e){if(!A8(e))return!1;var t=O8(e);return t==I8||t==R8||t==N8||t==T8}gU.exports=b8});var SU=_((YNe,xU)=>{"use strict";o();var y8=Fr(),D8=y8["__core-js_shared__"];xU.exports=D8});var NU=_((zNe,AU)=>{"use strict";o();var bE=SU(),OU=function(){var e=/[^.]+$/.exec(bE&&bE.keys&&bE.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function C8(e){return!!OU&&OU in e}AU.exports=C8});var yE=_((JNe,IU)=>{"use strict";o();var P8=Function.prototype,w8=P8.toString;function L8(e){if(e!=null){try{return w8.call(e)}catch{}try{return e+""}catch{}}return""}IU.exports=L8});var TU=_((QNe,RU)=>{"use strict";o();var F8=TE(),M8=NU(),U8=sp(),q8=yE(),k8=/[\\^$.*+?()[\]{}|]/g,G8=/^\[object .+?Constructor\]$/,B8=Function.prototype,H8=Object.prototype,W8=B8.toString,j8=H8.hasOwnProperty,V8=RegExp("^"+W8.call(j8).replace(k8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function K8(e){if(!U8(e)||M8(e))return!1;var t=F8(e)?V8:G8;return t.test(q8(e))}RU.exports=K8});var yU=_((tIe,bU)=>{"use strict";o();function Y8(e,t){return e?.[t]}bU.exports=Y8});var mi=_((iIe,DU)=>{"use strict";o();var $8=TU(),z8=yU();function X8(e,t){var r=z8(e,t);return $8(r)?r:void 0}DU.exports=X8});var PU=_((sIe,CU)=>{"use strict";o();var J8=mi(),Z8=function(){try{var e=J8(Object,"defineProperty");return e({},"",{}),e}catch{}}();CU.exports=Z8});var FU=_((oIe,LU)=>{"use strict";o();var wU=PU();function Q8(e,t,r){t=="__proto__"&&wU?wU(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}LU.exports=Q8});var UU=_((uIe,MU)=>{"use strict";o();function e7(e,t,r,i){for(var n=-1,s=e==null?0:e.length;++n<s;){var a=e[n];t(i,a,r(a),e)}return i}MU.exports=e7});var kU=_((lIe,qU)=>{"use strict";o();function t7(e){return function(t,r,i){for(var n=-1,s=Object(t),a=i(t),c=a.length;c--;){var u=a[e?c:++n];if(r(s[u],u,s)===!1)break}return t}}qU.exports=t7});var BU=_((mIe,GU)=>{"use strict";o();var r7=kU(),i7=r7();GU.exports=i7});var WU=_((hIe,HU)=>{"use strict";o();function n7(e,t){for(var r=-1,i=Array(e);++r<e;)i[r]=t(r);return i}HU.exports=n7});var VU=_((EIe,jU)=>{"use strict";o();var s7=Va(),a7=Ka(),o7="[object Arguments]";function c7(e){return a7(e)&&s7(e)==o7}jU.exports=c7});var DE=_((gIe,$U)=>{"use strict";o();var KU=VU(),u7=Ka(),YU=Object.prototype,p7=YU.hasOwnProperty,l7=YU.propertyIsEnumerable,d7=KU(function(){return arguments}())?KU:function(e){return u7(e)&&p7.call(e,"callee")&&!l7.call(e,"callee")};$U.exports=d7});var dr=_((SIe,zU)=>{"use strict";o();var m7=Array.isArray;zU.exports=m7});var JU=_((AIe,XU)=>{"use strict";o();function f7(){return!1}XU.exports=f7});var CE=_((da,zn)=>{"use strict";o();var h7=Fr(),_7=JU(),e0=typeof da=="object"&&da&&!da.nodeType&&da,ZU=e0&&typeof zn=="object"&&zn&&!zn.nodeType&&zn,E7=ZU&&ZU.exports===e0,QU=E7?h7.Buffer:void 0,v7=QU?QU.isBuffer:void 0,g7=v7||_7;zn.exports=g7});var PE=_((RIe,t0)=>{"use strict";o();var x7=9007199254740991,S7=/^(?:0|[1-9]\d*)$/;function O7(e,t){var r=typeof e;return t=t??x7,!!t&&(r=="number"||r!="symbol"&&S7.test(e))&&e>-1&&e%1==0&&e<t}t0.exports=O7});var Ru=_((bIe,r0)=>{"use strict";o();var A7=9007199254740991;function N7(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=A7}r0.exports=N7});var n0=_((DIe,i0)=>{"use strict";o();var I7=Va(),R7=Ru(),T7=Ka(),b7="[object Arguments]",y7="[object Array]",D7="[object Boolean]",C7="[object Date]",P7="[object Error]",w7="[object Function]",L7="[object Map]",F7="[object Number]",M7="[object Object]",U7="[object RegExp]",q7="[object Set]",k7="[object String]",G7="[object WeakMap]",B7="[object ArrayBuffer]",H7="[object DataView]",W7="[object Float32Array]",j7="[object Float64Array]",V7="[object Int8Array]",K7="[object Int16Array]",Y7="[object Int32Array]",$7="[object Uint8Array]",z7="[object Uint8ClampedArray]",X7="[object Uint16Array]",J7="[object Uint32Array]",de={};de[W7]=de[j7]=de[V7]=de[K7]=de[Y7]=de[$7]=de[z7]=de[X7]=de[J7]=!0;de[b7]=de[y7]=de[B7]=de[D7]=de[H7]=de[C7]=de[P7]=de[w7]=de[L7]=de[F7]=de[M7]=de[U7]=de[q7]=de[k7]=de[G7]=!1;function Z7(e){return T7(e)&&R7(e.length)&&!!de[I7(e)]}i0.exports=Z7});var a0=_((PIe,s0)=>{"use strict";o();function Q7(e){return function(t){return e(t)}}s0.exports=Q7});var c0=_((ma,Xn)=>{"use strict";o();var e9=AW(),o0=typeof ma=="object"&&ma&&!ma.nodeType&&ma,fa=o0&&typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,t9=fa&&fa.exports===o0,wE=t9&&e9.process,r9=function(){try{var e=fa&&fa.require&&fa.require("util").types;return e||wE&&wE.binding&&wE.binding("util")}catch{}}();Xn.exports=r9});var LE=_((FIe,l0)=>{"use strict";o();var i9=n0(),n9=a0(),u0=c0(),p0=u0&&u0.isTypedArray,s9=p0?n9(p0):i9;l0.exports=s9});var m0=_((UIe,d0)=>{"use strict";o();var a9=WU(),o9=DE(),c9=dr(),u9=CE(),p9=PE(),l9=LE(),d9=Object.prototype,m9=d9.hasOwnProperty;function f9(e,t){var r=c9(e),i=!r&&o9(e),n=!r&&!i&&u9(e),s=!r&&!i&&!n&&l9(e),a=r||i||n||s,c=a?a9(e.length,String):[],u=c.length;for(var p in e)(t||m9.call(e,p))&&!(a&&(p=="length"||n&&(p=="offset"||p=="parent")||s&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||p9(p,u)))&&c.push(p);return c}d0.exports=f9});var h0=_((kIe,f0)=>{"use strict";o();var h9=Object.prototype;function _9(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||h9;return e===r}f0.exports=_9});var E0=_((BIe,_0)=>{"use strict";o();function E9(e,t){return function(r){return e(t(r))}}_0.exports=E9});var g0=_((WIe,v0)=>{"use strict";o();var v9=E0(),g9=v9(Object.keys,Object);v0.exports=g9});var S0=_((VIe,x0)=>{"use strict";o();var x9=h0(),S9=g0(),O9=Object.prototype,A9=O9.hasOwnProperty;function N9(e){if(!x9(e))return S9(e);var t=[];for(var r in Object(e))A9.call(e,r)&&r!="constructor"&&t.push(r);return t}x0.exports=N9});var FE=_((YIe,O0)=>{"use strict";o();var I9=TE(),R9=Ru();function T9(e){return e!=null&&R9(e.length)&&!I9(e)}O0.exports=T9});var Tu=_((zIe,A0)=>{"use strict";o();var b9=m0(),y9=S0(),D9=FE();function C9(e){return D9(e)?b9(e):y9(e)}A0.exports=C9});var I0=_((JIe,N0)=>{"use strict";o();var P9=BU(),w9=Tu();function L9(e,t){return e&&P9(e,t,w9)}N0.exports=L9});var T0=_((QIe,R0)=>{"use strict";o();var F9=FE();function M9(e,t){return function(r,i){if(r==null)return r;if(!F9(r))return e(r,i);for(var n=r.length,s=t?n:-1,a=Object(r);(t?s--:++s<n)&&i(a[s],s,a)!==!1;);return r}}R0.exports=M9});var y0=_((tRe,b0)=>{"use strict";o();var U9=I0(),q9=T0(),k9=q9(U9);b0.exports=k9});var C0=_((iRe,D0)=>{"use strict";o();var G9=y0();function B9(e,t,r,i){return G9(e,function(n,s,a){t(i,n,r(n),a)}),i}D0.exports=B9});var w0=_((sRe,P0)=>{"use strict";o();function H9(){this.__data__=[],this.size=0}P0.exports=H9});var ME=_((oRe,L0)=>{"use strict";o();function W9(e,t){return e===t||e!==e&&t!==t}L0.exports=W9});var ha=_((uRe,F0)=>{"use strict";o();var j9=ME();function V9(e,t){for(var r=e.length;r--;)if(j9(e[r][0],t))return r;return-1}F0.exports=V9});var U0=_((lRe,M0)=>{"use strict";o();var K9=ha(),Y9=Array.prototype,$9=Y9.splice;function z9(e){var t=this.__data__,r=K9(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():$9.call(t,r,1),--this.size,!0}M0.exports=z9});var k0=_((mRe,q0)=>{"use strict";o();var X9=ha();function J9(e){var t=this.__data__,r=X9(t,e);return r<0?void 0:t[r][1]}q0.exports=J9});var B0=_((hRe,G0)=>{"use strict";o();var Z9=ha();function Q9(e){return Z9(this.__data__,e)>-1}G0.exports=Q9});var W0=_((ERe,H0)=>{"use strict";o();var eZ=ha();function tZ(e,t){var r=this.__data__,i=eZ(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}H0.exports=tZ});var _a=_((gRe,j0)=>{"use strict";o();var rZ=w0(),iZ=U0(),nZ=k0(),sZ=B0(),aZ=W0();function Jn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Jn.prototype.clear=rZ;Jn.prototype.delete=iZ;Jn.prototype.get=nZ;Jn.prototype.has=sZ;Jn.prototype.set=aZ;j0.exports=Jn});var K0=_((SRe,V0)=>{"use strict";o();var oZ=_a();function cZ(){this.__data__=new oZ,this.size=0}V0.exports=cZ});var $0=_((ARe,Y0)=>{"use strict";o();function uZ(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Y0.exports=uZ});var X0=_((IRe,z0)=>{"use strict";o();function pZ(e){return this.__data__.get(e)}z0.exports=pZ});var Z0=_((TRe,J0)=>{"use strict";o();function lZ(e){return this.__data__.has(e)}J0.exports=lZ});var bu=_((yRe,Q0)=>{"use strict";o();var dZ=mi(),mZ=Fr(),fZ=dZ(mZ,"Map");Q0.exports=fZ});var Ea=_((CRe,e1)=>{"use strict";o();var hZ=mi(),_Z=hZ(Object,"create");e1.exports=_Z});var i1=_((wRe,r1)=>{"use strict";o();var t1=Ea();function EZ(){this.__data__=t1?t1(null):{},this.size=0}r1.exports=EZ});var s1=_((FRe,n1)=>{"use strict";o();function vZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}n1.exports=vZ});var o1=_((URe,a1)=>{"use strict";o();var gZ=Ea(),xZ="__lodash_hash_undefined__",SZ=Object.prototype,OZ=SZ.hasOwnProperty;function AZ(e){var t=this.__data__;if(gZ){var r=t[e];return r===xZ?void 0:r}return OZ.call(t,e)?t[e]:void 0}a1.exports=AZ});var u1=_((kRe,c1)=>{"use strict";o();var NZ=Ea(),IZ=Object.prototype,RZ=IZ.hasOwnProperty;function TZ(e){var t=this.__data__;return NZ?t[e]!==void 0:RZ.call(t,e)}c1.exports=TZ});var l1=_((BRe,p1)=>{"use strict";o();var bZ=Ea(),yZ="__lodash_hash_undefined__";function DZ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=bZ&&t===void 0?yZ:t,this}p1.exports=DZ});var m1=_((WRe,d1)=>{"use strict";o();var CZ=i1(),PZ=s1(),wZ=o1(),LZ=u1(),FZ=l1();function Zn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Zn.prototype.clear=CZ;Zn.prototype.delete=PZ;Zn.prototype.get=wZ;Zn.prototype.has=LZ;Zn.prototype.set=FZ;d1.exports=Zn});var _1=_((VRe,h1)=>{"use strict";o();var f1=m1(),MZ=_a(),UZ=bu();function qZ(){this.size=0,this.__data__={hash:new f1,map:new(UZ||MZ),string:new f1}}h1.exports=qZ});var v1=_((YRe,E1)=>{"use strict";o();function kZ(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}E1.exports=kZ});var va=_((zRe,g1)=>{"use strict";o();var GZ=v1();function BZ(e,t){var r=e.__data__;return GZ(t)?r[typeof t=="string"?"string":"hash"]:r.map}g1.exports=BZ});var S1=_((JRe,x1)=>{"use strict";o();var HZ=va();function WZ(e){var t=HZ(this,e).delete(e);return this.size-=t?1:0,t}x1.exports=WZ});var A1=_((QRe,O1)=>{"use strict";o();var jZ=va();function VZ(e){return jZ(this,e).get(e)}O1.exports=VZ});var I1=_((tTe,N1)=>{"use strict";o();var KZ=va();function YZ(e){return KZ(this,e).has(e)}N1.exports=YZ});var T1=_((iTe,R1)=>{"use strict";o();var $Z=va();function zZ(e,t){var r=$Z(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}R1.exports=zZ});var yu=_((sTe,b1)=>{"use strict";o();var XZ=_1(),JZ=S1(),ZZ=A1(),QZ=I1(),eQ=T1();function Qn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Qn.prototype.clear=XZ;Qn.prototype.delete=JZ;Qn.prototype.get=ZZ;Qn.prototype.has=QZ;Qn.prototype.set=eQ;b1.exports=Qn});var D1=_((oTe,y1)=>{"use strict";o();var tQ=_a(),rQ=bu(),iQ=yu(),nQ=200;function sQ(e,t){var r=this.__data__;if(r instanceof tQ){var i=r.__data__;if(!rQ||i.length<nQ-1)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new iQ(i)}return r.set(e,t),this.size=r.size,this}y1.exports=sQ});var UE=_((uTe,C1)=>{"use strict";o();var aQ=_a(),oQ=K0(),cQ=$0(),uQ=X0(),pQ=Z0(),lQ=D1();function es(e){var t=this.__data__=new aQ(e);this.size=t.size}es.prototype.clear=oQ;es.prototype.delete=cQ;es.prototype.get=uQ;es.prototype.has=pQ;es.prototype.set=lQ;C1.exports=es});var w1=_((lTe,P1)=>{"use strict";o();var dQ="__lodash_hash_undefined__";function mQ(e){return this.__data__.set(e,dQ),this}P1.exports=mQ});var F1=_((mTe,L1)=>{"use strict";o();function fQ(e){return this.__data__.has(e)}L1.exports=fQ});var U1=_((hTe,M1)=>{"use strict";o();var hQ=yu(),_Q=w1(),EQ=F1();function Du(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new hQ;++t<r;)this.add(e[t])}Du.prototype.add=Du.prototype.push=_Q;Du.prototype.has=EQ;M1.exports=Du});var k1=_((ETe,q1)=>{"use strict";o();function vQ(e,t){for(var r=-1,i=e==null?0:e.length;++r<i;)if(t(e[r],r,e))return!0;return!1}q1.exports=vQ});var B1=_((gTe,G1)=>{"use strict";o();function gQ(e,t){return e.has(t)}G1.exports=gQ});var qE=_((STe,H1)=>{"use strict";o();var xQ=U1(),SQ=k1(),OQ=B1(),AQ=1,NQ=2;function IQ(e,t,r,i,n,s){var a=r&AQ,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var p=s.get(e),l=s.get(t);if(p&&l)return p==t&&l==e;var f=-1,h=!0,E=r&NQ?new xQ:void 0;for(s.set(e,t),s.set(t,e);++f<c;){var x=e[f],S=t[f];if(i)var I=a?i(S,x,f,t,e,s):i(x,S,f,e,t,s);if(I!==void 0){if(I)continue;h=!1;break}if(E){if(!SQ(t,function(b,q){if(!OQ(E,q)&&(x===b||n(x,b,r,i,s)))return E.push(q)})){h=!1;break}}else if(!(x===S||n(x,S,r,i,s))){h=!1;break}}return s.delete(e),s.delete(t),h}H1.exports=IQ});var j1=_((ATe,W1)=>{"use strict";o();var RQ=Fr(),TQ=RQ.Uint8Array;W1.exports=TQ});var K1=_((ITe,V1)=>{"use strict";o();function bQ(e){var t=-1,r=Array(e.size);return e.forEach(function(i,n){r[++t]=[n,i]}),r}V1.exports=bQ});var $1=_((TTe,Y1)=>{"use strict";o();function yQ(e){var t=-1,r=Array(e.size);return e.forEach(function(i){r[++t]=i}),r}Y1.exports=yQ});var Q1=_((yTe,Z1)=>{"use strict";o();var z1=cg(),X1=j1(),DQ=ME(),CQ=qE(),PQ=K1(),wQ=$1(),LQ=1,FQ=2,MQ="[object Boolean]",UQ="[object Date]",qQ="[object Error]",kQ="[object Map]",GQ="[object Number]",BQ="[object RegExp]",HQ="[object Set]",WQ="[object String]",jQ="[object Symbol]",VQ="[object ArrayBuffer]",KQ="[object DataView]",J1=z1?z1.prototype:void 0,kE=J1?J1.valueOf:void 0;function YQ(e,t,r,i,n,s,a){switch(r){case KQ:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case VQ:return!(e.byteLength!=t.byteLength||!s(new X1(e),new X1(t)));case MQ:case UQ:case GQ:return DQ(+e,+t);case qQ:return e.name==t.name&&e.message==t.message;case BQ:case WQ:return e==t+"";case kQ:var c=PQ;case HQ:var u=i&LQ;if(c||(c=wQ),e.size!=t.size&&!u)return!1;var p=a.get(e);if(p)return p==t;i|=FQ,a.set(e,t);var l=CQ(c(e),c(t),i,n,s,a);return a.delete(e),l;case jQ:if(kE)return kE.call(e)==kE.call(t)}return!1}Z1.exports=YQ});var tq=_((CTe,eq)=>{"use strict";o();function $Q(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}eq.exports=$Q});var iq=_((wTe,rq)=>{"use strict";o();var zQ=tq(),XQ=dr();function JQ(e,t,r){var i=t(e);return XQ(e)?i:zQ(i,r(e))}rq.exports=JQ});var sq=_((FTe,nq)=>{"use strict";o();function ZQ(e,t){for(var r=-1,i=e==null?0:e.length,n=0,s=[];++r<i;){var a=e[r];t(a,r,e)&&(s[n++]=a)}return s}nq.exports=ZQ});var oq=_((UTe,aq)=>{"use strict";o();function QQ(){return[]}aq.exports=QQ});var pq=_((kTe,uq)=>{"use strict";o();var eee=sq(),tee=oq(),ree=Object.prototype,iee=ree.propertyIsEnumerable,cq=Object.getOwnPropertySymbols,nee=cq?function(e){return e==null?[]:(e=Object(e),eee(cq(e),function(t){return iee.call(e,t)}))}:tee;uq.exports=nee});var dq=_((BTe,lq)=>{"use strict";o();var see=iq(),aee=pq(),oee=Tu();function cee(e){return see(e,oee,aee)}lq.exports=cee});var hq=_((WTe,fq)=>{"use strict";o();var mq=dq(),uee=1,pee=Object.prototype,lee=pee.hasOwnProperty;function dee(e,t,r,i,n,s){var a=r&uee,c=mq(e),u=c.length,p=mq(t),l=p.length;if(u!=l&&!a)return!1;for(var f=u;f--;){var h=c[f];if(!(a?h in t:lee.call(t,h)))return!1}var E=s.get(e),x=s.get(t);if(E&&x)return E==t&&x==e;var S=!0;s.set(e,t),s.set(t,e);for(var I=a;++f<u;){h=c[f];var b=e[h],q=t[h];if(i)var k=a?i(q,b,h,t,e,s):i(b,q,h,e,t,s);if(!(k===void 0?b===q||n(b,q,r,i,s):k)){S=!1;break}I||(I=h=="constructor")}if(S&&!I){var W=e.constructor,M=t.constructor;W!=M&&"constructor"in e&&"constructor"in t&&!(typeof W=="function"&&W instanceof W&&typeof M=="function"&&M instanceof M)&&(S=!1)}return s.delete(e),s.delete(t),S}fq.exports=dee});var Eq=_((VTe,_q)=>{"use strict";o();var mee=mi(),fee=Fr(),hee=mee(fee,"DataView");_q.exports=hee});var gq=_((YTe,vq)=>{"use strict";o();var _ee=mi(),Eee=Fr(),vee=_ee(Eee,"Promise");vq.exports=vee});var Sq=_((zTe,xq)=>{"use strict";o();var gee=mi(),xee=Fr(),See=gee(xee,"Set");xq.exports=See});var Aq=_((JTe,Oq)=>{"use strict";o();var Oee=mi(),Aee=Fr(),Nee=Oee(Aee,"WeakMap");Oq.exports=Nee});var Cq=_((QTe,Dq)=>{"use strict";o();var GE=Eq(),BE=bu(),HE=gq(),WE=Sq(),jE=Aq(),yq=Va(),ts=yE(),Nq="[object Map]",Iee="[object Object]",Iq="[object Promise]",Rq="[object Set]",Tq="[object WeakMap]",bq="[object DataView]",Ree=ts(GE),Tee=ts(BE),bee=ts(HE),yee=ts(WE),Dee=ts(jE),ji=yq;(GE&&ji(new GE(new ArrayBuffer(1)))!=bq||BE&&ji(new BE)!=Nq||HE&&ji(HE.resolve())!=Iq||WE&&ji(new WE)!=Rq||jE&&ji(new jE)!=Tq)&&(ji=function(e){var t=yq(e),r=t==Iee?e.constructor:void 0,i=r?ts(r):"";if(i)switch(i){case Ree:return bq;case Tee:return Nq;case bee:return Iq;case yee:return Rq;case Dee:return Tq}return t});Dq.exports=ji});var kq=_((tbe,qq)=>{"use strict";o();var VE=UE(),Cee=qE(),Pee=Q1(),wee=hq(),Pq=Cq(),wq=dr(),Lq=CE(),Lee=LE(),Fee=1,Fq="[object Arguments]",Mq="[object Array]",Cu="[object Object]",Mee=Object.prototype,Uq=Mee.hasOwnProperty;function Uee(e,t,r,i,n,s){var a=wq(e),c=wq(t),u=a?Mq:Pq(e),p=c?Mq:Pq(t);u=u==Fq?Cu:u,p=p==Fq?Cu:p;var l=u==Cu,f=p==Cu,h=u==p;if(h&&Lq(e)){if(!Lq(t))return!1;a=!0,l=!1}if(h&&!l)return s||(s=new VE),a||Lee(e)?Cee(e,t,r,i,n,s):Pee(e,t,u,r,i,n,s);if(!(r&Fee)){var E=l&&Uq.call(e,"__wrapped__"),x=f&&Uq.call(t,"__wrapped__");if(E||x){var S=E?e.value():e,I=x?t.value():t;return s||(s=new VE),n(S,I,r,i,s)}}return h?(s||(s=new VE),wee(e,t,r,i,n,s)):!1}qq.exports=Uee});var KE=_((ibe,Hq)=>{"use strict";o();var qee=kq(),Gq=Ka();function Bq(e,t,r,i,n){return e===t?!0:e==null||t==null||!Gq(e)&&!Gq(t)?e!==e&&t!==t:qee(e,t,r,i,Bq,n)}Hq.exports=Bq});var jq=_((sbe,Wq)=>{"use strict";o();var kee=UE(),Gee=KE(),Bee=1,Hee=2;function Wee(e,t,r,i){var n=r.length,s=n,a=!i;if(e==null)return!s;for(e=Object(e);n--;){var c=r[n];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++n<s;){c=r[n];var u=c[0],p=e[u],l=c[1];if(a&&c[2]){if(p===void 0&&!(u in e))return!1}else{var f=new kee;if(i)var h=i(p,l,u,e,t,f);if(!(h===void 0?Gee(l,p,Bee|Hee,i,f):h))return!1}}return!0}Wq.exports=Wee});var YE=_((obe,Vq)=>{"use strict";o();var jee=sp();function Vee(e){return e===e&&!jee(e)}Vq.exports=Vee});var Yq=_((ube,Kq)=>{"use strict";o();var Kee=YE(),Yee=Tu();function $ee(e){for(var t=Yee(e),r=t.length;r--;){var i=t[r],n=e[i];t[r]=[i,n,Kee(n)]}return t}Kq.exports=$ee});var $E=_((lbe,$q)=>{"use strict";o();function zee(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}$q.exports=zee});var Xq=_((mbe,zq)=>{"use strict";o();var Xee=jq(),Jee=Yq(),Zee=$E();function Qee(e){var t=Jee(e);return t.length==1&&t[0][2]?Zee(t[0][0],t[0][1]):function(r){return r===e||Xee(r,e,t)}}zq.exports=Qee});var Pu=_((hbe,Jq)=>{"use strict";o();var ete=dr(),tte=ap(),rte=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ite=/^\w*$/;function nte(e,t){if(ete(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||tte(e)?!0:ite.test(e)||!rte.test(e)||t!=null&&e in Object(t)}Jq.exports=nte});var ek=_((Ebe,Qq)=>{"use strict";o();var Zq=yu(),ste="Expected a function";function zE(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ste);var r=function(){var i=arguments,n=t?t.apply(this,i):i[0],s=r.cache;if(s.has(n))return s.get(n);var a=e.apply(this,i);return r.cache=s.set(n,a)||s,a};return r.cache=new(zE.Cache||Zq),r}zE.Cache=Zq;Qq.exports=zE});var rk=_((gbe,tk)=>{"use strict";o();var ate=ek(),ote=500;function cte(e){var t=ate(e,function(i){return r.size===ote&&r.clear(),i}),r=t.cache;return t}tk.exports=cte});var nk=_((Sbe,ik)=>{"use strict";o();var ute=rk(),pte=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lte=/\\(\\)?/g,dte=ute(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pte,function(r,i,n,s){t.push(n?s.replace(lte,"$1"):i||r)}),t});ik.exports=dte});var ak=_((Abe,sk)=>{"use strict";o();function mte(e,t){for(var r=-1,i=e==null?0:e.length,n=Array(i);++r<i;)n[r]=t(e[r],r,e);return n}sk.exports=mte});var dk=_((Ibe,lk)=>{"use strict";o();var ok=cg(),fte=ak(),hte=dr(),_te=ap(),Ete=1/0,ck=ok?ok.prototype:void 0,uk=ck?ck.toString:void 0;function pk(e){if(typeof e=="string")return e;if(hte(e))return fte(e,pk)+"";if(_te(e))return uk?uk.call(e):"";var t=e+"";return t=="0"&&1/e==-Ete?"-0":t}lk.exports=pk});var fk=_((Tbe,mk)=>{"use strict";o();var vte=dk();function gte(e){return e==null?"":vte(e)}mk.exports=gte});var XE=_((ybe,hk)=>{"use strict";o();var xte=dr(),Ste=Pu(),Ote=nk(),Ate=fk();function Nte(e,t){return xte(e)?e:Ste(e,t)?[e]:Ote(Ate(e))}hk.exports=Nte});var ga=_((Cbe,_k)=>{"use strict";o();var Ite=ap(),Rte=1/0;function Tte(e){if(typeof e=="string"||Ite(e))return e;var t=e+"";return t=="0"&&1/e==-Rte?"-0":t}_k.exports=Tte});var JE=_((wbe,Ek)=>{"use strict";o();var bte=XE(),yte=ga();function Dte(e,t){t=bte(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[yte(t[r++])];return r&&r==i?e:void 0}Ek.exports=Dte});var gk=_((Fbe,vk)=>{"use strict";o();var Cte=JE();function Pte(e,t,r){var i=e==null?void 0:Cte(e,t);return i===void 0?r:i}vk.exports=Pte});var Sk=_((Ube,xk)=>{"use strict";o();function wte(e,t){return e!=null&&t in Object(e)}xk.exports=wte});var Ak=_((kbe,Ok)=>{"use strict";o();var Lte=XE(),Fte=DE(),Mte=dr(),Ute=PE(),qte=Ru(),kte=ga();function Gte(e,t,r){t=Lte(t,e);for(var i=-1,n=t.length,s=!1;++i<n;){var a=kte(t[i]);if(!(s=e!=null&&r(e,a)))break;e=e[a]}return s||++i!=n?s:(n=e==null?0:e.length,!!n&&qte(n)&&Ute(a,n)&&(Mte(e)||Fte(e)))}Ok.exports=Gte});var Ik=_((Bbe,Nk)=>{"use strict";o();var Bte=Sk(),Hte=Ak();function Wte(e,t){return e!=null&&Hte(e,t,Bte)}Nk.exports=Wte});var Tk=_((Wbe,Rk)=>{"use strict";o();var jte=KE(),Vte=gk(),Kte=Ik(),Yte=Pu(),$te=YE(),zte=$E(),Xte=ga(),Jte=1,Zte=2;function Qte(e,t){return Yte(e)&&$te(t)?zte(Xte(e),t):function(r){var i=Vte(r,e);return i===void 0&&i===t?Kte(r,e):jte(t,i,Jte|Zte)}}Rk.exports=Qte});var yk=_((Vbe,bk)=>{"use strict";o();function ere(e){return e}bk.exports=ere});var Ck=_((Ybe,Dk)=>{"use strict";o();function tre(e){return function(t){return t?.[e]}}Dk.exports=tre});var wk=_((zbe,Pk)=>{"use strict";o();var rre=JE();function ire(e){return function(t){return rre(t,e)}}Pk.exports=ire});var Fk=_((Jbe,Lk)=>{"use strict";o();var nre=Ck(),sre=wk(),are=Pu(),ore=ga();function cre(e){return are(e)?nre(ore(e)):sre(e)}Lk.exports=cre});var Uk=_((Qbe,Mk)=>{"use strict";o();var ure=Xq(),pre=Tk(),lre=yk(),dre=dr(),mre=Fk();function fre(e){return typeof e=="function"?e:e==null?lre:typeof e=="object"?dre(e)?pre(e[0],e[1]):ure(e):mre(e)}Mk.exports=fre});var kk=_((tye,qk)=>{"use strict";o();var hre=UU(),_re=C0(),Ere=Uk(),vre=dr();function gre(e,t){return function(r,i){var n=vre(r)?hre:_re,s=t?t():{};return n(r,e,Ere(i,2),s)}}qk.exports=gre});var Bk=_((iye,Gk)=>{"use strict";o();var xre=FU(),Sre=kk(),Ore=Sre(function(e,t,r){xre(e,r,t)});Gk.exports=Ore});var Na=_((FDe,_G)=>{"use strict";o();var xie="2.0.0",Sie=Number.MAX_SAFE_INTEGER||9007199254740991,Oie=16,Aie=250,Nie=["major","premajor","minor","preminor","patch","prepatch","prerelease"];_G.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Oie,MAX_SAFE_BUILD_LENGTH:Aie,MAX_SAFE_INTEGER:Sie,RELEASE_TYPES:Nie,SEMVER_SPEC_VERSION:xie,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ia=_((UDe,EG)=>{"use strict";o();var Iie=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};EG.exports=Iie});var ss=_((wr,vG)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:sv,MAX_SAFE_BUILD_LENGTH:Rie,MAX_LENGTH:Tie}=Na(),bie=Ia();wr=vG.exports={};var yie=wr.re=[],Die=wr.safeRe=[],w=wr.src=[],L=wr.t={},Cie=0,av="[a-zA-Z0-9-]",Pie=[["\\s",1],["\\d",Tie],[av,Rie]],wie=e=>{for(let[t,r]of Pie)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Y=(e,t,r)=>{let i=wie(t),n=Cie++;bie(e,n,t),L[e]=n,w[n]=t,yie[n]=new RegExp(t,r?"g":void 0),Die[n]=new RegExp(i,r?"g":void 0)};Y("NUMERICIDENTIFIER","0|[1-9]\\d*");Y("NUMERICIDENTIFIERLOOSE","\\d+");Y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${av}*`);Y("MAINVERSION",`(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})`);Y("MAINVERSIONLOOSE",`(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})`);Y("PRERELEASEIDENTIFIER",`(?:${w[L.NUMERICIDENTIFIER]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASEIDENTIFIERLOOSE",`(?:${w[L.NUMERICIDENTIFIERLOOSE]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASE",`(?:-(${w[L.PRERELEASEIDENTIFIER]}(?:\\.${w[L.PRERELEASEIDENTIFIER]})*))`);Y("PRERELEASELOOSE",`(?:-?(${w[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${w[L.PRERELEASEIDENTIFIERLOOSE]})*))`);Y("BUILDIDENTIFIER",`${av}+`);Y("BUILD",`(?:\\+(${w[L.BUILDIDENTIFIER]}(?:\\.${w[L.BUILDIDENTIFIER]})*))`);Y("FULLPLAIN",`v?${w[L.MAINVERSION]}${w[L.PRERELEASE]}?${w[L.BUILD]}?`);Y("FULL",`^${w[L.FULLPLAIN]}$`);Y("LOOSEPLAIN",`[v=\\s]*${w[L.MAINVERSIONLOOSE]}${w[L.PRERELEASELOOSE]}?${w[L.BUILD]}?`);Y("LOOSE",`^${w[L.LOOSEPLAIN]}$`);Y("GTLT","((?:<|>)?=?)");Y("XRANGEIDENTIFIERLOOSE",`${w[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Y("XRANGEIDENTIFIER",`${w[L.NUMERICIDENTIFIER]}|x|X|\\*`);Y("XRANGEPLAIN",`[v=\\s]*(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:${w[L.PRERELEASE]})?${w[L.BUILD]}?)?)?`);Y("XRANGEPLAINLOOSE",`[v=\\s]*(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:${w[L.PRERELEASELOOSE]})?${w[L.BUILD]}?)?)?`);Y("XRANGE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAIN]}$`);Y("XRANGELOOSE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAINLOOSE]}$`);Y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${sv}})(?:\\.(\\d{1,${sv}}))?(?:\\.(\\d{1,${sv}}))?`);Y("COERCE",`${w[L.COERCEPLAIN]}(?:$|[^\\d])`);Y("COERCEFULL",w[L.COERCEPLAIN]+`(?:${w[L.PRERELEASE]})?(?:${w[L.BUILD]})?(?:$|[^\\d])`);Y("COERCERTL",w[L.COERCE],!0);Y("COERCERTLFULL",w[L.COERCEFULL],!0);Y("LONETILDE","(?:~>?)");Y("TILDETRIM",`(\\s*)${w[L.LONETILDE]}\\s+`,!0);wr.tildeTrimReplace="$1~";Y("TILDE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAIN]}$`);Y("TILDELOOSE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAINLOOSE]}$`);Y("LONECARET","(?:\\^)");Y("CARETTRIM",`(\\s*)${w[L.LONECARET]}\\s+`,!0);wr.caretTrimReplace="$1^";Y("CARET",`^${w[L.LONECARET]}${w[L.XRANGEPLAIN]}$`);Y("CARETLOOSE",`^${w[L.LONECARET]}${w[L.XRANGEPLAINLOOSE]}$`);Y("COMPARATORLOOSE",`^${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]})$|^$`);Y("COMPARATOR",`^${w[L.GTLT]}\\s*(${w[L.FULLPLAIN]})$|^$`);Y("COMPARATORTRIM",`(\\s*)${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]}|${w[L.XRANGEPLAIN]})`,!0);wr.comparatorTrimReplace="$1$2$3";Y("HYPHENRANGE",`^\\s*(${w[L.XRANGEPLAIN]})\\s+-\\s+(${w[L.XRANGEPLAIN]})\\s*$`);Y("HYPHENRANGELOOSE",`^\\s*(${w[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${w[L.XRANGEPLAINLOOSE]})\\s*$`);Y("STAR","(<|>)?=?\\s*\\*");Y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Lu=_((GDe,gG)=>{"use strict";o();var Lie=Object.freeze({loose:!0}),Fie=Object.freeze({}),Mie=e=>e?typeof e!="object"?Lie:e:Fie;gG.exports=Mie});var ov=_((HDe,OG)=>{"use strict";o();var xG=/^[0-9]+$/,SG=(e,t)=>{let r=xG.test(e),i=xG.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},Uie=(e,t)=>SG(t,e);OG.exports={compareIdentifiers:SG,rcompareIdentifiers:Uie}});var et=_((jDe,RG)=>{"use strict";o();var Fu=Ia(),{MAX_LENGTH:AG,MAX_SAFE_INTEGER:Mu}=Na(),{safeRe:NG,t:IG}=ss(),qie=Lu(),{compareIdentifiers:as}=ov(),cv=class e{constructor(t,r){if(r=qie(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>AG)throw new TypeError(`version is longer than ${AG} characters`);Fu("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let i=t.trim().match(r.loose?NG[IG.LOOSE]:NG[IG.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Mu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Mu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Mu||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s<Mu)return s}return n}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Fu("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),as(this.major,t.major)||as(this.minor,t.minor)||as(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let i=this.prerelease[r],n=t.prerelease[r];if(Fu("prerelease compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return as(i,n)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let i=this.build[r],n=t.build[r];if(Fu("build compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return as(i,n)}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,i),this.inc("pre",r,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,i),this.inc("pre",r,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(i)?1:0;if(!r&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let s=[r,n];i===!1&&(s=[r]),as(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};RG.exports=cv});var Yi=_((KDe,bG)=>{"use strict";o();var TG=et(),kie=(e,t,r=!1)=>{if(e instanceof TG)return e;try{return new TG(e,t)}catch(i){if(!r)return null;throw i}};bG.exports=kie});var DG=_(($De,yG)=>{"use strict";o();var Gie=Yi(),Bie=(e,t)=>{let r=Gie(e,t);return r?r.version:null};yG.exports=Bie});var PG=_((XDe,CG)=>{"use strict";o();var Hie=Yi(),Wie=(e,t)=>{let r=Hie(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};CG.exports=Wie});var FG=_((ZDe,LG)=>{"use strict";o();var wG=et(),jie=(e,t,r,i,n)=>{typeof r=="string"&&(n=i,i=r,r=void 0);try{return new wG(e instanceof wG?e.version:e,r).inc(t,i,n).version}catch{return null}};LG.exports=jie});var qG=_((eCe,UG)=>{"use strict";o();var MG=Yi(),Vie=(e,t)=>{let r=MG(e,null,!0),i=MG(t,null,!0),n=r.compare(i);if(n===0)return null;let s=n>0,a=s?r:i,c=s?i:r,u=!!a.prerelease.length;if(!!c.prerelease.length&&!u)return!c.patch&&!c.minor?"major":a.patch?"patch":a.minor?"minor":"major";let l=u?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"};UG.exports=Vie});var GG=_((rCe,kG)=>{"use strict";o();var Kie=et(),Yie=(e,t)=>new Kie(e,t).major;kG.exports=Yie});var HG=_((nCe,BG)=>{"use strict";o();var $ie=et(),zie=(e,t)=>new $ie(e,t).minor;BG.exports=zie});var jG=_((aCe,WG)=>{"use strict";o();var Xie=et(),Jie=(e,t)=>new Xie(e,t).patch;WG.exports=Jie});var KG=_((cCe,VG)=>{"use strict";o();var Zie=Yi(),Qie=(e,t)=>{let r=Zie(e,t);return r&&r.prerelease.length?r.prerelease:null};VG.exports=Qie});var qt=_((pCe,$G)=>{"use strict";o();var YG=et(),ene=(e,t,r)=>new YG(e,r).compare(new YG(t,r));$G.exports=ene});var XG=_((dCe,zG)=>{"use strict";o();var tne=qt(),rne=(e,t,r)=>tne(t,e,r);zG.exports=rne});var ZG=_((fCe,JG)=>{"use strict";o();var ine=qt(),nne=(e,t)=>ine(e,t,!0);JG.exports=nne});var Uu=_((_Ce,eB)=>{"use strict";o();var QG=et(),sne=(e,t,r)=>{let i=new QG(e,r),n=new QG(t,r);return i.compare(n)||i.compareBuild(n)};eB.exports=sne});var rB=_((vCe,tB)=>{"use strict";o();var ane=Uu(),one=(e,t)=>e.sort((r,i)=>ane(r,i,t));tB.exports=one});var nB=_((xCe,iB)=>{"use strict";o();var cne=Uu(),une=(e,t)=>e.sort((r,i)=>cne(i,r,t));iB.exports=une});var Ra=_((OCe,sB)=>{"use strict";o();var pne=qt(),lne=(e,t,r)=>pne(e,t,r)>0;sB.exports=lne});var qu=_((NCe,aB)=>{"use strict";o();var dne=qt(),mne=(e,t,r)=>dne(e,t,r)<0;aB.exports=mne});var uv=_((RCe,oB)=>{"use strict";o();var fne=qt(),hne=(e,t,r)=>fne(e,t,r)===0;oB.exports=hne});var pv=_((bCe,cB)=>{"use strict";o();var _ne=qt(),Ene=(e,t,r)=>_ne(e,t,r)!==0;cB.exports=Ene});var ku=_((DCe,uB)=>{"use strict";o();var vne=qt(),gne=(e,t,r)=>vne(e,t,r)>=0;uB.exports=gne});var Gu=_((PCe,pB)=>{"use strict";o();var xne=qt(),Sne=(e,t,r)=>xne(e,t,r)<=0;pB.exports=Sne});var lv=_((LCe,lB)=>{"use strict";o();var One=uv(),Ane=pv(),Nne=Ra(),Ine=ku(),Rne=qu(),Tne=Gu(),bne=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return One(e,r,i);case"!=":return Ane(e,r,i);case">":return Nne(e,r,i);case">=":return Ine(e,r,i);case"<":return Rne(e,r,i);case"<=":return Tne(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}};lB.exports=bne});var mB=_((MCe,dB)=>{"use strict";o();var yne=et(),Dne=Yi(),{safeRe:Bu,t:Hu}=ss(),Cne=(e,t)=>{if(e instanceof yne)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Bu[Hu.COERCEFULL]:Bu[Hu.COERCE]);else{let u=t.includePrerelease?Bu[Hu.COERCERTLFULL]:Bu[Hu.COERCERTL],p;for(;(p=u.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||p.index+p[0].length!==r.index+r[0].length)&&(r=p),u.lastIndex=p.index+p[1].length+p[2].length;u.lastIndex=-1}if(r===null)return null;let i=r[2],n=r[3]||"0",s=r[4]||"0",a=t.includePrerelease&&r[5]?`-${r[5]}`:"",c=t.includePrerelease&&r[6]?`+${r[6]}`:"";return Dne(`${i}.${n}.${s}${a}${c}`,t)};dB.exports=Cne});var hB=_((qCe,fB)=>{"use strict";o();var dv=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(t,r)}return this}};fB.exports=dv});var kt=_((GCe,gB)=>{"use strict";o();var mv=class e{constructor(t,r){if(r=wne(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof fv)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!EB(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Gne(n[0])){this.set=[n];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&qne)|(this.options.loose&&kne))+":"+t,n=_B.get(i);if(n)return n;let s=this.options.loose,a=s?_t[st.HYPHENRANGELOOSE]:_t[st.HYPHENRANGE];t=t.replace(a,Xne(this.options.includePrerelease)),me("hyphen replace",t),t=t.replace(_t[st.COMPARATORTRIM],Fne),me("comparator trim",t),t=t.replace(_t[st.TILDETRIM],Mne),me("tilde trim",t),t=t.replace(_t[st.CARETTRIM],Une),me("caret trim",t);let c=t.split(" ").map(f=>Bne(f,this.options)).join(" ").split(/\s+/).map(f=>zne(f,this.options));s&&(c=c.filter(f=>(me("loose invalid filter",f,this.options),!!f.match(_t[st.COMPARATORLOOSE])))),me("range list",c);let u=new Map,p=c.map(f=>new fv(f,this.options));for(let f of p){if(EB(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let l=[...u.values()];return _B.set(i,l),l}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(i=>vB(i,r)&&t.set.some(n=>vB(n,r)&&i.every(s=>n.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new Lne(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Jne(this.set[r],t,this.options))return!0;return!1}};gB.exports=mv;var Pne=hB(),_B=new Pne,wne=Lu(),fv=Ta(),me=Ia(),Lne=et(),{safeRe:_t,t:st,comparatorTrimReplace:Fne,tildeTrimReplace:Mne,caretTrimReplace:Une}=ss(),{FLAG_INCLUDE_PRERELEASE:qne,FLAG_LOOSE:kne}=Na(),EB=e=>e.value==="<0.0.0-0",Gne=e=>e.value==="",vB=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},Bne=(e,t)=>(me("comp",e,t),e=jne(e,t),me("caret",e),e=Hne(e,t),me("tildes",e),e=Kne(e,t),me("xrange",e),e=$ne(e,t),me("stars",e),e),at=e=>!e||e.toLowerCase()==="x"||e==="*",Hne=(e,t)=>e.trim().split(/\s+/).map(r=>Wne(r,t)).join(" "),Wne=(e,t)=>{let r=t.loose?_t[st.TILDELOOSE]:_t[st.TILDE];return e.replace(r,(i,n,s,a,c)=>{me("tilde",e,i,n,s,a,c);let u;return at(n)?u="":at(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:at(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:c?(me("replaceTilde pr",c),u=`>=${n}.${s}.${a}-${c} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,me("tilde return",u),u})},jne=(e,t)=>e.trim().split(/\s+/).map(r=>Vne(r,t)).join(" "),Vne=(e,t)=>{me("caret",e,t);let r=t.loose?_t[st.CARETLOOSE]:_t[st.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,c,u)=>{me("caret",e,n,s,a,c,u);let p;return at(s)?p="":at(a)?p=`>=${s}.0.0${i} <${+s+1}.0.0-0`:at(c)?s==="0"?p=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(me("replaceCaret pr",u),s==="0"?a==="0"?p=`>=${s}.${a}.${c}-${u} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}-${u} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c}-${u} <${+s+1}.0.0-0`):(me("no pr"),s==="0"?a==="0"?p=`>=${s}.${a}.${c}${i} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),me("caret return",p),p})},Kne=(e,t)=>(me("replaceXRanges",e,t),e.split(/\s+/).map(r=>Yne(r,t)).join(" ")),Yne=(e,t)=>{e=e.trim();let r=t.loose?_t[st.XRANGELOOSE]:_t[st.XRANGE];return e.replace(r,(i,n,s,a,c,u)=>{me("xRange",e,i,n,s,a,c,u);let p=at(s),l=p||at(a),f=l||at(c),h=f;return n==="="&&h&&(n=""),u=t.includePrerelease?"-0":"",p?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&h?(l&&(a=0),c=0,n===">"?(n=">=",l?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",l?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${c}${u}`):l?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:f&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),me("xRange return",i),i})},$ne=(e,t)=>(me("replaceStars",e,t),e.trim().replace(_t[st.STAR],"")),zne=(e,t)=>(me("replaceGTE0",e,t),e.trim().replace(_t[t.includePrerelease?st.GTE0PRE:st.GTE0],"")),Xne=e=>(t,r,i,n,s,a,c,u,p,l,f,h)=>(at(i)?r="":at(n)?r=`>=${i}.0.0${e?"-0":""}`:at(s)?r=`>=${i}.${n}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,at(p)?u="":at(l)?u=`<${+p+1}.0.0-0`:at(f)?u=`<${p}.${+l+1}.0-0`:h?u=`<=${p}.${l}.${f}-${h}`:e?u=`<${p}.${l}.${+f+1}-0`:u=`<=${u}`,`${r} ${u}`.trim()),Jne=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(me(e[i].semver),e[i].semver!==fv.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}});var Ta=_((HCe,IB)=>{"use strict";o();var ba=Symbol("SemVer ANY"),Ev=class e{static get ANY(){return ba}constructor(t,r){if(r=xB(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),_v("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===ba?this.value="":this.value=this.operator+this.semver.version,_v("comp",this)}parse(t){let r=this.options.loose?SB[OB.COMPARATORLOOSE]:SB[OB.COMPARATOR],i=t.match(r);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new AB(i[2],this.options.loose):this.semver=ba}toString(){return this.value}test(t){if(_v("Comparator.test",t,this.options.loose),this.semver===ba||t===ba)return!0;if(typeof t=="string")try{t=new AB(t,this.options)}catch{return!1}return hv(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new NB(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new NB(this.value,r).test(t.semver):(r=xB(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||hv(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||hv(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};IB.exports=Ev;var xB=Lu(),{safeRe:SB,t:OB}=ss(),hv=lv(),_v=Ia(),AB=et(),NB=kt()});var ya=_((jCe,RB)=>{"use strict";o();var Zne=kt(),Qne=(e,t,r)=>{try{t=new Zne(t,r)}catch{return!1}return t.test(e)};RB.exports=Qne});var bB=_((KCe,TB)=>{"use strict";o();var ese=kt(),tse=(e,t)=>new ese(e,t).set.map(r=>r.map(i=>i.value).join(" ").trim().split(" "));TB.exports=tse});var DB=_(($Ce,yB)=>{"use strict";o();var rse=et(),ise=kt(),nse=(e,t,r)=>{let i=null,n=null,s=null;try{s=new ise(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===-1)&&(i=a,n=new rse(i,r))}),i};yB.exports=nse});var PB=_((XCe,CB)=>{"use strict";o();var sse=et(),ase=kt(),ose=(e,t,r)=>{let i=null,n=null,s=null;try{s=new ase(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===1)&&(i=a,n=new sse(i,r))}),i};CB.exports=ose});var FB=_((ZCe,LB)=>{"use strict";o();var vv=et(),cse=kt(),wB=Ra(),use=(e,t)=>{e=new cse(e,t);let r=new vv("0.0.0");if(e.test(r)||(r=new vv("0.0.0-0"),e.test(r)))return r;r=null;for(let i=0;i<e.set.length;++i){let n=e.set[i],s=null;n.forEach(a=>{let c=new vv(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||wB(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||wB(r,s))&&(r=s)}return r&&e.test(r)?r:null};LB.exports=use});var UB=_((ePe,MB)=>{"use strict";o();var pse=kt(),lse=(e,t)=>{try{return new pse(e,t).range||"*"}catch{return null}};MB.exports=lse});var Wu=_((rPe,BB)=>{"use strict";o();var dse=et(),GB=Ta(),{ANY:mse}=GB,fse=kt(),hse=ya(),qB=Ra(),kB=qu(),_se=Gu(),Ese=ku(),vse=(e,t,r,i)=>{e=new dse(e,i),t=new fse(t,i);let n,s,a,c,u;switch(r){case">":n=qB,s=_se,a=kB,c=">",u=">=";break;case"<":n=kB,s=Ese,a=qB,c="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hse(e,t,i))return!1;for(let p=0;p<t.set.length;++p){let l=t.set[p],f=null,h=null;if(l.forEach(E=>{E.semver===mse&&(E=new GB(">=0.0.0")),f=f||E,h=h||E,n(E.semver,f.semver,i)?f=E:a(E.semver,h.semver,i)&&(h=E)}),f.operator===c||f.operator===u||(!h.operator||h.operator===c)&&s(e,h.semver))return!1;if(h.operator===u&&a(e,h.semver))return!1}return!0};BB.exports=vse});var WB=_((nPe,HB)=>{"use strict";o();var gse=Wu(),xse=(e,t,r)=>gse(e,t,">",r);HB.exports=xse});var VB=_((aPe,jB)=>{"use strict";o();var Sse=Wu(),Ose=(e,t,r)=>Sse(e,t,"<",r);jB.exports=Ose});var $B=_((cPe,YB)=>{"use strict";o();var KB=kt(),Ase=(e,t,r)=>(e=new KB(e,r),t=new KB(t,r),e.intersects(t,r));YB.exports=Ase});var XB=_((pPe,zB)=>{"use strict";o();var Nse=ya(),Ise=qt();zB.exports=(e,t,r)=>{let i=[],n=null,s=null,a=e.sort((l,f)=>Ise(l,f,r));for(let l of a)Nse(l,t,r)?(s=l,n||(n=l)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let c=[];for(let[l,f]of i)l===f?c.push(l):!f&&l===a[0]?c.push("*"):f?l===a[0]?c.push(`<=${f}`):c.push(`${l} - ${f}`):c.push(`>=${l}`);let u=c.join(" || "),p=typeof t.raw=="string"?t.raw:String(t);return u.length<p.length?u:t}});var rH=_((dPe,tH)=>{"use strict";o();var JB=kt(),xv=Ta(),{ANY:gv}=xv,Da=ya(),Sv=qt(),Rse=(e,t,r={})=>{if(e===t)return!0;e=new JB(e,r),t=new JB(t,r);let i=!1;e:for(let n of e.set){for(let s of t.set){let a=bse(n,s,r);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},Tse=[new xv(">=0.0.0-0")],ZB=[new xv(">=0.0.0")],bse=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===gv){if(t.length===1&&t[0].semver===gv)return!0;r.includePrerelease?e=Tse:e=ZB}if(t.length===1&&t[0].semver===gv){if(r.includePrerelease)return!0;t=ZB}let i=new Set,n,s;for(let E of e)E.operator===">"||E.operator===">="?n=QB(n,E,r):E.operator==="<"||E.operator==="<="?s=eH(s,E,r):i.add(E.semver);if(i.size>1)return null;let a;if(n&&s){if(a=Sv(n.semver,s.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let E of i){if(n&&!Da(E,String(n),r)||s&&!Da(E,String(s),r))return null;for(let x of t)if(!Da(E,String(x),r))return!1;return!0}let c,u,p,l,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let E of t){if(l=l||E.operator===">"||E.operator===">=",p=p||E.operator==="<"||E.operator==="<=",n){if(h&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===h.major&&E.semver.minor===h.minor&&E.semver.patch===h.patch&&(h=!1),E.operator===">"||E.operator===">="){if(c=QB(n,E,r),c===E&&c!==n)return!1}else if(n.operator===">="&&!Da(n.semver,String(E),r))return!1}if(s){if(f&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===f.major&&E.semver.minor===f.minor&&E.semver.patch===f.patch&&(f=!1),E.operator==="<"||E.operator==="<="){if(u=eH(s,E,r),u===E&&u!==s)return!1}else if(s.operator==="<="&&!Da(s.semver,String(E),r))return!1}if(!E.operator&&(s||n)&&a!==0)return!1}return!(n&&p&&!s&&a!==0||s&&l&&!n&&a!==0||h||f)},QB=(e,t,r)=>{if(!e)return t;let i=Sv(e.semver,t.semver,r);return i>0?e:i<0||t.operator===">"&&e.operator===">="?t:e},eH=(e,t,r)=>{if(!e)return t;let i=Sv(e.semver,t.semver,r);return i<0?e:i>0||t.operator==="<"&&e.operator==="<="?t:e};tH.exports=Rse});var aH=_((fPe,sH)=>{"use strict";o();var Ov=ss(),iH=Na(),yse=et(),nH=ov(),Dse=Yi(),Cse=DG(),Pse=PG(),wse=FG(),Lse=qG(),Fse=GG(),Mse=HG(),Use=jG(),qse=KG(),kse=qt(),Gse=XG(),Bse=ZG(),Hse=Uu(),Wse=rB(),jse=nB(),Vse=Ra(),Kse=qu(),Yse=uv(),$se=pv(),zse=ku(),Xse=Gu(),Jse=lv(),Zse=mB(),Qse=Ta(),eae=kt(),tae=ya(),rae=bB(),iae=DB(),nae=PB(),sae=FB(),aae=UB(),oae=Wu(),cae=WB(),uae=VB(),pae=$B(),lae=XB(),dae=rH();sH.exports={parse:Dse,valid:Cse,clean:Pse,inc:wse,diff:Lse,major:Fse,minor:Mse,patch:Use,prerelease:qse,compare:kse,rcompare:Gse,compareLoose:Bse,compareBuild:Hse,sort:Wse,rsort:jse,gt:Vse,lt:Kse,eq:Yse,neq:$se,gte:zse,lte:Xse,cmp:Jse,coerce:Zse,Comparator:Qse,Range:eae,satisfies:tae,toComparators:rae,maxSatisfying:iae,minSatisfying:nae,minVersion:sae,validRange:aae,outside:oae,gtr:cae,ltr:uae,intersects:pae,simplifyRange:lae,subset:dae,SemVer:yse,re:Ov.re,src:Ov.src,tokens:Ov.t,SEMVER_SPEC_VERSION:iH.SEMVER_SPEC_VERSION,RELEASE_TYPES:iH.RELEASE_TYPES,compareIdentifiers:nH.compareIdentifiers,rcompareIdentifiers:nH.rcompareIdentifiers}});var xH=_((MPe,gH)=>{"use strict";o();var Pa=N("fs"),{Readable:xae}=N("stream"),Ca=N("path"),{promisify:Yu}=N("util"),Tv=tu(),Sae=Yu(Pa.readdir),Oae=Yu(Pa.stat),mH=Yu(Pa.lstat),Aae=Yu(Pa.realpath),Nae="!",EH="READDIRP_RECURSIVE_ERROR",Iae=new Set(["ENOENT","EPERM","EACCES","ELOOP",EH]),bv="files",vH="directories",Vu="files_directories",ju="all",fH=[bv,vH,Vu,ju],Rae=e=>Iae.has(e.code),[hH,Tae]=process.versions.node.split(".").slice(0,2).map(e=>Number.parseInt(e,10)),bae=process.platform==="win32"&&(hH>10||hH===10&&Tae>=5),_H=e=>{if(e!==void 0){if(typeof e=="function")return e;if(typeof e=="string"){let t=Tv(e.trim());return r=>t(r.basename)}if(Array.isArray(e)){let t=[],r=[];for(let i of e){let n=i.trim();n.charAt(0)===Nae?r.push(Tv(n.slice(1))):t.push(Tv(n))}return r.length>0?t.length>0?i=>t.some(n=>n(i.basename))&&!r.some(n=>n(i.basename)):i=>!r.some(n=>n(i.basename)):i=>t.some(n=>n(i.basename))}}},Ku=class e extends xae{static get defaultOptions(){return{root:".",fileFilter:t=>!0,directoryFilter:t=>!0,type:bv,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(t={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:t.highWaterMark||4096});let r={...e.defaultOptions,...t},{root:i,type:n}=r;this._fileFilter=_H(r.fileFilter),this._directoryFilter=_H(r.directoryFilter);let s=r.lstat?mH:Oae;bae?this._stat=a=>s(a,{bigint:!0}):this._stat=s,this._maxDepth=r.depth,this._wantsDir=[vH,Vu,ju].includes(n),this._wantsFile=[bv,Vu,ju].includes(n),this._wantsEverything=n===ju,this._root=Ca.resolve(i),this._isDirent="Dirent"in Pa&&!r.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(i,1)],this.reading=!1,this.parent=void 0}async _read(t){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&t>0;){let{path:r,depth:i,files:n=[]}=this.parent||{};if(n.length>0){let s=n.splice(0,t).map(a=>this._formatEntry(a,r));for(let a of await Promise.all(s)){if(this.destroyed)return;let c=await this._getEntryType(a);c==="directory"&&this._directoryFilter(a)?(i<=this._maxDepth&&this.parents.push(this._exploreDir(a.fullPath,i+1)),this._wantsDir&&(this.push(a),t--)):(c==="file"||this._includeAsFile(a))&&this._fileFilter(a)&&this._wantsFile&&(this.push(a),t--)}}else{let s=this.parents.pop();if(!s){this.push(null);break}if(this.parent=await s,this.destroyed)return}}}catch(r){this.destroy(r)}finally{this.reading=!1}}}async _exploreDir(t,r){let i;try{i=await Sae(t,this._rdOptions)}catch(n){this._onError(n)}return{files:i,depth:r,path:t}}async _formatEntry(t,r){let i;try{let n=this._isDirent?t.name:t,s=Ca.resolve(Ca.join(r,n));i={path:Ca.relative(this._root,s),fullPath:s,basename:n},i[this._statsProp]=this._isDirent?t:await this._stat(s)}catch(n){this._onError(n)}return i}_onError(t){Rae(t)&&!this.destroyed?this.emit("warn",t):this.destroy(t)}async _getEntryType(t){let r=t&&t[this._statsProp];if(r){if(r.isFile())return"file";if(r.isDirectory())return"directory";if(r&&r.isSymbolicLink()){let i=t.fullPath;try{let n=await Aae(i),s=await mH(n);if(s.isFile())return"file";if(s.isDirectory()){let a=n.length;if(i.startsWith(n)&&i.substr(a,1)===Ca.sep){let c=new Error(`Circular symlink detected: "${i}" points to "${n}"`);return c.code=EH,this._onError(c)}return"directory"}}catch(n){this._onError(n)}}}}_includeAsFile(t){let r=t&&t[this._statsProp];return r&&this._wantsEverything&&!r.isDirectory()}},os=(e,t={})=>{let r=t.entryType||t.type;if(r==="both"&&(r=Vu),r&&(t.type=r),e){if(typeof e!="string")throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!fH.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${fH.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return t.root=e,new Ku(t)},yae=(e,t={})=>new Promise((r,i)=>{let n=[];os(e,t).on("data",s=>n.push(s)).on("end",()=>r(n)).on("error",s=>i(s))});os.promise=yae;os.ReaddirpStream=Ku;os.default=os;gH.exports=os});var yv=_((qPe,SH)=>{"use strict";o();SH.exports=function(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var i="";if(r>4&&e[3]==="\\"){var n=e[2];(n==="?"||n===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),i="//")}var s=e.split(/[/\\]+/);return t!==!1&&s[s.length-1]===""&&s.pop(),i+s.join("/")}});var TH=_((IH,RH)=>{"use strict";o();Object.defineProperty(IH,"__esModule",{value:!0});var NH=tu(),Dae=yv(),OH="!",Cae={returnIndex:!1},Pae=e=>Array.isArray(e)?e:[e],wae=(e,t)=>{if(typeof e=="function")return e;if(typeof e=="string"){let r=NH(e,t);return i=>e===i||r(i)}return e instanceof RegExp?r=>e.test(r):r=>!1},AH=(e,t,r,i)=>{let n=Array.isArray(r),s=n?r[0]:r;if(!n&&typeof s!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(s));let a=Dae(s);for(let u=0;u<t.length;u++){let p=t[u];if(p(a))return i?-1:!1}let c=n&&[a].concat(r.slice(1));for(let u=0;u<e.length;u++){let p=e[u];if(n?p(...c):p(a))return i?u:!0}return i?-1:!1},Dv=(e,t,r=Cae)=>{if(e==null)throw new TypeError("anymatch: specify first argument");let i=typeof r=="boolean"?{returnIndex:r}:r,n=i.returnIndex||!1,s=Pae(e),a=s.filter(u=>typeof u=="string"&&u.charAt(0)===OH).map(u=>u.slice(1)).map(u=>NH(u,i)),c=s.filter(u=>typeof u!="string"||typeof u=="string"&&u.charAt(0)!==OH).map(u=>wae(u,i));return t==null?(u,p=!1)=>AH(c,a,u,typeof p=="boolean"?p:!1):AH(c,a,t,n)};Dv.default=Dv;RH.exports=Dv});var bH=_((BPe,Lae)=>{Lae.exports=["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]});var DH=_((HPe,yH)=>{"use strict";o();yH.exports=bH()});var PH=_((jPe,CH)=>{"use strict";o();var Fae=N("path"),Mae=DH(),Uae=new Set(Mae);CH.exports=e=>Uae.has(Fae.extname(e).slice(1).toLowerCase())});var $u=_(G=>{"use strict";o();var{sep:qae}=N("path"),{platform:Cv}=process,kae=N("os");G.EV_ALL="all";G.EV_READY="ready";G.EV_ADD="add";G.EV_CHANGE="change";G.EV_ADD_DIR="addDir";G.EV_UNLINK="unlink";G.EV_UNLINK_DIR="unlinkDir";G.EV_RAW="raw";G.EV_ERROR="error";G.STR_DATA="data";G.STR_END="end";G.STR_CLOSE="close";G.FSEVENT_CREATED="created";G.FSEVENT_MODIFIED="modified";G.FSEVENT_DELETED="deleted";G.FSEVENT_MOVED="moved";G.FSEVENT_CLONED="cloned";G.FSEVENT_UNKNOWN="unknown";G.FSEVENT_FLAG_MUST_SCAN_SUBDIRS=1;G.FSEVENT_TYPE_FILE="file";G.FSEVENT_TYPE_DIRECTORY="directory";G.FSEVENT_TYPE_SYMLINK="symlink";G.KEY_LISTENERS="listeners";G.KEY_ERR="errHandlers";G.KEY_RAW="rawEmitters";G.HANDLER_KEYS=[G.KEY_LISTENERS,G.KEY_ERR,G.KEY_RAW];G.DOT_SLASH=`.${qae}`;G.BACK_SLASH_RE=/\\/g;G.DOUBLE_SLASH_RE=/\/\//;G.SLASH_OR_BACK_SLASH_RE=/[/\\]/;G.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;G.REPLACER_RE=/^\.[/\\]/;G.SLASH="/";G.SLASH_SLASH="//";G.BRACE_START="{";G.BANG="!";G.ONE_DOT=".";G.TWO_DOTS="..";G.STAR="*";G.GLOBSTAR="**";G.ROOT_GLOBSTAR="/**/*";G.SLASH_GLOBSTAR="/**";G.DIR_SUFFIX="Dir";G.ANYMATCH_OPTS={dot:!0};G.STRING_TYPE="string";G.FUNCTION_TYPE="function";G.EMPTY_STR="";G.EMPTY_FN=()=>{};G.IDENTITY_FN=e=>e;G.isWindows=Cv==="win32";G.isMacos=Cv==="darwin";G.isLinux=Cv==="linux";G.isIBMi=kae.type()==="OS400"});var qH=_(($Pe,UH)=>{"use strict";o();var Lr=N("fs"),qe=N("path"),{promisify:Ma}=N("util"),Gae=PH(),{isWindows:Bae,isLinux:Hae,EMPTY_FN:Wae,EMPTY_STR:jae,KEY_LISTENERS:cs,KEY_ERR:Pv,KEY_RAW:wa,HANDLER_KEYS:Vae,EV_CHANGE:Xu,EV_ADD:zu,EV_ADD_DIR:Kae,EV_ERROR:LH,STR_DATA:Yae,STR_END:$ae,BRACE_START:zae,STAR:Xae}=$u(),Jae="watch",Zae=Ma(Lr.open),FH=Ma(Lr.stat),Qae=Ma(Lr.lstat),eoe=Ma(Lr.close),wv=Ma(Lr.realpath),toe={lstat:Qae,stat:FH},Fv=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},La=(e,t,r)=>{let i=e[t];i instanceof Set||(e[t]=i=new Set([i])),i.add(r)},roe=e=>t=>{let r=e[t];r instanceof Set?r.clear():delete e[t]},Fa=(e,t,r)=>{let i=e[t];i instanceof Set?i.delete(r):i===r&&delete e[t]},MH=e=>e instanceof Set?e.size===0:!e,Ju=new Map;function wH(e,t,r,i,n){let s=(a,c)=>{r(e),n(a,c,{watchedPath:e}),c&&e!==c&&Zu(qe.resolve(e,c),cs,qe.join(e,c))};try{return Lr.watch(e,t,s)}catch(a){i(a)}}var Zu=(e,t,r,i,n)=>{let s=Ju.get(e);s&&Fv(s[t],a=>{a(r,i,n)})},ioe=(e,t,r,i)=>{let{listener:n,errHandler:s,rawEmitter:a}=i,c=Ju.get(t),u;if(!r.persistent)return u=wH(e,r,n,s,a),u.close.bind(u);if(c)La(c,cs,n),La(c,Pv,s),La(c,wa,a);else{if(u=wH(e,r,Zu.bind(null,t,cs),s,Zu.bind(null,t,wa)),!u)return;u.on(LH,async p=>{let l=Zu.bind(null,t,Pv);if(c.watcherUnusable=!0,Bae&&p.code==="EPERM")try{let f=await Zae(e,"r");await eoe(f),l(p)}catch{}else l(p)}),c={listeners:n,errHandlers:s,rawEmitters:a,watcher:u},Ju.set(t,c)}return()=>{Fa(c,cs,n),Fa(c,Pv,s),Fa(c,wa,a),MH(c.listeners)&&(c.watcher.close(),Ju.delete(t),Vae.forEach(roe(c)),c.watcher=void 0,Object.freeze(c))}},Lv=new Map,noe=(e,t,r,i)=>{let{listener:n,rawEmitter:s}=i,a=Lv.get(t),c=new Set,u=new Set,p=a&&a.options;return p&&(p.persistent<r.persistent||p.interval>r.interval)&&(c=a.listeners,u=a.rawEmitters,Lr.unwatchFile(t),a=void 0),a?(La(a,cs,n),La(a,wa,s)):(a={listeners:n,rawEmitters:s,options:r,watcher:Lr.watchFile(t,r,(l,f)=>{Fv(a.rawEmitters,E=>{E(Xu,t,{curr:l,prev:f})});let h=l.mtimeMs;(l.size!==f.size||h>f.mtimeMs||h===0)&&Fv(a.listeners,E=>E(e,l))})},Lv.set(t,a)),()=>{Fa(a,cs,n),Fa(a,wa,s),MH(a.listeners)&&(Lv.delete(t),Lr.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}},Mv=class{constructor(t){this.fsw=t,this._boundHandleError=r=>t._handleError(r)}_watchWithNodeFs(t,r){let i=this.fsw.options,n=qe.dirname(t),s=qe.basename(t);this.fsw._getWatchedDir(n).add(s);let c=qe.resolve(t),u={persistent:i.persistent};r||(r=Wae);let p;return i.usePolling?(u.interval=i.enableBinaryInterval&&Gae(s)?i.binaryInterval:i.interval,p=noe(t,c,u,{listener:r,rawEmitter:this.fsw._emitRaw})):p=ioe(t,c,u,{listener:r,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),p}_handleFile(t,r,i){if(this.fsw.closed)return;let n=qe.dirname(t),s=qe.basename(t),a=this.fsw._getWatchedDir(n),c=r;if(a.has(s))return;let u=async(l,f)=>{if(this.fsw._throttle(Jae,t,5)){if(!f||f.mtimeMs===0)try{let h=await FH(t);if(this.fsw.closed)return;let E=h.atimeMs,x=h.mtimeMs;(!E||E<=x||x!==c.mtimeMs)&&this.fsw._emit(Xu,t,h),Hae&&c.ino!==h.ino?(this.fsw._closeFile(l),c=h,this.fsw._addPathCloser(l,this._watchWithNodeFs(t,u))):c=h}catch{this.fsw._remove(n,s)}else if(a.has(s)){let h=f.atimeMs,E=f.mtimeMs;(!h||h<=E||E!==c.mtimeMs)&&this.fsw._emit(Xu,t,f),c=f}}},p=this._watchWithNodeFs(t,u);if(!(i&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(t)){if(!this.fsw._throttle(zu,t,0))return;this.fsw._emit(zu,t,r)}return p}async _handleSymlink(t,r,i,n){if(this.fsw.closed)return;let s=t.fullPath,a=this.fsw._getWatchedDir(r);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let c;try{c=await wv(i)}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(a.has(n)?this.fsw._symlinkPaths.get(s)!==c&&(this.fsw._symlinkPaths.set(s,c),this.fsw._emit(Xu,i,t.stats)):(a.add(n),this.fsw._symlinkPaths.set(s,c),this.fsw._emit(zu,i,t.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(s))return!0;this.fsw._symlinkPaths.set(s,!0)}_handleRead(t,r,i,n,s,a,c){if(t=qe.join(t,jae),!i.hasGlob&&(c=this.fsw._throttle("readdir",t,1e3),!c))return;let u=this.fsw._getWatchedDir(i.path),p=new Set,l=this.fsw._readdirp(t,{fileFilter:f=>i.filterPath(f),directoryFilter:f=>i.filterDir(f),depth:0}).on(Yae,async f=>{if(this.fsw.closed){l=void 0;return}let h=f.path,E=qe.join(t,h);if(p.add(h),!(f.stats.isSymbolicLink()&&await this._handleSymlink(f,t,E,h))){if(this.fsw.closed){l=void 0;return}(h===n||!n&&!u.has(h))&&(this.fsw._incrReadyCount(),E=qe.join(s,qe.relative(s,E)),this._addToNodeFs(E,r,i,a+1))}}).on(LH,this._boundHandleError);return new Promise(f=>l.once($ae,()=>{if(this.fsw.closed){l=void 0;return}let h=c?c.clear():!1;f(),u.getChildren().filter(E=>E!==t&&!p.has(E)&&(!i.hasGlob||i.filterPath({fullPath:qe.resolve(t,E)}))).forEach(E=>{this.fsw._remove(t,E)}),l=void 0,h&&this._handleRead(t,!1,i,n,s,a,c)}))}async _handleDir(t,r,i,n,s,a,c){let u=this.fsw._getWatchedDir(qe.dirname(t)),p=u.has(qe.basename(t));!(i&&this.fsw.options.ignoreInitial)&&!s&&!p&&(!a.hasGlob||a.globFilter(t))&&this.fsw._emit(Kae,t,r),u.add(qe.basename(t)),this.fsw._getWatchedDir(t);let l,f,h=this.fsw.options.depth;if((h==null||n<=h)&&!this.fsw._symlinkPaths.has(c)){if(!s&&(await this._handleRead(t,i,a,s,t,n,l),this.fsw.closed))return;f=this._watchWithNodeFs(t,(E,x)=>{x&&x.mtimeMs===0||this._handleRead(E,!1,a,s,t,n,l)})}return f}async _addToNodeFs(t,r,i,n,s){let a=this.fsw._emitReady;if(this.fsw._isIgnored(t)||this.fsw.closed)return a(),!1;let c=this.fsw._getWatchHelpers(t,n);!c.hasGlob&&i&&(c.hasGlob=i.hasGlob,c.globFilter=i.globFilter,c.filterPath=u=>i.filterPath(u),c.filterDir=u=>i.filterDir(u));try{let u=await toe[c.statMethod](c.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(c.watchPath,u))return a(),!1;let p=this.fsw.options.followSymlinks&&!t.includes(Xae)&&!t.includes(zae),l;if(u.isDirectory()){let f=qe.resolve(t),h=p?await wv(t):t;if(this.fsw.closed||(l=await this._handleDir(c.watchPath,u,r,n,s,c,h),this.fsw.closed))return;f!==h&&h!==void 0&&this.fsw._symlinkPaths.set(f,h)}else if(u.isSymbolicLink()){let f=p?await wv(t):t;if(this.fsw.closed)return;let h=qe.dirname(c.watchPath);if(this.fsw._getWatchedDir(h).add(c.watchPath),this.fsw._emit(zu,c.watchPath,u),l=await this._handleDir(h,u,r,n,t,c,f),this.fsw.closed)return;f!==void 0&&this.fsw._symlinkPaths.set(qe.resolve(t),f)}else l=this._handleFile(c.watchPath,u,r);return a(),this.fsw._addPathCloser(t,l),!1}catch(u){if(this.fsw._handleError(u))return a(),t}}};UH.exports=Mv});var VH=_((XPe,jv)=>{"use strict";o();var Hv=N("fs"),ke=N("path"),{promisify:Wv}=N("util"),us;try{us=N("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(us){let e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){let t=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);t===8&&r<16&&(us=void 0)}}var{EV_ADD:Uv,EV_CHANGE:soe,EV_ADD_DIR:kH,EV_UNLINK:Qu,EV_ERROR:aoe,STR_DATA:ooe,STR_END:coe,FSEVENT_CREATED:uoe,FSEVENT_MODIFIED:poe,FSEVENT_DELETED:loe,FSEVENT_MOVED:doe,FSEVENT_UNKNOWN:moe,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:foe,FSEVENT_TYPE_FILE:hoe,FSEVENT_TYPE_DIRECTORY:Ua,FSEVENT_TYPE_SYMLINK:jH,ROOT_GLOBSTAR:GH,DIR_SUFFIX:_oe,DOT_SLASH:BH,FUNCTION_TYPE:qv,EMPTY_FN:Eoe,IDENTITY_FN:voe}=$u(),goe=e=>isNaN(e)?{}:{depth:e},Gv=Wv(Hv.stat),xoe=Wv(Hv.lstat),HH=Wv(Hv.realpath),Soe={stat:Gv,lstat:xoe},$i=new Map,Ooe=10,Aoe=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),Noe=(e,t)=>({stop:us.watch(e,t)});function Ioe(e,t,r,i){let n=ke.extname(t)?ke.dirname(t):t,s=ke.dirname(n),a=$i.get(n);Roe(s)&&(n=s);let c=ke.resolve(e),u=c!==t,p=(f,h,E)=>{u&&(f=f.replace(t,c)),(f===c||!f.indexOf(c+ke.sep))&&r(f,h,E)},l=!1;for(let f of $i.keys())if(t.indexOf(ke.resolve(f)+ke.sep)===0){n=f,a=$i.get(n),l=!0;break}return a||l?a.listeners.add(p):(a={listeners:new Set([p]),rawEmitter:i,watcher:Noe(n,(f,h)=>{if(!a.listeners.size||h&foe)return;let E=us.getInfo(f,h);a.listeners.forEach(x=>{x(f,h,E)}),a.rawEmitter(E.event,f,E)})},$i.set(n,a)),()=>{let f=a.listeners;if(f.delete(p),!f.size&&($i.delete(n),a.watcher))return a.watcher.stop().then(()=>{a.rawEmitter=a.watcher=void 0,Object.freeze(a)})}}var Roe=e=>{let t=0;for(let r of $i.keys())if(r.indexOf(e)===0&&(t++,t>=Ooe))return!0;return!1},Toe=()=>us&&$i.size<128,kv=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=ke.dirname(e))!==t;)r++;return r},WH=(e,t)=>e.type===Ua&&t.isDirectory()||e.type===jH&&t.isSymbolicLink()||e.type===hoe&&t.isFile(),Bv=class{constructor(t){this.fsw=t}checkIgnored(t,r){let i=this.fsw._ignoredPaths;if(this.fsw._isIgnored(t,r))return i.add(t),r&&r.isDirectory()&&i.add(t+GH),!0;i.delete(t),i.delete(t+GH)}addOrChange(t,r,i,n,s,a,c,u){let p=s.has(a)?soe:Uv;this.handleEvent(p,t,r,i,n,s,a,c,u)}async checkExists(t,r,i,n,s,a,c,u){try{let p=await Gv(t);if(this.fsw.closed)return;WH(c,p)?this.addOrChange(t,r,i,n,s,a,c,u):this.handleEvent(Qu,t,r,i,n,s,a,c,u)}catch(p){p.code==="EACCES"?this.addOrChange(t,r,i,n,s,a,c,u):this.handleEvent(Qu,t,r,i,n,s,a,c,u)}}handleEvent(t,r,i,n,s,a,c,u,p){if(!(this.fsw.closed||this.checkIgnored(r)))if(t===Qu){let l=u.type===Ua;(l||a.has(c))&&this.fsw._remove(s,c,l)}else{if(t===Uv){if(u.type===Ua&&this.fsw._getWatchedDir(r),u.type===jH&&p.followSymlinks){let f=p.depth===void 0?void 0:kv(i,n)+1;return this._addToFsEvents(r,!1,!0,f)}this.fsw._getWatchedDir(s).add(c)}let l=u.type===Ua?t+_oe:t;this.fsw._emit(l,r),l===kH&&this._addToFsEvents(r,!1,!0)}}_watchWithFsEvents(t,r,i,n){if(this.fsw.closed||this.fsw._isIgnored(t))return;let s=this.fsw.options,c=Ioe(t,r,async(u,p,l)=>{if(this.fsw.closed||s.depth!==void 0&&kv(u,r)>s.depth)return;let f=i(ke.join(t,ke.relative(t,u)));if(n&&!n(f))return;let h=ke.dirname(f),E=ke.basename(f),x=this.fsw._getWatchedDir(l.type===Ua?f:h);if(Aoe.has(p)||l.event===moe)if(typeof s.ignored===qv){let S;try{S=await Gv(f)}catch{}if(this.fsw.closed||this.checkIgnored(f,S))return;WH(l,S)?this.addOrChange(f,u,r,h,x,E,l,s):this.handleEvent(Qu,f,u,r,h,x,E,l,s)}else this.checkExists(f,u,r,h,x,E,l,s);else switch(l.event){case uoe:case poe:return this.addOrChange(f,u,r,h,x,E,l,s);case loe:case doe:return this.checkExists(f,u,r,h,x,E,l,s)}},this.fsw._emitRaw);return this.fsw._emitReady(),c}async _handleFsEventsSymlink(t,r,i,n){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(r))){this.fsw._symlinkPaths.set(r,!0),this.fsw._incrReadyCount();try{let s=await HH(t);if(this.fsw.closed)return;if(this.fsw._isIgnored(s))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(s||t,a=>{let c=t;return s&&s!==BH?c=a.replace(s,t):a!==BH&&(c=ke.join(t,a)),i(c)},!1,n)}catch(s){if(this.fsw._handleError(s))return this.fsw._emitReady()}}}emitAdd(t,r,i,n,s){let a=i(t),c=r.isDirectory(),u=this.fsw._getWatchedDir(ke.dirname(a)),p=ke.basename(a);c&&this.fsw._getWatchedDir(a),!u.has(p)&&(u.add(p),(!n.ignoreInitial||s===!0)&&this.fsw._emit(c?kH:Uv,a,r))}initWatch(t,r,i,n){if(this.fsw.closed)return;let s=this._watchWithFsEvents(i.watchPath,ke.resolve(t||i.watchPath),n,i.globFilter);this.fsw._addPathCloser(r,s)}async _addToFsEvents(t,r,i,n){if(this.fsw.closed)return;let s=this.fsw.options,a=typeof r===qv?r:voe,c=this.fsw._getWatchHelpers(t);try{let u=await Soe[c.statMethod](c.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(c.watchPath,u))throw null;if(u.isDirectory()){if(c.globFilter||this.emitAdd(a(t),u,a,s,i),n&&n>s.depth)return;this.fsw._readdirp(c.watchPath,{fileFilter:p=>c.filterPath(p),directoryFilter:p=>c.filterDir(p),...goe(s.depth-(n||0))}).on(ooe,p=>{if(this.fsw.closed||p.stats.isDirectory()&&!c.filterPath(p))return;let l=ke.join(c.watchPath,p.path),{fullPath:f}=p;if(c.followSymlinks&&p.stats.isSymbolicLink()){let h=s.depth===void 0?void 0:kv(l,ke.resolve(c.watchPath))+1;this._handleFsEventsSymlink(l,f,a,h)}else this.emitAdd(l,p.stats,a,s,i)}).on(aoe,Eoe).on(coe,()=>{this.fsw._emitReady()})}else this.emitAdd(c.watchPath,u,a,s,i),this.fsw._emitReady()}catch(u){(!u||this.fsw._handleError(u))&&(this.fsw._emitReady(),this.fsw._emitReady())}if(s.persistent&&i!==!0)if(typeof r===qv)this.initWatch(void 0,t,c,a);else{let u;try{u=await HH(c.watchPath)}catch{}this.initWatch(u,t,c,a)}}};jv.exports=Bv;jv.exports.canUse=Toe});var rW=_(sg=>{"use strict";o();var{EventEmitter:boe}=N("events"),ig=N("fs"),ie=N("path"),{promisify:ZH}=N("util"),yoe=xH(),Xv=TH().default,Doe=Ph(),Vv=Dh(),Coe=qh(),Poe=yv(),woe=qH(),KH=VH(),{EV_ALL:Kv,EV_READY:Loe,EV_ADD:ep,EV_CHANGE:qa,EV_UNLINK:YH,EV_ADD_DIR:Foe,EV_UNLINK_DIR:Moe,EV_RAW:Uoe,EV_ERROR:Yv,STR_CLOSE:qoe,STR_END:koe,BACK_SLASH_RE:Goe,DOUBLE_SLASH_RE:$H,SLASH_OR_BACK_SLASH_RE:Boe,DOT_RE:Hoe,REPLACER_RE:Woe,SLASH:$v,SLASH_SLASH:joe,BRACE_START:Voe,BANG:Jv,ONE_DOT:QH,TWO_DOTS:Koe,GLOBSTAR:Yoe,SLASH_GLOBSTAR:zv,ANYMATCH_OPTS:Zv,STRING_TYPE:ng,FUNCTION_TYPE:$oe,EMPTY_STR:Qv,EMPTY_FN:zoe,isWindows:Xoe,isMacos:Joe,isIBMi:Zoe}=$u(),Qoe=ZH(ig.stat),ece=ZH(ig.readdir),eg=(e=[])=>Array.isArray(e)?e:[e],eW=(e,t=[])=>(e.forEach(r=>{Array.isArray(r)?eW(r,t):t.push(r)}),t),zH=e=>{let t=eW(eg(e));if(!t.every(r=>typeof r===ng))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(tW)},XH=e=>{let t=e.replace(Goe,$v),r=!1;for(t.startsWith(joe)&&(r=!0);t.match($H);)t=t.replace($H,$v);return r&&(t=$v+t),t},tW=e=>XH(ie.normalize(XH(e))),JH=(e=Qv)=>t=>typeof t!==ng?t:tW(ie.isAbsolute(t)?t:ie.join(e,t)),tce=(e,t)=>ie.isAbsolute(e)?e:e.startsWith(Jv)?Jv+ie.join(t,e.slice(1)):ie.join(t,e),zt=(e,t)=>e[t]===void 0,tg=class{constructor(t,r){this.path=t,this._removeWatcher=r,this.items=new Set}add(t){let{items:r}=this;r&&t!==QH&&t!==Koe&&r.add(t)}async remove(t){let{items:r}=this;if(!r||(r.delete(t),r.size>0))return;let i=this.path;try{await ece(i)}catch{this._removeWatcher&&this._removeWatcher(ie.dirname(i),ie.basename(i))}}has(t){let{items:r}=this;if(r)return r.has(t)}getChildren(){let{items:t}=this;if(t)return[...t.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}},rce="stat",ice="lstat",rg=class{constructor(t,r,i,n){this.fsw=n,this.path=t=t.replace(Woe,Qv),this.watchPath=r,this.fullWatchPath=ie.resolve(r),this.hasGlob=r!==t,t===Qv&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&i?void 0:!1,this.globFilter=this.hasGlob?Xv(t,void 0,Zv):!1,this.dirParts=this.getDirParts(t),this.dirParts.forEach(s=>{s.length>1&&s.pop()}),this.followSymlinks=i,this.statMethod=i?rce:ice}checkGlobSymlink(t){return this.globSymlink===void 0&&(this.globSymlink=t.fullParentDir===this.fullWatchPath?!1:{realPath:t.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?t.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):t.fullPath}entryPath(t){return ie.join(this.watchPath,ie.relative(this.watchPath,this.checkGlobSymlink(t)))}filterPath(t){let{stats:r}=t;if(r&&r.isSymbolicLink())return this.filterDir(t);let i=this.entryPath(t);return(this.hasGlob&&typeof this.globFilter===$oe?this.globFilter(i):!0)&&this.fsw._isntIgnored(i,r)&&this.fsw._hasReadPermissions(r)}getDirParts(t){if(!this.hasGlob)return[];let r=[];return(t.includes(Voe)?Coe.expand(t):[t]).forEach(n=>{r.push(ie.relative(this.watchPath,n).split(Boe))}),r}filterDir(t){if(this.hasGlob){let r=this.getDirParts(this.checkGlobSymlink(t)),i=!1;this.unmatchedGlob=!this.dirParts.some(n=>n.every((s,a)=>(s===Yoe&&(i=!0),i||!r[0][a]||Xv(s,r[0][a],Zv))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(t),t.stats)}},tp=class extends boe{constructor(t){super();let r={};t&&Object.assign(r,t),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,zt(r,"persistent")&&(r.persistent=!0),zt(r,"ignoreInitial")&&(r.ignoreInitial=!1),zt(r,"ignorePermissionErrors")&&(r.ignorePermissionErrors=!1),zt(r,"interval")&&(r.interval=100),zt(r,"binaryInterval")&&(r.binaryInterval=300),zt(r,"disableGlobbing")&&(r.disableGlobbing=!1),r.enableBinaryInterval=r.binaryInterval!==r.interval,zt(r,"useFsEvents")&&(r.useFsEvents=!r.usePolling),KH.canUse()||(r.useFsEvents=!1),zt(r,"usePolling")&&!r.useFsEvents&&(r.usePolling=Joe),Zoe&&(r.usePolling=!0);let n=process.env.CHOKIDAR_USEPOLLING;if(n!==void 0){let u=n.toLowerCase();u==="false"||u==="0"?r.usePolling=!1:u==="true"||u==="1"?r.usePolling=!0:r.usePolling=!!u}let s=process.env.CHOKIDAR_INTERVAL;s&&(r.interval=Number.parseInt(s,10)),zt(r,"atomic")&&(r.atomic=!r.usePolling&&!r.useFsEvents),r.atomic&&(this._pendingUnlinks=new Map),zt(r,"followSymlinks")&&(r.followSymlinks=!0),zt(r,"awaitWriteFinish")&&(r.awaitWriteFinish=!1),r.awaitWriteFinish===!0&&(r.awaitWriteFinish={});let a=r.awaitWriteFinish;a&&(a.stabilityThreshold||(a.stabilityThreshold=2e3),a.pollInterval||(a.pollInterval=100),this._pendingWrites=new Map),r.ignored&&(r.ignored=eg(r.ignored));let c=0;this._emitReady=()=>{c++,c>=this._readyCount&&(this._emitReady=zoe,this._readyEmitted=!0,process.nextTick(()=>this.emit(Loe)))},this._emitRaw=(...u)=>this.emit(Uoe,...u),this._readyEmitted=!1,this.options=r,r.useFsEvents?this._fsEventsHandler=new KH(this):this._nodeFsHandler=new woe(this),Object.freeze(r)}add(t,r,i){let{cwd:n,disableGlobbing:s}=this.options;this.closed=!1;let a=zH(t);return n&&(a=a.map(c=>{let u=tce(c,n);return s||!Vv(c)?u:Poe(u)})),a=a.filter(c=>c.startsWith(Jv)?(this._ignoredPaths.add(c.slice(1)),!1):(this._ignoredPaths.delete(c),this._ignoredPaths.delete(c+zv),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=a.length),this.options.persistent&&(this._readyCount+=a.length),a.forEach(c=>this._fsEventsHandler._addToFsEvents(c))):(this._readyCount||(this._readyCount=0),this._readyCount+=a.length,Promise.all(a.map(async c=>{let u=await this._nodeFsHandler._addToNodeFs(c,!i,0,0,r);return u&&this._emitReady(),u})).then(c=>{this.closed||c.filter(u=>u).forEach(u=>{this.add(ie.dirname(u),ie.basename(r||u))})})),this}unwatch(t){if(this.closed)return this;let r=zH(t),{cwd:i}=this.options;return r.forEach(n=>{!ie.isAbsolute(n)&&!this._closers.has(n)&&(i&&(n=ie.join(i,n)),n=ie.resolve(n)),this._closePath(n),this._ignoredPaths.add(n),this._watched.has(n)&&this._ignoredPaths.add(n+zv),this._userIgnored=void 0}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();let t=[];return this._closers.forEach(r=>r.forEach(i=>{let n=i();n instanceof Promise&&t.push(n)})),this._streams.forEach(r=>r.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(r=>r.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(r=>{this[`_${r}`].clear()}),this._closePromise=t.length?Promise.all(t).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){let t={};return this._watched.forEach((r,i)=>{let n=this.options.cwd?ie.relative(this.options.cwd,i):i;t[n||QH]=r.getChildren().sort()}),t}emitWithAll(t,r){this.emit(...r),t!==Yv&&this.emit(Kv,...r)}async _emit(t,r,i,n,s){if(this.closed)return;let a=this.options;Xoe&&(r=ie.normalize(r)),a.cwd&&(r=ie.relative(a.cwd,r));let c=[t,r];s!==void 0?c.push(i,n,s):n!==void 0?c.push(i,n):i!==void 0&&c.push(i);let u=a.awaitWriteFinish,p;if(u&&(p=this._pendingWrites.get(r)))return p.lastChange=new Date,this;if(a.atomic){if(t===YH)return this._pendingUnlinks.set(r,c),setTimeout(()=>{this._pendingUnlinks.forEach((l,f)=>{this.emit(...l),this.emit(Kv,...l),this._pendingUnlinks.delete(f)})},typeof a.atomic=="number"?a.atomic:100),this;t===ep&&this._pendingUnlinks.has(r)&&(t=c[0]=qa,this._pendingUnlinks.delete(r))}if(u&&(t===ep||t===qa)&&this._readyEmitted){let l=(f,h)=>{f?(t=c[0]=Yv,c[1]=f,this.emitWithAll(t,c)):h&&(c.length>2?c[2]=h:c.push(h),this.emitWithAll(t,c))};return this._awaitWriteFinish(r,u.stabilityThreshold,t,l),this}if(t===qa&&!this._throttle(qa,r,50))return this;if(a.alwaysStat&&i===void 0&&(t===ep||t===Foe||t===qa)){let l=a.cwd?ie.join(a.cwd,r):r,f;try{f=await Qoe(l)}catch{}if(!f||this.closed)return;c.push(f)}return this.emitWithAll(t,c),this}_handleError(t){let r=t&&t.code;return t&&r!=="ENOENT"&&r!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||r!=="EPERM"&&r!=="EACCES")&&this.emit(Yv,t),t||this.closed}_throttle(t,r,i){this._throttled.has(t)||this._throttled.set(t,new Map);let n=this._throttled.get(t),s=n.get(r);if(s)return s.count++,!1;let a,c=()=>{let p=n.get(r),l=p?p.count:0;return n.delete(r),clearTimeout(a),p&&clearTimeout(p.timeoutObject),l};a=setTimeout(c,i);let u={timeoutObject:a,clear:c,count:0};return n.set(r,u),u}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(t,r,i,n){let s,a=t;this.options.cwd&&!ie.isAbsolute(t)&&(a=ie.join(this.options.cwd,t));let c=new Date,u=p=>{ig.stat(a,(l,f)=>{if(l||!this._pendingWrites.has(t)){l&&l.code!=="ENOENT"&&n(l);return}let h=Number(new Date);p&&f.size!==p.size&&(this._pendingWrites.get(t).lastChange=h);let E=this._pendingWrites.get(t);h-E.lastChange>=r?(this._pendingWrites.delete(t),n(void 0,f)):s=setTimeout(u,this.options.awaitWriteFinish.pollInterval,f)})};this._pendingWrites.has(t)||(this._pendingWrites.set(t,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(t),clearTimeout(s),i)}),s=setTimeout(u,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(t,r){if(this.options.atomic&&Hoe.test(t))return!0;if(!this._userIgnored){let{cwd:i}=this.options,n=this.options.ignored,s=n&&n.map(JH(i)),a=eg(s).filter(u=>typeof u===ng&&!Vv(u)).map(u=>u+zv),c=this._getGlobIgnored().map(JH(i)).concat(s,a);this._userIgnored=Xv(c,void 0,Zv)}return this._userIgnored([t,r])}_isntIgnored(t,r){return!this._isIgnored(t,r)}_getWatchHelpers(t,r){let i=r||this.options.disableGlobbing||!Vv(t)?t:Doe(t),n=this.options.followSymlinks;return new rg(t,i,n,this)}_getWatchedDir(t){this._boundRemove||(this._boundRemove=this._remove.bind(this));let r=ie.resolve(t);return this._watched.has(r)||this._watched.set(r,new tg(r,this._boundRemove)),this._watched.get(r)}_hasReadPermissions(t){if(this.options.ignorePermissionErrors)return!0;let i=(t&&Number.parseInt(t.mode,10))&511;return!!(4&Number.parseInt(i.toString(8)[0],10))}_remove(t,r,i){let n=ie.join(t,r),s=ie.resolve(n);if(i=i??(this._watched.has(n)||this._watched.has(s)),!this._throttle("remove",n,100))return;!i&&!this.options.useFsEvents&&this._watched.size===1&&this.add(t,r,!0),this._getWatchedDir(n).getChildren().forEach(h=>this._remove(n,h));let u=this._getWatchedDir(t),p=u.has(r);u.remove(r),this._symlinkPaths.has(s)&&this._symlinkPaths.delete(s);let l=n;if(this.options.cwd&&(l=ie.relative(this.options.cwd,n)),this.options.awaitWriteFinish&&this._pendingWrites.has(l)&&this._pendingWrites.get(l).cancelWait()===ep)return;this._watched.delete(n),this._watched.delete(s);let f=i?Moe:YH;p&&!this._isIgnored(n)&&this._emit(f,n),this.options.useFsEvents||this._closePath(n)}_closePath(t){this._closeFile(t);let r=ie.dirname(t);this._getWatchedDir(r).remove(ie.basename(t))}_closeFile(t){let r=this._closers.get(t);r&&(r.forEach(i=>i()),this._closers.delete(t))}_addPathCloser(t,r){if(!r)return;let i=this._closers.get(t);i||(i=[],this._closers.set(t,i)),i.push(r)}_readdirp(t,r){if(this.closed)return;let i={type:Kv,alwaysStat:!0,lstat:!0,...r},n=yoe(t,i);return this._streams.add(n),n.once(qoe,()=>{n=void 0}),n.once(koe,()=>{n&&(this._streams.delete(n),n=void 0)}),n}};sg.FSWatcher=tp;var nce=(e,t)=>{let r=new tp(t);return r.add(e),r};sg.watch=nce});o();var Ji=j(Ke(),1),hg=(0,Ji.createContext)(null),IW=function({children:e,value:t}){return Ji.default.createElement(hg.Provider,{value:t},e)},cp=()=>{let e=(0,Ji.useContext)(hg);if(e===null)throw new Error("useBiLogger() cannot be used without an <BiProvider>");return e};o();o();var Zi=j(Ke(),1),_g=(0,Zi.createContext)(null),RW=e=>Zi.default.createElement(_g.Provider,{...e}),up=()=>{let e=(0,Zi.useContext)(_g);if(e===null)throw new Error("useErrorReporter() cannot be used without an <ErrorReporterProvider>");return e};o();o();var CS=j(go(),1);o();var DS=j(go(),1);function hr(e){return DS.HttpClient.isHttpError(e)}var cV={backoffice:"https://manage.wix.com",editor:"https://editor.wix.com",code:"https://code.wix.com",general:"https://www.wix.com",standalone:void 0};function kr(e,t){return(...r)=>t.apply(e,r).catch(i=>{throw hr(i)&&!e.isCancel(i)&&!i.response?new y({code:C.NetworkError({cause:i}),cause:i,info:{code:i.code}}):i})}function un({getAppToken:e,createHeaders:t,type:r}){let i=(0,CS.createHttpClient)({baseURL:cV[r],...r!=="standalone"?{getAppToken:e}:{},createHeaders:()=>({...t?.(),"X-XSRF-TOKEN":"nocheck",Cookie:"XSRF-TOKEN=nocheck","User-Agent":"wix-cli"})});return{...i,request:kr(i,i.request),get:kr(i,i.get),delete:kr(i,i.delete),head:kr(i,i.head),options:kr(i,i.options),post:kr(i,i.post),put:kr(i,i.put),patch:kr(i,i.patch)}}o();var So=j(Ke(),1);o();var v=j(Ke(),1),tl=j(It(),1);o();function xo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function PS(){return typeof WeakMap<"u"?new WeakMap:uV()}function uV(){return{add:xo,delete:xo,get:xo,set:xo,has:function(e){return!1}}}var pV=Object.prototype.hasOwnProperty,Qp=function(e,t){return pV.call(e,t)};function Zp(e,t){for(var r in t)Qp(t,r)&&(e[r]=t[r]);return e}var lV=/^[ \t]*(?:\r\n|\r|\n)/,dV=/(?:\r\n|\r|\n)[ \t]*$/,mV=/^(?:[\r\n]|$)/,fV=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,hV=/^[ \t]*[\r\n][ \t\r\n]*$/;function wS(e,t,r){var i=0,n=e[0].match(fV);n&&(i=n[1].length);var s="(\\r\\n|\\r|\\n).{0,"+i+"}",a=new RegExp(s,"g");t&&(e=e.slice(1));var c=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,l=typeof c=="string",f=e.length,h=e.map(function(E,x){return E=E.replace(a,"$1"),x===0&&u&&(E=E.replace(lV,"")),x===f-1&&p&&(E=E.replace(dV,"")),l&&(E=E.replace(/\r\n|\n|\r/g,function(S){return c})),E});return h}function _V(e,t){for(var r="",i=0,n=e.length;i<n;i++)r+=e[i],i<n-1&&(r+=t[i]);return r}function EV(e){return Qp(e,"raw")&&Qp(e,"length")}function LS(e){var t=PS(),r=PS();function i(s){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];if(EV(s)){var u=s,p=(a[0]===i||a[0]===Rt)&&hV.test(u[0])&&mV.test(u[1]),l=p?r:t,f=l.get(u);if(f||(f=wS(u,p,e),l.set(u,f)),a.length===0)return f[0];var h=_V(f,p?a.slice(1):a);return h}else return LS(Zp(Zp({},e),s||{}))}var n=Zp(i,{string:function(s){return wS([s],!1,e)[0]}});return n}var Rt=LS({trimLeadingNewline:!0,trimTrailingNewline:!0});if(typeof module<"u")try{module.exports=Rt,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.default=Rt,Rt.outdent=Rt}catch{}o();var Gr=j(Ke(),1);var R=({message:e,explanation:t,hint:r})=>Gr.default.createElement(Bt,{flexDirection:"column"},Gr.default.createElement(op,{type:"error"},e),t&&Gr.default.createElement(op,{type:"warning"},t),r&&Gr.default.createElement(Bt,{paddingTop:1,columnGap:1},Gr.default.createElement(pg,null),typeof r=="string"?Gr.default.createElement(H,null,r):r)),ae=({message:e,explanation:t,hint:r})=>Gr.default.createElement(R,{message:e,explanation:t,hint:r??"This is probably a temporary system error and has been logged. Try again shortly."});function FS(e){return(0,tl.match)(e,{UnknownFailure:({error:t})=>()=>v.default.createElement(v.default.Fragment,null,v.default.createElement(H,{skin:"error"},"Oh no, seems like the CLI encountered an unexpected error:"),t instanceof Error?v.default.createElement(H,{skin:"error"},t.message):v.default.createElement(H,null,JSON.stringify(t))),FailedToGetDeviceCode:()=>()=>v.default.createElement(ae,{message:"An error occured while logging in: Failed to issue a login device code"}),FailedToGetAuthToken:()=>()=>v.default.createElement(ae,{message:"An error occured while logging in: Failed to issue refresh token"}),FailedToRefreshTokenForSite:()=>()=>v.default.createElement(ae,{message:"An error occured while logging in: Failed to issue refresh token for site"}),FailedToRenewAuthToken:()=>()=>v.default.createElement(ae,{message:"Failed to renew access token."}),FailedToRenewAuthTokenSiteNotFound:({siteId:t})=>()=>v.default.createElement(R,{message:`Authenticate failed, your configured development site (${t}) could not be accessed`,hint:"Make sure the site exists and you still have access to it"}),FailedToRenewAuthTokenRefreshTokenRevoked:()=>()=>v.default.createElement(R,{message:"Failed to renew access token: refresh token has been revoked",hint:"Please login again to get a new refresh token"}),FailedToRevokeRefreshToken:({email:t})=>()=>v.default.createElement(ae,{message:"An error occured while trying to logout: Failed to revoke refresh token!",explanation:`Wix CLI is still logged in to account ${t}`}),FailedToFetchPackageJson:()=>()=>v.default.createElement(ae,{message:"Failed to fetch package data."}),FailedToCreateProjectFolder:({cause:t,packageFolder:r})=>{let i=Ne(t);return()=>v.default.createElement(R,{message:`Failed to create project folder: ${r}. Cause: ${i}`})},LatestVersionOfCreateAppRequired:({currentVersion:t,latestVersion:r,updateCommand:i})=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"Generating a Wix App is only supported using the latest version (",r,") of ",v.default.createElement(H,{bold:!0},"@wix/create-app")," (current:"," ",t,")"),hint:v.default.createElement(H,null,"Make sure you are using the following command:",v.default.createElement(Mr,null),v.default.createElement(H,{bold:!0},i),v.default.createElement(Mr,null),"If the problem persists, try clearing your package manager's cache")}),EmptyDirectoryRequiredAppGeneration:({folder:t})=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"Generating a Wix App requires an empty directory but"," ",v.default.createElement(H,{bold:!0},t)," already exists and isn't empty"),hint:v.default.createElement(H,null,"Choose a different project name or delete the existing"," ",v.default.createElement(H,{bold:!0},t)," folder")}),InvalidNewPackageName:({packageName:t,validations:r})=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"Generating a Wix App requires a valid npm package name for the generated ",v.default.createElement(H,{bold:!0},"package.json")," ",v.default.createElement(Mr,null),"The name ",v.default.createElement(H,{bold:!0},t)," failed the following validations:",v.default.createElement(Mr,null),r.map((i,n)=>v.default.createElement(H,{key:n},v.default.createElement(Mr,null),"- ",i))),hint:"Choose a different project name that follows the validations above"}),SiteSelectorTimedout:()=>()=>v.default.createElement(R,{message:"Waiting for application installation timed out."}),TypeErrorInvalidUrl:()=>()=>v.default.createElement(R,{message:"Invalid assets URL."}),UnsupportedPackageManager:({packageManagerName:t})=>()=>v.default.createElement(R,{message:"Generating a Wix App requires the usage of a supported package manager",hint:`Expected Yarn or NPM but ${t?`got ${t}`:"failed to detect a package manager"}`}),UnsupportedPackageManagerWorkspaces:({packageManagerName:t})=>()=>v.default.createElement(R,{message:`Generating a Wix App inside ${t} workspaces is not supported`}),FailedToGetDeveloperApps:()=>()=>v.default.createElement(ae,{message:"Failed to get the list of your applications"}),FailedToCreateDevCenterApp:()=>()=>v.default.createElement(ae,{message:"Failed to register your application in Wix Dev Center"}),FailedToCreateTunnel:()=>()=>v.default.createElement(R,{message:"Failed to create tunnel"}),FailedToDeleteTunnel:()=>()=>v.default.createElement(R,{message:"Failed to delete tunnel"}),SitePermissionDenied:({siteId:t})=>()=>v.default.createElement(R,{message:`You don't have permissions to site ${t}`}),AppPermissionDenied:({appId:t})=>()=>v.default.createElement(R,{message:`You don't have permissions to application ${t}`}),FailedToUpdateTelemetryConfig:()=>()=>v.default.createElement(R,{message:"Failed to change telemetry preferences"}),FailedToInstallPackage:({packageName:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Failed to install npm package ${t}. Cause: ${i}`})},FailedToResolveNpmDependencies:()=>()=>v.default.createElement(ae,{message:"Failed to resolve npm dependencies"}),FailedToInstallPackages:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to install npm packages. Cause: ${r}`})},FailedMigrationToAnyNpm:()=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"Could not start the migration process"),hint:v.default.createElement(H,null,"Make sure that your package.json does not have packages installed outside of dev dependencies")}),DeprecatedVersion:({currentVersion:t})=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,`Your version of the Wix CLI (${t}) is`,v.default.createElement(H,{bold:!0}," deprecated"),"."),hint:"Please update to the latest version to continue"}),FailedToUninstallPackage:({packageName:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Failed to uninstall npm package ${t}. Cause: ${i}`})},FailedToSyncToRevision:({revision:t})=>()=>v.default.createElement(R,{message:`Failed to sync the local project to revision ${t}`}),FailedToCreateVersion:()=>()=>v.default.createElement(R,{message:"Wix CLI failed to create version for your app"}),FailedToReadCache:({path:t})=>()=>v.default.createElement(R,{message:`Failed to read cache file at ${t}.`}),FailedToWriteCache:({path:t})=>()=>v.default.createElement(R,{message:`Failed to write cache file at ${t}.`}),UploadApplicationFailed:()=>()=>v.default.createElement(R,{message:"Failed to upload the application"}),BuiltProjectNeeded:()=>()=>v.default.createElement(R,{message:"Can not find build output, please execute `wix app build` to build your app before proceeding"}),WixUninstallMissingPackageName:()=>()=>v.default.createElement(R,{message:"Please specify a package name"}),FailedToReadJson:({filePath:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Failed to read ${t}. Cause: ${i}`})},InvalidJsonFile:({filePath:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Invalid JSON file located at ${t}. Cause: ${i}`})},FailedToWriteWixLock:()=>()=>v.default.createElement(R,{message:"Failed to write 'wix.lock'"}),InvalidVeloConfigJson:({configFilename:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Invalid ${t}, make sure it's configured correctly. Cause: ${i}`})},DashboardPageConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Dashboard page config not found at ${t}`}),EmbeddedScriptConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Embedded script config not found at ${t}`}),CustomElementConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Site widget config not found at ${t}`}),NoExtensionsFound:()=>()=>v.default.createElement(R,{message:"Your project doesn't seem to have any extensions.",explanation:"Extensions are the building blocks of your app.",hint:"Make sure it is configured properly, or read our documentation (\u200Bhttps://wix.to/b7o4Ml0) to start developing your first extension."}),NoPagesDirectoryFound:({srcDir:t})=>()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"No ",v.default.createElement(H,{bold:!0},"pages")," directory was found under"," ",v.default.createElement(H,{bold:!0},t),"."),hint:v.default.createElement(H,null,"Consider re-cloning the project repository or creating a"," ",v.default.createElement(H,{bold:!0},"pages")," directory under ",v.default.createElement(H,{bold:!0},t),".")}),DashboardPluginConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Dashboard plugin config not found at ${t}`}),DashboardMenuPluginConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Dashboard menu plugin config not found at ${t}`}),ServicePluginConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Service plugin config not found at ${t}`}),DashboardModalConfigNotFound:({configPath:t})=>()=>v.default.createElement(R,{message:`Dashboard modal config not found at ${t}`}),InvalidConfigSchemaError:({configPath:t,zodError:r})=>()=>v.default.createElement(R,{message:Rt`
13
- Invalid configuration found at \`${t}\`:
14
- The following errors were found:
15
- ${r.errors.map(el).join(`
16
- `)}`,hint:"Fix the errors above for your configurations to be applied successfully."}),InvalidParamsOverrideSchemaError:({paramsOverridePath:t,zodError:r})=>()=>v.default.createElement(R,{message:Rt`
17
- Invalid params override found at \`${t}\`:
18
- The following errors were found:
19
- ${r.errors.map(el).join(`
20
- `)}`,hint:"Fix the errors above for your params override to be applied successfully."}),InvalidDependenciesJsonSchemaError:({path:t,zodError:r})=>()=>v.default.createElement(R,{message:Rt`
21
- Invalid configuration found at \`${t}\`:
22
- The following errors were found:
23
- ${r.errors.map(el).join(`
24
- `)}`,hint:v.default.createElement(H,null,"Try to re-install ",v.default.createElement(H,{bold:!0},"@wix/cli-app")," dependency")}),PermissionDenied:()=>()=>v.default.createElement(R,{message:"Forbidden operation. Missing permissions"}),FailedToReadProjectFiles:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to read source files: make sure you have an 'src' folder and that it's readable. Cause: ${r}`})},FailedToCreateVersionForSubmittedApp:()=>()=>v.default.createElement(R,{message:"Cannot create a new application version because the app has an active marketplace submission",hint:"You will be able continue creating versions when your submission is approved or retracted"}),GridAppFilesMaxLengthExcceeded:({maxSizeViolationsData:t,filePaths:r})=>{let i="Found one or more project files that are bigger than the allowed limit";return t?.files?.length&&(i+=` (${t.expectedSize}KB): ${t.files.map(n=>`${r[n.fileIndex]} (${n.receivedSize}KB)`).join(", ")}`),()=>v.default.createElement(R,{message:i})},GridAppFailedToUpdateFiles:()=>()=>v.default.createElement(R,{message:Rt`
25
- Failed to update files.
26
- Failed to sync changes from local files to the Dev Editor
27
- Still watching local files and will continue to sync changes...
28
- `}),FailedToWatchFiles:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to watch files. Cause: ${r}`})},FailedToCreateGridApp:({error:t})=>()=>v.default.createElement(R,{message:"Failed to create an isolated environment.",explanation:t}),DeviceCodeTimedOut:()=>()=>v.default.createElement(R,{message:"The device code has not been approved in the time allocated, please start the login process again."}),DuplicateComponentIdsError:({issues:t})=>{let r=({issue:n})=>{let s=a=>(0,tl.match)(a,{page:()=>"page",plugin:()=>"plugin","menu-plugin":()=>"menu plugin","sidebar-category":()=>"sidebar category","embedded-script":()=>"embedded script","custom-element":()=>"custom element",modal:()=>"modal",topology:()=>"topology"});return v.default.createElement(Bt,{flexDirection:"column"},v.default.createElement(H,null,v.default.createElement(H,{bold:!0},"Duplicate ID: "),n.id),v.default.createElement(H,{bold:!0},"Extensions:"),n.components.map(({name:a,path:c,type:u})=>v.default.createElement(H,{key:c},"[",s(u),"] ",a," (",c,")")),v.default.createElement(H,null,v.default.createElement(H,{bold:!0},"Possible GUID: "),n.suggestedId))},i=v.default.createElement(Bt,{flexDirection:"column",rowGap:1},v.default.createElement(H,null,"You can use the provided suggested GUIDs as the ID of the newly created extension."),t.map(n=>v.default.createElement(r,{issue:n,key:n.id})));return()=>v.default.createElement(R,{message:"Found multiple extensions with the same id, this might happen if you copy paste folders.",hint:i})},InvalidResponseData:()=>()=>v.default.createElement(ae,{message:"Got unexpected response from server."}),InvalidCreateAppResponse:()=>()=>v.default.createElement(R,{message:"`createApp` returned an invalid response."}),InvalidDeployAppResponse:()=>()=>v.default.createElement(R,{message:"Got unexpected response from server. Make sure you are running a supported version of the Velo CLI."}),InvalidGetDeploymentResponse:()=>()=>v.default.createElement(R,{message:"Got unexpected response from server. Please try again later.."}),FailedToGetPagesDiff:()=>()=>v.default.createElement(R,{message:"Failed to request pages diff."}),InvalidViteBuildOutput:()=>()=>v.default.createElement(R,{message:"Invalid vite build output"}),ViteModuleBundleNotFound:()=>()=>v.default.createElement(R,{message:"Could not find module bundle in vite build output"}),ViteFileNotFoundInOutput:({fileName:t})=>()=>v.default.createElement(R,{message:`Could not find ${t} in vite build output`}),FailedToCreatePresignedUrl:()=>()=>v.default.createElement(R,{message:"Failed to create a presigned upload url"}),FailedToCreateBackendDeployment:()=>()=>v.default.createElement(R,{message:"Failed to create backend deployment"}),FailedToUpdateBackendDeployment:()=>()=>v.default.createElement(R,{message:"Failed to update backend deployment"}),FailedToGetBackendDeployment:()=>()=>v.default.createElement(R,{message:"Failed to get backend deployment"}),FailedToDeployBackend:()=>()=>v.default.createElement(R,{message:"Failed to deploy backend"}),FailedToMarkDeploymentAsPermanent:()=>()=>v.default.createElement(R,{message:"Failed to make backend deployment permanent"}),FailedToUploadApplicationFiles:()=>()=>v.default.createElement(R,{message:"Failed to upload the application files"}),FailedToVerifyDeployment:()=>()=>v.default.createElement(R,{message:"Deployment was not finished within the desired timeframe, please try again later."}),FailedToGetUserInfo:()=>()=>v.default.createElement(R,{message:"Failed to get user information."}),FailedToGetMyAccount:()=>()=>v.default.createElement(ae,{message:"Failed to get account information."}),FailedToCreateDevelopmentSite:()=>()=>v.default.createElement(R,{message:"Failed to create a Development Site"}),FailedToGetDevelopmentSites:()=>()=>v.default.createElement(R,{message:"Failed to request development sites."}),FailedToGetDevelopmentSitesLimit:()=>()=>v.default.createElement(R,{message:"Failed to request development sites limit."}),FailedToGetRequiredApps:()=>()=>v.default.createElement(R,{message:"Failed to get app required apps."}),FailedToGetMarketListing:()=>()=>v.default.createElement(R,{message:"Failed to get market listing."}),FailedToAddRequiredApp:()=>()=>v.default.createElement(R,{message:"Failed to add required app."}),FailedToQuerySites:()=>()=>v.default.createElement(R,{message:"Failed to request sites list."}),FailedToGetSite:()=>()=>v.default.createElement(R,{message:"Failed to get information about your configured Development Site"}),FailedToDeploySite:()=>()=>v.default.createElement(R,{message:"Failed to deploy site."}),FailedToPublishDeployment:()=>()=>v.default.createElement(ae,{message:"Failed to publish site."}),FailedToSaveDevelopmentSite:({path:t})=>()=>v.default.createElement(R,{message:"Failed to save the current development site.",hint:`Make sure the \`${t}\` file has proper permissions and is accessible`}),FailedToBuildApp:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:v.default.createElement(v.default.Fragment,null,"Failed to build the application.",v.default.createElement(Mr,null),r),hint:"Please check the build output for more information"})},FailedToCheckIfAppInstalled:()=>()=>v.default.createElement(R,{message:"Failed to fetch site installation details"}),FailedToInitializeGitRepo:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to initialize git repo. Cause: ${r}`})},FailedToInstallDependencies:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to install dependencies. Cause: ${r}`})},FailedToCommitChanges:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to commit changes. Cause: ${r}`})},FailedToDeleteAuthData:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to delete auth data: ${r}`})},FailedToDeleteLegacyAuthData:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to delete legacy auth data: ${r}`})},FailedToSaveAuthData:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to save auth data: ${r}`})},FailedToSaveApiKeyAuthData:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to save api key auth data: ${r}`})},FailedToWriteJson:({filePath:t,cause:r})=>{let i=Ne(r);return()=>v.default.createElement(R,{message:`Failed to write JSON at path: ${t}. Cause: ${i}`})},TemplatePathNotFound:({templatePath:t})=>()=>v.default.createElement(R,{message:`Template path not found: ${t}`,hint:"Make sure the template path exists in the remote repository"}),FailedToCloneRepo:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Failed to clone repo: ${r}`,hint:"Make sure the Git URL is correct and that your local Git is configured properly to access the remote repository"})},InvalidGitUrl:({url:t})=>()=>v.default.createElement(R,{message:`Invalid Git URL: ${t}`,hint:"Make sure the Git URL is in the correct format"}),AuthenticationRequired:()=>()=>v.default.createElement(R,{message:"You have to already be logged in to run this command."}),SiteConfiguredRequired:()=>()=>v.default.createElement(R,{message:"You must configure the development site before running this command, or provide a site-id in the command options."}),FailedAddingPackageToWorkspace:()=>()=>v.default.createElement(R,{message:"Could not add package to the workspaces configuration. Please add it as instructed by your package manager.",hint:v.default.createElement(H,null,"Full error can be found in ",v.default.createElement(H,{bold:!0},"wix-error.log"))}),FailedToGenerateSelfsignedCertificate:()=>()=>v.default.createElement(R,{message:"Failed to generate a Selfsigned certificate for development."}),NonInteractiveTerminal:()=>()=>v.default.createElement(R,{message:"This command is not supported in non-interactive terminals. Please run the command in an interactive terminal (TTY)."}),FailedToResolveViteOrigin:()=>()=>v.default.createElement(R,{message:"Failed to resolve the base url for CSS asset urls"}),FailedToCreateAppRelease:()=>()=>v.default.createElement(ae,{message:"Failed to create an app configuration in dev center."}),FailedToUpdateAppRelease:()=>()=>v.default.createElement(ae,{message:"Failed to update an app configuration in dev center."}),FailedToCreateComponents:()=>()=>v.default.createElement(ae,{message:"Failed to create components in dev center."}),FailedToCheckDeprecatedStatus:()=>()=>v.default.createElement(ae,{message:"Failed to check cli version deprecated status."}),FailedToGetResolveNpmDependenciesResult:()=>()=>v.default.createElement(ae,{message:"Failed to resolve Wix's lockfile."}),CliAppVersionMismatch:({cliVersion:t,cliAppVersion:r})=>()=>v.default.createElement(R,{message:v.default.createElement(H,null,"The versions of ",v.default.createElement(H,{bold:!0},"@wix/cli")," (",t,") and"," ",v.default.createElement(H,{bold:!0},"@wix/cli-app")," (",r,") dependencies do not match"),hint:v.default.createElement(H,null,"Align their versions in your ",v.default.createElement(H,{bold:!0},"package.json")," and re-install dependencies")}),FailedToGetAppValidity:()=>()=>v.default.createElement(ae,{message:"Failed to get validation status for app version from dev center"}),InvalidDashboardPageRoute:({route:t,errorMessage:r})=>()=>v.default.createElement(R,{message:`Invalid dashboard page route: ${t}`,hint:r}),InvalidEmbeddedScriptFolder:({path:t,errorMessage:r})=>()=>v.default.createElement(R,{message:`Invalid embedded script folder: ${t}`,hint:r}),InvalidEmbeddedScriptTemplate:({templateFilename:t,errorMessage:r})=>()=>v.default.createElement(R,{message:`Invalid embedded script template in ${t}`,hint:r}),InvalidCustomElementTagName:({tagName:t,errorMessage:r})=>()=>v.default.createElement(R,{message:v.default.createElement(H,null,"We use name of folder as tagName for your site widget. Unfortunately, ",v.default.createElement(H,{bold:!0},t)," is invalid tagName. Reason: ",r),hint:v.default.createElement(H,null,"You can find rules for tagName here:"," ",v.default.createElement(H,{bold:!0},"https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names"))}),InvalidSiteFrontendPackageVersion:({packageName:t,versionRange:r})=>()=>v.default.createElement(R,{message:v.default.createElement(H,null,"Package ",v.default.createElement(H,{bold:!0},t)," has an invalid version range ",v.default.createElement(H,{bold:!0},r)," in your"," ",v.default.createElement(H,{bold:!0},"package.json")," file."),hint:v.default.createElement(H,null,"The version range must follow"," ",v.default.createElement(H,{bold:!0},"semantic versioning")," rules, and it must contain a major version.",v.default.createElement(Mr,null),"Read more about it here:"," ",v.default.createElement(ms,{url:"https://docs.npmjs.com/about-semantic-versioning"}))}),FailedToCreateSiteOverride:()=>()=>v.default.createElement(ae,{message:"Failed to create site override configuration"}),FailedToGetPipelineErrorInfo:()=>()=>v.default.createElement(ae,{message:"Failed to get error details"}),FailedToGetDeploymentStatus:()=>()=>v.default.createElement(ae,{message:"Failed to get deployment status"}),NetworkError:({cause:t})=>{let r=Ne(t);return()=>v.default.createElement(R,{message:`Network error occurred. Cause: ${r}`,hint:"Make sure you have an active internet connection and try again shortly."})},FailedToGenerateAppMarketQueryParam:()=>()=>v.default.createElement(ae,{message:"Failed to get generate appMarket query parameter"}),FailedToParseLog:()=>()=>v.default.createElement(ae,{message:"Failed to parse log from the server"}),AppForVersionNotFound:({version:t})=>()=>v.default.createElement(R,{message:`Could not find app configuration for the provided version: "${t}"`,hint:"Make sure that there is an app for this version."}),FailedToFetchAppForVersion:()=>()=>v.default.createElement(ae,{message:"Failed to fetch app configuration"}),FailedToGetAppSecret:()=>()=>v.default.createElement(ae,{message:"Failed to fetch app keys and configuration"}),FailedToGetAppSnapshot:()=>()=>v.default.createElement(ae,{message:"Failed to fetch app configuration"}),FailedToConnectToLogsService:()=>()=>v.default.createElement(R,{message:"Failed to connect to logs service."}),FailedToGetLogsTopology:()=>()=>v.default.createElement(R,{message:"Failed to fetch logs configuration for the given version.",hint:"Try to use a different version."}),LogsConnectionTimeout:()=>()=>v.default.createElement(R,{message:"Log session has been closed due to timeout."})})}function Ne(e){return e instanceof Error?e.message:JSON.stringify(e)}function el(e){let t=e.path.join(".");return t?`- \`${t}\`: ${e.message}`:`- ${e.message}`}var rl=({error:e,systemErrorOverride:t})=>(0,So.useMemo)(()=>{let r=og(e);return ag(r)&&t?t:(0,So.createElement)(FS(r.cliCode))},[e,t]);o();var GN=j(MN(),1),BN=j(SW(),1);import{statSync as X3}from"node:fs";import{access as J3,readFile as Z3,writeFile as qN,mkdir as kN,stat as Q3}from"node:fs/promises";import{dirname as Vd,join as Kd,relative as eY}from"node:path";import{EOL as tY}from"node:os";o();var UN=g.object({dependencies:g.record(g.string()).optional(),devDependencies:g.record(g.string()).optional(),peerDependencies:g.record(g.string()).optional()});function rY(e,t){return JSON.stringify(e,null,t?.spaces).concat(tY)}async function ti(e,t,r){try{let i=rY(t,r);await kN(Vd(e),{recursive:!0}),await qN(e,i,"utf-8")}catch(i){throw new y({code:C.FailedToWriteJson({filePath:e,cause:i}),cause:i})}}async function De(e){let t=null;try{t=await Z3(e,"utf-8")}catch(r){throw new y({code:C.FailedToReadJson({filePath:e,cause:r})})}try{return JSON.parse(t)}catch(r){throw new y({code:C.InvalidJsonFile({filePath:e,cause:r})})}}function Ie(e){return J3(e).then(()=>!0).catch(()=>!1)}async function Ime(e,t){await kN(Vd(e),{recursive:!0}),await qN(e,t,"utf-8")}async function HN(e,t){if(!await Ie(e))throw new BN.default({name:"PathNotFound"},`Folder not found at '${e}'`);let r=0,i=0;await(0,GN.create)({strict:!0,gzip:!0,portable:!0,cwd:e,filter(s){let a=Kd(e,s),c=X3(a);return c.isFile()&&(r++,i+=c.size),!0},file:t},["."]);let n=(await Q3(t)).size/1024;return{fileCount:r,compressedSizeInKb:Math.round(n),uncompressedSizeInKb:Math.round(i/1024)}}async function WN(e){let t=Kd(e,"package.json"),r=await De(t),i=await UN.safeParseAsync(r);if(!i.success)throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:i.error})});return r}async function Rme(e,t){let r=Kd(e,"package.json");await ti(r,t,{spaces:2})}function wi(e,t){return eY(e,Vd(t))}o();var gm=j(Ke(),1);o();var jN=j(Ke(),1),bc=(0,jN.createContext)(null);o();o();var DI=j(It(),1);o();o();var JN=j(zN(),1),nY=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed"]),Yd=class extends Error{constructor(t){super(),t instanceof Error?(this.originalError=t,{message:t}=t):(this.originalError=new Error(t),this.originalError.stack=this.stack),this.name="AbortError",this.message=t}},sY=(e,t,r)=>{let i=r.retries-(t-1);return e.attemptNumber=t,e.retriesLeft=i,e},aY=e=>nY.has(e),XN=e=>globalThis.DOMException===void 0?new Error(e):new DOMException(e);async function he(e,t){return new Promise((r,i)=>{t={onFailedAttempt(){},retries:10,...t};let n=JN.default.operation(t);n.attempt(async s=>{try{r(await e(s))}catch(a){if(!(a instanceof Error)){i(new TypeError(`Non-error was thrown: "${a}". You should only throw errors.`));return}if(a instanceof Yd)n.stop(),i(a.originalError);else if(a instanceof TypeError&&!aY(a.message))n.stop(),i(a);else{sY(a,s,t);try{await t.onFailedAttempt(a)}catch(c){i(c);return}n.retry(a)||i(n.mainError())}}}),t.signal&&!t.signal.aborted&&t.signal.addEventListener("abort",()=>{n.stop();let s=t.signal.reason===void 0?XN("The operation was aborted."):t.signal.reason;i(s instanceof Error?s:XN(s))},{once:!0})})}o();o();o();o();function ZN(e=""){let[t,r]=oY(e);return r?{schemaName:r,schemaType:t}:{schemaName:t}}var oY=e=>e.split("#");o();o();function QN(e,t,r,i){let n=e;for(let s of t.split(".")){if(!n)return r;n=n[s]}return`${n}${i}`}var cY="_",uY=["wix.com","editorx.com"],pY=["42.wixprod.net","uw2-edt-1.wixprod.net"],lY="dev.wix-code.com",dY=/{(.*)}/,mY=new RegExp(`\\.(${uY.join("|")})$`),fY=new RegExp(`\\.(${pY.join("|")})$`),hY=new RegExp(`.*\\.${lY}$`);function We(e){let t=vY(e.host),r=xY(t,e.domainToMappings),i=_Y(e.protoPath,e.data||{});return SY(i,r)}function _Y(e,t){return e.split("/").map(r=>EY(r,t)).join("/")}function EY(e,t){let r=e.match(dY)||[],i=r[1];if(i){let n=e.replace(r[0],"");return QN(t,i,e,n)}return e}function vY(e){return gY(e).replace(mY,"._base_domain_").replace(fY,"._api_base_domain_").replace(hY,"*.dev.wix-code.com")}function gY(e){return e.replace("create.editorx.com","editor.editorx.com")}function xY(e,t){let r=t[e]||t[cY];return!r&&OY(e)?t[AY]:r}function SY(e,t){let r=t?.find(i=>e.startsWith(i.destPath));return r?r.srcPath+e.slice(r.destPath.length):e}function OY(e){return!!e.match(/\._base_domain_$/)}var AY="www._base_domain_";o();o();var $d=typeof Buffer=="function",Qme=typeof TextDecoder=="function"?new TextDecoder:void 0,eI=typeof TextEncoder=="function"?new TextEncoder:void 0,NY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ks=Array.prototype.slice.call(NY),efe=(e=>{let t={};return e.forEach((r,i)=>t[r]=i),t})(Ks);var sr=String.fromCharCode.bind(String),tfe=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),IY=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var RY=e=>{let t,r,i,n,s="",a=e.length%3;for(let c=0;c<e.length;){if((r=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255||(n=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|i<<8|n,s+=Ks[t>>18&63]+Ks[t>>12&63]+Ks[t>>6&63]+Ks[t&63]}return a?s.slice(0,a-3)+"===".substring(a):s},rI=typeof btoa=="function"?e=>btoa(e):$d?e=>Buffer.from(e,"binary").toString("base64"):RY,TY=$d?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let i=0,n=e.length;i<n;i+=4096)r.push(sr.apply(null,e.subarray(i,i+4096)));return rI(r.join(""))};var bY=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?sr(192|t>>>6)+sr(128|t&63):sr(224|t>>>12&15)+sr(128|t>>>6&63)+sr(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return sr(240|t>>>18&7)+sr(128|t>>>12&63)+sr(128|t>>>6&63)+sr(128|t&63)}},yY=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,DY=e=>e.replace(yY,bY),tI=$d?e=>Buffer.from(e,"utf8").toString("base64"):eI?e=>TY(eI.encode(e)):e=>rI(DY(e)),iI=(e,t=!1)=>t?IY(tI(e)):tI(e);function nI(e,t=""){let r={};return Object.entries(e).forEach(([i,n])=>{let s=n!==null&&typeof n=="object"&&!Array.isArray(n),a=CY(t,i);if(s){let c=nI(n,a);Object.assign(r,c)}else r[a]=n}),r}function CY(e,t){return`${e}${e?".":""}${t}`}function _e(e,t){let r=nI(e),i=Object.entries(r).reduce((n,[s,a])=>((Array.isArray(a)?a:[a]).forEach(u=>{u!=null&&n.append(s,u)}),n),new URLSearchParams);return t&&i.append(".r",iI(JSON.stringify(e),!0)),i}o();o();var Re;(function(e){e[e.TO_JSON=0]="TO_JSON",e[e.FROM_JSON=1]="FROM_JSON"})(Re||(Re={}));o();function sI(e,t={},r){return function(n={},s){return typeof n=="string"?n:a(e,n);function a(l,f){let h={};return[null,void 0].includes(f)?f:(Object.entries(f).forEach(([E,x])=>{let S=l[E],{schemaName:I,schemaType:b}=ZN(S),q=b==="Map",k=u(I)?.checkRepetable?.(x)??Array.isArray(x),W;k?W=x.map(M=>c(M,I)):q?W=p(x,I):W=c(x,I),h[E]=W}),h)}function c(l,f){if(!f)return l;let h=t[f];if(u(f))return u(f).transform(l);if(h)return a(h,l);throw new Error(`${f} is neither schema nor serializable type`)}function u(l){return r[l]?.[s]}function p(l,f){return Object.entries(l).reduce((h,[E,x])=>(h[E]=c(x,f),h),{})}}}o();o();var aI={types:["google.protobuf.Timestamp"],[Re.TO_JSON]:{transform:e=>e?.toISOString()},[Re.FROM_JSON]:{transform:e=>e?new Date(e):void 0}};o();var oI={types:["google.protobuf.FieldMask"],[Re.TO_JSON]:{transform:e=>e.join(","),checkRepetable:e=>e.some(t=>Array.isArray(t))},[Re.FROM_JSON]:{transform:e=>typeof e=="object"?e.paths:e.split(",")}};o();var cI={types:["google.protobuf.BytesValue","BYTES"],[Re.TO_JSON]:{transform:e=>{let t=e.reduce((r,i)=>r+String.fromCharCode(i),"");return btoa(t)}},[Re.FROM_JSON]:{transform:e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0))}};o();var uI={types:["google.protobuf.Duration"],[Re.TO_JSON]:{transform:({seconds:e="0",nanos:t=0})=>{let r="";return t!==0&&(r=`.${t.toString().padStart(9,"0")}`),`${e}${r}s`}},[Re.FROM_JSON]:{transform:e=>{let[t,r]=e.substring(0,e.length-1).split(".");return{seconds:t,nanos:PY(r)}}}};function PY(e){let t=0;if(e!==void 0){let r=3-e.length/3;t=parseInt(e,10)*Math.pow(1e3,r)}return t}o();var pI={types:["FLOAT","DOUBLE","google.protobuf.FloatValue","google.protobuf.DoubleValue"],[Re.TO_JSON]:{transform:e=>isFinite(e)?e:e.toString()},[Re.FROM_JSON]:{transform:e=>e==="NaN"?NaN:e==="Infinity"?1/0:e==="-Infinity"?-1/0:e}};var lI=[aI,oI,cI,uI,pI];o();function dI(e){return e.reduce((t,r)=>{let i=r.types.reduce((n,s)=>({...n,[s]:r}),{});return{...t,...i}},{})}var wY=dI([...lI]);function B(e,t={}){let r=sI(e,t,wY);return{fromJSON(i){let n=LY(i)||i;return r(n,Re.FROM_JSON)},toJSON(i){return r(i,Re.TO_JSON)}}}function LY(e){try{return JSON.parse(e)}catch{}}var FY={dateCreated:"google.protobuf.Timestamp",dateUpdated:"google.protobuf.Timestamp"},MY={account:"_account"};var UY={};function qY(e){var t={"api._api_base_domain_":[{srcPath:"/account-server",destPath:""}],"www._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"manage._base_domain_":[{srcPath:"/_api/account-server",destPath:""},{srcPath:"/account-server",destPath:""}],"premium._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"editor._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"blocks._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"create.editorx":[{srcPath:"/_api/account-server",destPath:""}],"bo._base_domain_":[{srcPath:"/account-server",destPath:""}],"wixbo.ai":[{srcPath:"/account-server",destPath:""}],"www.wixapis.com":[{srcPath:"/accounts",destPath:""}],"users._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"*.dev.wix-code.com":[{srcPath:"/_api/account-server",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function mI(e){var t=B(UY,{}),r=t.toJSON,i=t.fromJSON,n=B(MY,{_account:FY}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.account.v2.account",method:"GET",methodFqn:"com.wixpress.account.api.AccountService.getMyAccount",url:qY({protoPath:"/v1/accounts/my_account",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var kY={},GY={};var BY={body:"BYTES"},HY={body:"BYTES"},WY={},jY={};function zd(e){var t={"manage._base_domain_":[{srcPath:"/oauth2",destPath:"/v1/oauth"}],"www.wixapis.com":[{srcPath:"/oauth2",destPath:"/v1/oauth"},{srcPath:"/oauth2/token_info",destPath:"/v1/token_info"}],"users._base_domain_":[{srcPath:"/v1/oauth/device/verify",destPath:"/v1/oauth/device/verify"},{srcPath:"/v1/oauth/manage/user-code",destPath:"/v1/oauth/manage/user-code"},{srcPath:"/v2/oauth/device/verify",destPath:"/v2/oauth/device/verify"}],_:[{srcPath:"/_api/oauth2",destPath:"/v1/oauth"}]};return We(Object.assign(e,{domainToMappings:t}))}function Xd(e){var t=B(BY,{}),r=t.toJSON,i=t.fromJSON,n=B(HY,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.Token",url:zd({protoPath:"/v1/oauth/token",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function fI(e){var t=B(kY,{}),r=t.toJSON,i=t.fromJSON,n=B(GY,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"GET",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.DeviceCode",url:zd({protoPath:"/v1/oauth/device/code",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function hI(e){var t=B(WY,{}),r=t.toJSON,i=t.fromJSON,n=B(jY,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.RevokeRefreshToken",url:zd({protoPath:"/v1/oauth/revoke",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}var wn=j(It(),1);o();var _I=g.object({deviceCode:g.string(),verificationUri:g.string().url(),userCode:g.string(),expiresIn:g.number()}),Jd=g.object({access_token:g.string(),refresh_token:g.string(),expires_in:g.number()}).transform(e=>({accessToken:e.access_token,refreshToken:e.refresh_token,expiresIn:e.expires_in})),Zd=g.object({userId:g.string().uuid(),email:g.string().email()}),EI=g.object({account:g.object({slug:g.string(),accountId:g.string().uuid(),accountOwner:g.string().uuid()})}),vI=g.object({accessToken:g.string(),refreshToken:g.string(),expiresIn:g.number(),issuedAt:g.number()}),gI=vI.extend({userInfo:Zd}),xI=g.object({token:g.string(),accountId:g.string().uuid(),userInfo:g.object({userId:g.string().uuid(),email:g.string()})});var{InvalidResponseData:VY,FailedToGetAuthToken:KY,FailedToGetDeviceCode:YY,FailedToRenewAuthToken:$Y,FailedToRenewAuthTokenSiteNotFound:zY,FailedToRevokeRefreshToken:XY}=C,Qd="6f95cec8-3e98-48b9-b4e5-1fb92fcd9973",SI=()=>Math.floor(Date.now()/1e3),Ys=class extends Error{},yc=(0,wn.variant)({TokenRenewed:(0,wn.payload)(),RefreshTokenRevoked:(0,wn.fields)()}),em=class{constructor(t){this.httpClient=t;let{minRetryTimeout:r}=ot();this.retryOptions={retries:3,minTimeout:r,maxTimeout:3*1e3}}retryOptions;async requestDeviceCode(t={}){try{let{data:r}=await he(()=>this.httpClient.request(fI({...t,clientId:Qd})),this.retryOptions);return _I.parse(r)}catch(r){throw new y({code:YY(),cause:r})}}async createToken(t){try{let r={clientId:Qd,grantType:"urn:ietf:params:oauth:grant-type:device_code",scope:"offline_access",...t};return{...await he(async()=>{let{data:n,requestId:s}=await this.httpClient.request(Xd(r)),a=Jd.safeParse(n);if(a.success)return a.data;throw new y({code:VY(),cause:a.error,info:{requestId:s,data:n}})},this.retryOptions),issuedAt:SI()}}catch(r){throw hr(r)&&(r.response?.data?.message==="Device code is not yet verified"||r.response?.data?.error==="authorization_pending")?new Ys("Device code is not yet verified."):new y({code:KY(),cause:r})}}async renewToken(t){try{let r={clientId:Qd,grantType:"refresh_token",...t},{data:i}=await he(()=>this.httpClient.request(Xd(r)),this.retryOptions),n=Jd.parse(i);return yc.TokenRenewed({...n,issuedAt:SI()})}catch(r){if(hr(r)){if(r.response?.status===400&&r.response?.data?.error==="invalid_grant")return yc.RefreshTokenRevoked({cause:r});if(t.siteId&&r.response?.status===404&&r.response?.data?.details?.applicationError?.code==="SITE_NOT_FOUND")throw new y({code:zY({siteId:t.siteId}),cause:r})}throw new y({code:$Y(),cause:r})}}async revokeRefreshToken(t,{email:r}){try{let{data:i}=await this.httpClient.request(hI(t));return i}catch(i){throw new y({code:XY({email:r}),info:{email:r},cause:i})}}async userInfo({accessToken:t}){try{let r=un({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.get("/_serverless/wix-cli-userinfo/userinfo");return Zd.parse(i)}catch(r){throw new y({code:C.FailedToGetUserInfo(),cause:r})}}async getMyAccount({token:t}){try{let r=un({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.request(mI({}));return EI.parse(i).account}catch(r){throw new y({code:C.FailedToGetMyAccount(),cause:r})}}},ri=new em(un({type:"backoffice"}));o();import{unlink as e$,rm as t$}from"node:fs/promises";import{resolve as $s}from"node:path";o();import{mkdir as JY}from"node:fs/promises";import{resolve as ZY}from"node:path";import{homedir as QY}from"node:os";function Dc(){return ot().dataDir??ZY(QY(),".wix")}async function ghe(){await JY(Dc(),{recursive:!0})}var Ot=j(It(),1);function AI(){return $s(Dc(),"auth.json")}function Cc(){return $s(Dc(),"auth")}function NI(){return $s(Cc(),"api-key.json")}function II(){return $s(Cc(),"account.json")}function r$(e){return $s(Cc(),`${e}.json`)}var OI=(0,Ot.variant)({Authenticated:(0,Ot.payload)(),Unauthenticated:{}});async function RI(){let e=NI();if(!await Ie(e))return OI.Unauthenticated();let t=await De(e),r=xI.parse(t);return OI.Authenticated(r)}async function TI(e){try{let t=NI();await ti(t,e)}catch(t){throw new y({code:C.FailedToSaveApiKeyAuthData({cause:t}),cause:t})}}var tm=(0,Ot.variant)({Authenticated:(0,Ot.fields)(),Unauthenticated:{},Expired:(0,Ot.fields)()});async function bI(){let e=II();if(!await Ie(e))return tm.Unauthenticated();let t=await De(e),r=gI.parse(t);return nm(r)?tm.Authenticated(r):tm.Expired(r)}var bhe=(0,Ot.variant)({Authenticated:(0,Ot.fields)(),Unauthenticated:{},Expired:(0,Ot.fields)()});async function rm(e,t){try{let r=t?r$(t):II();await ti(r,e)}catch(r){throw new y({code:C.FailedToSaveAuthData({cause:r}),cause:r})}}async function Pc(){try{await t$(Cc(),{recursive:!0,force:!0})}catch(e){throw new y({code:C.FailedToDeleteAuthData({cause:e}),cause:e})}await im()&&await i$()}async function i$(){try{await e$(AI())}catch(e){throw new y({code:C.FailedToDeleteLegacyAuthData({cause:e}),cause:e})}}async function im(){return Ie(AI())}function nm(e){let t=Math.floor(Date.now()/1e3),r=10*60,i=e.expiresIn-r;return e.issuedAt+i>t}function yI({authData:{token:e,accountId:t,userInfo:r},siteId:i}){return{getAccessToken:async()=>e,getRefreshToken:()=>{throw new Error("API key auth does not support refresh tokens")},getRequestHeaders:()=>({"wix-account-id":t,...i&&{"wix-site-id":i}}),userInfo:r}}var CI={async isLoggedIn({siteId:e}={}){let t=await RI();return(0,DI.match)(t,{Authenticated:({payload:r})=>yI({authData:r,siteId:e}),Unauthenticated:()=>null})},async login({token:e}){let{accountId:t,accountOwner:r,slug:i}=await ri.getMyAccount({token:e}),n={token:e,accountId:t,userInfo:{userId:r,email:i}};return await Pc(),await TI(n),yI({authData:n})}};o();o();o();var sm=class{value;next;constructor(t){this.value=t}},zs=class{#e;#t;#r;constructor(){this.clear()}enqueue(t){let r=new sm(t);this.#e?(this.#t.next=r,this.#t=r):(this.#e=r,this.#t=r),this.#r++}dequeue(){let t=this.#e;if(t)return this.#e=this.#e.next,this.#r--,t.value}clear(){this.#e=void 0,this.#t=void 0,this.#r=0}get size(){return this.#r}*[Symbol.iterator](){let t=this.#e;for(;t;)yield t.value,t=t.next}};function am(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new zs,r=0,i=()=>{r--,t.size>0&&t.dequeue()()},n=async(c,u,p)=>{r++;let l=(async()=>c(...p))();u(l);try{await l}catch{}i()},s=(c,u,p)=>{t.enqueue(n.bind(void 0,c,u,p)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},a=(c,...u)=>new Promise(p=>{s(c,p,u)});return Object.defineProperties(a,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),a}var ii=j(It(),1);o();o();var Ln=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},om=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}},PI=e=>globalThis.DOMException===void 0?new om(e):new DOMException(e),wI=e=>{let t=e.reason===void 0?PI("This operation was aborted."):e.reason;return t instanceof Error?t:PI(t)};function cm(e,t){let{milliseconds:r,fallback:i,message:n,customTimers:s={setTimeout,clearTimeout}}=t,a,u=new Promise((p,l)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){let{signal:h}=t;h.aborted&&l(wI(h)),h.addEventListener("abort",()=>{l(wI(h))})}if(r===Number.POSITIVE_INFINITY){e.then(p,l);return}let f=new Ln;a=s.setTimeout.call(void 0,()=>{if(i){try{p(i())}catch(h){l(h)}return}typeof e.cancel=="function"&&e.cancel(),n===!1?p():n instanceof Error?l(n):(f.message=n??`Promise timed out after ${r} milliseconds`,l(f))},r),(async()=>{try{p(await e)}catch(h){l(h)}})()}).finally(()=>{u.clear()});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}var um=Symbol("resolveValue");async function ar(e,t={}){let{interval:r=20,timeout:i=Number.POSITIVE_INFINITY,before:n=!0}=t,s,a=!1,c=new Promise((u,p)=>{let l=async()=>{try{let f=await e();if(typeof f=="object"&&f[um])u(f[um]);else{if(typeof f!="boolean")throw new TypeError("Expected condition to return a boolean");f===!0?u():a||(s=setTimeout(l,r))}}catch(f){p(f)}};n?l():s=setTimeout(l,r)});if(i===Number.POSITIVE_INFINITY)return c;try{return await cm(c,typeof i=="number"?{milliseconds:i}:i)}finally{a=!0,clearTimeout(s)}}ar.resolveWith=e=>({[um]:e});var LI=e=>1e3*e;async function n$({deviceCode:e,expiresIn:t},{signal:r}){try{let i=await ar(async()=>{try{let a=await ri.createToken({deviceCode:e});return ar.resolveWith(a)}catch(a){if(a instanceof Ys)return!1;throw a}},{interval:ot().waitForLoginInterval??LI(3),timeout:{milliseconds:LI(t),signal:r}}),n=await ri.userInfo({accessToken:i.accessToken}),s={...i,userInfo:n};return await Pc(),await rm(s),s}catch(i){throw i instanceof Ln?new y({code:C.DeviceCodeTimedOut()}):i}}async function MI({refreshToken:e,userInfo:t}){let r=await ri.renewToken({refreshToken:e});return(0,ii.isType)(r,yc.TokenRenewed)&&await rm({...r.payload,userInfo:t}),r}async function s$(){let e=await bI();return(0,ii.match)(e,{Authenticated:t=>t,Unauthenticated:()=>null,Expired:async t=>{let r=await MI(t);return(0,ii.match)(r,{TokenRenewed:({payload:i})=>({...i,userInfo:t.userInfo}),RefreshTokenRevoked:(0,ii.constant)(null)})}})}function FI({userInfo:e,...t}){let r=am(1),i={...t};return{getAccessToken:()=>r(async()=>{if(nm(i))return i.accessToken;let n=await MI({...i,userInfo:e});return(0,ii.match)(n,{TokenRenewed:({payload:s})=>(i=s,i.accessToken),RefreshTokenRevoked:({cause:s})=>{throw new y({code:C.FailedToRenewAuthTokenRefreshTokenRevoked(),cause:s})}})}),getRefreshToken:()=>i.refreshToken,userInfo:e}}var Xs={async isLoggedIn(){let e=await CI.isLoggedIn();if(e)return e;let t=await s$();return t?FI(t):null},async login({deviceCode:e,signal:t}){let r=await n$(e,{signal:t});return FI(r)}};o();var Zs=j(Ke(),1),pR=j(It(),1);o();var vm=j(Ke(),1);o();function n_e(e){return{evid:5200,src:11,endpoint:"wix-cli",params:e}}function s_e(e){return{evid:5201,src:11,endpoint:"wix-cli",params:e}}function UI(e){return{evid:5211,src:11,endpoint:"wix-cli",params:e}}function pm(e){return{evid:5212,src:11,endpoint:"wix-cli",params:e}}var aR=j(It(),1);var qI={"login.instructions_title":"Authorize the CLI to access your Wix account:","login.instructions_details":`1. Copy this code to the clipboard: <0>{code}</0>
29
- 2. Press <1/> to <2>log in</2> and then paste the code`,"login.legacy_auth_notice":"We implemented a new and more secure login method. You'll need to re-login to continue using the CLI.","login.error_opening_browser":"Failed to open browser, please try opening <0/> manually."};o();var je=j(Ke(),1);o();var tR=j(ZI(),1);o();var QI=j(go(),1);async function eR(e,t){await(0,QI.createHttpClient)().post(e,void 0,{params:{url:t}})}async function rR(e){let{userBrowserTestEndpoint:t}=ot();t?await eR(t,e):await(0,tR.default)(e,{background:!0})}o();var iR=j(Ke(),1);function nR(e){return(0,iR.useMemo)(()=>{let t=new URL(e);return t.searchParams.set("color","developer"),t.searchParams.set("studio","true"),t.toString()},[e])}var sR=({userCode:e,verificationUri:t})=>{let r=nR(t),{reportError:i}=up(),[n,s]=(0,je.useState)(null);return ug((a,c)=>{c.return&&rR(r).catch(u=>{i(u),s(u)})}),je.default.createElement(je.default.Fragment,null,je.default.createElement(Xi,{i18nKey:"login.instructions_title"}),je.default.createElement(Bt,{flexDirection:"column",marginTop:1,marginBottom:1,marginLeft:2},je.default.createElement(Xi,{i18nKey:"login.instructions_details",components:[je.default.createElement(H,{skin:"legacyBlue"}),je.default.createElement(lg,{value:"enter"}),je.default.createElement(ms,{url:r})],values:{code:e}})),n&&je.default.createElement(je.default.Fragment,null,je.default.createElement(Bt,{flexDirection:"column",marginBottom:1},je.default.createElement(rl,{error:n})),je.default.createElement(Xi,{i18nKey:"login.error_opening_browser",components:[je.default.createElement(ms,{url:r})]})))};var oR=({loginFn:e,onLogin:t,onError:r})=>{let i=cp();function n(c){i.report(pm({isSuccess:!1,...c instanceof Error?{errorType:c.name}:{errorType:"unknown",errorMessage:JSON.stringify(c)}})),r(c)}let s=mg(async({signal:c},u)=>{try{let p=await e({deviceCode:u,signal:c});i.report(pm({isSuccess:!0})),t(p)}catch(p){n(p)}}),{status:a}=zi(async()=>(i.report(UI({})),ri.requestDeviceCode()),[],{onSuccess:c=>{s.execute(c)},onError:n});return(0,aR.match)(a,{Error:()=>null,Loading:()=>vm.default.createElement(Ya,null),Success:({result:{userCode:c,verificationUri:u}})=>vm.default.createElement(sR,{userCode:c,verificationUri:u})})};o();var Js=j(Ke(),1),cR=j(It(),1);var uR=({children:e})=>{let{status:t}=zi(im,[],{onError:()=>{}});return(0,cR.match)(t,{Error:()=>null,Loading:()=>null,Success:({result:r})=>Js.default.createElement(Js.default.Fragment,null,r&&Js.default.createElement(Bt,{marginBottom:1},Js.default.createElement(Xi,{i18nKey:"login.legacy_auth_notice"})),e)})};var lR=({authStrategy:{login:e,isLoggedIn:t},onLogin:r,onError:i,children:n})=>{let{status:s,merge:a}=zi(t,[],{onSuccess:c=>{c&&r(c)},onError:i});return(0,pR.match)(s,{Loading:()=>Zs.default.createElement(Ya,null),Error:()=>null,Success:({result:c})=>c===null?Zs.default.createElement(fg,{messages:qI},Zs.default.createElement(uR,null,Zs.default.createElement(oR,{loginFn:e,onLogin:u=>{a({result:u}),r(u)},onError:i}))):n(c)})};var v$=({children:e,onError:t,onLogin:r})=>{let i=dg();return gm.default.createElement(lR,{authStrategy:Xs,onLogin:({userInfo:n})=>r?.(n),onError:t??i},({getAccessToken:n,getRequestHeaders:s,userInfo:a})=>gm.default.createElement(bc.Provider,{value:{getAccessToken:n,getRequestHeaders:s,userInfo:a}},e))};o();o();var dR=j(Ke(),1);function xm(){let e=(0,dR.useContext)(bc);if(!e)throw new Error("useAuth() cannot be used without an <AuthProvider>");return e}var{isLoggedIn:oEe}=Xs;o();import{join as x$}from"node:path";o();import{join as g$}from"node:path";function mR(e=""){return g$(e,".wix")}var Mn="wix.config.json";var vEe="user.config.json",gEe=g.object({telemetry:g.boolean().default(!0),tunneling:g.boolean().default(!1)});function xEe(e){return x$(mR(e),"debug.log")}o();var mt=j(It(),1),le=(0,mt.variant)({DashboardPage:(0,mt.fields)(),DashboardPlugin:(0,mt.fields)(),DashboardMenuPlugin:(0,mt.fields)(),DashboardModal:(0,mt.fields)(),DashboardSidebarCategory:(0,mt.fields)(),EmbeddedScript:(0,mt.fields)(),CustomElement:(0,mt.fields)(),Topology:(0,mt.fields)(),Api:(0,mt.fields)(),Event:(0,mt.fields)(),ServicePlugin:(0,mt.fields)()});o();import{createReadStream as S8}from"node:fs";o();import F$ from"node:fs";import M$ from"node:fs/promises";import gR from"node:path";import U$ from"node:stream";import{promisify as q$}from"node:util";o();o();import{promisify as S$}from"util";import Sm from"crypto";var fR=S$(Sm.randomBytes),O$="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""),A$="0123456789".split(""),N$="CDEHKMPRTUWXY012458".split(""),I$="!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split(""),R$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),T$=(e,t)=>{let r=t.length,i=Math.floor(65536/r)*r-1,n=2*Math.ceil(1.1*e),s="",a=0;for(;a<e;){let c=Sm.randomBytes(n),u=0;for(;u<n&&a<e;){let p=c.readUInt16LE(u);u+=2,!(p>i)&&(s+=t[p%r],a++)}}return s},b$=async(e,t)=>{let r=t.length,i=Math.floor(65536/r)*r-1,n=2*Math.ceil(1.1*e),s="",a=0;for(;a<e;){let c=await fR(n),u=0;for(;u<n&&a<e;){let p=c.readUInt16LE(u);u+=2,!(p>i)&&(s+=t[p%r],a++)}}return s},y$=(e,t,r)=>Sm.randomBytes(e).toString(t).slice(0,r),D$=async(e,t,r)=>(await fR(e)).toString(t).slice(0,r),C$=new Set([void 0,"hex","base64","url-safe","numeric","distinguishable","ascii-printable","alphanumeric"]),hR=(e,t)=>({length:r,type:i,characters:n})=>{if(!(r>=0&&Number.isFinite(r)))throw new TypeError("Expected a `length` to be a non-negative finite number");if(i!==void 0&&n!==void 0)throw new TypeError("Expected either `type` or `characters`");if(n!==void 0&&typeof n!="string")throw new TypeError("Expected `characters` to be string");if(!C$.has(i))throw new TypeError(`Unknown type: ${i}`);if(i===void 0&&n===void 0&&(i="hex"),i==="hex"||i===void 0&&n===void 0)return t(Math.ceil(r*.5),"hex",r);if(i==="base64")return t(Math.ceil(r*.75),"base64",r);if(i==="url-safe")return e(r,O$);if(i==="numeric")return e(r,A$);if(i==="distinguishable")return e(r,N$);if(i==="ascii-printable")return e(r,I$);if(i==="alphanumeric")return e(r,R$);if(n.length===0)throw new TypeError("Expected `characters` string length to be greater than or equal to 1");if(n.length>65536)throw new TypeError("Expected `characters` string length to be less or equal to 65536");return e(r,n.split(""))},_R=hR(T$,y$);_R.async=hR(b$,D$);var ER=_R;function Om(){return ER({length:32})}o();import{promises as P$}from"node:fs";import w$ from"node:os";var L$=await P$.realpath(w$.tmpdir()),Am=L$;o();function vR(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function MEe(e){return vR(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object"}var YEe=q$(U$.pipeline),xR=(e="")=>gR.join(Am,e+Om());async function k$(e,t){try{return await t(e)}finally{await M$.rm(e,{recursive:!0,force:!0,maxRetries:2})}}function G$({name:e,extension:t}={}){if(e){if(t!=null)throw new Error("The `name` and `extension` options are mutually exclusive");return gR.join(B$(),e)}return xR()+(t==null?"":"."+t.replace(/^\./,""))}var SR=async(e,t)=>k$(G$(t),e);function B$({prefix:e=""}={}){let t=xR(e);return F$.mkdirSync(t),t}o();var oy=j(It(),1);import{join as re}from"node:path";o();var OR;(function(e){e.NONE="NONE",e.STUDIO="STUDIO",e.PLATFORM="PLATFORM",e.WORKER="WORKER",e.DASHBOARD="DASHBOARD",e.WIDGET="WIDGET",e.PAGE="PAGE",e.DASHBOARD_PLATFORM="DASHBOARD_PLATFORM",e.STUDIO_WIDGET="STUDIO_WIDGET",e.EMBEDDED_SCRIPT="EMBEDDED_SCRIPT",e.EXTENSION="EXTENSION",e.SNIPPET_SOLUTION="SNIPPET_SOLUTION",e.DATA_COMPONENT="DATA_COMPONENT",e.WEB="WEB",e.DC_CONFIG="DC_CONFIG",e.WIDGET_OUT_OF_IFRAME="WIDGET_OUT_OF_IFRAME",e.PAGE_OUT_OF_IFRAME="PAGE_OUT_OF_IFRAME",e.STATIC_FILE="STATIC_FILE",e.APP_CONFIG="APP_CONFIG",e.MULTIPLE_DASHBOARDS="MULTIPLE_DASHBOARDS",e.PAYMENTS_GATEWAY="PAYMENTS_GATEWAY",e.CODE_PACKAGE="CODE_PACKAGE",e.AUTOMATION_TRIGGER="AUTOMATION_TRIGGER",e.INVOICES_ACTIONS="INVOICES_ACTIONS",e.DASHBOARD_APPLICATION="DASHBOARD_APPLICATION",e.CONTACT_LABELS="CONTACT_LABELS",e.WIDGET_PLUGIN="WIDGET_PLUGIN",e.CROSS_SELL="CROSS_SELL",e.LOCAL_DELIVERY="LOCAL_DELIVERY",e.PAYMENT_PROVIDER="PAYMENT_PROVIDER",e.ECOM_MEMBERSHIPS="ECOM_MEMBERSHIPS",e.ECOM_LINE_ITEMS_ENRICHER="ECOM_LINE_ITEMS_ENRICHER",e.ECOM_SHIPPING_RATES="ECOM_SHIPPING_RATES",e.SHIPPING_LABEL_CARRIER="SHIPPING_LABEL_CARRIER",e.RESTAURANTS_POS="RESTAURANTS_POS",e.FICTIONAL_SHIPPING_PROVIDER="FICTIONAL_SHIPPING_PROVIDER",e.ALERT_ENRICHER="ALERT_ENRICHER",e.DATA_EXTENSIONS="DATA_EXTENSIONS",e.GENERIC_HOOKS="GENERIC_HOOKS",e.AUTOMATIONS_ACTION_PROVIDER="AUTOMATIONS_ACTION_PROVIDER",e.ECOM_CATALOG="ECOM_CATALOG",e.BACK_OFFICE_EXTENSION_CONTAINER="BACK_OFFICE_EXTENSION_CONTAINER",e.BACK_OFFICE_EXTENSION="BACK_OFFICE_EXTENSION",e.AUTOMATIONS_TRIGGER_PROVIDER="AUTOMATIONS_TRIGGER_PROVIDER",e.IDENTITY_PRE_REGISTRATION="IDENTITY_PRE_REGISTRATION",e.PREMIUM_PRODUCTS_PATHS="PREMIUM_PRODUCTS_PATHS",e.ECOM_CUSTOM_SCOPE="ECOM_CUSTOM_SCOPE",e.GIFT_CARDS_PROVIDER="GIFT_CARDS_PROVIDER",e.DEALER_EXTERNAL_FILTER_PROVIDER="DEALER_EXTERNAL_FILTER_PROVIDER",e.ECOM_DROPSHIPPING_PROVIDER="ECOM_DROPSHIPPING_PROVIDER",e.INVOICES_PROVIDER="INVOICES_PROVIDER",e.SEO_KEYWORDS_SUGGESTIONS="SEO_KEYWORDS_SUGGESTIONS",e.ECOM_DISCOUNTS_TRIGGER="ECOM_DISCOUNTS_TRIGGER",e.MULTILINGUAL_CONTENT_PROVIDER="MULTILINGUAL_CONTENT_PROVIDER",e.APPLICATION_AUTOMATION="APPLICATION_AUTOMATION",e.BACK_OFFICE_SIDEBAR_CATEGORY="BACK_OFFICE_SIDEBAR_CATEGORY",e.BACK_OFFICE_PAGE="BACK_OFFICE_PAGE",e.ECOM_ADDITIONAL_FEES="ECOM_ADDITIONAL_FEES",e.PING_USER_NOTIFICATION="PING_USER_NOTIFICATION",e.ECOM_RECOMMENDATIONS_PROVIDER="ECOM_RECOMMENDATIONS_PROVIDER",e.BOOKINGS_PRICING_PROVIDER="BOOKINGS_PRICING_PROVIDER",e.IDENTITY_AUTHENTICATOR="IDENTITY_AUTHENTICATOR",e.IDENTITY_IDP_CONNECTOR="IDENTITY_IDP_CONNECTOR",e.ITEMS_SELECTION_PROVIDER="ITEMS_SELECTION_PROVIDER",e.PORTFOLIO_SYNCED_PROJECTS_PROVIDER="PORTFOLIO_SYNCED_PROJECTS_PROVIDER",e.COMMUNICATION_CHANNEL="COMMUNICATION_CHANNEL",e.IDENTITY_POST_LOGIN="IDENTITY_POST_LOGIN",e.BACK_OFFICE_WIDGET="BACK_OFFICE_WIDGET",e.SOCIAL_MARKETING_DESIGN="SOCIAL_MARKETING_DESIGN",e.FORMS_SUBMISSIONS_PROVIDER="FORMS_SUBMISSIONS_PROVIDER",e.WIX_OFFERING="WIX_OFFERING",e.DEV_CENTER_TESTING_COMPONENT="DEV_CENTER_TESTING_COMPONENT",e.COMPONENTS_VALIDATOR_PROVIDER="COMPONENTS_VALIDATOR_PROVIDER",e.COMPONENTS_TRANSLATIONS_ADDITIONAL_FIELDS_PROVIDER="COMPONENTS_TRANSLATIONS_ADDITIONAL_FIELDS_PROVIDER",e.FORMS_SCHEMA_PROVIDER="FORMS_SCHEMA_PROVIDER",e.BOOKINGS_EXTERNAL_CALENDAR_PROVIDER="BOOKINGS_EXTERNAL_CALENDAR_PROVIDER",e.ECOM_DEFAULT_TAXATION_CATEGORY="ECOM_DEFAULT_TAXATION_CATEGORY",e.VIEWER_DYNAMIC_SITE_STRUCTURE_PROVIDER="VIEWER_DYNAMIC_SITE_STRUCTURE_PROVIDER",e.PING_UOU_NOTIFICATION="PING_UOU_NOTIFICATION",e.HEADLESS_OAUTH="HEADLESS_OAUTH",e.ECOM_TAX_CALCULATOR_SPI="ECOM_TAX_CALCULATOR_SPI",e.COMMENTS_MODERATION_PROVIDER="COMMENTS_MODERATION_PROVIDER",e.GRID_APP_FILES_TRANSFORMER="GRID_APP_FILES_TRANSFORMER",e.BENEFIT_PROGRAMS_POLICY_PROVIDER="BENEFIT_PROGRAMS_POLICY_PROVIDER",e.PREMIUM_CUSTOM_CHARGES="PREMIUM_CUSTOM_CHARGES",e.ECOM_VALIDATIONS="ECOM_VALIDATIONS",e.COMPONENT_REFERENCE_DATA_PROVIDER="COMPONENT_REFERENCE_DATA_PROVIDER",e.WIX_REVIEWS_PRODUCT_CATALOG="WIX_REVIEWS_PRODUCT_CATALOG",e.SOCIAL_MARKETING_DESIGNS_PROVIDER="SOCIAL_MARKETING_DESIGNS_PROVIDER",e.GOOGLE_BUSINESS_PROFILE_FEATURE_PROVIDER="GOOGLE_BUSINESS_PROFILE_FEATURE_PROVIDER",e.COMMENTS_FILTER_PROVIDER="COMMENTS_FILTER_PROVIDER",e.BILLING_TAX_ID_VALIDATOR="BILLING_TAX_ID_VALIDATOR",e.PING_SETTINGS_GROUP="PING_SETTINGS_GROUP",e.FORMS_SPAM_SUBMISSIONS_PROVIDER="FORMS_SPAM_SUBMISSIONS_PROVIDER",e.EDITOR_ADDON="EDITOR_ADDON",e.EXTERNAL_DATABASE_PROVIDER="EXTERNAL_DATABASE_PROVIDER",e.ECOM_PAYMENT_SETTINGS="ECOM_PAYMENT_SETTINGS",e.NOTIFICATION_TOPIC="NOTIFICATION_TOPIC",e.NOTIFICATION_PREFERENCES_FILTER_PROVIDER="NOTIFICATION_PREFERENCES_FILTER_PROVIDER",e.BOOKINGS_RESOURCE_TYPES_PROVIDER="BOOKINGS_RESOURCE_TYPES_PROVIDER",e.PRICING_PLANS_FORM_CONFIGURATION="PRICING_PLANS_FORM_CONFIGURATION",e.USER_NOTIFICATION="USER_NOTIFICATION",e.CONTACT_NOTIFICATION="CONTACT_NOTIFICATION",e.UNIFIED_PAGE="UNIFIED_PAGE",e.AVAILABILITY_TIME_SLOTS_CONFIGURATION_PROVIDER="AVAILABILITY_TIME_SLOTS_CONFIGURATION_PROVIDER",e.PROPOSAL_EDITOR_PROVIDER="PROPOSAL_EDITOR_PROVIDER",e.CUSTOM_TABLE_RESERVATIONS_PROVIDER="CUSTOM_TABLE_RESERVATIONS_PROVIDER",e.COMMENTS_CONTEXT_PROVIDER="COMMENTS_CONTEXT_PROVIDER",e.FORMS_SPAM_SUBMISSION_REPORTS_PROVIDER="FORMS_SPAM_SUBMISSION_REPORTS_PROVIDER",e.AUTOMATIONS_VELO_ACTION_PROVIDER="AUTOMATIONS_VELO_ACTION_PROVIDER",e.CALENDAR_EVENT_TYPE_PROVIDER="CALENDAR_EVENT_TYPE_PROVIDER",e.RESERVED="RESERVED",e.SMS_ACTION_MESSAGE="SMS_ACTION_MESSAGE",e.BOOKING_POLICY_PROVIDER="BOOKING_POLICY_PROVIDER",e.MULTI_SERVICE_BOOKING_POLICY_PROVIDER="MULTI_SERVICE_BOOKING_POLICY_PROVIDER",e.AI_ASSISTANT="AI_ASSISTANT",e.FORMS_SUBMISSIONS_EXTENSION_PROVIDER="FORMS_SUBMISSIONS_EXTENSION_PROVIDER",e.MULTILINGUAL_TRANSLATION_SCHEMA="MULTILINGUAL_TRANSLATION_SCHEMA",e.TAX_CALCULATION_PROVIDER="TAX_CALCULATION_PROVIDER",e.TAX_GROUPS_PROVIDER="TAX_GROUPS_PROVIDER",e.BACK_OFFICE_MODAL="BACK_OFFICE_MODAL",e.DEPLOYMENT_PIPELINE_PROVIDER="DEPLOYMENT_PIPELINE_PROVIDER",e.CUSTOM_ELEMENT_WIDGET="CUSTOM_ELEMENT_WIDGET",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET",e.BACK_OFFICE_EXTENSION_MENU_ITEM="BACK_OFFICE_EXTENSION_MENU_ITEM",e.FORM_TEMPLATE="FORM_TEMPLATE",e.NOTIFICATION_CONTENT="NOTIFICATION_CONTENT",e.BROADCAST_LIST="BROADCAST_LIST",e.PARTNERS_PAYOUTS="PARTNERS_PAYOUTS",e.WIX_REVIEWS_ENTITY_CATALOG="WIX_REVIEWS_ENTITY_CATALOG",e.VELO_PUBLISH_PIPELINE_TASK_PROVIDER="VELO_PUBLISH_PIPELINE_TASK_PROVIDER",e.FUNCTIONS_SHOP_PRICE_PROVIDER="FUNCTIONS_SHOP_PRICE_PROVIDER",e.FUNCTION="FUNCTION",e.ECOM_CHECKOUT_CONTENT="ECOM_CHECKOUT_CONTENT",e.COMMUNICATION_CHANNEL_PROVIDER="COMMUNICATION_CHANNEL_PROVIDER",e.WEBHOOK="WEBHOOK",e.TOPOLOGY="TOPOLOGY",e.LOYALTY_CUSTOM_REWARDS="LOYALTY_CUSTOM_REWARDS",e.FUNCTION_RECIPE="FUNCTION_RECIPE",e.BACK_OFFICE_EXTERNAL_URL="BACK_OFFICE_EXTERNAL_URL",e.IDENTITY_FACTOR="IDENTITY_FACTOR"})(OR||(OR={}));var AR;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})(AR||(AR={}));var NR;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})(NR||(NR={}));var IR;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(IR||(IR={}));var RR;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(RR||(RR={}));var TR;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(TR||(TR={}));var bR;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(bR||(bR={}));var yR;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(yR||(yR={}));var DR;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(DR||(DR={}));var CR;(function(e){e.NONE_INTERFACE="NONE_INTERFACE",e.REVIEWS="REVIEWS",e.RATINGS_SUMMARY="RATINGS_SUMMARY",e.RATINGS_SUMMARY_OOI_LIST="RATINGS_SUMMARY_OOI_LIST",e.BOOKINGS_SERVICE="BOOKINGS_SERVICE",e.BOOKINGS_FORM="BOOKINGS_FORM",e.BASE="BASE",e.EVENT="EVENT",e.PRODUCT="PRODUCT",e.CHECKOUT="CHECKOUT",e.CATEGORY="CATEGORY",e.BOOKINGS_CALENDAR="BOOKINGS_CALENDAR"})(CR||(CR={}));var PR;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(PR||(PR={}));var wR;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(wR||(wR={}));var LR;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(LR||(LR={}));var Un;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(Un||(Un={}));var Fi;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(Fi||(Fi={}));var FR;(function(e){e.BACKGROUND="BACKGROUND",e.SECONDARY_TEXTS="SECONDARY_TEXTS",e.MAIN_TEXT_AND_ICONS="MAIN_TEXT_AND_ICONS",e.BORDERS_AND_DIVIDERS="BORDERS_AND_DIVIDERS",e.BUTTONS_AND_LINKS="BUTTONS_AND_LINKS"})(FR||(FR={}));var MR;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(MR||(MR={}));var UR;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(UR||(UR={}));var qR;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(qR||(qR={}));var kR;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(kR||(kR={}));var GR;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(GR||(GR={}));var BR;(function(e){e.NONE_EXTENSION="NONE_EXTENSION",e.PAYMENTS_GATEWAY_EXTENSION="PAYMENTS_GATEWAY_EXTENSION",e.COUPONS_EXTENSION="COUPONS_EXTENSION",e.DROPSHIPPING_EXTENSION="DROPSHIPPING_EXTENSION",e.FULFILMENT_EXTENSION="FULFILMENT_EXTENSION",e.DROPSHIPPING_SUPPLIER_EXTENSION="DROPSHIPPING_SUPPLIER_EXTENSION",e.FULFILLMENT_CENTER_EXTENSION="FULFILLMENT_CENTER_EXTENSION",e.RESTAURANTS_POS_EXTENSION="RESTAURANTS_POS_EXTENSION",e.ART_STORE_EXTENSION="ART_STORE_EXTENSION",e.ASCEND_AUTOMATION_EXTENSION="ASCEND_AUTOMATION_EXTENSION",e.CONTACT_LABELS_EXTENSION="CONTACT_LABELS_EXTENSION"})(BR||(BR={}));var HR;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})(HR||(HR={}));var WR;(function(e){e.UNKNOWN_SIMPLE_TYPE="UNKNOWN_SIMPLE_TYPE",e.MONEY="MONEY",e.LINK="LINK",e.BACKOFFICE_LINK="BACKOFFICE_LINK",e.LIVESITE_LINK="LIVESITE_LINK",e.MULTILINGUAL="MULTILINGUAL",e.IMAGE_LINK="IMAGE_LINK",e.GUID="GUID",e.EMAIL="EMAIL",e.PHONE="PHONE",e.CONTACT_ID="CONTACT_ID"})(WR||(WR={}));var jR;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(jR||(jR={}));var VR;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(VR||(VR={}));var KR;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(KR||(KR={}));var YR;(function(e){e.ZIPCODE="ZIPCODE",e.CITY="CITY",e.STATE="STATE",e.ADDRESS="ADDRESS",e.COUNTRY_CODE="COUNTRY_CODE",e.EMAIL="EMAIL",e.PHONE="PHONE",e.FIRST_NAME="FIRST_NAME",e.LAST_NAME="LAST_NAME",e.STREET="STREET",e.HOUSE_NUMBER="HOUSE_NUMBER",e.TAX_IDENTIFIER="TAX_IDENTIFIER"})(YR||(YR={}));var $R;(function(e){e.Metric="Metric",e.Imperial="Imperial"})($R||($R={}));var zR;(function(e){e.WIX="WIX",e.POS="POS"})(zR||(zR={}));var XR;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(XR||(XR={}));var JR;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(JR||(JR={}));var ZR;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(ZR||(ZR={}));var QR;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})(QR||(QR={}));var eT;(function(e){e.NO_HOSTING_PLATFORM="NO_HOSTING_PLATFORM",e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.ACCOUNT_MANAGER="ACCOUNT_MANAGER",e.DEV_CENTER="DEV_CENTER",e.ENTERPRISE="ENTERPRISE",e.PARTNERS_DASHBOARD="PARTNERS_DASHBOARD",e.FINANCIALS_INTERNAL_BO="FINANCIALS_INTERNAL_BO",e.FED_GUILD_POC="FED_GUILD_POC",e.STUDIO_DASHBOARD="STUDIO_DASHBOARD",e.CHANNELS="CHANNELS",e.DATA_TOOLS="DATA_TOOLS",e.PSP_BACKOFFICE="PSP_BACKOFFICE",e.RISE_PLATFORM_ACCOUNT_DASHBOARD="RISE_PLATFORM_ACCOUNT_DASHBOARD",e.DEMO_DASHBOARD_ENTERPRISE="DEMO_DASHBOARD_ENTERPRISE",e.AI_SCHEDULING_ASSISTANT_DASHBOARD="AI_SCHEDULING_ASSISTANT_DASHBOARD",e.GETTING_PAID="GETTING_PAID"})(eT||(eT={}));var tT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(tT||(tT={}));var rT;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(rT||(rT={}));var iT;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(iT||(iT={}));var nT;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(nT||(nT={}));var sT;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})(sT||(sT={}));var aT;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(aT||(aT={}));var oT;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(oT||(oT={}));var cT;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(cT||(cT={}));var uT;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(uT||(uT={}));var pT;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(pT||(pT={}));var lT;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(lT||(lT={}));var dT;(function(e){e.UNKNOWN_TAG="UNKNOWN_TAG",e.EMBEDDABLE="EMBEDDABLE",e.ECOM_EDIT_ORDER="ECOM_EDIT_ORDER",e.ECOM_CREATE_ORDER="ECOM_CREATE_ORDER",e.INBOX="INBOX"})(dT||(dT={}));var mT;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(mT||(mT={}));var fT;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(fT||(fT={}));var hT;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(hT||(hT={}));var _T;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(_T||(_T={}));var ET;(function(e){e.UNKNOWN_MIME_TYPE="UNKNOWN_MIME_TYPE",e.IMAGE_JPEG="IMAGE_JPEG",e.IMAGE_PNG="IMAGE_PNG",e.IMAGE_WEBP="IMAGE_WEBP",e.VIDEO_MPEG="VIDEO_MPEG",e.VIDEO_MP4="VIDEO_MP4",e.VIDEO_3GP="VIDEO_3GP",e.AUDIO_AAC="AUDIO_AAC",e.AUDIO_MP4="AUDIO_MP4",e.AUDIO_MPEG="AUDIO_MPEG",e.AUDIO_OGG="AUDIO_OGG",e.AUDIO_OPUS="AUDIO_OPUS",e.APPLICATION_PDF="APPLICATION_PDF",e.APPLICATION_OCTET_STREAM="APPLICATION_OCTET_STREAM"})(ET||(ET={}));var vT;(function(e){e.SMS="SMS",e.MMS="MMS"})(vT||(vT={}));var gT;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(gT||(gT={}));var xT;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(xT||(xT={}));var ST;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})(ST||(ST={}));var OT;(function(e){e.LIST_NOT_SUPPORTED="LIST_NOT_SUPPORTED",e.LIST_FROM_PRIMARY_CALENDAR_ONLY="LIST_FROM_PRIMARY_CALENDAR_ONLY",e.LIST_FROM_SPECIFIC_CALENDARS="LIST_FROM_SPECIFIC_CALENDARS"})(OT||(OT={}));var AT;(function(e){e.SYNC_NOT_SUPPORTED="SYNC_NOT_SUPPORTED",e.SYNC_TO_PRIMARY_CALENDAR_ONLY="SYNC_TO_PRIMARY_CALENDAR_ONLY",e.SYNC_TO_DEDICATED_CALENDAR="SYNC_TO_DEDICATED_CALENDAR"})(AT||(AT={}));var NT;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(NT||(NT={}));var IT;(function(e){e.OAUTH_TECHNOLOGY_UNSPECIFIED="OAUTH_TECHNOLOGY_UNSPECIFIED",e.JAVASCRIPT="JAVASCRIPT",e.ANGULAR="ANGULAR",e.VUE="VUE",e.REACT="REACT",e.REACT_NATIVE="REACT_NATIVE",e.IOS="IOS",e.ANDROID="ANDROID",e.OTHER_TECHNOLOGY="OTHER_TECHNOLOGY"})(IT||(IT={}));var RT;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(RT||(RT={}));var TT;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(TT||(TT={}));var bT;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(bT||(bT={}));var yT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(yT||(yT={}));var DT;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(DT||(DT={}));var CT;(function(e){e.UNKNWON_PLAN_FORM_SECTION="UNKNWON_PLAN_FORM_SECTION",e.INFO="INFO",e.BENEFITS="BENEFITS",e.PAGE_PERMISSIONS="PAGE_PERMISSIONS",e.PRICING_AND_DURATION="PRICING_AND_DURATION",e.ADVANCED_SETTINGS="ADVANCED_SETTINGS"})(CT||(CT={}));var PT;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(PT||(PT={}));var wT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(wT||(wT={}));var LT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(LT||(LT={}));var FT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(FT||(FT={}));var MT;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(MT||(MT={}));var UT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(UT||(UT={}));var qT;(function(e){e.UNKNOWN_MOBILE_APPLICATION="UNKNOWN_MOBILE_APPLICATION",e.OWNER="OWNER",e.SPACES="SPACES",e.DINE="DINE",e.FITNESS="FITNESS",e.WIX_LIFE="WIX_LIFE",e.WIX_PARTNERS="WIX_PARTNERS",e.BRANDED="BRANDED",e.WIX_STUDIO="WIX_STUDIO",e.NO_SPECIFIC_TARGET_APP="NO_SPECIFIC_TARGET_APP"})(qT||(qT={}));var kT;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(kT||(kT={}));var GT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.OPEN_TO_ALL="OPEN_TO_ALL",e.OPEN_TO_NONE="OPEN_TO_NONE",e.BOOLEAN_EXPERIMENT="BOOLEAN_EXPERIMENT",e.CUSTOM_EXPERIMENT="CUSTOM_EXPERIMENT"})(GT||(GT={}));var BT;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(BT||(BT={}));var HT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})(HT||(HT={}));var WT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(WT||(WT={}));var jT;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(jT||(jT={}));var VT;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(VT||(VT={}));var KT;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(KT||(KT={}));var YT;(function(e){e.UNDEFINED_TYPE="UNDEFINED_TYPE",e.SHORT_TEXT="SHORT_TEXT",e.LONG_TEXT="LONG_TEXT",e.HTML="HTML",e.RICH_CONTENT="RICH_CONTENT",e.IMAGE="IMAGE",e.IMAGE_LINK="IMAGE_LINK",e.JSON="JSON",e.VIDEO="VIDEO",e.DOCUMENT="DOCUMENT"})(YT||(YT={}));var $T;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})($T||($T={}));var zT;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(zT||(zT={}));var XT;(function(e){e.UNDEFINED="UNDEFINED",e.DATE="DATE",e.TIME="TIME",e.DATE_TIME="DATE_TIME",e.EMAIL="EMAIL",e.URL="URL",e.UUID="UUID",e.PHONE="PHONE",e.URI="URI",e.HOSTNAME="HOSTNAME",e.COLOR_HEX="COLOR_HEX",e.CURRENCY="CURRENCY",e.LANGUAGE="LANGUAGE",e.DATE_OPTIONAL_TIME="DATE_OPTIONAL_TIME"})(XT||(XT={}));var JT;(function(e){e.UNKNOWN="UNKNOWN",e.TEXT_INPUT="TEXT_INPUT",e.RADIO_GROUP="RADIO_GROUP",e.DROPDOWN="DROPDOWN",e.DATE_TIME="DATE_TIME",e.PHONE_INPUT="PHONE_INPUT"})(JT||(JT={}));var ZT;(function(e){e.PARAGRAPH="PARAGRAPH",e.TEXT="TEXT",e.HEADING="HEADING",e.BULLETED_LIST="BULLETED_LIST",e.ORDERED_LIST="ORDERED_LIST",e.LIST_ITEM="LIST_ITEM",e.BLOCKQUOTE="BLOCKQUOTE",e.CODE_BLOCK="CODE_BLOCK",e.VIDEO="VIDEO",e.DIVIDER="DIVIDER",e.FILE="FILE",e.GALLERY="GALLERY",e.GIF="GIF",e.HTML="HTML",e.IMAGE="IMAGE",e.LINK_PREVIEW="LINK_PREVIEW",e.MAP="MAP",e.POLL="POLL",e.APP_EMBED="APP_EMBED",e.BUTTON="BUTTON",e.COLLAPSIBLE_LIST="COLLAPSIBLE_LIST",e.TABLE="TABLE",e.EMBED="EMBED",e.COLLAPSIBLE_ITEM="COLLAPSIBLE_ITEM",e.COLLAPSIBLE_ITEM_TITLE="COLLAPSIBLE_ITEM_TITLE",e.COLLAPSIBLE_ITEM_BODY="COLLAPSIBLE_ITEM_BODY",e.TABLE_CELL="TABLE_CELL",e.TABLE_ROW="TABLE_ROW",e.EXTERNAL="EXTERNAL",e.AUDIO="AUDIO"})(ZT||(ZT={}));var QT;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})(QT||(QT={}));var eb;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(eb||(eb={}));var tb;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(tb||(tb={}));var rb;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(rb||(rb={}));var ib;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(ib||(ib={}));var nb;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(nb||(nb={}));var sb;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})(sb||(sb={}));var ab;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(ab||(ab={}));var ob;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(ob||(ob={}));var cb;(function(e){e.COLLAGE="COLLAGE",e.MASONRY="MASONRY",e.GRID="GRID",e.THUMBNAIL="THUMBNAIL",e.SLIDER="SLIDER",e.SLIDESHOW="SLIDESHOW",e.PANORAMA="PANORAMA",e.COLUMN="COLUMN",e.MAGIC="MAGIC",e.FULLSIZE="FULLSIZE"})(cb||(cb={}));var ub;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(ub||(ub={}));var pb;(function(e){e.FILL="FILL",e.FIT="FIT"})(pb||(pb={}));var lb;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(lb||(lb={}));var db;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(db||(db={}));var mb;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(mb||(mb={}));var fb;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(fb||(fb={}));var hb;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(hb||(hb={}));var _b;(function(e){e.LIST="LIST",e.GRID="GRID"})(_b||(_b={}));var Eb;(function(e){e.LTR="LTR",e.RTL="RTL"})(Eb||(Eb={}));var vb;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(vb||(vb={}));var gb;(function(e){e.BOLD="BOLD",e.ITALIC="ITALIC",e.UNDERLINE="UNDERLINE",e.SPOILER="SPOILER",e.ANCHOR="ANCHOR",e.MENTION="MENTION",e.LINK="LINK",e.COLOR="COLOR",e.FONT_SIZE="FONT_SIZE",e.EXTERNAL="EXTERNAL"})(gb||(gb={}));var xb;(function(e){e.PX="PX",e.EM="EM"})(xb||(xb={}));var Sb;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})(Sb||(Sb={}));var Ob;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})(Ob||(Ob={}));var Ab;(function(e){e.LTR="LTR",e.RTL="RTL"})(Ab||(Ab={}));var Nb;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(Nb||(Nb={}));var Ib;(function(e){e.NULL_VALUE="NULL_VALUE"})(Ib||(Ib={}));var Rb;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(Rb||(Rb={}));var Tb;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(Tb||(Tb={}));var bb;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(bb||(bb={}));var yb;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(yb||(yb={}));var Db;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(Db||(Db={}));var Cb;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(Cb||(Cb={}));var Pb;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(Pb||(Pb={}));var wb;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(wb||(wb={}));var Lb;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(Lb||(Lb={}));var Fb;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(Fb||(Fb={}));var Mb;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(Mb||(Mb={}));var Ub;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(Ub||(Ub={}));var qb;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(qb||(qb={}));var kb;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(kb||(kb={}));var Gb;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(Gb||(Gb={}));var Bb;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(Bb||(Bb={}));var Hb;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.WIX_FILE="WIX_FILE",e.PAYMENT="PAYMENT",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(Hb||(Hb={}));var Wb;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(Wb||(Wb={}));var jb;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(jb||(jb={}));var Vb;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(Vb||(Vb={}));var Kb;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(Kb||(Kb={}));var Yb;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(Yb||(Yb={}));var $b;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})($b||($b={}));var zb;(function(e){e.UNDEFINED="UNDEFINED",e.FIRST_NAME="FIRST_NAME",e.LAST_NAME="LAST_NAME",e.COMPANY="COMPANY",e.POSITION="POSITION",e.EMAIL="EMAIL",e.PHONE="PHONE",e.ADDRESS="ADDRESS",e.BIRTHDATE="BIRTHDATE",e.CUSTOM_FIELD="CUSTOM_FIELD",e.SUBSCRIPTION="SUBSCRIPTION",e.VAT_ID="VAT_ID"})(zb||(zb={}));var Xb;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(Xb||(Xb={}));var Jb;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(Jb||(Jb={}));var Zb;(function(e){e.UNKNOWN="UNKNOWN",e.EQUALS="EQUALS",e.NOT_EQUALS="NOT_EQUALS",e.IN="IN",e.NOT_IN="NOT_IN",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUALS="LESS_THAN_OR_EQUALS",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUALS="GREATER_THAN_OR_EQUALS"})(Zb||(Zb={}));var Qb;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})(Qb||(Qb={}));var ey;(function(e){e.ANY="ANY"})(ey||(ey={}));var ty;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.LABEL="LABEL",e.PLACEHOLDER="PLACEHOLDER",e.DESCRIPTION="DESCRIPTION",e.INPUT_VALUE_LIMITS="INPUT_VALUE_LIMITS"})(ty||(ty={}));var ry;(function(e){e.UNKNOWN="UNKNOWN",e.USER_CODE_BUNDLE="USER_CODE_BUNDLE",e.EXPORTED_FUNCTIONS_ANALYSIS="EXPORTED_FUNCTIONS_ANALYSIS",e.IMPORTED_NAMESPACES_ANALYSIS="IMPORTED_NAMESPACES_ANALYSIS",e.PAGE_DETAILS_ANALYSIS="PAGE_DETAILS_ANALYSIS",e.USER_CODE_VALIDATION="USER_CODE_VALIDATION"})(ry||(ry={}));var iy;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(iy||(iy={}));var ny;(function(e){e.UNKNOWN_DIRECT_MESSAGE_TYPE="UNKNOWN_DIRECT_MESSAGE_TYPE",e.MEDIA="MEDIA",e.CARD="CARD",e.MINIMAL="MINIMAL",e.FORM="FORM",e.SYSTEM="SYSTEM"})(ny||(ny={}));var sy;(function(e){e.UNKNOWN_MIME_TYPE="UNKNOWN_MIME_TYPE",e.IMAGE_JPEG="IMAGE_JPEG",e.IMAGE_PNG="IMAGE_PNG",e.IMAGE_WEBP="IMAGE_WEBP",e.VIDEO_MPEG="VIDEO_MPEG",e.VIDEO_MP4="VIDEO_MP4",e.VIDEO_3GP="VIDEO_3GP",e.AUDIO_AAC="AUDIO_AAC",e.AUDIO_MP4="AUDIO_MP4",e.AUDIO_MPEG="AUDIO_MPEG",e.AUDIO_OGG="AUDIO_OGG",e.AUDIO_OPUS="AUDIO_OPUS",e.APPLICATION_PDF="APPLICATION_PDF",e.APPLICATION_OCTET_STREAM="APPLICATION_OCTET_STREAM"})(sy||(sy={}));var ay;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(ay||(ay={}));var H$="dist",cy=".wix",Nm="src",W$=re(cy,"app.config.json"),j$=re(cy,"dev.log"),Uc=re(Nm,"dashboard"),Qs=re(Uc,"pages"),ea=re(Uc,"plugins"),ta=re(Uc,"menu-plugins"),ra=re(Uc,"modals"),Im=re(Nm,"backend"),Rm=re(Im,"api"),Tm=re(Im,"events"),uy=re(Im,"service-plugins"),py=re(Nm,"site"),V$=re(py,"widgets"),ni=re(py,"embedded-scripts"),qn=re(V$,"custom-elements");function ly(e){return re(e,Qs)}function rve(e){return re(e,ea)}function ive(e){return re(e,ta)}function nve(e){return re(e,ra)}function sve(e){return re(e,ni)}function dy(e){return re(e,qn)}function my(e){return re(e,Rm)}function fy(e){return re(e,Tm)}function bm(e){return re(e,H$)}function hy(e){return re(bm(e),"statics")}function qc(e){return re(bm(e),"backend")}function ym(e){return re(e,W$)}function ave(e){return re(e,j$)}function ove(e){return re(bm(e),"devcenter","app-manifest.json")}var K$=g.object({id:g.string(),label:g.string(),priority:g.number().int().optional()}),Y$=g.object({sidebar:g.object({categories:g.array(K$).optional()}).optional()}),si={$schema:g.string().optional()},$$=g.object({...si,appId:g.string().uuid(),projectId:g.string(),dashboard:Y$.optional()}).strict(),_y=$$.extend({sentryDSN:g.string().optional(),trusted:g.boolean().default(!1)}).strict(),Ey=g.object({siteId:g.string().uuid().optional(),devArmTag:g.string().optional(),devSiteOverrideId:g.string().optional(),topologyComponentId:g.string().uuid().optional()}),z$=g.object({disabled:g.boolean().optional(),categoryId:g.string().uuid().optional(),priority:g.number().int().optional(),whenActive:g.object({selectedPageId:g.string().optional(),hideSidebar:g.boolean().optional()}).optional()}),X$=g.object({...si,id:g.string().uuid().describe("The ID (GUID) is used to register the page in Wix Developers Center. The ID must be unique across all pages in the app."),title:g.string().min(1).describe("The page title. The title is used as the browser tab title and as the dashboard sidebar label if the page is configured to appear in the sidebar."),additionalRoutes:g.array(g.string()).optional().describe("A list of routes that lead to this page (in addition to the main route defined by the file path convention). This is useful if you want to support multiple routes for the same page or for backwards compatibility."),sidebar:z$.optional()}).strict(),vy=X$.extend({requiredPermission:g.string().optional(),sentryDSN:g.string().optional(),experiments:g.object({enabledBy:g.string()}).optional()}).strict(),J$=g.object({...si,id:g.string().uuid().describe("The ID (GUID) is used to register the modal in the Wix Dev Center. The ID must be unique across all pages in the app."),title:g.string().min(1).describe("The title is used to refer to the modal in the Dev Center."),width:g.number().optional().describe("Initial width of the modal while loading, in pixels."),height:g.number().optional().describe("Initial height of the modal while loading, in pixels.")}).strict(),gy=J$.extend({requiredPermission:g.string().optional(),sentryDSN:g.string().optional()}).strict(),Z$=g.object({...si,id:g.string().uuid().describe("ID (GUID) of the plugin you created using the CLI. This ID is auto-generated by Wix."),title:g.string().min(1).describe("Name of the plugin."),extends:g.string().uuid().describe("Slot ID of the dashboard page hosting the plugin."),width:g.number().optional().describe("Initial width of the plugin while loading, in pixels."),height:g.number().optional().describe("Initial height of the plugin while loading, in pixels.")}).strict(),xy=Z$.extend({requiredPermission:g.string().optional(),sentryDSN:g.string().optional()}).strict(),Q$=g.object({navigateToPage:g.object({pageId:g.string().uuid().describe("ID of the dashboard page to which site administrators are directed."),relativeUrl:g.string().optional().describe("URI segment appended to the base URI of the target dashboard page. ")}).describe("Page navigation configuration object. "),openModal:g.object({componentId:g.string().uuid().describe("ID of the dashboard modal to display when the extension's menu item is clicked."),componentParams:g.record(g.string().min(1),g.string().min(1)).optional().describe("Additional configuration parameters you can pass to the dashboard modal.")})}).partial().superRefine((e,t)=>{!e.navigateToPage&&!e.openModal&&t.addIssue({code:g.ZodIssueCode.custom,message:"action must have either navigateToPage or openModal"})}).describe("Navigation configuration object that determines the action taken when the extension is clicked."),ez=g.object({...si,id:g.string().uuid().describe("The ID (GUID) is used to register the page in the Wix Dev Center and must be unique across all extensions in the app."),title:g.string().min(1).describe("Text of the menu item the extension adds."),subtitle:g.string().max(200).optional().describe("Secondary text that appears in the menu just below the title."),iconKey:g.string().min(3).max(50).optional().describe("Icon that appears next to your extension's title."),extends:g.string().uuid().describe("Slot ID into which the extension plugs in."),action:Q$}).strict(),Sy=ez.extend({sentryDSN:g.string().optional(),requiredPermission:g.string().optional()}).strict(),Oy=g.object({...si,id:g.string().uuid().describe("The ID (GUID) is a unique identifier for your script."),name:g.string().min(1).describe("The name of your script as it will appear in the Wix Dev Center."),scriptType:g.enum([Fi.FUNCTIONAL,Fi.ESSENTIAL,Fi.ANALYTICS,Fi.ADVERTISING]).describe("An enum used by Wix's Cookie Consent Banner tool to determine whether site visitors consent to having your script run during their visit."),placement:g.enum([Un.HEAD,Un.BODY_START,Un.BODY_END]).describe("An enum indicating where in the page's DOM the HTML code will be injected.")}).strict(),yr=(0,oy.variant)({Site:{},Editor:{},Dashboard:{}}),Ay=g.object({...si,id:g.string().uuid().describe("The ID (GUID) is a unique identifier for your element."),name:g.string().min(1).describe("The name of your element as it will appear in the Wix Dev Center"),height:g.object({defaultHeight:g.number().describe("Initial height of the widget in pixels when it is first installed on a site")}).strict(),width:g.object({defaultWidth:g.number().describe("Initial width of the widget in pixels when it is first installed on a site"),stretchByDefault:g.boolean().optional().describe("Sets the widget's stretch on installation. If set to true, it will stretch the widget to the full width of its container"),allowStretch:g.boolean().optional().describe("Allows a user to stretch the widget to the full width of the container if true")}).strict(),installation:g.object({autoAddToSite:g.boolean().optional().describe("Automatically adds the widget to a site upon installation if true"),essential:g.boolean().optional().describe("Marks the widget as crucial to your app's functionality or not. If true and a user deletes the widget, the entire app will also be deleted.")}).strict().optional()}).strict(),Ny=g.record(g.string()),Iy=g.object({...si,deploymentUri:g.string().url(),componentName:g.string().min(1)}).strict(),cve=g.object({id:g.string().uuid(),name:g.string().min(1),backendApiUrl:g.string().min(1)}).strict();o();o();o();var Dm={checkboxGroupOptions:"_checkboxGroup",validation:"_arrayType"},Cm={checkboxOptions:"_checkbox"},Pm={numberInputOptions:"_numberInput",ratingInputOptions:"_ratingInput",validation:"_numberType"},wm={object:"_objectType"},Lm={textInputOptions:"_textInput",radioGroupOptions:"_radioGroup",dropdownOptions:"_dropdown",dateTimeOptions:"_dateTimeInput",phoneInputOptions:"_phoneInput"},Fm={actionConfig:"_actionSPIConfig"},Mm={icon:"_apiUpstreamWixCommonImage"},Um={requiredSettings:"google.protobuf.FieldMask",adminConfigurableSettings:"google.protobuf.FieldMask"},qm={urlExpirationDate:"google.protobuf.Timestamp"},tz={components:"_component",pricingModels:"_pricingModel"},km={image:"_media"};var Gm={numberOptions:"_numberType",objectOptions:"_objectType"},Bm={items:"_arrayItems"},Hm={audio:"_media",coverImage:"_media"},Wm={expectedInputs:"_expectedInputs"},jm={image:"_media"},rz={monthlyPrice:"DOUBLE",yearlyPrice:"DOUBLE",oneTimePrice:"DOUBLE",meteredBilling:"_meteredBilling"};var Vm={label:"_richContent"},Km={description:"_richContent",options:"_option"},Ym={urlExpirationDate:"google.protobuf.Timestamp"},$m={compData:"_componentData"},zm={widgetComponentData:"_widgetComponentData",widgetOutOfIframeData:"_widgetOutOfIframeComponentData",studioWidgetComponentData:"_studioWidgetComponentData",shippingLabelCarrier:"_shippingLabelCarrierSpiConfig",fictionalShippingProvider:"_shippingProviderConfig",automationsActionProvider:"_actionProviderSPIConfig",identityAuthenticator:"_authenticatorConfig",multilingualTranslationSchema:"_multilingualTranslationSchema",customElementWidget:"_customElementWidget",formTemplate:"_formTemplate",function:"_function"};var Xm={presets:"_preset"},Jm={description:"_richContent"};var Zm={representativeImage:"_commonImage"},Qm={poll:"_pollDesign"},ef={header:"_header",richText:"_richText"},tf={description:"_richContent"},rf={description:"_richContent"},nf={presetsEditorPresence:"_presetEditorPresence"},sf={expectedStartInputs:"_predefinedExpectedInput",expectedVerifyInputs:"_predefinedExpectedInput"},af={description:"_richContent"},of={inputOptions:"_inputField",displayOptions:"_displayField",submitOptions:"_submitButton"},cf={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"_formFieldV2",deletedFields:"_formFieldV2"},uf={description:"_description"},pf={items:"_item",options:"_galleryOptions"},lf={item:"_itemStyle"};var iz={},nz={dateCreated:"google.protobuf.Timestamp",components:"_component"},sz={},az={dateCreated:"google.protobuf.Timestamp",data:"_appData"};var oz={},cz={};var uz={dateCreated:"google.protobuf.Timestamp",components:"_component"};var pz={},lz={apps:"_getAppInfoResponse"};var df={content:"_richContent"},mf={urlExpirationDate:"google.protobuf.Timestamp"},ff={image:"_media"},hf={stringOptions:"__String",numberOptions:"__Number",booleanOptions:"__Boolean",arrayOptions:"__Array",objectOptions:"__Object",wixFileOptions:"_wixFile",paymentOptions:"_payment",multilineAddressOptions:"_inputFieldMultilineAddress"},_f={multilineAddressOptions:"_multilineAddress"},Ef={image:"_itemImage",video:"_video"},vf={media:"_media"},gf={ratio:"google.protobuf.DoubleValue"},xf={mapSettings:"_mapSettings"},Sf={lat:"google.protobuf.DoubleValue",lng:"google.protobuf.DoubleValue"},Of={duration:"google.protobuf.DoubleValue"},Af={image:"_upstreamWixCommonImage"},dz={monthlyBaseFee:"DOUBLE",additionalCharges:"google.protobuf.DoubleValue"},Nf={description:"_richContent"},If={referenceData:"_schema"},Rf={galleryData:"_galleryData",imageData:"_imageData",mapData:"_mapData",pollData:"_pollData",appEmbedData:"_appEmbedData",videoData:"_videoData",audioData:"_audioData",nodes:"_node"},Tf={description:"_richContent"},bf={maximum:"google.protobuf.DoubleValue",minimum:"google.protobuf.DoubleValue",multipleOf:"google.protobuf.DoubleValue",enum:"google.protobuf.DoubleValue"},yf={properties:"Map#_propertiesType"},Df={media:"_mediaItem"},Cf={width:"DOUBLE",length:"DOUBLE",height:"google.protobuf.DoubleValue"},Pf={dimension:"_packageDimension",image:"_image"},wf={checkboxGroupOptions:"_productCheckboxGroup",donationInputOptions:"_donationInput"},Lf={description:"_richContent"},mz={billing:"_billing"},Ff={image:"_media",options:"_pollOption"},Mf={poll:"_poll",design:"_design"},Uf={background:"_background"},qf={image:"_media"},kf={configuration:"_predefinedExpectedInputConfiguration"},Gf={textInput:"_adminConfigurableTextInput"},Bf={wixMediaThumbnail:"_apiUpstreamWixCommonImage"},Hf={wixMediaThumbnail:"_commonImage"},fz={plans:"_plan"},Wf={description:"_richContent",options:"_productCheckboxGroupOption"},jf={media:"_mediaItem"},Vf={numberOptions:"_numberType",arrayOptions:"_arrayType"};var Kf={description:"_richContent"},Yf={description:"_richContent"},$f={nodes:"_node",metadata:"_v1Metadata"},zf={content:"_richContent"},Xf={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"Map#_v1SchemaField"};var Jf={packageTypes:"_packageType"},Zf={shippingPrice:"DOUBLE"},Qf={description:"_richContent"},eh={widgetDisplay:"_widgetDisplay",editorPresence:"_editorPresence"},th={thankYouMessage:"_thankYouMessage"},rh={description:"_richContent"},ih={text:"_richContent"};var nh={urlExpirationDate:"google.protobuf.Timestamp"},Ry={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},hz={app:"_v1App"},_z={app:"_v1App"};var sh={createdTimestamp:"google.protobuf.Timestamp",updatedTimestamp:"google.protobuf.Timestamp"},ah={index:"google.protobuf.DoubleValue"},oh={media:"_media",thumbnail:"_media"},ch={video:"_media",thumbnail:"_media"},uh={widgetDisplay:"_widgetDisplay"},ph={price:"google.protobuf.FloatValue"},lh={widgetData:"_widgetComponentData"},dh={fileUploadOptions:"_fileUpload",signatureOptions:"_signature"};function ai(e){var t={"api._api_base_domain_":[{srcPath:"/app-service-webapp",destPath:""}],"dev._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}],"editor._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}],"blocks._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}],"create.editorx":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}],"bo._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""},{srcPath:"/app-service-webapp",destPath:"/api"}],"wixbo.ai":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""},{srcPath:"/app-service-webapp",destPath:"/api"}],"manage._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}],"www._base_domain_":[{srcPath:"/_api/app-service",destPath:"/api"},{srcPath:"/_api/app-service-webapp",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function Ez(e){var t={"editor._base_domain_":[{srcPath:"/apps-service",destPath:""}],"blocks._base_domain_":[{srcPath:"/apps-service",destPath:""}],"create.editorx":[{srcPath:"/apps-service",destPath:""}],"bo._base_domain_":[{srcPath:"/apps-service",destPath:""},{srcPath:"/apps-service",destPath:""}],"wixbo.ai":[{srcPath:"/apps-service",destPath:""},{srcPath:"/apps-service",destPath:""}],"dev._base_domain_":[{srcPath:"/apps-service",destPath:""}],"www._base_domain_":[{srcPath:"/_api/apps-service",destPath:"/api"},{srcPath:"/apps-service",destPath:""}],"manage._base_domain_":[{srcPath:"/apps-service",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function Ty(e){var t=B(hz,{_v1App:Ry}),r=t.toJSON,i=t.fromJSON,n=B(_z,{_v1App:Ry}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"POST",methodFqn:"wix.devcenter.apps.v1.AppsService.CreateApp",url:Ez({protoPath:"/v1/apps",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function by(e){var t=B(sz,{}),r=t.toJSON,i=t.fromJSON,n=B(uz,{__Array:Dm,__Boolean:Cm,__Number:Pm,__Object:wm,__String:Lm,_actionProviderSPIConfig:Fm,_actionSPIConfig:Mm,_adminConfigurableTextInput:Um,_apiUpstreamWixCommonImage:qm,_appEmbedData:km,_arrayItems:Gm,_arrayType:Bm,_audioData:Hm,_authenticatorConfig:Wm,_background:jm,_checkbox:Vm,_checkboxGroup:Km,_commonImage:Ym,_component:$m,_componentData:zm,_customElementWidget:Xm,_dateTimeInput:Jm,_description:Zm,_design:Qm,_displayField:ef,_donationInput:tf,_dropdown:rf,_editorPresence:nf,_expectedInputs:sf,_fileUpload:af,_formFieldV2:of,_formTemplate:cf,_function:uf,_galleryData:pf,_galleryOptions:lf,_header:df,_image:mf,_imageData:ff,_inputField:hf,_inputFieldMultilineAddress:_f,_item:Ef,_itemImage:vf,_itemStyle:gf,_mapData:xf,_mapSettings:Sf,_media:Of,_mediaItem:Af,_multilineAddress:Nf,_multilingualTranslationSchema:If,_node:Rf,_numberInput:Tf,_numberType:bf,_objectType:yf,_option:Df,_packageDimension:Cf,_packageType:Pf,_payment:wf,_phoneInput:Lf,_poll:Ff,_pollData:Mf,_pollDesign:Uf,_pollOption:qf,_predefinedExpectedInput:kf,_predefinedExpectedInputConfiguration:Gf,_preset:Bf,_presetEditorPresence:Hf,_productCheckboxGroup:Wf,_productCheckboxGroupOption:jf,_propertiesType:Vf,_radioGroup:Kf,_ratingInput:Yf,_richContent:$f,_richText:zf,_schema:Xf,_shippingLabelCarrierSpiConfig:Jf,_shippingProviderConfig:Zf,_signature:Qf,_studioWidgetComponentData:eh,_submitButton:th,_textInput:rh,_thankYouMessage:ih,_upstreamWixCommonImage:nh,_v1Metadata:sh,_v1SchemaField:ah,_video:oh,_videoData:ch,_widgetComponentData:uh,_widgetDisplay:ph,_widgetOutOfIframeComponentData:lh,_wixFile:dh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppSnapshot",url:ai({protoPath:"/v1/apps/{appId}",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:ai({protoPath:"/v1/apps/{appId}",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function yy(e){var t=B(iz,{}),r=t.toJSON,i=t.fromJSON,n=B(az,{__Array:Dm,__Boolean:Cm,__Number:Pm,__Object:wm,__String:Lm,_actionProviderSPIConfig:Fm,_actionSPIConfig:Mm,_adminConfigurableTextInput:Um,_apiUpstreamWixCommonImage:qm,_appData:tz,_appEmbedData:km,_arrayItems:Gm,_arrayType:Bm,_audioData:Hm,_authenticatorConfig:Wm,_background:jm,_billing:rz,_checkbox:Vm,_checkboxGroup:Km,_commonImage:Ym,_component:$m,_componentData:zm,_customElementWidget:Xm,_dateTimeInput:Jm,_description:Zm,_design:Qm,_displayField:ef,_donationInput:tf,_dropdown:rf,_editorPresence:nf,_expectedInputs:sf,_fileUpload:af,_formFieldV2:of,_formTemplate:cf,_function:uf,_galleryData:pf,_galleryOptions:lf,_header:df,_image:mf,_imageData:ff,_inputField:hf,_inputFieldMultilineAddress:_f,_item:Ef,_itemImage:vf,_itemStyle:gf,_mapData:xf,_mapSettings:Sf,_media:Of,_mediaItem:Af,_meteredBilling:dz,_multilineAddress:Nf,_multilingualTranslationSchema:If,_node:Rf,_numberInput:Tf,_numberType:bf,_objectType:yf,_option:Df,_packageDimension:Cf,_packageType:Pf,_payment:wf,_phoneInput:Lf,_plan:mz,_poll:Ff,_pollData:Mf,_pollDesign:Uf,_pollOption:qf,_predefinedExpectedInput:kf,_predefinedExpectedInputConfiguration:Gf,_preset:Bf,_presetEditorPresence:Hf,_pricingModel:fz,_productCheckboxGroup:Wf,_productCheckboxGroupOption:jf,_propertiesType:Vf,_radioGroup:Kf,_ratingInput:Yf,_richContent:$f,_richText:zf,_schema:Xf,_shippingLabelCarrierSpiConfig:Jf,_shippingProviderConfig:Zf,_signature:Qf,_studioWidgetComponentData:eh,_submitButton:th,_textInput:rh,_thankYouMessage:ih,_upstreamWixCommonImage:nh,_v1Metadata:sh,_v1SchemaField:ah,_video:oh,_videoData:ch,_widgetComponentData:uh,_widgetDisplay:ph,_widgetOutOfIframeComponentData:lh,_wixFile:dh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppByVersion",url:ai({protoPath:"/v1/apps/{appId}/version/{version}",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:ai({protoPath:"/v1/apps/{appId}/version/{version}",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Dy(e){var t=B(pz,{}),r=t.toJSON,i=t.fromJSON,n=B(lz,{__Array:Dm,__Boolean:Cm,__Number:Pm,__Object:wm,__String:Lm,_actionProviderSPIConfig:Fm,_actionSPIConfig:Mm,_adminConfigurableTextInput:Um,_apiUpstreamWixCommonImage:qm,_appEmbedData:km,_arrayItems:Gm,_arrayType:Bm,_audioData:Hm,_authenticatorConfig:Wm,_background:jm,_checkbox:Vm,_checkboxGroup:Km,_commonImage:Ym,_component:$m,_componentData:zm,_customElementWidget:Xm,_dateTimeInput:Jm,_description:Zm,_design:Qm,_displayField:ef,_donationInput:tf,_dropdown:rf,_editorPresence:nf,_expectedInputs:sf,_fileUpload:af,_formFieldV2:of,_formTemplate:cf,_function:uf,_galleryData:pf,_galleryOptions:lf,_getAppInfoResponse:nz,_header:df,_image:mf,_imageData:ff,_inputField:hf,_inputFieldMultilineAddress:_f,_item:Ef,_itemImage:vf,_itemStyle:gf,_mapData:xf,_mapSettings:Sf,_media:Of,_mediaItem:Af,_multilineAddress:Nf,_multilingualTranslationSchema:If,_node:Rf,_numberInput:Tf,_numberType:bf,_objectType:yf,_option:Df,_packageDimension:Cf,_packageType:Pf,_payment:wf,_phoneInput:Lf,_poll:Ff,_pollData:Mf,_pollDesign:Uf,_pollOption:qf,_predefinedExpectedInput:kf,_predefinedExpectedInputConfiguration:Gf,_preset:Bf,_presetEditorPresence:Hf,_productCheckboxGroup:Wf,_productCheckboxGroupOption:jf,_propertiesType:Vf,_radioGroup:Kf,_ratingInput:Yf,_richContent:$f,_richText:zf,_schema:Xf,_shippingLabelCarrierSpiConfig:Jf,_shippingProviderConfig:Zf,_signature:Qf,_studioWidgetComponentData:eh,_submitButton:th,_textInput:rh,_thankYouMessage:ih,_upstreamWixCommonImage:nh,_v1Metadata:sh,_v1SchemaField:ah,_video:oh,_videoData:ch,_widgetComponentData:uh,_widgetDisplay:ph,_widgetOutOfIframeComponentData:lh,_wixFile:dh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetDeveloperApps",url:ai({protoPath:"/v1/apps",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:ai({protoPath:"/v1/apps",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Cy(e){var t=B(oz,{}),r=t.toJSON,i=t.fromJSON,n=B(cz,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppSecret",url:ai({protoPath:"/v1/apps/{appId}/secret",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:ai({protoPath:"/v1/apps/{appId}/secret",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var vz={},gz={};var xz={},Sz={},Oz={},Az={};function mh(e){var t={"api._api_base_domain_":[{srcPath:"/development-sites-manager",destPath:""}],"manage._base_domain_":[{srcPath:"/development-sites-manager",destPath:""},{srcPath:"/_api/development-sites-manager",destPath:""}],"bo._base_domain_":[{srcPath:"/development-sites-manager",destPath:""}],"wixbo.ai":[{srcPath:"/development-sites-manager",destPath:""}],"www.wixapps.net":[{srcPath:"/development-sites-manager/v1/development-sites",destPath:""}],"dev._base_domain_":[{srcPath:"/development-sites-manager",destPath:""}],"www.wixapis.com":[{srcPath:"/development-sites-manager/v1/development-sites",destPath:""}],"editor._base_domain_":[{srcPath:"/_api/development-sites-manager",destPath:""}],"blocks._base_domain_":[{srcPath:"/_api/development-sites-manager",destPath:""}],"create.editorx":[{srcPath:"/_api/development-sites-manager",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function Py(e){var t=B(vz,{}),r=t.toJSON,i=t.fromJSON,n=B(gz,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"POST",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.CreateDevelopmentSite",url:mh({protoPath:"/v1/development-sites",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function wy(e){var t=B(Oz,{}),r=t.toJSON,i=t.fromJSON,n=B(Az,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSites",url:mh({protoPath:"/v1/development-sites",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Ly(e){var t=B(xz,{}),r=t.toJSON,i=t.fromJSON,n=B(Sz,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSitesLimit",url:mh({protoPath:"/v1/development-sites-limit",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var fh={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},Nz={},Iz={marketListing:"_marketListing"},Rz={mask:"google.protobuf.FieldMask",marketListing:"_marketListing"},Tz={marketListing:"_marketListing"};function Fy(e){var t={"api._api_base_domain_":[{srcPath:"/app-market-listing",destPath:""}],"bo._base_domain_":[{srcPath:"/app-market-listing",destPath:""}],"wixbo.ai":[{srcPath:"/app-market-listing",destPath:""}],"dev._base_domain_":[{srcPath:"/app-market-listing",destPath:""}],"manage._base_domain_":[{srcPath:"/app-market-listing",destPath:""},{srcPath:"/_api/app-market-listing",destPath:""}],"editor._base_domain_":[{srcPath:"/_api/app-market-listing",destPath:""}],"blocks._base_domain_":[{srcPath:"/_api/app-market-listing",destPath:""}],"create.editorx":[{srcPath:"/_api/app-market-listing",destPath:""}],"www._base_domain_":[{srcPath:"/app-market-listing",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function My(e){var t=B(Rz,{_marketListing:fh}),r=t.toJSON,i=t.fromJSON,n=B(Tz,{_marketListing:fh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"PUT",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.UpdateMarketListing",url:Fy({protoPath:"/v1/marketListings/{marketListing.id}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Uy(e){var t=B(Nz,{}),r=t.toJSON,i=t.fromJSON,n=B(Iz,{_marketListing:fh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"POST",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.QueryMarketListing",url:Fy({protoPath:"/v1/marketListings/query",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var bz={},yz={};function Dz(e){var t={"bo._base_domain_":[{srcPath:"/_api/app-assessment",destPath:""}],_api_base_domain_:[{srcPath:"/_api/app-assessment-service",destPath:""}],"dev._base_domain_":[{srcPath:"/_api/app-assessment",destPath:""}],"manage._base_domain_":[{srcPath:"/_api/app-assessment",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function qy(e){var t=B(bz,{}),r=t.toJSON,i=t.fromJSON,n=B(yz,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_assessment.v1.validation",method:"GET",methodFqn:"com.wix.devcenter.AppValidationService.GetAppValidationReport",url:Dz({protoPath:"/v1/get-app-validation-report/{appId}/{version}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();o();var ky;(function(e){e.ACTIVE="ACTIVE",e.DEPRECATED="DEPRECATED",e.ARCHIVED="ARCHIVED"})(ky||(ky={}));var Gy;(function(e){e.SITE_APP="SITE_APP",e.API_KEY="API_KEY",e.VELO_APP="VELO_APP",e.PRIVATE_APP="PRIVATE_APP",e.HEADLESS="HEADLESS"})(Gy||(Gy={}));var By;(function(e){e.USER="USER",e.APP="APP"})(By||(By={}));var Hy;(function(e){e.ACCOUNT="ACCOUNT",e.COMPANY="COMPANY"})(Hy||(Hy={}));var Wy;(function(e){e.ASC="ASC",e.DESC="DESC"})(Wy||(Wy={}));var jy;(function(e){e.CREATED="CREATED",e.UPDATED="UPDATED",e.DEPRECATED="DEPRECATED",e.DELETED="DELETED"})(jy||(jy={}));var Vy;(function(e){e.UNKNOWN="UNKNOWN",e.ANONYMOUS_VISITOR="ANONYMOUS_VISITOR",e.MEMBER="MEMBER",e.WIX_USER="WIX_USER",e.APP="APP"})(Vy||(Vy={}));var Ky;(function(e){e.SITE_APP="SITE_APP",e.API_KEY="API_KEY",e.VELO_APP="VELO_APP",e.PRIVATE_APP="PRIVATE_APP",e.HEADLESS="HEADLESS"})(Ky||(Ky={}));var Yy;(function(e){e.NONE_STATUS="NONE_STATUS",e.DRAFT="DRAFT",e.SUBMITTED="SUBMITTED",e.IN_REVIEW="IN_REVIEW",e.APPROVED="APPROVED",e.PUBLISHED="PUBLISHED",e.DECLINED="DECLINED",e.ARCHIVED="ARCHIVED",e.HIDDEN="HIDDEN",e.RELEASED="RELEASED"})(Yy||(Yy={}));var Mi;(function(e){e.NONE="NONE",e.STUDIO="STUDIO",e.PLATFORM="PLATFORM",e.WORKER="WORKER",e.DASHBOARD="DASHBOARD",e.WIDGET="WIDGET",e.PAGE="PAGE",e.DASHBOARD_PLATFORM="DASHBOARD_PLATFORM",e.STUDIO_WIDGET="STUDIO_WIDGET",e.EMBEDDED_SCRIPT="EMBEDDED_SCRIPT",e.EXTENSION="EXTENSION",e.SNIPPET_SOLUTION="SNIPPET_SOLUTION",e.DATA_COMPONENT="DATA_COMPONENT",e.WEB="WEB",e.DC_CONFIG="DC_CONFIG",e.WIDGET_OUT_OF_IFRAME="WIDGET_OUT_OF_IFRAME",e.PAGE_OUT_OF_IFRAME="PAGE_OUT_OF_IFRAME",e.STATIC_FILE="STATIC_FILE",e.APP_CONFIG="APP_CONFIG",e.MULTIPLE_DASHBOARDS="MULTIPLE_DASHBOARDS",e.PAYMENTS_GATEWAY="PAYMENTS_GATEWAY",e.CODE_PACKAGE="CODE_PACKAGE",e.AUTOMATION_TRIGGER="AUTOMATION_TRIGGER",e.INVOICES_ACTIONS="INVOICES_ACTIONS",e.DASHBOARD_APPLICATION="DASHBOARD_APPLICATION",e.CONTACT_LABELS="CONTACT_LABELS",e.WIDGET_PLUGIN="WIDGET_PLUGIN",e.CROSS_SELL="CROSS_SELL",e.LOCAL_DELIVERY="LOCAL_DELIVERY",e.PAYMENT_PROVIDER="PAYMENT_PROVIDER",e.ECOM_MEMBERSHIPS="ECOM_MEMBERSHIPS",e.ECOM_LINE_ITEMS_ENRICHER="ECOM_LINE_ITEMS_ENRICHER",e.ECOM_SHIPPING_RATES="ECOM_SHIPPING_RATES",e.SHIPPING_LABEL_CARRIER="SHIPPING_LABEL_CARRIER",e.RESTAURANTS_POS="RESTAURANTS_POS",e.FICTIONAL_SHIPPING_PROVIDER="FICTIONAL_SHIPPING_PROVIDER",e.ALERT_ENRICHER="ALERT_ENRICHER",e.DATA_EXTENSIONS="DATA_EXTENSIONS",e.GENERIC_HOOKS="GENERIC_HOOKS",e.AUTOMATIONS_ACTION_PROVIDER="AUTOMATIONS_ACTION_PROVIDER",e.ECOM_CATALOG="ECOM_CATALOG",e.BACK_OFFICE_EXTENSION_CONTAINER="BACK_OFFICE_EXTENSION_CONTAINER",e.BACK_OFFICE_EXTENSION="BACK_OFFICE_EXTENSION",e.AUTOMATIONS_TRIGGER_PROVIDER="AUTOMATIONS_TRIGGER_PROVIDER",e.IDENTITY_PRE_REGISTRATION="IDENTITY_PRE_REGISTRATION",e.PREMIUM_PRODUCTS_PATHS="PREMIUM_PRODUCTS_PATHS",e.ECOM_CUSTOM_SCOPE="ECOM_CUSTOM_SCOPE",e.GIFT_CARDS_PROVIDER="GIFT_CARDS_PROVIDER",e.DEALER_EXTERNAL_FILTER_PROVIDER="DEALER_EXTERNAL_FILTER_PROVIDER",e.ECOM_DROPSHIPPING_PROVIDER="ECOM_DROPSHIPPING_PROVIDER",e.INVOICES_PROVIDER="INVOICES_PROVIDER",e.SEO_KEYWORDS_SUGGESTIONS="SEO_KEYWORDS_SUGGESTIONS",e.ECOM_DISCOUNTS_TRIGGER="ECOM_DISCOUNTS_TRIGGER",e.MULTILINGUAL_CONTENT_PROVIDER="MULTILINGUAL_CONTENT_PROVIDER",e.APPLICATION_AUTOMATION="APPLICATION_AUTOMATION",e.BACK_OFFICE_SIDEBAR_CATEGORY="BACK_OFFICE_SIDEBAR_CATEGORY",e.BACK_OFFICE_PAGE="BACK_OFFICE_PAGE",e.ECOM_ADDITIONAL_FEES="ECOM_ADDITIONAL_FEES",e.PING_USER_NOTIFICATION="PING_USER_NOTIFICATION",e.ECOM_RECOMMENDATIONS_PROVIDER="ECOM_RECOMMENDATIONS_PROVIDER",e.BOOKINGS_PRICING_PROVIDER="BOOKINGS_PRICING_PROVIDER",e.IDENTITY_AUTHENTICATOR="IDENTITY_AUTHENTICATOR",e.IDENTITY_IDP_CONNECTOR="IDENTITY_IDP_CONNECTOR",e.ITEMS_SELECTION_PROVIDER="ITEMS_SELECTION_PROVIDER",e.PORTFOLIO_SYNCED_PROJECTS_PROVIDER="PORTFOLIO_SYNCED_PROJECTS_PROVIDER",e.COMMUNICATION_CHANNEL="COMMUNICATION_CHANNEL",e.IDENTITY_POST_LOGIN="IDENTITY_POST_LOGIN",e.BACK_OFFICE_WIDGET="BACK_OFFICE_WIDGET",e.SOCIAL_MARKETING_DESIGN="SOCIAL_MARKETING_DESIGN",e.FORMS_SUBMISSIONS_PROVIDER="FORMS_SUBMISSIONS_PROVIDER",e.WIX_OFFERING="WIX_OFFERING",e.DEV_CENTER_TESTING_COMPONENT="DEV_CENTER_TESTING_COMPONENT",e.COMPONENTS_VALIDATOR_PROVIDER="COMPONENTS_VALIDATOR_PROVIDER",e.COMPONENTS_TRANSLATIONS_ADDITIONAL_FIELDS_PROVIDER="COMPONENTS_TRANSLATIONS_ADDITIONAL_FIELDS_PROVIDER",e.FORMS_SCHEMA_PROVIDER="FORMS_SCHEMA_PROVIDER",e.BOOKINGS_EXTERNAL_CALENDAR_PROVIDER="BOOKINGS_EXTERNAL_CALENDAR_PROVIDER",e.ECOM_DEFAULT_TAXATION_CATEGORY="ECOM_DEFAULT_TAXATION_CATEGORY",e.VIEWER_DYNAMIC_SITE_STRUCTURE_PROVIDER="VIEWER_DYNAMIC_SITE_STRUCTURE_PROVIDER",e.PING_UOU_NOTIFICATION="PING_UOU_NOTIFICATION",e.HEADLESS_OAUTH="HEADLESS_OAUTH",e.ECOM_TAX_CALCULATOR_SPI="ECOM_TAX_CALCULATOR_SPI",e.COMMENTS_MODERATION_PROVIDER="COMMENTS_MODERATION_PROVIDER",e.GRID_APP_FILES_TRANSFORMER="GRID_APP_FILES_TRANSFORMER",e.BENEFIT_PROGRAMS_POLICY_PROVIDER="BENEFIT_PROGRAMS_POLICY_PROVIDER",e.PREMIUM_CUSTOM_CHARGES="PREMIUM_CUSTOM_CHARGES",e.ECOM_VALIDATIONS="ECOM_VALIDATIONS",e.COMPONENT_REFERENCE_DATA_PROVIDER="COMPONENT_REFERENCE_DATA_PROVIDER",e.WIX_REVIEWS_PRODUCT_CATALOG="WIX_REVIEWS_PRODUCT_CATALOG",e.SOCIAL_MARKETING_DESIGNS_PROVIDER="SOCIAL_MARKETING_DESIGNS_PROVIDER",e.GOOGLE_BUSINESS_PROFILE_FEATURE_PROVIDER="GOOGLE_BUSINESS_PROFILE_FEATURE_PROVIDER",e.COMMENTS_FILTER_PROVIDER="COMMENTS_FILTER_PROVIDER",e.BILLING_TAX_ID_VALIDATOR="BILLING_TAX_ID_VALIDATOR",e.PING_SETTINGS_GROUP="PING_SETTINGS_GROUP",e.FORMS_SPAM_SUBMISSIONS_PROVIDER="FORMS_SPAM_SUBMISSIONS_PROVIDER",e.EDITOR_ADDON="EDITOR_ADDON",e.EXTERNAL_DATABASE_PROVIDER="EXTERNAL_DATABASE_PROVIDER",e.ECOM_PAYMENT_SETTINGS="ECOM_PAYMENT_SETTINGS",e.NOTIFICATION_TOPIC="NOTIFICATION_TOPIC",e.NOTIFICATION_PREFERENCES_FILTER_PROVIDER="NOTIFICATION_PREFERENCES_FILTER_PROVIDER",e.BOOKINGS_RESOURCE_TYPES_PROVIDER="BOOKINGS_RESOURCE_TYPES_PROVIDER",e.PRICING_PLANS_FORM_CONFIGURATION="PRICING_PLANS_FORM_CONFIGURATION",e.USER_NOTIFICATION="USER_NOTIFICATION",e.CONTACT_NOTIFICATION="CONTACT_NOTIFICATION",e.UNIFIED_PAGE="UNIFIED_PAGE",e.AVAILABILITY_TIME_SLOTS_CONFIGURATION_PROVIDER="AVAILABILITY_TIME_SLOTS_CONFIGURATION_PROVIDER",e.PROPOSAL_EDITOR_PROVIDER="PROPOSAL_EDITOR_PROVIDER",e.CUSTOM_TABLE_RESERVATIONS_PROVIDER="CUSTOM_TABLE_RESERVATIONS_PROVIDER",e.COMMENTS_CONTEXT_PROVIDER="COMMENTS_CONTEXT_PROVIDER",e.FORMS_SPAM_SUBMISSION_REPORTS_PROVIDER="FORMS_SPAM_SUBMISSION_REPORTS_PROVIDER",e.AUTOMATIONS_VELO_ACTION_PROVIDER="AUTOMATIONS_VELO_ACTION_PROVIDER",e.CALENDAR_EVENT_TYPE_PROVIDER="CALENDAR_EVENT_TYPE_PROVIDER",e.RESERVED="RESERVED",e.SMS_ACTION_MESSAGE="SMS_ACTION_MESSAGE",e.BOOKING_POLICY_PROVIDER="BOOKING_POLICY_PROVIDER",e.MULTI_SERVICE_BOOKING_POLICY_PROVIDER="MULTI_SERVICE_BOOKING_POLICY_PROVIDER",e.AI_ASSISTANT="AI_ASSISTANT",e.FORMS_SUBMISSIONS_EXTENSION_PROVIDER="FORMS_SUBMISSIONS_EXTENSION_PROVIDER",e.MULTILINGUAL_TRANSLATION_SCHEMA="MULTILINGUAL_TRANSLATION_SCHEMA",e.TAX_CALCULATION_PROVIDER="TAX_CALCULATION_PROVIDER",e.TAX_GROUPS_PROVIDER="TAX_GROUPS_PROVIDER",e.BACK_OFFICE_MODAL="BACK_OFFICE_MODAL",e.DEPLOYMENT_PIPELINE_PROVIDER="DEPLOYMENT_PIPELINE_PROVIDER",e.CUSTOM_ELEMENT_WIDGET="CUSTOM_ELEMENT_WIDGET",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET",e.BACK_OFFICE_EXTENSION_MENU_ITEM="BACK_OFFICE_EXTENSION_MENU_ITEM",e.FORM_TEMPLATE="FORM_TEMPLATE",e.NOTIFICATION_CONTENT="NOTIFICATION_CONTENT",e.BROADCAST_LIST="BROADCAST_LIST",e.PARTNERS_PAYOUTS="PARTNERS_PAYOUTS",e.WIX_REVIEWS_ENTITY_CATALOG="WIX_REVIEWS_ENTITY_CATALOG",e.VELO_PUBLISH_PIPELINE_TASK_PROVIDER="VELO_PUBLISH_PIPELINE_TASK_PROVIDER",e.FUNCTIONS_SHOP_PRICE_PROVIDER="FUNCTIONS_SHOP_PRICE_PROVIDER",e.FUNCTION="FUNCTION",e.ECOM_CHECKOUT_CONTENT="ECOM_CHECKOUT_CONTENT",e.COMMUNICATION_CHANNEL_PROVIDER="COMMUNICATION_CHANNEL_PROVIDER",e.WEBHOOK="WEBHOOK",e.TOPOLOGY="TOPOLOGY",e.LOYALTY_CUSTOM_REWARDS="LOYALTY_CUSTOM_REWARDS",e.FUNCTION_RECIPE="FUNCTION_RECIPE",e.BACK_OFFICE_EXTERNAL_URL="BACK_OFFICE_EXTERNAL_URL",e.IDENTITY_FACTOR="IDENTITY_FACTOR"})(Mi||(Mi={}));var $y;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})($y||($y={}));var zy;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})(zy||(zy={}));var Xy;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(Xy||(Xy={}));var Jy;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(Jy||(Jy={}));var Zy;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(Zy||(Zy={}));var Qy;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(Qy||(Qy={}));var eD;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(eD||(eD={}));var tD;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(tD||(tD={}));var rD;(function(e){e.NONE_INTERFACE="NONE_INTERFACE",e.REVIEWS="REVIEWS",e.RATINGS_SUMMARY="RATINGS_SUMMARY",e.RATINGS_SUMMARY_OOI_LIST="RATINGS_SUMMARY_OOI_LIST",e.BOOKINGS_SERVICE="BOOKINGS_SERVICE",e.BOOKINGS_FORM="BOOKINGS_FORM",e.BASE="BASE",e.EVENT="EVENT",e.PRODUCT="PRODUCT",e.CHECKOUT="CHECKOUT",e.CATEGORY="CATEGORY",e.BOOKINGS_CALENDAR="BOOKINGS_CALENDAR"})(rD||(rD={}));var iD;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(iD||(iD={}));var nD;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(nD||(nD={}));var sD;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(sD||(sD={}));var aD;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(aD||(aD={}));var oD;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(oD||(oD={}));var cD;(function(e){e.BACKGROUND="BACKGROUND",e.SECONDARY_TEXTS="SECONDARY_TEXTS",e.MAIN_TEXT_AND_ICONS="MAIN_TEXT_AND_ICONS",e.BORDERS_AND_DIVIDERS="BORDERS_AND_DIVIDERS",e.BUTTONS_AND_LINKS="BUTTONS_AND_LINKS"})(cD||(cD={}));var uD;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(uD||(uD={}));var pD;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(pD||(pD={}));var lD;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(lD||(lD={}));var dD;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(dD||(dD={}));var mD;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(mD||(mD={}));var fD;(function(e){e.NONE_EXTENSION="NONE_EXTENSION",e.PAYMENTS_GATEWAY_EXTENSION="PAYMENTS_GATEWAY_EXTENSION",e.COUPONS_EXTENSION="COUPONS_EXTENSION",e.DROPSHIPPING_EXTENSION="DROPSHIPPING_EXTENSION",e.FULFILMENT_EXTENSION="FULFILMENT_EXTENSION",e.DROPSHIPPING_SUPPLIER_EXTENSION="DROPSHIPPING_SUPPLIER_EXTENSION",e.FULFILLMENT_CENTER_EXTENSION="FULFILLMENT_CENTER_EXTENSION",e.RESTAURANTS_POS_EXTENSION="RESTAURANTS_POS_EXTENSION",e.ART_STORE_EXTENSION="ART_STORE_EXTENSION",e.ASCEND_AUTOMATION_EXTENSION="ASCEND_AUTOMATION_EXTENSION",e.CONTACT_LABELS_EXTENSION="CONTACT_LABELS_EXTENSION"})(fD||(fD={}));var hD;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})(hD||(hD={}));var _D;(function(e){e.UNKNOWN_SIMPLE_TYPE="UNKNOWN_SIMPLE_TYPE",e.MONEY="MONEY",e.LINK="LINK",e.BACKOFFICE_LINK="BACKOFFICE_LINK",e.LIVESITE_LINK="LIVESITE_LINK",e.MULTILINGUAL="MULTILINGUAL",e.IMAGE_LINK="IMAGE_LINK",e.GUID="GUID",e.EMAIL="EMAIL",e.PHONE="PHONE",e.CONTACT_ID="CONTACT_ID"})(_D||(_D={}));var ED;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(ED||(ED={}));var vD;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(vD||(vD={}));var gD;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(gD||(gD={}));var xD;(function(e){e.ZIPCODE="ZIPCODE",e.CITY="CITY",e.STATE="STATE",e.ADDRESS="ADDRESS",e.COUNTRY_CODE="COUNTRY_CODE",e.EMAIL="EMAIL",e.PHONE="PHONE",e.FIRST_NAME="FIRST_NAME",e.LAST_NAME="LAST_NAME",e.STREET="STREET",e.HOUSE_NUMBER="HOUSE_NUMBER",e.TAX_IDENTIFIER="TAX_IDENTIFIER"})(xD||(xD={}));var SD;(function(e){e.Metric="Metric",e.Imperial="Imperial"})(SD||(SD={}));var OD;(function(e){e.WIX="WIX",e.POS="POS"})(OD||(OD={}));var AD;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(AD||(AD={}));var ND;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(ND||(ND={}));var ID;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(ID||(ID={}));var RD;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})(RD||(RD={}));var TD;(function(e){e.NO_HOSTING_PLATFORM="NO_HOSTING_PLATFORM",e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.ACCOUNT_MANAGER="ACCOUNT_MANAGER",e.DEV_CENTER="DEV_CENTER",e.ENTERPRISE="ENTERPRISE",e.PARTNERS_DASHBOARD="PARTNERS_DASHBOARD",e.FINANCIALS_INTERNAL_BO="FINANCIALS_INTERNAL_BO",e.FED_GUILD_POC="FED_GUILD_POC",e.STUDIO_DASHBOARD="STUDIO_DASHBOARD",e.CHANNELS="CHANNELS",e.DATA_TOOLS="DATA_TOOLS",e.PSP_BACKOFFICE="PSP_BACKOFFICE",e.RISE_PLATFORM_ACCOUNT_DASHBOARD="RISE_PLATFORM_ACCOUNT_DASHBOARD",e.DEMO_DASHBOARD_ENTERPRISE="DEMO_DASHBOARD_ENTERPRISE",e.AI_SCHEDULING_ASSISTANT_DASHBOARD="AI_SCHEDULING_ASSISTANT_DASHBOARD",e.GETTING_PAID="GETTING_PAID"})(TD||(TD={}));var bD;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(bD||(bD={}));var yD;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(yD||(yD={}));var DD;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(DD||(DD={}));var CD;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(CD||(CD={}));var PD;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})(PD||(PD={}));var wD;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(wD||(wD={}));var LD;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(LD||(LD={}));var FD;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(FD||(FD={}));var MD;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(MD||(MD={}));var UD;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(UD||(UD={}));var qD;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(qD||(qD={}));var kD;(function(e){e.UNKNOWN_TAG="UNKNOWN_TAG",e.EMBEDDABLE="EMBEDDABLE",e.ECOM_EDIT_ORDER="ECOM_EDIT_ORDER",e.ECOM_CREATE_ORDER="ECOM_CREATE_ORDER",e.INBOX="INBOX"})(kD||(kD={}));var GD;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(GD||(GD={}));var BD;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(BD||(BD={}));var HD;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(HD||(HD={}));var WD;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(WD||(WD={}));var jD;(function(e){e.UNKNOWN_MIME_TYPE="UNKNOWN_MIME_TYPE",e.IMAGE_JPEG="IMAGE_JPEG",e.IMAGE_PNG="IMAGE_PNG",e.IMAGE_WEBP="IMAGE_WEBP",e.VIDEO_MPEG="VIDEO_MPEG",e.VIDEO_MP4="VIDEO_MP4",e.VIDEO_3GP="VIDEO_3GP",e.AUDIO_AAC="AUDIO_AAC",e.AUDIO_MP4="AUDIO_MP4",e.AUDIO_MPEG="AUDIO_MPEG",e.AUDIO_OGG="AUDIO_OGG",e.AUDIO_OPUS="AUDIO_OPUS",e.APPLICATION_PDF="APPLICATION_PDF",e.APPLICATION_OCTET_STREAM="APPLICATION_OCTET_STREAM"})(jD||(jD={}));var VD;(function(e){e.SMS="SMS",e.MMS="MMS"})(VD||(VD={}));var KD;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(KD||(KD={}));var YD;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(YD||(YD={}));var $D;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})($D||($D={}));var zD;(function(e){e.LIST_NOT_SUPPORTED="LIST_NOT_SUPPORTED",e.LIST_FROM_PRIMARY_CALENDAR_ONLY="LIST_FROM_PRIMARY_CALENDAR_ONLY",e.LIST_FROM_SPECIFIC_CALENDARS="LIST_FROM_SPECIFIC_CALENDARS"})(zD||(zD={}));var XD;(function(e){e.SYNC_NOT_SUPPORTED="SYNC_NOT_SUPPORTED",e.SYNC_TO_PRIMARY_CALENDAR_ONLY="SYNC_TO_PRIMARY_CALENDAR_ONLY",e.SYNC_TO_DEDICATED_CALENDAR="SYNC_TO_DEDICATED_CALENDAR"})(XD||(XD={}));var JD;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(JD||(JD={}));var ZD;(function(e){e.OAUTH_TECHNOLOGY_UNSPECIFIED="OAUTH_TECHNOLOGY_UNSPECIFIED",e.JAVASCRIPT="JAVASCRIPT",e.ANGULAR="ANGULAR",e.VUE="VUE",e.REACT="REACT",e.REACT_NATIVE="REACT_NATIVE",e.IOS="IOS",e.ANDROID="ANDROID",e.OTHER_TECHNOLOGY="OTHER_TECHNOLOGY"})(ZD||(ZD={}));var QD;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(QD||(QD={}));var eC;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(eC||(eC={}));var tC;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(tC||(tC={}));var rC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(rC||(rC={}));var iC;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(iC||(iC={}));var nC;(function(e){e.UNKNWON_PLAN_FORM_SECTION="UNKNWON_PLAN_FORM_SECTION",e.INFO="INFO",e.BENEFITS="BENEFITS",e.PAGE_PERMISSIONS="PAGE_PERMISSIONS",e.PRICING_AND_DURATION="PRICING_AND_DURATION",e.ADVANCED_SETTINGS="ADVANCED_SETTINGS"})(nC||(nC={}));var sC;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(sC||(sC={}));var aC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(aC||(aC={}));var oC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(oC||(oC={}));var cC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(cC||(cC={}));var uC;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(uC||(uC={}));var pC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(pC||(pC={}));var lC;(function(e){e.UNKNOWN_MOBILE_APPLICATION="UNKNOWN_MOBILE_APPLICATION",e.OWNER="OWNER",e.SPACES="SPACES",e.DINE="DINE",e.FITNESS="FITNESS",e.WIX_LIFE="WIX_LIFE",e.WIX_PARTNERS="WIX_PARTNERS",e.BRANDED="BRANDED",e.WIX_STUDIO="WIX_STUDIO",e.NO_SPECIFIC_TARGET_APP="NO_SPECIFIC_TARGET_APP"})(lC||(lC={}));var dC;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(dC||(dC={}));var mC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.OPEN_TO_ALL="OPEN_TO_ALL",e.OPEN_TO_NONE="OPEN_TO_NONE",e.BOOLEAN_EXPERIMENT="BOOLEAN_EXPERIMENT",e.CUSTOM_EXPERIMENT="CUSTOM_EXPERIMENT"})(mC||(mC={}));var fC;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(fC||(fC={}));var hC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})(hC||(hC={}));var _C;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(_C||(_C={}));var EC;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(EC||(EC={}));var vC;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(vC||(vC={}));var gC;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(gC||(gC={}));var xC;(function(e){e.UNDEFINED_TYPE="UNDEFINED_TYPE",e.SHORT_TEXT="SHORT_TEXT",e.LONG_TEXT="LONG_TEXT",e.HTML="HTML",e.RICH_CONTENT="RICH_CONTENT",e.IMAGE="IMAGE",e.IMAGE_LINK="IMAGE_LINK",e.JSON="JSON",e.VIDEO="VIDEO",e.DOCUMENT="DOCUMENT"})(xC||(xC={}));var SC;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})(SC||(SC={}));var OC;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(OC||(OC={}));var AC;(function(e){e.UNDEFINED="UNDEFINED",e.DATE="DATE",e.TIME="TIME",e.DATE_TIME="DATE_TIME",e.EMAIL="EMAIL",e.URL="URL",e.UUID="UUID",e.PHONE="PHONE",e.URI="URI",e.HOSTNAME="HOSTNAME",e.COLOR_HEX="COLOR_HEX",e.CURRENCY="CURRENCY",e.LANGUAGE="LANGUAGE",e.DATE_OPTIONAL_TIME="DATE_OPTIONAL_TIME"})(AC||(AC={}));var NC;(function(e){e.UNKNOWN="UNKNOWN",e.TEXT_INPUT="TEXT_INPUT",e.RADIO_GROUP="RADIO_GROUP",e.DROPDOWN="DROPDOWN",e.DATE_TIME="DATE_TIME",e.PHONE_INPUT="PHONE_INPUT"})(NC||(NC={}));var IC;(function(e){e.PARAGRAPH="PARAGRAPH",e.TEXT="TEXT",e.HEADING="HEADING",e.BULLETED_LIST="BULLETED_LIST",e.ORDERED_LIST="ORDERED_LIST",e.LIST_ITEM="LIST_ITEM",e.BLOCKQUOTE="BLOCKQUOTE",e.CODE_BLOCK="CODE_BLOCK",e.VIDEO="VIDEO",e.DIVIDER="DIVIDER",e.FILE="FILE",e.GALLERY="GALLERY",e.GIF="GIF",e.HTML="HTML",e.IMAGE="IMAGE",e.LINK_PREVIEW="LINK_PREVIEW",e.MAP="MAP",e.POLL="POLL",e.APP_EMBED="APP_EMBED",e.BUTTON="BUTTON",e.COLLAPSIBLE_LIST="COLLAPSIBLE_LIST",e.TABLE="TABLE",e.EMBED="EMBED",e.COLLAPSIBLE_ITEM="COLLAPSIBLE_ITEM",e.COLLAPSIBLE_ITEM_TITLE="COLLAPSIBLE_ITEM_TITLE",e.COLLAPSIBLE_ITEM_BODY="COLLAPSIBLE_ITEM_BODY",e.TABLE_CELL="TABLE_CELL",e.TABLE_ROW="TABLE_ROW",e.EXTERNAL="EXTERNAL",e.AUDIO="AUDIO"})(IC||(IC={}));var RC;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})(RC||(RC={}));var TC;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(TC||(TC={}));var bC;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(bC||(bC={}));var yC;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(yC||(yC={}));var DC;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(DC||(DC={}));var CC;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(CC||(CC={}));var PC;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})(PC||(PC={}));var wC;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(wC||(wC={}));var LC;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(LC||(LC={}));var FC;(function(e){e.COLLAGE="COLLAGE",e.MASONRY="MASONRY",e.GRID="GRID",e.THUMBNAIL="THUMBNAIL",e.SLIDER="SLIDER",e.SLIDESHOW="SLIDESHOW",e.PANORAMA="PANORAMA",e.COLUMN="COLUMN",e.MAGIC="MAGIC",e.FULLSIZE="FULLSIZE"})(FC||(FC={}));var MC;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(MC||(MC={}));var UC;(function(e){e.FILL="FILL",e.FIT="FIT"})(UC||(UC={}));var qC;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(qC||(qC={}));var kC;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(kC||(kC={}));var GC;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(GC||(GC={}));var BC;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(BC||(BC={}));var HC;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(HC||(HC={}));var WC;(function(e){e.LIST="LIST",e.GRID="GRID"})(WC||(WC={}));var jC;(function(e){e.LTR="LTR",e.RTL="RTL"})(jC||(jC={}));var VC;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(VC||(VC={}));var KC;(function(e){e.BOLD="BOLD",e.ITALIC="ITALIC",e.UNDERLINE="UNDERLINE",e.SPOILER="SPOILER",e.ANCHOR="ANCHOR",e.MENTION="MENTION",e.LINK="LINK",e.COLOR="COLOR",e.FONT_SIZE="FONT_SIZE",e.EXTERNAL="EXTERNAL"})(KC||(KC={}));var YC;(function(e){e.PX="PX",e.EM="EM"})(YC||(YC={}));var $C;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})($C||($C={}));var zC;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})(zC||(zC={}));var XC;(function(e){e.LTR="LTR",e.RTL="RTL"})(XC||(XC={}));var JC;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(JC||(JC={}));var ZC;(function(e){e.NULL_VALUE="NULL_VALUE"})(ZC||(ZC={}));var QC;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(QC||(QC={}));var eP;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(eP||(eP={}));var tP;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(tP||(tP={}));var rP;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(rP||(rP={}));var iP;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(iP||(iP={}));var nP;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(nP||(nP={}));var sP;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(sP||(sP={}));var aP;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(aP||(aP={}));var oP;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(oP||(oP={}));var cP;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(cP||(cP={}));var uP;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(uP||(uP={}));var pP;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(pP||(pP={}));var lP;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(lP||(lP={}));var dP;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(dP||(dP={}));var mP;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(mP||(mP={}));var fP;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(fP||(fP={}));var hP;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.WIX_FILE="WIX_FILE",e.PAYMENT="PAYMENT",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(hP||(hP={}));var _P;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(_P||(_P={}));var EP;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(EP||(EP={}));var vP;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(vP||(vP={}));var gP;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(gP||(gP={}));var xP;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(xP||(xP={}));var SP;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})(SP||(SP={}));var OP;(function(e){e.UNDEFINED="UNDEFINED",e.FIRST_NAME="FIRST_NAME",e.LAST_NAME="LAST_NAME",e.COMPANY="COMPANY",e.POSITION="POSITION",e.EMAIL="EMAIL",e.PHONE="PHONE",e.ADDRESS="ADDRESS",e.BIRTHDATE="BIRTHDATE",e.CUSTOM_FIELD="CUSTOM_FIELD",e.SUBSCRIPTION="SUBSCRIPTION",e.VAT_ID="VAT_ID"})(OP||(OP={}));var AP;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(AP||(AP={}));var NP;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(NP||(NP={}));var IP;(function(e){e.UNKNOWN="UNKNOWN",e.EQUALS="EQUALS",e.NOT_EQUALS="NOT_EQUALS",e.IN="IN",e.NOT_IN="NOT_IN",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUALS="LESS_THAN_OR_EQUALS",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUALS="GREATER_THAN_OR_EQUALS"})(IP||(IP={}));var RP;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})(RP||(RP={}));var TP;(function(e){e.ANY="ANY"})(TP||(TP={}));var bP;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.LABEL="LABEL",e.PLACEHOLDER="PLACEHOLDER",e.DESCRIPTION="DESCRIPTION",e.INPUT_VALUE_LIMITS="INPUT_VALUE_LIMITS"})(bP||(bP={}));var yP;(function(e){e.UNKNOWN="UNKNOWN",e.USER_CODE_BUNDLE="USER_CODE_BUNDLE",e.EXPORTED_FUNCTIONS_ANALYSIS="EXPORTED_FUNCTIONS_ANALYSIS",e.IMPORTED_NAMESPACES_ANALYSIS="IMPORTED_NAMESPACES_ANALYSIS",e.PAGE_DETAILS_ANALYSIS="PAGE_DETAILS_ANALYSIS",e.USER_CODE_VALIDATION="USER_CODE_VALIDATION"})(yP||(yP={}));var DP;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(DP||(DP={}));var CP;(function(e){e.UNKNOWN_DIRECT_MESSAGE_TYPE="UNKNOWN_DIRECT_MESSAGE_TYPE",e.MEDIA="MEDIA",e.CARD="CARD",e.MINIMAL="MINIMAL",e.FORM="FORM",e.SYSTEM="SYSTEM"})(CP||(CP={}));var PP;(function(e){e.UNKNOWN_MIME_TYPE="UNKNOWN_MIME_TYPE",e.IMAGE_JPEG="IMAGE_JPEG",e.IMAGE_PNG="IMAGE_PNG",e.IMAGE_WEBP="IMAGE_WEBP",e.VIDEO_MPEG="VIDEO_MPEG",e.VIDEO_MP4="VIDEO_MP4",e.VIDEO_3GP="VIDEO_3GP",e.AUDIO_AAC="AUDIO_AAC",e.AUDIO_MP4="AUDIO_MP4",e.AUDIO_MPEG="AUDIO_MPEG",e.AUDIO_OGG="AUDIO_OGG",e.AUDIO_OPUS="AUDIO_OPUS",e.APPLICATION_PDF="APPLICATION_PDF",e.APPLICATION_OCTET_STREAM="APPLICATION_OCTET_STREAM"})(PP||(PP={}));var wP;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(wP||(wP={}));var LP;(function(e){e.NONE_VALUE="NONE_VALUE",e.NEW_WINDOW="NEW_WINDOW",e.NEW_TAB="NEW_TAB"})(LP||(LP={}));var FP;(function(e){e.NONE_ACTION="NONE_ACTION",e.NO_ACTION="NO_ACTION",e.REMOVE_ALL_PRODUCT="REMOVE_ALL_PRODUCT",e.SHIPPING_RATES_REGION="SHIPPING_RATES_REGION"})(FP||(FP={}));var MP;(function(e){e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.YOUTUBE="YOUTUBE"})(MP||(MP={}));var UP;(function(e){e.UNKNOWN="UNKNOWN",e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"})(UP||(UP={}));var qP;(function(e){e.UNKNOWN_DESCRIPTION="UNKNOWN_DESCRIPTION",e.BENEFITS="BENEFITS",e.CUSTOM_TEXT="CUSTOM_TEXT"})(qP||(qP={}));var kP;(function(e){e.None="None",e.FREEMIUM="FREEMIUM",e.PREMIUM="PREMIUM",e.FREE="FREE",e.WIX_PREMIUM="WIX_PREMIUM",e.DYNAMIC="DYNAMIC"})(kP||(kP={}));var GP;(function(e){e.UNINITIALIZED="UNINITIALIZED",e.COMPONENT="COMPONENT"})(GP||(GP={}));var BP=g.object({app:g.object({id:g.string()})}),Cz=g.object({compId:g.string(),compName:g.string(),compType:g.literal(Mi.TOPOLOGY),compData:g.object({topology:g.object({topology:g.object({backendApiUrl:g.string().min(1)})})})}).passthrough(),HP=g.array(g.discriminatedUnion("compType",[Cz,...Object.values(Mi).filter(e=>e!==Mi.TOPOLOGY).map(e=>g.object({compId:g.string(),compName:g.string().optional(),compData:g.any(),compType:g.literal(e)}).passthrough())])),WP=g.object({appId:g.string(),data:g.object({components:HP})}),jP=g.object({latestVersion:g.string(),components:HP}),VP=g.object({appSecret:g.string(),webhooksPublicKey:g.string()}),KP=g.object({developmentSite:g.object({id:g.string(),siteName:g.string()})}),YP=g.object({developmentSites:g.array(g.object({}))}),$P=g.object({limit:g.number()}),Pz=g.object({name:g.string(),appId:g.string()}),zP=g.object({apps:g.array(Pz)}),XP=g.object({appPropertiesValidity:g.array(g.object({failures:g.array(g.string())}))}),JP=g.object({id:g.string(),appId:g.string(),revision:g.string(),languageCode:g.string(),installationRequirement:g.object({requiredApps:g.array(g.object({id:g.string(),slug:g.string()}))})});var wz="24bafe8a-7c80-4b63-8a71-08752062f246",Ui=class{constructor(t){this.httpClient=t;let{minRetryTimeout:r}=ot();this.retryOptions={retries:3,minTimeout:r,maxTimeout:3*1e3}}retryOptions;createApp=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(Ty({app:t})),this.retryOptions);return BP.parse(r).app}catch(r){throw new y({code:C.FailedToCreateDevCenterApp(),cause:r})}};getAppSecret=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(Cy(t)),this.retryOptions);return VP.parse(r)}catch(r){throw new y({code:C.FailedToGetAppSecret(),cause:r})}};getAppSnapshot=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(by(t)),this.retryOptions);return jP.parse(r)}catch(r){throw new y({code:C.FailedToGetAppSnapshot(),cause:r})}};getAppByVersion=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(yy(t)),this.retryOptions);return WP.parse(r)}catch(r){throw hr(r)&&r.response?.status===404?new y({code:C.AppForVersionNotFound({version:t.version}),cause:r}):new y({code:C.FailedToFetchAppForVersion(),cause:r})}};createDevSite=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(Py({templateId:wz})),this.retryOptions),{id:r,siteName:i}=KP.parse(t).developmentSite;return{id:r,displayName:i.replaceAll("-"," "),viewUrl:""}}catch(t){throw new y({code:C.FailedToCreateDevelopmentSite(),cause:t})}};getDevSitesCount=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(wy({})),this.retryOptions);return YP.parse(t).developmentSites.length}catch(t){throw new y({code:C.FailedToGetDevelopmentSites(),cause:t})}};getDeveloperApps=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(Dy({})),this.retryOptions);return zP.parse(t).apps}catch(t){throw new y({code:C.FailedToGetDeveloperApps(),cause:t})}};getDevSitesLimit=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(Ly({})),this.retryOptions);return $P.parse(t).limit}catch(t){throw new y({code:C.FailedToGetDevelopmentSitesLimit(),cause:t})}};getMarketListing=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(Uy({query:{filter:{appId:t,languageCode:"en"}}})),this.retryOptions);return r.marketListing?.[0]?JP.parse(r.marketListing[0]):void 0}catch(r){throw new y({code:C.FailedToGetMarketListing(),cause:r})}};getRequiredApps=async t=>{try{return(await this.getMarketListing(t))?.installationRequirement.requiredApps}catch(r){throw new y({code:C.FailedToGetRequiredApps(),cause:r})}};addRequiredApp=async({appId:t,appIdToRequire:r})=>{try{let i=await this.getMarketListing(t),n=i?.installationRequirement.requiredApps?.some(s=>s.id===r);if(i&&!n){let s=[...i.installationRequirement.requiredApps,{id:r,slug:r}];await he(()=>this.httpClient.request(My({marketListing:{...i,appId:t,installationRequirement:{requiredApps:s}},mask:["installationRequirement.requiredApps"]})),this.retryOptions)}}catch(i){throw new y({code:C.FailedToAddRequiredApp(),cause:i})}};getAppValidationFailuresCount=async(t,r)=>{try{let{data:i}=await this.httpClient.request(qy({appId:t,version:r}));return XP.parse(i).appPropertiesValidity.filter(a=>a.failures.length>0).length}catch(i){throw new y({code:C.FailedToGetAppValidity(),cause:i})}}};o();var QP=j(Ke(),1);o();o();var ZP=j(Ke(),1);function hh({type:e}){let{getAccessToken:t,getRequestHeaders:r}=xm();return(0,ZP.useMemo)(()=>un({type:e,getAppToken:t,createHeaders:r}),[e,t,r])}function Lz(){let e=hh({type:"backoffice"});return(0,QP.useMemo)(()=>new Ui(e),[e])}o();var Vw=j(Lw(),1);o();var ia;(function(e){e.INITIALIZED="INITIALIZED",e.IN_PROGRESS="IN_PROGRESS",e.DONE="DONE",e.FAILED="FAILED",e.NO_UPLOAD_IN_PROGRESS="NO_UPLOAD_IN_PROGRESS"})(ia||(ia={}));o();o();var EX={},vX={};var gX={},xX={};function Fw(e){var t={"manage._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}],"www._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}],"cronulla-jobs._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function Mw(e){var t=B(EX,{}),r=t.toJSON,i=t.fromJSON,n=B(vX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_deployer_service.v1.app_cloud_deployer",method:"POST",methodFqn:"com.wix.ctp.AppCloudDeployerService.CreatePresignedUrl",url:Fw({protoPath:"/v1/create-presigned-url/{appId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Uw(e){var t=B(gX,{}),r=t.toJSON,i=t.fromJSON,n=B(xX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_deployer_service.v1.app_cloud_deployer",method:"GET",methodFqn:"com.wix.ctp.AppCloudDeployerService.GetDeploymentStatus",url:Fw({protoPath:"/v1/get-deployment-status/{appId}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var qw=g.object({serveUrl:g.string().url(),uploadUrl:g.string().url(),fields:g.record(g.unknown()),deploymentId:g.string()});var Bc=class{constructor(t,r={retries:3,minTimeout:ot().minRetryTimeout,maxTimeout:3*1e3}){this.httpClient=t;this.retryOptions=r}async createPresignedUrl(t){try{let{data:r}=await he(()=>this.httpClient.request(Mw(t)),this.retryOptions);return qw.parse(r)}catch(r){throw hr(r)&&r.response?.status===403?new y({code:C.AppPermissionDenied({appId:t.appId}),cause:r}):new y({code:C.FailedToCreatePresignedUrl(),cause:r})}}upload(t,r){return new Promise((i,n)=>{let s="";r.submit(t,(a,c)=>{if(a){n(new y({code:C.FailedToUploadApplicationFiles(),cause:a}));return}c.on("data",u=>{s+=u.toString()}),c.on("end",()=>{[200,204].includes(c.statusCode)?i():n(s)})})})}async getDeploymentStatus(t){let{data:r}=await he(()=>this.httpClient.request(Uw(t)),this.retryOptions);return r.status}};o();o();function kw(e){return{evid:5208,src:11,endpoint:"",params:e}}function Gw(e){return{evid:5209,src:11,endpoint:"",params:e}}function Bw(e){return{evid:5210,src:11,endpoint:"",params:e}}function Hw(e){return{evid:5229,src:11,endpoint:"",params:e}}function Ww(e){return{evid:5231,src:11,endpoint:"",params:e}}function jw(e){return{evid:5232,src:11,endpoint:"",params:e}}function oxe(e){return{evid:5233,src:11,endpoint:"",params:e}}var Hc=e=>({cliAction:({question:t,action:r,key:i,additionalInfo:n})=>e.report(Ww({question:t,action:r,key:i,additionalInfo:JSON.stringify(n)})),cliFlowStepAnswered:({question:t,answer:r,additionalInfo:i})=>e.report(Hw({question:t,answer:r,additionalInfo:JSON.stringify(i)})),fileUpload({provider:t,fileCount:r,compressedSize:i,uncompressedSize:n}){let s=Date.now();return e.report(kw({timestampMs:s,hostingProvider:t,numFiles:r,fileSizeCompressed:i,fileSizeNotCompressed:n})),{archiveUploaded(){e.report(Gw({duration:Date.now()-s}))},finished(){e.report(Bw({duration:Date.now()-s}))}}},cliDeployment:({appId:t,deploymentId:r,files:i})=>{let n=Date.now(),s=i?i.filter(a=>a.filePath).map(a=>({filePath:a.filePath,fileSizeKb:a.content?a.content.length/1024:0})):[];return{finish:({isSuccess:a,failureReason:c})=>{e.report(jw({isSuccess:a,failureReason:c,filesDetails:JSON.stringify(s),filesSize:Math.round(s.reduce((u,{fileSizeKb:p})=>u+p,0)),uploadSource:"backend",appId:t,deploymentId:r,filesUploadTime:Date.now()-n}))}}}});var Wc=class{constructor(t,r,i){this.scope=t;this.biLogger=r;this.client=new Bc(i)}client;async uploadApplication(t,r){let i=Hc(this.biLogger),{serveUrl:n,uploadUrl:s,fields:a,deploymentId:c}=await this.createPresignedUrl(),u=i.fileUpload({provider:"Wix",fileCount:r.fileCount,compressedSize:r.compressedSizeInKb,uncompressedSize:r.uncompressedSizeInKb});return await this.uploadFile(c,s,a,t),u.archiveUploaded(),await this.waitForDeployment(c),u.finished(),{serveUrl:n}}createPresignedUrl(){return this.client.createPresignedUrl({appId:this.scope})}buildFormData(t,r,i){let n=new Vw.default;return Object.entries(t).forEach(([s,a])=>{n.append(s,a)}),n.append("file",i,{filename:r}),n}uploadFile(t,r,i,n){let s=`${t}.tar.gz`,a=this.buildFormData(i,s,n);return this.client.upload(r,a)}async waitForDeployment(t){let r=n=>1e3*n,i=n=>r(60)*n;try{await ar(async()=>{let n=await this.client.getDeploymentStatus({appId:this.scope,deploymentId:t});if(n===ia.FAILED)throw new Error("Static files upload failed");return n===ia.DONE},{before:!1,interval:r(1),timeout:i(5)})}catch(n){throw new y({code:C.FailedToVerifyDeployment(),cause:n,info:{deploymentId:t}})}}};o();o();var SX={},OX={},AX={},NX={},IX={},RX={},TX={},bX={},yX={},DX={};var CX={},PX={};function kn(e){var t={"manage._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}],"www._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}],"cronulla-jobs._base_domain_":[{srcPath:"/app-cloud-deployer-service-web",destPath:""}]};return We(Object.assign(e,{domainToMappings:t}))}function Kw(e){var t=B(AX,{}),r=t.toJSON,i=t.fromJSON,n=B(NX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.CreateBackendDeployment",url:kn({protoPath:"/v1/backend-deployment/{appId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Yw(e){var t=B(TX,{}),r=t.toJSON,i=t.fromJSON,n=B(bX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"GET",methodFqn:"com.wix.ctp.AppCloudBackendService.GetBackendDeployment",url:kn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function $w(e){var t=B(CX,{}),r=t.toJSON,i=t.fromJSON,n=B(PX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"PUT",methodFqn:"com.wix.ctp.AppCloudBackendService.UpdateBackendDeployment",url:kn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Axe(e){var t=B(SX,{}),r=t.toJSON,i=t.fromJSON,n=B(OX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.AttachLogger",url:kn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function Nxe(e){var t=B(IX,{}),r=t.toJSON,i=t.fromJSON,n=B(RX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"DELETE",methodFqn:"com.wix.ctp.AppCloudBackendService.DeattachLogger",url:kn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function zw(e){var t=B(yX,{}),r=t.toJSON,i=t.fromJSON,n=B(DX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.MarkDeploymentAsPermanent",url:kn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/permanent",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var Kt;(function(e){e.BACKEND_DEPLOYMENT_EMPTY="BACKEND_DEPLOYMENT_EMPTY",e.BACKEND_DEPLOYMENT_IN_PROGRESS="BACKEND_DEPLOYMENT_IN_PROGRESS",e.BACKEND_DEPLOYMENT_SUCCESS="BACKEND_DEPLOYMENT_SUCCESS",e.BACKEND_DEPLOYMENT_ERROR="BACKEND_DEPLOYMENT_ERROR",e.BACKEND_DEPLOYMENT_DELETED="BACKEND_DEPLOYMENT_DELETED"})(Kt||(Kt={}));var Xw;(function(e){e.BACKEND_DEPLOYMENT_TEMPORARY="BACKEND_DEPLOYMENT_TEMPORARY",e.BACKEND_DEPLOYMENT_PERMANENT="BACKEND_DEPLOYMENT_PERMANENT"})(Xw||(Xw={}));o();var jc=g.object({appId:g.string(),deploymentUrl:g.string(),deploymentId:g.string(),status:g.enum([Kt.BACKEND_DEPLOYMENT_EMPTY,Kt.BACKEND_DEPLOYMENT_ERROR,Kt.BACKEND_DEPLOYMENT_IN_PROGRESS,Kt.BACKEND_DEPLOYMENT_SUCCESS]),error:g.string().optional()});var Vc=class{constructor(t,r,i={retries:3,minTimeout:ot().minRetryTimeout,maxTimeout:3*1e3}){this.biLogger=t;this.httpClient=r;this.retryOptions=i}static DeploymentUrToDeploymentId(t){return t.replace(/^https?:\/\//,"").split(".")[0]}async createBackendDeployment(t){try{let{data:r}=await he(()=>this.httpClient.request(Kw(t)),this.retryOptions);return jc.parse(r)}catch(r){throw new y({code:C.FailedToCreateBackendDeployment(),cause:r})}}async updateBackendDeployment(t){try{let i=Hc(this.biLogger).cliDeployment({appId:t.appId,deploymentId:t.deploymentId,files:t.files});await he(()=>this.httpClient.request($w(t)),this.retryOptions);let n=await this.waitForDeployment(t.appId,t.deploymentId);if(i.finish({isSuccess:n.status===Kt.BACKEND_DEPLOYMENT_SUCCESS,failureReason:n.error}),n.status===Kt.BACKEND_DEPLOYMENT_ERROR)throw new y({code:C.FailedToDeployBackend(),info:{...n}});return jc.parse(n)}catch(r){throw new y({code:C.FailedToUpdateBackendDeployment(),cause:r})}}async getBackendDeployment(t){try{let{data:r}=await he(()=>this.httpClient.request(Yw(t)),this.retryOptions);return jc.parse(r)}catch(r){throw new y({code:C.FailedToGetBackendDeployment(),cause:r})}}async waitForDeployment(t,r){let i=s=>1e3*s,n=s=>i(60)*s;try{return ar(async()=>{let s=await this.getBackendDeployment({appId:t,deploymentId:r});return s.status===Kt.BACKEND_DEPLOYMENT_IN_PROGRESS?!1:ar.resolveWith(s)},{before:!1,interval:i(3),timeout:n(5)})}catch(s){throw new y({code:C.FailedToDeployBackend(),cause:s,info:{appId:t,deploymentId:r}})}}async makrDeploymentAsPermanent(t,r){try{await he(()=>this.httpClient.request(zw({appId:t,deploymentId:r})),this.retryOptions)}catch(i){throw new y({code:C.FailedToMarkDeploymentAsPermanent(),cause:i})}}};o();import{join as v8}from"node:path";import{readFile as g8}from"node:fs/promises";o();var iU=j(Rh(),1),la=j(mE(),1),pa=j(qM(),1);import u8 from"node:fs";import p8 from"node:path";o();var OE=j(mE(),1),XM=j($M(),1);import s8 from"node:process";import zM from"node:fs";import $n from"node:path";o();function Yn(e){let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}o();import{fileURLToPath as i8}from"node:url";import{Transform as n8}from"node:stream";var ua=e=>e instanceof URL?i8(e):e,Au=class extends n8{constructor(t){super({objectMode:!0,transform(r,i,n){n(void 0,t(r)?r:void 0)}})}},Nu=e=>e[0]==="!";var JM={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},ZM="**/.gitignore",a8=(e,t)=>Nu(e)?"!"+$n.posix.join(t,e.slice(1)):$n.posix.join(t,e),o8=(e,t)=>{let r=Yn($n.relative(t,$n.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(i=>i&&!i.startsWith("#")).map(i=>a8(i,r))},c8=(e,t)=>{if(t=Yn(t),$n.isAbsolute(e)){if(Yn(e).startsWith(t))return $n.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e},QM=(e,t)=>{let r=e.flatMap(n=>o8(n,t)),i=(0,XM.default)().add(r);return n=>(n=ua(n),n=c8(n,t),n?i.ignores(Yn(n)):!1)},eU=(e={})=>({cwd:ua(e.cwd)||s8.cwd(),suppressErrors:!!e.suppressErrors,deep:typeof e.deep=="number"?e.deep:Number.POSITIVE_INFINITY}),tU=async(e,t)=>{let{cwd:r,suppressErrors:i,deep:n}=eU(t),s=await(0,OE.default)(e,{cwd:r,suppressErrors:i,deep:n,...JM}),a=await Promise.all(s.map(async c=>({filePath:c,content:await zM.promises.readFile(c,"utf8")})));return QM(a,r)},rU=(e,t)=>{let{cwd:r,suppressErrors:i,deep:n}=eU(t),a=OE.default.sync(e,{cwd:r,suppressErrors:i,deep:n,...JM}).map(c=>({filePath:c,content:zM.readFileSync(c,"utf8")}));return QM(a,r)};var l8=e=>{if(e.some(t=>typeof t!="string"))throw new TypeError("Patterns must be a string or an array of strings")},AE=e=>(e=[...new Set([e].flat())],l8(e),e),d8=e=>{if(!e.cwd)return;let t;try{t=u8.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},nU=(e={})=>(e={...e,ignore:e.ignore||[],expandDirectories:e.expandDirectories===void 0?!0:e.expandDirectories,cwd:ua(e.cwd)},d8(e),e),sU=e=>async(t,r)=>e(AE(t),nU(r)),Iu=e=>(t,r)=>e(AE(t),nU(r)),aU=e=>{let{ignoreFiles:t,gitignore:r}=e,i=t?AE(t):[];return r&&i.push(ZM),i},m8=async e=>{let t=aU(e);return cU(t.length>0&&await tU(t,e))},oU=e=>{let t=aU(e);return cU(t.length>0&&rU(t,e))},cU=e=>{let t=new Set;return r=>{let i=r.path||r,n=p8.normalize(i),s=t.has(n)||e&&e(i);return t.add(n),!s}},uU=(e,t)=>e.flat().filter(r=>t(r)),f8=(e,t)=>(0,iU.default)(e).pipe(new Au(r=>t(r))),pU=(e,t)=>{let r=[];for(;e.length>0;){let i=e.findIndex(s=>Nu(s));if(i===-1){r.push({patterns:e,options:t});break}let n=e[i].slice(1);for(let s of r)s.options.ignore.push(n);i!==0&&r.push({patterns:e.slice(0,i),options:{...t,ignore:[...t.ignore,n]}}),e=e.slice(i+1)}return r},lU=(e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}),dU=async(e,t)=>{let r=pU(e,t),{cwd:i,expandDirectories:n}=t;if(!n)return r;let s=lU(n,i),a=i?{cwd:i}:void 0;return Promise.all(r.map(async c=>{let{patterns:u,options:p}=c;return[u,p.ignore]=await Promise.all([(0,pa.default)(u,s),(0,pa.default)(p.ignore,a)]),{patterns:u,options:p}}))},NE=(e,t)=>{let r=pU(e,t),{cwd:i,expandDirectories:n}=t;if(!n)return r;let s=lU(n,i),a=i?{cwd:i}:void 0;return r.map(c=>{let{patterns:u,options:p}=c;return u=pa.default.sync(u,s),p.ignore=pa.default.sync(p.ignore,a),{patterns:u,options:p}})},Qe=sU(async(e,t)=>{let[r,i]=await Promise.all([dU(e,t),m8(t)]),n=await Promise.all(r.map(s=>(0,la.default)(s.patterns,s.options)));return uU(n,i)}),ZAe=Iu((e,t)=>{let r=NE(e,t),i=oU(t),n=r.map(s=>la.default.sync(s.patterns,s.options));return uU(n,i)}),QAe=Iu((e,t)=>{let r=NE(e,t),i=oU(t),n=r.map(s=>la.default.stream(s.patterns,s.options));return f8(n,i)}),eNe=Iu((e,t)=>e.some(r=>la.default.isDynamicPattern(r,t))),tNe=sU(dU),rNe=Iu(NE);o();import{join as mU,parse as h8,sep as _8}from"node:path";import{platform as E8}from"node:os";function lr(e,t){let{dir:r,name:i}=h8(e);return t!==""?mU(r,`${i}.${t}`):mU(r,i)}function fU(e,t){return`/${wi(ly(e),t).split(_8).map(encodeURIComponent).join("/")}`}function Ve(e){return E8()==="win32"?e.replace(/\\/g,"/"):e}async function hU(e){let t=qc(e),r=v8(t,"**","*.mjs"),i=await Qe(Ve(r),{cwd:e});return Promise.all(i.map(async n=>({filePath:n.replace(t,"."),content:await g8(n,"utf-8")})))}o();import{readFile as _U,writeFile as EU}from"node:fs/promises";import{join as x8}from"node:path";var IE=async({directory:e,cwd:t,replacements:r})=>{let i=x8(e,"**","*.{js,js.map,mjs,mjs.map}"),n=await Qe(Ve(i),{cwd:t});for(let s of n){let a=await _U(s,"utf-8");r.forEach(([c,u])=>{a=a.replaceAll(c,u.replaceAll(`
30
- `,"\\n"))}),await EU(s,a,"utf-8")}return async()=>{for(let s of n){let a=await _U(s,"utf-8");r.forEach(([c,u])=>{a=a.replaceAll(u,c)}),await EU(s,a,"utf-8")}}};var RE="http://__API_BASEURL_PLACEHOLDER__.mock",FNe=async(e,t,r,i,n)=>{let s=new Wc(e,r,i),a=new Vc(r,i),c=new Ui(i),u=hy(t),p=qc(t),l=n?await a.createBackendDeployment({appId:e}):void 0,{appSecret:f,webhooksPublicKey:h}=await c.getAppSecret({appId:e}),E;l?.deploymentId&&(E=await IE({directory:u,cwd:t,replacements:[[RE,l.deploymentUrl]]}));let x=await IE({directory:p,cwd:t,replacements:[["__APP_SECRET__",f],["__WEBHOOKS_PUBLIC_KEY__",h]]});return SR(async S=>{let I,b;try{let q=await HN(u,S),k=S8(S),[{serveUrl:W}]=await Promise.all([s.uploadApplication(k,q),l?.deploymentId?a.updateBackendDeployment({appId:e,entrypoint:"./entry.mjs",deploymentId:l.deploymentId,files:await hU(t)}):Promise.resolve()]);b=W}catch(q){I=q}if(E&&await E(),await x(),I||!b)throw new y({code:C.UploadApplicationFailed(),cause:I});return{serveUrl:b,backendServerUrl:l?.deploymentUrl}},{extension:"tar.gz"})};o();var Xt=j(Ke(),1);o();async function vU(){let e=await De(Mn),t=_y.safeParse(e);if(t.success)return t.data;throw new y({code:C.InvalidConfigSchemaError({configPath:Mn,zodError:t.error})})}async function HNe(e){return ti(Mn,e,{spaces:2})}o();o();import{join as Aa}from"node:path";var iv=j(Bk(),1);o();o();var Hk=[{id:"f3ad314d-0704-48e5-86b5-81acaf43e036",name:"Calendar Page - Main more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/calendar",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/about-dashboard-plugin-extensions"},{id:"3ad7e6d2-35ce-45c1-ab59-64c51b60a104",name:"Staff Page - Main more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/staff",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-staff-page"},{id:"884a208a-7c23-4641-856a-d6561ed4c64b",name:"Staff Page - Staff more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/staff",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-staff-page"},{id:"ce533e85-9419-4c18-baf8-b3bb2423bcd1",name:"Edit Staff Profile Page - More actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/staff",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-edit-staff-profile-page"},{id:"5f8f3737-461a-43de-b790-e9079ba07d62",name:"Services Page - Main more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/services",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-services-page"},{id:"70f397fb-0007-43df-99f3-b3b0a9fa0712",name:"Services Page - Services more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/services",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-services-page"},{id:"38fbe11f-6bc6-4df7-a742-e3e169a16cef",name:"Booking List Page - Booking more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/bookings/bookings-list",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-booking-list-page"},{id:"f1ab2ce9-a790-4e3e-a0f7-fae4da37a668",name:"Booking List Page - Booking list bulk actions' more actions menu",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/bookings/bookings-list",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-booking-list-page"},{id:"c87531bd-12df-42f6-bd78-c929ece48be4",name:"Products Page - More Actions menu",appName:"Wix Stores",appId:"215238eb-22a5-4c36-9e7b-e7c08025e04e",route:"/wix-stores/products",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-stores-products-page"},{id:"5c6c70b7-5041-404d-81b6-1f7ce19acf0f",name:"Products Page - Product more actions menu",appName:"Wix Stores",appId:"215238eb-22a5-4c36-9e7b-e7c08025e04e",route:"/wix-stores/products",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-stores-products-page"},{id:"23986555-0ea3-49b4-bcaa-56cfe1ad35bf",name:"Products Page - Bulk actions toolbar More Actions menu",appName:"Wix Stores",appId:"215238eb-22a5-4c36-9e7b-e7c08025e04e",route:"/wix-stores/products",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-stores-products-page"}];var Wk=[{id:"261e84a2-31d0-4258-a035-10544d251108",name:"Staff Page",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/staff",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-staff-page",params:{staffResourceId:"string",scheduleId:"string",timezone:"string"}},{id:"049fb0fe-cc4a-4e33-b0a9-d8cda8e7a79f",name:"Edit Staff Profile Page",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/staff/details/create",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-edit-staff-profile-page",params:{staffId:"string",staffResourceId:"string"}},{id:"78cc4a47-8f47-489b-acc2-fd9e4208c8bd",name:"Services Page",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/services",docsUrl:"https://dev.wix.com/docs/build-apps/developer-tools/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-services-page",params:{}},{id:"0f756363-1659-4929-b4ef-5ff2c458eb7d",name:"Booking List Page",appName:"Wix Bookings",appId:"13d21c63-b5ec-5912-8397-c3a5ddb27a97",route:"/bookings/bookings/bookings-list",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-bookings-booking-list-page",params:{}},{id:"3ca518a6-8ae7-45aa-8cb9-afb3da945081",name:"Products Page",appName:"Wix Stores",appId:"215238eb-22a5-4c36-9e7b-e7c08025e04e",route:"/wix-stores/products",docsUrl:"https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-stores-products-page",params:{}}];var jk={"com.wix.ecommerce.catalog.api.v1.ProductChanged":"STORES_PRODUCT_CHANGED","wix.blog.v3.category_created":"wix.blog.category_created","com.wix.ecommerce.cart.abandonment.api.v1.CartAbandonedEvent":"STORES_CART_ABANDONED_CART_WEBHOOK",SitePropertiesUpdated:"SITE_PROPERTIES_UPDATED","wix.events.ticketing.events.TicketDefinitionCreated":"EVENTS_TICKETING_TICKET_DEFINITION_CREATED_WEBHOOK","com.wix.ecommerce.inventory.api.v1.InventoryVariantsChanged":"STORES_INVENTORY_VARIANTS_CHANGED",PaidPlanAutoRenewalCancelled:"APP_SUBSCRIPTION_CANCELLED_WEBHOOK","com.wixpress.formbuilder.api.v1.FormSubmittedEvent":"CRM_FORM_SUBMITTED","wix.blog.v3.post_deleted":"wix.blog.post_deleted",OrderPaid:"STORES_ORDER_PAID_WEBHOOK","wix.events.events.EventReminder":"EVENTS_EVENT_REMINDER","com.wix.ecommerce.catalog.api.v1.CollectionDeleted":"STORES_COLLECTION_DELETED","wix.events.rsvp.events.RsvpCreated":"EVENTS_RSVP_CREATED_WEBHOOK","com.wix.ecommerce.inventory.api.v1.InventoryItemChanged":"STORES_INVENTORY_ITEM_CHANGED","wix.blog.v3.category_updated":"wix.blog.category_updated","wix.events.ticketing.events.OrderUpdated":"EVENTS_TICKETING_ORDER_UPDATED_WEBHOOK",AppInstalled:"APP_PROVISIONED_WEBHOOK","com.wixpress.bookings.resources.core.api.v1.resource.ResourceNotification":"BOOKINGS.RESOURCES.EVENTS","com.wix.ecommerce.catalog.api.v1.CollectionCreated":"STORES_COLLECTION_CREATED","wix.events.ticketing.events.TicketDefinitionDeleted":"EVENTS_TICKETING_TICKET_DEFINITION_DELETED_WEBHOOK",NewMessageReceived:"WIX_CHAT_NEW_MESSAGE","wix.events.events.EventEnded":"EVENTS_EVENT_ENDED_WEBHOOK",SubscriptionOptionsAssignmentChangedForProduct:"wix.stores.v1.subscription_option_assigned","com.wix.ecommerce.catalog.api.v1.ProductCreated":"STORES_PRODUCT_CREATED",PaidPlanPurchased:"APP_SUBSCRIPTION_CREATED_WEBHOOK","wix.events.ticketing.events.OrderInitiated":"EVENTS_TICKETING_ORDER_INITIATED_WEBHOOK","wix.blog.v3.post_created":"wix.blog.post_created",FulfillmentDeleted:"STORES_FULFILLMENT_DELETED","com.wixpress.bookings.services.api.v1.FormNotification":"BOOKINGS.FORMS.EVENTS","com.wix.ecommerce.cart.api.v1.CartCompletedEvent":"STORES_CART_COMPLETED_WEBHOOK","wix.blog.v3.post_unliked":"wix.blog.post_unliked",OrderRefunded:"STORES_ORDER_REFUND_WEBHOOK","wix.events.ticketing.events.ReservationUpdated":"EVENTS_TICKETING_RESERVATION_UPDATED_WEBHOOK","wix.blog.v3.category_deleted":"wix.blog.category_deleted","com.wixpress.bookings.services.api.v1.ServiceNotification":"BOOKINGS.SERVICES.EVENTS","com.wix.ecommerce.catalog.api.v1.CollectionChanged":"STORES_COLLECTION_CHANGED","wix.events.events.EventCreated":"EVENTS_EVENT_CREATED_WEBHOOK","wix.events.ticketing.events.ReservationCreated":"EVENTS_TICKETING_RESERVATION_CREATED_WEBHOOK","wix.events.ticketing.events.OrderDeleted":"EVENTS_TICKETING_ORDER_DELETED_WEBHOOK","wix.events.ticketing.events.OrderConfirmed":"EVENTS_TICKETING_ORDER_CONFIRMED_WEBHOOK","com.wix.ecommerce.catalog.api.v1.ProductDeleted":"STORES_PRODUCT_DELETED","com.wixpress.emailsubscriptions.v1.EmailSubscriptionChanged":"EMAIL_SUBSCRIPTION_CHANGED","com.wix.ecommerce.cart.api.v1.CartCreatedEvent":"STORES_CART_CREATED_WEBHOOK","wix.blog.v3.post_liked":"wix.blog.post_liked","com.wix.ecommerce.orders.api.v2.OrderEvent":"STORES_NEW_ORDER_WEBHOOK","com.wix.bookings.api.v1.BookingNotification":"BOOKINGS.BOOKING.EVENTS",FulfillmentCreated:"STORES_FULFILLMENT_CREATED","wix.events.ticketing.events.TicketDefinitionUpdated":"EVENTS_TICKETING_TICKET_DEFINITION_UPDATED_WEBHOOK","com.wix.payment.api.pay.v3.PaymentEvent":"CASHIER_PAYMENT_EVENT_WEBHOOK","wix.events.events.EventUpdated":"EVENTS_EVENT_UPDATED_WEBHOOK","wix.events.events.EventStarted":"EVENTS_EVENT_STARTED_WEBHOOK",AppRemoved:"APP_REMOVED_WEBHOOK","com.wix.ecommerce.catalog.api.v1.VariantsChanged":"STORES_VARIANTS_CHANGED","com.wix.ecommerce.cart.abandonment.api.v1.CartRecoveredEvent":"STORES_CART_RECOVERED_WEBHOOK",PaidPlanChanged:"APP_SUBSCRIPTION_CHANGED_WEBHOOK","wix.events.rsvp.events.RsvpDeleted":"EVENTS_RSVP_DELETED_WEBHOOK",OneTimePurchasesChanged:"wix.stores.v1.subscription_option_one_time_purcahse_changed","com.wix.bookings.schedules.api.v1.ScheduleNotification":"BOOKINGS.SCHEDULES.EVENTS",OrderCanceled:"STORES_ORDER_CANCEL_WEBHOOK","com.wixpress.bookings.services.api.v1.CategoryNotification":"BOOKINGS.CATEGORIES.EVENTS","wix.events.events.EventCanceled":"EVENTS_EVENT_CANCELED_WEBHOOK",FulfillmentUpdated:"STORES_FULFILLMENT_UPDATED","wix.events.rsvp.events.RsvpUpdated":"EVENTS_RSVP_UPDATED_WEBHOOK","wix.events.events.EventDeleted":"EVENTS_EVENT_DELETED_WEBHOOK"};var ZE=async()=>Wk,QE=async()=>Hk,Rre=async e=>{let t=jk[e];return t||e};import{randomUUID as rie}from"node:crypto";o();var Vi=j(It(),1);async function Vk(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.DashboardPageConfigNotFound({configPath:t})});let i=await De(t),n=vy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function Kk(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.DashboardPluginConfigNotFound({configPath:t})});let i=await De(t),n=xy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function Yk(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.DashboardMenuPluginConfigNotFound({configPath:t})});let i=await De(t),n=Sy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function $k(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.DashboardModalConfigNotFound({configPath:t})});let i=await De(t),n=gy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}function Tre(e){return`wix/html/dashboard-asset/${e}.html`}function Sye(e){return new Map(e.components.filter(t=>(0,Vi.isType)(t,le.DashboardPage)||(0,Vi.isType)(t,le.DashboardPlugin)||(0,Vi.isType)(t,le.DashboardModal)).map(t=>[Tre(t.id),t]))}function bre(e){return`wix/scripts/dashboard-asset/${e}.js`}function Oye(e){return new Map(e.components.filter(t=>(0,Vi.isType)(t,le.DashboardPage)||(0,Vi.isType)(t,le.DashboardPlugin)||(0,Vi.isType)(t,le.DashboardModal)).map(t=>[bre(t.id),t]))}o();var yre=/^[a-z0-9\-/]+$/,Dre=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function xa(e){return yre.test(e)}function Iye(e){return Dre.test(e)}function Ki(e){return t=>{for(let[r,i]of e)if(!r(t))return{valid:!1,reason:i};return{valid:!0}}}function Rye(e){return t=>{let r=e(t);return r.valid||r.reason}}o();var zk="The page route must be a valid URL path ([a-z0-9-/]+) and must not start with a dot.",Cre="The page route must be unique, please choose a route that has not been used yet in your application.";function Pre(e){return t=>e.every(r=>r.route!==`/${t}`)}var Dye=Ki([[xa,zk]]);function Xk(e){return Ki([[Pre(e),Cre],[xa,zk]])}o();o();var wre=Object.prototype.toString,is=Array.isArray||function(t){return wre.call(t)==="[object Array]"};function tv(e){return typeof e=="function"}function Lre(e){return is(e)?"array":typeof e}function ev(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Jk(e,t){return e!=null&&typeof e=="object"&&t in e}function Fre(e,t){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(t)}var Mre=RegExp.prototype.test;function Ure(e,t){return Mre.call(e,t)}var qre=/\S/;function kre(e){return!Ure(qre,e)}var Gre={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function Bre(e){return String(e).replace(/[&<>"'`=\/]/g,function(r){return Gre[r]})}var Hre=/\s*/,Wre=/\s+/,Zk=/\s*=/,jre=/\s*\}/,Vre=/#|\^|\/|>|\{|&|=|!/;function Kre(e,t){if(!e)return[];var r=!1,i=[],n=[],s=[],a=!1,c=!1,u="",p=0;function l(){if(a&&!c)for(;s.length;)delete n[s.pop()];else s=[];a=!1,c=!1}var f,h,E;function x(F){if(typeof F=="string"&&(F=F.split(Wre,2)),!is(F)||F.length!==2)throw new Error("Invalid tags: "+F);f=new RegExp(ev(F[0])+"\\s*"),h=new RegExp("\\s*"+ev(F[1])),E=new RegExp("\\s*"+ev("}"+F[1]))}x(t||Ut.tags);for(var S=new Oa(e),I,b,q,k,W,M;!S.eos();){if(I=S.pos,q=S.scanUntil(f),q)for(var X=0,K=q.length;X<K;++X)k=q.charAt(X),kre(k)?(s.push(n.length),u+=k):(c=!0,r=!0,u+=" "),n.push(["text",k,I,I+1]),I+=1,k===`
31
- `&&(l(),u="",p=0,r=!1);if(!S.scan(f))break;if(a=!0,b=S.scan(Vre)||"name",S.scan(Hre),b==="="?(q=S.scanUntil(Zk),S.scan(Zk),S.scanUntil(h)):b==="{"?(q=S.scanUntil(E),S.scan(jre),S.scanUntil(h),b="&"):q=S.scanUntil(h),!S.scan(h))throw new Error("Unclosed tag at "+S.pos);if(b==">"?W=[b,q,I,S.pos,u,p,r]:W=[b,q,I,S.pos],p++,n.push(W),b==="#"||b==="^")i.push(W);else if(b==="/"){if(M=i.pop(),!M)throw new Error('Unopened section "'+q+'" at '+I);if(M[1]!==q)throw new Error('Unclosed section "'+M[1]+'" at '+I)}else b==="name"||b==="{"||b==="&"?c=!0:b==="="&&x(q)}if(l(),M=i.pop(),M)throw new Error('Unclosed section "'+M[1]+'" at '+S.pos);return $re(Yre(n))}function Yre(e){for(var t=[],r,i,n=0,s=e.length;n<s;++n)r=e[n],r&&(r[0]==="text"&&i&&i[0]==="text"?(i[1]+=r[1],i[3]=r[3]):(t.push(r),i=r));return t}function $re(e){for(var t=[],r=t,i=[],n,s,a=0,c=e.length;a<c;++a)switch(n=e[a],n[0]){case"#":case"^":r.push(n),i.push(n),r=n[4]=[];break;case"/":s=i.pop(),s[5]=n[2],r=i.length>0?i[i.length-1][4]:t;break;default:r.push(n)}return t}function Oa(e){this.string=e,this.tail=e,this.pos=0}Oa.prototype.eos=function(){return this.tail===""};Oa.prototype.scan=function(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var i=r[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i};Oa.prototype.scanUntil=function(t){var r=this.tail.search(t),i;switch(r){case-1:i=this.tail,this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=i.length,i};function rs(e,t){this.view=e,this.cache={".":this.view},this.parent=t}rs.prototype.push=function(t){return new rs(t,this)};rs.prototype.lookup=function(t){var r=this.cache,i;if(r.hasOwnProperty(t))i=r[t];else{for(var n=this,s,a,c,u=!1;n;){if(t.indexOf(".")>0)for(s=n.view,a=t.split("."),c=0;s!=null&&c<a.length;)c===a.length-1&&(u=Jk(s,a[c])||Fre(s,a[c])),s=s[a[c++]];else s=n.view[t],u=Jk(n.view,t);if(u){i=s;break}n=n.parent}r[t]=i}return tv(i)&&(i=i.call(this.view)),i};function nt(){this.templateCache={_cache:{},set:function(t,r){this._cache[t]=r},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}nt.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};nt.prototype.parse=function(t,r){var i=this.templateCache,n=t+":"+(r||Ut.tags).join(":"),s=typeof i<"u",a=s?i.get(n):void 0;return a==null&&(a=Kre(t,r),s&&i.set(n,a)),a};nt.prototype.render=function(t,r,i,n){var s=this.getConfigTags(n),a=this.parse(t,s),c=r instanceof rs?r:new rs(r,void 0);return this.renderTokens(a,c,i,t,n)};nt.prototype.renderTokens=function(t,r,i,n,s){for(var a="",c,u,p,l=0,f=t.length;l<f;++l)p=void 0,c=t[l],u=c[0],u==="#"?p=this.renderSection(c,r,i,n,s):u==="^"?p=this.renderInverted(c,r,i,n,s):u===">"?p=this.renderPartial(c,r,i,s):u==="&"?p=this.unescapedValue(c,r):u==="name"?p=this.escapedValue(c,r,s):u==="text"&&(p=this.rawValue(c)),p!==void 0&&(a+=p);return a};nt.prototype.renderSection=function(t,r,i,n,s){var a=this,c="",u=r.lookup(t[1]);function p(h){return a.render(h,r,i,s)}if(u){if(is(u))for(var l=0,f=u.length;l<f;++l)c+=this.renderTokens(t[4],r.push(u[l]),i,n,s);else if(typeof u=="object"||typeof u=="string"||typeof u=="number")c+=this.renderTokens(t[4],r.push(u),i,n,s);else if(tv(u)){if(typeof n!="string")throw new Error("Cannot use higher-order sections without the original template");u=u.call(r.view,n.slice(t[3],t[5]),p),u!=null&&(c+=u)}else c+=this.renderTokens(t[4],r,i,n,s);return c}};nt.prototype.renderInverted=function(t,r,i,n,s){var a=r.lookup(t[1]);if(!a||is(a)&&a.length===0)return this.renderTokens(t[4],r,i,n,s)};nt.prototype.indentPartial=function(t,r,i){for(var n=r.replace(/[^ \t]/g,""),s=t.split(`
32
- `),a=0;a<s.length;a++)s[a].length&&(a>0||!i)&&(s[a]=n+s[a]);return s.join(`
33
- `)};nt.prototype.renderPartial=function(t,r,i,n){if(i){var s=this.getConfigTags(n),a=tv(i)?i(t[1]):i[t[1]];if(a!=null){var c=t[6],u=t[5],p=t[4],l=a;u==0&&p&&(l=this.indentPartial(a,p,c));var f=this.parse(l,s);return this.renderTokens(f,r,i,l,n)}}};nt.prototype.unescapedValue=function(t,r){var i=r.lookup(t[1]);if(i!=null)return i};nt.prototype.escapedValue=function(t,r,i){var n=this.getConfigEscape(i)||Ut.escape,s=r.lookup(t[1]);if(s!=null)return typeof s=="number"&&n===Ut.escape?String(s):n(s)};nt.prototype.rawValue=function(t){return t[1]};nt.prototype.getConfigTags=function(t){return is(t)?t:t&&typeof t=="object"?t.tags:void 0};nt.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!is(t))return t.escape};var Ut={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){Sa.templateCache=e},get templateCache(){return Sa.templateCache}},Sa=new nt;Ut.clearCache=function(){return Sa.clearCache()};Ut.parse=function(t,r){return Sa.parse(t,r)};Ut.render=function(t,r,i,n){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+Lre(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Sa.render(t,r,i,n)};Ut.escape=Bre;Ut.Scanner=Oa;Ut.Context=rs;Ut.Writer=nt;var Qk=Ut;import{readFile as zre}from"node:fs/promises";function eG(e){return e.replace(`${ni}/`,"").replace("/embedded.html","")}function Xre(e){return t=>e.every(r=>t!==eG(r.relativePath))}function Jre(e){return xa(eG(e))}async function Zre(e){let t=await zre(e,"utf-8");return Qk.parse(t).filter(([r])=>r==="name")}async function tG(e){try{let i=(await Zre(e)).filter(([n])=>n==="name").filter(([,n])=>!/^[a-zA-Z]+$/.test(n)).map(([,n])=>n);return i.length>0?{valid:!1,reason:`Dynamic parameters can only include letters, but some include invalid names: ${i.join(", ")}`}:{valid:!0}}catch(t){return{valid:!1,reason:t instanceof Error?t.message:"Invalid embedded script template"}}}function rG(e){return Ki([[Xre(e),"The script folder must be unique, please choose a name that has not been used yet in your application."],[Jre,"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot."]])}o();var Qre=/^[a-z](?:[.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,eie=function(e){return Qre.test(e)},tie=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),iG=Ki([[e=>!!e,"Missing Site widget name."],[e=>!/[A-Z]/.test(e),"Site widget names must not contain uppercase ASCII characters."],[e=>e.includes("-"),"Site widget names must contain a hyphen. Example: unicorn-cake"],[e=>!/^\d/i.test(e),"Site widget names must not start with a digit."],[e=>!/^-/i.test(e),"Site widget names must not start with a hyphen."],[e=>eie(e),"Invalid element name."],[e=>!tie.has(e),`The supplied element name is reserved and can't be used.
34
- See: https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name`]]);function Hye(e){return t=>e.every(r=>t!==r.tagName)}o();async function rv(e,t){let r=ym(e);if(!await Ie(r))return null;try{let n=await De(r),s=await Ey.safeParseAsync(n);return s.success?s.data:null}catch(n){return t?.(n),null}}async function Yye(e,t){let i={...await rv(e)??{},...t};await ti(ym(e),i)}var iie=Aa(Qs,"**","page.{ts,tsx,js,jsx}"),nie=Aa(ea,"**","plugin.{ts,tsx,js,jsx}"),sie=Aa(ta,"**","plugin.json"),aie=Aa(ra,"**","modal.{ts,tsx,js,jsx}");async function oie(e,t){let r=await Vk(t),i=fU(e,Aa(e,t));return le.DashboardPage({...r,route:i,relativePath:t,platforms:[yr.Dashboard()]})}async function nG(e){let t=await Qe(Ve(iie),{cwd:e}),r=await Promise.all(t.map(n=>oie(e,n))),i=Xk(r);return r.forEach(({route:n})=>{let s=i(n);if(!s.valid)throw new y({code:C.InvalidDashboardPageRoute({route:n,errorMessage:s.reason})})}),r}async function cie(e,t){let r=await Kk(e);return le.DashboardPlugin({...r,relativePath:e,platforms:[yr.Dashboard()],route:t[r.extends]?.route||"/"})}async function sG(e){let t=await Qe(Ve(nie),{cwd:e}),r=await ZE(),i=(0,iv.default)(r,"id");return await Promise.all(t.map(s=>cie(s,i)))}async function uie(e,t){let r=await Yk(e);return le.DashboardMenuPlugin({...r,relativePath:e,platforms:[yr.Dashboard()],route:t[r.extends]?.route||"/"})}async function pie(e){let t=await $k(e);return le.DashboardModal({...t,relativePath:e,platforms:[yr.Dashboard()],route:"/"})}async function aG(e){let t=await Qe(Ve(sie),{cwd:e}),r=await QE(),i=(0,iv.default)(r,"id");return await Promise.all(t.map(s=>uie(s,i)))}async function oG(e){let t=await Qe(Ve(aie),{cwd:e});return await Promise.all(t.map(i=>pie(i)))}function cG(e){return e.dashboard?.sidebar?.categories?.map(t=>le.DashboardSidebarCategory({...t,platforms:[]}))||[]}async function uG(e){let r=(await rv(e))?.topologyComponentId??rie();return le.Topology({id:r,name:"Topology",platforms:[],backendApiUrl:RE})}o();import{dirname as _ie,join as ns}from"node:path";o();import{join as lie,dirname as die}from"node:path";var wu=j(It(),1);async function pG(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.EmbeddedScriptConfigNotFound({configPath:t})});let i=await De(t),n=Oy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function lG(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.CustomElementConfigNotFound({configPath:t})});let i=await De(t),n=Ay.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}function mie(e){return`wix/html/custom-element-asset/${e}.html`}function fie(e){return`wix/scripts/custom-element-asset/panel-${e}.js`}function hie(e){return`wix/scripts/custom-element-asset/${e}.js`}function _De(e){return new Map(e.components.filter(t=>(0,wu.isType)(t,le.CustomElement)).map(t=>[mie(t.id),t]))}function EDe(e){return new Map(e.components.filter(t=>(0,wu.isType)(t,le.CustomElement)).map(t=>[hie(t.id),t]))}function vDe(e){return new Map(e.components.filter(t=>(0,wu.isType)(t,le.CustomElement)&&!!t.relativePanelPath).map(t=>[fie(t.id),t]))}async function dG(e){let t=lie(die(e),"params.dev.json");if(!await Ie(t))return null;let i=await De(t),n=Ny.safeParse(i);if(n.success)return n.data||null;throw new y({code:C.InvalidParamsOverrideSchemaError({paramsOverridePath:t,zodError:n.error})})}var nv=ns(ni,"**","embedded.html"),Eie=ns(qn,"**","element.{ts,tsx,js,jsx}"),PDe=ns(qn,"**","panel.{ts,tsx,js,jsx}");async function vie(e,t,r){let i=await lG(e),n=ns(_ie(e),"panel.tsx"),s=wi(dy(t),e),a=await Ie(ns(t,n));return le.CustomElement({...i,tagName:s,relativePath:e,platforms:[yr.Site(),yr.Editor()],...a?{relativePanelPath:Ve(n)}:{},dependencies:r})}async function mG(e,t){let r=await Qe(Ve(Eie),{cwd:e}),i=await Promise.all(r.map(n=>vie(n,e,t)));return i.forEach(({tagName:n})=>{let s=iG(n);if(!s.valid)throw new y({code:C.InvalidCustomElementTagName({tagName:n,errorMessage:s.reason})})}),i}var fG=ns(ni,"**","params.dev.json");async function gie(e,t){let r=await pG(e),i=await dG(e);return le.EmbeddedScript({...r,relativePath:e,platforms:[yr.Site()],paramsOverride:i,dependencies:t})}async function hG(e,t){let r=await Qe(Ve(nv),{cwd:e}),i=await Promise.all(r.map(s=>gie(s,t))),n=rG(i);return await Promise.all(i.map(async({relativePath:s})=>{let a=n(s),c=await tG(s);if(!a.valid)throw new y({code:C.InvalidEmbeddedScriptFolder({path:s,errorMessage:a.reason})});if(!c.valid)throw new y({code:C.InvalidEmbeddedScriptTemplate({templateFilename:s,errorMessage:c.reason})})})),i}o();var oH=j(aH(),1);async function cH(e){let t=await WN(e),r={...t.peerDependencies,...t.devDependencies,...t.dependencies};return Object.entries(r).filter(([n])=>mae(n)).map(([n,s])=>fae(n,s??""))}var mae=e=>e.startsWith("@wix/site-"),fae=(e,t)=>({packageName:e,version:hae(e,t)}),hae=(e,t)=>{let r;try{r=oH.default.minVersion(t)?.major??null}catch{r=null}if(!r)throw new y({code:C.InvalidSiteFrontendPackageVersion({packageName:e,versionRange:t})});return r};o();import{join as Av}from"node:path";var Nv=Av(Rm,"*","api.{ts,tsx,js,jsx}"),Iv=Av(Tm,"*","event.{ts,tsx,js,jsx}"),Rv=Av(uy,"*","plugin.{ts,tsx,js,jsx}");async function _ae(e,t){let r=wi(my(e),t);return le.Api({title:r,relativePath:t,platforms:[]})}async function uH(e){let t=await Qe(Ve(Nv),{cwd:e});return await Promise.all(t.map(i=>_ae(e,i)))}async function Eae(e,t){return le.Event({title:wi(fy(e),t),relativePath:t,platforms:[]})}async function pH(e){let t=await Qe(Ve(Iv),{cwd:e});return await Promise.all(t.map(i=>Eae(e,i)))}async function vae(e){let t=lr(e,"json");if(!await Ie(t))throw new y({code:C.ServicePluginConfigNotFound({configPath:t})});let i=await De(t),n=Iy.safeParse(i);if(n.success)return n.data;throw new y({code:C.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function gae(e){let t=await vae(e);return le.ServicePlugin({...t,relativePath:e,platforms:[]})}async function lH(e){let t=await Qe(Ve(Rv),{cwd:e});return await Promise.all(t.map(i=>gae(i)))}async function dH({projectFolder:e,config:t}){let r=await nG(e),i=await sG(e),n=await aG(e),s=await oG(e),a=await cH(e),c=await hG(e,a),u=cG(t),p=await mG(e,a),l=await uH(e),f=await lH(e),h=await pH(e),x=l.length+f.length+h.length>0?[await uG(e)]:[];return[...r,...i,...n,...s,...c,...u,...p,...l,...f,...h,...x]}o();import{join as ls,basename as fW}from"node:path";import{EventEmitter as yce}from"node:events";var hW=j(rW(),1),_W=j(NW(),1);o();var sce=Object.getOwnPropertyNames,ace=Object.getOwnPropertySymbols,oce=Object.prototype.hasOwnProperty;function iW(e,t){return function(i,n,s){return e(i,n,s)&&t(i,n,s)}}function rp(e){return function(r,i,n){if(!r||!i||typeof r!="object"||typeof i!="object")return e(r,i,n);var s=n.cache,a=s.get(r),c=s.get(i);if(a&&c)return a===i&&c===r;s.set(r,i),s.set(i,r);var u=e(r,i,n);return s.delete(r),s.delete(i),u}}function nW(e){return sce(e).concat(ace(e))}var lW=Object.hasOwn||function(e,t){return oce.call(e,t)};function ps(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var dW="_owner",sW=Object.getOwnPropertyDescriptor,aW=Object.keys;function cce(e,t,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r.equals(e[i],t[i],i,i,e,t,r))return!1;return!0}function uce(e,t){return ps(e.getTime(),t.getTime())}function oW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.entries(),s=0,a,c;(a=n.next())&&!a.done;){for(var u=t.entries(),p=!1,l=0;(c=u.next())&&!c.done;){var f=a.value,h=f[0],E=f[1],x=c.value,S=x[0],I=x[1];!p&&!i[l]&&(p=r.equals(h,S,s,l,e,t,r)&&r.equals(E,I,h,S,e,t,r))&&(i[l]=!0),l++}if(!p)return!1;s++}return!0}function pce(e,t,r){var i=aW(e),n=i.length;if(aW(t).length!==n)return!1;for(var s;n-- >0;)if(s=i[n],s===dW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!lW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r))return!1;return!0}function ka(e,t,r){var i=nW(e),n=i.length;if(nW(t).length!==n)return!1;for(var s,a,c;n-- >0;)if(s=i[n],s===dW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!lW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r)||(a=sW(e,s),c=sW(t,s),(a||c)&&(!a||!c||a.configurable!==c.configurable||a.enumerable!==c.enumerable||a.writable!==c.writable)))return!1;return!0}function lce(e,t){return ps(e.valueOf(),t.valueOf())}function dce(e,t){return e.source===t.source&&e.flags===t.flags}function cW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.values(),s,a;(s=n.next())&&!s.done;){for(var c=t.values(),u=!1,p=0;(a=c.next())&&!a.done;)!u&&!i[p]&&(u=r.equals(s.value,a.value,s.value,a.value,e,t,r))&&(i[p]=!0),p++;if(!u)return!1}return!0}function mce(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var fce="[object Arguments]",hce="[object Boolean]",_ce="[object Date]",Ece="[object Map]",vce="[object Number]",gce="[object Object]",xce="[object RegExp]",Sce="[object Set]",Oce="[object String]",Ace=Array.isArray,uW=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,pW=Object.assign,Nce=Object.prototype.toString.call.bind(Object.prototype.toString);function Ice(e){var t=e.areArraysEqual,r=e.areDatesEqual,i=e.areMapsEqual,n=e.areObjectsEqual,s=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,u=e.areTypedArraysEqual;return function(l,f,h){if(l===f)return!0;if(l==null||f==null||typeof l!="object"||typeof f!="object")return l!==l&&f!==f;var E=l.constructor;if(E!==f.constructor)return!1;if(E===Object)return n(l,f,h);if(Ace(l))return t(l,f,h);if(uW!=null&&uW(l))return u(l,f,h);if(E===Date)return r(l,f,h);if(E===RegExp)return a(l,f,h);if(E===Map)return i(l,f,h);if(E===Set)return c(l,f,h);var x=Nce(l);return x===_ce?r(l,f,h):x===xce?a(l,f,h):x===Ece?i(l,f,h):x===Sce?c(l,f,h):x===gce?typeof l.then!="function"&&typeof f.then!="function"&&n(l,f,h):x===fce?n(l,f,h):x===hce||x===vce||x===Oce?s(l,f,h):!1}}function Rce(e){var t=e.circular,r=e.createCustomConfig,i=e.strict,n={areArraysEqual:i?ka:cce,areDatesEqual:uce,areMapsEqual:i?iW(oW,ka):oW,areObjectsEqual:i?ka:pce,arePrimitiveWrappersEqual:lce,areRegExpsEqual:dce,areSetsEqual:i?iW(cW,ka):cW,areTypedArraysEqual:i?ka:mce};if(r&&(n=pW({},n,r(n))),t){var s=rp(n.areArraysEqual),a=rp(n.areMapsEqual),c=rp(n.areObjectsEqual),u=rp(n.areSetsEqual);n=pW({},n,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return n}function Tce(e){return function(t,r,i,n,s,a,c){return e(t,r,c)}}function bce(e){var t=e.circular,r=e.comparator,i=e.createState,n=e.equals,s=e.strict;if(i)return function(u,p){var l=i(),f=l.cache,h=f===void 0?t?new WeakMap:void 0:f,E=l.meta;return r(u,p,{cache:h,equals:n,meta:E,strict:s})};if(t)return function(u,p){return r(u,p,{cache:new WeakMap,equals:n,meta:void 0,strict:s})};var a={cache:void 0,equals:n,meta:void 0,strict:s};return function(u,p){return r(u,p,a)}}var mW=fi(),ewe=fi({strict:!0}),twe=fi({circular:!0}),rwe=fi({circular:!0,strict:!0}),iwe=fi({createInternalComparator:function(){return ps}}),nwe=fi({strict:!0,createInternalComparator:function(){return ps}}),swe=fi({circular:!0,createInternalComparator:function(){return ps}}),awe=fi({circular:!0,createInternalComparator:function(){return ps},strict:!0});function fi(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,i=e.createInternalComparator,n=e.createState,s=e.strict,a=s===void 0?!1:s,c=Rce(e),u=Ice(c),p=i?i(u):Tce(u);return bce({circular:r,comparator:u,createState:n,equals:p,strict:a})}var Dce=ls(Qs,"**","page.json"),Cce=ls(ea,"**","plugin.json"),Pce=ls(ta,"**","plugin.json"),wce=ls(ra,"**","modal.json"),Lce=ls(ni,"**","embedded.json"),Fce=ls(qn,"**","element.json"),ip=class{emitter=new yce;watchers=[];prevModel;constructor(t){this.prevModel=t}watch(){let t=hW.default.watch([Dce,Cce,wce,Lce,nv,Fce,Pce,fG,Nv,Iv,Rv,Mn],{useFsEvents:!1,ignoreInitial:!0}).on("add",this.emitConfigUpdate).on("unlink",this.emitConfigUpdate).on("change",this.emitConfigUpdate);return this.watchers.push(t),this}onChange(t){return this.emitter.on("all",t),this}onError(t){return this.emitter.on("error",t),this}async close(){await Promise.all(this.watchers.map(t=>t.close()))}emitConfigUpdate=(0,_W.default)(async t=>{try{let r=await EW(this.prevModel.projectFolder);this.emitter.emit("all",r,"change-received"),!mW(r,this.prevModel)||fW(t)==="embedded.html"||fW(t)==="event.ts"?(this.prevModel=r,this.emitter.emit("all",r,"model-updated")):this.emitter.emit("all",r,"model-did-not-change")}catch(r){this.emitter.emit("error",r)}},200)};async function EW(e){let t=await vU();return{projectFolder:e,config:t,components:await dH({projectFolder:e,config:t})}}var vW=(0,Xt.createContext)(null),Owe=e=>{let[t,r]=(0,Xt.useState)(e.value),[i]=(0,Xt.useState)(()=>{let n=new ip(t);return e.watchForChanges===!0&&n.watch().onChange((s,a)=>{a==="model-updated"&&r(s)}),n});return(0,Xt.useEffect)(()=>()=>{i.close()},[i]),Xt.default.createElement(vW.Provider,{value:{model:t,watcher:i}},e.children)};function Awe(){let e=(0,Xt.useContext)(vW);if(e===null)throw new Error("useProjectModel() cannot be used without an <ProjectModelProvider>");return e}export{he as a,We as b,_e as c,B as d,go as e,hr as f,un as g,Dc as h,ghe as i,rY as j,ti as k,De as l,Ie as m,Ime as n,WN as o,Rme as p,wi as q,Ln as r,ar as s,IW as t,cp as u,n_e as v,s_e as w,rR as x,rl as y,RW as z,up as A,v$ as B,oEe as C,Mn as D,vEe as E,gEe as F,xEe as G,OR as H,wR as I,LR as J,Un as K,Fi as L,QR as M,eT as N,tT as O,$T as P,zT as Q,W$ as R,j$ as S,Qs as T,ea as U,ta as V,ly as W,rve as X,ive as Y,nve as Z,sve as _,dy as $,my as aa,fy as ba,hy as ca,qc as da,ave as ea,ove as fa,yr as ga,HNe as ha,Qe as ia,ZE as ja,QE as ka,Rre as la,le as ma,lr as na,Tre as oa,Sye as pa,bre as qa,Oye as ra,xa as sa,Iye as ta,Ki as ua,Rye as va,Xk as wa,rG as xa,iG as ya,Hye as za,rv as Aa,Yye as Ba,vR as Ca,MEe as Da,Mi as Ea,hh as Fa,Lz as Ga,Hw as Ha,Ww as Ia,oxe as Ja,Hc as Ka,Axe as La,Nxe as Ma,Vc as Na,RE as Oa,FNe as Pa,iie as Qa,nie as Ra,aie as Sa,mie as Ta,fie as Ua,hie as Va,_De as Wa,EDe as Xa,vDe as Ya,Eie as Za,PDe as _a,aH as $a,mW as ab,EW as bb,Owe as cb,Awe as db};
35
- /*! Bundled license information:
36
-
37
- base-64/base64.js:
38
- (*! https://mths.be/base64 v1.0.0 by @mathias | MIT license *)
39
-
40
- mime-db/index.js:
41
- (*!
42
- * mime-db
43
- * Copyright(c) 2014 Jonathan Ong
44
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
45
- * MIT Licensed
46
- *)
47
-
48
- mime-types/index.js:
49
- (*!
50
- * mime-types
51
- * Copyright(c) 2014 Jonathan Ong
52
- * Copyright(c) 2015 Douglas Christopher Wilson
53
- * MIT Licensed
54
- *)
55
-
56
- is-extglob/index.js:
57
- (*!
58
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
59
- *
60
- * Copyright (c) 2014-2016, Jon Schlinkert.
61
- * Licensed under the MIT License.
62
- *)
63
-
64
- is-glob/index.js:
65
- (*!
66
- * is-glob <https://github.com/jonschlinkert/is-glob>
67
- *
68
- * Copyright (c) 2014-2017, Jon Schlinkert.
69
- * Released under the MIT License.
70
- *)
71
-
72
- is-number/index.js:
73
- (*!
74
- * is-number <https://github.com/jonschlinkert/is-number>
75
- *
76
- * Copyright (c) 2014-present, Jon Schlinkert.
77
- * Released under the MIT License.
78
- *)
79
-
80
- to-regex-range/index.js:
81
- (*!
82
- * to-regex-range <https://github.com/micromatch/to-regex-range>
83
- *
84
- * Copyright (c) 2015-present, Jon Schlinkert.
85
- * Released under the MIT License.
86
- *)
87
-
88
- fill-range/index.js:
89
- (*!
90
- * fill-range <https://github.com/jonschlinkert/fill-range>
91
- *
92
- * Copyright (c) 2014-present, Jon Schlinkert.
93
- * Licensed under the MIT License.
94
- *)
95
-
96
- queue-microtask/index.js:
97
- (*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
98
-
99
- run-parallel/index.js:
100
- (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
101
-
102
- normalize-path/index.js:
103
- (*!
104
- * normalize-path <https://github.com/jonschlinkert/normalize-path>
105
- *
106
- * Copyright (c) 2014-2018, Jon Schlinkert.
107
- * Released under the MIT License.
108
- *)
109
-
110
- mustache/mustache.mjs:
111
- (*!
112
- * mustache.js - Logic-less {{mustache}} templates with JavaScript
113
- * http://github.com/janl/mustache.js
114
- *)
115
- */
116
- //# sourceMappingURL=chunk-F4YTZ6XA.js.map