@wix/cli-app 1.1.45 → 1.1.47
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.
- package/build/{CreateVersionCommand-CZTNNCAZ.js → CreateVersionCommand-BVJYHP4G.js} +2 -2
- package/build/{DevCommand-RQYNQ5WM.js → DevCommand-6QGL7WHE.js} +2 -2
- package/build/{GenerateCommand-6IRSN77K.js → GenerateCommand-RDQA5M6H.js} +2 -2
- package/build/{LogsCommand-SWOPBUL5.js → LogsCommand-CWUERN3Y.js} +2 -2
- package/build/PreviewCommand-T4QA4VXV.js +4 -0
- package/build/{ServeCommand-ZOIW7B5R.js → ServeCommand-35OASQBH.js} +2 -2
- package/build/{build-CBLOBWJ6.js → build-4SJ5WLU4.js} +2 -2
- package/build/{chunk-X7N7X6GR.js → chunk-3WQAMJFN.js} +2 -2
- package/build/{chunk-QWTYWW7P.js → chunk-4YQ75YIN.js} +2 -2
- package/build/{chunk-BAMVAGX3.js → chunk-5YQCBEQM.js} +2 -2
- package/build/chunk-6WAJ7CXR.js +115 -0
- package/build/{chunk-E3KDHOPJ.js.map → chunk-6WAJ7CXR.js.map} +1 -1
- package/build/{chunk-WH6FGOUG.js → chunk-7IVRRAH4.js} +2 -2
- package/build/{chunk-3PVWT3VF.js → chunk-7S6MFM6E.js} +2 -2
- package/build/chunk-7S6MFM6E.js.map +1 -0
- package/build/{chunk-T23LX5WN.js → chunk-LTN6GQWZ.js} +2 -2
- package/build/{chunk-K4JO6FA7.js → chunk-NWUDEIQ5.js} +2 -2
- package/build/chunk-OIGFMQTV.js +4 -0
- package/build/{chunk-SGZ3NN5T.js.map → chunk-OIGFMQTV.js.map} +1 -1
- package/build/{chunk-U5GBWV4U.js → chunk-PHLLPR54.js} +2 -2
- package/build/{chunk-75BOQ5HC.js → chunk-T73KDTOB.js} +2 -2
- package/build/{chunk-IF2RL6QE.js → chunk-VCQTTSZC.js} +2 -2
- package/build/{chunk-O4QFSLZD.js → chunk-VHDCRK22.js} +2 -2
- package/build/{chunk-6DDUDBC4.js → chunk-XNRUABQL.js} +2 -2
- package/build/{chunk-WS7DT4WX.js → chunk-Y52UX3PB.js} +2 -2
- package/build/{chunk-BEPYZQXI.js → chunk-Z4O6QXK6.js} +2 -2
- package/build/index.js +2 -2
- package/build/{preview-44MN4BWG.js → preview-TORV77KM.js} +2 -2
- package/build/{render-command-FCAG76LI.js → render-command-UWMB2HS7.js} +2 -2
- package/package.json +5 -5
- package/build/PreviewCommand-CDXFO2GH.js +0 -4
- package/build/chunk-3PVWT3VF.js.map +0 -1
- package/build/chunk-E3KDHOPJ.js +0 -115
- package/build/chunk-SGZ3NN5T.js +0 -4
- /package/build/{CreateVersionCommand-CZTNNCAZ.js.map → CreateVersionCommand-BVJYHP4G.js.map} +0 -0
- /package/build/{DevCommand-RQYNQ5WM.js.map → DevCommand-6QGL7WHE.js.map} +0 -0
- /package/build/{GenerateCommand-6IRSN77K.js.map → GenerateCommand-RDQA5M6H.js.map} +0 -0
- /package/build/{LogsCommand-SWOPBUL5.js.map → LogsCommand-CWUERN3Y.js.map} +0 -0
- /package/build/{PreviewCommand-CDXFO2GH.js.map → PreviewCommand-T4QA4VXV.js.map} +0 -0
- /package/build/{ServeCommand-ZOIW7B5R.js.map → ServeCommand-35OASQBH.js.map} +0 -0
- /package/build/{build-CBLOBWJ6.js.map → build-4SJ5WLU4.js.map} +0 -0
- /package/build/{chunk-X7N7X6GR.js.map → chunk-3WQAMJFN.js.map} +0 -0
- /package/build/{chunk-QWTYWW7P.js.map → chunk-4YQ75YIN.js.map} +0 -0
- /package/build/{chunk-BAMVAGX3.js.map → chunk-5YQCBEQM.js.map} +0 -0
- /package/build/{chunk-WH6FGOUG.js.map → chunk-7IVRRAH4.js.map} +0 -0
- /package/build/{chunk-T23LX5WN.js.map → chunk-LTN6GQWZ.js.map} +0 -0
- /package/build/{chunk-K4JO6FA7.js.map → chunk-NWUDEIQ5.js.map} +0 -0
- /package/build/{chunk-U5GBWV4U.js.map → chunk-PHLLPR54.js.map} +0 -0
- /package/build/{chunk-75BOQ5HC.js.map → chunk-T73KDTOB.js.map} +0 -0
- /package/build/{chunk-IF2RL6QE.js.map → chunk-VCQTTSZC.js.map} +0 -0
- /package/build/{chunk-O4QFSLZD.js.map → chunk-VHDCRK22.js.map} +0 -0
- /package/build/{chunk-6DDUDBC4.js.map → chunk-XNRUABQL.js.map} +0 -0
- /package/build/{chunk-WS7DT4WX.js.map → chunk-Y52UX3PB.js.map} +0 -0
- /package/build/{chunk-BEPYZQXI.js.map → chunk-Z4O6QXK6.js.map} +0 -0
- /package/build/{preview-44MN4BWG.js.map → preview-TORV77KM.js.map} +0 -0
- /package/build/{render-command-FCAG76LI.js.map → render-command-UWMB2HS7.js.map} +0 -0
package/build/chunk-E3KDHOPJ.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
-
const require = _createRequire(import.meta.url);
|
|
3
|
-
import{A as H,F as qd,M as rs,N as kd,O as yn,P as Ka,Q as Gd,S as Fr,T as Bd,W as Ur,X as Hd,Z as jd,a as Zo,b as Ce,c as Ye,e as T,f as P,h as Ld,i as Fd,j as Ha,k as ja,l as aU,m as E,n as ot,o as es,p as iU,q as Bt,r as Ud,s as Wa,t as Va,u as ts,v as oU,x as _t,y as Ht,z as Md}from"./chunk-3PVWT3VF.js";import{a as L,b as tt,c as _,d as nU,e as j,f as Dn,h as o}from"./chunk-V4TR6DCM.js";var Ln=_(ze=>{"use strict";o();Object.defineProperty(ze,"__esModule",{value:!0});ze.ORIGINAL_PROTOCOL_HEADER=ze.ORIGINAL_HOST_HEADER=ze.ORIGINAL_URL_HEADER=ze.SSR_PROTOCOL=ze.SSR_HOST=ze.NO_SCENARIO_FOUND=void 0;ze.NO_SCENARIO_FOUND="NO_SCENARIO_FOUND";ze.SSR_HOST="www.wix.com";ze.SSR_PROTOCOL="http";ze.ORIGINAL_URL_HEADER="x-wix-metro-original-url";ze.ORIGINAL_HOST_HEADER="x-wix-metro-original-host";ze.ORIGINAL_PROTOCOL_HEADER="x-wix-metro-original-protocol"});function Kd(){if(typeof document=="object")return document}function ur(){return typeof self=="object"?self:global}var Fn=tt(()=>{"use strict";o()});function $d(e){let t=uU(e);return t?t.split("=")[1]:""}function pU(){let e=Kd();return e&&e.cookie?decodeURIComponent(e.cookie).split(";"):[]}function uU(e){return pU().filter(t=>e===t.split("=")[0].trim())[0]}var Yd=tt(()=>{"use strict";o();Fn()});function zd(){let e=$d(lU);return{[dU]:e}}var lU,dU,Xd=tt(()=>{"use strict";o();Yd();lU="XSRF-TOKEN",dU="x-xsrf-token"});function Jd(){let e=fU();return{[mU]:e}}function fU(){let e=ur();return e&&e.commonConfig&&typeof e.commonConfig.brand=="string"?e.commonConfig.brand:""}var mU,Qd=tt(()=>{"use strict";o();Fn();mU="x-wix-brand"});function Zd(){return _U()||hU()||EU()}function hU(){let e=ur();if(e&&e.Wix&&e.Wix.Utils&&typeof e.Wix.Utils._getConsentPolicyHeader=="function")return e.Wix.Utils._getConsentPolicyHeader()}function _U(){let e=ur();if(e&&e.consentPolicyManager&&typeof e.consentPolicyManager._getConsentPolicyHeader=="function")return e.consentPolicyManager._getConsentPolicyHeader()}function EU(){return{}}var em=tt(()=>{"use strict";o();Fn()});function tm(e){return{authorization:e}}var rm=tt(()=>{"use strict";o()});function nm(){return vU()?!!process.env.TEAMCITY_VERSION||!!process.env.BUILDKITE:!1}function vU(){return typeof process<"u"&&process.versions?.node!=null}var am=tt(()=>{"use strict";o()});function im(e){let t=process.env.ARTIFACT_ID??process.env.APP_NAME??"";return{"X-Wix-Client-Artifact-Id":e??(nm()?"":t)}}var om=tt(()=>{"use strict";o();am()});function OU(){let t=ur()?.commonConfig;if(!t)return null;let r={},n=!1;return Object.keys(t).forEach(a=>{let i=AU[a];i?(r[i]=t[a],n=!0):gU.indexOf(a)<0&&typeof t[a]!="function"&&(r[a]=t[a],n=!0)}),n?r:null}var gU,xU,AU,sm,cm=tt(()=>{"use strict";o();Fn();gU=["consentPolicy","consentPolicyHeader"],xU="commonConfig",AU={bsi:"BSI"};sm=()=>{let e=OU(),t=e?JSON.stringify(e):"";return{[xU]:encodeURIComponent(t)}}});var pm=_(($a,Un)=>{"use strict";o();(function(e){var t=typeof $a=="object"&&$a,r=typeof Un=="object"&&Un&&Un.exports==t&&Un,n=typeof global=="object"&&global;(n.global===n||n.window===n)&&(e=n);var a=function(h){this.message=h};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var i=function(h){throw new a(h)},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,p=function(h){h=String(h).replace(c,"");var v=h.length;v%4==0&&(h=h.replace(/==?$/,""),v=h.length),(v%4==1||/[^+a-zA-Z0-9/]/.test(h))&&i("Invalid character: the string to be decoded is not correctly encoded.");for(var x=0,A,R,C="",G=-1;++G<v;)R=s.indexOf(h.charAt(G)),A=x%4?A*64+R:R,x++%4&&(C+=String.fromCharCode(255&A>>(-2*x&6)));return C},d=function(h){h=String(h),/[^\0-\xFF]/.test(h)&&i("The string to be encoded contains characters outside of the Latin1 range.");for(var v=h.length%3,x="",A=-1,R,C,G,B,K=h.length-v;++A<K;)R=h.charCodeAt(A)<<16,C=h.charCodeAt(++A)<<8,G=h.charCodeAt(++A),B=R+C+G,x+=s.charAt(B>>18&63)+s.charAt(B>>12&63)+s.charAt(B>>6&63)+s.charAt(B&63);return v==2?(R=h.charCodeAt(A)<<8,C=h.charCodeAt(++A),B=R+C,x+=s.charAt(B>>10)+s.charAt(B>>4&63)+s.charAt(B<<2&63)+"="):v==1&&(B=h.charCodeAt(A),x+=s.charAt(B>>2)+s.charAt(B<<4&63)+"=="),x},m={encode:d,decode:p,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return m});else if(t&&!t.nodeType)if(r)r.exports=m;else for(var f in m)m.hasOwnProperty(f)&&(t[f]=m[f]);else e.base64=m})($a)});function lm({lang:e,locale:t,isPrimaryLanguage:r,signedInstance:n}){if(NU({lang:e,locale:t,isPrimaryLanguage:r})){let a=IU(n);if(a!==void 0)return{[SU]:[e,t,r?.toString(),a].join("|")}}return{}}function NU({lang:e,locale:t,isPrimaryLanguage:r}){return e&&t&&/^(true|false)$/.test(r?.toString()||"")}function IU(e){try{let t=e?.startsWith("wixcode")?e?.split(".")[2]:e?.split(".")[1];if(t)return JSON.parse(um.default.decode(t)).instanceId}catch{}}var um,SU,dm=tt(()=>{"use strict";o();um=j(pm()),SU="x-wix-linguist"});var Mn,mm=tt(()=>{"use strict";o();Mn=class extends Error{constructor(t,r,n){super(`WixHeadersValidationError: expected ${r} to be ${t} but got ${JSON.stringify(n)}`)}}});function fm(e,t){if(typeof t!="boolean")throw new Mn("boolean",e,t)}function hm(e,t){if(typeof t!="string")throw new Mn("string",e,t)}var _m=tt(()=>{"use strict";o();mm()});var Em={};nU(Em,{createHeaders:()=>RU});function RU(e={}){e={csrf:!0,signedInstance:"",...e},TU(e);let t=[Jd(),Zd(),tm(e.signedInstance),im(e.artifactId),sm(),lm({signedInstance:e.signedInstance,...e.multilingualOptions})];return e.csrf&&t.push(zd()),t.filter(r=>Object.values(r).every(n=>n)).reduce((r,n)=>({...r,...n}),{})}function TU(e){fm("opts.csrf",e.csrf),hm("opts.signedInstance",e.signedInstance)}var vm=tt(()=>{"use strict";o();Xd();Qd();em();rm();om();cm();dm();_m()});var as=_(jt=>{"use strict";o();Object.defineProperty(jt,"__esModule",{value:!0});jt.isNode=jt.isWebWorker=jt.isBrowser=void 0;function bU(){return typeof window<"u"}jt.isBrowser=bU;function PU(){var e;return typeof self=="object"&&((e=self?.constructor)===null||e===void 0?void 0:e.name)==="DedicatedWorkerGlobalScope"}jt.isWebWorker=PU;function CU(){var e;return typeof process<"u"&&((e=process==null?void 0:process.versions)===null||e===void 0?void 0:e.node)!=null}jt.isNode=CU});var Ya=_(ie=>{"use strict";o();Object.defineProperty(ie,"__esModule",{value:!0});ie.toSearchQueryParams=ie.shouldAllowUnmocked=ie.isHttpMockServerEnabled=ie.getGlobalConfig=ie.changeHost=ie.extractHost=ie.extractProtocol=ie.resolveProtocol=ie.resolveHost=ie.extractProp=ie.silent=ie.isAbsoluteUrl=void 0;var gm=Ln(),is=as();function DU(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return/(^https?:)|(^\/\/)/.test(e)}ie.isAbsoluteUrl=DU;async function yU(e){try{await e()}catch{}}ie.silent=yU;function wU(e,t){return t.split(".").filter(r=>r).reduce((r,n)=>r[n],e)}ie.extractProp=wU;function LU(e){return e.baseURL?Am(e.baseURL):e.isSSR?gm.SSR_HOST:typeof self<"u"&&self.location?self.location.host:""}ie.resolveHost=LU;function FU(e){return e.baseURL?xm(e.baseURL):e.isSSR?gm.SSR_PROTOCOL:typeof self<"u"&&self.location?self.location.protocol:""}ie.resolveProtocol=FU;function xm(e){try{return new URL(e).protocol}catch{return Om(e).protocol}}ie.extractProtocol=xm;function Am(e){let t;try{t=new URL(e)}catch{t=new URL(`http:${e}`)}try{return t.host}catch{return Om(e).host}}ie.extractHost=Am;function Om(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 UU(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()}ie.changeHost=UU;function os(){let e={httpMockServer:{enabled:!1}},t;if((0,is.isNode)()&&process.env.HTTP_CLIENT_GLOBAL_CONFIG)try{t=JSON.parse(process.env.HTTP_CLIENT_GLOBAL_CONFIG)}catch{}return t||((0,is.isBrowser)()?t=window._httpClientGlobalConfig:(0,is.isWebWorker)()),t||e}ie.getGlobalConfig=os;function MU(){return os().httpMockServer.enabled}ie.isHttpMockServerEnabled=MU;function qU(){return os().httpMockServer.allowUnmocked}ie.shouldAllowUnmocked=qU;function kU(e){return Object.entries(e).map(([t,r])=>`${t}=${encodeURIComponent(r)}`).flat().join("&")}ie.toSearchQueryParams=kU});var Sm=_((UZ,GU)=>{GU.exports=["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]});var za=_(Wt=>{"use strict";o();Object.defineProperty(Wt,"__esModule",{value:!0});Wt.isWixDomain=Wt.composeHeaders=Wt.requestIdOrEmptyString=void 0;var BU=(ja(),Dn(Ha)),HU=(vm(),Dn(Em)),Nm=Ya(),jU=BU.__importDefault(Sm());function WU(e){var t;return((t=e?.headers)===null||t===void 0?void 0:t["x-wix-request-id"])||""}Wt.requestIdOrEmptyString=WU;var VU=({url:e,disableWixHeaders:t,wixHeadersOpts:r})=>!t&&Im(e)?(0,HU.createHeaders)(r):{};Wt.composeHeaders=VU;function Im(e){if(!(0,Nm.isAbsoluteUrl)(e))return!0;let r=`.${(0,Nm.extractHost)(e)}`;return!!jU.default.find(a=>r.endsWith(`.${a}`))}Wt.isWixDomain=Im});var ss=_(wt=>{"use strict";o();Object.defineProperty(wt,"__esModule",{value:!0});wt.createHttpError=wt.HttpError=wt.axiosErrorFields=void 0;var KU=za();wt.axiosErrorFields=["code","config","request","response","toJSON","__CANCEL__"];var Xa=class e extends Error{constructor(t){super(t.message),this.isWixHttpError=!0,Object.setPrototypeOf(this,e.prototype),wt.axiosErrorFields.forEach(r=>{this[r]=t[r]})}get requestId(){return(0,KU.requestIdOrEmptyString)(this.response)}};wt.HttpError=Xa;function $U(...e){return new Xa(...e)}wt.createHttpError=$U});var cs=_((BZ,Rm)=>{"use strict";o();Rm.exports=function(t,r){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return t.apply(r,a)}}});var je=_((jZ,Pm)=>{"use strict";o();var YU=cs(),lr=Object.prototype.toString;function ls(e){return lr.call(e)==="[object Array]"}function ps(e){return typeof e>"u"}function zU(e){return e!==null&&!ps(e)&&e.constructor!==null&&!ps(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function XU(e){return lr.call(e)==="[object ArrayBuffer]"}function JU(e){return typeof FormData<"u"&&e instanceof FormData}function QU(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function ZU(e){return typeof e=="string"}function eM(e){return typeof e=="number"}function Tm(e){return e!==null&&typeof e=="object"}function Ja(e){if(lr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function tM(e){return lr.call(e)==="[object Date]"}function rM(e){return lr.call(e)==="[object File]"}function nM(e){return lr.call(e)==="[object Blob]"}function bm(e){return lr.call(e)==="[object Function]"}function aM(e){return Tm(e)&&bm(e.pipe)}function iM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function oM(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function sM(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ds(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),ls(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function us(){var e={};function t(a,i){Ja(e[i])&&Ja(a)?e[i]=us(e[i],a):Ja(a)?e[i]=us({},a):ls(a)?e[i]=a.slice():e[i]=a}for(var r=0,n=arguments.length;r<n;r++)ds(arguments[r],t);return e}function cM(e,t,r){return ds(t,function(a,i){r&&typeof a=="function"?e[i]=YU(a,r):e[i]=a}),e}function pM(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}Pm.exports={isArray:ls,isArrayBuffer:XU,isBuffer:zU,isFormData:JU,isArrayBufferView:QU,isString:ZU,isNumber:eM,isObject:Tm,isPlainObject:Ja,isUndefined:ps,isDate:tM,isFile:rM,isBlob:nM,isFunction:bm,isStream:aM,isURLSearchParams:iM,isStandardBrowserEnv:sM,forEach:ds,merge:us,extend:cM,trim:oM,stripBOM:pM}});var Qa=_((VZ,Cm)=>{"use strict";o();Cm.exports=function(t,r,n,a,i){return t.config=r,n&&(t.code=n),t.request=a,t.response=i,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 Za=_(($Z,Dm)=>{"use strict";o();var uM=Qa();Dm.exports=function(t,r,n,a,i){var s=new Error(t);return uM(s,r,n,a,i)}});var ms=_((zZ,ym)=>{"use strict";o();var lM=Za();ym.exports=function(t,r,n){var a=n.config.validateStatus;!n.status||!a||a(n.status)?t(n):r(lM("Request failed with status code "+n.status,n.config,null,n.request,n))}});var Lm=_((JZ,wm)=>{"use strict";o();wm.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var Um=_((ZZ,Fm)=>{"use strict";o();Fm.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var fs=_((tee,Mm)=>{"use strict";o();var dM=Lm(),mM=Um();Mm.exports=function(t,r){return t&&!dM(r)?mM(t,r):r}});var ei=_((nee,km)=>{"use strict";o();var kr=je();function qm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}km.exports=function(t,r,n){if(!r)return t;var a;if(n)a=n(r);else if(kr.isURLSearchParams(r))a=r.toString();else{var i=[];kr.forEach(r,function(p,d){p===null||typeof p>"u"||(kr.isArray(p)?d=d+"[]":p=[p],kr.forEach(p,function(f){kr.isDate(f)?f=f.toISOString():kr.isObject(f)&&(f=JSON.stringify(f)),i.push(qm(d)+"="+qm(f))}))}),a=i.join("&")}if(a){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t}});var Bm=_((iee,Gm)=>{"use strict";o();var Gr=1e3,Br=Gr*60,Hr=Br*60,dr=Hr*24,fM=dr*7,hM=dr*365.25;Gm.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return _M(e);if(r==="number"&&isFinite(e))return t.long?vM(e):EM(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function _M(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*hM;case"weeks":case"week":case"w":return r*fM;case"days":case"day":case"d":return r*dr;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Hr;case"minutes":case"minute":case"mins":case"min":case"m":return r*Br;case"seconds":case"second":case"secs":case"sec":case"s":return r*Gr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function EM(e){var t=Math.abs(e);return t>=dr?Math.round(e/dr)+"d":t>=Hr?Math.round(e/Hr)+"h":t>=Br?Math.round(e/Br)+"m":t>=Gr?Math.round(e/Gr)+"s":e+"ms"}function vM(e){var t=Math.abs(e);return t>=dr?ti(e,t,dr,"day"):t>=Hr?ti(e,t,Hr,"hour"):t>=Br?ti(e,t,Br,"minute"):t>=Gr?ti(e,t,Gr,"second"):e+" ms"}function ti(e,t,r,n){var a=t>=r*1.5;return Math.round(e/r)+" "+n+(a?"s":"")}});var hs=_((see,Hm)=>{"use strict";o();function gM(e){r.debug=r,r.default=r,r.coerce=p,r.disable=i,r.enable=a,r.enabled=s,r.humanize=Bm(),r.destroy=d,Object.keys(e).forEach(m=>{r[m]=e[m]}),r.names=[],r.skips=[],r.formatters={};function t(m){let f=0;for(let h=0;h<m.length;h++)f=(f<<5)-f+m.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(m){let f,h=null,v,x;function A(...R){if(!A.enabled)return;let C=A,G=Number(new Date),B=G-(f||G);C.diff=B,C.prev=f,C.curr=G,f=G,R[0]=r.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let K=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(X,V)=>{if(X==="%%")return"%";K++;let F=r.formatters[V];if(typeof F=="function"){let Q=R[K];X=F.call(C,Q),R.splice(K,1),K--}return X}),r.formatArgs.call(C,R),(C.log||r.log).apply(C,R)}return A.namespace=m,A.useColors=r.useColors(),A.color=r.selectColor(m),A.extend=n,A.destroy=r.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(v!==r.namespaces&&(v=r.namespaces,x=r.enabled(m)),x),set:R=>{h=R}}),typeof r.init=="function"&&r.init(A),A}function n(m,f){let h=r(this.namespace+(typeof f>"u"?":":f)+m);return h.log=this.log,h}function a(m){r.save(m),r.namespaces=m,r.names=[],r.skips=[];let f,h=(typeof m=="string"?m:"").split(/[\s,]+/),v=h.length;for(f=0;f<v;f++)h[f]&&(m=h[f].replace(/\*/g,".*?"),m[0]==="-"?r.skips.push(new RegExp("^"+m.slice(1)+"$")):r.names.push(new RegExp("^"+m+"$")))}function i(){let m=[...r.names.map(c),...r.skips.map(c).map(f=>"-"+f)].join(",");return r.enable(""),m}function s(m){if(m[m.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f<h;f++)if(r.skips[f].test(m))return!1;for(f=0,h=r.names.length;f<h;f++)if(r.names[f].test(m))return!0;return!1}function c(m){return m.toString().substring(2,m.toString().length-2).replace(/\.\*\?$/,"*")}function p(m){return m instanceof Error?m.stack||m.message:m}function d(){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}Hm.exports=gM});var jm=_((rt,ri)=>{"use strict";o();rt.formatArgs=AM;rt.save=OM;rt.load=SM;rt.useColors=xM;rt.storage=NM();rt.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`."))}})();rt.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 xM(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function AM(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ri.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(r++,a==="%c"&&(n=r))}),e.splice(n,0,t)}rt.log=console.debug||console.log||(()=>{});function OM(e){try{e?rt.storage.setItem("debug",e):rt.storage.removeItem("debug")}catch{}}function SM(){let e;try{e=rt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function NM(){try{return localStorage}catch{}}ri.exports=hs()(rt);var{formatters:IM}=ri.exports;IM.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Vm=_((De,ai)=>{"use strict";o();var RM=L("tty"),ni=L("util");De.init=wM;De.log=CM;De.formatArgs=bM;De.save=DM;De.load=yM;De.useColors=TM;De.destroy=ni.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");De.colors=[6,2,3,4,5,1];try{let e=aU();e&&(e.stderr||e).level>=2&&(De.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{}De.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(a,i)=>i.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function TM(){return"colors"in De.inspectOpts?!!De.inspectOpts.colors:RM.isatty(process.stderr.fd)}function bM(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,a="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${a};1m${t} \x1B[0m`;e[0]=i+e[0].split(`
|
|
4
|
-
`).join(`
|
|
5
|
-
`+i),e.push(a+"m+"+ai.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=PM()+t+" "+e[0]}function PM(){return De.inspectOpts.hideDate?"":new Date().toISOString()+" "}function CM(...e){return process.stderr.write(ni.formatWithOptions(De.inspectOpts,...e)+`
|
|
6
|
-
`)}function DM(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function yM(){return process.env.DEBUG}function wM(e){e.inspectOpts={};let t=Object.keys(De.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=De.inspectOpts[t[r]]}ai.exports=hs()(De);var{formatters:Wm}=ai.exports;Wm.o=function(e){return this.inspectOpts.colors=this.useColors,ni.inspect(e,this.inspectOpts).split(`
|
|
7
|
-
`).map(t=>t.trim()).join(" ")};Wm.O=function(e){return this.inspectOpts.colors=this.useColors,ni.inspect(e,this.inspectOpts)}});var Km=_((lee,_s)=>{"use strict";o();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?_s.exports=jm():_s.exports=Vm()});var Ym=_((mee,$m)=>{"use strict";o();var qn;$m.exports=function(){if(!qn){try{qn=Km()("follow-redirects")}catch{}typeof qn!="function"&&(qn=function(){})}qn.apply(null,arguments)}});var Ps=_((hee,bs)=>{"use strict";o();var Bn=L("url"),kn=Bn.URL,LM=L("http"),FM=L("https"),As=L("stream").Writable,Os=L("assert"),zm=Ym(),Ss=!1;try{Os(new kn)}catch(e){Ss=e.code==="ERR_INVALID_URL"}var UM=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Ns=["abort","aborted","connect","error","socket","timeout"],Is=Object.create(null);Ns.forEach(function(e){Is[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var vs=Hn("ERR_INVALID_URL","Invalid URL",TypeError),gs=Hn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),MM=Hn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",gs),qM=Hn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),kM=Hn("ERR_STREAM_WRITE_AFTER_END","write after end"),GM=As.prototype.destroy||Jm;function Xe(e,t){As.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(n){try{r._processResponse(n)}catch(a){r.emit("error",a instanceof gs?a:new gs({cause:a}))}},this._performRequest()}Xe.prototype=Object.create(As.prototype);Xe.prototype.abort=function(){Ts(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Xe.prototype.destroy=function(e){return Ts(this._currentRequest,e),GM.call(this,e),this};Xe.prototype.write=function(e,t,r){if(this._ending)throw new kM;if(!mr(e)&&!jM(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Gn(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 qM),this.abort())};Xe.prototype.end=function(e,t,r){if(Gn(e)?(r=e,e=t=null):Gn(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,a=this._currentRequest;this.write(e,t,function(){n._ended=!0,a.end(null,null,r)}),this._ending=!0}};Xe.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Xe.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Xe.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function a(s){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),i()},e),n(s)}function i(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",i),r.removeListener("error",i),r.removeListener("response",i),r.removeListener("close",i),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",n),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Xe.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Xe.prototype,e,{get:function(){return this._currentRequest[e]}})});Xe.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))}};Xe.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 n=this._currentRequest=t.request(this._options,this._onNativeResponse);n._redirectable=this;for(var a of Ns)n.on(a,Is[a]);if(this._currentUrl=/^\//.test(this._options.path)?Bn.format(this._options):this._options.path,this._isRedirect){var i=0,s=this,c=this._requestBodyBuffers;(function p(d){if(n===s._currentRequest)if(d)s.emit("error",d);else if(i<c.length){var m=c[i++];n.finished||n.write(m.data,m.encoding,p)}else s._ended&&n.end()})()}};Xe.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(Ts(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new MM;var n,a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=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=[],Es(/^content-/i,this._options.headers));var s=Es(/^host$/i,this._options.headers),c=Rs(this._currentUrl),p=s||c.host,d=/^\w+:/.test(r)?this._currentUrl:Bn.format(Object.assign(c,{host:p})),m=BM(r,d);if(zm("redirecting to",m.href),this._isRedirect=!0,xs(m,this._options),(m.protocol!==c.protocol&&m.protocol!=="https:"||m.host!==p&&!HM(m.host,p))&&Es(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Gn(a)){var f={headers:e.headers,statusCode:t},h={url:d,method:i,headers:n};a(this._options,f,h),this._sanitizeOptions(this._options)}this._performRequest()};function Xm(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(n){var a=n+":",i=r[a]=e[n],s=t[n]=Object.create(i);function c(d,m,f){return WM(d)?d=xs(d):mr(d)?d=xs(Rs(d)):(f=m,m=Qm(d),d={protocol:a}),Gn(m)&&(f=m,m=null),m=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},d,m),m.nativeProtocols=r,!mr(m.host)&&!mr(m.hostname)&&(m.hostname="::1"),Os.equal(m.protocol,a,"protocol mismatch"),zm("options",m),new Xe(m,f)}function p(d,m,f){var h=s.request(d,m,f);return h.end(),h}Object.defineProperties(s,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:p,configurable:!0,enumerable:!0,writable:!0}})}),t}function Jm(){}function Rs(e){var t;if(Ss)t=new kn(e);else if(t=Qm(Bn.parse(e)),!mr(t.protocol))throw new vs({input:e});return t}function BM(e,t){return Ss?new kn(e,t):Rs(Bn.resolve(t,e))}function Qm(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new vs({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new vs({input:e.href||e});return e}function xs(e,t){var r=t||{};for(var n of UM)r[n]=e[n];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 Es(e,t){var r;for(var n in t)e.test(n)&&(r=t[n],delete t[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Hn(e,t,r){function n(a){Error.captureStackTrace(this,this.constructor),Object.assign(this,a||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return n.prototype=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function Ts(e,t){for(var r of Ns)e.removeListener(r,Is[r]);e.on("error",Jm),e.destroy(t)}function HM(e,t){Os(mr(e)&&mr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function mr(e){return typeof e=="string"||e instanceof String}function Gn(e){return typeof e=="function"}function jM(e){return typeof e=="object"&&"length"in e}function WM(e){return kn&&e instanceof kn}bs.exports=Xm({http:LM,https:FM});bs.exports.wrap=Xm});var Cs=_((Eee,VM)=>{VM.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 oi=_((vee,nf)=>{"use strict";o();var jn=je(),Zm=ms(),KM=fs(),$M=ei(),YM=L("http"),zM=L("https"),XM=Ps().http,JM=Ps().https,ef=L("url"),QM=L("zlib"),ZM=Cs(),ii=Za(),Ds=Qa(),tf=/https:?/;function rf(e,t,r){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=r,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(i){i.headers.host=i.host,rf(i,t,i.href)}}nf.exports=function(t){return new Promise(function(n,a){var i=function(M){n(M)},s=function(M){a(M)},c=t.data,p=t.headers;if("User-Agent"in p||"user-agent"in p?!p["User-Agent"]&&!p["user-agent"]&&(delete p["User-Agent"],delete p["user-agent"]):p["User-Agent"]="axios/"+ZM.version,c&&!jn.isStream(c)){if(!Buffer.isBuffer(c))if(jn.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(jn.isString(c))c=Buffer.from(c,"utf-8");else return s(ii("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));p["Content-Length"]=c.length}var d=void 0;if(t.auth){var m=t.auth.username||"",f=t.auth.password||"";d=m+":"+f}var h=KM(t.baseURL,t.url),v=ef.parse(h),x=v.protocol||"http:";if(!d&&v.auth){var A=v.auth.split(":"),R=A[0]||"",C=A[1]||"";d=R+":"+C}d&&delete p.Authorization;var G=tf.test(x),B=G?t.httpsAgent:t.httpAgent,K={path:$M(v.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:B,agents:{http:t.httpAgent,https:t.httpsAgent},auth:d};t.socketPath?K.socketPath=t.socketPath:(K.hostname=v.hostname,K.port=v.port);var U=t.proxy;if(!U&&U!==!1){var X=x.slice(0,-1)+"_proxy",V=process.env[X]||process.env[X.toUpperCase()];if(V){var F=ef.parse(V),Q=process.env.no_proxy||process.env.NO_PROXY,ge=!0;if(Q){var I=Q.split(",").map(function(M){return M.trim()});ge=!I.some(function(M){return M?M==="*"||M[0]==="."&&v.hostname.substr(v.hostname.length-M.length)===M?!0:v.hostname===M:!1})}if(ge&&(U={host:F.hostname,port:F.port,protocol:F.protocol},F.auth)){var ae=F.auth.split(":");U.auth={username:ae[0],password:ae[1]}}}}U&&(K.headers.host=v.hostname+(v.port?":"+v.port:""),rf(K,U,x+"//"+v.hostname+(v.port?":"+v.port:"")+K.path));var re,ht=G&&(U?tf.test(U.protocol):!0);t.transport?re=t.transport:t.maxRedirects===0?re=ht?zM:YM:(t.maxRedirects&&(K.maxRedirects=t.maxRedirects),re=ht?JM:XM),t.maxBodyLength>-1&&(K.maxBodyLength=t.maxBodyLength);var O=re.request(K,function(M){if(!O.aborted){var Te=M,Be=M.req||O;if(M.statusCode!==204&&Be.method!=="HEAD"&&t.decompress!==!1)switch(M.headers["content-encoding"]){case"gzip":case"compress":case"deflate":Te=Te.pipe(QM.createUnzip()),delete M.headers["content-encoding"];break}var be={status:M.statusCode,statusText:M.statusMessage,headers:M.headers,config:t,request:Be};if(t.responseType==="stream")be.data=Te,Zm(i,s,be);else{var cr=[],ka=0;Te.on("data",function(Pe){cr.push(Pe),ka+=Pe.length,t.maxContentLength>-1&&ka>t.maxContentLength&&(Te.destroy(),s(ii("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,Be)))}),Te.on("error",function(Pe){O.aborted||s(Ds(Pe,t,null,Be))}),Te.on("end",function(){var Pe=Buffer.concat(cr);t.responseType!=="arraybuffer"&&(Pe=Pe.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(Pe=jn.stripBOM(Pe))),be.data=Pe,Zm(i,s,be)})}}});if(O.on("error",function(M){O.aborted&&M.code!=="ERR_FR_TOO_MANY_REDIRECTS"||s(Ds(M,t,null,O))}),t.timeout){var S=parseInt(t.timeout,10);if(isNaN(S)){s(ii("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",O));return}O.setTimeout(S,function(){O.abort(),s(ii("timeout of "+S+"ms exceeded",t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",O))})}t.cancelToken&&t.cancelToken.promise.then(function(M){O.aborted||(O.abort(),s(M))}),jn.isStream(c)?c.on("error",function(M){s(Ds(M,t,null,O))}).pipe(O):O.end(c)})}});var of=_((xee,af)=>{"use strict";o();var eq=je();function si(){this.handlers=[]}si.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};si.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};si.prototype.forEach=function(t){eq.forEach(this.handlers,function(n){n!==null&&t(n)})};af.exports=si});var cf=_((Oee,sf)=>{"use strict";o();var tq=je();sf.exports=function(t,r){tq.forEach(t,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=a,delete t[i])})}});var uf=_((Nee,pf)=>{"use strict";o();var ci=je();pf.exports=ci.isStandardBrowserEnv()?function(){return{write:function(r,n,a,i,s,c){var p=[];p.push(r+"="+encodeURIComponent(n)),ci.isNumber(a)&&p.push("expires="+new Date(a).toGMTString()),ci.isString(i)&&p.push("path="+i),ci.isString(s)&&p.push("domain="+s),c===!0&&p.push("secure"),document.cookie=p.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var df=_((Ree,lf)=>{"use strict";o();var ys=je(),rq=["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"];lf.exports=function(t){var r={},n,a,i;return t&&ys.forEach(t.split(`
|
|
8
|
-
`),function(c){if(i=c.indexOf(":"),n=ys.trim(c.substr(0,i)).toLowerCase(),a=ys.trim(c.substr(i+1)),n){if(r[n]&&rq.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([a]):r[n]=r[n]?r[n]+", "+a:a}}),r}});var hf=_((bee,ff)=>{"use strict";o();var mf=je();ff.exports=mf.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function a(i){var s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{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 n=a(window.location.href),function(s){var c=mf.isString(s)?a(s):s;return c.protocol===n.protocol&&c.host===n.host}}():function(){return function(){return!0}}()});var Ls=_((Cee,_f)=>{"use strict";o();var pi=je(),nq=ms(),aq=uf(),iq=ei(),oq=fs(),sq=df(),cq=hf(),ws=Za();_f.exports=function(t){return new Promise(function(n,a){var i=t.data,s=t.headers,c=t.responseType;pi.isFormData(i)&&delete s["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(d+":"+m)}var f=oq(t.baseURL,t.url);p.open(t.method.toUpperCase(),iq(f,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function h(){if(p){var x="getAllResponseHeaders"in p?sq(p.getAllResponseHeaders()):null,A=!c||c==="text"||c==="json"?p.responseText:p.response,R={data:A,status:p.status,statusText:p.statusText,headers:x,config:t,request:p};nq(n,a,R),p=null}}if("onloadend"in p?p.onloadend=h:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(h)},p.onabort=function(){p&&(a(ws("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){a(ws("Network Error",t,null,p)),p=null},p.ontimeout=function(){var A="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(A=t.timeoutErrorMessage),a(ws(A,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},pi.isStandardBrowserEnv()){var v=(t.withCredentials||cq(f))&&t.xsrfCookieName?aq.read(t.xsrfCookieName):void 0;v&&(s[t.xsrfHeaderName]=v)}"setRequestHeader"in p&&pi.forEach(s,function(A,R){typeof i>"u"&&R.toLowerCase()==="content-type"?delete s[R]:p.setRequestHeader(R,A)}),pi.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),c&&c!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(A){p&&(p.abort(),a(A),p=null)}),i||(i=null),p.send(i)})}});var li=_((yee,gf)=>{"use strict";o();var Le=je(),Ef=cf(),pq=Qa(),uq={"Content-Type":"application/x-www-form-urlencoded"};function vf(e,t){!Le.isUndefined(e)&&Le.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function lq(){var e;return typeof XMLHttpRequest<"u"?e=Ls():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=oi()),e}function dq(e,t,r){if(Le.isString(e))try{return(t||JSON.parse)(e),Le.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var ui={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:lq(),transformRequest:[function(t,r){return Ef(r,"Accept"),Ef(r,"Content-Type"),Le.isFormData(t)||Le.isArrayBuffer(t)||Le.isBuffer(t)||Le.isStream(t)||Le.isFile(t)||Le.isBlob(t)?t:Le.isArrayBufferView(t)?t.buffer:Le.isURLSearchParams(t)?(vf(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Le.isObject(t)||r&&r["Content-Type"]==="application/json"?(vf(r,"application/json"),dq(t)):t}],transformResponse:[function(t){var r=this.transitional,n=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||a&&Le.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?pq(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};ui.headers={common:{Accept:"application/json, text/plain, */*"}};Le.forEach(["delete","get","head"],function(t){ui.headers[t]={}});Le.forEach(["post","put","patch"],function(t){ui.headers[t]=Le.merge(uq)});gf.exports=ui});var Af=_((Lee,xf)=>{"use strict";o();var mq=je(),fq=li();xf.exports=function(t,r,n){var a=this||fq;return mq.forEach(n,function(s){t=s.call(a,t,r)}),t}});var Fs=_((Uee,Of)=>{"use strict";o();Of.exports=function(t){return!!(t&&t.__CANCEL__)}});var If=_((qee,Nf)=>{"use strict";o();var Sf=je(),Us=Af(),hq=Fs(),_q=li();function Ms(e){e.cancelToken&&e.cancelToken.throwIfRequested()}Nf.exports=function(t){Ms(t),t.headers=t.headers||{},t.data=Us.call(t,t.data,t.headers,t.transformRequest),t.headers=Sf.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Sf.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||_q.adapter;return r(t).then(function(a){return Ms(t),a.data=Us.call(t,a.data,a.headers,t.transformResponse),a},function(a){return hq(a)||(Ms(t),a&&a.response&&(a.response.data=Us.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})}});var qs=_((Gee,Rf)=>{"use strict";o();var Me=je();Rf.exports=function(t,r){r=r||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],s=["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 p(h,v){return Me.isPlainObject(h)&&Me.isPlainObject(v)?Me.merge(h,v):Me.isPlainObject(v)?Me.merge({},v):Me.isArray(v)?v.slice():v}function d(h){Me.isUndefined(r[h])?Me.isUndefined(t[h])||(n[h]=p(void 0,t[h])):n[h]=p(t[h],r[h])}Me.forEach(a,function(v){Me.isUndefined(r[v])||(n[v]=p(void 0,r[v]))}),Me.forEach(i,d),Me.forEach(s,function(v){Me.isUndefined(r[v])?Me.isUndefined(t[v])||(n[v]=p(void 0,t[v])):n[v]=p(void 0,r[v])}),Me.forEach(c,function(v){v in r?n[v]=p(t[v],r[v]):v in t&&(n[v]=p(void 0,t[v]))});var m=a.concat(i).concat(s).concat(c),f=Object.keys(t).concat(Object.keys(r)).filter(function(v){return m.indexOf(v)===-1});return Me.forEach(f,d),n}});var Df=_((Hee,Cf)=>{"use strict";o();var bf=Cs(),ks={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){ks[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Tf={},Eq=bf.version.split(".");function Pf(e,t){for(var r=t?t.split("."):Eq,n=e.split("."),a=0;a<3;a++){if(r[a]>n[a])return!0;if(r[a]<n[a])return!1}return!1}ks.transitional=function(t,r,n){var a=r&&Pf(r);function i(s,c){return"[Axios v"+bf.version+"] Transitional option '"+s+"'"+c+(n?". "+n:"")}return function(s,c,p){if(t===!1)throw new Error(i(c," has been removed in "+r));return a&&!Tf[c]&&(Tf[c]=!0,console.warn(i(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,c,p):!0}};function vq(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),a=n.length;a-- >0;){var i=n[a],s=t[i];if(s){var c=e[i],p=c===void 0||s(c,i,e);if(p!==!0)throw new TypeError("option "+i+" must be "+p);continue}if(r!==!0)throw Error("Unknown option "+i)}}Cf.exports={isOlderVersion:Pf,assertOptions:vq,validators:ks}});var Mf=_((Wee,Uf)=>{"use strict";o();var Lf=je(),gq=ei(),yf=of(),wf=If(),di=qs(),Ff=Df(),jr=Ff.validators;function Wn(e){this.defaults=e,this.interceptors={request:new yf,response:new yf}}Wn.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=di(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&&Ff.assertOptions(r,{silentJSONParsing:jr.transitional(jr.boolean,"1.0.0"),forcedJSONParsing:jr.transitional(jr.boolean,"1.0.0"),clarifyTimeoutError:jr.transitional(jr.boolean,"1.0.0")},!1);var n=[],a=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(a=a&&h.synchronous,n.unshift(h.fulfilled,h.rejected))});var i=[];this.interceptors.response.forEach(function(h){i.push(h.fulfilled,h.rejected)});var s;if(!a){var c=[wf,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(i),s=Promise.resolve(t);c.length;)s=s.then(c.shift(),c.shift());return s}for(var p=t;n.length;){var d=n.shift(),m=n.shift();try{p=d(p)}catch(f){m(f);break}}try{s=wf(p)}catch(f){return Promise.reject(f)}for(;i.length;)s=s.then(i.shift(),i.shift());return s};Wn.prototype.getUri=function(t){return t=di(this.defaults,t),gq(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Lf.forEach(["delete","get","head","options"],function(t){Wn.prototype[t]=function(r,n){return this.request(di(n||{},{method:t,url:r,data:(n||{}).data}))}});Lf.forEach(["post","put","patch"],function(t){Wn.prototype[t]=function(r,n,a){return this.request(di(a||{},{method:t,url:r,data:n}))}});Uf.exports=Wn});var Bs=_((Kee,qf)=>{"use strict";o();function Gs(e){this.message=e}Gs.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Gs.prototype.__CANCEL__=!0;qf.exports=Gs});var Gf=_((Yee,kf)=>{"use strict";o();var xq=Bs();function mi(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(a){t=a});var r=this;e(function(a){r.reason||(r.reason=new xq(a),t(r.reason))})}mi.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};mi.source=function(){var t,r=new mi(function(a){t=a});return{token:r,cancel:t}};kf.exports=mi});var Hf=_((Xee,Bf)=>{"use strict";o();Bf.exports=function(t){return function(n){return t.apply(null,n)}}});var Wf=_((Qee,jf)=>{"use strict";o();jf.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var $f=_((ete,Hs)=>{"use strict";o();var Vf=je(),Aq=cs(),fi=Mf(),Oq=qs(),Sq=li();function Kf(e){var t=new fi(e),r=Aq(fi.prototype.request,t);return Vf.extend(r,fi.prototype,t),Vf.extend(r,t),r}var Et=Kf(Sq);Et.Axios=fi;Et.create=function(t){return Kf(Oq(Et.defaults,t))};Et.Cancel=Bs();Et.CancelToken=Gf();Et.isCancel=Fs();Et.all=function(t){return Promise.all(t)};Et.spread=Hf();Et.isAxiosError=Wf();Hs.exports=Et;Hs.exports.default=Et});var zf=_((rte,Yf)=>{"use strict";o();Yf.exports=$f()});var Xf=_(Lt=>{"use strict";o();Object.defineProperty(Lt,"__esModule",{value:!0});Lt.getUrlHeaders=Lt.buildAllHeaders=Lt.buildOptions=void 0;var js=Ln(),Nq=za(),Wr=Ya(),Iq=({requestOptions:e,urlObject:t,headers:r,globalConfig:n={httpMockServer:{enabled:!1}}})=>{let{url:a,params:i}=e;if(i&&typeof i!="object")throw new Error("Search params must be an object");let s=bq(a,n);return Object.assign(Object.assign(Object.assign({},e),s),{headers:r})};Lt.buildOptions=Iq;var Rq=(e,t,r={httpMockServer:{enabled:!1}},n)=>{let{url:a,disableWixHeaders:i,headers:s}=e,c=(0,Nq.composeHeaders)({url:a,disableWixHeaders:i,wixHeadersOpts:t}),p=(0,Lt.getUrlHeaders)(r,e,n);return Object.assign(Object.assign(Object.assign({},c),Cq(s)),p)};Lt.buildAllHeaders=Rq;var Tq=(e,t,r)=>{let{url:n,params:a}=t,{host:i,protocol:s}=r;return e.httpMockServer.enabled?{[js.ORIGINAL_URL_HEADER]:Pq(n,a),[js.ORIGINAL_HOST_HEADER]:(0,Wr.isAbsoluteUrl)(n)?(0,Wr.extractHost)(n):i,[js.ORIGINAL_PROTOCOL_HEADER]:(0,Wr.isAbsoluteUrl)(n)?(0,Wr.extractProtocol)(n):s}:{}};Lt.getUrlHeaders=Tq;function bq(e,t){if(t.httpMockServer.enabled){let r=new URL(t.httpMockServer.mockServerUrl);return{url:(0,Wr.changeHost)(e,r.host)}}return{}}function Pq(e,t){let{pathname:r,searchParams:n}=new URL(e,"http://unused.com");if(t=t||n,t){let a=(0,Wr.toSearchQueryParams)(t)||t.toString(),i=a?`?${a}`:"";return`${r}${i}`}return r}function Cq(e){return e=e||{},Object.keys(e).reduce((r,n)=>Object.assign(Object.assign({},r),{[n.toLowerCase()]:e[n]}),{})}});var eh=_(Kr=>{"use strict";o();Object.defineProperty(Kr,"__esModule",{value:!0});Kr.createHttpClient=Kr.HttpClient=void 0;var Qf=(ja(),Dn(Ha)),Vn=Qf.__importDefault(zf()),Dq=Qf.__importDefault(Ls()),Ws=Ln(),Zf=as(),yq=ss(),Jf=za(),hi=Xf(),It=Ya(),Vr=class{constructor(t={}){this.opts=t,this.opts=wq(this.opts),this.client=Vn.default.create(this.opts),this.flags={sanitizerPocEnabled:Mq()}}static isHttpError(t){return!!t?.isWixHttpError}async request(t,r){var n,a;let i=(0,It.resolveHost)(this.opts),c={protocol:(0,It.resolveProtocol)(this.opts),host:i},p=typeof t=="function"?t({isSSR:this.opts.isSSR,host:i}):t,d=r?.signedInstance||await((a=(n=this.opts).getAppToken)===null||a===void 0?void 0:a.call(n))||"",m=this.getHeaders(p,d,c),f=(0,hi.buildOptions)({requestOptions:p,urlObject:c,headers:m,globalConfig:(0,It.getGlobalConfig)()});this.opts.isSSR&&(f.baseURL=this.opts.baseURL?this.opts.baseURL:`${Ws.SSR_PROTOCOL}://${Ws.SSR_HOST}`);try{let h=await this.client.request(f).catch(v=>this.maybeFallbackRequest(v,p,c,d));return this.transformResponse(h,p)}catch(h){this.handleRequestError(h,f)}}async get(t,r){let n=Object.assign(Object.assign({},r),{url:t,method:"GET"});return this.request(n)}async delete(t,r){let n=Object.assign(Object.assign({},r),{url:t,method:"DELETE"});return this.request(n)}async head(t,r){let n=Object.assign(Object.assign({},r),{url:t,method:"HEAD"});return this.request(n)}async options(t,r){let n=Object.assign(Object.assign({},r),{url:t,method:"OPTIONS"});return this.request(n)}async post(t,r,n){let a=Object.assign(Object.assign({},n),{url:t,data:r,method:"POST"});return this.request(a)}async put(t,r,n){let a=Object.assign(Object.assign({},n),{url:t,data:r,method:"PUT"});return this.request(a)}async patch(t,r,n){let a=Object.assign(Object.assign({},n),{url:t,data:r,method:"PATCH"});return this.request(a)}get CancelToken(){return Vn.default.CancelToken}get isCancel(){return Vn.default.isCancel}getHeaders(t,r,n){if(typeof this.opts.createHeaders=="function")return this.getCustomHeaders(t,r,n);let a={signedInstance:r,artifactId:this.opts.artifactId,csrf:!1,multilingualOptions:this.opts.multilingualOptions};return(0,hi.buildAllHeaders)(t,a,(0,It.getGlobalConfig)(),n)}getCustomHeaders(t,r,n){let{url:a}=t,i=r&&(0,Jf.isWixDomain)(a)?{authorization:r}:{},s=this.opts.createHeaders(),c=(0,hi.getUrlHeaders)((0,It.getGlobalConfig)(),t,n);return Object.assign(Object.assign(Object.assign({},c),s),i)}handleRequestError(t,r){let n=(0,yq.createHttpError)(t);throw(0,It.silent)(()=>{var a;return(a=r.onError)===null||a===void 0?void 0:a.call(r,n)}),n}maybeFallbackRequest(t,r,n,a){var i,s,c;if((0,It.isHttpMockServerEnabled)()&&(0,It.shouldAllowUnmocked)()&&((i=t.response)===null||i===void 0?void 0:i.status)===404&&((c=(s=t.response)===null||s===void 0?void 0:s.data)===null||c===void 0?void 0:c.msg)===Ws.NO_SCENARIO_FOUND){let d=this.getHeaders(r,a,n),m=(0,hi.buildOptions)({requestOptions:r,urlObject:n,headers:d});return this.client.request(m)}throw t}transformResponse(t,r){let n=(0,Jf.requestIdOrEmptyString)(t),a=Fq(t,r,this.flags);return Object.assign(Object.assign({},t),{data:a,requestId:n})}};Kr.HttpClient=Vr;Vr.CancelToken=Vn.default.CancelToken;Vr.isCancel=Vn.default.isCancel;function wq(e){let t=e.adapter;return t||(t=Dq.default,(0,Zf.isNode)()&&(t=Lq())),Object.assign({adapter:t,isSSR:!1},e)}function Lq(){return typeof __webpack_require__=="function"?__non_webpack_require__("axios/lib/adapters/http"):oi()}function Fq(e,t,r){let n=Uq(e,r);if(t._pickResponseBody&&(n=(0,It.extractProp)(e.data,t._pickResponseBody)),t._logs){let a=(0,It.extractProp)(e.data,t._logs);a?.length&&a.map(i=>console.log(...i))}return n}function Uq(e,t){try{if(t.sanitizerPocEnabled){let r=performance.now(),n=new Sanitizer;if(e.headers["content-type"].includes("application/json")){console.log("[+] JSON Response detected, sanitizing data");let a=function(s){try{return Object.keys(s).forEach(c=>{typeof s[c]=="string"?s[c]=n.sanitizeFor("span",s[c]).innerHTML:typeof s[c]=="object"&&(s[c]=a(s[c]))}),s}catch(c){console.log(c)}},i=performance.now();return console.log(`Time taken: ${i-r} milliseconds.`),a(e.data)}}}catch(r){console.log("[+] Sanitizer API not supported: %o",r)}return e.data}function Mq(){var e;try{return(0,Zf.isBrowser)()&&new URLSearchParams(((e=window?.location)===null||e===void 0?void 0:e.hash)||"").get("sanitizerPOC")==="true"}catch{return!1}}function qq(...e){return new Vr(...e)}Kr.createHttpClient=qq});var th=_($r=>{"use strict";o();Object.defineProperty($r,"__esModule",{value:!0});$r.HttpClient=$r.createHttpClient=void 0;var kq=(ja(),Dn(Ha)),Gq=kq.__importDefault(oi()),Bq=eh(),_i=class extends Bq.HttpClient{constructor(t={}){super(Object.assign({adapter:Gq.default},t))}};$r.HttpClient=_i;function Hq(...e){return new _i(...e)}$r.createHttpClient=Hq});var nh=_(rh=>{"use strict";o();Object.defineProperty(rh,"__esModule",{value:!0})});var Ei=_(Fe=>{"use strict";o();Object.defineProperty(Fe,"__esModule",{value:!0});Fe.HttpClient=Fe.createHttpClient=Fe.HttpError=Fe.createHttpError=Fe.ORIGINAL_URL_HEADER=Fe.ORIGINAL_PROTOCOL_HEADER=Fe.ORIGINAL_HOST_HEADER=void 0;var jq=(ja(),Dn(Ha)),Vs=Ln();Object.defineProperty(Fe,"ORIGINAL_HOST_HEADER",{enumerable:!0,get:function(){return Vs.ORIGINAL_HOST_HEADER}});Object.defineProperty(Fe,"ORIGINAL_PROTOCOL_HEADER",{enumerable:!0,get:function(){return Vs.ORIGINAL_PROTOCOL_HEADER}});Object.defineProperty(Fe,"ORIGINAL_URL_HEADER",{enumerable:!0,get:function(){return Vs.ORIGINAL_URL_HEADER}});var ah=ss();Object.defineProperty(Fe,"createHttpError",{enumerable:!0,get:function(){return ah.createHttpError}});Object.defineProperty(Fe,"HttpError",{enumerable:!0,get:function(){return ah.HttpError}});var ih=th();Object.defineProperty(Fe,"createHttpClient",{enumerable:!0,get:function(){return ih.createHttpClient}});Object.defineProperty(Fe,"HttpClient",{enumerable:!0,get:function(){return ih.HttpClient}});jq.__exportStar(nh(),Fe)});var Kn=_((Lte,dh)=>{"use strict";o();var ek="2.0.0",tk=Number.MAX_SAFE_INTEGER||9007199254740991,rk=16,nk=250,ak=["major","premajor","minor","preminor","patch","prepatch","prerelease"];dh.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:rk,MAX_SAFE_BUILD_LENGTH:nk,MAX_SAFE_INTEGER:tk,RELEASE_TYPES:ak,SEMVER_SPEC_VERSION:ek,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var $n=_((Ute,mh)=>{"use strict";o();var ik=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};mh.exports=ik});var zr=_((Ft,fh)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:Js,MAX_SAFE_BUILD_LENGTH:ok,MAX_LENGTH:sk}=Kn(),ck=$n();Ft=fh.exports={};var pk=Ft.re=[],uk=Ft.safeRe=[],y=Ft.src=[],w=Ft.t={},lk=0,Qs="[a-zA-Z0-9-]",dk=[["\\s",1],["\\d",sk],[Qs,ok]],mk=e=>{for(let[t,r]of dk)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},$=(e,t,r)=>{let n=mk(t),a=lk++;ck(e,a,t),w[e]=a,y[a]=t,pk[a]=new RegExp(t,r?"g":void 0),uk[a]=new RegExp(n,r?"g":void 0)};$("NUMERICIDENTIFIER","0|[1-9]\\d*");$("NUMERICIDENTIFIERLOOSE","\\d+");$("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Qs}*`);$("MAINVERSION",`(${y[w.NUMERICIDENTIFIER]})\\.(${y[w.NUMERICIDENTIFIER]})\\.(${y[w.NUMERICIDENTIFIER]})`);$("MAINVERSIONLOOSE",`(${y[w.NUMERICIDENTIFIERLOOSE]})\\.(${y[w.NUMERICIDENTIFIERLOOSE]})\\.(${y[w.NUMERICIDENTIFIERLOOSE]})`);$("PRERELEASEIDENTIFIER",`(?:${y[w.NUMERICIDENTIFIER]}|${y[w.NONNUMERICIDENTIFIER]})`);$("PRERELEASEIDENTIFIERLOOSE",`(?:${y[w.NUMERICIDENTIFIERLOOSE]}|${y[w.NONNUMERICIDENTIFIER]})`);$("PRERELEASE",`(?:-(${y[w.PRERELEASEIDENTIFIER]}(?:\\.${y[w.PRERELEASEIDENTIFIER]})*))`);$("PRERELEASELOOSE",`(?:-?(${y[w.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${y[w.PRERELEASEIDENTIFIERLOOSE]})*))`);$("BUILDIDENTIFIER",`${Qs}+`);$("BUILD",`(?:\\+(${y[w.BUILDIDENTIFIER]}(?:\\.${y[w.BUILDIDENTIFIER]})*))`);$("FULLPLAIN",`v?${y[w.MAINVERSION]}${y[w.PRERELEASE]}?${y[w.BUILD]}?`);$("FULL",`^${y[w.FULLPLAIN]}$`);$("LOOSEPLAIN",`[v=\\s]*${y[w.MAINVERSIONLOOSE]}${y[w.PRERELEASELOOSE]}?${y[w.BUILD]}?`);$("LOOSE",`^${y[w.LOOSEPLAIN]}$`);$("GTLT","((?:<|>)?=?)");$("XRANGEIDENTIFIERLOOSE",`${y[w.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$("XRANGEIDENTIFIER",`${y[w.NUMERICIDENTIFIER]}|x|X|\\*`);$("XRANGEPLAIN",`[v=\\s]*(${y[w.XRANGEIDENTIFIER]})(?:\\.(${y[w.XRANGEIDENTIFIER]})(?:\\.(${y[w.XRANGEIDENTIFIER]})(?:${y[w.PRERELEASE]})?${y[w.BUILD]}?)?)?`);$("XRANGEPLAINLOOSE",`[v=\\s]*(${y[w.XRANGEIDENTIFIERLOOSE]})(?:\\.(${y[w.XRANGEIDENTIFIERLOOSE]})(?:\\.(${y[w.XRANGEIDENTIFIERLOOSE]})(?:${y[w.PRERELEASELOOSE]})?${y[w.BUILD]}?)?)?`);$("XRANGE",`^${y[w.GTLT]}\\s*${y[w.XRANGEPLAIN]}$`);$("XRANGELOOSE",`^${y[w.GTLT]}\\s*${y[w.XRANGEPLAINLOOSE]}$`);$("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Js}})(?:\\.(\\d{1,${Js}}))?(?:\\.(\\d{1,${Js}}))?`);$("COERCE",`${y[w.COERCEPLAIN]}(?:$|[^\\d])`);$("COERCEFULL",y[w.COERCEPLAIN]+`(?:${y[w.PRERELEASE]})?(?:${y[w.BUILD]})?(?:$|[^\\d])`);$("COERCERTL",y[w.COERCE],!0);$("COERCERTLFULL",y[w.COERCEFULL],!0);$("LONETILDE","(?:~>?)");$("TILDETRIM",`(\\s*)${y[w.LONETILDE]}\\s+`,!0);Ft.tildeTrimReplace="$1~";$("TILDE",`^${y[w.LONETILDE]}${y[w.XRANGEPLAIN]}$`);$("TILDELOOSE",`^${y[w.LONETILDE]}${y[w.XRANGEPLAINLOOSE]}$`);$("LONECARET","(?:\\^)");$("CARETTRIM",`(\\s*)${y[w.LONECARET]}\\s+`,!0);Ft.caretTrimReplace="$1^";$("CARET",`^${y[w.LONECARET]}${y[w.XRANGEPLAIN]}$`);$("CARETLOOSE",`^${y[w.LONECARET]}${y[w.XRANGEPLAINLOOSE]}$`);$("COMPARATORLOOSE",`^${y[w.GTLT]}\\s*(${y[w.LOOSEPLAIN]})$|^$`);$("COMPARATOR",`^${y[w.GTLT]}\\s*(${y[w.FULLPLAIN]})$|^$`);$("COMPARATORTRIM",`(\\s*)${y[w.GTLT]}\\s*(${y[w.LOOSEPLAIN]}|${y[w.XRANGEPLAIN]})`,!0);Ft.comparatorTrimReplace="$1$2$3";$("HYPHENRANGE",`^\\s*(${y[w.XRANGEPLAIN]})\\s+-\\s+(${y[w.XRANGEPLAIN]})\\s*$`);$("HYPHENRANGELOOSE",`^\\s*(${y[w.XRANGEPLAINLOOSE]})\\s+-\\s+(${y[w.XRANGEPLAINLOOSE]})\\s*$`);$("STAR","(<|>)?=?\\s*\\*");$("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var xi=_((kte,hh)=>{"use strict";o();var fk=Object.freeze({loose:!0}),hk=Object.freeze({}),_k=e=>e?typeof e!="object"?fk:e:hk;hh.exports=_k});var Zs=_((Bte,vh)=>{"use strict";o();var _h=/^[0-9]+$/,Eh=(e,t)=>{let r=_h.test(e),n=_h.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Ek=(e,t)=>Eh(t,e);vh.exports={compareIdentifiers:Eh,rcompareIdentifiers:Ek}});var qe=_((jte,Oh)=>{"use strict";o();var Ai=$n(),{MAX_LENGTH:gh,MAX_SAFE_INTEGER:Oi}=Kn(),{safeRe:xh,t:Ah}=zr(),vk=xi(),{compareIdentifiers:Xr}=Zs(),ec=class e{constructor(t,r){if(r=vk(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>gh)throw new TypeError(`version is longer than ${gh} characters`);Ai("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?xh[Ah.LOOSE]:xh[Ah.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Oi||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Oi||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Oi||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(a=>{if(/^[0-9]+$/.test(a)){let i=+a;if(i>=0&&i<Oi)return i}return a}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ai("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)),Xr(this.major,t.major)||Xr(this.minor,t.minor)||Xr(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 n=this.prerelease[r],a=t.prerelease[r];if(Ai("prerelease compare",r,n,a),n===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(n===void 0)return-1;if(n===a)continue;return Xr(n,a)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],a=t.build[r];if(Ai("build compare",r,n,a),n===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(n===void 0)return-1;if(n===a)continue;return Xr(n,a)}while(++r)}inc(t,r,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"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 a=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[a];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(r){let i=[r,a];n===!1&&(i=[r]),Xr(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Oh.exports=ec});var hr=_((Vte,Nh)=>{"use strict";o();var Sh=qe(),gk=(e,t,r=!1)=>{if(e instanceof Sh)return e;try{return new Sh(e,t)}catch(n){if(!r)return null;throw n}};Nh.exports=gk});var Rh=_(($te,Ih)=>{"use strict";o();var xk=hr(),Ak=(e,t)=>{let r=xk(e,t);return r?r.version:null};Ih.exports=Ak});var bh=_((zte,Th)=>{"use strict";o();var Ok=hr(),Sk=(e,t)=>{let r=Ok(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};Th.exports=Sk});var Dh=_((Jte,Ch)=>{"use strict";o();var Ph=qe(),Nk=(e,t,r,n,a)=>{typeof r=="string"&&(a=n,n=r,r=void 0);try{return new Ph(e instanceof Ph?e.version:e,r).inc(t,n,a).version}catch{return null}};Ch.exports=Nk});var Lh=_((Zte,wh)=>{"use strict";o();var yh=hr(),Ik=(e,t)=>{let r=yh(e,null,!0),n=yh(t,null,!0),a=r.compare(n);if(a===0)return null;let i=a>0,s=i?r:n,c=i?n:r,p=!!s.prerelease.length;if(!!c.prerelease.length&&!p)return!c.patch&&!c.minor?"major":s.patch?"patch":s.minor?"minor":"major";let m=p?"pre":"";return r.major!==n.major?m+"major":r.minor!==n.minor?m+"minor":r.patch!==n.patch?m+"patch":"prerelease"};wh.exports=Ik});var Uh=_((tre,Fh)=>{"use strict";o();var Rk=qe(),Tk=(e,t)=>new Rk(e,t).major;Fh.exports=Tk});var qh=_((nre,Mh)=>{"use strict";o();var bk=qe(),Pk=(e,t)=>new bk(e,t).minor;Mh.exports=Pk});var Gh=_((ire,kh)=>{"use strict";o();var Ck=qe(),Dk=(e,t)=>new Ck(e,t).patch;kh.exports=Dk});var Hh=_((sre,Bh)=>{"use strict";o();var yk=hr(),wk=(e,t)=>{let r=yk(e,t);return r&&r.prerelease.length?r.prerelease:null};Bh.exports=wk});var ct=_((pre,Wh)=>{"use strict";o();var jh=qe(),Lk=(e,t,r)=>new jh(e,r).compare(new jh(t,r));Wh.exports=Lk});var Kh=_((lre,Vh)=>{"use strict";o();var Fk=ct(),Uk=(e,t,r)=>Fk(t,e,r);Vh.exports=Uk});var Yh=_((mre,$h)=>{"use strict";o();var Mk=ct(),qk=(e,t)=>Mk(e,t,!0);$h.exports=qk});var Si=_((hre,Xh)=>{"use strict";o();var zh=qe(),kk=(e,t,r)=>{let n=new zh(e,r),a=new zh(t,r);return n.compare(a)||n.compareBuild(a)};Xh.exports=kk});var Qh=_((Ere,Jh)=>{"use strict";o();var Gk=Si(),Bk=(e,t)=>e.sort((r,n)=>Gk(r,n,t));Jh.exports=Bk});var e_=_((gre,Zh)=>{"use strict";o();var Hk=Si(),jk=(e,t)=>e.sort((r,n)=>Hk(n,r,t));Zh.exports=jk});var Yn=_((Are,t_)=>{"use strict";o();var Wk=ct(),Vk=(e,t,r)=>Wk(e,t,r)>0;t_.exports=Vk});var Ni=_((Sre,r_)=>{"use strict";o();var Kk=ct(),$k=(e,t,r)=>Kk(e,t,r)<0;r_.exports=$k});var tc=_((Ire,n_)=>{"use strict";o();var Yk=ct(),zk=(e,t,r)=>Yk(e,t,r)===0;n_.exports=zk});var rc=_((Tre,a_)=>{"use strict";o();var Xk=ct(),Jk=(e,t,r)=>Xk(e,t,r)!==0;a_.exports=Jk});var Ii=_((Pre,i_)=>{"use strict";o();var Qk=ct(),Zk=(e,t,r)=>Qk(e,t,r)>=0;i_.exports=Zk});var Ri=_((Dre,o_)=>{"use strict";o();var e0=ct(),t0=(e,t,r)=>e0(e,t,r)<=0;o_.exports=t0});var nc=_((wre,s_)=>{"use strict";o();var r0=tc(),n0=rc(),a0=Yn(),i0=Ii(),o0=Ni(),s0=Ri(),c0=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return r0(e,r,n);case"!=":return n0(e,r,n);case">":return a0(e,r,n);case">=":return i0(e,r,n);case"<":return o0(e,r,n);case"<=":return s0(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};s_.exports=c0});var p_=_((Fre,c_)=>{"use strict";o();var p0=qe(),u0=hr(),{safeRe:Ti,t:bi}=zr(),l0=(e,t)=>{if(e instanceof p0)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?Ti[bi.COERCEFULL]:Ti[bi.COERCE]);else{let p=t.includePrerelease?Ti[bi.COERCERTLFULL]:Ti[bi.COERCERTL],d;for(;(d=p.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||d.index+d[0].length!==r.index+r[0].length)&&(r=d),p.lastIndex=d.index+d[1].length+d[2].length;p.lastIndex=-1}if(r===null)return null;let n=r[2],a=r[3]||"0",i=r[4]||"0",s=t.includePrerelease&&r[5]?`-${r[5]}`:"",c=t.includePrerelease&&r[6]?`+${r[6]}`:"";return u0(`${n}.${a}.${i}${s}${c}`,t)};c_.exports=l0});var l_=_((Mre,u_)=>{"use strict";o();var ac=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 a=this.map.keys().next().value;this.delete(a)}this.map.set(t,r)}return this}};u_.exports=ac});var pt=_((kre,h_)=>{"use strict";o();var d0=/\s+/g,ic=class e{constructor(t,r){if(r=f0(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof oc)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(d0," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(a=>!m_(a[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let a of this.set)if(a.length===1&&A0(a[0])){this.set=[a];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let r=this.set[t];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let n=((this.options.includePrerelease&&g0)|(this.options.loose&&x0))+":"+t,a=d_.get(n);if(a)return a;let i=this.options.loose,s=i?Je[We.HYPHENRANGELOOSE]:Je[We.HYPHENRANGE];t=t.replace(s,D0(this.options.includePrerelease)),ce("hyphen replace",t),t=t.replace(Je[We.COMPARATORTRIM],_0),ce("comparator trim",t),t=t.replace(Je[We.TILDETRIM],E0),ce("tilde trim",t),t=t.replace(Je[We.CARETTRIM],v0),ce("caret trim",t);let c=t.split(" ").map(f=>O0(f,this.options)).join(" ").split(/\s+/).map(f=>C0(f,this.options));i&&(c=c.filter(f=>(ce("loose invalid filter",f,this.options),!!f.match(Je[We.COMPARATORLOOSE])))),ce("range list",c);let p=new Map,d=c.map(f=>new oc(f,this.options));for(let f of d){if(m_(f))return[f];p.set(f.value,f)}p.size>1&&p.has("")&&p.delete("");let m=[...p.values()];return d_.set(n,m),m}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>f_(n,r)&&t.set.some(a=>f_(a,r)&&n.every(i=>a.every(s=>i.intersects(s,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new h0(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(y0(this.set[r],t,this.options))return!0;return!1}};h_.exports=ic;var m0=l_(),d_=new m0,f0=xi(),oc=zn(),ce=$n(),h0=qe(),{safeRe:Je,t:We,comparatorTrimReplace:_0,tildeTrimReplace:E0,caretTrimReplace:v0}=zr(),{FLAG_INCLUDE_PRERELEASE:g0,FLAG_LOOSE:x0}=Kn(),m_=e=>e.value==="<0.0.0-0",A0=e=>e.value==="",f_=(e,t)=>{let r=!0,n=e.slice(),a=n.pop();for(;r&&n.length;)r=n.every(i=>a.intersects(i,t)),a=n.pop();return r},O0=(e,t)=>(ce("comp",e,t),e=I0(e,t),ce("caret",e),e=S0(e,t),ce("tildes",e),e=T0(e,t),ce("xrange",e),e=P0(e,t),ce("stars",e),e),Ve=e=>!e||e.toLowerCase()==="x"||e==="*",S0=(e,t)=>e.trim().split(/\s+/).map(r=>N0(r,t)).join(" "),N0=(e,t)=>{let r=t.loose?Je[We.TILDELOOSE]:Je[We.TILDE];return e.replace(r,(n,a,i,s,c)=>{ce("tilde",e,n,a,i,s,c);let p;return Ve(a)?p="":Ve(i)?p=`>=${a}.0.0 <${+a+1}.0.0-0`:Ve(s)?p=`>=${a}.${i}.0 <${a}.${+i+1}.0-0`:c?(ce("replaceTilde pr",c),p=`>=${a}.${i}.${s}-${c} <${a}.${+i+1}.0-0`):p=`>=${a}.${i}.${s} <${a}.${+i+1}.0-0`,ce("tilde return",p),p})},I0=(e,t)=>e.trim().split(/\s+/).map(r=>R0(r,t)).join(" "),R0=(e,t)=>{ce("caret",e,t);let r=t.loose?Je[We.CARETLOOSE]:Je[We.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(a,i,s,c,p)=>{ce("caret",e,a,i,s,c,p);let d;return Ve(i)?d="":Ve(s)?d=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Ve(c)?i==="0"?d=`>=${i}.${s}.0${n} <${i}.${+s+1}.0-0`:d=`>=${i}.${s}.0${n} <${+i+1}.0.0-0`:p?(ce("replaceCaret pr",p),i==="0"?s==="0"?d=`>=${i}.${s}.${c}-${p} <${i}.${s}.${+c+1}-0`:d=`>=${i}.${s}.${c}-${p} <${i}.${+s+1}.0-0`:d=`>=${i}.${s}.${c}-${p} <${+i+1}.0.0-0`):(ce("no pr"),i==="0"?s==="0"?d=`>=${i}.${s}.${c}${n} <${i}.${s}.${+c+1}-0`:d=`>=${i}.${s}.${c}${n} <${i}.${+s+1}.0-0`:d=`>=${i}.${s}.${c} <${+i+1}.0.0-0`),ce("caret return",d),d})},T0=(e,t)=>(ce("replaceXRanges",e,t),e.split(/\s+/).map(r=>b0(r,t)).join(" ")),b0=(e,t)=>{e=e.trim();let r=t.loose?Je[We.XRANGELOOSE]:Je[We.XRANGE];return e.replace(r,(n,a,i,s,c,p)=>{ce("xRange",e,n,a,i,s,c,p);let d=Ve(i),m=d||Ve(s),f=m||Ve(c),h=f;return a==="="&&h&&(a=""),p=t.includePrerelease?"-0":"",d?a===">"||a==="<"?n="<0.0.0-0":n="*":a&&h?(m&&(s=0),c=0,a===">"?(a=">=",m?(i=+i+1,s=0,c=0):(s=+s+1,c=0)):a==="<="&&(a="<",m?i=+i+1:s=+s+1),a==="<"&&(p="-0"),n=`${a+i}.${s}.${c}${p}`):m?n=`>=${i}.0.0${p} <${+i+1}.0.0-0`:f&&(n=`>=${i}.${s}.0${p} <${i}.${+s+1}.0-0`),ce("xRange return",n),n})},P0=(e,t)=>(ce("replaceStars",e,t),e.trim().replace(Je[We.STAR],"")),C0=(e,t)=>(ce("replaceGTE0",e,t),e.trim().replace(Je[t.includePrerelease?We.GTE0PRE:We.GTE0],"")),D0=e=>(t,r,n,a,i,s,c,p,d,m,f,h)=>(Ve(n)?r="":Ve(a)?r=`>=${n}.0.0${e?"-0":""}`:Ve(i)?r=`>=${n}.${a}.0${e?"-0":""}`:s?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,Ve(d)?p="":Ve(m)?p=`<${+d+1}.0.0-0`:Ve(f)?p=`<${d}.${+m+1}.0-0`:h?p=`<=${d}.${m}.${f}-${h}`:e?p=`<${d}.${m}.${+f+1}-0`:p=`<=${p}`,`${r} ${p}`.trim()),y0=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(ce(e[n].semver),e[n].semver!==oc.ANY&&e[n].semver.prerelease.length>0){let a=e[n].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}});var zn=_((Bre,A_)=>{"use strict";o();var Xn=Symbol("SemVer ANY"),pc=class e{static get ANY(){return Xn}constructor(t,r){if(r=__(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),cc("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===Xn?this.value="":this.value=this.operator+this.semver.version,cc("comp",this)}parse(t){let r=this.options.loose?E_[v_.COMPARATORLOOSE]:E_[v_.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new g_(n[2],this.options.loose):this.semver=Xn}toString(){return this.value}test(t){if(cc("Comparator.test",t,this.options.loose),this.semver===Xn||t===Xn)return!0;if(typeof t=="string")try{t=new g_(t,this.options)}catch{return!1}return sc(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 x_(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new x_(this.value,r).test(t.semver):(r=__(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("=")||sc(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||sc(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};A_.exports=pc;var __=xi(),{safeRe:E_,t:v_}=zr(),sc=nc(),cc=$n(),g_=qe(),x_=pt()});var Jn=_((jre,O_)=>{"use strict";o();var w0=pt(),L0=(e,t,r)=>{try{t=new w0(t,r)}catch{return!1}return t.test(e)};O_.exports=L0});var N_=_((Vre,S_)=>{"use strict";o();var F0=pt(),U0=(e,t)=>new F0(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));S_.exports=U0});var R_=_(($re,I_)=>{"use strict";o();var M0=qe(),q0=pt(),k0=(e,t,r)=>{let n=null,a=null,i=null;try{i=new q0(t,r)}catch{return null}return e.forEach(s=>{i.test(s)&&(!n||a.compare(s)===-1)&&(n=s,a=new M0(n,r))}),n};I_.exports=k0});var b_=_((zre,T_)=>{"use strict";o();var G0=qe(),B0=pt(),H0=(e,t,r)=>{let n=null,a=null,i=null;try{i=new B0(t,r)}catch{return null}return e.forEach(s=>{i.test(s)&&(!n||a.compare(s)===1)&&(n=s,a=new G0(n,r))}),n};T_.exports=H0});var D_=_((Jre,C_)=>{"use strict";o();var uc=qe(),j0=pt(),P_=Yn(),W0=(e,t)=>{e=new j0(e,t);let r=new uc("0.0.0");if(e.test(r)||(r=new uc("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let a=e.set[n],i=null;a.forEach(s=>{let c=new uc(s.semver.version);switch(s.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||P_(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),i&&(!r||P_(r,i))&&(r=i)}return r&&e.test(r)?r:null};C_.exports=W0});var w_=_((Zre,y_)=>{"use strict";o();var V0=pt(),K0=(e,t)=>{try{return new V0(e,t).range||"*"}catch{return null}};y_.exports=K0});var Pi=_((tne,M_)=>{"use strict";o();var $0=qe(),U_=zn(),{ANY:Y0}=U_,z0=pt(),X0=Jn(),L_=Yn(),F_=Ni(),J0=Ri(),Q0=Ii(),Z0=(e,t,r,n)=>{e=new $0(e,n),t=new z0(t,n);let a,i,s,c,p;switch(r){case">":a=L_,i=J0,s=F_,c=">",p=">=";break;case"<":a=F_,i=Q0,s=L_,c="<",p="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(X0(e,t,n))return!1;for(let d=0;d<t.set.length;++d){let m=t.set[d],f=null,h=null;if(m.forEach(v=>{v.semver===Y0&&(v=new U_(">=0.0.0")),f=f||v,h=h||v,a(v.semver,f.semver,n)?f=v:s(v.semver,h.semver,n)&&(h=v)}),f.operator===c||f.operator===p||(!h.operator||h.operator===c)&&i(e,h.semver))return!1;if(h.operator===p&&s(e,h.semver))return!1}return!0};M_.exports=Z0});var k_=_((nne,q_)=>{"use strict";o();var eG=Pi(),tG=(e,t,r)=>eG(e,t,">",r);q_.exports=tG});var B_=_((ine,G_)=>{"use strict";o();var rG=Pi(),nG=(e,t,r)=>rG(e,t,"<",r);G_.exports=nG});var W_=_((sne,j_)=>{"use strict";o();var H_=pt(),aG=(e,t,r)=>(e=new H_(e,r),t=new H_(t,r),e.intersects(t,r));j_.exports=aG});var K_=_((pne,V_)=>{"use strict";o();var iG=Jn(),oG=ct();V_.exports=(e,t,r)=>{let n=[],a=null,i=null,s=e.sort((m,f)=>oG(m,f,r));for(let m of s)iG(m,t,r)?(i=m,a||(a=m)):(i&&n.push([a,i]),i=null,a=null);a&&n.push([a,null]);let c=[];for(let[m,f]of n)m===f?c.push(m):!f&&m===s[0]?c.push("*"):f?m===s[0]?c.push(`<=${f}`):c.push(`${m} - ${f}`):c.push(`>=${m}`);let p=c.join(" || "),d=typeof t.raw=="string"?t.raw:String(t);return p.length<d.length?p:t}});var Q_=_((lne,J_)=>{"use strict";o();var $_=pt(),dc=zn(),{ANY:lc}=dc,Qn=Jn(),mc=ct(),sG=(e,t,r={})=>{if(e===t)return!0;e=new $_(e,r),t=new $_(t,r);let n=!1;e:for(let a of e.set){for(let i of t.set){let s=pG(a,i,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},cG=[new dc(">=0.0.0-0")],Y_=[new dc(">=0.0.0")],pG=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===lc){if(t.length===1&&t[0].semver===lc)return!0;r.includePrerelease?e=cG:e=Y_}if(t.length===1&&t[0].semver===lc){if(r.includePrerelease)return!0;t=Y_}let n=new Set,a,i;for(let v of e)v.operator===">"||v.operator===">="?a=z_(a,v,r):v.operator==="<"||v.operator==="<="?i=X_(i,v,r):n.add(v.semver);if(n.size>1)return null;let s;if(a&&i){if(s=mc(a.semver,i.semver,r),s>0)return null;if(s===0&&(a.operator!==">="||i.operator!=="<="))return null}for(let v of n){if(a&&!Qn(v,String(a),r)||i&&!Qn(v,String(i),r))return null;for(let x of t)if(!Qn(v,String(x),r))return!1;return!0}let c,p,d,m,f=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,h=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1;f&&f.prerelease.length===1&&i.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let v of t){if(m=m||v.operator===">"||v.operator===">=",d=d||v.operator==="<"||v.operator==="<=",a){if(h&&v.semver.prerelease&&v.semver.prerelease.length&&v.semver.major===h.major&&v.semver.minor===h.minor&&v.semver.patch===h.patch&&(h=!1),v.operator===">"||v.operator===">="){if(c=z_(a,v,r),c===v&&c!==a)return!1}else if(a.operator===">="&&!Qn(a.semver,String(v),r))return!1}if(i){if(f&&v.semver.prerelease&&v.semver.prerelease.length&&v.semver.major===f.major&&v.semver.minor===f.minor&&v.semver.patch===f.patch&&(f=!1),v.operator==="<"||v.operator==="<="){if(p=X_(i,v,r),p===v&&p!==i)return!1}else if(i.operator==="<="&&!Qn(i.semver,String(v),r))return!1}if(!v.operator&&(i||a)&&s!==0)return!1}return!(a&&d&&!i&&s!==0||i&&m&&!a&&s!==0||h||f)},z_=(e,t,r)=>{if(!e)return t;let n=mc(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},X_=(e,t,r)=>{if(!e)return t;let n=mc(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};J_.exports=sG});var rE=_((mne,tE)=>{"use strict";o();var fc=zr(),Z_=Kn(),uG=qe(),eE=Zs(),lG=hr(),dG=Rh(),mG=bh(),fG=Dh(),hG=Lh(),_G=Uh(),EG=qh(),vG=Gh(),gG=Hh(),xG=ct(),AG=Kh(),OG=Yh(),SG=Si(),NG=Qh(),IG=e_(),RG=Yn(),TG=Ni(),bG=tc(),PG=rc(),CG=Ii(),DG=Ri(),yG=nc(),wG=p_(),LG=zn(),FG=pt(),UG=Jn(),MG=N_(),qG=R_(),kG=b_(),GG=D_(),BG=w_(),HG=Pi(),jG=k_(),WG=B_(),VG=W_(),KG=K_(),$G=Q_();tE.exports={parse:lG,valid:dG,clean:mG,inc:fG,diff:hG,major:_G,minor:EG,patch:vG,prerelease:gG,compare:xG,rcompare:AG,compareLoose:OG,compareBuild:SG,sort:NG,rsort:IG,gt:RG,lt:TG,eq:bG,neq:PG,gte:CG,lte:DG,cmp:yG,coerce:wG,Comparator:LG,Range:FG,satisfies:UG,toComparators:MG,maxSatisfying:qG,minSatisfying:kG,minVersion:GG,validRange:BG,outside:HG,gtr:jG,ltr:WG,intersects:VG,simplifyRange:KG,subset:$G,SemVer:uG,re:fc.re,src:fc.src,tokens:fc.t,SEMVER_SPEC_VERSION:Z_.SEMVER_SPEC_VERSION,RELEASE_TYPES:Z_.RELEASE_TYPES,compareIdentifiers:eE.compareIdentifiers,rcompareIdentifiers:eE.rcompareIdentifiers}});var uE=_((wne,pE)=>{"use strict";o();function ut(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))}pE.exports=ut;ut.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};ut.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};ut.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 n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};ut.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)};ut.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};ut.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};ut.prototype.start=ut.prototype.try;ut.prototype.errors=function(){return this._errors};ut.prototype.attempts=function(){return this._attempts};ut.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var a=this._errors[n],i=a.message,s=(e[i]||0)+1;e[i]=s,s>=r&&(t=a,r=s)}return t}});var lE=_(_r=>{"use strict";o();var ZG=uE();_r.operation=function(e){var t=_r.timeouts(e);return new ZG(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};_r.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],a=0;a<t.retries;a++)n.push(this.createTimeout(a,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(a,t)),n.sort(function(i,s){return i-s}),n};_r.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};_r.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var a=0;a<r.length;a++){var i=r[a],s=e[i];e[i]=function(p){var d=_r.operation(t),m=Array.prototype.slice.call(arguments,1),f=m.pop();m.push(function(h){d.retry(h)||(h&&(arguments[0]=d.mainError()),f.apply(this,arguments))}),d.attempt(function(){p.apply(e,m)})}.bind(e,s),e[i].options=t}}});var mE=_((Mne,dE)=>{"use strict";o();dE.exports=lE()});var TI=_((Zpe,RI)=>{"use strict";o();var II=L("stream").Stream,RW=L("util");RI.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=[]}RW.inherits(vt,II);vt.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var a=e.emit;return e.emit=function(){return r._handleEmit(arguments),a.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=II.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 DI=_((tue,CI)=>{"use strict";o();var TW=L("util"),PI=L("stream").Stream,bI=TI();CI.exports=fe;function fe(){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}TW.inherits(fe,PI);fe.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};fe.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};fe.prototype.append=function(e){var t=fe.isStreamLike(e);if(t){if(!(e instanceof bI)){var r=bI.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};fe.prototype.pipe=function(e,t){return PI.prototype.pipe.call(this,e,t),this.resume(),e};fe.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}};fe.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=fe.isStreamLike(r);n&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};fe.prototype._pipeNext=function(e){this._currentStream=e;var t=fe.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()};fe.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};fe.prototype.write=function(e){this.emit("data",e)};fe.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};fe.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")};fe.prototype.end=function(){this._reset(),this.emit("end")};fe.prototype.destroy=function(){this._reset(),this.emit("close")};fe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};fe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};fe.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)};fe.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var yI=_((nue,bW)=>{bW.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 LI=_((aue,wI)=>{"use strict";o();wI.exports=yI()});var MI=_(Ze=>{"use strict";o();var Hi=LI(),PW=L("path").extname,FI=/^\s*([^;\s]*)(?:;|\s|$)/,CW=/^text\//i;Ze.charset=UI;Ze.charsets={lookup:UI};Ze.contentType=DW;Ze.extension=yW;Ze.extensions=Object.create(null);Ze.lookup=wW;Ze.types=Object.create(null);LW(Ze.extensions,Ze.types);function UI(e){if(!e||typeof e!="string")return!1;var t=FI.exec(e),r=t&&Hi[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&CW.test(t[1])?"UTF-8":!1}function DW(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Ze.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Ze.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function yW(e){if(!e||typeof e!="string")return!1;var t=FI.exec(e),r=t&&Ze.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function wW(e){if(!e||typeof e!="string")return!1;var t=PW("x."+e).toLowerCase().substr(1);return t&&Ze.types[t]||!1}function LW(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Hi).forEach(function(a){var i=Hi[a],s=i.extensions;if(!(!s||!s.length)){e[a]=s;for(var c=0;c<s.length;c++){var p=s[c];if(t[p]){var d=r.indexOf(Hi[t[p]].source),m=r.indexOf(i.source);if(t[p]!=="application/octet-stream"&&(d>m||d===m&&t[p].substr(0,12)==="application/"))continue}t[p]=a}}})}});var kI=_((cue,qI)=>{"use strict";o();qI.exports=FW;function FW(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var sp=_((uue,BI)=>{"use strict";o();var GI=kI();BI.exports=UW;function UW(e){var t=!1;return GI(function(){t=!0}),function(n,a){t?e(n,a):GI(function(){e(n,a)})}}});var cp=_((due,HI)=>{"use strict";o();HI.exports=MW;function MW(e){Object.keys(e.jobs).forEach(qW.bind(e)),e.jobs={}}function qW(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var pp=_((fue,WI)=>{"use strict";o();var jI=sp(),kW=cp();WI.exports=GW;function GW(e,t,r,n){var a=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[a]=BW(t,a,e[a],function(i,s){a in r.jobs&&(delete r.jobs[a],i?kW(r):r.results[a]=s,n(i,r.results))})}function BW(e,t,r,n){var a;return e.length==2?a=e(r,jI(n)):a=e(r,t,jI(n)),a}});var up=_((_ue,VI)=>{"use strict";o();VI.exports=HW;function HW(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&n.keyedList.sort(r?t:function(a,i){return t(e[a],e[i])}),n}});var lp=_((vue,KI)=>{"use strict";o();var jW=cp(),WW=sp();KI.exports=VW;function VW(e){Object.keys(this.jobs).length&&(this.index=this.size,jW(this),WW(e)(null,this.results))}});var YI=_((xue,$I)=>{"use strict";o();var KW=pp(),$W=up(),YW=lp();$I.exports=zW;function zW(e,t,r){for(var n=$W(e);n.index<(n.keyedList||e).length;)KW(e,t,n,function(a,i){if(a){r(a,i);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return YW.bind(n,r)}});var dp=_((Oue,ji)=>{"use strict";o();var zI=pp(),XW=up(),JW=lp();ji.exports=QW;ji.exports.ascending=XI;ji.exports.descending=ZW;function QW(e,t,r,n){var a=XW(e,r);return zI(e,t,a,function i(s,c){if(s){n(s,c);return}if(a.index++,a.index<(a.keyedList||e).length){zI(e,t,a,i);return}n(null,a.results)}),JW.bind(a,n)}function XI(e,t){return e<t?-1:e>t?1:0}function ZW(e,t){return-1*XI(e,t)}});var QI=_((Nue,JI)=>{"use strict";o();var eV=dp();JI.exports=tV;function tV(e,t,r){return eV(e,t,null,r)}});var eR=_((Rue,ZI)=>{"use strict";o();ZI.exports={parallel:YI(),serial:QI(),serialOrdered:dp()}});var rR=_((bue,tR)=>{"use strict";o();tR.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var iR=_((Cue,aR)=>{"use strict";o();var _p=DI(),nR=L("util"),mp=L("path"),rV=L("http"),nV=L("https"),aV=L("url").parse,iV=L("fs"),oV=L("stream").Stream,fp=MI(),sV=eR(),hp=rR();aR.exports=ee;nR.inherits(ee,_p);function ee(e){if(!(this instanceof ee))return new ee(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],_p.call(this),e=e||{};for(var t in e)this[t]=e[t]}ee.LINE_BREAK=`\r
|
|
9
|
-
`;ee.DEFAULT_CONTENT_TYPE="application/octet-stream";ee.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var n=_p.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),nR.isArray(t)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(e,t,r),i=this._multiPartFooter();n(a),n(t),n(i),this._trackLength(a,t,r)};ee.prototype._trackLength=function(e,t,r){var n=0;r.knownLength!=null?n+=+r.knownLength:Buffer.isBuffer(t)?n=t.length:typeof t=="string"&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+ee.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof oV))&&(r.knownLength||this._valuesToMeasure.push(t))};ee.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)):iV.stat(e.path,function(r,n){var a;if(r){t(r);return}a=n.size-(e.start?e.start:0),t(null,a)}):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")};ee.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var n=this._getContentDisposition(t,r),a=this._getContentType(t,r),i="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(a||[])};typeof r.header=="object"&&hp(s,r.header);var c;for(var p in s)s.hasOwnProperty(p)&&(c=s[p],c!=null&&(Array.isArray(c)||(c=[c]),c.length&&(i+=p+": "+c.join("; ")+ee.LINE_BREAK)));return"--"+this.getBoundary()+ee.LINE_BREAK+i+ee.LINE_BREAK};ee.prototype._getContentDisposition=function(e,t){var r,n;return typeof t.filepath=="string"?r=mp.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?r=mp.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(r=mp.basename(e.client._httpMessage.path||"")),r&&(n='filename="'+r+'"'),n};ee.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=fp.lookup(e.name)),!r&&e.path&&(r=fp.lookup(e.path)),!r&&e.readable&&e.hasOwnProperty("httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=fp.lookup(t.filepath||t.filename)),!r&&typeof e=="object"&&(r=ee.DEFAULT_CONTENT_TYPE),r};ee.prototype._multiPartFooter=function(){return function(e){var t=ee.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};ee.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ee.LINE_BREAK};ee.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};ee.prototype.setBoundary=function(e){this._boundary=e};ee.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ee.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,n=this._streams.length;r<n;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(ee.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};ee.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};ee.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};ee.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};ee.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}sV.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(a){t+=a}),e(null,t)})};ee.prototype.submit=function(e,t){var r,n,a={method:"post"};return typeof e=="string"?(e=aV(e),n=hp({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(n=hp(e,a),n.port||(n.port=n.protocol=="https:"?443:80)),n.headers=this.getHeaders(e.headers),n.protocol=="https:"?r=nV.request(n):r=rV.request(n),this.getLength(function(i,s){if(i&&i!=="Unknown stream"){this._error(i);return}if(s&&r.setHeader("Content-Length",s),this.pipe(r),t){var c,p=function(d,m){return r.removeListener("error",p),r.removeListener("response",c),t.call(this,d,m)};c=p.bind(this,null),r.on("error",p),r.on("response",c)}}.bind(this)),r};ee.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};ee.prototype.toString=function(){return"[object FormData]"}});var Ep=_((yue,cR)=>{"use strict";o();var cV=L("stream"),oR=cV.PassThrough,pV=Array.prototype.slice;cR.exports=uV;function uV(){let e=[],t=pV.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let a=n.end!==!1,i=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let s=oR(n);function c(){for(let m=0,f=arguments.length;m<f;m++)e.push(sR(arguments[m],n));return p(),this}function p(){if(r)return;r=!0;let m=e.shift();if(!m){process.nextTick(d);return}Array.isArray(m)||(m=[m]);let f=m.length+1;function h(){--f>0||(r=!1,p())}function v(x){function A(){x.removeListener("merge2UnpipeEnd",A),x.removeListener("end",A),i&&x.removeListener("error",R),h()}function R(C){s.emit("error",C)}if(x._readableState.endEmitted)return h();x.on("merge2UnpipeEnd",A),x.on("end",A),i&&x.on("error",R),x.pipe(s,{end:!1}),x.resume()}for(let x=0;x<m.length;x++)v(m[x]);h()}function d(){r=!1,s.emit("queueDrain"),a&&s.end()}return s.setMaxListeners(0),s.add=c,s.on("unpipe",function(m){m.emit("merge2UnpipeEnd")}),t.length&&c.apply(null,t),s}function sR(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=sR(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(oR(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var pR=_(sn=>{"use strict";o();Object.defineProperty(sn,"__esModule",{value:!0});sn.splitWhen=sn.flatten=void 0;function lV(e){return e.reduce((t,r)=>[].concat(t,r),[])}sn.flatten=lV;function dV(e,t){let r=[[]],n=0;for(let a of e)t(a)?(n++,r[n]=[]):r[n].push(a);return r}sn.splitWhen=dV});var uR=_(Wi=>{"use strict";o();Object.defineProperty(Wi,"__esModule",{value:!0});Wi.isEnoentCodeError=void 0;function mV(e){return e.code==="ENOENT"}Wi.isEnoentCodeError=mV});var lR=_(Vi=>{"use strict";o();Object.defineProperty(Vi,"__esModule",{value:!0});Vi.createDirentFromStats=void 0;var vp=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 fV(e,t){return new vp(e,t)}Vi.createDirentFromStats=fV});var hR=_(Se=>{"use strict";o();Object.defineProperty(Se,"__esModule",{value:!0});Se.convertPosixPathToPattern=Se.convertWindowsPathToPattern=Se.convertPathToPattern=Se.escapePosixPath=Se.escapeWindowsPath=Se.escape=Se.removeLeadingDotSegment=Se.makeAbsolute=Se.unixify=void 0;var hV=L("os"),_V=L("path"),dR=hV.platform()==="win32",EV=2,vV=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,gV=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,xV=/^\\\\([.?])/,AV=/\\(?![!()+@[\]{}])/g;function OV(e){return e.replace(/\\/g,"/")}Se.unixify=OV;function SV(e,t){return _V.resolve(e,t)}Se.makeAbsolute=SV;function NV(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(EV)}return e}Se.removeLeadingDotSegment=NV;Se.escape=dR?gp:xp;function gp(e){return e.replace(gV,"\\$2")}Se.escapeWindowsPath=gp;function xp(e){return e.replace(vV,"\\$2")}Se.escapePosixPath=xp;Se.convertPathToPattern=dR?mR:fR;function mR(e){return gp(e).replace(xV,"//$1").replace(AV,"/")}Se.convertWindowsPathToPattern=mR;function fR(e){return xp(e)}Se.convertPosixPathToPattern=fR});var ER=_((Hue,_R)=>{"use strict";o();_R.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 Ap=_((Wue,gR)=>{"use strict";o();var IV=ER(),vR={"{":"}","(":")","[":"]"},RV=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,a=-2,i=-2,s=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(s===-1||s>n||(s=e.indexOf("\\",t),s===-1||s>n)))||a!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(a=e.indexOf("}",t),a>t&&(s=e.indexOf("\\",t),s===-1||s>a))||i!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(i=e.indexOf(")",t),i>t&&(s=e.indexOf("\\",t),s===-1||s>i))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(i=e.indexOf(")",r),i>r&&(s=e.indexOf("\\",r),s===-1||s>i))))return!0;if(e[t]==="\\"){var c=e[t+1];t+=2;var p=vR[c];if(p){var d=e.indexOf(p,t);d!==-1&&(t=d+1)}if(e[t]==="!")return!0}else t++}return!1},TV=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 n=vR[r];if(n){var a=e.indexOf(n,t);a!==-1&&(t=a+1)}if(e[t]==="!")return!0}else t++}return!1};gR.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(IV(t))return!0;var n=RV;return r&&r.strict===!1&&(n=TV),n(t)}});var Sp=_((Kue,xR)=>{"use strict";o();var bV=Ap(),PV=L("path").posix.dirname,CV=L("os").platform()==="win32",Op="/",DV=/\\/g,yV=/[\{\[].*[\}\]]$/,wV=/(^|[^\\])([\{\[]|\([^\)]+$)/,LV=/\\([\!\*\?\|\[\]\(\)\{\}])/g;xR.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&CV&&t.indexOf(Op)<0&&(t=t.replace(DV,Op)),yV.test(t)&&(t+=Op),t+="a";do t=PV(t);while(bV(t)||wV.test(t));return t.replace(LV,"$1")}});var Ki=_(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,n)=>n===!1||!lt.isInteger(e)||!lt.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;lt.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.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=n=>{for(let a=0;a<n.length;a++){let i=n[a];if(Array.isArray(i)){r(i);continue}i!==void 0&&t.push(i)}return t};return r(e),t}});var $i=_((Xue,OR)=>{"use strict";o();var AR=Ki();OR.exports=(e,t={})=>{let r=(n,a={})=>{let i=t.escapeInvalid&&AR.isInvalidBrace(a),s=n.invalid===!0&&t.escapeInvalid===!0,c="";if(n.value)return(i||s)&&AR.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let p of n.nodes)c+=r(p);return c};return r(e)}});var NR=_((Que,SR)=>{"use strict";o();SR.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var wR=_((ele,yR)=>{"use strict";o();var IR=NR(),Or=(e,t,r)=>{if(IR(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(IR(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let a=String(n.relaxZeros),i=String(n.shorthand),s=String(n.capture),c=String(n.wrap),p=e+":"+t+"="+a+i+s+c;if(Or.cache.hasOwnProperty(p))return Or.cache[p].result;let d=Math.min(e,t),m=Math.max(e,t);if(Math.abs(d-m)===1){let A=e+"|"+t;return n.capture?`(${A})`:n.wrap===!1?A:`(?:${A})`}let f=DR(e)||DR(t),h={min:e,max:t,a:d,b:m},v=[],x=[];if(f&&(h.isPadded=f,h.maxLen=String(h.max).length),d<0){let A=m<0?Math.abs(m):1;x=RR(A,Math.abs(d),h,n),d=h.a=0}return m>=0&&(v=RR(d,m,h,n)),h.negatives=x,h.positives=v,h.result=FV(x,v,n),n.capture===!0?h.result=`(${h.result})`:n.wrap!==!1&&v.length+x.length>1&&(h.result=`(?:${h.result})`),Or.cache[p]=h,h.result};function FV(e,t,r){let n=Np(e,t,"-",!1,r)||[],a=Np(t,e,"",!1,r)||[],i=Np(e,t,"-?",!0,r)||[];return n.concat(i).concat(a).join("|")}function UV(e,t){let r=1,n=1,a=bR(e,r),i=new Set([t]);for(;e<=a&&a<=t;)i.add(a),r+=1,a=bR(e,r);for(a=PR(t+1,n)-1;e<a&&a<=t;)i.add(a),n+=1,a=PR(t+1,n)-1;return i=[...i],i.sort(kV),i}function MV(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=qV(e,t),a=n.length,i="",s=0;for(let c=0;c<a;c++){let[p,d]=n[c];p===d?i+=p:p!=="0"||d!=="9"?i+=GV(p,d,r):s++}return s&&(i+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:i,count:[s],digits:a}}function RR(e,t,r,n){let a=UV(e,t),i=[],s=e,c;for(let p=0;p<a.length;p++){let d=a[p],m=MV(String(s),String(d),n),f="";if(!r.isPadded&&c&&c.pattern===m.pattern){c.count.length>1&&c.count.pop(),c.count.push(m.count[0]),c.string=c.pattern+CR(c.count),s=d+1;continue}r.isPadded&&(f=BV(d,r,n)),m.string=f+m.pattern+CR(m.count),i.push(m),s=d+1,c=m}return i}function Np(e,t,r,n,a){let i=[];for(let s of e){let{string:c}=s;!n&&!TR(t,"string",c)&&i.push(r+c),n&&TR(t,"string",c)&&i.push(r+c)}return i}function qV(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function kV(e,t){return e>t?1:t>e?-1:0}function TR(e,t,r){return e.some(n=>n[t]===r)}function bR(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function PR(e,t){return e-e%Math.pow(10,t)}function CR(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function GV(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function DR(e){return/^-?(0+)\d/.test(e)}function BV(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),a=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:return a?`0{0,${n}}`:`0{${n}}`}}Or.cache={};Or.clearCache=()=>Or.cache={};yR.exports=Or});var Tp=_((rle,GR)=>{"use strict";o();var HV=L("util"),FR=wR(),LR=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),jV=e=>t=>e===!0?Number(t):String(t),Ip=e=>typeof e=="number"||typeof e=="string"&&e!=="",la=e=>Number.isInteger(+e),Rp=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},WV=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,VV=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},zi=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},KV=(e,t,r)=>{e.negatives.sort((c,p)=>c<p?-1:c>p?1:0),e.positives.sort((c,p)=>c<p?-1:c>p?1:0);let n=t.capture?"":"?:",a="",i="",s;return e.positives.length&&(a=e.positives.map(c=>zi(String(c),r)).join("|")),e.negatives.length&&(i=`-(${n}${e.negatives.map(c=>zi(String(c),r)).join("|")})`),a&&i?s=`${a}|${i}`:s=a||i,t.wrap?`(${n}${s})`:s},UR=(e,t,r,n)=>{if(r)return FR(e,t,{wrap:!1,...n});let a=String.fromCharCode(e);if(e===t)return a;let i=String.fromCharCode(t);return`[${a}-${i}]`},MR=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,a=r.capture?"":"?:";return n?`(${a}${e.join("|")})`:e.join("|")}return FR(e,t,r)},qR=(...e)=>new RangeError("Invalid range arguments: "+HV.inspect(...e)),kR=(e,t,r)=>{if(r.strictRanges===!0)throw qR([e,t]);return[]},$V=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},YV=(e,t,r=1,n={})=>{let a=Number(e),i=Number(t);if(!Number.isInteger(a)||!Number.isInteger(i)){if(n.strictRanges===!0)throw qR([e,t]);return[]}a===0&&(a=0),i===0&&(i=0);let s=a>i,c=String(e),p=String(t),d=String(r);r=Math.max(Math.abs(r),1);let m=Rp(c)||Rp(p)||Rp(d),f=m?Math.max(c.length,p.length,d.length):0,h=m===!1&&WV(e,t,n)===!1,v=n.transform||jV(h);if(n.toRegex&&r===1)return UR(zi(e,f),zi(t,f),!0,n);let x={negatives:[],positives:[]},A=G=>x[G<0?"negatives":"positives"].push(Math.abs(G)),R=[],C=0;for(;s?a>=i:a<=i;)n.toRegex===!0&&r>1?A(a):R.push(VV(v(a,C),f,h)),a=s?a-r:a+r,C++;return n.toRegex===!0?r>1?KV(x,n,f):MR(R,null,{wrap:!1,...n}):R},zV=(e,t,r=1,n={})=>{if(!la(e)&&e.length>1||!la(t)&&t.length>1)return kR(e,t,n);let a=n.transform||(h=>String.fromCharCode(h)),i=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),c=i>s,p=Math.min(i,s),d=Math.max(i,s);if(n.toRegex&&r===1)return UR(p,d,!1,n);let m=[],f=0;for(;c?i>=s:i<=s;)m.push(a(i,f)),i=c?i-r:i+r,f++;return n.toRegex===!0?MR(m,null,{wrap:!1,options:n}):m},Yi=(e,t,r,n={})=>{if(t==null&&Ip(e))return[e];if(!Ip(e)||!Ip(t))return kR(e,t,n);if(typeof r=="function")return Yi(e,t,1,{transform:r});if(LR(r))return Yi(e,t,0,r);let a={...n};return a.capture===!0&&(a.wrap=!0),r=r||a.step||1,la(r)?la(e)&&la(t)?YV(e,t,r,a):zV(e,t,Math.max(Math.abs(r),1),a):r!=null&&!LR(r)?$V(r,a):Yi(e,t,1,r)};GR.exports=Yi});var jR=_((ale,HR)=>{"use strict";o();var XV=Tp(),BR=Ki(),JV=(e,t={})=>{let r=(n,a={})=>{let i=BR.isInvalidBrace(a),s=n.invalid===!0&&t.escapeInvalid===!0,c=i===!0||s===!0,p=t.escapeInvalid===!0?"\\":"",d="";if(n.isOpen===!0)return p+n.value;if(n.isClose===!0)return console.log("node.isClose",p,n.value),p+n.value;if(n.type==="open")return c?p+n.value:"(";if(n.type==="close")return c?p+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":c?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let m=BR.reduce(n.nodes),f=XV(...m,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(f.length!==0)return m.length>1&&f.length>1?`(${f})`:f}if(n.nodes)for(let m of n.nodes)d+=r(m,n);return d};return r(e)};HR.exports=JV});var KR=_((ole,VR)=>{"use strict";o();var QV=Tp(),WR=$i(),cn=Ki(),Sr=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?cn.flatten(t).map(a=>`{${a}}`):t;for(let a of e)if(Array.isArray(a))for(let i of a)n.push(Sr(i,t,r));else for(let i of t)r===!0&&typeof i=="string"&&(i=`{${i}}`),n.push(Array.isArray(i)?Sr(a,i,r):a+i);return cn.flatten(n)},ZV=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(a,i={})=>{a.queue=[];let s=i,c=i.queue;for(;s.type!=="brace"&&s.type!=="root"&&s.parent;)s=s.parent,c=s.queue;if(a.invalid||a.dollar){c.push(Sr(c.pop(),WR(a,t)));return}if(a.type==="brace"&&a.invalid!==!0&&a.nodes.length===2){c.push(Sr(c.pop(),["{}"]));return}if(a.nodes&&a.ranges>0){let f=cn.reduce(a.nodes);if(cn.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=QV(...f,t);h.length===0&&(h=WR(a,t)),c.push(Sr(c.pop(),h)),a.nodes=[];return}let p=cn.encloseBrace(a),d=a.queue,m=a;for(;m.type!=="brace"&&m.type!=="root"&&m.parent;)m=m.parent,d=m.queue;for(let f=0;f<a.nodes.length;f++){let h=a.nodes[f];if(h.type==="comma"&&a.type==="brace"){f===1&&d.push(""),d.push("");continue}if(h.type==="close"){c.push(Sr(c.pop(),d,p));continue}if(h.value&&h.type!=="open"){d.push(Sr(d.pop(),h.value));continue}h.nodes&&n(h,a)}return d};return cn.flatten(n(e))};VR.exports=ZV});var YR=_((cle,$R)=>{"use strict";o();$R.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:`
|
|
10
|
-
`,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 ZR=_((ule,QR)=>{"use strict";o();var eK=$i(),{MAX_LENGTH:zR,CHAR_BACKSLASH:bp,CHAR_BACKTICK:tK,CHAR_COMMA:rK,CHAR_DOT:nK,CHAR_LEFT_PARENTHESES:aK,CHAR_RIGHT_PARENTHESES:iK,CHAR_LEFT_CURLY_BRACE:oK,CHAR_RIGHT_CURLY_BRACE:sK,CHAR_LEFT_SQUARE_BRACKET:XR,CHAR_RIGHT_SQUARE_BRACKET:JR,CHAR_DOUBLE_QUOTE:cK,CHAR_SINGLE_QUOTE:pK,CHAR_NO_BREAK_SPACE:uK,CHAR_ZERO_WIDTH_NOBREAK_SPACE:lK}=YR(),dK=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(zR,r.maxLength):zR;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let a={type:"root",input:e,nodes:[]},i=[a],s=a,c=a,p=0,d=e.length,m=0,f=0,h,v=()=>e[m++],x=A=>{if(A.type==="text"&&c.type==="dot"&&(c.type="text"),c&&c.type==="text"&&A.type==="text"){c.value+=A.value;return}return s.nodes.push(A),A.parent=s,A.prev=c,c=A,A};for(x({type:"bos"});m<d;)if(s=i[i.length-1],h=v(),!(h===lK||h===uK)){if(h===bp){x({type:"text",value:(t.keepEscaping?h:"")+v()});continue}if(h===JR){x({type:"text",value:"\\"+h});continue}if(h===XR){p++;let A;for(;m<d&&(A=v());){if(h+=A,A===XR){p++;continue}if(A===bp){h+=v();continue}if(A===JR&&(p--,p===0))break}x({type:"text",value:h});continue}if(h===aK){s=x({type:"paren",nodes:[]}),i.push(s),x({type:"text",value:h});continue}if(h===iK){if(s.type!=="paren"){x({type:"text",value:h});continue}s=i.pop(),x({type:"text",value:h}),s=i[i.length-1];continue}if(h===cK||h===pK||h===tK){let A=h,R;for(t.keepQuotes!==!0&&(h="");m<d&&(R=v());){if(R===bp){h+=R+v();continue}if(R===A){t.keepQuotes===!0&&(h+=R);break}h+=R}x({type:"text",value:h});continue}if(h===oK){f++;let R={type:"brace",open:!0,close:!1,dollar:c.value&&c.value.slice(-1)==="$"||s.dollar===!0,depth:f,commas:0,ranges:0,nodes:[]};s=x(R),i.push(s),x({type:"open",value:h});continue}if(h===sK){if(s.type!=="brace"){x({type:"text",value:h});continue}let A="close";s=i.pop(),s.close=!0,x({type:A,value:h}),f--,s=i[i.length-1];continue}if(h===rK&&f>0){if(s.ranges>0){s.ranges=0;let A=s.nodes.shift();s.nodes=[A,{type:"text",value:eK(s)}]}x({type:"comma",value:h}),s.commas++;continue}if(h===nK&&f>0&&s.commas===0){let A=s.nodes;if(f===0||A.length===0){x({type:"text",value:h});continue}if(c.type==="dot"){if(s.range=[],c.value+=h,c.type="range",s.nodes.length!==3&&s.nodes.length!==5){s.invalid=!0,s.ranges=0,c.type="text";continue}s.ranges++,s.args=[];continue}if(c.type==="range"){A.pop();let R=A[A.length-1];R.value+=c.value+h,c=R,s.ranges--;continue}x({type:"dot",value:h});continue}x({type:"text",value:h})}do if(s=i.pop(),s.type!=="root"){s.nodes.forEach(C=>{C.nodes||(C.type==="open"&&(C.isOpen=!0),C.type==="close"&&(C.isClose=!0),C.nodes||(C.type="text"),C.invalid=!0)});let A=i[i.length-1],R=A.nodes.indexOf(s);A.nodes.splice(R,1,...s.nodes)}while(i.length>0);return x({type:"eos"}),a};QR.exports=dK});var Pp=_((dle,tT)=>{"use strict";o();var eT=$i(),mK=jR(),fK=KR(),hK=ZR(),at=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let a=at.create(n,t);Array.isArray(a)?r.push(...a):r.push(a)}else r=[].concat(at.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};at.parse=(e,t={})=>hK(e,t);at.stringify=(e,t={})=>eT(typeof e=="string"?at.parse(e,t):e,t);at.compile=(e,t={})=>(typeof e=="string"&&(e=at.parse(e,t)),mK(e,t));at.expand=(e,t={})=>{typeof e=="string"&&(e=at.parse(e,t));let r=fK(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);tT.exports=at});var da=_((fle,oT)=>{"use strict";o();var _K=L("path"),Tt="\\\\/",rT=`[^${Tt}]`,Mt="\\.",EK="\\+",vK="\\?",Xi="\\/",gK="(?=.)",nT="[^/]",Cp=`(?:${Xi}|$)`,aT=`(?:^|${Xi})`,Dp=`${Mt}{1,2}${Cp}`,xK=`(?!${Mt})`,AK=`(?!${aT}${Dp})`,OK=`(?!${Mt}{0,1}${Cp})`,SK=`(?!${Dp})`,NK=`[^.${Xi}]`,IK=`${nT}*?`,iT={DOT_LITERAL:Mt,PLUS_LITERAL:EK,QMARK_LITERAL:vK,SLASH_LITERAL:Xi,ONE_CHAR:gK,QMARK:nT,END_ANCHOR:Cp,DOTS_SLASH:Dp,NO_DOT:xK,NO_DOTS:AK,NO_DOT_SLASH:OK,NO_DOTS_SLASH:SK,QMARK_NO_DOT:NK,STAR:IK,START_ANCHOR:aT},RK={...iT,SLASH_LITERAL:`[${Tt}]`,QMARK:rT,STAR:`${rT}*?`,DOTS_SLASH:`${Mt}{1,2}(?:[${Tt}]|$)`,NO_DOT:`(?!${Mt})`,NO_DOTS:`(?!(?:^|[${Tt}])${Mt}{1,2}(?:[${Tt}]|$))`,NO_DOT_SLASH:`(?!${Mt}{0,1}(?:[${Tt}]|$))`,NO_DOTS_SLASH:`(?!${Mt}{1,2}(?:[${Tt}]|$))`,QMARK_NO_DOT:`[^.${Tt}]`,START_ANCHOR:`(?:^|[${Tt}])`,END_ANCHOR:`(?:[${Tt}]|$)`},TK={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"};oT.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:TK,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:_K.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?RK:iT}}});var ma=_(et=>{"use strict";o();var bK=L("path"),PK=process.platform==="win32",{REGEX_BACKSLASH:CK,REGEX_REMOVE_BACKSLASH:DK,REGEX_SPECIAL_CHARS:yK,REGEX_SPECIAL_CHARS_GLOBAL:wK}=da();et.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);et.hasRegexChars=e=>yK.test(e);et.isRegexChar=e=>e.length===1&&et.hasRegexChars(e);et.escapeRegex=e=>e.replace(wK,"\\$1");et.toPosixSlashes=e=>e.replace(CK,"/");et.removeBackslashes=e=>e.replace(DK,t=>t==="\\"?"":t);et.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};et.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:PK===!0||bK.sep==="\\";et.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?et.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};et.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};et.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",a=r.contains?"":"$",i=`${n}(?:${e})${a}`;return t.negated===!0&&(i=`(?:^(?!${i}).*$)`),i}});var fT=_((vle,mT)=>{"use strict";o();var sT=ma(),{CHAR_ASTERISK:yp,CHAR_AT:LK,CHAR_BACKWARD_SLASH:fa,CHAR_COMMA:FK,CHAR_DOT:wp,CHAR_EXCLAMATION_MARK:Lp,CHAR_FORWARD_SLASH:dT,CHAR_LEFT_CURLY_BRACE:Fp,CHAR_LEFT_PARENTHESES:Up,CHAR_LEFT_SQUARE_BRACKET:UK,CHAR_PLUS:MK,CHAR_QUESTION_MARK:cT,CHAR_RIGHT_CURLY_BRACE:qK,CHAR_RIGHT_PARENTHESES:pT,CHAR_RIGHT_SQUARE_BRACKET:kK}=da(),uT=e=>e===dT||e===fa,lT=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},GK=(e,t)=>{let r=t||{},n=e.length-1,a=r.parts===!0||r.scanToEnd===!0,i=[],s=[],c=[],p=e,d=-1,m=0,f=0,h=!1,v=!1,x=!1,A=!1,R=!1,C=!1,G=!1,B=!1,K=!1,U=!1,X=0,V,F,Q={value:"",depth:0,isGlob:!1},ge=()=>d>=n,I=()=>p.charCodeAt(d+1),ae=()=>(V=F,p.charCodeAt(++d));for(;d<n;){F=ae();let ue;if(F===fa){G=Q.backslashes=!0,F=ae(),F===Fp&&(C=!0);continue}if(C===!0||F===Fp){for(X++;ge()!==!0&&(F=ae());){if(F===fa){G=Q.backslashes=!0,ae();continue}if(F===Fp){X++;continue}if(C!==!0&&F===wp&&(F=ae())===wp){if(h=Q.isBrace=!0,x=Q.isGlob=!0,U=!0,a===!0)continue;break}if(C!==!0&&F===FK){if(h=Q.isBrace=!0,x=Q.isGlob=!0,U=!0,a===!0)continue;break}if(F===qK&&(X--,X===0)){C=!1,h=Q.isBrace=!0,U=!0;break}}if(a===!0)continue;break}if(F===dT){if(i.push(d),s.push(Q),Q={value:"",depth:0,isGlob:!1},U===!0)continue;if(V===wp&&d===m+1){m+=2;continue}f=d+1;continue}if(r.noext!==!0&&(F===MK||F===LK||F===yp||F===cT||F===Lp)===!0&&I()===Up){if(x=Q.isGlob=!0,A=Q.isExtglob=!0,U=!0,F===Lp&&d===m&&(K=!0),a===!0){for(;ge()!==!0&&(F=ae());){if(F===fa){G=Q.backslashes=!0,F=ae();continue}if(F===pT){x=Q.isGlob=!0,U=!0;break}}continue}break}if(F===yp){if(V===yp&&(R=Q.isGlobstar=!0),x=Q.isGlob=!0,U=!0,a===!0)continue;break}if(F===cT){if(x=Q.isGlob=!0,U=!0,a===!0)continue;break}if(F===UK){for(;ge()!==!0&&(ue=ae());){if(ue===fa){G=Q.backslashes=!0,ae();continue}if(ue===kK){v=Q.isBracket=!0,x=Q.isGlob=!0,U=!0;break}}if(a===!0)continue;break}if(r.nonegate!==!0&&F===Lp&&d===m){B=Q.negated=!0,m++;continue}if(r.noparen!==!0&&F===Up){if(x=Q.isGlob=!0,a===!0){for(;ge()!==!0&&(F=ae());){if(F===Up){G=Q.backslashes=!0,F=ae();continue}if(F===pT){U=!0;break}}continue}break}if(x===!0){if(U=!0,a===!0)continue;break}}r.noext===!0&&(A=!1,x=!1);let re=p,ht="",O="";m>0&&(ht=p.slice(0,m),p=p.slice(m),f-=m),re&&x===!0&&f>0?(re=p.slice(0,f),O=p.slice(f)):x===!0?(re="",O=p):re=p,re&&re!==""&&re!=="/"&&re!==p&&uT(re.charCodeAt(re.length-1))&&(re=re.slice(0,-1)),r.unescape===!0&&(O&&(O=sT.removeBackslashes(O)),re&&G===!0&&(re=sT.removeBackslashes(re)));let S={prefix:ht,input:e,start:m,base:re,glob:O,isBrace:h,isBracket:v,isGlob:x,isExtglob:A,isGlobstar:R,negated:B,negatedExtglob:K};if(r.tokens===!0&&(S.maxDepth=0,uT(F)||s.push(Q),S.tokens=s),r.parts===!0||r.tokens===!0){let ue;for(let M=0;M<i.length;M++){let Te=ue?ue+1:m,Be=i[M],be=e.slice(Te,Be);r.tokens&&(M===0&&m!==0?(s[M].isPrefix=!0,s[M].value=ht):s[M].value=be,lT(s[M]),S.maxDepth+=s[M].depth),(M!==0||be!=="")&&c.push(be),ue=Be}if(ue&&ue+1<e.length){let M=e.slice(ue+1);c.push(M),r.tokens&&(s[s.length-1].value=M,lT(s[s.length-1]),S.maxDepth+=s[s.length-1].depth)}S.slashes=i,S.parts=c}return S};mT.exports=GK});var ET=_((xle,_T)=>{"use strict";o();var Ji=da(),it=ma(),{MAX_LENGTH:Qi,POSIX_REGEX_SOURCE:BK,REGEX_NON_SPECIAL_CHARS:HK,REGEX_SPECIAL_CHARS_BACKREF:jK,REPLACEMENTS:hT}=Ji,WK=(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(a=>it.escapeRegex(a)).join("..")}return r},pn=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Mp=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=hT[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(Qi,r.maxLength):Qi,a=e.length;if(a>n)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${n}`);let i={type:"bos",value:"",output:r.prepend||""},s=[i],c=r.capture?"":"?:",p=it.isWindows(t),d=Ji.globChars(p),m=Ji.extglobChars(d),{DOT_LITERAL:f,PLUS_LITERAL:h,SLASH_LITERAL:v,ONE_CHAR:x,DOTS_SLASH:A,NO_DOT:R,NO_DOT_SLASH:C,NO_DOTS_SLASH:G,QMARK:B,QMARK_NO_DOT:K,STAR:U,START_ANCHOR:X}=d,V=D=>`(${c}(?:(?!${X}${D.dot?A:f}).)*?)`,F=r.dot?"":R,Q=r.dot?B:K,ge=r.bash===!0?V(r):U;r.capture&&(ge=`(${ge})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let I={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:s};e=it.removePrefix(e,I),a=e.length;let ae=[],re=[],ht=[],O=i,S,ue=()=>I.index===a-1,M=I.peek=(D=1)=>e[I.index+D],Te=I.advance=()=>e[++I.index]||"",Be=()=>e.slice(I.index+1),be=(D="",se=0)=>{I.consumed+=D,I.index+=se},cr=D=>{I.output+=D.output!=null?D.output:D.value,be(D.value)},ka=()=>{let D=1;for(;M()==="!"&&(M(2)!=="("||M(3)==="?");)Te(),I.start++,D++;return D%2===0?!1:(I.negated=!0,I.start++,!0)},pr=D=>{I[D]++,ht.push(D)},Pe=D=>{I[D]--,ht.pop()},z=D=>{if(O.type==="globstar"){let se=I.braces>0&&(D.type==="comma"||D.type==="brace"),b=D.extglob===!0||ae.length&&(D.type==="pipe"||D.type==="paren");D.type!=="slash"&&D.type!=="paren"&&!se&&!b&&(I.output=I.output.slice(0,-O.output.length),O.type="star",O.value="*",O.output=ge,I.output+=O.output)}if(ae.length&&D.type!=="paren"&&(ae[ae.length-1].inner+=D.value),(D.value||D.output)&&cr(D),O&&O.type==="text"&&D.type==="text"){O.value+=D.value,O.output=(O.output||"")+D.value;return}D.prev=O,s.push(D),O=D},Ga=(D,se)=>{let b={...m[se],conditions:1,inner:""};b.prev=O,b.parens=I.parens,b.output=I.output;let Y=(r.capture?"(":"")+b.open;pr("parens"),z({type:D,value:se,output:I.output?"":x}),z({type:"paren",extglob:!0,value:Te(),output:Y}),ae.push(b)},rU=D=>{let se=D.close+(r.capture?")":""),b;if(D.type==="negate"){let Y=ge;if(D.inner&&D.inner.length>1&&D.inner.includes("/")&&(Y=V(r)),(Y!==ge||ue()||/^\)+$/.test(Be()))&&(se=D.close=`)$))${Y}`),D.inner.includes("*")&&(b=Be())&&/^\.[^\\/.]+$/.test(b)){let de=Mp(b,{...t,fastpaths:!1}).output;se=D.close=`)${de})${Y})`}D.prev.type==="bos"&&(I.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:S,output:se}),Pe("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let D=!1,se=e.replace(jK,(b,Y,de,He,Ne,Qo)=>He==="\\"?(D=!0,b):He==="?"?Y?Y+He+(Ne?B.repeat(Ne.length):""):Qo===0?Q+(Ne?B.repeat(Ne.length):""):B.repeat(de.length):He==="."?f.repeat(de.length):He==="*"?Y?Y+He+(Ne?ge:""):ge:Y?b:`\\${b}`);return D===!0&&(r.unescape===!0?se=se.replace(/\\/g,""):se=se.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),se===e&&r.contains===!0?(I.output=e,I):(I.output=it.wrapOutput(se,I,t),I)}for(;!ue();){if(S=Te(),S==="\0")continue;if(S==="\\"){let b=M();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){S+="\\",z({type:"text",value:S});continue}let Y=/^\\+/.exec(Be()),de=0;if(Y&&Y[0].length>2&&(de=Y[0].length,I.index+=de,de%2!==0&&(S+="\\")),r.unescape===!0?S=Te():S+=Te(),I.brackets===0){z({type:"text",value:S});continue}}if(I.brackets>0&&(S!=="]"||O.value==="["||O.value==="[^")){if(r.posix!==!1&&S===":"){let b=O.value.slice(1);if(b.includes("[")&&(O.posix=!0,b.includes(":"))){let Y=O.value.lastIndexOf("["),de=O.value.slice(0,Y),He=O.value.slice(Y+2),Ne=BK[He];if(Ne){O.value=de+Ne,I.backtrack=!0,Te(),!i.output&&s.indexOf(O)===1&&(i.output=x);continue}}}(S==="["&&M()!==":"||S==="-"&&M()==="]")&&(S=`\\${S}`),S==="]"&&(O.value==="["||O.value==="[^")&&(S=`\\${S}`),r.posix===!0&&S==="!"&&O.value==="["&&(S="^"),O.value+=S,cr({value:S});continue}if(I.quotes===1&&S!=='"'){S=it.escapeRegex(S),O.value+=S,cr({value:S});continue}if(S==='"'){I.quotes=I.quotes===1?0:1,r.keepQuotes===!0&&z({type:"text",value:S});continue}if(S==="("){pr("parens"),z({type:"paren",value:S});continue}if(S===")"){if(I.parens===0&&r.strictBrackets===!0)throw new SyntaxError(pn("opening","("));let b=ae[ae.length-1];if(b&&I.parens===b.parens+1){rU(ae.pop());continue}z({type:"paren",value:S,output:I.parens?")":"\\)"}),Pe("parens");continue}if(S==="["){if(r.nobracket===!0||!Be().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(pn("closing","]"));S=`\\${S}`}else pr("brackets");z({type:"bracket",value:S});continue}if(S==="]"){if(r.nobracket===!0||O&&O.type==="bracket"&&O.value.length===1){z({type:"text",value:S,output:`\\${S}`});continue}if(I.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(pn("opening","["));z({type:"text",value:S,output:`\\${S}`});continue}Pe("brackets");let b=O.value.slice(1);if(O.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(S=`/${S}`),O.value+=S,cr({value:S}),r.literalBrackets===!1||it.hasRegexChars(b))continue;let Y=it.escapeRegex(O.value);if(I.output=I.output.slice(0,-O.value.length),r.literalBrackets===!0){I.output+=Y,O.value=Y;continue}O.value=`(${c}${Y}|${O.value})`,I.output+=O.value;continue}if(S==="{"&&r.nobrace!==!0){pr("braces");let b={type:"brace",value:S,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};re.push(b),z(b);continue}if(S==="}"){let b=re[re.length-1];if(r.nobrace===!0||!b){z({type:"text",value:S,output:S});continue}let Y=")";if(b.dots===!0){let de=s.slice(),He=[];for(let Ne=de.length-1;Ne>=0&&(s.pop(),de[Ne].type!=="brace");Ne--)de[Ne].type!=="dots"&&He.unshift(de[Ne].value);Y=WK(He,r),I.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let de=I.output.slice(0,b.outputIndex),He=I.tokens.slice(b.tokensIndex);b.value=b.output="\\{",S=Y="\\}",I.output=de;for(let Ne of He)I.output+=Ne.output||Ne.value}z({type:"brace",value:S,output:Y}),Pe("braces"),re.pop();continue}if(S==="|"){ae.length>0&&ae[ae.length-1].conditions++,z({type:"text",value:S});continue}if(S===","){let b=S,Y=re[re.length-1];Y&&ht[ht.length-1]==="braces"&&(Y.comma=!0,b="|"),z({type:"comma",value:S,output:b});continue}if(S==="/"){if(O.type==="dot"&&I.index===I.start+1){I.start=I.index+1,I.consumed="",I.output="",s.pop(),O=i;continue}z({type:"slash",value:S,output:v});continue}if(S==="."){if(I.braces>0&&O.type==="dot"){O.value==="."&&(O.output=f);let b=re[re.length-1];O.type="dots",O.output+=S,O.value+=S,b.dots=!0;continue}if(I.braces+I.parens===0&&O.type!=="bos"&&O.type!=="slash"){z({type:"text",value:S,output:f});continue}z({type:"dot",value:S,output:f});continue}if(S==="?"){if(!(O&&O.value==="(")&&r.noextglob!==!0&&M()==="("&&M(2)!=="?"){Ga("qmark",S);continue}if(O&&O.type==="paren"){let Y=M(),de=S;if(Y==="<"&&!it.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(O.value==="("&&!/[!=<:]/.test(Y)||Y==="<"&&!/<([!=]|\w+>)/.test(Be()))&&(de=`\\${S}`),z({type:"text",value:S,output:de});continue}if(r.dot!==!0&&(O.type==="slash"||O.type==="bos")){z({type:"qmark",value:S,output:K});continue}z({type:"qmark",value:S,output:B});continue}if(S==="!"){if(r.noextglob!==!0&&M()==="("&&(M(2)!=="?"||!/[!=<:]/.test(M(3)))){Ga("negate",S);continue}if(r.nonegate!==!0&&I.index===0){ka();continue}}if(S==="+"){if(r.noextglob!==!0&&M()==="("&&M(2)!=="?"){Ga("plus",S);continue}if(O&&O.value==="("||r.regex===!1){z({type:"plus",value:S,output:h});continue}if(O&&(O.type==="bracket"||O.type==="paren"||O.type==="brace")||I.parens>0){z({type:"plus",value:S});continue}z({type:"plus",value:h});continue}if(S==="@"){if(r.noextglob!==!0&&M()==="("&&M(2)!=="?"){z({type:"at",extglob:!0,value:S,output:""});continue}z({type:"text",value:S});continue}if(S!=="*"){(S==="$"||S==="^")&&(S=`\\${S}`);let b=HK.exec(Be());b&&(S+=b[0],I.index+=b[0].length),z({type:"text",value:S});continue}if(O&&(O.type==="globstar"||O.star===!0)){O.type="star",O.star=!0,O.value+=S,O.output=ge,I.backtrack=!0,I.globstar=!0,be(S);continue}let D=Be();if(r.noextglob!==!0&&/^\([^?]/.test(D)){Ga("star",S);continue}if(O.type==="star"){if(r.noglobstar===!0){be(S);continue}let b=O.prev,Y=b.prev,de=b.type==="slash"||b.type==="bos",He=Y&&(Y.type==="star"||Y.type==="globstar");if(r.bash===!0&&(!de||D[0]&&D[0]!=="/")){z({type:"star",value:S,output:""});continue}let Ne=I.braces>0&&(b.type==="comma"||b.type==="brace"),Qo=ae.length&&(b.type==="pipe"||b.type==="paren");if(!de&&b.type!=="paren"&&!Ne&&!Qo){z({type:"star",value:S,output:""});continue}for(;D.slice(0,3)==="/**";){let Ba=e[I.index+4];if(Ba&&Ba!=="/")break;D=D.slice(3),be("/**",3)}if(b.type==="bos"&&ue()){O.type="globstar",O.value+=S,O.output=V(r),I.output=O.output,I.globstar=!0,be(S);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!He&&ue()){I.output=I.output.slice(0,-(b.output+O.output).length),b.output=`(?:${b.output}`,O.type="globstar",O.output=V(r)+(r.strictSlashes?")":"|$)"),O.value+=S,I.globstar=!0,I.output+=b.output+O.output,be(S);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&D[0]==="/"){let Ba=D[1]!==void 0?"|$":"";I.output=I.output.slice(0,-(b.output+O.output).length),b.output=`(?:${b.output}`,O.type="globstar",O.output=`${V(r)}${v}|${v}${Ba})`,O.value+=S,I.output+=b.output+O.output,I.globstar=!0,be(S+Te()),z({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&D[0]==="/"){O.type="globstar",O.value+=S,O.output=`(?:^|${v}|${V(r)}${v})`,I.output=O.output,I.globstar=!0,be(S+Te()),z({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-O.output.length),O.type="globstar",O.output=V(r),O.value+=S,I.output+=O.output,I.globstar=!0,be(S);continue}let se={type:"star",value:S,output:ge};if(r.bash===!0){se.output=".*?",(O.type==="bos"||O.type==="slash")&&(se.output=F+se.output),z(se);continue}if(O&&(O.type==="bracket"||O.type==="paren")&&r.regex===!0){se.output=S,z(se);continue}(I.index===I.start||O.type==="slash"||O.type==="dot")&&(O.type==="dot"?(I.output+=C,O.output+=C):r.dot===!0?(I.output+=G,O.output+=G):(I.output+=F,O.output+=F),M()!=="*"&&(I.output+=x,O.output+=x)),z(se)}for(;I.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(pn("closing","]"));I.output=it.escapeLast(I.output,"["),Pe("brackets")}for(;I.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(pn("closing",")"));I.output=it.escapeLast(I.output,"("),Pe("parens")}for(;I.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(pn("closing","}"));I.output=it.escapeLast(I.output,"{"),Pe("braces")}if(r.strictSlashes!==!0&&(O.type==="star"||O.type==="bracket")&&z({type:"maybe_slash",value:"",output:`${v}?`}),I.backtrack===!0){I.output="";for(let D of I.tokens)I.output+=D.output!=null?D.output:D.value,D.suffix&&(I.output+=D.suffix)}return I};Mp.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(Qi,r.maxLength):Qi,a=e.length;if(a>n)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${n}`);e=hT[e]||e;let i=it.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:c,ONE_CHAR:p,DOTS_SLASH:d,NO_DOT:m,NO_DOTS:f,NO_DOTS_SLASH:h,STAR:v,START_ANCHOR:x}=Ji.globChars(i),A=r.dot?f:m,R=r.dot?h:m,C=r.capture?"":"?:",G={negated:!1,prefix:""},B=r.bash===!0?".*?":v;r.capture&&(B=`(${B})`);let K=F=>F.noglobstar===!0?B:`(${C}(?:(?!${x}${F.dot?d:s}).)*?)`,U=F=>{switch(F){case"*":return`${A}${p}${B}`;case".*":return`${s}${p}${B}`;case"*.*":return`${A}${B}${s}${p}${B}`;case"*/*":return`${A}${B}${c}${p}${R}${B}`;case"**":return A+K(r);case"**/*":return`(?:${A}${K(r)}${c})?${R}${p}${B}`;case"**/*.*":return`(?:${A}${K(r)}${c})?${R}${B}${s}${p}${B}`;case"**/.*":return`(?:${A}${K(r)}${c})?${s}${p}${B}`;default:{let Q=/^(.*?)\.(\w+)$/.exec(F);if(!Q)return;let ge=U(Q[1]);return ge?ge+s+Q[2]:void 0}}},X=it.removePrefix(e,G),V=U(X);return V&&r.strictSlashes!==!0&&(V+=`${c}?`),V};_T.exports=Mp});var gT=_((Ole,vT)=>{"use strict";o();var VK=L("path"),KK=fT(),qp=ET(),kp=ma(),$K=da(),YK=e=>e&&typeof e=="object"&&!Array.isArray(e),ve=(e,t,r=!1)=>{if(Array.isArray(e)){let m=e.map(h=>ve(h,t,r));return h=>{for(let v of m){let x=v(h);if(x)return x}return!1}}let n=YK(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let a=t||{},i=kp.isWindows(t),s=n?ve.compileRe(e,t):ve.makeRe(e,t,!1,!0),c=s.state;delete s.state;let p=()=>!1;if(a.ignore){let m={...t,ignore:null,onMatch:null,onResult:null};p=ve(a.ignore,m,r)}let d=(m,f=!1)=>{let{isMatch:h,match:v,output:x}=ve.test(m,s,t,{glob:e,posix:i}),A={glob:e,state:c,regex:s,posix:i,input:m,output:x,match:v,isMatch:h};return typeof a.onResult=="function"&&a.onResult(A),h===!1?(A.isMatch=!1,f?A:!1):p(m)?(typeof a.onIgnore=="function"&&a.onIgnore(A),A.isMatch=!1,f?A:!1):(typeof a.onMatch=="function"&&a.onMatch(A),f?A:!0)};return r&&(d.state=c),d};ve.test=(e,t,r,{glob:n,posix:a}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let i=r||{},s=i.format||(a?kp.toPosixSlashes:null),c=e===n,p=c&&s?s(e):e;return c===!1&&(p=s?s(e):e,c=p===n),(c===!1||i.capture===!0)&&(i.matchBase===!0||i.basename===!0?c=ve.matchBase(e,t,r,a):c=t.exec(p)),{isMatch:!!c,match:c,output:p}};ve.matchBase=(e,t,r,n=kp.isWindows(r))=>(t instanceof RegExp?t:ve.makeRe(t,r)).test(VK.basename(e));ve.isMatch=(e,t,r)=>ve(t,r)(e);ve.parse=(e,t)=>Array.isArray(e)?e.map(r=>ve.parse(r,t)):qp(e,{...t,fastpaths:!1});ve.scan=(e,t)=>KK(e,t);ve.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let a=t||{},i=a.contains?"":"^",s=a.contains?"":"$",c=`${i}(?:${e.output})${s}`;e&&e.negated===!0&&(c=`^(?!${c}).*$`);let p=ve.toRegex(c,t);return n===!0&&(p.state=e),p};ve.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let a={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(a.output=qp.fastpaths(e,t)),a.output||(a=qp(e,t)),ve.compileRe(a,t,r,n)};ve.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/$^/}};ve.constants=$K;vT.exports=ve});var Zi=_((Nle,xT)=>{"use strict";o();xT.exports=gT()});var IT=_((Rle,NT)=>{"use strict";o();var OT=L("util"),ST=Pp(),bt=Zi(),Gp=ma(),AT=e=>e===""||e==="./",le=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,a=new Set,i=new Set,s=0,c=m=>{i.add(m.output),r&&r.onResult&&r.onResult(m)};for(let m=0;m<t.length;m++){let f=bt(String(t[m]),{...r,onResult:c},!0),h=f.state.negated||f.state.negatedExtglob;h&&s++;for(let v of e){let x=f(v,!0);(h?!x.isMatch:x.isMatch)&&(h?n.add(x.output):(n.delete(x.output),a.add(x.output)))}}let d=(s===t.length?[...i]:[...a]).filter(m=>!n.has(m));if(r&&d.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(m=>m.replace(/\\/g,"")):t}return d};le.match=le;le.matcher=(e,t)=>bt(e,t);le.isMatch=(e,t,r)=>bt(t,r)(e);le.any=le.isMatch;le.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,a=[],i=c=>{r.onResult&&r.onResult(c),a.push(c.output)},s=new Set(le(e,t,{...r,onResult:i}));for(let c of a)s.has(c)||n.add(c);return[...n]};le.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${OT.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>le.contains(e,n,r));if(typeof t=="string"){if(AT(e)||AT(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return le.isMatch(e,t,{...r,contains:!0})};le.matchKeys=(e,t,r)=>{if(!Gp.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=le(Object.keys(e),t,r),a={};for(let i of n)a[i]=e[i];return a};le.some=(e,t,r)=>{let n=[].concat(e);for(let a of[].concat(t)){let i=bt(String(a),r);if(n.some(s=>i(s)))return!0}return!1};le.every=(e,t,r)=>{let n=[].concat(e);for(let a of[].concat(t)){let i=bt(String(a),r);if(!n.every(s=>i(s)))return!1}return!0};le.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${OT.inspect(e)}"`);return[].concat(t).every(n=>bt(n,r)(e))};le.capture=(e,t,r)=>{let n=Gp.isWindows(r),i=bt.makeRe(String(e),{...r,capture:!0}).exec(n?Gp.toPosixSlashes(t):t);if(i)return i.slice(1).map(s=>s===void 0?"":s)};le.makeRe=(...e)=>bt.makeRe(...e);le.scan=(...e)=>bt.scan(...e);le.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let a of ST(String(n),t))r.push(bt.parse(a,t));return r};le.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:ST(e,t)};le.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return le.braces(e,{...t,expand:!0})};NT.exports=le});var wT=_(W=>{"use strict";o();Object.defineProperty(W,"__esModule",{value:!0});W.removeDuplicateSlashes=W.matchAny=W.convertPatternsToRe=W.makeRe=W.getPatternParts=W.expandBraceExpansion=W.expandPatternsWithBraceExpansion=W.isAffectDepthOfReadingPattern=W.endsWithSlashGlobStar=W.hasGlobStar=W.getBaseDirectory=W.isPatternRelatedToParentDirectory=W.getPatternsOutsideCurrentDirectory=W.getPatternsInsideCurrentDirectory=W.getPositivePatterns=W.getNegativePatterns=W.isPositivePattern=W.isNegativePattern=W.convertToNegativePattern=W.convertToPositivePattern=W.isDynamicPattern=W.isStaticPattern=void 0;var zK=L("path"),XK=Sp(),Bp=IT(),RT="**",JK="\\",QK=/[*?]|^!/,ZK=/\[[^[]*]/,e2=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,t2=/[!*+?@]\([^(]*\)/,r2=/,|\.\./,n2=/(?!^)\/{2,}/g;function TT(e,t={}){return!bT(e,t)}W.isStaticPattern=TT;function bT(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(JK)||QK.test(e)||ZK.test(e)||e2.test(e)||t.extglob!==!1&&t2.test(e)||t.braceExpansion!==!1&&a2(e))}W.isDynamicPattern=bT;function a2(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return r2.test(n)}function i2(e){return eo(e)?e.slice(1):e}W.convertToPositivePattern=i2;function o2(e){return"!"+e}W.convertToNegativePattern=o2;function eo(e){return e.startsWith("!")&&e[1]!=="("}W.isNegativePattern=eo;function PT(e){return!eo(e)}W.isPositivePattern=PT;function s2(e){return e.filter(eo)}W.getNegativePatterns=s2;function c2(e){return e.filter(PT)}W.getPositivePatterns=c2;function p2(e){return e.filter(t=>!Hp(t))}W.getPatternsInsideCurrentDirectory=p2;function u2(e){return e.filter(Hp)}W.getPatternsOutsideCurrentDirectory=u2;function Hp(e){return e.startsWith("..")||e.startsWith("./..")}W.isPatternRelatedToParentDirectory=Hp;function l2(e){return XK(e,{flipBackslashes:!1})}W.getBaseDirectory=l2;function d2(e){return e.includes(RT)}W.hasGlobStar=d2;function CT(e){return e.endsWith("/"+RT)}W.endsWithSlashGlobStar=CT;function m2(e){let t=zK.basename(e);return CT(e)||TT(t)}W.isAffectDepthOfReadingPattern=m2;function f2(e){return e.reduce((t,r)=>t.concat(DT(r)),[])}W.expandPatternsWithBraceExpansion=f2;function DT(e){let t=Bp.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((r,n)=>r.length-n.length),t.filter(r=>r!=="")}W.expandBraceExpansion=DT;function h2(e,t){let{parts:r}=Bp.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}W.getPatternParts=h2;function yT(e,t){return Bp.makeRe(e,t)}W.makeRe=yT;function _2(e,t){return e.map(r=>yT(r,t))}W.convertPatternsToRe=_2;function E2(e,t){return t.some(r=>r.test(e))}W.matchAny=E2;function v2(e){return e.replace(n2,"/")}W.removeDuplicateSlashes=v2});var FT=_(to=>{"use strict";o();Object.defineProperty(to,"__esModule",{value:!0});to.merge=void 0;var g2=Ep();function x2(e){let t=g2(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>LT(e)),t.once("end",()=>LT(e)),t}to.merge=x2;function LT(e){e.forEach(t=>t.emit("close"))}});var UT=_(un=>{"use strict";o();Object.defineProperty(un,"__esModule",{value:!0});un.isEmpty=un.isString=void 0;function A2(e){return typeof e=="string"}un.isString=A2;function O2(e){return e===""}un.isEmpty=O2});var qt=_(ke=>{"use strict";o();Object.defineProperty(ke,"__esModule",{value:!0});ke.string=ke.stream=ke.pattern=ke.path=ke.fs=ke.errno=ke.array=void 0;var S2=pR();ke.array=S2;var N2=uR();ke.errno=N2;var I2=lR();ke.fs=I2;var R2=hR();ke.path=R2;var T2=wT();ke.pattern=T2;var b2=FT();ke.stream=b2;var P2=UT();ke.string=P2});var GT=_(Ge=>{"use strict";o();Object.defineProperty(Ge,"__esModule",{value:!0});Ge.convertPatternGroupToTask=Ge.convertPatternGroupsToTasks=Ge.groupPatternsByBaseDirectory=Ge.getNegativePatternsAsPositive=Ge.getPositivePatterns=Ge.convertPatternsToTasks=Ge.generate=void 0;var gt=qt();function C2(e,t){let r=MT(e,t),n=MT(t.ignore,t),a=qT(r),i=kT(r,n),s=a.filter(m=>gt.pattern.isStaticPattern(m,t)),c=a.filter(m=>gt.pattern.isDynamicPattern(m,t)),p=jp(s,i,!1),d=jp(c,i,!0);return p.concat(d)}Ge.generate=C2;function MT(e,t){let r=e;return t.braceExpansion&&(r=gt.pattern.expandPatternsWithBraceExpansion(r)),t.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>gt.pattern.removeDuplicateSlashes(n))}function jp(e,t,r){let n=[],a=gt.pattern.getPatternsOutsideCurrentDirectory(e),i=gt.pattern.getPatternsInsideCurrentDirectory(e),s=Wp(a),c=Wp(i);return n.push(...Vp(s,t,r)),"."in c?n.push(Kp(".",i,t,r)):n.push(...Vp(c,t,r)),n}Ge.convertPatternsToTasks=jp;function qT(e){return gt.pattern.getPositivePatterns(e)}Ge.getPositivePatterns=qT;function kT(e,t){return gt.pattern.getNegativePatterns(e).concat(t).map(gt.pattern.convertToPositivePattern)}Ge.getNegativePatternsAsPositive=kT;function Wp(e){let t={};return e.reduce((r,n)=>{let a=gt.pattern.getBaseDirectory(n);return a in r?r[a].push(n):r[a]=[n],r},t)}Ge.groupPatternsByBaseDirectory=Wp;function Vp(e,t,r){return Object.keys(e).map(n=>Kp(n,e[n],t,r))}Ge.convertPatternGroupsToTasks=Vp;function Kp(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(gt.pattern.convertToNegativePattern))}}Ge.convertPatternGroupToTask=Kp});var HT=_(ro=>{"use strict";o();Object.defineProperty(ro,"__esModule",{value:!0});ro.read=void 0;function D2(e,t,r){t.fs.lstat(e,(n,a)=>{if(n!==null){BT(r,n);return}if(!a.isSymbolicLink()||!t.followSymbolicLink){$p(r,a);return}t.fs.stat(e,(i,s)=>{if(i!==null){if(t.throwErrorOnBrokenSymbolicLink){BT(r,i);return}$p(r,a);return}t.markSymbolicLink&&(s.isSymbolicLink=()=>!0),$p(r,s)})})}ro.read=D2;function BT(e,t){e(t)}function $p(e,t){e(null,t)}});var jT=_(no=>{"use strict";o();Object.defineProperty(no,"__esModule",{value:!0});no.read=void 0;function y2(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}no.read=y2});var WT=_(er=>{"use strict";o();Object.defineProperty(er,"__esModule",{value:!0});er.createFileSystemAdapter=er.FILE_SYSTEM_ADAPTER=void 0;var ao=L("fs");er.FILE_SYSTEM_ADAPTER={lstat:ao.lstat,stat:ao.stat,lstatSync:ao.lstatSync,statSync:ao.statSync};function w2(e){return e===void 0?er.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},er.FILE_SYSTEM_ADAPTER),e)}er.createFileSystemAdapter=w2});var VT=_(zp=>{"use strict";o();Object.defineProperty(zp,"__esModule",{value:!0});var L2=WT(),Yp=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=L2.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}};zp.default=Yp});var Nr=_(tr=>{"use strict";o();Object.defineProperty(tr,"__esModule",{value:!0});tr.statSync=tr.stat=tr.Settings=void 0;var KT=HT(),F2=jT(),Xp=VT();tr.Settings=Xp.default;function U2(e,t,r){if(typeof t=="function"){KT.read(e,Jp(),t);return}KT.read(e,Jp(t),r)}tr.stat=U2;function M2(e,t){let r=Jp(t);return F2.read(e,r)}tr.statSync=M2;function Jp(e={}){return e instanceof Xp.default?e:new Xp.default(e)}});var zT=_((Yle,YT)=>{"use strict";o();var $T;YT.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>($T||($T=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var JT=_((Xle,XT)=>{"use strict";o();XT.exports=k2;var q2=zT();function k2(e,t){let r,n,a,i=!0;Array.isArray(e)?(r=[],n=e.length):(a=Object.keys(e),r={},n=a.length);function s(p){function d(){t&&t(p,r),t=null}i?q2(d):d()}function c(p,d,m){r[p]=m,(--n===0||d)&&s(d)}n?a?a.forEach(function(p){e[p](function(d,m){c(p,d,m)})}):e.forEach(function(p,d){p(function(m,f){c(d,m,f)})}):s(null),i=!1}});var Qp=_(oo=>{"use strict";o();Object.defineProperty(oo,"__esModule",{value:!0});oo.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var io=process.versions.node.split(".");if(io[0]===void 0||io[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var QT=Number.parseInt(io[0],10),G2=Number.parseInt(io[1],10),ZT=10,B2=10,H2=QT>ZT,j2=QT===ZT&&G2>=B2;oo.IS_SUPPORT_READDIR_WITH_FILE_TYPES=H2||j2});var eb=_(so=>{"use strict";o();Object.defineProperty(so,"__esModule",{value:!0});so.createDirentFromStats=void 0;var Zp=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 W2(e,t){return new Zp(e,t)}so.createDirentFromStats=W2});var eu=_(co=>{"use strict";o();Object.defineProperty(co,"__esModule",{value:!0});co.fs=void 0;var V2=eb();co.fs=V2});var tu=_(po=>{"use strict";o();Object.defineProperty(po,"__esModule",{value:!0});po.joinPathSegments=void 0;function K2(e,t,r){return e.endsWith(r)?e+t:e+r+t}po.joinPathSegments=K2});var ob=_(rr=>{"use strict";o();Object.defineProperty(rr,"__esModule",{value:!0});rr.readdir=rr.readdirWithFileTypes=rr.read=void 0;var $2=Nr(),tb=JT(),Y2=Qp(),rb=eu(),nb=tu();function z2(e,t,r){if(!t.stats&&Y2.IS_SUPPORT_READDIR_WITH_FILE_TYPES){ab(e,t,r);return}ib(e,t,r)}rr.read=z2;function ab(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,a)=>{if(n!==null){uo(r,n);return}let i=a.map(c=>({dirent:c,name:c.name,path:nb.joinPathSegments(e,c.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){ru(r,i);return}let s=i.map(c=>X2(c,t));tb(s,(c,p)=>{if(c!==null){uo(r,c);return}ru(r,p)})})}rr.readdirWithFileTypes=ab;function X2(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,a)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=rb.fs.createDirentFromStats(e.name,a),r(null,e)})}}function ib(e,t,r){t.fs.readdir(e,(n,a)=>{if(n!==null){uo(r,n);return}let i=a.map(s=>{let c=nb.joinPathSegments(e,s,t.pathSegmentSeparator);return p=>{$2.stat(c,t.fsStatSettings,(d,m)=>{if(d!==null){p(d);return}let f={name:s,path:c,dirent:rb.fs.createDirentFromStats(s,m)};t.stats&&(f.stats=m),p(null,f)})}});tb(i,(s,c)=>{if(s!==null){uo(r,s);return}ru(r,c)})})}rr.readdir=ib;function uo(e,t){e(t)}function ru(e,t){e(null,t)}});var lb=_(nr=>{"use strict";o();Object.defineProperty(nr,"__esModule",{value:!0});nr.readdir=nr.readdirWithFileTypes=nr.read=void 0;var J2=Nr(),Q2=Qp(),sb=eu(),cb=tu();function Z2(e,t){return!t.stats&&Q2.IS_SUPPORT_READDIR_WITH_FILE_TYPES?pb(e,t):ub(e,t)}nr.read=Z2;function pb(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let a={dirent:n,name:n.name,path:cb.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(a.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let i=t.fs.statSync(a.path);a.dirent=sb.fs.createDirentFromStats(a.name,i)}catch(i){if(t.throwErrorOnBrokenSymbolicLink)throw i}return a})}nr.readdirWithFileTypes=pb;function ub(e,t){return t.fs.readdirSync(e).map(n=>{let a=cb.joinPathSegments(e,n,t.pathSegmentSeparator),i=J2.statSync(a,t.fsStatSettings),s={name:n,path:a,dirent:sb.fs.createDirentFromStats(n,i)};return t.stats&&(s.stats=i),s})}nr.readdir=ub});var db=_(ar=>{"use strict";o();Object.defineProperty(ar,"__esModule",{value:!0});ar.createFileSystemAdapter=ar.FILE_SYSTEM_ADAPTER=void 0;var ln=L("fs");ar.FILE_SYSTEM_ADAPTER={lstat:ln.lstat,stat:ln.stat,lstatSync:ln.lstatSync,statSync:ln.statSync,readdir:ln.readdir,readdirSync:ln.readdirSync};function e$(e){return e===void 0?ar.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},ar.FILE_SYSTEM_ADAPTER),e)}ar.createFileSystemAdapter=e$});var mb=_(au=>{"use strict";o();Object.defineProperty(au,"__esModule",{value:!0});var t$=L("path"),r$=Nr(),n$=db(),nu=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=n$.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t$.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r$.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};au.default=nu});var lo=_(ir=>{"use strict";o();Object.defineProperty(ir,"__esModule",{value:!0});ir.Settings=ir.scandirSync=ir.scandir=void 0;var fb=ob(),a$=lb(),iu=mb();ir.Settings=iu.default;function i$(e,t,r){if(typeof t=="function"){fb.read(e,ou(),t);return}fb.read(e,ou(t),r)}ir.scandir=i$;function o$(e,t){let r=ou(t);return a$.read(e,r)}ir.scandirSync=o$;function ou(e={}){return e instanceof iu.default?e:new iu.default(e)}});var _b=_((_de,hb)=>{"use strict";o();function s$(e){var t=new e,r=t;function n(){var i=t;return i.next?t=i.next:(t=new e,r=t),i.next=null,i}function a(i){r.next=i,r=i}return{get:n,release:a}}hb.exports=s$});var vb=_((vde,su)=>{"use strict";o();var c$=_b();function Eb(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 n=c$(p$),a=null,i=null,s=0,c=null,p={push:A,drain:dt,saturated:dt,pause:m,paused:!1,concurrency:r,running:d,resume:v,idle:x,length:f,getQueue:h,unshift:R,empty:dt,kill:G,killAndDrain:B,error:K};return p;function d(){return s}function m(){p.paused=!0}function f(){for(var U=a,X=0;U;)U=U.next,X++;return X}function h(){for(var U=a,X=[];U;)X.push(U.value),U=U.next;return X}function v(){if(p.paused){p.paused=!1;for(var U=0;U<p.concurrency;U++)s++,C()}}function x(){return s===0&&p.length()===0}function A(U,X){var V=n.get();V.context=e,V.release=C,V.value=U,V.callback=X||dt,V.errorHandler=c,s===p.concurrency||p.paused?i?(i.next=V,i=V):(a=V,i=V,p.saturated()):(s++,t.call(e,V.value,V.worked))}function R(U,X){var V=n.get();V.context=e,V.release=C,V.value=U,V.callback=X||dt,s===p.concurrency||p.paused?a?(V.next=a,a=V):(a=V,i=V,p.saturated()):(s++,t.call(e,V.value,V.worked))}function C(U){U&&n.release(U);var X=a;X?p.paused?s--:(i===a&&(i=null),a=X.next,X.next=null,t.call(e,X.value,X.worked),i===null&&p.empty()):--s===0&&p.drain()}function G(){a=null,i=null,p.drain=dt}function B(){a=null,i=null,p.drain(),p.drain=dt}function K(U){c=U}}function dt(){}function p$(){this.value=null,this.callback=dt,this.next=null,this.release=dt,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var a=e.callback,i=e.errorHandler,s=e.value;e.value=null,e.callback=dt,e.errorHandler&&i(r,s),a.call(e.context,r,n),e.release(e)}}function u$(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(m,f){t.call(this,m).then(function(h){f(null,h)},f)}var a=Eb(e,n,r),i=a.push,s=a.unshift;return a.push=c,a.unshift=p,a.drained=d,a;function c(m){var f=new Promise(function(h,v){i(m,function(x,A){if(x){v(x);return}h(A)})});return f.catch(dt),f}function p(m){var f=new Promise(function(h,v){s(m,function(x,A){if(x){v(x);return}h(A)})});return f.catch(dt),f}function d(){var m=a.drain,f=new Promise(function(h){a.drain=function(){m(),h()}});return f}}su.exports=Eb;su.exports.promise=u$});var mo=_(Pt=>{"use strict";o();Object.defineProperty(Pt,"__esModule",{value:!0});Pt.joinPathSegments=Pt.replacePathSegmentSeparator=Pt.isAppliedFilter=Pt.isFatalError=void 0;function l$(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Pt.isFatalError=l$;function d$(e,t){return e===null||e(t)}Pt.isAppliedFilter=d$;function m$(e,t){return e.split(/[/\\]/).join(t)}Pt.replacePathSegmentSeparator=m$;function f$(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Pt.joinPathSegments=f$});var uu=_(pu=>{"use strict";o();Object.defineProperty(pu,"__esModule",{value:!0});var h$=mo(),cu=class{constructor(t,r){this._root=t,this._settings=r,this._root=h$.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};pu.default=cu});var mu=_(du=>{"use strict";o();Object.defineProperty(du,"__esModule",{value:!0});var _$=L("events"),E$=lo(),v$=vb(),fo=mo(),g$=uu(),lu=class extends g$.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=E$.scandir,this._emitter=new _$.EventEmitter,this._queue=v$(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 n={directory:t,base:r};this._queue.push(n,a=>{a!==null&&this._handleError(a)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,a)=>{if(n!==null){r(n,void 0);return}for(let i of a)this._handleEntry(i,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!fo.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 n=t.path;r!==void 0&&(t.path=fo.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),fo.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&fo.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};du.default=lu});var gb=_(hu=>{"use strict";o();Object.defineProperty(hu,"__esModule",{value:!0});var x$=mu(),fu=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new x$.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{A$(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{O$(t,this._storage)}),this._reader.read()}};hu.default=fu;function A$(e,t){e(t)}function O$(e,t){e(null,t)}});var xb=_(Eu=>{"use strict";o();Object.defineProperty(Eu,"__esModule",{value:!0});var S$=L("stream"),N$=mu(),_u=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new N$.default(this._root,this._settings),this._stream=new S$.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}};Eu.default=_u});var Ab=_(gu=>{"use strict";o();Object.defineProperty(gu,"__esModule",{value:!0});var I$=lo(),ho=mo(),R$=uu(),vu=class extends R$.default{constructor(){super(...arguments),this._scandir=I$.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 n=this._scandir(t,this._settings.fsScandirSettings);for(let a of n)this._handleEntry(a,r)}catch(n){this._handleError(n)}}_handleError(t){if(ho.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=ho.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),ho.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&ho.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};gu.default=vu});var Ob=_(Au=>{"use strict";o();Object.defineProperty(Au,"__esModule",{value:!0});var T$=Ab(),xu=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new T$.default(this._root,this._settings)}read(){return this._reader.read()}};Au.default=xu});var Sb=_(Su=>{"use strict";o();Object.defineProperty(Su,"__esModule",{value:!0});var b$=L("path"),P$=lo(),Ou=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,b$.sep),this.fsScandirSettings=new P$.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}};Su.default=Ou});var Eo=_(Ct=>{"use strict";o();Object.defineProperty(Ct,"__esModule",{value:!0});Ct.Settings=Ct.walkStream=Ct.walkSync=Ct.walk=void 0;var Nb=gb(),C$=xb(),D$=Ob(),Nu=Sb();Ct.Settings=Nu.default;function y$(e,t,r){if(typeof t=="function"){new Nb.default(e,_o()).read(t);return}new Nb.default(e,_o(t)).read(r)}Ct.walk=y$;function w$(e,t){let r=_o(t);return new D$.default(e,r).read()}Ct.walkSync=w$;function L$(e,t){let r=_o(t);return new C$.default(e,r).read()}Ct.walkStream=L$;function _o(e={}){return e instanceof Nu.default?e:new Nu.default(e)}});var vo=_(Ru=>{"use strict";o();Object.defineProperty(Ru,"__esModule",{value:!0});var F$=L("path"),U$=Nr(),Ib=qt(),Iu=class{constructor(t){this._settings=t,this._fsStatSettings=new U$.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return F$.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:Ib.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!Ib.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};Ru.default=Iu});var Pu=_(bu=>{"use strict";o();Object.defineProperty(bu,"__esModule",{value:!0});var M$=L("stream"),q$=Nr(),k$=Eo(),G$=vo(),Tu=class extends G$.default{constructor(){super(...arguments),this._walkStream=k$.walkStream,this._stat=q$.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),a=new M$.PassThrough({objectMode:!0});a._write=(i,s,c)=>this._getEntry(n[i],t[i],r).then(p=>{p!==null&&r.entryFilter(p)&&a.push(p),i===n.length-1&&a.end(),c()}).catch(c);for(let i=0;i<n.length;i++)a.write(i);return a}_getEntry(t,r,n){return this._getStat(t).then(a=>this._makeEntry(a,r)).catch(a=>{if(n.errorFilter(a))return null;throw a})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(a,i)=>a===null?r(i):n(a))})}};bu.default=Tu});var Rb=_(Du=>{"use strict";o();Object.defineProperty(Du,"__esModule",{value:!0});var B$=Eo(),H$=vo(),j$=Pu(),Cu=class extends H$.default{constructor(){super(...arguments),this._walkAsync=B$.walk,this._readerStream=new j$.default(this._settings)}dynamic(t,r){return new Promise((n,a)=>{this._walkAsync(t,r,(i,s)=>{i===null?n(s):a(i)})})}async static(t,r){let n=[],a=this._readerStream.static(t,r);return new Promise((i,s)=>{a.once("error",s),a.on("data",c=>n.push(c)),a.once("end",()=>i(n))})}};Du.default=Cu});var Tb=_(wu=>{"use strict";o();Object.defineProperty(wu,"__esModule",{value:!0});var ha=qt(),yu=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let t of this._patterns){let r=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:t,segments:r,sections:n})}}_getPatternSegments(t){return ha.pattern.getPatternParts(t,this._micromatchOptions).map(n=>ha.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:ha.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return ha.array.splitWhen(t,r=>r.dynamic&&ha.pattern.hasGlobStar(r.pattern))}};wu.default=yu});var bb=_(Fu=>{"use strict";o();Object.defineProperty(Fu,"__esModule",{value:!0});var W$=Tb(),Lu=class extends W$.default{match(t){let r=t.split("/"),n=r.length,a=this._storage.filter(i=>!i.complete||i.segments.length>n);for(let i of a){let s=i.sections[0];if(!i.complete&&n>s.length||r.every((p,d)=>{let m=i.segments[d];return!!(m.dynamic&&m.patternRe.test(p)||!m.dynamic&&m.pattern===p)}))return!0}return!1}};Fu.default=Lu});var Pb=_(Mu=>{"use strict";o();Object.defineProperty(Mu,"__esModule",{value:!0});var go=qt(),V$=bb(),Uu=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let a=this._getMatcher(r),i=this._getNegativePatternsRe(n);return s=>this._filter(t,s,a,i)}_getMatcher(t){return new V$.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(go.pattern.isAffectDepthOfReadingPattern);return go.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,a){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let i=go.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(i,n)?!1:this._isSkippedByNegativePatterns(i,a)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let a=t.split("/").length;return n-a}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!go.pattern.matchAny(t,r)}};Mu.default=Uu});var Cb=_(ku=>{"use strict";o();Object.defineProperty(ku,"__esModule",{value:!0});var Ir=qt(),qu=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=Ir.pattern.convertPatternsToRe(t,this._micromatchOptions),a=Ir.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return i=>this._filter(i,n,a)}_filter(t,r,n){let a=Ir.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(a)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(a,n))return!1;let i=t.dirent.isDirectory(),s=this._isMatchToPatterns(a,r,i)&&!this._isMatchToPatterns(a,n,i);return this._settings.unique&&s&&this._createIndexRecord(a),s}_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 n=Ir.path.makeAbsolute(this._settings.cwd,t);return Ir.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let a=Ir.pattern.matchAny(t,r);return!a&&n?Ir.pattern.matchAny(t+"/",r):a}};ku.default=qu});var Db=_(Bu=>{"use strict";o();Object.defineProperty(Bu,"__esModule",{value:!0});var K$=qt(),Gu=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return K$.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Bu.default=Gu});var wb=_(ju=>{"use strict";o();Object.defineProperty(ju,"__esModule",{value:!0});var yb=qt(),Hu=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=yb.path.makeAbsolute(this._settings.cwd,r),r=yb.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};ju.default=Hu});var xo=_(Vu=>{"use strict";o();Object.defineProperty(Vu,"__esModule",{value:!0});var $$=L("path"),Y$=Pb(),z$=Cb(),X$=Db(),J$=wb(),Wu=class{constructor(t){this._settings=t,this.errorFilter=new X$.default(this._settings),this.entryFilter=new z$.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Y$.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new J$.default(this._settings)}_getRootDirectory(t){return $$.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}}};Vu.default=Wu});var Lb=_($u=>{"use strict";o();Object.defineProperty($u,"__esModule",{value:!0});var Q$=Rb(),Z$=xo(),Ku=class extends Z$.default{constructor(){super(...arguments),this._reader=new Q$.default(this._settings)}async read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return(await this.api(r,t,n)).map(i=>n.transform(i))}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};$u.default=Ku});var Fb=_(zu=>{"use strict";o();Object.defineProperty(zu,"__esModule",{value:!0});var eY=L("stream"),tY=Pu(),rY=xo(),Yu=class extends rY.default{constructor(){super(...arguments),this._reader=new tY.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),a=this.api(r,t,n),i=new eY.Readable({objectMode:!0,read:()=>{}});return a.once("error",s=>i.emit("error",s)).on("data",s=>i.emit("data",n.transform(s))).once("end",()=>i.emit("end")),i.once("close",()=>a.destroy()),i}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};zu.default=Yu});var Ub=_(Ju=>{"use strict";o();Object.defineProperty(Ju,"__esModule",{value:!0});var nY=Nr(),aY=Eo(),iY=vo(),Xu=class extends iY.default{constructor(){super(...arguments),this._walkSync=aY.walkSync,this._statSync=nY.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let a of t){let i=this._getFullEntryPath(a),s=this._getEntry(i,a,r);s===null||!r.entryFilter(s)||n.push(s)}return n}_getEntry(t,r,n){try{let a=this._getStat(t);return this._makeEntry(a,r)}catch(a){if(n.errorFilter(a))return null;throw a}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};Ju.default=Xu});var Mb=_(Zu=>{"use strict";o();Object.defineProperty(Zu,"__esModule",{value:!0});var oY=Ub(),sY=xo(),Qu=class extends sY.default{constructor(){super(...arguments),this._reader=new oY.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Zu.default=Qu});var qb=_(mn=>{"use strict";o();Object.defineProperty(mn,"__esModule",{value:!0});mn.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var dn=L("fs"),cY=L("os"),pY=Math.max(cY.cpus().length,1);mn.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:dn.lstat,lstatSync:dn.lstatSync,stat:dn.stat,statSync:dn.statSync,readdir:dn.readdir,readdirSync:dn.readdirSync};var el=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,pY),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({},mn.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};mn.default=el});var al=_((fme,Gb)=>{"use strict";o();var kb=GT(),uY=Lb(),lY=Fb(),dY=Mb(),tl=qb(),mt=qt();async function rl(e,t){xt(e);let r=nl(e,uY.default,t),n=await Promise.all(r);return mt.array.flatten(n)}(function(e){e.glob=e,e.globSync=t,e.globStream=r,e.async=e;function t(d,m){xt(d);let f=nl(d,dY.default,m);return mt.array.flatten(f)}e.sync=t;function r(d,m){xt(d);let f=nl(d,lY.default,m);return mt.stream.merge(f)}e.stream=r;function n(d,m){xt(d);let f=[].concat(d),h=new tl.default(m);return kb.generate(f,h)}e.generateTasks=n;function a(d,m){xt(d);let f=new tl.default(m);return mt.pattern.isDynamicPattern(d,f)}e.isDynamicPattern=a;function i(d){return xt(d),mt.path.escape(d)}e.escapePath=i;function s(d){return xt(d),mt.path.convertPathToPattern(d)}e.convertPathToPattern=s;let c;(function(d){function m(h){return xt(h),mt.path.escapePosixPath(h)}d.escapePath=m;function f(h){return xt(h),mt.path.convertPosixPathToPattern(h)}d.convertPathToPattern=f})(c=e.posix||(e.posix={}));let p;(function(d){function m(h){return xt(h),mt.path.escapeWindowsPath(h)}d.escapePath=m;function f(h){return xt(h),mt.path.convertWindowsPathToPattern(h)}d.convertPathToPattern=f})(p=e.win32||(e.win32={}))})(rl||(rl={}));function nl(e,t,r){let n=[].concat(e),a=new tl.default(r),i=kb.generate(n,a),s=new t(a);return i.map(s.read,s)}function xt(e){if(![].concat(e).every(n=>mt.string.isString(n)&&!mt.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Gb.exports=rl});var Hb=_(Rr=>{"use strict";o();var{promisify:mY}=L("util"),Bb=L("fs");async function il(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await mY(Bb[e])(r))[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function ol(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return Bb[e](r)[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}Rr.isFile=il.bind(null,"stat","isFile");Rr.isDirectory=il.bind(null,"stat","isDirectory");Rr.isSymlink=il.bind(null,"lstat","isSymbolicLink");Rr.isFileSync=ol.bind(null,"statSync","isFile");Rr.isDirectorySync=ol.bind(null,"statSync","isDirectory");Rr.isSymlinkSync=ol.bind(null,"lstatSync","isSymbolicLink")});var $b=_((vme,sl)=>{"use strict";o();var Tr=L("path"),jb=Hb(),Wb=e=>e.length>1?`{${e.join(",")}}`:e[0],Vb=(e,t)=>{let r=e[0]==="!"?e.slice(1):e;return Tr.isAbsolute(r)?r:Tr.join(t,r)},fY=(e,t)=>Tr.extname(e)?`**/${e}`:`**/${e}.${Wb(t)}`,Kb=(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=>Tr.posix.join(e,fY(r,t.extensions))):t.files?t.files.map(r=>Tr.posix.join(e,`**/${r}`)):t.extensions?[Tr.posix.join(e,`**/*.${Wb(t.extensions)}`)]:[Tr.posix.join(e,"**")]};sl.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 n=>await jb.isDirectory(Vb(n,t.cwd))?Kb(n,t):n));return[].concat.apply([],r)};sl.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(n=>jb.isDirectorySync(Vb(n,t.cwd))?Kb(n,t):n);return[].concat.apply([],r)}});var rP=_((xme,tP)=>{"use strict";o();function Yb(e){return Array.isArray(e)?e:[e]}var ul="",zb=" ",cl="\\",hY=/^\s+$/,_Y=/(?:[^\\]|^)\\$/,EY=/^\\!/,vY=/^\\#/,gY=/\r?\n/g,xY=/^\.*\/|^\.+$/,pl="/",Qb="node-ignore";typeof Symbol<"u"&&(Qb=Symbol.for("node-ignore"));var Xb=Qb,AY=(e,t,r)=>Object.defineProperty(e,t,{value:r}),OY=/([0-z])-([0-z])/g,Zb=()=>!1,SY=e=>e.replace(OY,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:ul),NY=e=>{let{length:t}=e;return e.slice(0,t-t%2)},IY=[[/^\uFEFF/,()=>ul],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?zb:ul)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+zb}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>cl],[/\\\\/g,()=>cl],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,a)=>t===cl?`\\[${r}${NY(n)}${a}`:a==="]"&&n.length%2===0?`[${SY(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Jb=Object.create(null),RY=(e,t)=>{let r=Jb[e];return r||(r=IY.reduce((n,[a,i])=>n.replace(a,i.bind(e)),e),Jb[e]=r),t?new RegExp(r,"i"):new RegExp(r)},ml=e=>typeof e=="string",TY=e=>e&&ml(e)&&!hY.test(e)&&!_Y.test(e)&&e.indexOf("#")!==0,bY=e=>e.split(gY),ll=class{constructor(t,r,n,a){this.origin=t,this.pattern=r,this.negative=n,this.regex=a}},PY=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(EY,"!").replace(vY,"#");let a=RY(e,t);return new ll(r,e,n,a)},CY=(e,t)=>{throw new t(e)},kt=(e,t,r)=>ml(e)?e?kt.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),eP=e=>xY.test(e);kt.isNotRelative=eP;kt.convert=e=>e;var dl=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){AY(this,Xb,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[Xb]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(TY(t)){let r=PY(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,Yb(ml(t)?bY(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,a=!1;return this._rules.forEach(i=>{let{negative:s}=i;if(a===s&&n!==a||s&&!n&&!a&&!r)return;i.regex.test(t)&&(n=!s,a=s)}),{ignored:n,unignored:a}}_test(t,r,n,a){let i=t&&kt.convert(t);return kt(i,t,this._allowRelativePaths?Zb:CY),this._t(i,r,n,a)}_t(t,r,n,a){if(t in r)return r[t];if(a||(a=t.split(pl)),a.pop(),!a.length)return r[t]=this._testOne(t,n);let i=this._t(a.join(pl)+pl,r,n,a);return r[t]=i.ignored?i:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return Yb(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},Ao=e=>new dl(e),DY=e=>kt(e&&kt.convert(e),e,Zb);Ao.isPathValid=DY;Ao.default=Ao;tP.exports=Ao;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,"/");kt.convert=e;let t=/^[a-z]:\//i;kt.isNotRelative=r=>t.test(r)||eP(r)}});var gl=_((ghe,kP)=>{"use strict";o();var u3=Wa(),l3=es(),d3="[object AsyncFunction]",m3="[object Function]",f3="[object GeneratorFunction]",h3="[object Proxy]";function _3(e){if(!l3(e))return!1;var t=u3(e);return t==m3||t==f3||t==d3||t==h3}kP.exports=_3});var BP=_((Ahe,GP)=>{"use strict";o();var E3=Bt(),v3=E3["__core-js_shared__"];GP.exports=v3});var WP=_((She,jP)=>{"use strict";o();var xl=BP(),HP=function(){var e=/[^.]+$/.exec(xl&&xl.keys&&xl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function g3(e){return!!HP&&HP in e}jP.exports=g3});var Al=_((Ihe,VP)=>{"use strict";o();var x3=Function.prototype,A3=x3.toString;function O3(e){if(e!=null){try{return A3.call(e)}catch{}try{return e+""}catch{}}return""}VP.exports=O3});var $P=_((The,KP)=>{"use strict";o();var S3=gl(),N3=WP(),I3=es(),R3=Al(),T3=/[\\^$.*+?()[\]{}|]/g,b3=/^\[object .+?Constructor\]$/,P3=Function.prototype,C3=Object.prototype,D3=P3.toString,y3=C3.hasOwnProperty,w3=RegExp("^"+D3.call(y3).replace(T3,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function L3(e){if(!I3(e)||N3(e))return!1;var t=S3(e)?w3:b3;return t.test(R3(e))}KP.exports=L3});var zP=_((Phe,YP)=>{"use strict";o();function F3(e,t){return e?.[t]}YP.exports=F3});var or=_((Dhe,XP)=>{"use strict";o();var U3=$P(),M3=zP();function q3(e,t){var r=M3(e,t);return U3(r)?r:void 0}XP.exports=q3});var QP=_((whe,JP)=>{"use strict";o();var k3=or(),G3=function(){try{var e=k3(Object,"defineProperty");return e({},"",{}),e}catch{}}();JP.exports=G3});var tC=_((Fhe,eC)=>{"use strict";o();var ZP=QP();function B3(e,t,r){t=="__proto__"&&ZP?ZP(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}eC.exports=B3});var nC=_((Mhe,rC)=>{"use strict";o();function H3(e,t,r,n){for(var a=-1,i=e==null?0:e.length;++a<i;){var s=e[a];t(n,s,r(s),e)}return n}rC.exports=H3});var iC=_((khe,aC)=>{"use strict";o();function j3(e){return function(t,r,n){for(var a=-1,i=Object(t),s=n(t),c=s.length;c--;){var p=s[e?c:++a];if(r(i[p],p,i)===!1)break}return t}}aC.exports=j3});var sC=_((Bhe,oC)=>{"use strict";o();var W3=iC(),V3=W3();oC.exports=V3});var pC=_((jhe,cC)=>{"use strict";o();function K3(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}cC.exports=K3});var lC=_((Vhe,uC)=>{"use strict";o();var $3=Wa(),Y3=Va(),z3="[object Arguments]";function X3(e){return Y3(e)&&$3(e)==z3}uC.exports=X3});var Ol=_(($he,fC)=>{"use strict";o();var dC=lC(),J3=Va(),mC=Object.prototype,Q3=mC.hasOwnProperty,Z3=mC.propertyIsEnumerable,ez=dC(function(){return arguments}())?dC:function(e){return J3(e)&&Q3.call(e,"callee")&&!Z3.call(e,"callee")};fC.exports=ez});var Dt=_((zhe,hC)=>{"use strict";o();var tz=Array.isArray;hC.exports=tz});var EC=_((Jhe,_C)=>{"use strict";o();function rz(){return!1}_C.exports=rz});var Sl=_((ga,En)=>{"use strict";o();var nz=Bt(),az=EC(),xC=typeof ga=="object"&&ga&&!ga.nodeType&&ga,vC=xC&&typeof En=="object"&&En&&!En.nodeType&&En,iz=vC&&vC.exports===xC,gC=iz?nz.Buffer:void 0,oz=gC?gC.isBuffer:void 0,sz=oz||az;En.exports=sz});var Nl=_((e_e,AC)=>{"use strict";o();var cz=9007199254740991,pz=/^(?:0|[1-9]\d*)$/;function uz(e,t){var r=typeof e;return t=t??cz,!!t&&(r=="number"||r!="symbol"&&pz.test(e))&&e>-1&&e%1==0&&e<t}AC.exports=uz});var Po=_((r_e,OC)=>{"use strict";o();var lz=9007199254740991;function dz(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=lz}OC.exports=dz});var NC=_((a_e,SC)=>{"use strict";o();var mz=Wa(),fz=Po(),hz=Va(),_z="[object Arguments]",Ez="[object Array]",vz="[object Boolean]",gz="[object Date]",xz="[object Error]",Az="[object Function]",Oz="[object Map]",Sz="[object Number]",Nz="[object Object]",Iz="[object RegExp]",Rz="[object Set]",Tz="[object String]",bz="[object WeakMap]",Pz="[object ArrayBuffer]",Cz="[object DataView]",Dz="[object Float32Array]",yz="[object Float64Array]",wz="[object Int8Array]",Lz="[object Int16Array]",Fz="[object Int32Array]",Uz="[object Uint8Array]",Mz="[object Uint8ClampedArray]",qz="[object Uint16Array]",kz="[object Uint32Array]",pe={};pe[Dz]=pe[yz]=pe[wz]=pe[Lz]=pe[Fz]=pe[Uz]=pe[Mz]=pe[qz]=pe[kz]=!0;pe[_z]=pe[Ez]=pe[Pz]=pe[vz]=pe[Cz]=pe[gz]=pe[xz]=pe[Az]=pe[Oz]=pe[Sz]=pe[Nz]=pe[Iz]=pe[Rz]=pe[Tz]=pe[bz]=!1;function Gz(e){return hz(e)&&fz(e.length)&&!!pe[mz(e)]}SC.exports=Gz});var RC=_((o_e,IC)=>{"use strict";o();function Bz(e){return function(t){return e(t)}}IC.exports=Bz});var bC=_((xa,vn)=>{"use strict";o();var Hz=iU(),TC=typeof xa=="object"&&xa&&!xa.nodeType&&xa,Aa=TC&&typeof vn=="object"&&vn&&!vn.nodeType&&vn,jz=Aa&&Aa.exports===TC,Il=jz&&Hz.process,Wz=function(){try{var e=Aa&&Aa.require&&Aa.require("util").types;return e||Il&&Il.binding&&Il.binding("util")}catch{}}();vn.exports=Wz});var Rl=_((p_e,DC)=>{"use strict";o();var Vz=NC(),Kz=RC(),PC=bC(),CC=PC&&PC.isTypedArray,$z=CC?Kz(CC):Vz;DC.exports=$z});var wC=_((l_e,yC)=>{"use strict";o();var Yz=pC(),zz=Ol(),Xz=Dt(),Jz=Sl(),Qz=Nl(),Zz=Rl(),eX=Object.prototype,tX=eX.hasOwnProperty;function rX(e,t){var r=Xz(e),n=!r&&zz(e),a=!r&&!n&&Jz(e),i=!r&&!n&&!a&&Zz(e),s=r||n||a||i,c=s?Yz(e.length,String):[],p=c.length;for(var d in e)(t||tX.call(e,d))&&!(s&&(d=="length"||a&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Qz(d,p)))&&c.push(d);return c}yC.exports=rX});var FC=_((m_e,LC)=>{"use strict";o();var nX=Object.prototype;function aX(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||nX;return e===r}LC.exports=aX});var MC=_((h_e,UC)=>{"use strict";o();function iX(e,t){return function(r){return e(t(r))}}UC.exports=iX});var kC=_((E_e,qC)=>{"use strict";o();var oX=MC(),sX=oX(Object.keys,Object);qC.exports=sX});var BC=_((g_e,GC)=>{"use strict";o();var cX=FC(),pX=kC(),uX=Object.prototype,lX=uX.hasOwnProperty;function dX(e){if(!cX(e))return pX(e);var t=[];for(var r in Object(e))lX.call(e,r)&&r!="constructor"&&t.push(r);return t}GC.exports=dX});var Tl=_((A_e,HC)=>{"use strict";o();var mX=gl(),fX=Po();function hX(e){return e!=null&&fX(e.length)&&!mX(e)}HC.exports=hX});var Co=_((S_e,jC)=>{"use strict";o();var _X=wC(),EX=BC(),vX=Tl();function gX(e){return vX(e)?_X(e):EX(e)}jC.exports=gX});var VC=_((I_e,WC)=>{"use strict";o();var xX=sC(),AX=Co();function OX(e,t){return e&&xX(e,t,AX)}WC.exports=OX});var $C=_((T_e,KC)=>{"use strict";o();var SX=Tl();function NX(e,t){return function(r,n){if(r==null)return r;if(!SX(r))return e(r,n);for(var a=r.length,i=t?a:-1,s=Object(r);(t?i--:++i<a)&&n(s[i],i,s)!==!1;);return r}}KC.exports=NX});var zC=_((P_e,YC)=>{"use strict";o();var IX=VC(),RX=$C(),TX=RX(IX);YC.exports=TX});var JC=_((D_e,XC)=>{"use strict";o();var bX=zC();function PX(e,t,r,n){return bX(e,function(a,i,s){t(n,a,r(a),s)}),n}XC.exports=PX});var ZC=_((w_e,QC)=>{"use strict";o();function CX(){this.__data__=[],this.size=0}QC.exports=CX});var bl=_((F_e,eD)=>{"use strict";o();function DX(e,t){return e===t||e!==e&&t!==t}eD.exports=DX});var Oa=_((M_e,tD)=>{"use strict";o();var yX=bl();function wX(e,t){for(var r=e.length;r--;)if(yX(e[r][0],t))return r;return-1}tD.exports=wX});var nD=_((k_e,rD)=>{"use strict";o();var LX=Oa(),FX=Array.prototype,UX=FX.splice;function MX(e){var t=this.__data__,r=LX(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():UX.call(t,r,1),--this.size,!0}rD.exports=MX});var iD=_((B_e,aD)=>{"use strict";o();var qX=Oa();function kX(e){var t=this.__data__,r=qX(t,e);return r<0?void 0:t[r][1]}aD.exports=kX});var sD=_((j_e,oD)=>{"use strict";o();var GX=Oa();function BX(e){return GX(this.__data__,e)>-1}oD.exports=BX});var pD=_((V_e,cD)=>{"use strict";o();var HX=Oa();function jX(e,t){var r=this.__data__,n=HX(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}cD.exports=jX});var Sa=_(($_e,uD)=>{"use strict";o();var WX=ZC(),VX=nD(),KX=iD(),$X=sD(),YX=pD();function gn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}gn.prototype.clear=WX;gn.prototype.delete=VX;gn.prototype.get=KX;gn.prototype.has=$X;gn.prototype.set=YX;uD.exports=gn});var dD=_((z_e,lD)=>{"use strict";o();var zX=Sa();function XX(){this.__data__=new zX,this.size=0}lD.exports=XX});var fD=_((J_e,mD)=>{"use strict";o();function JX(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}mD.exports=JX});var _D=_((Z_e,hD)=>{"use strict";o();function QX(e){return this.__data__.get(e)}hD.exports=QX});var vD=_((tEe,ED)=>{"use strict";o();function ZX(e){return this.__data__.has(e)}ED.exports=ZX});var Do=_((nEe,gD)=>{"use strict";o();var eJ=or(),tJ=Bt(),rJ=eJ(tJ,"Map");gD.exports=rJ});var Na=_((iEe,xD)=>{"use strict";o();var nJ=or(),aJ=nJ(Object,"create");xD.exports=aJ});var SD=_((sEe,OD)=>{"use strict";o();var AD=Na();function iJ(){this.__data__=AD?AD(null):{},this.size=0}OD.exports=iJ});var ID=_((pEe,ND)=>{"use strict";o();function oJ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}ND.exports=oJ});var TD=_((lEe,RD)=>{"use strict";o();var sJ=Na(),cJ="__lodash_hash_undefined__",pJ=Object.prototype,uJ=pJ.hasOwnProperty;function lJ(e){var t=this.__data__;if(sJ){var r=t[e];return r===cJ?void 0:r}return uJ.call(t,e)?t[e]:void 0}RD.exports=lJ});var PD=_((mEe,bD)=>{"use strict";o();var dJ=Na(),mJ=Object.prototype,fJ=mJ.hasOwnProperty;function hJ(e){var t=this.__data__;return dJ?t[e]!==void 0:fJ.call(t,e)}bD.exports=hJ});var DD=_((hEe,CD)=>{"use strict";o();var _J=Na(),EJ="__lodash_hash_undefined__";function vJ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=_J&&t===void 0?EJ:t,this}CD.exports=vJ});var wD=_((EEe,yD)=>{"use strict";o();var gJ=SD(),xJ=ID(),AJ=TD(),OJ=PD(),SJ=DD();function xn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xn.prototype.clear=gJ;xn.prototype.delete=xJ;xn.prototype.get=AJ;xn.prototype.has=OJ;xn.prototype.set=SJ;yD.exports=xn});var UD=_((gEe,FD)=>{"use strict";o();var LD=wD(),NJ=Sa(),IJ=Do();function RJ(){this.size=0,this.__data__={hash:new LD,map:new(IJ||NJ),string:new LD}}FD.exports=RJ});var qD=_((AEe,MD)=>{"use strict";o();function TJ(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}MD.exports=TJ});var Ia=_((SEe,kD)=>{"use strict";o();var bJ=qD();function PJ(e,t){var r=e.__data__;return bJ(t)?r[typeof t=="string"?"string":"hash"]:r.map}kD.exports=PJ});var BD=_((IEe,GD)=>{"use strict";o();var CJ=Ia();function DJ(e){var t=CJ(this,e).delete(e);return this.size-=t?1:0,t}GD.exports=DJ});var jD=_((TEe,HD)=>{"use strict";o();var yJ=Ia();function wJ(e){return yJ(this,e).get(e)}HD.exports=wJ});var VD=_((PEe,WD)=>{"use strict";o();var LJ=Ia();function FJ(e){return LJ(this,e).has(e)}WD.exports=FJ});var $D=_((DEe,KD)=>{"use strict";o();var UJ=Ia();function MJ(e,t){var r=UJ(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}KD.exports=MJ});var yo=_((wEe,YD)=>{"use strict";o();var qJ=UD(),kJ=BD(),GJ=jD(),BJ=VD(),HJ=$D();function An(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}An.prototype.clear=qJ;An.prototype.delete=kJ;An.prototype.get=GJ;An.prototype.has=BJ;An.prototype.set=HJ;YD.exports=An});var XD=_((FEe,zD)=>{"use strict";o();var jJ=Sa(),WJ=Do(),VJ=yo(),KJ=200;function $J(e,t){var r=this.__data__;if(r instanceof jJ){var n=r.__data__;if(!WJ||n.length<KJ-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new VJ(n)}return r.set(e,t),this.size=r.size,this}zD.exports=$J});var Pl=_((MEe,JD)=>{"use strict";o();var YJ=Sa(),zJ=dD(),XJ=fD(),JJ=_D(),QJ=vD(),ZJ=XD();function On(e){var t=this.__data__=new YJ(e);this.size=t.size}On.prototype.clear=zJ;On.prototype.delete=XJ;On.prototype.get=JJ;On.prototype.has=QJ;On.prototype.set=ZJ;JD.exports=On});var ZD=_((kEe,QD)=>{"use strict";o();var e4="__lodash_hash_undefined__";function t4(e){return this.__data__.set(e,e4),this}QD.exports=t4});var ty=_((BEe,ey)=>{"use strict";o();function r4(e){return this.__data__.has(e)}ey.exports=r4});var ny=_((jEe,ry)=>{"use strict";o();var n4=yo(),a4=ZD(),i4=ty();function wo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n4;++t<r;)this.add(e[t])}wo.prototype.add=wo.prototype.push=a4;wo.prototype.has=i4;ry.exports=wo});var iy=_((VEe,ay)=>{"use strict";o();function o4(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}ay.exports=o4});var sy=_(($Ee,oy)=>{"use strict";o();function s4(e,t){return e.has(t)}oy.exports=s4});var Cl=_((zEe,cy)=>{"use strict";o();var c4=ny(),p4=iy(),u4=sy(),l4=1,d4=2;function m4(e,t,r,n,a,i){var s=r&l4,c=e.length,p=t.length;if(c!=p&&!(s&&p>c))return!1;var d=i.get(e),m=i.get(t);if(d&&m)return d==t&&m==e;var f=-1,h=!0,v=r&d4?new c4:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var x=e[f],A=t[f];if(n)var R=s?n(A,x,f,t,e,i):n(x,A,f,e,t,i);if(R!==void 0){if(R)continue;h=!1;break}if(v){if(!p4(t,function(C,G){if(!u4(v,G)&&(x===C||a(x,C,r,n,i)))return v.push(G)})){h=!1;break}}else if(!(x===A||a(x,A,r,n,i))){h=!1;break}}return i.delete(e),i.delete(t),h}cy.exports=m4});var uy=_((JEe,py)=>{"use strict";o();var f4=Bt(),h4=f4.Uint8Array;py.exports=h4});var dy=_((ZEe,ly)=>{"use strict";o();function _4(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}ly.exports=_4});var fy=_((tve,my)=>{"use strict";o();function E4(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}my.exports=E4});var gy=_((nve,vy)=>{"use strict";o();var hy=Ud(),_y=uy(),v4=bl(),g4=Cl(),x4=dy(),A4=fy(),O4=1,S4=2,N4="[object Boolean]",I4="[object Date]",R4="[object Error]",T4="[object Map]",b4="[object Number]",P4="[object RegExp]",C4="[object Set]",D4="[object String]",y4="[object Symbol]",w4="[object ArrayBuffer]",L4="[object DataView]",Ey=hy?hy.prototype:void 0,Dl=Ey?Ey.valueOf:void 0;function F4(e,t,r,n,a,i,s){switch(r){case L4:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w4:return!(e.byteLength!=t.byteLength||!i(new _y(e),new _y(t)));case N4:case I4:case b4:return v4(+e,+t);case R4:return e.name==t.name&&e.message==t.message;case P4:case D4:return e==t+"";case T4:var c=x4;case C4:var p=n&O4;if(c||(c=A4),e.size!=t.size&&!p)return!1;var d=s.get(e);if(d)return d==t;n|=S4,s.set(e,t);var m=g4(c(e),c(t),n,a,i,s);return s.delete(e),m;case y4:if(Dl)return Dl.call(e)==Dl.call(t)}return!1}vy.exports=F4});var Ay=_((ive,xy)=>{"use strict";o();function U4(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}xy.exports=U4});var Sy=_((sve,Oy)=>{"use strict";o();var M4=Ay(),q4=Dt();function k4(e,t,r){var n=t(e);return q4(e)?n:M4(n,r(e))}Oy.exports=k4});var Iy=_((pve,Ny)=>{"use strict";o();function G4(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[a++]=s)}return i}Ny.exports=G4});var Ty=_((lve,Ry)=>{"use strict";o();function B4(){return[]}Ry.exports=B4});var Cy=_((mve,Py)=>{"use strict";o();var H4=Iy(),j4=Ty(),W4=Object.prototype,V4=W4.propertyIsEnumerable,by=Object.getOwnPropertySymbols,K4=by?function(e){return e==null?[]:(e=Object(e),H4(by(e),function(t){return V4.call(e,t)}))}:j4;Py.exports=K4});var yy=_((hve,Dy)=>{"use strict";o();var $4=Sy(),Y4=Cy(),z4=Co();function X4(e){return $4(e,z4,Y4)}Dy.exports=X4});var Fy=_((Eve,Ly)=>{"use strict";o();var wy=yy(),J4=1,Q4=Object.prototype,Z4=Q4.hasOwnProperty;function e6(e,t,r,n,a,i){var s=r&J4,c=wy(e),p=c.length,d=wy(t),m=d.length;if(p!=m&&!s)return!1;for(var f=p;f--;){var h=c[f];if(!(s?h in t:Z4.call(t,h)))return!1}var v=i.get(e),x=i.get(t);if(v&&x)return v==t&&x==e;var A=!0;i.set(e,t),i.set(t,e);for(var R=s;++f<p;){h=c[f];var C=e[h],G=t[h];if(n)var B=s?n(G,C,h,t,e,i):n(C,G,h,e,t,i);if(!(B===void 0?C===G||a(C,G,r,n,i):B)){A=!1;break}R||(R=h=="constructor")}if(A&&!R){var K=e.constructor,U=t.constructor;K!=U&&"constructor"in e&&"constructor"in t&&!(typeof K=="function"&&K instanceof K&&typeof U=="function"&&U instanceof U)&&(A=!1)}return i.delete(e),i.delete(t),A}Ly.exports=e6});var My=_((gve,Uy)=>{"use strict";o();var t6=or(),r6=Bt(),n6=t6(r6,"DataView");Uy.exports=n6});var ky=_((Ave,qy)=>{"use strict";o();var a6=or(),i6=Bt(),o6=a6(i6,"Promise");qy.exports=o6});var By=_((Sve,Gy)=>{"use strict";o();var s6=or(),c6=Bt(),p6=s6(c6,"Set");Gy.exports=p6});var jy=_((Ive,Hy)=>{"use strict";o();var u6=or(),l6=Bt(),d6=u6(l6,"WeakMap");Hy.exports=d6});var Jy=_((Tve,Xy)=>{"use strict";o();var yl=My(),wl=Do(),Ll=ky(),Fl=By(),Ul=jy(),zy=Wa(),Sn=Al(),Wy="[object Map]",m6="[object Object]",Vy="[object Promise]",Ky="[object Set]",$y="[object WeakMap]",Yy="[object DataView]",f6=Sn(yl),h6=Sn(wl),_6=Sn(Ll),E6=Sn(Fl),v6=Sn(Ul),br=zy;(yl&&br(new yl(new ArrayBuffer(1)))!=Yy||wl&&br(new wl)!=Wy||Ll&&br(Ll.resolve())!=Vy||Fl&&br(new Fl)!=Ky||Ul&&br(new Ul)!=$y)&&(br=function(e){var t=zy(e),r=t==m6?e.constructor:void 0,n=r?Sn(r):"";if(n)switch(n){case f6:return Yy;case h6:return Wy;case _6:return Vy;case E6:return Ky;case v6:return $y}return t});Xy.exports=br});var iw=_((Pve,aw)=>{"use strict";o();var Ml=Pl(),g6=Cl(),x6=gy(),A6=Fy(),Qy=Jy(),Zy=Dt(),ew=Sl(),O6=Rl(),S6=1,tw="[object Arguments]",rw="[object Array]",Lo="[object Object]",N6=Object.prototype,nw=N6.hasOwnProperty;function I6(e,t,r,n,a,i){var s=Zy(e),c=Zy(t),p=s?rw:Qy(e),d=c?rw:Qy(t);p=p==tw?Lo:p,d=d==tw?Lo:d;var m=p==Lo,f=d==Lo,h=p==d;if(h&&ew(e)){if(!ew(t))return!1;s=!0,m=!1}if(h&&!m)return i||(i=new Ml),s||O6(e)?g6(e,t,r,n,a,i):x6(e,t,p,r,n,a,i);if(!(r&S6)){var v=m&&nw.call(e,"__wrapped__"),x=f&&nw.call(t,"__wrapped__");if(v||x){var A=v?e.value():e,R=x?t.value():t;return i||(i=new Ml),a(A,R,r,n,i)}}return h?(i||(i=new Ml),A6(e,t,r,n,a,i)):!1}aw.exports=I6});var ql=_((Dve,cw)=>{"use strict";o();var R6=iw(),ow=Va();function sw(e,t,r,n,a){return e===t?!0:e==null||t==null||!ow(e)&&!ow(t)?e!==e&&t!==t:R6(e,t,r,n,sw,a)}cw.exports=sw});var uw=_((wve,pw)=>{"use strict";o();var T6=Pl(),b6=ql(),P6=1,C6=2;function D6(e,t,r,n){var a=r.length,i=a,s=!n;if(e==null)return!i;for(e=Object(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<i;){c=r[a];var p=c[0],d=e[p],m=c[1];if(s&&c[2]){if(d===void 0&&!(p in e))return!1}else{var f=new T6;if(n)var h=n(d,m,p,e,t,f);if(!(h===void 0?b6(m,d,P6|C6,n,f):h))return!1}}return!0}pw.exports=D6});var kl=_((Fve,lw)=>{"use strict";o();var y6=es();function w6(e){return e===e&&!y6(e)}lw.exports=w6});var mw=_((Mve,dw)=>{"use strict";o();var L6=kl(),F6=Co();function U6(e){for(var t=F6(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,L6(a)]}return t}dw.exports=U6});var Gl=_((kve,fw)=>{"use strict";o();function M6(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}fw.exports=M6});var _w=_((Bve,hw)=>{"use strict";o();var q6=uw(),k6=mw(),G6=Gl();function B6(e){var t=k6(e);return t.length==1&&t[0][2]?G6(t[0][0],t[0][1]):function(r){return r===e||q6(r,e,t)}}hw.exports=B6});var Fo=_((jve,Ew)=>{"use strict";o();var H6=Dt(),j6=ts(),W6=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V6=/^\w*$/;function K6(e,t){if(H6(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||j6(e)?!0:V6.test(e)||!W6.test(e)||t!=null&&e in Object(t)}Ew.exports=K6});var xw=_((Vve,gw)=>{"use strict";o();var vw=yo(),$6="Expected a function";function Bl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError($6);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var s=e.apply(this,n);return r.cache=i.set(a,s)||i,s};return r.cache=new(Bl.Cache||vw),r}Bl.Cache=vw;gw.exports=Bl});var Ow=_(($ve,Aw)=>{"use strict";o();var Y6=xw(),z6=500;function X6(e){var t=Y6(e,function(n){return r.size===z6&&r.clear(),n}),r=t.cache;return t}Aw.exports=X6});var Nw=_((zve,Sw)=>{"use strict";o();var J6=Ow(),Q6=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z6=/\\(\\)?/g,e5=J6(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Q6,function(r,n,a,i){t.push(a?i.replace(Z6,"$1"):n||r)}),t});Sw.exports=e5});var Rw=_((Jve,Iw)=>{"use strict";o();function t5(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}Iw.exports=t5});var yw=_((Zve,Dw)=>{"use strict";o();var Tw=Ud(),r5=Rw(),n5=Dt(),a5=ts(),i5=1/0,bw=Tw?Tw.prototype:void 0,Pw=bw?bw.toString:void 0;function Cw(e){if(typeof e=="string")return e;if(n5(e))return r5(e,Cw)+"";if(a5(e))return Pw?Pw.call(e):"";var t=e+"";return t=="0"&&1/e==-i5?"-0":t}Dw.exports=Cw});var Lw=_((tge,ww)=>{"use strict";o();var o5=yw();function s5(e){return e==null?"":o5(e)}ww.exports=s5});var Hl=_((nge,Fw)=>{"use strict";o();var c5=Dt(),p5=Fo(),u5=Nw(),l5=Lw();function d5(e,t){return c5(e)?e:p5(e,t)?[e]:u5(l5(e))}Fw.exports=d5});var Ra=_((ige,Uw)=>{"use strict";o();var m5=ts(),f5=1/0;function h5(e){if(typeof e=="string"||m5(e))return e;var t=e+"";return t=="0"&&1/e==-f5?"-0":t}Uw.exports=h5});var jl=_((sge,Mw)=>{"use strict";o();var _5=Hl(),E5=Ra();function v5(e,t){t=_5(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[E5(t[r++])];return r&&r==n?e:void 0}Mw.exports=v5});var kw=_((pge,qw)=>{"use strict";o();var g5=jl();function x5(e,t,r){var n=e==null?void 0:g5(e,t);return n===void 0?r:n}qw.exports=x5});var Bw=_((lge,Gw)=>{"use strict";o();function A5(e,t){return e!=null&&t in Object(e)}Gw.exports=A5});var jw=_((mge,Hw)=>{"use strict";o();var O5=Hl(),S5=Ol(),N5=Dt(),I5=Nl(),R5=Po(),T5=Ra();function b5(e,t,r){t=O5(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var s=T5(t[n]);if(!(i=e!=null&&r(e,s)))break;e=e[s]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&R5(a)&&I5(s,a)&&(N5(e)||S5(e)))}Hw.exports=b5});var Vw=_((hge,Ww)=>{"use strict";o();var P5=Bw(),C5=jw();function D5(e,t){return e!=null&&C5(e,t,P5)}Ww.exports=D5});var $w=_((Ege,Kw)=>{"use strict";o();var y5=ql(),w5=kw(),L5=Vw(),F5=Fo(),U5=kl(),M5=Gl(),q5=Ra(),k5=1,G5=2;function B5(e,t){return F5(e)&&U5(t)?M5(q5(e),t):function(r){var n=w5(r,e);return n===void 0&&n===t?L5(r,e):y5(t,n,k5|G5)}}Kw.exports=B5});var zw=_((gge,Yw)=>{"use strict";o();function H5(e){return e}Yw.exports=H5});var Jw=_((Age,Xw)=>{"use strict";o();function j5(e){return function(t){return t?.[e]}}Xw.exports=j5});var Zw=_((Sge,Qw)=>{"use strict";o();var W5=jl();function V5(e){return function(t){return W5(t,e)}}Qw.exports=V5});var tL=_((Ige,eL)=>{"use strict";o();var K5=Jw(),$5=Zw(),Y5=Fo(),z5=Ra();function X5(e){return Y5(e)?K5(z5(e)):$5(e)}eL.exports=X5});var nL=_((Tge,rL)=>{"use strict";o();var J5=_w(),Q5=$w(),Z5=zw(),e8=Dt(),t8=tL();function r8(e){return typeof e=="function"?e:e==null?Z5:typeof e=="object"?e8(e)?Q5(e[0],e[1]):J5(e):t8(e)}rL.exports=r8});var iL=_((Pge,aL)=>{"use strict";o();var n8=nC(),a8=JC(),i8=nL(),o8=Dt();function s8(e,t){return function(r,n){var a=o8(r)?n8:a8,i=t?t():{};return a(r,e,i8(n,2),i)}}aL.exports=s8});var sL=_((Dge,oL)=>{"use strict";o();var c8=tC(),p8=iL(),u8=p8(function(e,t,r){c8(e,r,t)});oL.exports=u8});var nF=_((GAe,rF)=>{"use strict";o();var Da=L("fs"),{Readable:g9}=L("stream"),Ca=L("path"),{promisify:Bo}=L("util"),td=Zi(),x9=Bo(Da.readdir),A9=Bo(Da.stat),XL=Bo(Da.lstat),O9=Bo(Da.realpath),S9="!",eF="READDIRP_RECURSIVE_ERROR",N9=new Set(["ENOENT","EPERM","EACCES","ELOOP",eF]),rd="files",tF="directories",ko="files_directories",qo="all",JL=[rd,tF,ko,qo],I9=e=>N9.has(e.code),[QL,R9]=process.versions.node.split(".").slice(0,2).map(e=>Number.parseInt(e,10)),T9=process.platform==="win32"&&(QL>10||QL===10&&R9>=5),ZL=e=>{if(e!==void 0){if(typeof e=="function")return e;if(typeof e=="string"){let t=td(e.trim());return r=>t(r.basename)}if(Array.isArray(e)){let t=[],r=[];for(let n of e){let a=n.trim();a.charAt(0)===S9?r.push(td(a.slice(1))):t.push(td(a))}return r.length>0?t.length>0?n=>t.some(a=>a(n.basename))&&!r.some(a=>a(n.basename)):n=>!r.some(a=>a(n.basename)):n=>t.some(a=>a(n.basename))}}},Go=class e extends g9{static get defaultOptions(){return{root:".",fileFilter:t=>!0,directoryFilter:t=>!0,type:rd,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(t={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:t.highWaterMark||4096});let r={...e.defaultOptions,...t},{root:n,type:a}=r;this._fileFilter=ZL(r.fileFilter),this._directoryFilter=ZL(r.directoryFilter);let i=r.lstat?XL:A9;T9?this._stat=s=>i(s,{bigint:!0}):this._stat=i,this._maxDepth=r.depth,this._wantsDir=[tF,ko,qo].includes(a),this._wantsFile=[rd,ko,qo].includes(a),this._wantsEverything=a===qo,this._root=Ca.resolve(n),this._isDirent="Dirent"in Da&&!r.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(n,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:n,files:a=[]}=this.parent||{};if(a.length>0){let i=a.splice(0,t).map(s=>this._formatEntry(s,r));for(let s of await Promise.all(i)){if(this.destroyed)return;let c=await this._getEntryType(s);c==="directory"&&this._directoryFilter(s)?(n<=this._maxDepth&&this.parents.push(this._exploreDir(s.fullPath,n+1)),this._wantsDir&&(this.push(s),t--)):(c==="file"||this._includeAsFile(s))&&this._fileFilter(s)&&this._wantsFile&&(this.push(s),t--)}}else{let i=this.parents.pop();if(!i){this.push(null);break}if(this.parent=await i,this.destroyed)return}}}catch(r){this.destroy(r)}finally{this.reading=!1}}}async _exploreDir(t,r){let n;try{n=await x9(t,this._rdOptions)}catch(a){this._onError(a)}return{files:n,depth:r,path:t}}async _formatEntry(t,r){let n;try{let a=this._isDirent?t.name:t,i=Ca.resolve(Ca.join(r,a));n={path:Ca.relative(this._root,i),fullPath:i,basename:a},n[this._statsProp]=this._isDirent?t:await this._stat(i)}catch(a){this._onError(a)}return n}_onError(t){I9(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 n=t.fullPath;try{let a=await O9(n),i=await XL(a);if(i.isFile())return"file";if(i.isDirectory()){let s=a.length;if(n.startsWith(a)&&n.substr(s,1)===Ca.sep){let c=new Error(`Circular symlink detected: "${n}" points to "${a}"`);return c.code=eF,this._onError(c)}return"directory"}}catch(a){this._onError(a)}}}}_includeAsFile(t){let r=t&&t[this._statsProp];return r&&this._wantsEverything&&!r.isDirectory()}},Tn=(e,t={})=>{let r=t.entryType||t.type;if(r==="both"&&(r=ko),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&&!JL.includes(r))throw new Error(`readdirp: Invalid type passed. Use one of ${JL.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return t.root=e,new Go(t)},b9=(e,t={})=>new Promise((r,n)=>{let a=[];Tn(e,t).on("data",i=>a.push(i)).on("end",()=>r(a)).on("error",i=>n(i))});Tn.promise=b9;Tn.ReaddirpStream=Go;Tn.default=Tn;rF.exports=Tn});var nd=_((HAe,aF)=>{"use strict";o();aF.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 n="";if(r>4&&e[3]==="\\"){var a=e[2];(a==="?"||a===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var i=e.split(/[/\\]+/);return t!==!1&&i[i.length-1]===""&&i.pop(),n+i.join("/")}});var uF=_((cF,pF)=>{"use strict";o();Object.defineProperty(cF,"__esModule",{value:!0});var sF=Zi(),P9=nd(),iF="!",C9={returnIndex:!1},D9=e=>Array.isArray(e)?e:[e],y9=(e,t)=>{if(typeof e=="function")return e;if(typeof e=="string"){let r=sF(e,t);return n=>e===n||r(n)}return e instanceof RegExp?r=>e.test(r):r=>!1},oF=(e,t,r,n)=>{let a=Array.isArray(r),i=a?r[0]:r;if(!a&&typeof i!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(i));let s=P9(i);for(let p=0;p<t.length;p++){let d=t[p];if(d(s))return n?-1:!1}let c=a&&[s].concat(r.slice(1));for(let p=0;p<e.length;p++){let d=e[p];if(a?d(...c):d(s))return n?p:!0}return n?-1:!1},ad=(e,t,r=C9)=>{if(e==null)throw new TypeError("anymatch: specify first argument");let n=typeof r=="boolean"?{returnIndex:r}:r,a=n.returnIndex||!1,i=D9(e),s=i.filter(p=>typeof p=="string"&&p.charAt(0)===iF).map(p=>p.slice(1)).map(p=>sF(p,n)),c=i.filter(p=>typeof p!="string"||typeof p=="string"&&p.charAt(0)!==iF).map(p=>y9(p,n));return t==null?(p,d=!1)=>oF(c,s,p,typeof d=="boolean"?d:!1):oF(c,s,t,a)};ad.default=ad;pF.exports=ad});var lF=_((VAe,w9)=>{w9.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 mF=_((KAe,dF)=>{"use strict";o();dF.exports=lF()});var hF=_((YAe,fF)=>{"use strict";o();var L9=L("path"),F9=mF(),U9=new Set(F9);fF.exports=e=>U9.has(L9.extname(e).slice(1).toLowerCase())});var Ho=_(k=>{"use strict";o();var{sep:M9}=L("path"),{platform:id}=process,q9=L("os");k.EV_ALL="all";k.EV_READY="ready";k.EV_ADD="add";k.EV_CHANGE="change";k.EV_ADD_DIR="addDir";k.EV_UNLINK="unlink";k.EV_UNLINK_DIR="unlinkDir";k.EV_RAW="raw";k.EV_ERROR="error";k.STR_DATA="data";k.STR_END="end";k.STR_CLOSE="close";k.FSEVENT_CREATED="created";k.FSEVENT_MODIFIED="modified";k.FSEVENT_DELETED="deleted";k.FSEVENT_MOVED="moved";k.FSEVENT_CLONED="cloned";k.FSEVENT_UNKNOWN="unknown";k.FSEVENT_FLAG_MUST_SCAN_SUBDIRS=1;k.FSEVENT_TYPE_FILE="file";k.FSEVENT_TYPE_DIRECTORY="directory";k.FSEVENT_TYPE_SYMLINK="symlink";k.KEY_LISTENERS="listeners";k.KEY_ERR="errHandlers";k.KEY_RAW="rawEmitters";k.HANDLER_KEYS=[k.KEY_LISTENERS,k.KEY_ERR,k.KEY_RAW];k.DOT_SLASH=`.${M9}`;k.BACK_SLASH_RE=/\\/g;k.DOUBLE_SLASH_RE=/\/\//;k.SLASH_OR_BACK_SLASH_RE=/[/\\]/;k.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;k.REPLACER_RE=/^\.[/\\]/;k.SLASH="/";k.SLASH_SLASH="//";k.BRACE_START="{";k.BANG="!";k.ONE_DOT=".";k.TWO_DOTS="..";k.STAR="*";k.GLOBSTAR="**";k.ROOT_GLOBSTAR="/**/*";k.SLASH_GLOBSTAR="/**";k.DIR_SUFFIX="Dir";k.ANYMATCH_OPTS={dot:!0};k.STRING_TYPE="string";k.FUNCTION_TYPE="function";k.EMPTY_STR="";k.EMPTY_FN=()=>{};k.IDENTITY_FN=e=>e;k.isWindows=id==="win32";k.isMacos=id==="darwin";k.isLinux=id==="linux";k.isIBMi=q9.type()==="OS400"});var AF=_((QAe,xF)=>{"use strict";o();var Gt=L("fs"),ye=L("path"),{promisify:Fa}=L("util"),k9=hF(),{isWindows:G9,isLinux:B9,EMPTY_FN:H9,EMPTY_STR:j9,KEY_LISTENERS:bn,KEY_ERR:od,KEY_RAW:ya,HANDLER_KEYS:W9,EV_CHANGE:Wo,EV_ADD:jo,EV_ADD_DIR:V9,EV_ERROR:EF,STR_DATA:K9,STR_END:$9,BRACE_START:Y9,STAR:z9}=Ho(),X9="watch",J9=Fa(Gt.open),vF=Fa(Gt.stat),Q9=Fa(Gt.lstat),Z9=Fa(Gt.close),sd=Fa(Gt.realpath),e7={lstat:Q9,stat:vF},pd=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},wa=(e,t,r)=>{let n=e[t];n instanceof Set||(e[t]=n=new Set([n])),n.add(r)},t7=e=>t=>{let r=e[t];r instanceof Set?r.clear():delete e[t]},La=(e,t,r)=>{let n=e[t];n instanceof Set?n.delete(r):n===r&&delete e[t]},gF=e=>e instanceof Set?e.size===0:!e,Vo=new Map;function _F(e,t,r,n,a){let i=(s,c)=>{r(e),a(s,c,{watchedPath:e}),c&&e!==c&&Ko(ye.resolve(e,c),bn,ye.join(e,c))};try{return Gt.watch(e,t,i)}catch(s){n(s)}}var Ko=(e,t,r,n,a)=>{let i=Vo.get(e);i&&pd(i[t],s=>{s(r,n,a)})},r7=(e,t,r,n)=>{let{listener:a,errHandler:i,rawEmitter:s}=n,c=Vo.get(t),p;if(!r.persistent)return p=_F(e,r,a,i,s),p.close.bind(p);if(c)wa(c,bn,a),wa(c,od,i),wa(c,ya,s);else{if(p=_F(e,r,Ko.bind(null,t,bn),i,Ko.bind(null,t,ya)),!p)return;p.on(EF,async d=>{let m=Ko.bind(null,t,od);if(c.watcherUnusable=!0,G9&&d.code==="EPERM")try{let f=await J9(e,"r");await Z9(f),m(d)}catch{}else m(d)}),c={listeners:a,errHandlers:i,rawEmitters:s,watcher:p},Vo.set(t,c)}return()=>{La(c,bn,a),La(c,od,i),La(c,ya,s),gF(c.listeners)&&(c.watcher.close(),Vo.delete(t),W9.forEach(t7(c)),c.watcher=void 0,Object.freeze(c))}},cd=new Map,n7=(e,t,r,n)=>{let{listener:a,rawEmitter:i}=n,s=cd.get(t),c=new Set,p=new Set,d=s&&s.options;return d&&(d.persistent<r.persistent||d.interval>r.interval)&&(c=s.listeners,p=s.rawEmitters,Gt.unwatchFile(t),s=void 0),s?(wa(s,bn,a),wa(s,ya,i)):(s={listeners:a,rawEmitters:i,options:r,watcher:Gt.watchFile(t,r,(m,f)=>{pd(s.rawEmitters,v=>{v(Wo,t,{curr:m,prev:f})});let h=m.mtimeMs;(m.size!==f.size||h>f.mtimeMs||h===0)&&pd(s.listeners,v=>v(e,m))})},cd.set(t,s)),()=>{La(s,bn,a),La(s,ya,i),gF(s.listeners)&&(cd.delete(t),Gt.unwatchFile(t),s.options=s.watcher=void 0,Object.freeze(s))}},ud=class{constructor(t){this.fsw=t,this._boundHandleError=r=>t._handleError(r)}_watchWithNodeFs(t,r){let n=this.fsw.options,a=ye.dirname(t),i=ye.basename(t);this.fsw._getWatchedDir(a).add(i);let c=ye.resolve(t),p={persistent:n.persistent};r||(r=H9);let d;return n.usePolling?(p.interval=n.enableBinaryInterval&&k9(i)?n.binaryInterval:n.interval,d=n7(t,c,p,{listener:r,rawEmitter:this.fsw._emitRaw})):d=r7(t,c,p,{listener:r,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),d}_handleFile(t,r,n){if(this.fsw.closed)return;let a=ye.dirname(t),i=ye.basename(t),s=this.fsw._getWatchedDir(a),c=r;if(s.has(i))return;let p=async(m,f)=>{if(this.fsw._throttle(X9,t,5)){if(!f||f.mtimeMs===0)try{let h=await vF(t);if(this.fsw.closed)return;let v=h.atimeMs,x=h.mtimeMs;(!v||v<=x||x!==c.mtimeMs)&&this.fsw._emit(Wo,t,h),B9&&c.ino!==h.ino?(this.fsw._closeFile(m),c=h,this.fsw._addPathCloser(m,this._watchWithNodeFs(t,p))):c=h}catch{this.fsw._remove(a,i)}else if(s.has(i)){let h=f.atimeMs,v=f.mtimeMs;(!h||h<=v||v!==c.mtimeMs)&&this.fsw._emit(Wo,t,f),c=f}}},d=this._watchWithNodeFs(t,p);if(!(n&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(t)){if(!this.fsw._throttle(jo,t,0))return;this.fsw._emit(jo,t,r)}return d}async _handleSymlink(t,r,n,a){if(this.fsw.closed)return;let i=t.fullPath,s=this.fsw._getWatchedDir(r);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let c;try{c=await sd(n)}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(s.has(a)?this.fsw._symlinkPaths.get(i)!==c&&(this.fsw._symlinkPaths.set(i,c),this.fsw._emit(Wo,n,t.stats)):(s.add(a),this.fsw._symlinkPaths.set(i,c),this.fsw._emit(jo,n,t.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(i))return!0;this.fsw._symlinkPaths.set(i,!0)}_handleRead(t,r,n,a,i,s,c){if(t=ye.join(t,j9),!n.hasGlob&&(c=this.fsw._throttle("readdir",t,1e3),!c))return;let p=this.fsw._getWatchedDir(n.path),d=new Set,m=this.fsw._readdirp(t,{fileFilter:f=>n.filterPath(f),directoryFilter:f=>n.filterDir(f),depth:0}).on(K9,async f=>{if(this.fsw.closed){m=void 0;return}let h=f.path,v=ye.join(t,h);if(d.add(h),!(f.stats.isSymbolicLink()&&await this._handleSymlink(f,t,v,h))){if(this.fsw.closed){m=void 0;return}(h===a||!a&&!p.has(h))&&(this.fsw._incrReadyCount(),v=ye.join(i,ye.relative(i,v)),this._addToNodeFs(v,r,n,s+1))}}).on(EF,this._boundHandleError);return new Promise(f=>m.once($9,()=>{if(this.fsw.closed){m=void 0;return}let h=c?c.clear():!1;f(),p.getChildren().filter(v=>v!==t&&!d.has(v)&&(!n.hasGlob||n.filterPath({fullPath:ye.resolve(t,v)}))).forEach(v=>{this.fsw._remove(t,v)}),m=void 0,h&&this._handleRead(t,!1,n,a,i,s,c)}))}async _handleDir(t,r,n,a,i,s,c){let p=this.fsw._getWatchedDir(ye.dirname(t)),d=p.has(ye.basename(t));!(n&&this.fsw.options.ignoreInitial)&&!i&&!d&&(!s.hasGlob||s.globFilter(t))&&this.fsw._emit(V9,t,r),p.add(ye.basename(t)),this.fsw._getWatchedDir(t);let m,f,h=this.fsw.options.depth;if((h==null||a<=h)&&!this.fsw._symlinkPaths.has(c)){if(!i&&(await this._handleRead(t,n,s,i,t,a,m),this.fsw.closed))return;f=this._watchWithNodeFs(t,(v,x)=>{x&&x.mtimeMs===0||this._handleRead(v,!1,s,i,t,a,m)})}return f}async _addToNodeFs(t,r,n,a,i){let s=this.fsw._emitReady;if(this.fsw._isIgnored(t)||this.fsw.closed)return s(),!1;let c=this.fsw._getWatchHelpers(t,a);!c.hasGlob&&n&&(c.hasGlob=n.hasGlob,c.globFilter=n.globFilter,c.filterPath=p=>n.filterPath(p),c.filterDir=p=>n.filterDir(p));try{let p=await e7[c.statMethod](c.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(c.watchPath,p))return s(),!1;let d=this.fsw.options.followSymlinks&&!t.includes(z9)&&!t.includes(Y9),m;if(p.isDirectory()){let f=ye.resolve(t),h=d?await sd(t):t;if(this.fsw.closed||(m=await this._handleDir(c.watchPath,p,r,a,i,c,h),this.fsw.closed))return;f!==h&&h!==void 0&&this.fsw._symlinkPaths.set(f,h)}else if(p.isSymbolicLink()){let f=d?await sd(t):t;if(this.fsw.closed)return;let h=ye.dirname(c.watchPath);if(this.fsw._getWatchedDir(h).add(c.watchPath),this.fsw._emit(jo,c.watchPath,p),m=await this._handleDir(h,p,r,a,t,c,f),this.fsw.closed)return;f!==void 0&&this.fsw._symlinkPaths.set(ye.resolve(t),f)}else m=this._handleFile(c.watchPath,p,r);return s(),this.fsw._addPathCloser(t,m),!1}catch(p){if(this.fsw._handleError(p))return s(),t}}};xF.exports=ud});var bF=_((eOe,vd)=>{"use strict";o();var _d=L("fs"),we=L("path"),{promisify:Ed}=L("util"),Pn;try{Pn=L("fsevents")}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(Pn){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&&(Pn=void 0)}}var{EV_ADD:ld,EV_CHANGE:a7,EV_ADD_DIR:OF,EV_UNLINK:$o,EV_ERROR:i7,STR_DATA:o7,STR_END:s7,FSEVENT_CREATED:c7,FSEVENT_MODIFIED:p7,FSEVENT_DELETED:u7,FSEVENT_MOVED:l7,FSEVENT_UNKNOWN:d7,FSEVENT_FLAG_MUST_SCAN_SUBDIRS:m7,FSEVENT_TYPE_FILE:f7,FSEVENT_TYPE_DIRECTORY:Ua,FSEVENT_TYPE_SYMLINK:TF,ROOT_GLOBSTAR:SF,DIR_SUFFIX:h7,DOT_SLASH:NF,FUNCTION_TYPE:dd,EMPTY_FN:_7,IDENTITY_FN:E7}=Ho(),v7=e=>isNaN(e)?{}:{depth:e},fd=Ed(_d.stat),g7=Ed(_d.lstat),IF=Ed(_d.realpath),x7={stat:fd,lstat:g7},wr=new Map,A7=10,O7=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),S7=(e,t)=>({stop:Pn.watch(e,t)});function N7(e,t,r,n){let a=we.extname(t)?we.dirname(t):t,i=we.dirname(a),s=wr.get(a);I7(i)&&(a=i);let c=we.resolve(e),p=c!==t,d=(f,h,v)=>{p&&(f=f.replace(t,c)),(f===c||!f.indexOf(c+we.sep))&&r(f,h,v)},m=!1;for(let f of wr.keys())if(t.indexOf(we.resolve(f)+we.sep)===0){a=f,s=wr.get(a),m=!0;break}return s||m?s.listeners.add(d):(s={listeners:new Set([d]),rawEmitter:n,watcher:S7(a,(f,h)=>{if(!s.listeners.size||h&m7)return;let v=Pn.getInfo(f,h);s.listeners.forEach(x=>{x(f,h,v)}),s.rawEmitter(v.event,f,v)})},wr.set(a,s)),()=>{let f=s.listeners;if(f.delete(d),!f.size&&(wr.delete(a),s.watcher))return s.watcher.stop().then(()=>{s.rawEmitter=s.watcher=void 0,Object.freeze(s)})}}var I7=e=>{let t=0;for(let r of wr.keys())if(r.indexOf(e)===0&&(t++,t>=A7))return!0;return!1},R7=()=>Pn&&wr.size<128,md=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=we.dirname(e))!==t;)r++;return r},RF=(e,t)=>e.type===Ua&&t.isDirectory()||e.type===TF&&t.isSymbolicLink()||e.type===f7&&t.isFile(),hd=class{constructor(t){this.fsw=t}checkIgnored(t,r){let n=this.fsw._ignoredPaths;if(this.fsw._isIgnored(t,r))return n.add(t),r&&r.isDirectory()&&n.add(t+SF),!0;n.delete(t),n.delete(t+SF)}addOrChange(t,r,n,a,i,s,c,p){let d=i.has(s)?a7:ld;this.handleEvent(d,t,r,n,a,i,s,c,p)}async checkExists(t,r,n,a,i,s,c,p){try{let d=await fd(t);if(this.fsw.closed)return;RF(c,d)?this.addOrChange(t,r,n,a,i,s,c,p):this.handleEvent($o,t,r,n,a,i,s,c,p)}catch(d){d.code==="EACCES"?this.addOrChange(t,r,n,a,i,s,c,p):this.handleEvent($o,t,r,n,a,i,s,c,p)}}handleEvent(t,r,n,a,i,s,c,p,d){if(!(this.fsw.closed||this.checkIgnored(r)))if(t===$o){let m=p.type===Ua;(m||s.has(c))&&this.fsw._remove(i,c,m)}else{if(t===ld){if(p.type===Ua&&this.fsw._getWatchedDir(r),p.type===TF&&d.followSymlinks){let f=d.depth===void 0?void 0:md(n,a)+1;return this._addToFsEvents(r,!1,!0,f)}this.fsw._getWatchedDir(i).add(c)}let m=p.type===Ua?t+h7:t;this.fsw._emit(m,r),m===OF&&this._addToFsEvents(r,!1,!0)}}_watchWithFsEvents(t,r,n,a){if(this.fsw.closed||this.fsw._isIgnored(t))return;let i=this.fsw.options,c=N7(t,r,async(p,d,m)=>{if(this.fsw.closed||i.depth!==void 0&&md(p,r)>i.depth)return;let f=n(we.join(t,we.relative(t,p)));if(a&&!a(f))return;let h=we.dirname(f),v=we.basename(f),x=this.fsw._getWatchedDir(m.type===Ua?f:h);if(O7.has(d)||m.event===d7)if(typeof i.ignored===dd){let A;try{A=await fd(f)}catch{}if(this.fsw.closed||this.checkIgnored(f,A))return;RF(m,A)?this.addOrChange(f,p,r,h,x,v,m,i):this.handleEvent($o,f,p,r,h,x,v,m,i)}else this.checkExists(f,p,r,h,x,v,m,i);else switch(m.event){case c7:case p7:return this.addOrChange(f,p,r,h,x,v,m,i);case u7:case l7:return this.checkExists(f,p,r,h,x,v,m,i)}},this.fsw._emitRaw);return this.fsw._emitReady(),c}async _handleFsEventsSymlink(t,r,n,a){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(r))){this.fsw._symlinkPaths.set(r,!0),this.fsw._incrReadyCount();try{let i=await IF(t);if(this.fsw.closed)return;if(this.fsw._isIgnored(i))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(i||t,s=>{let c=t;return i&&i!==NF?c=s.replace(i,t):s!==NF&&(c=we.join(t,s)),n(c)},!1,a)}catch(i){if(this.fsw._handleError(i))return this.fsw._emitReady()}}}emitAdd(t,r,n,a,i){let s=n(t),c=r.isDirectory(),p=this.fsw._getWatchedDir(we.dirname(s)),d=we.basename(s);c&&this.fsw._getWatchedDir(s),!p.has(d)&&(p.add(d),(!a.ignoreInitial||i===!0)&&this.fsw._emit(c?OF:ld,s,r))}initWatch(t,r,n,a){if(this.fsw.closed)return;let i=this._watchWithFsEvents(n.watchPath,we.resolve(t||n.watchPath),a,n.globFilter);this.fsw._addPathCloser(r,i)}async _addToFsEvents(t,r,n,a){if(this.fsw.closed)return;let i=this.fsw.options,s=typeof r===dd?r:E7,c=this.fsw._getWatchHelpers(t);try{let p=await x7[c.statMethod](c.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(c.watchPath,p))throw null;if(p.isDirectory()){if(c.globFilter||this.emitAdd(s(t),p,s,i,n),a&&a>i.depth)return;this.fsw._readdirp(c.watchPath,{fileFilter:d=>c.filterPath(d),directoryFilter:d=>c.filterDir(d),...v7(i.depth-(a||0))}).on(o7,d=>{if(this.fsw.closed||d.stats.isDirectory()&&!c.filterPath(d))return;let m=we.join(c.watchPath,d.path),{fullPath:f}=d;if(c.followSymlinks&&d.stats.isSymbolicLink()){let h=i.depth===void 0?void 0:md(m,we.resolve(c.watchPath))+1;this._handleFsEventsSymlink(m,f,s,h)}else this.emitAdd(m,d.stats,s,i,n)}).on(i7,_7).on(s7,()=>{this.fsw._emitReady()})}else this.emitAdd(c.watchPath,p,s,i,n),this.fsw._emitReady()}catch(p){(!p||this.fsw._handleError(p))&&(this.fsw._emitReady(),this.fsw._emitReady())}if(i.persistent&&n!==!0)if(typeof r===dd)this.initWatch(void 0,t,c,s);else{let p;try{p=await IF(c.watchPath)}catch{}this.initWatch(p,t,c,s)}}};vd.exports=hd;vd.exports.canUse=R7});var kF=_(wd=>{"use strict";o();var{EventEmitter:T7}=L("events"),Dd=L("fs"),ne=L("path"),{promisify:FF}=L("util"),b7=nF(),Nd=uF().default,P7=Sp(),gd=Ap(),C7=Pp(),D7=nd(),y7=AF(),PF=bF(),{EV_ALL:xd,EV_READY:w7,EV_ADD:Yo,EV_CHANGE:Ma,EV_UNLINK:CF,EV_ADD_DIR:L7,EV_UNLINK_DIR:F7,EV_RAW:U7,EV_ERROR:Ad,STR_CLOSE:M7,STR_END:q7,BACK_SLASH_RE:k7,DOUBLE_SLASH_RE:DF,SLASH_OR_BACK_SLASH_RE:G7,DOT_RE:B7,REPLACER_RE:H7,SLASH:Od,SLASH_SLASH:j7,BRACE_START:W7,BANG:Id,ONE_DOT:UF,TWO_DOTS:V7,GLOBSTAR:K7,SLASH_GLOBSTAR:Sd,ANYMATCH_OPTS:Rd,STRING_TYPE:yd,FUNCTION_TYPE:$7,EMPTY_STR:Td,EMPTY_FN:Y7,isWindows:z7,isMacos:X7,isIBMi:J7}=Ho(),Q7=FF(Dd.stat),Z7=FF(Dd.readdir),bd=(e=[])=>Array.isArray(e)?e:[e],MF=(e,t=[])=>(e.forEach(r=>{Array.isArray(r)?MF(r,t):t.push(r)}),t),yF=e=>{let t=MF(bd(e));if(!t.every(r=>typeof r===yd))throw new TypeError(`Non-string provided as watch path: ${t}`);return t.map(qF)},wF=e=>{let t=e.replace(k7,Od),r=!1;for(t.startsWith(j7)&&(r=!0);t.match(DF);)t=t.replace(DF,Od);return r&&(t=Od+t),t},qF=e=>wF(ne.normalize(wF(e))),LF=(e=Td)=>t=>typeof t!==yd?t:qF(ne.isAbsolute(t)?t:ne.join(e,t)),eQ=(e,t)=>ne.isAbsolute(e)?e:e.startsWith(Id)?Id+ne.join(t,e.slice(1)):ne.join(t,e),St=(e,t)=>e[t]===void 0,Pd=class{constructor(t,r){this.path=t,this._removeWatcher=r,this.items=new Set}add(t){let{items:r}=this;r&&t!==UF&&t!==V7&&r.add(t)}async remove(t){let{items:r}=this;if(!r||(r.delete(t),r.size>0))return;let n=this.path;try{await Z7(n)}catch{this._removeWatcher&&this._removeWatcher(ne.dirname(n),ne.basename(n))}}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)}},tQ="stat",rQ="lstat",Cd=class{constructor(t,r,n,a){this.fsw=a,this.path=t=t.replace(H7,Td),this.watchPath=r,this.fullWatchPath=ne.resolve(r),this.hasGlob=r!==t,t===Td&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&n?void 0:!1,this.globFilter=this.hasGlob?Nd(t,void 0,Rd):!1,this.dirParts=this.getDirParts(t),this.dirParts.forEach(i=>{i.length>1&&i.pop()}),this.followSymlinks=n,this.statMethod=n?tQ:rQ}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 ne.join(this.watchPath,ne.relative(this.watchPath,this.checkGlobSymlink(t)))}filterPath(t){let{stats:r}=t;if(r&&r.isSymbolicLink())return this.filterDir(t);let n=this.entryPath(t);return(this.hasGlob&&typeof this.globFilter===$7?this.globFilter(n):!0)&&this.fsw._isntIgnored(n,r)&&this.fsw._hasReadPermissions(r)}getDirParts(t){if(!this.hasGlob)return[];let r=[];return(t.includes(W7)?C7.expand(t):[t]).forEach(a=>{r.push(ne.relative(this.watchPath,a).split(G7))}),r}filterDir(t){if(this.hasGlob){let r=this.getDirParts(this.checkGlobSymlink(t)),n=!1;this.unmatchedGlob=!this.dirParts.some(a=>a.every((i,s)=>(i===K7&&(n=!0),n||!r[0][s]||Nd(i,r[0][s],Rd))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(t),t.stats)}},zo=class extends T7{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,St(r,"persistent")&&(r.persistent=!0),St(r,"ignoreInitial")&&(r.ignoreInitial=!1),St(r,"ignorePermissionErrors")&&(r.ignorePermissionErrors=!1),St(r,"interval")&&(r.interval=100),St(r,"binaryInterval")&&(r.binaryInterval=300),St(r,"disableGlobbing")&&(r.disableGlobbing=!1),r.enableBinaryInterval=r.binaryInterval!==r.interval,St(r,"useFsEvents")&&(r.useFsEvents=!r.usePolling),PF.canUse()||(r.useFsEvents=!1),St(r,"usePolling")&&!r.useFsEvents&&(r.usePolling=X7),J7&&(r.usePolling=!0);let a=process.env.CHOKIDAR_USEPOLLING;if(a!==void 0){let p=a.toLowerCase();p==="false"||p==="0"?r.usePolling=!1:p==="true"||p==="1"?r.usePolling=!0:r.usePolling=!!p}let i=process.env.CHOKIDAR_INTERVAL;i&&(r.interval=Number.parseInt(i,10)),St(r,"atomic")&&(r.atomic=!r.usePolling&&!r.useFsEvents),r.atomic&&(this._pendingUnlinks=new Map),St(r,"followSymlinks")&&(r.followSymlinks=!0),St(r,"awaitWriteFinish")&&(r.awaitWriteFinish=!1),r.awaitWriteFinish===!0&&(r.awaitWriteFinish={});let s=r.awaitWriteFinish;s&&(s.stabilityThreshold||(s.stabilityThreshold=2e3),s.pollInterval||(s.pollInterval=100),this._pendingWrites=new Map),r.ignored&&(r.ignored=bd(r.ignored));let c=0;this._emitReady=()=>{c++,c>=this._readyCount&&(this._emitReady=Y7,this._readyEmitted=!0,process.nextTick(()=>this.emit(w7)))},this._emitRaw=(...p)=>this.emit(U7,...p),this._readyEmitted=!1,this.options=r,r.useFsEvents?this._fsEventsHandler=new PF(this):this._nodeFsHandler=new y7(this),Object.freeze(r)}add(t,r,n){let{cwd:a,disableGlobbing:i}=this.options;this.closed=!1;let s=yF(t);return a&&(s=s.map(c=>{let p=eQ(c,a);return i||!gd(c)?p:D7(p)})),s=s.filter(c=>c.startsWith(Id)?(this._ignoredPaths.add(c.slice(1)),!1):(this._ignoredPaths.delete(c),this._ignoredPaths.delete(c+Sd),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=s.length),this.options.persistent&&(this._readyCount+=s.length),s.forEach(c=>this._fsEventsHandler._addToFsEvents(c))):(this._readyCount||(this._readyCount=0),this._readyCount+=s.length,Promise.all(s.map(async c=>{let p=await this._nodeFsHandler._addToNodeFs(c,!n,0,0,r);return p&&this._emitReady(),p})).then(c=>{this.closed||c.filter(p=>p).forEach(p=>{this.add(ne.dirname(p),ne.basename(r||p))})})),this}unwatch(t){if(this.closed)return this;let r=yF(t),{cwd:n}=this.options;return r.forEach(a=>{!ne.isAbsolute(a)&&!this._closers.has(a)&&(n&&(a=ne.join(n,a)),a=ne.resolve(a)),this._closePath(a),this._ignoredPaths.add(a),this._watched.has(a)&&this._ignoredPaths.add(a+Sd),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(n=>{let a=n();a instanceof Promise&&t.push(a)})),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,n)=>{let a=this.options.cwd?ne.relative(this.options.cwd,n):n;t[a||UF]=r.getChildren().sort()}),t}emitWithAll(t,r){this.emit(...r),t!==Ad&&this.emit(xd,...r)}async _emit(t,r,n,a,i){if(this.closed)return;let s=this.options;z7&&(r=ne.normalize(r)),s.cwd&&(r=ne.relative(s.cwd,r));let c=[t,r];i!==void 0?c.push(n,a,i):a!==void 0?c.push(n,a):n!==void 0&&c.push(n);let p=s.awaitWriteFinish,d;if(p&&(d=this._pendingWrites.get(r)))return d.lastChange=new Date,this;if(s.atomic){if(t===CF)return this._pendingUnlinks.set(r,c),setTimeout(()=>{this._pendingUnlinks.forEach((m,f)=>{this.emit(...m),this.emit(xd,...m),this._pendingUnlinks.delete(f)})},typeof s.atomic=="number"?s.atomic:100),this;t===Yo&&this._pendingUnlinks.has(r)&&(t=c[0]=Ma,this._pendingUnlinks.delete(r))}if(p&&(t===Yo||t===Ma)&&this._readyEmitted){let m=(f,h)=>{f?(t=c[0]=Ad,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,p.stabilityThreshold,t,m),this}if(t===Ma&&!this._throttle(Ma,r,50))return this;if(s.alwaysStat&&n===void 0&&(t===Yo||t===L7||t===Ma)){let m=s.cwd?ne.join(s.cwd,r):r,f;try{f=await Q7(m)}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(Ad,t),t||this.closed}_throttle(t,r,n){this._throttled.has(t)||this._throttled.set(t,new Map);let a=this._throttled.get(t),i=a.get(r);if(i)return i.count++,!1;let s,c=()=>{let d=a.get(r),m=d?d.count:0;return a.delete(r),clearTimeout(s),d&&clearTimeout(d.timeoutObject),m};s=setTimeout(c,n);let p={timeoutObject:s,clear:c,count:0};return a.set(r,p),p}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(t,r,n,a){let i,s=t;this.options.cwd&&!ne.isAbsolute(t)&&(s=ne.join(this.options.cwd,t));let c=new Date,p=d=>{Dd.stat(s,(m,f)=>{if(m||!this._pendingWrites.has(t)){m&&m.code!=="ENOENT"&&a(m);return}let h=Number(new Date);d&&f.size!==d.size&&(this._pendingWrites.get(t).lastChange=h);let v=this._pendingWrites.get(t);h-v.lastChange>=r?(this._pendingWrites.delete(t),a(void 0,f)):i=setTimeout(p,this.options.awaitWriteFinish.pollInterval,f)})};this._pendingWrites.has(t)||(this._pendingWrites.set(t,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(t),clearTimeout(i),n)}),i=setTimeout(p,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(t,r){if(this.options.atomic&&B7.test(t))return!0;if(!this._userIgnored){let{cwd:n}=this.options,a=this.options.ignored,i=a&&a.map(LF(n)),s=bd(i).filter(p=>typeof p===yd&&!gd(p)).map(p=>p+Sd),c=this._getGlobIgnored().map(LF(n)).concat(i,s);this._userIgnored=Nd(c,void 0,Rd)}return this._userIgnored([t,r])}_isntIgnored(t,r){return!this._isIgnored(t,r)}_getWatchHelpers(t,r){let n=r||this.options.disableGlobbing||!gd(t)?t:P7(t),a=this.options.followSymlinks;return new Cd(t,n,a,this)}_getWatchedDir(t){this._boundRemove||(this._boundRemove=this._remove.bind(this));let r=ne.resolve(t);return this._watched.has(r)||this._watched.set(r,new Pd(r,this._boundRemove)),this._watched.get(r)}_hasReadPermissions(t){if(this.options.ignorePermissionErrors)return!0;let n=(t&&Number.parseInt(t.mode,10))&511;return!!(4&Number.parseInt(n.toString(8)[0],10))}_remove(t,r,n){let a=ne.join(t,r),i=ne.resolve(a);if(n=n??(this._watched.has(a)||this._watched.has(i)),!this._throttle("remove",a,100))return;!n&&!this.options.useFsEvents&&this._watched.size===1&&this.add(t,r,!0),this._getWatchedDir(a).getChildren().forEach(h=>this._remove(a,h));let p=this._getWatchedDir(t),d=p.has(r);p.remove(r),this._symlinkPaths.has(i)&&this._symlinkPaths.delete(i);let m=a;if(this.options.cwd&&(m=ne.relative(this.options.cwd,a)),this.options.awaitWriteFinish&&this._pendingWrites.has(m)&&this._pendingWrites.get(m).cancelWait()===Yo)return;this._watched.delete(a),this._watched.delete(i);let f=n?F7:CF;d&&!this._isIgnored(a)&&this._emit(f,a),this.options.useFsEvents||this._closePath(a)}_closePath(t){this._closeFile(t);let r=ne.dirname(t);this._getWatchedDir(r).remove(ne.basename(t))}_closeFile(t){let r=this._closers.get(t);r&&(r.forEach(n=>n()),this._closers.delete(t))}_addPathCloser(t,r){if(!r)return;let n=this._closers.get(t);n||(n=[],this._closers.set(t,n)),n.push(r)}_readdirp(t,r){if(this.closed)return;let n={type:xd,alwaysStat:!0,lstat:!0,...r},a=b7(t,n);return this._streams.add(a),a.once(M7,()=>{a=void 0}),a.once(q7,()=>{a&&(this._streams.delete(a),a=void 0)}),a}};wd.FSWatcher=zo;var nQ=(e,t)=>{let r=new zo(t);return r.add(e),r};wd.watch=nQ});o();var Mr=j(Ce(),1),Wd=(0,Mr.createContext)(null),sU=function({children:e,value:t}){return Mr.default.createElement(Wd.Provider,{value:t},e)},ns=()=>{let e=(0,Mr.useContext)(Wd);if(e===null)throw new Error("useBiLogger() cannot be used without an <BiProvider>");return e};o();o();var qr=j(Ce(),1),Vd=(0,qr.createContext)(null),cU=e=>qr.default.createElement(Vd.Provider,{...e}),wn=()=>{let e=(0,qr.useContext)(Vd);if(e===null)throw new Error("useErrorReporter() cannot be used without an <ErrorReporterProvider>");return e};o();o();var sh=j(Ei(),1);o();var oh=j(Ei(),1);function fr(e){return oh.HttpClient.isHttpError(e)}var Wq={backoffice:"https://manage.wix.com",editor:"https://editor.wix.com",code:"https://code.wix.com",general:"https://www.wix.com",standalone:void 0};function Vt(e,t){return(...r)=>t.apply(e,r).catch(n=>{throw fr(n)&&!e.isCancel(n)&&!n.response?new T({code:P.NetworkError({cause:n}),cause:n,info:{code:n.code}}):n})}function Yr({getAppToken:e,createHeaders:t,type:r}){let n=(0,sh.createHttpClient)({baseURL:Wq[r],...r!=="standalone"?{getAppToken:e}:{},createHeaders:()=>({...t?.(),"X-XSRF-TOKEN":"nocheck",Cookie:"XSRF-TOKEN=nocheck","User-Agent":"wix-cli"})});return{...n,request:Vt(n,n.request),get:Vt(n,n.get),delete:Vt(n,n.delete),head:Vt(n,n.head),options:Vt(n,n.options),post:Vt(n,n.post),put:Vt(n,n.put),patch:Vt(n,n.patch)}}o();var gi=j(Ce(),1);o();var g=j(Ce(),1),zs=j(Ye(),1);o();function vi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function ch(){return typeof WeakMap<"u"?new WeakMap:Vq()}function Vq(){return{add:vi,delete:vi,get:vi,set:vi,has:function(e){return!1}}}var Kq=Object.prototype.hasOwnProperty,$s=function(e,t){return Kq.call(e,t)};function Ks(e,t){for(var r in t)$s(t,r)&&(e[r]=t[r]);return e}var $q=/^[ \t]*(?:\r\n|\r|\n)/,Yq=/(?:\r\n|\r|\n)[ \t]*$/,zq=/^(?:[\r\n]|$)/,Xq=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,Jq=/^[ \t]*[\r\n][ \t\r\n]*$/;function ph(e,t,r){var n=0,a=e[0].match(Xq);a&&(n=a[1].length);var i="(\\r\\n|\\r|\\n).{0,"+n+"}",s=new RegExp(i,"g");t&&(e=e.slice(1));var c=r.newline,p=r.trimLeadingNewline,d=r.trimTrailingNewline,m=typeof c=="string",f=e.length,h=e.map(function(v,x){return v=v.replace(s,"$1"),x===0&&p&&(v=v.replace($q,"")),x===f-1&&d&&(v=v.replace(Yq,"")),m&&(v=v.replace(/\r\n|\n|\r/g,function(A){return c})),v});return h}function Qq(e,t){for(var r="",n=0,a=e.length;n<a;n++)r+=e[n],n<a-1&&(r+=t[n]);return r}function Zq(e){return $s(e,"raw")&&$s(e,"length")}function uh(e){var t=ch(),r=ch();function n(i){for(var s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];if(Zq(i)){var p=i,d=(s[0]===n||s[0]===st)&&Jq.test(p[0])&&zq.test(p[1]),m=d?r:t,f=m.get(p);if(f||(f=ph(p,d,e),m.set(p,f)),s.length===0)return f[0];var h=Qq(f,d?s.slice(1):s);return h}else return uh(Ks(Ks({},e),i||{}))}var a=Ks(n,{string:function(i){return ph([i],!1,e)[0]}});return a}var st=uh({trimLeadingNewline:!0,trimTrailingNewline:!0});if(typeof module<"u")try{module.exports=st,Object.defineProperty(st,"__esModule",{value:!0}),st.default=st,st.outdent=st}catch{}o();var Kt=j(Ce(),1);var N=({message:e,explanation:t,hint:r})=>Kt.default.createElement(_t,{flexDirection:"column"},Kt.default.createElement(rs,{type:"error"},e),t&&Kt.default.createElement(rs,{type:"warning"},t),r&&Kt.default.createElement(_t,{paddingTop:1,columnGap:1},Kt.default.createElement(qd,null),typeof r=="string"?Kt.default.createElement(H,null,r):r)),J=({message:e,explanation:t,hint:r})=>Kt.default.createElement(N,{message:e,explanation:t,hint:r??"This is probably a temporary system error and has been logged. Try again shortly."});function lh(e){return(0,zs.match)(e,{UnknownFailure:({error:t})=>()=>g.default.createElement(g.default.Fragment,null,g.default.createElement(H,{skin:"error"},"Oh no, seems like the CLI encountered an unexpected error:"),t instanceof Error?g.default.createElement(H,{skin:"error"},t.message):g.default.createElement(H,null,JSON.stringify(t))),FailedToGetDeviceCode:()=>()=>g.default.createElement(J,{message:"An error occured while logging in: Failed to issue a login device code"}),FailedToGetAuthToken:()=>()=>g.default.createElement(J,{message:"An error occured while logging in: Failed to issue refresh token"}),FailedToRefreshTokenForSite:()=>()=>g.default.createElement(J,{message:"An error occured while logging in: Failed to issue refresh token for site"}),FailedToRenewAuthToken:()=>()=>g.default.createElement(J,{message:"Failed to renew access token."}),FailedToRenewAuthTokenSiteNotFound:({siteId:t})=>()=>g.default.createElement(N,{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:()=>()=>g.default.createElement(N,{message:"Failed to renew access token: refresh token has been revoked",hint:"Please login again to get a new refresh token"}),FailedToRevokeRefreshToken:({email:t})=>()=>g.default.createElement(J,{message:"An error occured while trying to logout: Failed to revoke refresh token!",explanation:`Wix CLI is still logged in to account ${t}`}),FailedToFetchPackageJson:()=>()=>g.default.createElement(J,{message:"Failed to fetch package data."}),FailedToCreateProjectFolder:({cause:t,packageFolder:r})=>{let n=he(t);return()=>g.default.createElement(N,{message:`Failed to create project folder: ${r}. Cause: ${n}`})},LatestVersionOfCreateAppRequired:({currentVersion:t,latestVersion:r,updateCommand:n})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Generating a Wix App is only supported using the latest version (",r,") of ",g.default.createElement(H,{bold:!0},"@wix/create-app")," (current:"," ",t,")"),hint:g.default.createElement(H,null,"Make sure you are using the following command:",g.default.createElement(Ht,null),g.default.createElement(H,{bold:!0},n),g.default.createElement(Ht,null),"If the problem persists, try clearing your package manager's cache")}),EmptyDirectoryRequiredAppGeneration:({folder:t})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Generating a Wix App requires an empty directory but"," ",g.default.createElement(H,{bold:!0},t)," already exists and isn't empty"),hint:g.default.createElement(H,null,"Choose a different project name or delete the existing"," ",g.default.createElement(H,{bold:!0},t)," folder")}),InvalidNewPackageName:({packageName:t,validations:r})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Generating a Wix App requires a valid npm package name for the generated ",g.default.createElement(H,{bold:!0},"package.json")," ",g.default.createElement(Ht,null),"The name ",g.default.createElement(H,{bold:!0},t)," failed the following validations:",g.default.createElement(Ht,null),r.map((n,a)=>g.default.createElement(H,{key:a},g.default.createElement(Ht,null),"- ",n))),hint:"Choose a different project name that follows the validations above"}),SiteSelectorTimedout:()=>()=>g.default.createElement(N,{message:"Waiting for application installation timed out."}),TypeErrorInvalidUrl:()=>()=>g.default.createElement(N,{message:"Invalid assets URL."}),UnsupportedPackageManager:({packageManagerName:t})=>()=>g.default.createElement(N,{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})=>()=>g.default.createElement(N,{message:`Generating a Wix App inside ${t} workspaces is not supported`}),FailedToGetDeveloperApps:()=>()=>g.default.createElement(J,{message:"Failed to get the list of your applications"}),FailedToCreateDevCenterApp:()=>()=>g.default.createElement(J,{message:"Failed to register your application in Wix"}),FailedToGetPlacements:()=>()=>g.default.createElement(J,{message:"Failed to get placements"}),FailedToCreateTunnel:()=>()=>g.default.createElement(N,{message:"Failed to create tunnel"}),FailedToDeleteTunnel:()=>()=>g.default.createElement(N,{message:"Failed to delete tunnel"}),SitePermissionDenied:({siteId:t})=>()=>g.default.createElement(N,{message:`You don't have permissions to site ${t}`}),AppPermissionDenied:({appId:t})=>()=>g.default.createElement(N,{message:`You don't have permissions to application ${t}`}),FailedToUpdateTelemetryConfig:()=>()=>g.default.createElement(N,{message:"Failed to change telemetry preferences"}),FailedToInstallPackage:({packageName:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Failed to install npm package ${t}. Cause: ${n}`})},FailedToResolveNpmDependencies:()=>()=>g.default.createElement(J,{message:"Failed to resolve npm dependencies"}),FailedToInstallPackages:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to install npm packages. Cause: ${r}`})},FailedMigrationToAnyNpm:()=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Could not start the migration process"),hint:g.default.createElement(H,null,"Make sure that your package.json does not have packages installed outside of dev dependencies")}),DeprecatedVersion:({currentVersion:t})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,`Your version of the Wix CLI (${t}) is`,g.default.createElement(H,{bold:!0}," deprecated"),"."),hint:"Please update to the latest version to continue"}),FailedToUninstallPackage:({packageName:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Failed to uninstall npm package ${t}. Cause: ${n}`})},FailedToSyncToRevision:({revision:t})=>()=>g.default.createElement(N,{message:`Failed to sync the local project to revision ${t}`}),FailedToCreateVersion:()=>()=>g.default.createElement(N,{message:"Wix CLI failed to create version for your app"}),FailedToReadCache:({path:t})=>()=>g.default.createElement(N,{message:`Failed to read cache file at ${t}.`}),FailedToWriteCache:({path:t})=>()=>g.default.createElement(N,{message:`Failed to write cache file at ${t}.`}),UploadApplicationFailed:()=>()=>g.default.createElement(N,{message:"Failed to upload the application"}),BuiltProjectNeeded:()=>()=>g.default.createElement(N,{message:"Can not find build output, please execute `wix app build` to build your app before proceeding"}),WixUninstallMissingPackageName:()=>()=>g.default.createElement(N,{message:"Please specify a package name"}),FailedToReadJson:({filePath:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Failed to read ${t}. Cause: ${n}`})},InvalidJsonFile:({filePath:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Invalid JSON file located at ${t}. Cause: ${n}`})},FailedToWriteWixLock:()=>()=>g.default.createElement(N,{message:"Failed to write 'wix.lock'"}),InvalidVeloConfigJson:({configFilename:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Invalid ${t}, make sure it's configured correctly. Cause: ${n}`})},DashboardPageConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Dashboard page config not found at ${t}`}),EmbeddedScriptConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Embedded script config not found at ${t}`}),CustomElementConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Site widget config not found at ${t}`}),SitePluginConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Site plugin config not found at ${t}`}),NoExtensionsFound:()=>()=>g.default.createElement(N,{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})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"No ",g.default.createElement(H,{bold:!0},"pages")," directory was found under"," ",g.default.createElement(H,{bold:!0},t),"."),hint:g.default.createElement(H,null,"Consider re-cloning the project repository or creating a"," ",g.default.createElement(H,{bold:!0},"pages")," directory under ",g.default.createElement(H,{bold:!0},t),".")}),DashboardPluginConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Dashboard plugin config not found at ${t}`}),DashboardMenuPluginConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Dashboard menu plugin config not found at ${t}`}),ServicePluginConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Service plugin config not found at ${t}`}),DashboardModalConfigNotFound:({configPath:t})=>()=>g.default.createElement(N,{message:`Dashboard modal config not found at ${t}`}),InvalidConfigSchemaError:({configPath:t,zodError:r})=>()=>g.default.createElement(N,{message:st`
|
|
11
|
-
Invalid configuration found at \`${t}\`:
|
|
12
|
-
The following errors were found:
|
|
13
|
-
${r.errors.map(Ys).join(`
|
|
14
|
-
`)}`,hint:"Fix the errors above for your configurations to be applied successfully."}),InvalidParamsOverrideSchemaError:({paramsOverridePath:t,zodError:r})=>()=>g.default.createElement(N,{message:st`
|
|
15
|
-
Invalid params override found at \`${t}\`:
|
|
16
|
-
The following errors were found:
|
|
17
|
-
${r.errors.map(Ys).join(`
|
|
18
|
-
`)}`,hint:"Fix the errors above for your params override to be applied successfully."}),InvalidDependenciesJsonSchemaError:({path:t,zodError:r})=>()=>g.default.createElement(N,{message:st`
|
|
19
|
-
Invalid configuration found at \`${t}\`:
|
|
20
|
-
The following errors were found:
|
|
21
|
-
${r.errors.map(Ys).join(`
|
|
22
|
-
`)}`,hint:g.default.createElement(H,null,"Try to re-install ",g.default.createElement(H,{bold:!0},"@wix/cli-app")," dependency")}),PermissionDenied:()=>()=>g.default.createElement(N,{message:"Forbidden operation. Missing permissions"}),FailedToReadProjectFiles:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to read source files: make sure you have an 'src' folder and that it's readable. Cause: ${r}`})},FailedToCreateVersionForSubmittedApp:()=>()=>g.default.createElement(N,{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 n="Found one or more project files that are bigger than the allowed limit";return t?.files.length&&(n+=` (${t.expectedSize}KB): ${t.files.map(a=>`${r[a.fileIndex]} (${a.receivedSize}KB)`).join(", ")}`),()=>g.default.createElement(N,{message:n})},GridAppFailedToUpdateFiles:()=>()=>g.default.createElement(N,{message:st`
|
|
23
|
-
Failed to update files.
|
|
24
|
-
Failed to sync changes from local files to the Dev Editor
|
|
25
|
-
Still watching local files and will continue to sync changes...
|
|
26
|
-
`}),FailedToWatchFiles:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to watch files. Cause: ${r}`})},FailedToCreateGridApp:({error:t})=>()=>g.default.createElement(N,{message:"Failed to create an isolated environment.",explanation:t}),DeviceCodeTimedOut:()=>()=>g.default.createElement(N,{message:"The device code has not been approved in the time allocated, please start the login process again."}),DuplicateComponentIdsError:({issues:t})=>{let r=({issue:a})=>{let i=s=>(0,zs.match)(s,{page:()=>"page",plugin:()=>"plugin","menu-plugin":()=>"menu plugin","sidebar-category":()=>"sidebar category","embedded-script":()=>"embedded script","custom-element":()=>"custom element",modal:()=>"modal",topology:()=>"topology","site-plugin":()=>"site plugin"});return g.default.createElement(_t,{flexDirection:"column"},g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Duplicate ID: "),a.id),g.default.createElement(H,{bold:!0},"Extensions:"),a.components.map(({name:s,path:c,type:p})=>g.default.createElement(H,{key:c},"[",i(p),"] ",s," (",c,")")),g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Possible GUID: "),a.suggestedId))},n=g.default.createElement(_t,{flexDirection:"column",rowGap:1},g.default.createElement(H,null,"You can use the provided suggested GUIDs as the ID of the newly created extension."),t.map(a=>g.default.createElement(r,{issue:a,key:a.id})));return()=>g.default.createElement(N,{message:"Found multiple extensions with the same id, this might happen if you copy paste folders.",hint:n})},InvalidResponseData:()=>()=>g.default.createElement(J,{message:"Got unexpected response from server."}),InvalidCreateAppResponse:()=>()=>g.default.createElement(N,{message:"`createApp` returned an invalid response."}),InvalidDeployAppResponse:()=>()=>g.default.createElement(N,{message:"Got unexpected response from server. Make sure you are running a supported version of the Velo CLI."}),InvalidGetDeploymentResponse:()=>()=>g.default.createElement(N,{message:"Got unexpected response from server. Please try again later.."}),FailedToGetPagesDiff:()=>()=>g.default.createElement(N,{message:"Failed to request pages diff."}),InvalidViteBuildOutput:()=>()=>g.default.createElement(N,{message:"Invalid vite build output"}),ViteModuleBundleNotFound:()=>()=>g.default.createElement(N,{message:"Could not find module bundle in vite build output"}),ViteFileNotFoundInOutput:({fileName:t})=>()=>g.default.createElement(N,{message:`Could not find ${t} in vite build output`}),FailedToCreateBackendDeployment:()=>()=>g.default.createElement(N,{message:"Failed to create backend deployment"}),FailedToUpdateBackendDeployment:()=>()=>g.default.createElement(N,{message:"Failed to update backend deployment"}),InvalidDeploymentUrl:({deploymentUrl:t})=>()=>g.default.createElement(N,{message:`Invalid deployment URL: \`${t}\``}),FailedToGetBackendDeployment:()=>()=>g.default.createElement(N,{message:"Failed to get backend deployment"}),FailedToDeployBackend:()=>()=>g.default.createElement(N,{message:"Failed to deploy backend"}),FailedToMarkDeploymentAsPermanent:()=>()=>g.default.createElement(N,{message:"Failed to make backend deployment permanent"}),FailedToGetUserInfo:()=>()=>g.default.createElement(N,{message:"Failed to get user information."}),FailedToGetMyAccount:()=>()=>g.default.createElement(J,{message:"Failed to get account information."}),FailedToCreateDevelopmentSite:()=>()=>g.default.createElement(N,{message:"Failed to create a Development Site"}),FailedToGetDevelopmentSites:()=>()=>g.default.createElement(N,{message:"Failed to request development sites."}),FailedToGetDevelopmentSitesLimit:()=>()=>g.default.createElement(N,{message:"Failed to request development sites limit."}),FailedToGetRequiredApps:()=>()=>g.default.createElement(J,{message:"Failed to get app requirement info."}),FailedToGetMarketListing:()=>()=>g.default.createElement(N,{message:"Failed to get market listing."}),FailedToAddRequiredApp:()=>()=>g.default.createElement(N,{message:"Failed to add required app."}),FailedToQuerySites:()=>()=>g.default.createElement(N,{message:"Failed to request sites list."}),FailedToGetSite:()=>()=>g.default.createElement(N,{message:"Failed to get information about your configured Development Site"}),FailedToDeploySite:()=>()=>g.default.createElement(N,{message:"Failed to deploy site."}),FailedToPublishDeployment:()=>()=>g.default.createElement(J,{message:"Failed to publish site."}),FailedToSaveDevelopmentSite:({path:t})=>()=>g.default.createElement(N,{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=he(t);return()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Failed to build the application.",g.default.createElement(Ht,null),r),hint:"Please check the build output for more information"})},FailedToCheckIfAppInstalled:()=>()=>g.default.createElement(N,{message:"Failed to fetch site installation details"}),FailedToInitializeGitRepo:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to initialize git repo. Cause: ${r}`})},FailedToInstallDependencies:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to install dependencies. Cause: ${r}`})},FailedToCommitChanges:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to commit changes. Cause: ${r}`})},FailedToDeleteAuthData:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to delete auth data: ${r}`})},FailedToDeleteLegacyAuthData:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to delete legacy auth data: ${r}`})},FailedToSaveAuthData:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to save auth data: ${r}`})},FailedToSaveApiKeyAuthData:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Failed to save api key auth data: ${r}`})},FailedToWriteJson:({filePath:t,cause:r})=>{let n=he(r);return()=>g.default.createElement(N,{message:`Failed to write JSON at path: ${t}. Cause: ${n}`})},TemplatePathNotFound:({templatePath:t})=>()=>g.default.createElement(J,{message:`Template path not found: ${t}`}),FailedToCloneRepo:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{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})=>()=>g.default.createElement(J,{message:`Invalid Git URL: ${t}`}),AuthenticationRequired:()=>()=>g.default.createElement(N,{message:"You have to already be logged in to run this command."}),SiteConfiguredRequired:()=>()=>g.default.createElement(N,{message:"You must configure the development site before running this command, or provide a site-id in the command options."}),FailedAddingPackageToWorkspace:()=>()=>g.default.createElement(N,{message:"Could not add package to the workspaces configuration. Please add it as instructed by your package manager.",hint:g.default.createElement(H,null,"Full error can be found in ",g.default.createElement(H,{bold:!0},"wix-error.log"))}),FailedToGenerateSelfsignedCertificate:()=>()=>g.default.createElement(N,{message:"Failed to generate a Selfsigned certificate for development."}),NonInteractiveTerminal:()=>()=>g.default.createElement(N,{message:"This command is not supported in non-interactive terminals. Please run the command in an interactive terminal (TTY)."}),FailedToResolveViteOrigin:()=>()=>g.default.createElement(N,{message:"Failed to resolve the base url for CSS asset urls"}),FailedToCreateAppRelease:()=>()=>g.default.createElement(J,{message:"Failed to create an app configuration."}),FailedToUpdateAppRelease:()=>()=>g.default.createElement(J,{message:"Failed to update an app configuration."}),FailedToCreateComponents:()=>()=>g.default.createElement(J,{message:"Failed to create components."}),FailedToCheckDeprecatedStatus:()=>()=>g.default.createElement(J,{message:"Failed to check cli version deprecated status."}),FailedToGetResolveNpmDependenciesResult:()=>()=>g.default.createElement(J,{message:"Failed to resolve Wix's lockfile."}),CliAppVersionMismatch:({cliVersion:t,cliAppVersion:r})=>()=>g.default.createElement(N,{message:g.default.createElement(H,null,"The versions of ",g.default.createElement(H,{bold:!0},"@wix/cli")," (",t,") and"," ",g.default.createElement(H,{bold:!0},"@wix/cli-app")," (",r,") dependencies do not match"),hint:g.default.createElement(H,null,"Align their versions in your ",g.default.createElement(H,{bold:!0},"package.json")," and re-install dependencies")}),FailedToGetAppValidity:()=>()=>g.default.createElement(J,{message:"Failed to get validation status for app version"}),InvalidDashboardPageRoute:({route:t,errorMessage:r})=>()=>g.default.createElement(N,{message:`Invalid dashboard page route: ${t}`,hint:r}),InvalidEmbeddedScriptFolder:({path:t,errorMessage:r})=>()=>g.default.createElement(N,{message:`Invalid embedded script folder: ${t}`,hint:r}),InvalidEmbeddedScriptTemplate:({templateFilename:t,errorMessage:r})=>()=>g.default.createElement(N,{message:`Invalid embedded script template in ${t}`,hint:r}),InvalidCustomElementTagName:({tagName:t,errorMessage:r})=>()=>g.default.createElement(N,{message:g.default.createElement(H,null,"We use name of folder as tagName for your custom element. Unfortunately, ",g.default.createElement(H,{bold:!0},t)," is invalid tagName. Reason: ",r),hint:g.default.createElement(H,null,"You can find rules for tagName here:"," ",g.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})=>()=>g.default.createElement(N,{message:g.default.createElement(H,null,"Package ",g.default.createElement(H,{bold:!0},t)," has an invalid version range ",g.default.createElement(H,{bold:!0},r)," in your"," ",g.default.createElement(H,{bold:!0},"package.json")," file."),hint:g.default.createElement(H,null,"The version range must follow"," ",g.default.createElement(H,{bold:!0},"semantic versioning")," rules, and it must contain a major version.",g.default.createElement(Ht,null),"Read more about it here:"," ",g.default.createElement(yn,{url:"https://docs.npmjs.com/about-semantic-versioning"}))}),FailedToCreateSiteOverride:()=>()=>g.default.createElement(J,{message:"Failed to create site override configuration"}),FailedToGetPipelineErrorInfo:()=>()=>g.default.createElement(J,{message:"Failed to get error details"}),FailedToGetDeploymentStatus:()=>()=>g.default.createElement(J,{message:"Failed to get deployment status"}),NetworkError:({cause:t})=>{let r=he(t);return()=>g.default.createElement(N,{message:`Network error occurred. Cause: ${r}`,hint:"Make sure you have an active internet connection and try again shortly."})},FailedToGenerateAppMarketQueryParam:()=>()=>g.default.createElement(J,{message:"Failed to get generate appMarket query parameter"}),FailedToParseLog:()=>()=>g.default.createElement(J,{message:"Failed to parse log from the server"}),AppForVersionNotFound:({version:t})=>()=>g.default.createElement(N,{message:`Could not find app configuration for the provided version: "${t}"`,hint:"Make sure that there is an app for this version."}),FailedToFetchAppForVersion:()=>()=>g.default.createElement(J,{message:"Failed to fetch app configuration"}),FailedToGetAppSecret:()=>()=>g.default.createElement(J,{message:"Failed to fetch app keys and configuration"}),FailedToConnectToLogsService:()=>()=>g.default.createElement(N,{message:"Failed to connect to logs service."}),FailedToGetLogsTopology:()=>()=>g.default.createElement(N,{message:"Failed to fetch logs configuration for the given version.",hint:"Try to use a different version."}),FailedInstallCloudflareNoAccess:({path:t})=>()=>g.default.createElement(N,{message:`Failed to install required binary in "${t}"`,hint:"Check that you have required permissions."}),LogsConnectionTimeout:()=>()=>g.default.createElement(N,{message:"Log session has been closed due to timeout."}),InvalidServicePluginImplementation:()=>()=>g.default.createElement(N,{message:"Your service plugin implementation is incorrect."}),UnknownServicePlugin:({name:t})=>()=>g.default.createElement(N,{message:`Unknown service plugin with the name of \`${t}\``}),InvalidServicePluginFolder:({relativePath:t})=>()=>g.default.createElement(N,{message:`Invalid folder for service plugin in \`${t}\``}),InvalidSiteOverrideID:()=>()=>g.default.createElement(N,{message:"Failed to read devSiteOverrideId from local app configurations.",hint:"Restart the dev environment and make sure that the .wix/app.config.json file exists."}),FailedToFindEsbuildOutputFile:()=>()=>g.default.createElement(N,{message:"Failed to find file in ESBuild output",hint:"Restart the dev environment and try again."}),FailedOptimizingWithEsbuild:({cause:t})=>()=>g.default.createElement(N,{message:"Failed to optimize dependency with ESBuild",explanation:"Restart the dev environment and try again.",hint:`See the original error: ${he(t)}`}),FailedReadingEsbuildOutputFile:()=>()=>g.default.createElement(N,{message:"Failed to read ESBuild's output file",hint:"Restart the dev environment and try again."}),CliAppTemplateNotFound:({id:t})=>()=>g.default.createElement(N,{message:g.default.createElement(g.default.Fragment,null,"Template with ID ",g.default.createElement(H,{bold:!0},t)," not found."),hint:"Make sure you are using the correct template ID"}),FailedToQueryCliAppTemplates:()=>()=>g.default.createElement(J,{message:"Failed to fetch available app templates"}),FailedToCreateDevCenterAppFromTemplate:()=>()=>g.default.createElement(J,{message:"Failed to register your application in Wix"}),FailedToQueryApps:()=>()=>g.default.createElement(J,{message:"Failed to query apps"}),FailedToGetSiteInstalledApps:()=>()=>g.default.createElement(J,{message:"Failed to get site installed apps"}),FailedToGetClientSpecMap:()=>()=>g.default.createElement(J,{message:"Failed to get site client spec map"})})}function he(e){return e instanceof Error?e.message:JSON.stringify(e)}function Ys(e){let t=e.path.join(".");return t?`- \`${t}\`: ${e.message}`:`- ${e.message}`}var Xs=({error:e,systemErrorOverride:t})=>(0,gi.useMemo)(()=>{let r=Fd(e);return Ld(r)&&t?t:(0,gi.createElement)(lh(r.cliCode))},[e,t]);o();import{access as YG,readFile as zG,writeFile as aE,mkdir as iE}from"node:fs/promises";import{dirname as hc,join as oE,relative as XG}from"node:path";import{EOL as JG}from"node:os";o();var nE=E.object({dependencies:E.record(E.string()).optional(),devDependencies:E.record(E.string()).optional(),peerDependencies:E.record(E.string()).optional()});function QG(e,t){return JSON.stringify(e,null,t?.spaces).concat(JG)}async function $t(e,t,r){try{let n=QG(t,r);await iE(hc(e),{recursive:!0}),await aE(e,n,"utf-8")}catch(n){throw new T({code:P.FailedToWriteJson({filePath:e,cause:n}),cause:n})}}async function xe(e){let t=null;try{t=await zG(e,"utf-8")}catch(r){throw new T({code:P.FailedToReadJson({filePath:e,cause:r})})}try{return JSON.parse(t)}catch(r){throw new T({code:P.InvalidJsonFile({filePath:e,cause:r})})}}function _e(e){return YG(e).then(()=>!0).catch(()=>!1)}async function Sne(e,t){await iE(hc(e),{recursive:!0}),await aE(e,t,"utf-8")}async function sE(e){let t=oE(e,"package.json"),r=await xe(t),n=await nE.safeParseAsync(r);if(!n.success)throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:n.error})});return r}async function Nne(e,t){let r=oE(e,"package.json");await $t(r,t,{spaces:2})}function Yt(e,t){return XG(e,hc(t))}o();var Kc=j(Ce(),1);o();var cE=j(Ce(),1),Ci=(0,cE.createContext)(null);o();o();var YE=j(Ye(),1);o();o();var hE=j(mE(),1),e1=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed"]),_c=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}},t1=(e,t,r)=>{let n=r.retries-(t-1);return e.attemptNumber=t,e.retriesLeft=n,e},r1=e=>e1.has(e),fE=e=>globalThis.DOMException===void 0?new Error(e):new DOMException(e);async function oe(e,t){return new Promise((r,n)=>{t={onFailedAttempt(){},retries:10,...t};let a=hE.default.operation(t);a.attempt(async i=>{try{r(await e(i))}catch(s){if(!(s instanceof Error)){n(new TypeError(`Non-error was thrown: "${s}". You should only throw errors.`));return}if(s instanceof _c)a.stop(),n(s.originalError);else if(s instanceof TypeError&&!r1(s.message))a.stop(),n(s);else{t1(s,i,t);try{await t.onFailedAttempt(s)}catch(c){n(c);return}a.retry(s)||n(a.mainError())}}}),t.signal&&!t.signal.aborted&&t.signal.addEventListener("abort",()=>{a.stop();let i=t.signal.reason===void 0?fE("The operation was aborted."):t.signal.reason;n(i instanceof Error?i:fE(i))},{once:!0})})}o();o();o();o();function _E(e=""){let[t,r]=n1(e);return r?{schemaName:r,schemaType:t}:{schemaName:t}}var n1=e=>e.split("#");o();o();function EE(e,t,r,n){let a=e;for(let i of t.split(".")){if(!a)return r;a=a[i]}return`${a}${n}`}var a1="_",i1=["wix.com","editorx.com"],o1=["42.wixprod.net","uw2-edt-1.wixprod.net"],s1="dev.wix-code.com",c1=/{(.*)}/,p1=new RegExp(`\\.(${i1.join("|")})$`),u1=new RegExp(`\\.(${o1.join("|")})$`),l1=new RegExp(`.*\\.${s1}$`);function Ee(e){let t=f1(e.host),r=_1(t,e.domainToMappings),n=d1(e.protoPath,e.data||{});return E1(n,r)}function d1(e,t){return e.split("/").map(r=>m1(r,t)).join("/")}function m1(e,t){let r=e.match(c1)||[],n=r[1];if(n){let a=e.replace(r[0],"");return EE(t,n,e,a)}return e}function f1(e){return h1(e).replace(p1,"._base_domain_").replace(u1,"._api_base_domain_").replace(l1,"*.dev.wix-code.com")}function h1(e){return e.replace("create.editorx.com","editor.editorx.com")}function _1(e,t){let r=t[e]||t[a1];return!r&&v1(e)?t[g1]:r}function E1(e,t){let r=t?.find(n=>e.startsWith(n.destPath));return r?r.srcPath+e.slice(r.destPath.length):e}function v1(e){return!!e.match(/\._base_domain_$/)}var g1="www._base_domain_";o();o();var Ec=typeof Buffer=="function",Jne=typeof TextDecoder=="function"?new TextDecoder:void 0,vE=typeof TextEncoder=="function"?new TextEncoder:void 0,x1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Zn=Array.prototype.slice.call(x1),Qne=(e=>{let t={};return e.forEach((r,n)=>t[r]=n),t})(Zn);var Rt=String.fromCharCode.bind(String),Zne=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),A1=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var O1=e=>{let t,r,n,a,i="",s=e.length%3;for(let c=0;c<e.length;){if((r=e.charCodeAt(c++))>255||(n=e.charCodeAt(c++))>255||(a=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|a,i+=Zn[t>>18&63]+Zn[t>>12&63]+Zn[t>>6&63]+Zn[t&63]}return s?i.slice(0,s-3)+"===".substring(s):i},xE=typeof btoa=="function"?e=>btoa(e):Ec?e=>Buffer.from(e,"binary").toString("base64"):O1,S1=Ec?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let n=0,a=e.length;n<a;n+=4096)r.push(Rt.apply(null,e.subarray(n,n+4096)));return xE(r.join(""))};var N1=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Rt(192|t>>>6)+Rt(128|t&63):Rt(224|t>>>12&15)+Rt(128|t>>>6&63)+Rt(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Rt(240|t>>>18&7)+Rt(128|t>>>12&63)+Rt(128|t>>>6&63)+Rt(128|t&63)}},I1=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,R1=e=>e.replace(I1,N1),gE=Ec?e=>Buffer.from(e,"utf8").toString("base64"):vE?e=>S1(vE.encode(e)):e=>xE(R1(e)),AE=(e,t=!1)=>t?A1(gE(e)):gE(e);function OE(e,t=""){let r={};return Object.entries(e).forEach(([n,a])=>{let i=a!==null&&typeof a=="object"&&!Array.isArray(a),s=T1(t,n);if(i){let c=OE(a,s);Object.assign(r,c)}else r[s]=a}),r}function T1(e,t){return`${e}${e?".":""}${t}`}function Ae(e,t){let r=OE(e),n=Object.entries(r).reduce((a,[i,s])=>((Array.isArray(s)?s:[s]).forEach(p=>{p!=null&&a.append(i,p)}),a),new URLSearchParams);return t&&n.append(".r",AE(JSON.stringify(e),!0)),n}o();o();var Oe;(function(e){e[e.TO_JSON=0]="TO_JSON",e[e.FROM_JSON=1]="FROM_JSON"})(Oe||(Oe={}));o();function SE(e,t={},r){return function(a={},i){return typeof a=="string"?a:s(e,a);function s(m,f){let h={};return[null,void 0].includes(f)?f:(Object.entries(f).forEach(([v,x])=>{let A=m[v],{schemaName:R,schemaType:C}=_E(A),G=C==="Map",B=p(R)?.checkRepetable?.(x)??Array.isArray(x),K;B?K=x.map(U=>c(U,R)):G?K=d(x,R):K=c(x,R),h[v]=K}),h)}function c(m,f){if(!f)return m;let h=t[f];if(p(f))return p(f).transform(m);if(h)return s(h,m);throw new Error(`${f} is neither schema nor serializable type`)}function p(m){return r[m]?.[i]}function d(m,f){return Object.entries(m).reduce((h,[v,x])=>(h[v]=c(x,f),h),{})}}}o();o();var NE={types:["google.protobuf.Timestamp"],[Oe.TO_JSON]:{transform:e=>e?.toISOString()},[Oe.FROM_JSON]:{transform:e=>e?new Date(e):void 0}};o();var IE={types:["google.protobuf.FieldMask"],[Oe.TO_JSON]:{transform:e=>e.join(","),checkRepetable:e=>e.some(t=>Array.isArray(t))},[Oe.FROM_JSON]:{transform:e=>typeof e=="object"?e.paths:e.split(",")}};o();var RE={types:["google.protobuf.BytesValue","BYTES"],[Oe.TO_JSON]:{transform:e=>{let t=e.reduce((r,n)=>r+String.fromCharCode(n),"");return btoa(t)}},[Oe.FROM_JSON]:{transform:e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0))}};o();var TE={types:["google.protobuf.Duration"],[Oe.TO_JSON]:{transform:({seconds:e="0",nanos:t=0})=>{let r="";return t!==0&&(r=`.${t.toString().padStart(9,"0")}`),`${e}${r}s`}},[Oe.FROM_JSON]:{transform:e=>{let[t,r]=e.substring(0,e.length-1).split(".");return{seconds:t,nanos:b1(r)}}}};function b1(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 bE={types:["FLOAT","DOUBLE","google.protobuf.FloatValue","google.protobuf.DoubleValue"],[Oe.TO_JSON]:{transform:e=>isFinite(e)?e:e.toString()},[Oe.FROM_JSON]:{transform:e=>e==="NaN"?NaN:e==="Infinity"?1/0:e==="-Infinity"?-1/0:e}};var PE=[NE,IE,RE,TE,bE];o();function CE(e){return e.reduce((t,r)=>{let n=r.types.reduce((a,i)=>({...a,[i]:r}),{});return{...t,...n}},{})}var P1=CE([...PE]);function q(e,t={}){let r=SE(e,t,P1);return{fromJSON(n){let a=C1(n)||n;return r(a,Oe.FROM_JSON)},toJSON(n){return r(n,Oe.TO_JSON)}}}function C1(e){try{return JSON.parse(e)}catch{}}var D1={dateCreated:"google.protobuf.Timestamp",dateUpdated:"google.protobuf.Timestamp"},y1={account:"_account"};var w1={};function L1(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:""}],"wix-bo.com":[{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 Ee(Object.assign(e,{domainToMappings:t}))}function DE(e){var t=q(w1,{}),r=t.toJSON,n=t.fromJSON,a=q(y1,{_account:D1}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.identity.account.v2.account",method:"GET",methodFqn:"com.wixpress.account.api.AccountService.getMyAccount",url:L1({protoPath:"/v1/accounts/my_account",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var F1={},U1={};var M1={body:"BYTES"},q1={body:"BYTES"},k1={},G1={};function vc(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 Ee(Object.assign(e,{domainToMappings:t}))}function gc(e){var t=q(M1,{}),r=t.toJSON,n=t.fromJSON,a=q(q1,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.Token",url:vc({protoPath:"/v1/oauth/token",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function yE(e){var t=q(F1,{}),r=t.toJSON,n=t.fromJSON,a=q(U1,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"GET",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.DeviceCode",url:vc({protoPath:"/v1/oauth/device/code",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function wE(e){var t=q(k1,{}),r=t.toJSON,n=t.fromJSON,a=q(G1,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.RevokeRefreshToken",url:vc({protoPath:"/v1/oauth/revoke",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}var Jr=j(Ye(),1);o();var LE=E.object({deviceCode:E.string(),verificationUri:E.string().url(),userCode:E.string(),expiresIn:E.number()}),xc=E.object({access_token:E.string(),refresh_token:E.string(),expires_in:E.number()}).transform(e=>({accessToken:e.access_token,refreshToken:e.refresh_token,expiresIn:e.expires_in})),Ac=E.object({userId:E.string().uuid(),email:E.string().email()}),FE=E.object({account:E.object({slug:E.string(),accountId:E.string().uuid(),accountOwner:E.string().uuid()})}),UE=E.object({accessToken:E.string(),refreshToken:E.string(),expiresIn:E.number(),issuedAt:E.number()}),ME=UE.extend({userInfo:Ac}),qE=E.object({token:E.string(),accountId:E.string().uuid(),userInfo:E.object({userId:E.string().uuid(),email:E.string()})});var{InvalidResponseData:B1,FailedToGetAuthToken:H1,FailedToGetDeviceCode:j1,FailedToRenewAuthToken:W1,FailedToRenewAuthTokenSiteNotFound:V1,FailedToRevokeRefreshToken:K1}=P,Oc="6f95cec8-3e98-48b9-b4e5-1fb92fcd9973",kE=()=>Math.floor(Date.now()/1e3),ea=class extends Error{},Di=(0,Jr.variant)({TokenRenewed:(0,Jr.payload)(),RefreshTokenRevoked:(0,Jr.fields)()}),Sc=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 oe(()=>this.httpClient.request(yE({...t,clientId:Oc})),this.retryOptions);return LE.parse(r)}catch(r){throw new T({code:j1(),cause:r})}}async createToken(t){try{let r={clientId:Oc,grantType:"urn:ietf:params:oauth:grant-type:device_code",scope:"offline_access",...t};return{...await oe(async()=>{let{data:a,requestId:i}=await this.httpClient.request(gc(r)),s=xc.safeParse(a);if(s.success)return s.data;throw new T({code:B1(),cause:s.error,info:{requestId:i,data:a}})},this.retryOptions),issuedAt:kE()}}catch(r){throw fr(r)&&(r.response?.data?.message==="Device code is not yet verified"||r.response?.data?.error==="authorization_pending")?new ea("Device code is not yet verified."):new T({code:H1(),cause:r})}}async renewToken(t){try{let r={clientId:Oc,grantType:"refresh_token",...t},{data:n}=await oe(()=>this.httpClient.request(gc(r)),this.retryOptions),a=xc.parse(n);return Di.TokenRenewed({...a,issuedAt:kE()})}catch(r){if(fr(r)){if(r.response?.status===400&&r.response.data?.error==="invalid_grant")return Di.RefreshTokenRevoked({cause:r});if(t.siteId&&r.response?.status===404&&r.response.data?.details?.applicationError?.code==="SITE_NOT_FOUND")throw new T({code:V1({siteId:t.siteId}),cause:r})}throw new T({code:W1(),cause:r})}}async revokeRefreshToken(t,{email:r}){try{let{data:n}=await this.httpClient.request(wE(t));return n}catch(n){throw new T({code:K1({email:r}),info:{email:r},cause:n})}}async userInfo({accessToken:t}){try{let r=Yr({type:"backoffice",getAppToken:async()=>t}),{data:n}=await r.get("/_serverless/wix-cli-userinfo/userinfo");return Ac.parse(n)}catch(r){throw new T({code:P.FailedToGetUserInfo(),cause:r})}}async getMyAccount({token:t}){try{let r=Yr({type:"backoffice",getAppToken:async()=>t}),{data:n}=await r.request(DE({}));return FE.parse(n).account}catch(r){throw new T({code:P.FailedToGetMyAccount(),cause:r})}}},zt=new Sc(Yr({type:"backoffice"}));o();import{unlink as X1,rm as J1}from"node:fs/promises";import{resolve as ta}from"node:path";o();import{mkdir as $1}from"node:fs/promises";import{resolve as Y1}from"node:path";import{homedir as z1}from"node:os";function yi(){return ot().dataDir??Y1(z1(),".wix")}async function Eie(){await $1(yi(),{recursive:!0})}var nt=j(Ye(),1);function BE(){return ta(yi(),"auth.json")}function wi(){return ta(yi(),"auth")}function HE(){return ta(wi(),"api-key.json")}function jE(){return ta(wi(),"account.json")}function Q1(e){return ta(wi(),`${e}.json`)}var GE=(0,nt.variant)({Authenticated:(0,nt.payload)(),Unauthenticated:{}});async function WE(){let e=HE();if(!await _e(e))return GE.Unauthenticated();let t=await xe(e),r=qE.parse(t);return GE.Authenticated(r)}async function VE(e){try{let t=HE();await $t(t,e)}catch(t){throw new T({code:P.FailedToSaveApiKeyAuthData({cause:t}),cause:t})}}var Nc=(0,nt.variant)({Authenticated:(0,nt.fields)(),Unauthenticated:{},Expired:(0,nt.fields)()});async function KE(){let e=jE();if(!await _e(e))return Nc.Unauthenticated();let t=await xe(e),r=ME.parse(t);return Tc(r)?Nc.Authenticated(r):Nc.Expired(r)}var Rie=(0,nt.variant)({Authenticated:(0,nt.fields)(),Unauthenticated:{},Expired:(0,nt.fields)()});async function Ic(e,t){try{let r=t?Q1(t):jE();await $t(r,e)}catch(r){throw new T({code:P.FailedToSaveAuthData({cause:r}),cause:r})}}async function Li(){try{await J1(wi(),{recursive:!0,force:!0})}catch(e){throw new T({code:P.FailedToDeleteAuthData({cause:e}),cause:e})}await Rc()&&await Z1()}async function Z1(){try{await X1(BE())}catch(e){throw new T({code:P.FailedToDeleteLegacyAuthData({cause:e}),cause:e})}}async function Rc(){return _e(BE())}function Tc(e){let t=Math.floor(Date.now()/1e3),r=10*60,n=e.expiresIn-r;return e.issuedAt+n>t}function $E({authData:{token:e,accountId:t,userInfo:r},siteId:n}){return{getAccessToken:async()=>e,getRefreshToken:()=>{throw new Error("API key auth does not support refresh tokens")},getRequestHeaders:()=>({"wix-account-id":t,...n&&{"wix-site-id":n}}),userInfo:r}}var zE={async isLoggedIn({siteId:e}={}){let t=await WE();return(0,YE.match)(t,{Authenticated:({payload:r})=>$E({authData:r,siteId:e}),Unauthenticated:()=>null})},async login({token:e}){let{accountId:t,accountOwner:r,slug:n}=await zt.getMyAccount({token:e}),a={token:e,accountId:t,userInfo:{userId:r,email:n}};return await Li(),await VE(a),$E({authData:a})}};o();o();o();var bc=class{value;next;constructor(t){this.value=t}},ra=class{#e;#t;#r;constructor(){this.clear()}enqueue(t){let r=new bc(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 Pc(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 ra,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},a=async(c,p,d)=>{r++;let m=(async()=>c(...d))();p(m);try{await m}catch{}n()},i=(c,p,d)=>{t.enqueue(a.bind(void 0,c,p,d)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},s=(c,...p)=>new Promise(d=>{i(c,d,p)});return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),s}var Jt=j(Ye(),1);o();o();var Qr=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},Cc=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}},XE=e=>globalThis.DOMException===void 0?new Cc(e):new DOMException(e),JE=e=>{let t=e.reason===void 0?XE("This operation was aborted."):e.reason;return t instanceof Error?t:XE(t)};function Dc(e,t){let{milliseconds:r,fallback:n,message:a,customTimers:i={setTimeout,clearTimeout}}=t,s,p=new Promise((d,m)=>{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&&m(JE(h)),h.addEventListener("abort",()=>{m(JE(h))})}if(r===Number.POSITIVE_INFINITY){e.then(d,m);return}let f=new Qr;s=i.setTimeout.call(void 0,()=>{if(n){try{d(n())}catch(h){m(h)}return}typeof e.cancel=="function"&&e.cancel(),a===!1?d():a instanceof Error?m(a):(f.message=a??`Promise timed out after ${r} milliseconds`,m(f))},r),(async()=>{try{d(await e)}catch(h){m(h)}})()}).finally(()=>{p.clear()});return p.clear=()=>{i.clearTimeout.call(void 0,s),s=void 0},p}var yc=Symbol("resolveValue");async function Xt(e,t={}){let{interval:r=20,timeout:n=Number.POSITIVE_INFINITY,before:a=!0}=t,i,s=!1,c=new Promise((p,d)=>{let m=async()=>{try{let f=await e();if(typeof f=="object"&&f[yc])p(f[yc]);else{if(typeof f!="boolean")throw new TypeError("Expected condition to return a boolean");f===!0?p():s||(i=setTimeout(m,r))}}catch(f){d(f)}};a?m():i=setTimeout(m,r)});if(n===Number.POSITIVE_INFINITY)return c;try{return await Dc(c,typeof n=="number"?{milliseconds:n}:n)}finally{s=!0,clearTimeout(i)}}Xt.resolveWith=e=>({[yc]:e});var QE=e=>1e3*e;async function eB({deviceCode:e,expiresIn:t},{signal:r}){try{let n=await Xt(async()=>{try{let s=await zt.createToken({deviceCode:e});return Xt.resolveWith(s)}catch(s){if(s instanceof ea)return!1;throw s}},{interval:ot().waitForLoginInterval??QE(3),timeout:{milliseconds:QE(t),signal:r}}),a=await zt.userInfo({accessToken:n.accessToken}),i={...n,userInfo:a};return await Li(),await Ic(i),i}catch(n){throw n instanceof Qr?new T({code:P.DeviceCodeTimedOut()}):n}}async function ev({refreshToken:e,userInfo:t}){let r=await zt.renewToken({refreshToken:e});return(0,Jt.isType)(r,Di.TokenRenewed)&&await Ic({...r.payload,userInfo:t}),r}async function tB(){let e=await KE();return(0,Jt.match)(e,{Authenticated:t=>t,Unauthenticated:()=>null,Expired:async t=>{let r=await ev(t);return(0,Jt.match)(r,{TokenRenewed:({payload:n})=>({...n,userInfo:t.userInfo}),RefreshTokenRevoked:(0,Jt.constant)(null)})}})}function ZE({userInfo:e,...t}){let r=Pc(1),n={...t};return{getAccessToken:()=>r(async()=>{if(Tc(n))return n.accessToken;let a=await ev({...n,userInfo:e});return(0,Jt.match)(a,{TokenRenewed:({payload:i})=>(n=i,n.accessToken),RefreshTokenRevoked:({cause:i})=>{throw new T({code:P.FailedToRenewAuthTokenRefreshTokenRevoked(),cause:i})}})}),getRefreshToken:()=>n.refreshToken,userInfo:e}}var na={async isLoggedIn(){let e=await zE.isLoggedIn();if(e)return e;let t=await tB();return t?ZE(t):null},async login({deviceCode:e,signal:t}){let r=await eB(e,{signal:t});return ZE(r)}};o();var oa=j(Ce(),1),Nv=j(Ye(),1);o();var Vc=j(Ce(),1);o();function roe(e){return{evid:5200,src:11,endpoint:"wix-cli",params:e}}function noe(e){return{evid:5201,src:11,endpoint:"wix-cli",params:e}}function tv(e){return{evid:5211,src:11,endpoint:"wix-cli",params:e}}function wc(e){return{evid:5212,src:11,endpoint:"wix-cli",params:e}}var xv=j(Ye(),1);var rv={"login.instructions_title":"Authorize the CLI to access your Wix account:","login.instructions_details":`1. Copy this code to the clipboard: <0>{code}</0>
|
|
27
|
-
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 Ue=j(Ce(),1);o();o();import Ui from"node:process";import{Buffer as IB}from"node:buffer";import lv from"node:path";import{fileURLToPath as RB}from"node:url";import TB from"node:child_process";import Hc,{constants as dv}from"node:fs/promises";o();import iv from"node:process";import sB from"node:os";import cB from"node:fs";o();import iB from"node:fs";o();import nv from"node:fs";var Lc;function nB(){try{return nv.statSync("/.dockerenv"),!0}catch{return!1}}function aB(){try{return nv.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function Fc(){return Lc===void 0&&(Lc=nB()||aB()),Lc}var Uc,oB=()=>{try{return iB.statSync("/run/.containerenv"),!0}catch{return!1}};function Zr(){return Uc===void 0&&(Uc=oB()||Fc()),Uc}var av=()=>{if(iv.platform!=="linux")return!1;if(sB.release().toLowerCase().includes("microsoft"))return!Zr();try{return cB.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!Zr():!1}catch{return!1}},aa=iv.env.__IS_WSL_TEST__?av:av();o();function Er(e,t,r){let n=a=>Object.defineProperty(e,t,{value:a,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let a=r();return n(a),a},set(a){n(a)}}),e}o();import{promisify as AB}from"node:util";import Gc from"node:process";import{execFile as OB}from"node:child_process";o();import{promisify as pB}from"node:util";import uB from"node:process";import{execFile as lB}from"node:child_process";var dB=pB(lB);async function Mc(){if(uB.platform!=="darwin")throw new Error("macOS only");let{stdout:e}=await dB("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]);return/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari"}o();o();import mB from"node:process";import{promisify as fB}from"node:util";import{execFile as hB,execFileSync as Coe}from"node:child_process";var _B=fB(hB);async function ov(e,{humanReadableOutput:t=!0}={}){if(mB.platform!=="darwin")throw new Error("macOS only");let r=t?[]:["-ss"],{stdout:n}=await _B("osascript",["-e",e,r]);return n.trim()}async function qc(e){return ov(`tell application "Finder" to set app_path to application file id "${e}" as string
|
|
28
|
-
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`)}o();import{promisify as EB}from"node:util";import{execFile as vB}from"node:child_process";var gB=EB(vB),xB={AppXq0fevzme2pys62n3e0fbqa7peapykr8v:{name:"Edge",id:"com.microsoft.edge.old"},MSEdgeDHTML:{name:"Edge",id:"com.microsoft.edge"},MSEdgeHTM:{name:"Edge",id:"com.microsoft.edge"},"IE.HTTP":{name:"Internet Explorer",id:"com.microsoft.ie"},FirefoxURL:{name:"Firefox",id:"org.mozilla.firefox"},ChromeHTML:{name:"Chrome",id:"com.google.chrome"},BraveHTML:{name:"Brave",id:"com.brave.Browser"},BraveBHTML:{name:"Brave Beta",id:"com.brave.Browser.beta"},BraveSSHTM:{name:"Brave Nightly",id:"com.brave.Browser.nightly"}},Fi=class extends Error{};async function kc(e=gB){let{stdout:t}=await e("reg",["QUERY"," HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice","/v","ProgId"]),r=/ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(t);if(!r)throw new Fi(`Cannot find Windows browser in stdout: ${JSON.stringify(t)}`);let{id:n}=r.groups,a=xB[n];if(!a)throw new Fi(`Unknown browser ID: ${n}`);return a}var SB=AB(OB),NB=e=>e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase());async function Bc(){if(Gc.platform==="darwin"){let e=await Mc();return{name:await qc(e),id:e}}if(Gc.platform==="linux"){let{stdout:e}=await SB("xdg-mime",["query","default","x-scheme-handler/http"]),t=e.trim();return{name:NB(t.replace(/.desktop$/,"").replace("-"," ")),id:t}}if(Gc.platform==="win32")return kc();throw new Error("Only macOS, Linux, and Windows are supported")}var jc=lv.dirname(RB(import.meta.url)),sv=lv.join(jc,"xdg-open"),{platform:en,arch:cv}=Ui,bB=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",n=!1;try{await Hc.access(r,dv.F_OK),n=!0}catch{}if(!n)return e;let a=await Hc.readFile(r,{encoding:"utf8"}),i=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(a);return i?(t=i.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),pv=async(e,t)=>{let r;for(let n of e)try{return await t(n)}catch(a){r=a}throw r},Mi=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return pv(e.app,c=>Mi({...e,app:c}));let{name:t,arguments:r=[]}=e.app??{};if(r=[...r],Array.isArray(t))return pv(t,c=>Mi({...e,app:{name:c,arguments:r}}));if(t==="browser"||t==="browserPrivate"){let c={"com.google.chrome":"chrome","google-chrome.desktop":"chrome","org.mozilla.firefox":"firefox","firefox.desktop":"firefox","com.microsoft.msedge":"edge","com.microsoft.edge":"edge","microsoft-edge.desktop":"edge"},p={chrome:"--incognito",firefox:"--private-window",edge:"--inPrivate"},d=await Bc();if(d.id in c){let m=c[d.id];return t==="browserPrivate"&&r.push(p[m]),Mi({...e,app:{name:tn[m],arguments:r}})}throw new Error(`${d.name} is not supported as a default browser`)}let n,a=[],i={};if(en==="darwin")n="open",e.wait&&a.push("--wait-apps"),e.background&&a.push("--background"),e.newInstance&&a.push("--new"),t&&a.push("-a",t);else if(en==="win32"||aa&&!Zr()&&!t){let c=await bB();n=aa?`${c}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${Ui.env.SYSTEMROOT||Ui.env.windir||"C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`,a.push("-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand"),aa||(i.windowsVerbatimArguments=!0);let p=["Start"];e.wait&&p.push("-Wait"),t?(p.push(`"\`"${t}\`""`),e.target&&r.push(e.target)):e.target&&p.push(`"${e.target}"`),r.length>0&&(r=r.map(d=>`"\`"${d}\`""`),p.push("-ArgumentList",r.join(","))),e.target=IB.from(p.join(" "),"utf16le").toString("base64")}else{if(t)n=t;else{let c=!jc||jc==="/",p=!1;try{await Hc.access(sv,dv.X_OK),p=!0}catch{}n=Ui.versions.electron??(en==="android"||c||!p)?"xdg-open":sv}r.length>0&&a.push(...r),e.wait||(i.stdio="ignore",i.detached=!0)}en==="darwin"&&r.length>0&&a.push("--args",...r),e.target&&a.push(e.target);let s=TB.spawn(n,a,i);return e.wait?new Promise((c,p)=>{s.once("error",p),s.once("close",d=>{if(!e.allowNonzeroExitCode&&d>0){p(new Error(`Exited with code ${d}`));return}c(s)})}):(s.unref(),s)},PB=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return Mi({...t,target:e})};function uv(e){if(typeof e=="string"||Array.isArray(e))return e;let{[cv]:t}=e;if(!t)throw new Error(`${cv} is not supported`);return t}function Wc({[en]:e},{wsl:t}){if(t&&aa)return uv(t);if(!e)throw new Error(`${en} is not supported`);return uv(e)}var tn={};Er(tn,"chrome",()=>Wc({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"]}}));Er(tn,"firefox",()=>Wc({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));Er(tn,"edge",()=>Wc({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Er(tn,"browser",()=>"browser");Er(tn,"browserPrivate",()=>"browserPrivate");var mv=PB;o();var fv=j(Ei(),1);async function hv(e,t){await(0,fv.createHttpClient)().post(e,void 0,{params:{url:t}})}async function _v(e){let{userBrowserTestEndpoint:t}=ot();t?await hv(t,e):await mv(e,{background:!0})}o();var Ev=j(Ce(),1);function vv(e){return(0,Ev.useMemo)(()=>{let t=new URL(e);return t.searchParams.set("color","developer"),t.searchParams.set("studio","true"),t.toString()},[e])}var gv=({userCode:e,verificationUri:t})=>{let r=vv(t),{reportError:n}=wn(),[a,i]=(0,Ue.useState)(null);return Md((s,c)=>{c.return&&_v(r).catch(p=>{n(p),i(p)})}),Ue.default.createElement(Ue.default.Fragment,null,Ue.default.createElement(Ur,{i18nKey:"login.instructions_title"}),Ue.default.createElement(_t,{flexDirection:"column",marginTop:1,marginBottom:1,marginLeft:2},Ue.default.createElement(Ur,{i18nKey:"login.instructions_details",components:[Ue.default.createElement(H,{skin:"legacyBlue"}),Ue.default.createElement(kd,{value:"enter"}),Ue.default.createElement(yn,{url:r})],values:{code:e}})),a&&Ue.default.createElement(Ue.default.Fragment,null,Ue.default.createElement(_t,{flexDirection:"column",marginBottom:1},Ue.default.createElement(Xs,{error:a})),Ue.default.createElement(Ur,{i18nKey:"login.error_opening_browser",components:[Ue.default.createElement(yn,{url:r})]})))};var Av=({loginFn:e,onLogin:t,onError:r})=>{let n=ns();function a(c){n.report(wc({isSuccess:!1,...c instanceof Error?{errorType:c.name}:{errorType:"unknown",errorMessage:JSON.stringify(c)}})),r(c)}let i=Bd(async({signal:c},p)=>{try{let d=await e({deviceCode:p,signal:c});n.report(wc({isSuccess:!0})),t(d)}catch(d){a(d)}}),{status:s}=Fr(async()=>(n.report(tv({})),zt.requestDeviceCode()),[],{onSuccess:c=>{i.execute(c)},onError:a});return(0,xv.match)(s,{Error:()=>null,Loading:()=>Vc.default.createElement(Ka,null),Success:({result:{userCode:c,verificationUri:p}})=>Vc.default.createElement(gv,{userCode:c,verificationUri:p})})};o();var ia=j(Ce(),1),Ov=j(Ye(),1);var Sv=({children:e})=>{let{status:t}=Fr(Rc,[],{onError:()=>{}});return(0,Ov.match)(t,{Error:()=>null,Loading:()=>null,Success:({result:r})=>ia.default.createElement(ia.default.Fragment,null,r&&ia.default.createElement(_t,{marginBottom:1},ia.default.createElement(Ur,{i18nKey:"login.legacy_auth_notice"})),e)})};var Iv=({authStrategy:{login:e,isLoggedIn:t},onLogin:r,onError:n,children:a})=>{let{status:i,merge:s}=Fr(t,[],{onSuccess:c=>{c&&r(c)},onError:n});return(0,Nv.match)(i,{Loading:()=>oa.default.createElement(Ka,null),Error:()=>null,Success:({result:c})=>c===null?oa.default.createElement(jd,{messages:rv},oa.default.createElement(Sv,null,oa.default.createElement(Av,{loginFn:e,onLogin:p=>{s({result:p}),r(p)},onError:n}))):a(c)})};var CB=({children:e,onError:t,onLogin:r})=>{let n=Gd();return Kc.default.createElement(Iv,{authStrategy:na,onLogin:({userInfo:a})=>r?.(a),onError:t??n},({getAccessToken:a,getRequestHeaders:i,userInfo:s})=>Kc.default.createElement(Ci.Provider,{value:{getAccessToken:a,getRequestHeaders:i,userInfo:s}},e))};o();o();var Rv=j(Ce(),1);function $c(){let e=(0,Rv.useContext)(Ci);if(!e)throw new Error("useAuth() cannot be used without an <AuthProvider>");return e}var{isLoggedIn:Jse}=na;o();import{join as yB}from"node:path";o();import{join as DB}from"node:path";function Tv(e=""){return DB(e,".wix")}var rn="wix.config.json";var cce="user.config.json",pce=E.object({telemetry:E.boolean().default(!0),tunneling:E.boolean().default(!1)});function uce(e){return yB(Tv(e),"debug.log")}o();var me=j(Ye(),1),vr=(0,me.variant)({EcomShippingRates:(0,me.fields)(),EcomAdditionalFees:(0,me.fields)(),EcomDiscountsTrigger:(0,me.fields)(),EcomValidations:(0,me.fields)(),EcomPaymentSettings:(0,me.fields)(),EcomGiftCardsProvider:(0,me.fields)()}),te=(0,me.variant)({DashboardPage:(0,me.fields)(),DashboardPlugin:(0,me.fields)(),DashboardMenuPlugin:(0,me.fields)(),DashboardModal:(0,me.fields)(),DashboardSidebarCategory:(0,me.fields)(),EmbeddedScript:(0,me.fields)(),CustomElement:(0,me.fields)(),SitePlugin:(0,me.fields)(),Topology:(0,me.fields)(),Api:(0,me.fields)(),Event:(0,me.fields)(),ServicePlugin:(0,me.fields)()});o();o();var dA=j(Ye(),1);import{join as Z}from"node:path";o();var Ut;(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"})(Ut||(Ut={}));var bv;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})(bv||(bv={}));var Pv;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})(Pv||(Pv={}));var Cv;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(Cv||(Cv={}));var Dv;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(Dv||(Dv={}));var yv;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(yv||(yv={}));var wv;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(wv||(wv={}));var Lv;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(Lv||(Lv={}));var Fv;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(Fv||(Fv={}));var Uv;(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"})(Uv||(Uv={}));var Mv;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(Mv||(Mv={}));var qv;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(qv||(qv={}));var kv;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(kv||(kv={}));var nn;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(nn||(nn={}));var gr;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(gr||(gr={}));var Gv;(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"})(Gv||(Gv={}));var Bv;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(Bv||(Bv={}));var Hv;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(Hv||(Hv={}));var jv;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(jv||(jv={}));var Wv;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(Wv||(Wv={}));var Vv;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(Vv||(Vv={}));var Kv;(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"})(Kv||(Kv={}));var $v;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})($v||($v={}));var Yv;(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"})(Yv||(Yv={}));var zv;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(zv||(zv={}));var Xv;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(Xv||(Xv={}));var Jv;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(Jv||(Jv={}));var Qv;(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"})(Qv||(Qv={}));var Zv;(function(e){e.Metric="Metric",e.Imperial="Imperial"})(Zv||(Zv={}));var eg;(function(e){e.WIX="WIX",e.POS="POS"})(eg||(eg={}));var tg;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(tg||(tg={}));var rg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(rg||(rg={}));var ng;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(ng||(ng={}));var ag;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})(ag||(ag={}));var ig;(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",e.DATA="DATA"})(ig||(ig={}));var og;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(og||(og={}));var sg;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(sg||(sg={}));var cg;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(cg||(cg={}));var pg;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(pg||(pg={}));var ug;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})(ug||(ug={}));var lg;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(lg||(lg={}));var dg;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(dg||(dg={}));var mg;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(mg||(mg={}));var fg;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(fg||(fg={}));var hg;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(hg||(hg={}));var _g;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(_g||(_g={}));var Eg;(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",e.PAYMENT_LINK="PAYMENT_LINK"})(Eg||(Eg={}));var vg;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(vg||(vg={}));var gg;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(gg||(gg={}));var xg;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(xg||(xg={}));var Ag;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(Ag||(Ag={}));var Og;(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"})(Og||(Og={}));var Sg;(function(e){e.SMS="SMS",e.MMS="MMS"})(Sg||(Sg={}));var Ng;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(Ng||(Ng={}));var Ig;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(Ig||(Ig={}));var Rg;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})(Rg||(Rg={}));var Tg;(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"})(Tg||(Tg={}));var bg;(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"})(bg||(bg={}));var Pg;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(Pg||(Pg={}));var Cg;(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"})(Cg||(Cg={}));var Dg;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(Dg||(Dg={}));var yg;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(yg||(yg={}));var wg;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(wg||(wg={}));var Lg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(Lg||(Lg={}));var Fg;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(Fg||(Fg={}));var Ug;(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"})(Ug||(Ug={}));var Mg;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(Mg||(Mg={}));var qg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(qg||(qg={}));var kg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(kg||(kg={}));var Gg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(Gg||(Gg={}));var Bg;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(Bg||(Bg={}));var Hg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(Hg||(Hg={}));var jg;(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"})(jg||(jg={}));var Wg;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(Wg||(Wg={}));var Vg;(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"})(Vg||(Vg={}));var Kg;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(Kg||(Kg={}));var $g;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})($g||($g={}));var Yg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(Yg||(Yg={}));var zg;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(zg||(zg={}));var Xg;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(Xg||(Xg={}));var Jg;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(Jg||(Jg={}));var Qg;(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"})(Qg||(Qg={}));var Zg;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})(Zg||(Zg={}));var ex;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(ex||(ex={}));var tx;(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"})(tx||(tx={}));var rx;(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"})(rx||(rx={}));var nx;(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"})(nx||(nx={}));var ax;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})(ax||(ax={}));var ix;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(ix||(ix={}));var ox;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(ox||(ox={}));var sx;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(sx||(sx={}));var cx;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(cx||(cx={}));var px;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(px||(px={}));var ux;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})(ux||(ux={}));var lx;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(lx||(lx={}));var dx;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(dx||(dx={}));var mx;(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"})(mx||(mx={}));var fx;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(fx||(fx={}));var hx;(function(e){e.FILL="FILL",e.FIT="FIT"})(hx||(hx={}));var _x;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(_x||(_x={}));var Ex;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(Ex||(Ex={}));var vx;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(vx||(vx={}));var gx;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(gx||(gx={}));var xx;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(xx||(xx={}));var Ax;(function(e){e.LIST="LIST",e.GRID="GRID"})(Ax||(Ax={}));var Ox;(function(e){e.LTR="LTR",e.RTL="RTL"})(Ox||(Ox={}));var Sx;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(Sx||(Sx={}));var Nx;(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"})(Nx||(Nx={}));var Ix;(function(e){e.PX="PX",e.EM="EM"})(Ix||(Ix={}));var Rx;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})(Rx||(Rx={}));var Tx;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})(Tx||(Tx={}));var bx;(function(e){e.LTR="LTR",e.RTL="RTL"})(bx||(bx={}));var Px;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(Px||(Px={}));var Cx;(function(e){e.NULL_VALUE="NULL_VALUE"})(Cx||(Cx={}));var Dx;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(Dx||(Dx={}));var yx;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(yx||(yx={}));var wx;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(wx||(wx={}));var Lx;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(Lx||(Lx={}));var Fx;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(Fx||(Fx={}));var Ux;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(Ux||(Ux={}));var Mx;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(Mx||(Mx={}));var qx;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(qx||(qx={}));var kx;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(kx||(kx={}));var Gx;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(Gx||(Gx={}));var Bx;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(Bx||(Bx={}));var Hx;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(Hx||(Hx={}));var jx;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(jx||(jx={}));var Wx;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(Wx||(Wx={}));var Vx;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(Vx||(Vx={}));var Kx;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(Kx||(Kx={}));var $x;(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"})($x||($x={}));var Yx;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(Yx||(Yx={}));var zx;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(zx||(zx={}));var Xx;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(Xx||(Xx={}));var Jx;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(Jx||(Jx={}));var Qx;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(Qx||(Qx={}));var Zx;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})(Zx||(Zx={}));var eA;(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"})(eA||(eA={}));var tA;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(tA||(tA={}));var rA;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(rA||(rA={}));var nA;(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"})(nA||(nA={}));var aA;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})(aA||(aA={}));var iA;(function(e){e.ANY="ANY"})(iA||(iA={}));var oA;(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"})(oA||(oA={}));var sA;(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"})(sA||(sA={}));var cA;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(cA||(cA={}));var pA;(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"})(pA||(pA={}));var uA;(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"})(uA||(uA={}));var lA;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(lA||(lA={}));var wB="dist",mA=".wix",Yc="src",LB=".vite-ssr-deps",fA="custom-elements",FB=Z("node_modules",LB),UB=Z(mA,"app.config.json"),MB=Z(mA,"dev.log"),qi=Z(Yc,"dashboard"),sa=Z(qi,"pages"),ca=Z(qi,"plugins"),pa=Z(qi,"menu-plugins"),ua=Z(qi,"modals"),zc=Z(Yc,"backend"),Xc=Z(zc,"api"),Jc=Z(zc,"events"),Qc=Z(zc,"service-plugins"),Zc=Z(Yc,"site"),Qt=Z(Zc,"embedded-scripts"),an=Z(Zc,"widgets",fA),on=Z(Zc,"plugins",fA),qB=/\{\{\s*(PUBLIC_URL|public_url)\s*\}\}/,kB=/\/[\w\-+]+(\/[\w\-+]+)*\.[\w\-+]+$/,GB=new RegExp(`^${qB.source}${kB.source}$`),BB=/^(https?):\/\/[^\s/$.?#].[^\s]*$/;function xce(e){return Z(e,FB)}function hA(e){return Z(e,sa)}function Ace(e){return Z(e,ca)}function Oce(e){return Z(e,pa)}function Sce(e){return Z(e,ua)}function Nce(e){return Z(e,Qt)}function _A(e){return Z(e,an)}function EA(e){return Z(e,on)}function vA(e){return Z(e,Xc)}function gA(e){return Z(e,Jc)}function Ice(e){return Z(e,Qc)}function ep(e){return Z(e,wB)}function xA(e){return Z(ep(e),"statics")}function ki(e){return Z(ep(e),"backend")}function tp(e){return Z(e,UB)}function Rce(e){return Z(e,MB)}function Tce(e){return Z(ep(e),"devcenter","app-manifest.json")}var HB=E.object({id:E.string(),label:E.string(),priority:E.number().int().optional()}),jB=E.object({sidebar:E.object({categories:E.array(HB).optional()}).optional()}),Qe={$schema:E.string().optional()},WB=E.object({...Qe,appId:E.string().uuid(),projectId:E.string(),dashboard:jB.optional()}).strict(),AA=WB.extend({sentryDSN:E.string().optional(),trusted:E.boolean().default(!1)}).strict(),OA=E.object({siteId:E.string().uuid().optional(),devArmTag:E.string().optional(),devSiteOverrideId:E.string().optional(),topologyComponentId:E.string().uuid().optional()}),VB=E.object({disabled:E.boolean().optional(),categoryId:E.string().uuid().optional(),priority:E.number().int().optional(),whenActive:E.object({selectedPageId:E.string().optional(),hideSidebar:E.boolean().optional()}).optional()}),KB=E.object({...Qe,id:E.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:E.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:E.array(E.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:VB.optional()}).strict(),SA=KB.extend({requiredPermission:E.string().optional(),sentryDSN:E.string().optional(),experiments:E.object({enabledBy:E.string()}).optional()}).strict(),$B=E.object({...Qe,id:E.string().uuid().describe("The ID (GUID) is used to register the modal in the Wix App Dashboard. The ID must be unique across all pages in the app."),title:E.string().min(1).describe("The title is used to refer to the modal in the Wix App Dashboard."),width:E.number().optional().describe("Initial width of the modal while loading, in pixels."),height:E.number().optional().describe("Initial height of the modal while loading, in pixels.")}).strict(),NA=$B.extend({requiredPermission:E.string().optional(),sentryDSN:E.string().optional()}).strict(),YB=E.object({...Qe,id:E.string().uuid().describe("ID (GUID) of the plugin you created using the CLI. This ID is auto-generated by Wix."),title:E.string().min(1).describe("Name of the plugin."),extends:E.string().uuid().describe("Slot ID of the dashboard page hosting the plugin."),width:E.number().optional().describe("Initial width of the plugin while loading, in pixels."),height:E.number().optional().describe("Initial height of the plugin while loading, in pixels.")}).strict(),IA=YB.extend({requiredPermission:E.string().optional(),sentryDSN:E.string().optional()}).strict(),zB=E.object({navigateToPage:E.object({pageId:E.string().uuid().describe("ID of the dashboard page to which site administrators are directed."),relativeUrl:E.string().optional().describe("URI segment appended to the base URI of the target dashboard page. ")}).describe("Page navigation configuration object. "),openModal:E.object({componentId:E.string().uuid().describe("ID of the dashboard modal to display when the extension's menu item is clicked."),componentParams:E.record(E.string().min(1),E.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:E.ZodIssueCode.custom,message:"action must have either navigateToPage or openModal"}),e.navigateToPage&&e.openModal&&t.addIssue({code:E.ZodIssueCode.custom,message:"action can't have both navigateToPage and openModal"})}).describe("Navigation configuration object that determines the action taken when the extension is clicked."),XB=E.object({...Qe,id:E.string().uuid().describe("The ID (GUID) is used to register the page in the Wix App Dashboard and must be unique across all extensions in the app."),title:E.string().min(1).describe("Text of the menu item the extension adds."),subtitle:E.string().max(200).optional().describe("Secondary text that appears in the menu just below the title."),iconKey:E.string().min(3).max(50).optional().describe("Icon that appears next to your extension's title."),extends:E.string().uuid().describe("Slot ID into which the extension plugs in."),action:zB}).strict(),RA=XB.extend({sentryDSN:E.string().optional(),requiredPermission:E.string().optional()}).strict(),TA=E.object({...Qe,id:E.string().uuid().describe("The ID (GUID) is a unique identifier for your script."),name:E.string().min(1).describe("The name of your script as it will appear in the Wix App Dashboard."),scriptType:E.enum([gr.FUNCTIONAL,gr.ESSENTIAL,gr.ANALYTICS,gr.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:E.enum([nn.HEAD,nn.BODY_START,nn.BODY_END]).describe("An enum indicating where in the page's DOM the HTML code will be injected.")}).strict(),Ke=(0,dA.variant)({Site:{},Editor:{},Dashboard:{}}),bA=E.object({...Qe,id:E.string().uuid().describe("The ID (GUID) is a unique identifier for your element."),name:E.string().min(1).describe("The name of your element as it will appear in the Wix App Dashboard"),height:E.object({defaultHeight:E.number().describe("Initial height of the widget in pixels when it is first installed on a site")}).strict(),width:E.object({defaultWidth:E.number().describe("Initial width of the widget in pixels when it is first installed on a site"),stretchByDefault:E.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:E.boolean().optional().describe("Allows a user to stretch the widget to the full width of the container if true")}).strict(),installation:E.object({autoAddToSite:E.boolean().optional().describe("Automatically adds the widget to a site upon installation if true"),essential:E.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(),JB=E.object({appDefinitionId:E.string().uuid(),widgetId:E.string().uuid(),slotId:E.string()}).strict(),PA=E.object({...Qe,id:E.string().uuid().describe("The ID (GUID) is a unique identifier for your plugin."),referenceComponentId:E.string().uuid().describe("The referenceComponentId (GUID) is a unique identifier for your element."),marketData:E.object({name:E.string().describe("The name of your plugin as it will appear in the plugin explorer"),description:E.string().optional().describe("The description of your plugin as it will appear in the plugin explorer"),logoUrl:E.union([E.string().regex(BB,{message:"The logo URL must be a valid URL"}),E.string().regex(GB,{message:"The logo should be a path to the file"})]).optional().describe("The logo of your plugin as it will appear in the plugin explorer")}).strict(),placements:E.array(JB),installation:E.object({autoAddToSite:E.boolean().optional().describe("Automatically adds the plugin to a site upon installation if true")}).strict().optional()}).strict(),CA=E.record(E.string()),bce=E.object({id:E.string().uuid(),name:E.string().min(1),backendApiUrl:E.string().min(1)}).strict(),DA=E.object({...Qe,id:E.string().uuid(),name:E.string(),description:E.string().optional(),learnMoreUrl:E.string().url().optional(),dashboardUrl:E.string().url().optional(),fallbackDefinitionMandatory:E.boolean().optional(),thumbnailUrl:E.string().url().optional()}).strict(),yA=E.object({...Qe,id:E.string().uuid(),name:E.string()}).strict(),wA=E.object({...Qe,id:E.string().uuid(),name:E.string()}).strict(),LA=E.object({...Qe,id:E.string().uuid(),name:E.string(),validateInCart:E.boolean().optional()}).strict(),FA=E.object({...Qe,id:E.string().uuid(),name:E.string(),fallbackValueForRequires3dSecure:E.boolean().optional()}).strict(),UA=E.object({...Qe,id:E.string().uuid(),name:E.string()}).strict(),MA=E.union([E.literal(Ut.ECOM_SHIPPING_RATES),E.literal(Ut.ECOM_ADDITIONAL_FEES),E.literal(Ut.ECOM_DISCOUNTS_TRIGGER),E.literal(Ut.ECOM_VALIDATIONS),E.literal(Ut.ECOM_PAYMENT_SETTINGS),E.literal(Ut.GIFT_CARDS_PROVIDER)]);o();o();o();var QB={checkboxGroupOptions:"_checkboxGroup",validation:"_arrayType"},ZB={checkboxOptions:"_checkbox"},eH={numberInputOptions:"_numberInput",ratingInputOptions:"_ratingInput",validation:"_numberType"},tH={object:"_objectType"},rH={textInputOptions:"_textInput",radioGroupOptions:"_radioGroup",dropdownOptions:"_dropdown",dateTimeOptions:"_dateTimeInput",phoneInputOptions:"_phoneInput"},nH={actionConfig:"_actionSPIConfig"},aH={icon:"_apiUpstreamWixCommonImage"},iH={requiredSettings:"google.protobuf.FieldMask",adminConfigurableSettings:"google.protobuf.FieldMask"},oH={urlExpirationDate:"google.protobuf.Timestamp"},sH={components:"_component",pricingModels:"_pricingModel"},cH={image:"_media"};var pH={numberOptions:"_numberType",objectOptions:"_objectType"},uH={items:"_arrayItems"},lH={audio:"_media",coverImage:"_media"},dH={expectedInputs:"_expectedInputs"},mH={image:"_media"},fH={monthlyPrice:"DOUBLE",yearlyPrice:"DOUBLE",oneTimePrice:"DOUBLE",meteredBilling:"_meteredBilling"};var hH={label:"_richContent"},_H={description:"_richContent",options:"_option"},EH={urlExpirationDate:"google.protobuf.Timestamp"},vH={compData:"_componentData"},gH={widgetComponentData:"_widgetComponentData",widgetOutOfIframeData:"_widgetOutOfIframeComponentData",studioWidgetComponentData:"_studioWidgetComponentData",shippingLabelCarrier:"_shippingLabelCarrierSpiConfig",fictionalShippingProvider:"_shippingProviderConfig",automationsActionProvider:"_actionProviderSPIConfig",identityAuthenticator:"_authenticatorConfig",multilingualTranslationSchema:"_multilingualTranslationSchema",customElementWidget:"_customElementWidget",formTemplate:"_formTemplate",function:"_function"};var xH={presets:"_preset"},AH={description:"_richContent"};var OH={representativeImage:"_commonImage"},SH={poll:"_pollDesign"},NH={header:"_header",richText:"_richText"},IH={description:"_richContent"},RH={description:"_richContent"},TH={presetsEditorPresence:"_presetEditorPresence"},bH={expectedStartInputs:"_predefinedExpectedInput",expectedVerifyInputs:"_predefinedExpectedInput"},PH={description:"_richContent"},CH={inputOptions:"_inputField",displayOptions:"_displayField",submitOptions:"_submitButton"},DH={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"_formFieldV2",deletedFields:"_formFieldV2"},yH={description:"_description"},wH={items:"_item",options:"_galleryOptions"},LH={item:"_itemStyle"};var FH={};var UH={dateCreated:"google.protobuf.Timestamp",data:"_appData"};var MH={content:"_richContent"},qH={urlExpirationDate:"google.protobuf.Timestamp"},kH={image:"_media"},GH={stringOptions:"__String",numberOptions:"__Number",booleanOptions:"__Boolean",arrayOptions:"__Array",objectOptions:"__Object",wixFileOptions:"_wixFile",paymentOptions:"_payment",multilineAddressOptions:"_inputFieldMultilineAddress"},BH={multilineAddressOptions:"_multilineAddress"},HH={image:"_itemImage",video:"_video"},jH={media:"_media"},WH={ratio:"google.protobuf.DoubleValue"},VH={mapSettings:"_mapSettings"},KH={lat:"google.protobuf.DoubleValue",lng:"google.protobuf.DoubleValue"},$H={duration:"google.protobuf.DoubleValue"},YH={image:"_upstreamWixCommonImage"},zH={monthlyBaseFee:"DOUBLE",additionalCharges:"google.protobuf.DoubleValue"},XH={description:"_richContent"},JH={referenceData:"_schema"},QH={galleryData:"_galleryData",imageData:"_imageData",mapData:"_mapData",pollData:"_pollData",appEmbedData:"_appEmbedData",videoData:"_videoData",audioData:"_audioData",nodes:"_node"},ZH={description:"_richContent"},ej={maximum:"google.protobuf.DoubleValue",minimum:"google.protobuf.DoubleValue",multipleOf:"google.protobuf.DoubleValue",enum:"google.protobuf.DoubleValue"},tj={properties:"Map#_propertiesType"},rj={media:"_mediaItem"},nj={width:"DOUBLE",length:"DOUBLE",height:"google.protobuf.DoubleValue"},aj={dimension:"_packageDimension",image:"_image"},ij={checkboxGroupOptions:"_productCheckboxGroup",donationInputOptions:"_donationInput"},oj={description:"_richContent"},sj={billing:"_billing"},cj={image:"_media",options:"_pollOption"},pj={poll:"_poll",design:"_design"},uj={background:"_background"},lj={image:"_media"},dj={configuration:"_predefinedExpectedInputConfiguration"},mj={textInput:"_adminConfigurableTextInput"},fj={wixMediaThumbnail:"_apiUpstreamWixCommonImage"},hj={wixMediaThumbnail:"_commonImage"},_j={plans:"_plan"},Ej={description:"_richContent",options:"_productCheckboxGroupOption"},vj={media:"_mediaItem"},gj={numberOptions:"_numberType",arrayOptions:"_arrayType"},xj={},Aj={apps:"_v1App"},Oj={description:"_richContent"},Sj={description:"_richContent"},Nj={nodes:"_node",metadata:"_v1Metadata"},Ij={content:"_richContent"},Rj={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"Map#_v1SchemaField"};var Tj={packageTypes:"_packageType"},bj={shippingPrice:"DOUBLE"},Pj={description:"_richContent"},Cj={widgetDisplay:"_widgetDisplay",editorPresence:"_editorPresence"},Dj={thankYouMessage:"_thankYouMessage"},yj={description:"_richContent"},wj={text:"_richContent"};var Lj={urlExpirationDate:"google.protobuf.Timestamp"},Gi={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},Fj={app:"_v1App"},Uj={app:"_v1App"},Mj={},qj={app:"_v1App"},kj={createdTimestamp:"google.protobuf.Timestamp",updatedTimestamp:"google.protobuf.Timestamp"},Gj={index:"google.protobuf.DoubleValue"},Bj={media:"_media",thumbnail:"_media"},Hj={video:"_media",thumbnail:"_media"},jj={widgetDisplay:"_widgetDisplay"},Wj={price:"google.protobuf.FloatValue"},Vj={widgetData:"_widgetComponentData"},Kj={fileUploadOptions:"_fileUpload",signatureOptions:"_signature"};function qA(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"}],"wix-bo.com":[{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 Ee(Object.assign(e,{domainToMappings:t}))}function rp(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 Ee(Object.assign(e,{domainToMappings:t}))}function kA(e){var t=q(Fj,{_v1App:Gi}),r=t.toJSON,n=t.fromJSON,a=q(Uj,{_v1App:Gi}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app",method:"POST",methodFqn:"wix.devcenter.apps.v1.AppsService.CreateApp",url:rp({protoPath:"/v1/apps",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function GA(e){var t=q(Mj,{}),r=t.toJSON,n=t.fromJSON,a=q(qj,{_v1App:Gi}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"wix.devcenter.apps.v1.AppsService.GetApp",url:rp({protoPath:"/v1/apps/{appId}",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function BA(e){var t=q(xj,{}),r=t.toJSON,n=t.fromJSON,a=q(Aj,{_v1App:Gi}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app",method:"POST",methodFqn:"wix.devcenter.apps.v1.AppsService.QueryApp",url:rp({protoPath:"/v1/apps/query",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function HA(e){var t=q(FH,{}),r=t.toJSON,n=t.fromJSON,a=q(UH,{__Array:QB,__Boolean:ZB,__Number:eH,__Object:tH,__String:rH,_actionProviderSPIConfig:nH,_actionSPIConfig:aH,_adminConfigurableTextInput:iH,_apiUpstreamWixCommonImage:oH,_appData:sH,_appEmbedData:cH,_arrayItems:pH,_arrayType:uH,_audioData:lH,_authenticatorConfig:dH,_background:mH,_billing:fH,_checkbox:hH,_checkboxGroup:_H,_commonImage:EH,_component:vH,_componentData:gH,_customElementWidget:xH,_dateTimeInput:AH,_description:OH,_design:SH,_displayField:NH,_donationInput:IH,_dropdown:RH,_editorPresence:TH,_expectedInputs:bH,_fileUpload:PH,_formFieldV2:CH,_formTemplate:DH,_function:yH,_galleryData:wH,_galleryOptions:LH,_header:MH,_image:qH,_imageData:kH,_inputField:GH,_inputFieldMultilineAddress:BH,_item:HH,_itemImage:jH,_itemStyle:WH,_mapData:VH,_mapSettings:KH,_media:$H,_mediaItem:YH,_meteredBilling:zH,_multilineAddress:XH,_multilingualTranslationSchema:JH,_node:QH,_numberInput:ZH,_numberType:ej,_objectType:tj,_option:rj,_packageDimension:nj,_packageType:aj,_payment:ij,_phoneInput:oj,_plan:sj,_poll:cj,_pollData:pj,_pollDesign:uj,_pollOption:lj,_predefinedExpectedInput:dj,_predefinedExpectedInputConfiguration:mj,_preset:fj,_presetEditorPresence:hj,_pricingModel:_j,_productCheckboxGroup:Ej,_productCheckboxGroupOption:vj,_propertiesType:gj,_radioGroup:Oj,_ratingInput:Sj,_richContent:Nj,_richText:Ij,_schema:Rj,_shippingLabelCarrierSpiConfig:Tj,_shippingProviderConfig:bj,_signature:Pj,_studioWidgetComponentData:Cj,_submitButton:Dj,_textInput:yj,_thankYouMessage:wj,_upstreamWixCommonImage:Lj,_v1Metadata:kj,_v1SchemaField:Gj,_video:Bj,_videoData:Hj,_widgetComponentData:jj,_widgetDisplay:Wj,_widgetOutOfIframeComponentData:Vj,_wixFile:Kj}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppByVersion",url:qA({protoPath:"/v1/apps/{appId}/version/{version}",data:p,host:c}),params:Ae(p),transformResponse:a,fallback:[{method:"GET",url:qA({protoPath:"/v1/apps/{appId}/version/{version}",data:p,host:c}),params:Ae(p)}]};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var $j={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",reviews:"_reviews"},Yj={},zj={myApps:"_myApp"},Xj={averageRating:"google.protobuf.DoubleValue"};function Jj(e){var t={"dev._base_domain_":[{srcPath:"/my-apps",destPath:""}],"manage._base_domain_":[{srcPath:"/my-apps",destPath:""}]};return Ee(Object.assign(e,{domainToMappings:t}))}function jA(e){var t=q(Yj,{}),r=t.toJSON,n=t.fromJSON,a=q(zj,{_myApp:$j,_reviews:Xj}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.myapps.v1.my_app",method:"POST",methodFqn:"wix.devcenter.myapps.v1.MyAppsService.QueryMyApps",url:Jj({protoPath:"/v1/my-apps/query",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var Qj={},Zj={};var eW={},tW={},rW={},nW={};function np(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 Ee(Object.assign(e,{domainToMappings:t}))}function WA(e){var t=q(Qj,{}),r=t.toJSON,n=t.fromJSON,a=q(Zj,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"POST",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.CreateDevelopmentSite",url:np({protoPath:"/v1/development-sites",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function VA(e){var t=q(rW,{}),r=t.toJSON,n=t.fromJSON,a=q(nW,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSites",url:np({protoPath:"/v1/development-sites",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function KA(e){var t=q(eW,{}),r=t.toJSON,n=t.fromJSON,a=q(tW,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSitesLimit",url:np({protoPath:"/v1/development-sites-limit",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var ap={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},aW={},iW={marketListing:"_marketListing"},oW={mask:"google.protobuf.FieldMask",marketListing:"_marketListing"},sW={marketListing:"_marketListing"};function $A(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 Ee(Object.assign(e,{domainToMappings:t}))}function YA(e){var t=q(oW,{_marketListing:ap}),r=t.toJSON,n=t.fromJSON,a=q(sW,{_marketListing:ap}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"PUT",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.UpdateMarketListing",url:$A({protoPath:"/v1/marketListings/{marketListing.id}",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function zA(e){var t=q(aW,{}),r=t.toJSON,n=t.fromJSON,a=q(iW,{_marketListing:ap}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"POST",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.QueryMarketListing",url:$A({protoPath:"/v1/marketListings/query",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var cW={},pW={};function uW(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 Ee(Object.assign(e,{domainToMappings:t}))}function XA(e){var t=q(cW,{}),r=t.toJSON,n=t.fromJSON,a=q(pW,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.app_assessment.v1.validation",method:"GET",methodFqn:"com.wix.devcenter.AppValidationService.GetAppValidationReport",url:uW({protoPath:"/v1/get-app-validation-report/{appId}/{version}",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var lW={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},dW={},mW={app:"_app"};var fW={},hW={};function JA(e){var t={"dev._base_domain_":[{srcPath:"/app-templates-service",destPath:""}],"manage._base_domain_":[{srcPath:"/app-templates-service",destPath:""}]};return Ee(Object.assign(e,{domainToMappings:t}))}function QA(e){var t=q(dW,{}),r=t.toJSON,n=t.fromJSON,a=q(mW,{_app:lW}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app_template",method:"POST",methodFqn:"wix.devcenter.apps.templates.v1.AppTemplatesService.CreateAppFromTemplate",url:JA({protoPath:"/v1/create-app-from-template",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function ZA(e){var t=q(fW,{}),r=t.toJSON,n=t.fromJSON,a=q(hW,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.devcenter.apps.v1.app_template",method:"GET",methodFqn:"wix.devcenter.apps.templates.v1.AppTemplatesService.ListAppTemplates",url:JA({protoPath:"/v1/app-templates",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();o();var eO;(function(e){e.ACTIVE="ACTIVE",e.DEPRECATED="DEPRECATED",e.ARCHIVED="ARCHIVED"})(eO||(eO={}));var tO;(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"})(tO||(tO={}));var rO;(function(e){e.USER="USER",e.APP="APP"})(rO||(rO={}));var nO;(function(e){e.ACCOUNT="ACCOUNT",e.COMPANY="COMPANY"})(nO||(nO={}));var aO;(function(e){e.ASC="ASC",e.DESC="DESC"})(aO||(aO={}));var iO;(function(e){e.CREATED="CREATED",e.UPDATED="UPDATED",e.DEPRECATED="DEPRECATED",e.DELETED="DELETED"})(iO||(iO={}));var oO;(function(e){e.UNKNOWN="UNKNOWN",e.ANONYMOUS_VISITOR="ANONYMOUS_VISITOR",e.MEMBER="MEMBER",e.WIX_USER="WIX_USER",e.APP="APP"})(oO||(oO={}));var sO;(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"})(sO||(sO={}));var cO;(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"})(cO||(cO={}));var Zt;(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"})(Zt||(Zt={}));var pO;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})(pO||(pO={}));var uO;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})(uO||(uO={}));var lO;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(lO||(lO={}));var dO;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(dO||(dO={}));var mO;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(mO||(mO={}));var fO;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(fO||(fO={}));var hO;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(hO||(hO={}));var _O;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(_O||(_O={}));var EO;(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"})(EO||(EO={}));var vO;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(vO||(vO={}));var gO;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(gO||(gO={}));var xO;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(xO||(xO={}));var AO;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(AO||(AO={}));var OO;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(OO||(OO={}));var SO;(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"})(SO||(SO={}));var NO;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(NO||(NO={}));var IO;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(IO||(IO={}));var RO;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(RO||(RO={}));var TO;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(TO||(TO={}));var bO;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(bO||(bO={}));var PO;(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"})(PO||(PO={}));var CO;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})(CO||(CO={}));var DO;(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"})(DO||(DO={}));var yO;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(yO||(yO={}));var wO;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(wO||(wO={}));var LO;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(LO||(LO={}));var FO;(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"})(FO||(FO={}));var UO;(function(e){e.Metric="Metric",e.Imperial="Imperial"})(UO||(UO={}));var MO;(function(e){e.WIX="WIX",e.POS="POS"})(MO||(MO={}));var qO;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(qO||(qO={}));var kO;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(kO||(kO={}));var GO;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(GO||(GO={}));var BO;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})(BO||(BO={}));var HO;(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",e.DATA="DATA"})(HO||(HO={}));var jO;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(jO||(jO={}));var WO;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(WO||(WO={}));var VO;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(VO||(VO={}));var KO;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(KO||(KO={}));var $O;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})($O||($O={}));var YO;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(YO||(YO={}));var zO;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(zO||(zO={}));var XO;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(XO||(XO={}));var JO;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(JO||(JO={}));var QO;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(QO||(QO={}));var ZO;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(ZO||(ZO={}));var eS;(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",e.PAYMENT_LINK="PAYMENT_LINK"})(eS||(eS={}));var tS;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(tS||(tS={}));var rS;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(rS||(rS={}));var nS;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(nS||(nS={}));var aS;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(aS||(aS={}));var iS;(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"})(iS||(iS={}));var oS;(function(e){e.SMS="SMS",e.MMS="MMS"})(oS||(oS={}));var sS;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(sS||(sS={}));var cS;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(cS||(cS={}));var pS;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})(pS||(pS={}));var uS;(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"})(uS||(uS={}));var lS;(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"})(lS||(lS={}));var dS;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(dS||(dS={}));var mS;(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"})(mS||(mS={}));var fS;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(fS||(fS={}));var hS;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(hS||(hS={}));var _S;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(_S||(_S={}));var ES;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(ES||(ES={}));var vS;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(vS||(vS={}));var gS;(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"})(gS||(gS={}));var xS;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(xS||(xS={}));var AS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(AS||(AS={}));var OS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(OS||(OS={}));var SS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(SS||(SS={}));var NS;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(NS||(NS={}));var IS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(IS||(IS={}));var RS;(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"})(RS||(RS={}));var TS;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(TS||(TS={}));var bS;(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"})(bS||(bS={}));var PS;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(PS||(PS={}));var CS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})(CS||(CS={}));var DS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(DS||(DS={}));var yS;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(yS||(yS={}));var wS;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(wS||(wS={}));var LS;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(LS||(LS={}));var FS;(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"})(FS||(FS={}));var US;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})(US||(US={}));var MS;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(MS||(MS={}));var qS;(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"})(qS||(qS={}));var kS;(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"})(kS||(kS={}));var GS;(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"})(GS||(GS={}));var BS;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})(BS||(BS={}));var HS;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(HS||(HS={}));var jS;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(jS||(jS={}));var WS;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(WS||(WS={}));var VS;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(VS||(VS={}));var KS;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(KS||(KS={}));var $S;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})($S||($S={}));var YS;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(YS||(YS={}));var zS;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(zS||(zS={}));var XS;(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"})(XS||(XS={}));var JS;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(JS||(JS={}));var QS;(function(e){e.FILL="FILL",e.FIT="FIT"})(QS||(QS={}));var ZS;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(ZS||(ZS={}));var eN;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(eN||(eN={}));var tN;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(tN||(tN={}));var rN;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(rN||(rN={}));var nN;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(nN||(nN={}));var aN;(function(e){e.LIST="LIST",e.GRID="GRID"})(aN||(aN={}));var iN;(function(e){e.LTR="LTR",e.RTL="RTL"})(iN||(iN={}));var oN;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(oN||(oN={}));var sN;(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"})(sN||(sN={}));var cN;(function(e){e.PX="PX",e.EM="EM"})(cN||(cN={}));var pN;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})(pN||(pN={}));var uN;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})(uN||(uN={}));var lN;(function(e){e.LTR="LTR",e.RTL="RTL"})(lN||(lN={}));var dN;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(dN||(dN={}));var mN;(function(e){e.NULL_VALUE="NULL_VALUE"})(mN||(mN={}));var fN;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(fN||(fN={}));var hN;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(hN||(hN={}));var _N;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(_N||(_N={}));var EN;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(EN||(EN={}));var vN;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(vN||(vN={}));var gN;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(gN||(gN={}));var xN;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(xN||(xN={}));var AN;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(AN||(AN={}));var ON;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(ON||(ON={}));var SN;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(SN||(SN={}));var NN;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(NN||(NN={}));var IN;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(IN||(IN={}));var RN;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(RN||(RN={}));var TN;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(TN||(TN={}));var bN;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(bN||(bN={}));var PN;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(PN||(PN={}));var CN;(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"})(CN||(CN={}));var DN;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(DN||(DN={}));var yN;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(yN||(yN={}));var wN;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(wN||(wN={}));var LN;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(LN||(LN={}));var FN;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(FN||(FN={}));var UN;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})(UN||(UN={}));var MN;(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"})(MN||(MN={}));var qN;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(qN||(qN={}));var kN;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(kN||(kN={}));var GN;(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"})(GN||(GN={}));var BN;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})(BN||(BN={}));var HN;(function(e){e.ANY="ANY"})(HN||(HN={}));var jN;(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"})(jN||(jN={}));var WN;(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"})(WN||(WN={}));var VN;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(VN||(VN={}));var KN;(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"})(KN||(KN={}));var $N;(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"})($N||($N={}));var YN;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(YN||(YN={}));var zN;(function(e){e.NONE_VALUE="NONE_VALUE",e.NEW_WINDOW="NEW_WINDOW",e.NEW_TAB="NEW_TAB"})(zN||(zN={}));var XN;(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"})(XN||(XN={}));var JN;(function(e){e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.YOUTUBE="YOUTUBE"})(JN||(JN={}));var QN;(function(e){e.UNKNOWN="UNKNOWN",e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"})(QN||(QN={}));var ZN;(function(e){e.UNKNOWN_DESCRIPTION="UNKNOWN_DESCRIPTION",e.BENEFITS="BENEFITS",e.CUSTOM_TEXT="CUSTOM_TEXT"})(ZN||(ZN={}));var eI;(function(e){e.None="None",e.FREEMIUM="FREEMIUM",e.PREMIUM="PREMIUM",e.FREE="FREE",e.WIX_PREMIUM="WIX_PREMIUM",e.DYNAMIC="DYNAMIC"})(eI||(eI={}));var tI;(function(e){e.UNINITIALIZED="UNINITIALIZED",e.COMPONENT="COMPONENT"})(tI||(tI={}));o();var xr;(function(e){e.UNKNOWN_TEMPLATE_TYPE="UNKNOWN_TEMPLATE_TYPE",e.DEV_CENTER="DEV_CENTER",e.BLOCKS="BLOCKS",e.CLI="CLI"})(xr||(xr={}));var rI;(function(e){e.UNKNOWN_PACKAGE_MANAGER="UNKNOWN_PACKAGE_MANAGER",e.NPM="NPM",e.YARN="YARN"})(rI||(rI={}));var nI;(function(e){e.UNKNOWN_DEPLOYMENT_HOST_TYPE="UNKNOWN_DEPLOYMENT_HOST_TYPE",e.VERCEL="VERCEL",e.NETLIFY="NETLIFY"})(nI||(nI={}));var aI;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.ACCOUNT="ACCOUNT",e.COMPANY="COMPANY"})(aI||(aI={}));var iI;(function(e){e.ACTIVE="ACTIVE",e.DEPRECATED="DEPRECATED",e.ARCHIVED="ARCHIVED"})(iI||(iI={}));var oI;(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",e.FUNCTION_ACTIVATION_APP="FUNCTION_ACTIVATION_APP"})(oI||(oI={}));var sI;(function(e){e.USER="USER",e.APP="APP"})(sI||(sI={}));var ip=E.object({app:E.object({id:E.string()})}),_W=E.object({compId:E.string(),compName:E.string(),compType:E.literal(Zt.TOPOLOGY),compData:E.object({topology:E.object({topology:E.object({backendApiUrl:E.string().min(1)})})})}).passthrough(),EW=E.array(E.discriminatedUnion("compType",[_W,...Object.values(Zt).filter(e=>e!==Zt.TOPOLOGY).map(e=>E.object({compId:E.string(),compName:E.string().optional(),compData:E.any(),compType:E.literal(e)}).passthrough())])),cI=E.object({appId:E.string(),latestVersion:E.string(),data:E.object({components:EW})}),vW=E.object({appSecret:E.string(),webhookPublicKey:E.string()}),pI=E.object({app:E.object({appSecrets:vW})}),uI=E.object({developmentSite:E.object({id:E.string(),siteName:E.string()})}),lI=E.object({developmentSites:E.array(E.object({}))}),dI=E.object({limit:E.number()}),gW=E.object({id:E.string(),appData:E.object({appName:E.string()})}),mI=E.object({myApps:E.array(gW)}),fI=E.object({appPropertiesValidity:E.array(E.object({failures:E.array(E.string())}))}),xW=E.object({id:E.string(),name:E.string()}),hI=E.object({apps:E.array(xW)}),_I=E.object({id:E.string(),appId:E.string(),revision:E.string(),languageCode:E.string(),installationRequirement:E.object({requiredApps:E.array(E.object({id:E.string(),slug:E.string()}))})}),EI=E.object({repositoryUrl:E.string(),pathInRepository:E.string().optional()}),vI=E.object({id:E.string(),developmentTools:E.array(E.nativeEnum(xr)),cliCloneData:EI.optional()}),gI=E.object({appTemplates:E.array(vI)}),xI=vI.extend({cliCloneData:EI});var AW="24bafe8a-7c80-4b63-8a71-08752062f246",Ar=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 oe(()=>this.httpClient.request(kA({app:t})),this.retryOptions);return ip.parse(r).app}catch(r){throw new T({code:P.FailedToCreateDevCenterApp(),cause:r})}};getAppSecret=async t=>{try{let{data:r}=await oe(()=>this.httpClient.request(GA({withSecrets:!0,...t})),this.retryOptions);return pI.parse(r).app.appSecrets}catch(r){throw new T({code:P.FailedToGetAppSecret(),cause:r})}};getAppByVersion=async t=>{try{let{data:r}=await oe(()=>this.httpClient.request(HA({version:"latest",...t})),this.retryOptions);return cI.parse(r)}catch(r){throw fr(r)&&r.response?.status===404?new T({code:P.AppForVersionNotFound({version:t.version??"undefined"}),cause:r}):new T({code:P.FailedToFetchAppForVersion(),cause:r})}};createDevSite=async()=>{try{let{data:t}=await oe(()=>this.httpClient.request(WA({templateId:AW})),this.retryOptions),{id:r,siteName:n}=uI.parse(t).developmentSite;return{id:r,displayName:n.replaceAll("-"," "),viewUrl:""}}catch(t){throw new T({code:P.FailedToCreateDevelopmentSite(),cause:t})}};getDevSitesCount=async()=>{try{let{data:t}=await oe(()=>this.httpClient.request(VA({})),this.retryOptions);return lI.parse(t).developmentSites.length}catch(t){throw new T({code:P.FailedToGetDevelopmentSites(),cause:t})}};getDeveloperApps=async()=>{try{let{data:t}=await oe(()=>this.httpClient.request(jA({query:{paging:{limit:500}}})),this.retryOptions);return mI.parse(t).myApps}catch(t){throw new T({code:P.FailedToGetDeveloperApps(),cause:t})}};getDevSitesLimit=async()=>{try{let{data:t}=await oe(()=>this.httpClient.request(KA({})),this.retryOptions);return dI.parse(t).limit}catch(t){throw new T({code:P.FailedToGetDevelopmentSitesLimit(),cause:t})}};getMarketListing=async t=>{try{let{data:r}=await oe(()=>this.httpClient.request(zA({query:{filter:{appId:t,languageCode:"en"}}})),this.retryOptions);return r.marketListing?.[0]?_I.parse(r.marketListing[0]):void 0}catch(r){throw new T({code:P.FailedToGetMarketListing(),cause:r})}};getRequiredAppIds=async t=>{try{return(await this.getMarketListing(t))?.installationRequirement.requiredApps.map(({id:n})=>n)??[]}catch(r){throw new T({code:P.FailedToGetRequiredApps(),cause:r})}};getRequiredApps=async t=>{let r=await this.getRequiredAppIds(t);if(r.length===0)return[];try{let{data:n}=await oe(()=>this.httpClient.request(BA({query:{filter:{id:{$in:r}}}})),this.retryOptions);return hI.parse(n).apps}catch(n){throw new T({code:P.FailedToQueryApps(),cause:n})}};addRequiredApp=async({appId:t,appIdToRequire:r})=>{try{let n=await this.getMarketListing(t),a=n?.installationRequirement.requiredApps.some(i=>i.id===r);if(n&&!a){let i=[...n.installationRequirement.requiredApps,{id:r,slug:r}];await oe(()=>this.httpClient.request(YA({marketListing:{...n,appId:t,installationRequirement:{requiredApps:i}},mask:["installationRequirement.requiredApps"]})),this.retryOptions)}}catch(n){throw new T({code:P.FailedToAddRequiredApp(),cause:n})}};getAppValidationFailuresCount=async(t,r)=>{try{let{data:n}=await this.httpClient.request(XA({appId:t,version:r}));return fI.parse(n).appPropertiesValidity.filter(s=>s.failures.length>0).length}catch(n){throw new T({code:P.FailedToGetAppValidity(),cause:n})}};queryCliAppTemplates=async()=>{try{let{data:t}=await oe(()=>this.httpClient.request(ZA({})),this.retryOptions),{appTemplates:r}=gI.parse(t);return r.filter(n=>n.developmentTools.includes(xr.CLI)).map(n=>xI.parse(n))}catch(t){throw new T({code:P.FailedToQueryCliAppTemplates(),cause:t})}};getCliAppTemplate=async t=>(await this.queryCliAppTemplates()).find(n=>n.id===t)??null;createAppFromTemplate=async({templateId:t,name:r})=>{try{let{data:n}=await oe(()=>this.httpClient.request(QA({templateId:t,templateConfig:{appInfo:{name:r}}})),this.retryOptions);return ip.parse(n).app}catch(n){throw new T({code:P.FailedToCreateDevCenterAppFromTemplate(),cause:n,info:{templateId:t}})}}};o();var OI=j(Ce(),1);o();o();var AI=j(Ce(),1);function op({type:e}){let{getAccessToken:t,getRequestHeaders:r}=$c();return(0,AI.useMemo)(()=>Yr({type:e,getAppToken:t,createHeaders:r}),[e,t,r])}function OW(){let e=op({type:"backoffice"});return(0,OI.useMemo)(()=>new Ar(e),[e])}o();o();o();var Bi;(function(e){e.MEDIA_PLATFORM="MEDIA_PLATFORM",e.S3="S3"})(Bi||(Bi={}));var SI;(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"})(SI||(SI={}));o();var SW={},NW={};function IW(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 Ee(Object.assign(e,{domainToMappings:t}))}function NI(e){var t=q(SW,{}),r=t.toJSON,n=t.fromJSON,a=q(NW,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_deployer_service.v1.app_cloud_deployer",method:"POST",methodFqn:"com.wix.ctp.AppCloudDeployerService.CreatePresignedUrls",url:IW({protoPath:"/v1/create-presigned-urls/{appId}",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}import{createReadStream as WY,statSync as VY}from"fs";var AP=j(iR(),1);o();var lP=j(Ep(),1),va=j(al(),1),Ea=j($b(),1);import qY from"node:fs";import kY from"node:path";o();var fl=j(al(),1),aP=j(rP(),1);import LY from"node:process";import nP from"node:fs";import hn from"node:path";o();function fn(e){let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}o();import{fileURLToPath as yY}from"node:url";import{Transform as wY}from"node:stream";var _a=e=>e instanceof URL?yY(e):e,Oo=class extends wY{constructor(t){super({objectMode:!0,transform(r,n,a){a(void 0,t(r)?r:void 0)}})}},So=e=>e[0]==="!";var iP={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},oP="**/.gitignore",FY=(e,t)=>So(e)?"!"+hn.posix.join(t,e.slice(1)):hn.posix.join(t,e),UY=(e,t)=>{let r=fn(hn.relative(t,hn.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(n=>n&&!n.startsWith("#")).map(n=>FY(n,r))},MY=(e,t)=>{if(t=fn(t),hn.isAbsolute(e)){if(fn(e).startsWith(t))return hn.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e},sP=(e,t)=>{let r=e.flatMap(a=>UY(a,t)),n=(0,aP.default)().add(r);return a=>(a=_a(a),a=MY(a,t),a?n.ignores(fn(a)):!1)},cP=(e={})=>({cwd:_a(e.cwd)||LY.cwd(),suppressErrors:!!e.suppressErrors,deep:typeof e.deep=="number"?e.deep:Number.POSITIVE_INFINITY}),pP=async(e,t)=>{let{cwd:r,suppressErrors:n,deep:a}=cP(t),i=await(0,fl.default)(e,{cwd:r,suppressErrors:n,deep:a,...iP}),s=await Promise.all(i.map(async c=>({filePath:c,content:await nP.promises.readFile(c,"utf8")})));return sP(s,r)},uP=(e,t)=>{let{cwd:r,suppressErrors:n,deep:a}=cP(t),s=fl.default.sync(e,{cwd:r,suppressErrors:n,deep:a,...iP}).map(c=>({filePath:c,content:nP.readFileSync(c,"utf8")}));return sP(s,r)};var GY=e=>{if(e.some(t=>typeof t!="string"))throw new TypeError("Patterns must be a string or an array of strings")},hl=e=>(e=[...new Set([e].flat())],GY(e),e),BY=e=>{if(!e.cwd)return;let t;try{t=qY.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},dP=(e={})=>(e={...e,ignore:e.ignore||[],expandDirectories:e.expandDirectories===void 0?!0:e.expandDirectories,cwd:_a(e.cwd)},BY(e),e),mP=e=>async(t,r)=>e(hl(t),dP(r)),No=e=>(t,r)=>e(hl(t),dP(r)),fP=e=>{let{ignoreFiles:t,gitignore:r}=e,n=t?hl(t):[];return r&&n.push(oP),n},HY=async e=>{let t=fP(e);return _P(t.length>0&&await pP(t,e))},hP=e=>{let t=fP(e);return _P(t.length>0&&uP(t,e))},_P=e=>{let t=new Set;return r=>{let n=r.path||r,a=kY.normalize(n),i=t.has(a)||e&&e(n);return t.add(a),!i}},EP=(e,t)=>e.flat().filter(r=>t(r)),jY=(e,t)=>(0,lP.default)(e).pipe(new Oo(r=>t(r))),vP=(e,t)=>{let r=[];for(;e.length>0;){let n=e.findIndex(i=>So(i));if(n===-1){r.push({patterns:e,options:t});break}let a=e[n].slice(1);for(let i of r)i.options.ignore.push(a);n!==0&&r.push({patterns:e.slice(0,n),options:{...t,ignore:[...t.ignore,a]}}),e=e.slice(n+1)}return r},gP=(e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}),xP=async(e,t)=>{let r=vP(e,t),{cwd:n,expandDirectories:a}=t;if(!a)return r;let i=gP(a,n),s=n?{cwd:n}:void 0;return Promise.all(r.map(async c=>{let{patterns:p,options:d}=c;return[p,d.ignore]=await Promise.all([(0,Ea.default)(p,i),(0,Ea.default)(d.ignore,s)]),{patterns:p,options:d}}))},_l=(e,t)=>{let r=vP(e,t),{cwd:n,expandDirectories:a}=t;if(!a)return r;let i=gP(a,n),s=n?{cwd:n}:void 0;return r.map(c=>{let{patterns:p,options:d}=c;return p=Ea.default.sync(p,i),d.ignore=Ea.default.sync(d.ignore,s),{patterns:p,options:d}})},Ie=mP(async(e,t)=>{let[r,n]=await Promise.all([xP(e,t),HY(t)]),a=await Promise.all(r.map(i=>(0,va.default)(i.patterns,i.options)));return EP(a,n)}),Bme=No((e,t)=>{let r=_l(e,t),n=hP(t),a=r.map(i=>va.default.sync(i.patterns,i.options));return EP(a,n)}),Hme=No((e,t)=>{let r=_l(e,t),n=hP(t),a=r.map(i=>va.default.stream(i.patterns,i.options));return jY(a,n)}),jme=No((e,t)=>e.some(r=>va.default.isDynamicPattern(r,t))),Wme=mP(xP),Vme=No(_l);var OP=class{constructor(e,t){this.httpClient=e,this.eventListeners=t}async upload({appId:e,folderToUpload:t}){let r=await this.getFilesToUpload(t),n=this.createRelativePathToAbsolutePathMap({folderToUpload:t,filesToUpload:r}),{filePresignedUrls:a,serveUrl:i}=await this.createPresignedUrls(e,Object.keys(n)),s=[];for(let c of a){let{uploadUrl:p,fields:d,fileName:m}=c;this.eventListeners?.onStart?.(m);let f=n[m],h=WY(f);s.push(this.uploadFile(m,p,d,h).catch(v=>{throw this.eventListeners?.onFailed?.(m,v),v}))}try{await Promise.all(s)}catch(c){throw new Error(`Failed to upload one or more files: ${c.message}`)}if(!i)throw new Error("Failed to get serve URL");return{serveUrl:i}}async getUploadStats(e){let t=await this.getFilesToUpload(e),r=t.reduce((n,a)=>{let i=VY(a);return n+i.size},0);return{fileCount:t.length,totalSizeInKb:Math.trunc(r/1024)}}async getFilesToUpload(e){return Ie("**/*",{cwd:e,absolute:!0})}createRelativePathToAbsolutePathMap({filesToUpload:e,folderToUpload:t}){let r={};for(let n of e){let a=n.replace(t,"");a.startsWith("/")&&(a=a.slice(1)),r[a]=n}return r}async createPresignedUrls(e,t){try{let{data:r}=await oe(async()=>this.httpClient.request(NI({appId:e,fileNames:t,storageTarget:Bi.MEDIA_PLATFORM})),{retries:3});return r}catch(r){throw new Error("Failed to create presigned URL for one more files",r)}}async uploadFile(e,t,r,n){let a=this.buildFormData(r,e,n);await oe(async()=>{await this.submitForm(t,a)},{retries:3}),this.eventListeners?.onUploaded?.(e)}buildFormData(e,t,r){let n=new AP.default;return Object.entries(e).forEach(([a,i])=>{n.append(a,i)}),n.append("file",r,{filename:t}),n}async submitForm(e,t){await new Promise((r,n)=>{let a="";t.submit(e,(i,s)=>{if(i!==null){n(i);return}s.on("data",c=>{a+=c.toString()}),s.on("end",()=>{[200,204].includes(s.statusCode)?r():n(a)})})})}};o();o();function SP(e){return{evid:5208,src:11,endpoint:"",params:e}}function NP(e){return{evid:5210,src:11,endpoint:"",params:e}}function IP(e){return{evid:5229,src:11,endpoint:"",params:e}}function RP(e){return{evid:5231,src:11,endpoint:"",params:e}}function TP(e){return{evid:5232,src:11,endpoint:"",params:e}}function nfe(e){return{evid:5233,src:11,endpoint:"",params:e}}var Io=e=>({cliAction:({question:t,action:r,key:n,additionalInfo:a})=>{e.report(RP({question:t,action:r,key:n,additionalInfo:JSON.stringify(a)}))},cliFlowStepAnswered:({question:t,answer:r,additionalInfo:n})=>{e.report(IP({question:t,answer:r,additionalInfo:JSON.stringify(n)}))},fileUpload({provider:t,fileCount:r,totalSizeInKb:n}){let a=Date.now();return e.report(SP({timestampMs:a,hostingProvider:t,numFiles:r,fileSizeCompressed:0,fileSizeNotCompressed:n,cliVersion:Zo})),{finished(){e.report(NP({duration:Date.now()-a,cliVersion:Zo}))}}},cliDeployment:({appId:t,deploymentId:r,files:n})=>{let a=Date.now(),i=n?n.filter(s=>s.filePath).map(s=>({filePath:s.filePath,fileSizeKb:s.content?s.content.length/1024:0})):[];return{finish:({isSuccess:s,failureReason:c})=>{e.report(TP({isSuccess:s,failureReason:c,filesDetails:JSON.stringify(i),filesSize:Math.round(i.reduce((p,{fileSizeKb:d})=>p+d,0)),uploadSource:"backend",appId:t,deploymentId:r,filesUploadTime:Date.now()-a}))}}}});var Ro=class{constructor(t,r,n){this.appId=t;this.biLogger=r;this.uploader=new OP(n)}uploader;async uploadApplication(t){let r=Io(this.biLogger),{fileCount:n,totalSizeInKb:a}=await this.uploader.getUploadStats(t),i=r.fileUpload({provider:"Wix",fileCount:n,totalSizeInKb:a}),{serveUrl:s}=await this.uploader.upload({appId:this.appId,folderToUpload:t});return i.finished(),{serveUrl:s}}};o();o();var KY={},$Y={},YY={},zY={},XY={},JY={},QY={},ZY={},e3={},t3={};var r3={},n3={};function _n(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 Ee(Object.assign(e,{domainToMappings:t}))}function bP(e){var t=q(YY,{}),r=t.toJSON,n=t.fromJSON,a=q(zY,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.CreateBackendDeployment",url:_n({protoPath:"/v1/backend-deployment/{appId}",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function PP(e){var t=q(QY,{}),r=t.toJSON,n=t.fromJSON,a=q(ZY,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"GET",methodFqn:"com.wix.ctp.AppCloudBackendService.GetBackendDeployment",url:_n({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function CP(e){var t=q(r3,{}),r=t.toJSON,n=t.fromJSON,a=q(n3,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"PUT",methodFqn:"com.wix.ctp.AppCloudBackendService.UpdateBackendDeployment",url:_n({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function Efe(e){var t=q(KY,{}),r=t.toJSON,n=t.fromJSON,a=q($Y,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.AttachLogger",url:_n({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function vfe(e){var t=q(XY,{}),r=t.toJSON,n=t.fromJSON,a=q(JY,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"DELETE",methodFqn:"com.wix.ctp.AppCloudBackendService.DeattachLogger",url:_n({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:p,host:c}),params:Ae(p),transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}function DP(e){var t=q(e3,{}),r=t.toJSON,n=t.fromJSON,a=q(t3,{}).fromJSON;function i(s){var c=s.host,p=r(e),d={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.MarkDeploymentAsPermanent",url:_n({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/permanent",data:p,host:c}),data:p,transformResponse:a};return d}return i.fromReq=n,i.__isAmbassador=!0,i}o();var At;(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"})(At||(At={}));var yP;(function(e){e.BACKEND_DEPLOYMENT_TEMPORARY="BACKEND_DEPLOYMENT_TEMPORARY",e.BACKEND_DEPLOYMENT_PERMANENT="BACKEND_DEPLOYMENT_PERMANENT"})(yP||(yP={}));o();var To=E.object({appId:E.string(),deploymentUrl:E.string(),deploymentId:E.string(),status:E.enum([At.BACKEND_DEPLOYMENT_EMPTY,At.BACKEND_DEPLOYMENT_ERROR,At.BACKEND_DEPLOYMENT_IN_PROGRESS,At.BACKEND_DEPLOYMENT_SUCCESS]),error:E.string().optional()});var bo=class{constructor(t,r,n={retries:3,minTimeout:ot().minRetryTimeout,maxTimeout:3*1e3}){this.biLogger=t;this.httpClient=r;this.retryOptions=n}static DeploymentUrToDeploymentId(t){let r=t.replace(/^https?:\/\//,"").split(".")[0];if(!r)throw new T({code:P.InvalidDeploymentUrl({deploymentUrl:t})});return r}async createBackendDeployment(t){try{let{data:r}=await oe(()=>this.httpClient.request(bP(t)),this.retryOptions);return To.parse(r)}catch(r){throw new T({code:P.FailedToCreateBackendDeployment(),cause:r})}}async updateBackendDeployment(t){try{let n=Io(this.biLogger).cliDeployment({appId:t.appId,deploymentId:t.deploymentId,files:t.files});await oe(()=>this.httpClient.request(CP(t)),this.retryOptions);let a=await this.waitForDeployment(t.appId,t.deploymentId);if(n.finish({isSuccess:a.status===At.BACKEND_DEPLOYMENT_SUCCESS,failureReason:a.error}),a.status===At.BACKEND_DEPLOYMENT_ERROR)throw new T({code:P.FailedToDeployBackend(),info:{...a}});return To.parse(a)}catch(r){throw new T({code:P.FailedToUpdateBackendDeployment(),cause:r})}}async getBackendDeployment(t){try{let{data:r}=await oe(()=>this.httpClient.request(PP(t)),this.retryOptions);return To.parse(r)}catch(r){throw new T({code:P.FailedToGetBackendDeployment(),cause:r})}}async waitForDeployment(t,r){let n=i=>1e3*i,a=i=>n(60)*i;try{return await Xt(async()=>{let i=await this.getBackendDeployment({appId:t,deploymentId:r});return i.status===At.BACKEND_DEPLOYMENT_IN_PROGRESS?!1:Xt.resolveWith(i)},{before:!1,interval:n(3),timeout:a(5)})}catch(i){throw new T({code:P.FailedToDeployBackend(),cause:i,info:{appId:t,deploymentId:r}})}}async makrDeploymentAsPermanent(t,r){try{await oe(()=>this.httpClient.request(DP({appId:t,deploymentId:r})),this.retryOptions)}catch(n){throw new T({code:P.FailedToMarkDeploymentAsPermanent(),cause:n})}}};o();import{join as s3}from"node:path";import{readFile as c3}from"node:fs/promises";o();import{join as wP,parse as a3,sep as i3}from"node:path";import{platform as o3}from"node:os";function Ot(e,t){let{dir:r,name:n}=a3(e);return t!==""?wP(r,`${n}.${t}`):wP(r,n)}function LP(e,t){return`/${Yt(hA(e),t).split(i3).map(encodeURIComponent).join("/")}`}function Re(e){return o3()==="win32"?e.replaceAll("\\","/"):e}async function FP(e){let t=Re(ki(e)),r=s3(t,"**","*.mjs"),n=await Ie(r,{cwd:e});return Promise.all(n.map(async a=>({filePath:a.replace(t,"."),content:await c3(a,"utf-8")})))}o();import{readFile as UP,writeFile as MP}from"node:fs/promises";import{join as p3}from"node:path";var El=async({directory:e,cwd:t,replacements:r})=>{let n=p3(e,"**","*.{js,js.map,mjs,mjs.map}"),a=await Ie(Re(n),{cwd:t});for(let i of a){let s=await UP(i,"utf-8");r.forEach(([c,p])=>{s=s.replaceAll(c,p.replaceAll(`
|
|
29
|
-
`,"\\n"))}),await MP(i,s,"utf-8")}return async()=>{for(let i of a){let s=await UP(i,"utf-8");r.forEach(([c,p])=>{s=s.replaceAll(p,c)}),await MP(i,s,"utf-8")}}};var vl="http://__API_BASEURL_PLACEHOLDER__.mock",phe=async(e,t,r,n,a)=>{let i=new Ro(e,r,n),s=new bo(r,n),c=new Ar(n),p=xA(t),d=ki(t),m=a?await s.createBackendDeployment({appId:e}):void 0,{appSecret:f,webhookPublicKey:h}=await c.getAppSecret({appId:e}),v;m?.deploymentId&&(v=await El({directory:p,cwd:t,replacements:[[vl,m.deploymentUrl]]}));let x=await El({directory:d,cwd:t,replacements:[["__APP_SECRET__",f],["__WEBHOOK_PUBLIC_KEY__",h]]}),A,R;try{let[{serveUrl:C}]=await Promise.all([i.uploadApplication(p),m?.deploymentId?s.updateBackendDeployment({appId:e,entrypoint:"./entry.mjs",deploymentId:m.deploymentId,files:await FP(t)}):Promise.resolve()]);R=C}catch(C){A=C}if(v&&await v(),await x(),A||!R)throw new T({code:P.UploadApplicationFailed(),cause:A});return{serveUrl:R,backendServerUrl:m?.deploymentUrl}};o();var Nt=j(Ce(),1);o();async function qP(){let e=await xe(rn),t=AA.safeParse(e);if(t.success)return t.data;throw new T({code:P.InvalidConfigSchemaError({configPath:rn,zodError:t.error})})}async function _he(e){return $t(rn,e,{spaces:2})}o();o();import{join as Pa}from"node:path";var zl=j(sL(),1);o();o();var cL=[{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 pL=[{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 uL={"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 Wl=async()=>pL,Vl=async()=>cL,f8=async e=>{let t=uL[e];return t||e};import{randomUUID as Y8}from"node:crypto";o();var Pr=j(Ye(),1);async function lL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.DashboardPageConfigNotFound({configPath:t})});let n=await xe(t),a=SA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}async function dL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.DashboardPluginConfigNotFound({configPath:t})});let n=await xe(t),a=IA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}async function mL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.DashboardMenuPluginConfigNotFound({configPath:t})});let n=await xe(t),a=RA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}async function fL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.DashboardModalConfigNotFound({configPath:t})});let n=await xe(t),a=NA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}function h8(e){return`wix/html/dashboard-asset/${e}.html`}function zge(e){return new Map(e.components.filter(t=>(0,Pr.isType)(t,te.DashboardPage)||(0,Pr.isType)(t,te.DashboardPlugin)||(0,Pr.isType)(t,te.DashboardModal)).map(t=>[h8(t.id),t]))}function _8(e){return`wix/scripts/dashboard-asset/${e}.js`}function Xge(e){return new Map(e.components.filter(t=>(0,Pr.isType)(t,te.DashboardPage)||(0,Pr.isType)(t,te.DashboardPlugin)||(0,Pr.isType)(t,te.DashboardModal)).map(t=>[_8(t.id),t]))}o();var E8=/^[a-z0-9\-/]+$/,v8=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Uo(e){return E8.test(e)}function Zge(e){return v8.test(e)}function Cr(e){return t=>{for(let[r,n]of e)if(!r(t))return{valid:!1,reason:n};return{valid:!0}}}function hL(e){return t=>{let r=e(t);return r.valid||r.reason}}o();var g8="The page route must be a valid URL path ([a-z0-9-/]+) and must not start with a dot.",x8="The page route must be unique, please choose a route that has not been used yet in your application.";function A8(e){return t=>e.every(r=>r.route!==`/${t}`)}function _L(e){return Cr([[A8(e),x8],[Uo,g8]])}o();o();var O8=Object.prototype.toString,In=Array.isArray||function(t){return O8.call(t)==="[object Array]"};function $l(e){return typeof e=="function"}function S8(e){return In(e)?"array":typeof e}function Kl(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function EL(e,t){return e!=null&&typeof e=="object"&&t in e}function N8(e,t){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(t)}var I8=RegExp.prototype.test;function R8(e,t){return I8.call(e,t)}var T8=/\S/;function b8(e){return!R8(T8,e)}var P8={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function C8(e){return String(e).replace(/[&<>"'`=\/]/g,function(r){return P8[r]})}var D8=/\s*/,y8=/\s+/,vL=/\s*=/,w8=/\s*\}/,L8=/#|\^|\/|>|\{|&|=|!/;function F8(e,t){if(!e)return[];var r=!1,n=[],a=[],i=[],s=!1,c=!1,p="",d=0;function m(){if(s&&!c)for(;i.length;)delete a[i.pop()];else i=[];s=!1,c=!1}var f,h,v;function x(F){if(typeof F=="string"&&(F=F.split(y8,2)),!In(F)||F.length!==2)throw new Error("Invalid tags: "+F);f=new RegExp(Kl(F[0])+"\\s*"),h=new RegExp("\\s*"+Kl(F[1])),v=new RegExp("\\s*"+Kl("}"+F[1]))}x(t||ft.tags);for(var A=new ba(e),R,C,G,B,K,U;!A.eos();){if(R=A.pos,G=A.scanUntil(f),G)for(var X=0,V=G.length;X<V;++X)B=G.charAt(X),b8(B)?(i.push(a.length),p+=B):(c=!0,r=!0,p+=" "),a.push(["text",B,R,R+1]),R+=1,B===`
|
|
30
|
-
`&&(m(),p="",d=0,r=!1);if(!A.scan(f))break;if(s=!0,C=A.scan(L8)||"name",A.scan(D8),C==="="?(G=A.scanUntil(vL),A.scan(vL),A.scanUntil(h)):C==="{"?(G=A.scanUntil(v),A.scan(w8),A.scanUntil(h),C="&"):G=A.scanUntil(h),!A.scan(h))throw new Error("Unclosed tag at "+A.pos);if(C==">"?K=[C,G,R,A.pos,p,d,r]:K=[C,G,R,A.pos],d++,a.push(K),C==="#"||C==="^")n.push(K);else if(C==="/"){if(U=n.pop(),!U)throw new Error('Unopened section "'+G+'" at '+R);if(U[1]!==G)throw new Error('Unclosed section "'+U[1]+'" at '+R)}else C==="name"||C==="{"||C==="&"?c=!0:C==="="&&x(G)}if(m(),U=n.pop(),U)throw new Error('Unclosed section "'+U[1]+'" at '+A.pos);return M8(U8(a))}function U8(e){for(var t=[],r,n,a=0,i=e.length;a<i;++a)r=e[a],r&&(r[0]==="text"&&n&&n[0]==="text"?(n[1]+=r[1],n[3]=r[3]):(t.push(r),n=r));return t}function M8(e){for(var t=[],r=t,n=[],a,i,s=0,c=e.length;s<c;++s)switch(a=e[s],a[0]){case"#":case"^":r.push(a),n.push(a),r=a[4]=[];break;case"/":i=n.pop(),i[5]=a[2],r=n.length>0?n[n.length-1][4]:t;break;default:r.push(a)}return t}function ba(e){this.string=e,this.tail=e,this.pos=0}ba.prototype.eos=function(){return this.tail===""};ba.prototype.scan=function(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var n=r[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};ba.prototype.scanUntil=function(t){var r=this.tail.search(t),n;switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n};function Nn(e,t){this.view=e,this.cache={".":this.view},this.parent=t}Nn.prototype.push=function(t){return new Nn(t,this)};Nn.prototype.lookup=function(t){var r=this.cache,n;if(r.hasOwnProperty(t))n=r[t];else{for(var a=this,i,s,c,p=!1;a;){if(t.indexOf(".")>0)for(i=a.view,s=t.split("."),c=0;i!=null&&c<s.length;)c===s.length-1&&(p=EL(i,s[c])||N8(i,s[c])),i=i[s[c++]];else i=a.view[t],p=EL(a.view,t);if(p){n=i;break}a=a.parent}r[t]=n}return $l(n)&&(n=n.call(this.view)),n};function $e(){this.templateCache={_cache:{},set:function(t,r){this._cache[t]=r},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}$e.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};$e.prototype.parse=function(t,r){var n=this.templateCache,a=t+":"+(r||ft.tags).join(":"),i=typeof n<"u",s=i?n.get(a):void 0;return s==null&&(s=F8(t,r),i&&n.set(a,s)),s};$e.prototype.render=function(t,r,n,a){var i=this.getConfigTags(a),s=this.parse(t,i),c=r instanceof Nn?r:new Nn(r,void 0);return this.renderTokens(s,c,n,t,a)};$e.prototype.renderTokens=function(t,r,n,a,i){for(var s="",c,p,d,m=0,f=t.length;m<f;++m)d=void 0,c=t[m],p=c[0],p==="#"?d=this.renderSection(c,r,n,a,i):p==="^"?d=this.renderInverted(c,r,n,a,i):p===">"?d=this.renderPartial(c,r,n,i):p==="&"?d=this.unescapedValue(c,r):p==="name"?d=this.escapedValue(c,r,i):p==="text"&&(d=this.rawValue(c)),d!==void 0&&(s+=d);return s};$e.prototype.renderSection=function(t,r,n,a,i){var s=this,c="",p=r.lookup(t[1]);function d(h){return s.render(h,r,n,i)}if(p){if(In(p))for(var m=0,f=p.length;m<f;++m)c+=this.renderTokens(t[4],r.push(p[m]),n,a,i);else if(typeof p=="object"||typeof p=="string"||typeof p=="number")c+=this.renderTokens(t[4],r.push(p),n,a,i);else if($l(p)){if(typeof a!="string")throw new Error("Cannot use higher-order sections without the original template");p=p.call(r.view,a.slice(t[3],t[5]),d),p!=null&&(c+=p)}else c+=this.renderTokens(t[4],r,n,a,i);return c}};$e.prototype.renderInverted=function(t,r,n,a,i){var s=r.lookup(t[1]);if(!s||In(s)&&s.length===0)return this.renderTokens(t[4],r,n,a,i)};$e.prototype.indentPartial=function(t,r,n){for(var a=r.replace(/[^ \t]/g,""),i=t.split(`
|
|
31
|
-
`),s=0;s<i.length;s++)i[s].length&&(s>0||!n)&&(i[s]=a+i[s]);return i.join(`
|
|
32
|
-
`)};$e.prototype.renderPartial=function(t,r,n,a){if(n){var i=this.getConfigTags(a),s=$l(n)?n(t[1]):n[t[1]];if(s!=null){var c=t[6],p=t[5],d=t[4],m=s;p==0&&d&&(m=this.indentPartial(s,d,c));var f=this.parse(m,i);return this.renderTokens(f,r,n,m,a)}}};$e.prototype.unescapedValue=function(t,r){var n=r.lookup(t[1]);if(n!=null)return n};$e.prototype.escapedValue=function(t,r,n){var a=this.getConfigEscape(n)||ft.escape,i=r.lookup(t[1]);if(i!=null)return typeof i=="number"&&a===ft.escape?String(i):a(i)};$e.prototype.rawValue=function(t){return t[1]};$e.prototype.getConfigTags=function(t){return In(t)?t:t&&typeof t=="object"?t.tags:void 0};$e.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!In(t))return t.escape};var ft={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){Ta.templateCache=e},get templateCache(){return Ta.templateCache}},Ta=new $e;ft.clearCache=function(){return Ta.clearCache()};ft.parse=function(t,r){return Ta.parse(t,r)};ft.render=function(t,r,n,a){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+S8(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Ta.render(t,r,n,a)};ft.escape=C8;ft.Scanner=ba;ft.Context=Nn;ft.Writer=$e;var gL=ft;import{readFile as q8}from"node:fs/promises";function xL(e){return e.replace(`${Qt}/`,"").replace("/embedded.html","")}function k8(e){return t=>e.every(r=>t!==xL(r.relativePath))}function G8(e){return Uo(xL(e))}async function B8(e){let t=await q8(e,"utf-8");return gL.parse(t).filter(([r])=>r==="name")}async function AL(e){try{let n=(await B8(e)).filter(([a])=>a==="name").filter(([,a])=>!/^[a-zA-Z]+$/.test(a)).map(([,a])=>a);return n.length>0?{valid:!1,reason:`Dynamic parameters can only include letters, but some include invalid names: ${n.join(", ")}`}:{valid:!0}}catch(t){return{valid:!1,reason:t instanceof Error?t.message:"Invalid embedded script template"}}}function OL(e){return Cr([[k8(e),"The script folder must be unique, please choose a name that has not been used yet in your application."],[G8,"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot."]])}o();var RL=j(Ce(),1);o();var Rn=j(Ce(),1),SL=j(Ye(),1);var hxe=(0,SL.typeCatalog)(te);function NL(){let{model:e}=IL(),t=(0,Rn.useMemo)(()=>{let i=e.components.reduce((s,c)=>(s[c.type].push(c),s),{DashboardPage:[],DashboardSidebarCategory:[],EmbeddedScript:[],CustomElement:[],DashboardPlugin:[],DashboardMenuPlugin:[],DashboardModal:[],Topology:[],Api:[],Event:[],ServicePlugin:[],SitePlugin:[]});return i.DashboardPage=i.DashboardPage.sort((s,c)=>s.route.localeCompare(c.route)),i},[e.components]),r=(0,Rn.useMemo)(()=>[...t.DashboardPage,...t.DashboardMenuPlugin,...t.DashboardPlugin,...t.DashboardModal],[t]),n=(0,Rn.useCallback)(i=>i?t[i].length>0:e.components.length>0,[t,e.components]),a=(0,Rn.useCallback)(i=>t[i],[t]);return{dashboardExtensions:r,getExtensions:a,hasExtensions:n}}var H8=/^[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])*$/,j8=function(e){return H8.test(e)},W8=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),Mo=e=>Cr([[t=>!!t,`Missing ${e} name.`],[t=>!/[A-Z]/.test(t),`${e} names must not contain uppercase ASCII characters.`],[t=>t.includes("-"),`${e} names must contain a hyphen. Example: unicorn-cake`],[t=>!/^\d/i.test(t),`${e} names must not start with a digit.`],[t=>!/^-/i.test(t),`${e} names must not start with a hyphen.`],[t=>j8(t),"Invalid element name."],[t=>!W8.has(t),`The supplied element name is reserved and can't be used.
|
|
33
|
-
See: https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name`]]);function V8(e){return t=>e.every(r=>t!==r.tagName)}var Axe=e=>{let{t}=Hd(),{getExtensions:r}=NL(),n=r("CustomElement"),a=r("SitePlugin"),i=hL(Cr([[V8([...n,...a]),t("generate_command.custom_element.validation.element_exists")],[s=>Mo(e)(s).valid,t("generate_command.custom_element.validation.element_invalid")]]));return(0,RL.useCallback)(i,[i])};o();import{dirname as K8}from"node:path";function $8(e){return e.replaceAll("-","_").toUpperCase()}function Pxe(e){return e.toLowerCase().replaceAll("_","-")}function TL(e){let t=K8(e).split("/").at(-2);if(!t)throw new T({code:P.InvalidServicePluginFolder({relativePath:e})});let r=$8(t),n=MA.safeParse(r);if(n.success)return n.data;throw new T({code:P.UnknownServicePlugin({name:t})})}async function Dr(e,t){let r=Ot(e,"json");if(!await _e(r))throw new T({code:P.ServicePluginConfigNotFound({configPath:r})});let a=await xe(r),i=t.safeParse(a);if(i.success)return i.data;throw new T({code:P.InvalidConfigSchemaError({configPath:r,zodError:i.error})})}o();async function Yl(e,t){let r=tp(e);if(!await _e(r))return null;try{let a=await xe(r),i=await OA.safeParseAsync(a);return i.success?i.data:null}catch(a){return t?.(a),null}}async function Lxe(e,t){let n={...await Yl(e)??{},...t};await $t(tp(e),n)}var z8=Pa(sa,"**","page.{ts,tsx,js,jsx}"),X8=Pa(ca,"**","plugin.{ts,tsx,js,jsx}"),J8=Pa(pa,"**","plugin.json"),Q8=Pa(ua,"**","modal.{ts,tsx,js,jsx}");async function Z8(e,t){let r=await lL(t),n=LP(e,Pa(e,t));return te.DashboardPage({...r,route:n,relativePath:t,platforms:[Ke.Dashboard()]})}async function bL(e){let t=await Ie(Re(z8),{cwd:e}),r=await Promise.all(t.map(a=>Z8(e,a))),n=_L(r);return r.forEach(({route:a})=>{let i=n(a);if(!i.valid)throw new T({code:P.InvalidDashboardPageRoute({route:a,errorMessage:i.reason})})}),r}async function e9(e,t){let r=await dL(e);return te.DashboardPlugin({...r,relativePath:e,platforms:[Ke.Dashboard()],route:t[r.extends]?.route??"/"})}async function PL(e){let t=await Ie(Re(X8),{cwd:e}),r=await Wl(),n=(0,zl.default)(r,"id");return await Promise.all(t.map(i=>e9(i,n)))}async function t9(e,t){let r=await mL(e);return te.DashboardMenuPlugin({...r,relativePath:e,platforms:[Ke.Dashboard()],route:t[r.extends]?.route??"/"})}async function r9(e){let t=await fL(e);return te.DashboardModal({...t,relativePath:e,platforms:[Ke.Dashboard()],route:"/"})}async function CL(e){let t=await Ie(Re(J8),{cwd:e}),r=await Vl(),n=(0,zl.default)(r,"id");return await Promise.all(t.map(i=>t9(i,n)))}async function DL(e){let t=await Ie(Re(Q8),{cwd:e});return await Promise.all(t.map(n=>r9(n)))}function yL(e){return e.dashboard?.sidebar?.categories?.map(t=>te.DashboardSidebarCategory({...t,platforms:[]}))??[]}async function wL(e){let r=(await Yl(e))?.topologyComponentId??Y8();return te.Topology({id:r,name:"Topology",platforms:[],backendApiUrl:vl})}o();import{dirname as qL,join as yt}from"node:path";o();import{join as n9,dirname as a9}from"node:path";var yr=j(Ye(),1);async function LL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.EmbeddedScriptConfigNotFound({configPath:t})});let n=await xe(t),a=TA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}async function FL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.CustomElementConfigNotFound({configPath:t})});let n=await xe(t),a=bA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}async function UL(e){let t=Ot(e,"json");if(!await _e(t))throw new T({code:P.SitePluginConfigNotFound({configPath:t})});let n=await xe(t),a=PA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidConfigSchemaError({configPath:t,zodError:a.error})})}function i9(e){return`wix/html/custom-element-asset/${e}.html`}function o9(e){return`wix/scripts/custom-element-asset/panel-${e}.js`}function s9(e){return`wix/scripts/custom-element-asset/${e}.js`}function nAe(e){return new Map(e.components.filter(t=>(0,yr.isType)(t,te.CustomElement)||(0,yr.isType)(t,te.SitePlugin)).map(t=>[i9(t.id),t]))}function aAe(e){return new Map(e.components.filter(t=>(0,yr.isType)(t,te.CustomElement)||(0,yr.isType)(t,te.SitePlugin)).map(t=>[s9(t.id),t]))}function iAe(e){return new Map(e.components.filter(t=>((0,yr.isType)(t,te.CustomElement)||(0,yr.isType)(t,te.SitePlugin))&&!!t.relativePanelPath).map(t=>[o9(t.id),t]))}async function ML(e){let t=n9(a9(e),"params.dev.json");if(!await _e(t))return null;let n=await xe(t),a=CA.safeParse(n);if(a.success)return a.data;throw new T({code:P.InvalidParamsOverrideSchemaError({paramsOverridePath:t,zodError:a.error})})}var Xl=yt(Qt,"**","embedded.html"),c9=yt(an,"**","element.{ts,tsx,js,jsx}"),EAe=yt(an,"**","panel.{ts,tsx,js,jsx}"),p9=yt(on,"**","plugin.{ts,tsx,js,jsx}"),vAe=yt(on,"**","panel.{ts,tsx,js,jsx}");async function u9(e,t,r){let n=await FL(e),a=yt(qL(e),"panel.tsx"),i=Yt(_A(t),e),s=await _e(yt(t,a));return te.CustomElement({...n,tagName:i,relativePath:e,platforms:[Ke.Site(),Ke.Editor()],...s?{relativePanelPath:Re(a)}:{},dependencies:r})}async function kL(e,t){let r=await Ie(Re(c9),{cwd:e}),n=await Promise.all(r.map(a=>u9(a,e,t)));return n.forEach(({tagName:a})=>{let i=Mo("Site widget")(a);if(!i.valid)throw new T({code:P.InvalidCustomElementTagName({tagName:a,errorMessage:i.reason})})}),n}var GL=yt(Qt,"**","params.dev.json");async function l9(e,t){let r=await LL(e),n=await ML(e);return te.EmbeddedScript({...r,relativePath:e,platforms:[Ke.Site()],paramsOverride:n,dependencies:t})}async function BL(e,t){let r=await Ie(Re(Xl),{cwd:e}),n=await Promise.all(r.map(i=>l9(i,t))),a=OL(n);return await Promise.all(n.map(async({relativePath:i})=>{let s=a(i),c=await AL(i);if(!s.valid)throw new T({code:P.InvalidEmbeddedScriptFolder({path:i,errorMessage:s.reason})});if(!c.valid)throw new T({code:P.InvalidEmbeddedScriptTemplate({templateFilename:i,errorMessage:c.reason})})})),n}async function d9(e,t,r){let n=await UL(e),a=Yt(EA(t),e),i=yt(qL(e),"panel.tsx"),s=await _e(yt(t,i));return te.SitePlugin({...n,relativePath:e,tagName:a,platforms:[Ke.Editor(),Ke.Site()],dependencies:r,...s?{relativePanelPath:Re(i)}:{}})}async function HL(e,t){let r=await Ie(Re(p9),{cwd:e}),n=await Promise.all(r.map(a=>d9(a,e,t)));return n.forEach(({tagName:a})=>{let i=Mo("Site plugin")(a);if(!i.valid)throw new T({code:P.InvalidCustomElementTagName({tagName:a,errorMessage:i.reason})})}),n}o();var jL=j(rE(),1);async function WL(e){let t=await sE(e),r={...t.peerDependencies,...t.devDependencies,...t.dependencies};return Object.entries(r).filter(([a])=>m9(a)).map(([a,i])=>f9(a,i))}var m9=e=>e.startsWith("@wix/site-"),f9=(e,t)=>({packageName:e,version:h9(e,t)}),h9=(e,t)=>{let r;try{r=jL.default.minVersion(t)?.major??null}catch{r=null}if(!r)throw new T({code:P.InvalidSiteFrontendPackageVersion({packageName:e,versionRange:t})});return r};o();import{join as Jl}from"node:path";var VL=j(Ye(),1);var Ql=Jl(Xc,"*","api.{ts,tsx,js,jsx}"),Zl=Jl(Jc,"*","event.{ts,tsx,js,jsx}"),ed=Jl(Qc,"*","*","plugin.{ts,tsx,js,jsx}");async function _9(e,t){let r=Yt(vA(e),t);return te.Api({title:r,relativePath:t,platforms:[]})}async function KL(e){let t=await Ie(Re(Ql),{cwd:e});return await Promise.all(t.map(n=>_9(e,n)))}async function E9(e,t){return te.Event({title:Yt(gA(e),t),relativePath:t,platforms:[]})}async function $L(e){let t=await Ie(Re(Zl),{cwd:e});return await Promise.all(t.map(n=>E9(e,n)))}async function v9(e){let t=TL(e);return te.ServicePlugin({platforms:[Ke.Site(),Ke.Editor(),Ke.Dashboard()],relativePath:e,servicePlugin:await(0,VL.match)(t,{ECOM_ADDITIONAL_FEES:async()=>vr.EcomAdditionalFees(await Dr(e,yA)),ECOM_SHIPPING_RATES:async()=>vr.EcomShippingRates(await Dr(e,DA)),ECOM_DISCOUNTS_TRIGGER:async()=>vr.EcomDiscountsTrigger(await Dr(e,wA)),ECOM_VALIDATIONS:async()=>vr.EcomValidations(await Dr(e,LA)),ECOM_PAYMENT_SETTINGS:async()=>vr.EcomPaymentSettings(await Dr(e,FA)),GIFT_CARDS_PROVIDER:async()=>vr.EcomGiftCardsProvider(await Dr(e,UA))})})}async function YL(e){let t=await Ie(Re(ed),{cwd:e});return await Promise.all(t.map(n=>v9(n)))}async function zL({projectFolder:e,config:t}){let r=await WL(e),[n,a,i,s,c,p,d,m,f,h]=await Promise.all([bL(e),PL(e),CL(e),DL(e),BL(e,r),kL(e,r),HL(e,r),KL(e),YL(e),$L(e)]),v=yL(t),A=m.length+f.length+h.length>0?[await wL(e)]:[];return[...n,...a,...i,...s,...c,...v,...p,...m,...f,...h,...A,...d]}o();import{join as Lr,basename as JF}from"node:path";import{EventEmitter as bQ}from"node:events";var QF=j(kF(),1),ZF=j(oU(),1);o();var aQ=Object.getOwnPropertyNames,iQ=Object.getOwnPropertySymbols,oQ=Object.prototype.hasOwnProperty;function GF(e,t){return function(n,a,i){return e(n,a,i)&&t(n,a,i)}}function Xo(e){return function(r,n,a){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,a);var i=a.cache,s=i.get(r),c=i.get(n);if(s&&c)return s===n&&c===r;i.set(r,n),i.set(n,r);var p=e(r,n,a);return i.delete(r),i.delete(n),p}}function BF(e){return aQ(e).concat(iQ(e))}var YF=Object.hasOwn||function(e,t){return oQ.call(e,t)};function Cn(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var zF="_owner",HF=Object.getOwnPropertyDescriptor,jF=Object.keys;function sQ(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function cQ(e,t){return Cn(e.getTime(),t.getTime())}function WF(e,t,r){if(e.size!==t.size)return!1;for(var n={},a=e.entries(),i=0,s,c;(s=a.next())&&!s.done;){for(var p=t.entries(),d=!1,m=0;(c=p.next())&&!c.done;){var f=s.value,h=f[0],v=f[1],x=c.value,A=x[0],R=x[1];!d&&!n[m]&&(d=r.equals(h,A,i,m,e,t,r)&&r.equals(v,R,h,A,e,t,r))&&(n[m]=!0),m++}if(!d)return!1;i++}return!0}function pQ(e,t,r){var n=jF(e),a=n.length;if(jF(t).length!==a)return!1;for(var i;a-- >0;)if(i=n[a],i===zF&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!YF(t,i)||!r.equals(e[i],t[i],i,i,e,t,r))return!1;return!0}function qa(e,t,r){var n=BF(e),a=n.length;if(BF(t).length!==a)return!1;for(var i,s,c;a-- >0;)if(i=n[a],i===zF&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!YF(t,i)||!r.equals(e[i],t[i],i,i,e,t,r)||(s=HF(e,i),c=HF(t,i),(s||c)&&(!s||!c||s.configurable!==c.configurable||s.enumerable!==c.enumerable||s.writable!==c.writable)))return!1;return!0}function uQ(e,t){return Cn(e.valueOf(),t.valueOf())}function lQ(e,t){return e.source===t.source&&e.flags===t.flags}function VF(e,t,r){if(e.size!==t.size)return!1;for(var n={},a=e.values(),i,s;(i=a.next())&&!i.done;){for(var c=t.values(),p=!1,d=0;(s=c.next())&&!s.done;)!p&&!n[d]&&(p=r.equals(i.value,s.value,i.value,s.value,e,t,r))&&(n[d]=!0),d++;if(!p)return!1}return!0}function dQ(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 mQ="[object Arguments]",fQ="[object Boolean]",hQ="[object Date]",_Q="[object Map]",EQ="[object Number]",vQ="[object Object]",gQ="[object RegExp]",xQ="[object Set]",AQ="[object String]",OQ=Array.isArray,KF=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,$F=Object.assign,SQ=Object.prototype.toString.call.bind(Object.prototype.toString);function NQ(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,a=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,s=e.areRegExpsEqual,c=e.areSetsEqual,p=e.areTypedArraysEqual;return function(m,f,h){if(m===f)return!0;if(m==null||f==null||typeof m!="object"||typeof f!="object")return m!==m&&f!==f;var v=m.constructor;if(v!==f.constructor)return!1;if(v===Object)return a(m,f,h);if(OQ(m))return t(m,f,h);if(KF!=null&&KF(m))return p(m,f,h);if(v===Date)return r(m,f,h);if(v===RegExp)return s(m,f,h);if(v===Map)return n(m,f,h);if(v===Set)return c(m,f,h);var x=SQ(m);return x===hQ?r(m,f,h):x===gQ?s(m,f,h):x===_Q?n(m,f,h):x===xQ?c(m,f,h):x===vQ?typeof m.then!="function"&&typeof f.then!="function"&&a(m,f,h):x===mQ?a(m,f,h):x===fQ||x===EQ||x===AQ?i(m,f,h):!1}}function IQ(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,a={areArraysEqual:n?qa:sQ,areDatesEqual:cQ,areMapsEqual:n?GF(WF,qa):WF,areObjectsEqual:n?qa:pQ,arePrimitiveWrappersEqual:uQ,areRegExpsEqual:lQ,areSetsEqual:n?GF(VF,qa):VF,areTypedArraysEqual:n?qa:dQ};if(r&&(a=$F({},a,r(a))),t){var i=Xo(a.areArraysEqual),s=Xo(a.areMapsEqual),c=Xo(a.areObjectsEqual),p=Xo(a.areSetsEqual);a=$F({},a,{areArraysEqual:i,areMapsEqual:s,areObjectsEqual:c,areSetsEqual:p})}return a}function RQ(e){return function(t,r,n,a,i,s,c){return e(t,r,c)}}function TQ(e){var t=e.circular,r=e.comparator,n=e.createState,a=e.equals,i=e.strict;if(n)return function(p,d){var m=n(),f=m.cache,h=f===void 0?t?new WeakMap:void 0:f,v=m.meta;return r(p,d,{cache:h,equals:a,meta:v,strict:i})};if(t)return function(p,d){return r(p,d,{cache:new WeakMap,equals:a,meta:void 0,strict:i})};var s={cache:void 0,equals:a,meta:void 0,strict:i};return function(p,d){return r(p,d,s)}}var XF=sr(),aOe=sr({strict:!0}),iOe=sr({circular:!0}),oOe=sr({circular:!0,strict:!0}),sOe=sr({createInternalComparator:function(){return Cn}}),cOe=sr({strict:!0,createInternalComparator:function(){return Cn}}),pOe=sr({circular:!0,createInternalComparator:function(){return Cn}}),uOe=sr({circular:!0,createInternalComparator:function(){return Cn},strict:!0});function sr(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,a=e.createState,i=e.strict,s=i===void 0?!1:i,c=IQ(e),p=NQ(c),d=n?n(p):RQ(p);return TQ({circular:r,comparator:p,createState:a,equals:d,strict:s})}var PQ=Lr(sa,"**","page.json"),CQ=Lr(ca,"**","plugin.json"),DQ=Lr(pa,"**","plugin.json"),yQ=Lr(ua,"**","modal.json"),wQ=Lr(Qt,"**","embedded.json"),LQ=Lr(an,"**","element.json"),FQ=Lr(on,"**","plugin.json"),Jo=class{emitter=new bQ;watchers=[];prevModel;constructor(t){this.prevModel=t}watch(){let t=QF.default.watch([PQ,CQ,yQ,wQ,Xl,LQ,FQ,DQ,GL,Ql,Zl,ed,rn],{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,ZF.default)(async t=>{try{let r=await eU(this.prevModel.projectFolder);this.emitter.emit("all",r,"change-received"),!XF(r,this.prevModel)||JF(t)==="embedded.html"||JF(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 eU(e){let t=await qP();return{projectFolder:e,config:t,components:await zL({projectFolder:e,config:t})}}var tU=(0,Nt.createContext)(null),TOe=e=>{let{reportError:t}=wn(),[r,n]=(0,Nt.useState)(e.value),[a]=(0,Nt.useState)(()=>{let i=new Jo(r);return e.watchForChanges===!0&&i.watch().onChange((s,c)=>{c==="model-updated"&&n(s)}),i});return(0,Nt.useEffect)(()=>()=>{a.close().catch(t)},[a,t]),Nt.default.createElement(tU.Provider,{value:{model:r,watcher:a}},e.children)};function IL(){let e=(0,Nt.useContext)(tU);if(e===null)throw new Error("useProjectModel() cannot be used without an <ProjectModelProvider>");return e}export{oe as a,Ee as b,Ae as c,q as d,Ei as e,fr as f,Yr as g,yi as h,Eie as i,QG as j,$t as k,xe as l,_e as m,Sne as n,sE as o,Nne as p,Yt as q,Qr as r,Xt as s,sU as t,ns as u,roe as v,noe as w,_v as x,st as y,Xs as z,rE as A,cU as B,wn as C,CB as D,Jse as E,rn as F,cce as G,pce as H,uce as I,Ut as J,qv as K,kv as L,nn as M,gr as N,ag as O,ig as P,og as Q,Zg as R,ex as S,UB as T,MB as U,sa as V,ca as W,pa as X,Qc as Y,an as Z,on as _,xce as $,hA as aa,Ace as ba,Oce as ca,Sce as da,Nce as ea,_A as fa,EA as ga,vA as ha,gA as ia,Ice as ja,xA as ka,ki as la,Rce as ma,Tce as na,Ke as oa,_he as pa,Zi as qa,Ie as ra,ny as sa,sy as ta,fy as ua,By as va,nL as wa,Wl as xa,Vl as ya,f8 as za,te as Aa,Ot as Ba,h8 as Ca,zge as Da,_8 as Ea,Xge as Fa,Uo as Ga,Zge as Ha,Cr as Ia,hL as Ja,_L as Ka,OL as La,NL as Ma,Axe as Na,Pxe as Oa,Yl as Pa,Lxe as Qa,Zt as Ra,op as Sa,OW as Ta,IP as Ua,RP as Va,nfe as Wa,Io as Xa,Efe as Ya,vfe as Za,bo as _a,vl as $a,phe as ab,z8 as bb,X8 as cb,Q8 as db,i9 as eb,o9 as fb,s9 as gb,nAe as hb,aAe as ib,iAe as jb,c9 as kb,EAe as lb,p9 as mb,vAe as nb,Zl as ob,ed as pb,XF as qb,eU as rb,TOe as sb,IL as tb};
|
|
34
|
-
/*! Bundled license information:
|
|
35
|
-
|
|
36
|
-
base-64/base64.js:
|
|
37
|
-
(*! https://mths.be/base64 v1.0.0 by @mathias | MIT license *)
|
|
38
|
-
|
|
39
|
-
mime-db/index.js:
|
|
40
|
-
(*!
|
|
41
|
-
* mime-db
|
|
42
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
43
|
-
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
44
|
-
* MIT Licensed
|
|
45
|
-
*)
|
|
46
|
-
|
|
47
|
-
mime-types/index.js:
|
|
48
|
-
(*!
|
|
49
|
-
* mime-types
|
|
50
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
51
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
52
|
-
* MIT Licensed
|
|
53
|
-
*)
|
|
54
|
-
|
|
55
|
-
is-extglob/index.js:
|
|
56
|
-
(*!
|
|
57
|
-
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
58
|
-
*
|
|
59
|
-
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
60
|
-
* Licensed under the MIT License.
|
|
61
|
-
*)
|
|
62
|
-
|
|
63
|
-
is-glob/index.js:
|
|
64
|
-
(*!
|
|
65
|
-
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
66
|
-
*
|
|
67
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
68
|
-
* Released under the MIT License.
|
|
69
|
-
*)
|
|
70
|
-
|
|
71
|
-
is-number/index.js:
|
|
72
|
-
(*!
|
|
73
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
|
74
|
-
*
|
|
75
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
76
|
-
* Released under the MIT License.
|
|
77
|
-
*)
|
|
78
|
-
|
|
79
|
-
to-regex-range/index.js:
|
|
80
|
-
(*!
|
|
81
|
-
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
82
|
-
*
|
|
83
|
-
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
84
|
-
* Released under the MIT License.
|
|
85
|
-
*)
|
|
86
|
-
|
|
87
|
-
fill-range/index.js:
|
|
88
|
-
(*!
|
|
89
|
-
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
90
|
-
*
|
|
91
|
-
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
92
|
-
* Licensed under the MIT License.
|
|
93
|
-
*)
|
|
94
|
-
|
|
95
|
-
queue-microtask/index.js:
|
|
96
|
-
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
97
|
-
|
|
98
|
-
run-parallel/index.js:
|
|
99
|
-
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
100
|
-
|
|
101
|
-
normalize-path/index.js:
|
|
102
|
-
(*!
|
|
103
|
-
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
104
|
-
*
|
|
105
|
-
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
106
|
-
* Released under the MIT License.
|
|
107
|
-
*)
|
|
108
|
-
|
|
109
|
-
mustache/mustache.mjs:
|
|
110
|
-
(*!
|
|
111
|
-
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
112
|
-
* http://github.com/janl/mustache.js
|
|
113
|
-
*)
|
|
114
|
-
*/
|
|
115
|
-
//# sourceMappingURL=chunk-E3KDHOPJ.js.map
|