@wix/cli-app 1.1.36 → 1.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/build/{CreateVersionCommand-GJYJMFS6.js → CreateVersionCommand-C6UP5ORQ.js} +2 -2
  2. package/build/{CreateVersionCommand-GJYJMFS6.js.map → CreateVersionCommand-C6UP5ORQ.js.map} +1 -1
  3. package/build/DevCommand-BO6KQHRP.js +4 -0
  4. package/build/DevCommand-BO6KQHRP.js.map +1 -0
  5. package/build/GenerateCommand-7ZGIGNPF.js +99 -0
  6. package/build/GenerateCommand-7ZGIGNPF.js.map +1 -0
  7. package/build/{LogsCommand-ZWIIAJI6.js → LogsCommand-W5CRI6WA.js} +2 -2
  8. package/build/LogsCommand-W5CRI6WA.js.map +1 -0
  9. package/build/PreviewCommand-DWQCCBBZ.js +4 -0
  10. package/build/{ServeCommand-ZJMRR4ES.js → ServeCommand-T5PQKB57.js} +2 -2
  11. package/build/ServeCommand-T5PQKB57.js.map +1 -0
  12. package/build/{build-6EB3DE3E.js → build-CNTVWU2X.js} +2 -2
  13. package/build/{chunk-3ACKBLKR.js → chunk-35BUZ7CK.js} +2 -2
  14. package/build/{chunk-3ACKBLKR.js.map → chunk-35BUZ7CK.js.map} +1 -1
  15. package/build/{chunk-PQFAL6B4.js → chunk-3Q7TAN43.js} +2 -2
  16. package/build/{chunk-E7IQZNJ7.js → chunk-4YU6J2EW.js} +2 -2
  17. package/build/{chunk-HNY5L6XA.js → chunk-6QCQALVT.js} +2 -2
  18. package/build/{chunk-3EO7KOOF.js → chunk-7OVUUUVH.js} +2 -2
  19. package/build/{chunk-5POS3EQI.js → chunk-BW3SDDV3.js} +2 -2
  20. package/build/chunk-GK5AZX2F.js +4 -0
  21. package/build/{chunk-I24C7SNY.js → chunk-I2Z6OIJW.js} +2 -2
  22. package/build/{chunk-OMZB4UKG.js → chunk-IBNMP32R.js} +2 -2
  23. package/build/chunk-KLTGX7JQ.js +4 -0
  24. package/build/chunk-KLTGX7JQ.js.map +1 -0
  25. package/build/{chunk-TSKFLGBO.js → chunk-MIBBNKYS.js} +5 -5
  26. package/build/{chunk-TSKFLGBO.js.map → chunk-MIBBNKYS.js.map} +1 -1
  27. package/build/chunk-PBBKM3Z3.js +233 -0
  28. package/build/chunk-PBBKM3Z3.js.map +1 -0
  29. package/build/{chunk-ZTMLHHUQ.js → chunk-QDPEZ5A2.js} +2 -2
  30. package/build/chunk-QDPEZ5A2.js.map +1 -0
  31. package/build/chunk-QT3P4FJP.js +11 -0
  32. package/build/chunk-QT3P4FJP.js.map +1 -0
  33. package/build/{chunk-JPGXKQXP.js → chunk-R3JUFM5X.js} +1 -1
  34. package/build/chunk-R3JUFM5X.js.map +1 -0
  35. package/build/{chunk-OOIZVKTY.js → chunk-RCIAHQJ5.js} +2 -2
  36. package/build/chunk-RCIAHQJ5.js.map +1 -0
  37. package/build/{chunk-3UAIFRQA.js → chunk-RZI5OJAA.js} +2 -2
  38. package/build/chunk-RZI5OJAA.js.map +1 -0
  39. package/build/chunk-TRE6G7GA.js +4 -0
  40. package/build/chunk-TRE6G7GA.js.map +1 -0
  41. package/build/{chunk-KX7T4WP2.js → chunk-VAOLKVA2.js} +2 -2
  42. package/build/chunk-VAOLKVA2.js.map +1 -0
  43. package/build/{chunk-7IFG7QRE.js → chunk-YHA4H34H.js} +3 -3
  44. package/build/{chunk-7IFG7QRE.js.map → chunk-YHA4H34H.js.map} +1 -1
  45. package/build/index.js +2 -2
  46. package/build/index.js.map +1 -1
  47. package/build/platform-sdk/editor.js +2 -2
  48. package/build/platform-sdk/editor.js.map +1 -1
  49. package/build/platform-sdk/site.js +1 -1
  50. package/build/platform-sdk/site.js.map +1 -1
  51. package/build/preview-HS2NEMQI.js +4 -0
  52. package/build/{preview-OUDOPVIF.js.map → preview-HS2NEMQI.js.map} +1 -1
  53. package/build/render-command-QGD6AYTF.js +4 -0
  54. package/build/render-command-QGD6AYTF.js.map +1 -0
  55. package/package.json +7 -4
  56. package/templates/custom-element/dependencies.json +1 -2
  57. package/templates/custom-element/files/element.tsx.ejs +8 -5
  58. package/templates/custom-element/files/panel.tsx.ejs +26 -32
  59. package/templates/dashboard-modal/dependencies.json +2 -3
  60. package/templates/dashboard-modal/files/modal.tsx.ejs +11 -16
  61. package/templates/dashboard-page/dependencies.json +1 -3
  62. package/templates/dashboard-page/files/page.tsx.ejs +7 -11
  63. package/templates/dashboard-plugin/dependencies.json +1 -3
  64. package/templates/dashboard-plugin/files/plugin.tsx.ejs +6 -10
  65. package/build/DevCommand-UJ56EKIV.js +0 -4
  66. package/build/DevCommand-UJ56EKIV.js.map +0 -1
  67. package/build/GenerateCommand-YTAYOWLN.js +0 -99
  68. package/build/GenerateCommand-YTAYOWLN.js.map +0 -1
  69. package/build/LogsCommand-ZWIIAJI6.js.map +0 -1
  70. package/build/PreviewCommand-7JJAW5Y4.js +0 -4
  71. package/build/ServeCommand-ZJMRR4ES.js.map +0 -1
  72. package/build/chunk-3UAIFRQA.js.map +0 -1
  73. package/build/chunk-5GXRNUOR.js +0 -201
  74. package/build/chunk-5GXRNUOR.js.map +0 -1
  75. package/build/chunk-6N3YP4CO.js +0 -4
  76. package/build/chunk-AXFFV5MU.js +0 -4
  77. package/build/chunk-AXFFV5MU.js.map +0 -1
  78. package/build/chunk-DAPZQSXG.js +0 -11
  79. package/build/chunk-DAPZQSXG.js.map +0 -1
  80. package/build/chunk-JPGXKQXP.js.map +0 -1
  81. package/build/chunk-KX7T4WP2.js.map +0 -1
  82. package/build/chunk-OOIZVKTY.js.map +0 -1
  83. package/build/chunk-SLG2HQYB.js +0 -4
  84. package/build/chunk-SLG2HQYB.js.map +0 -1
  85. package/build/chunk-ZTMLHHUQ.js.map +0 -1
  86. package/build/preview-OUDOPVIF.js +0 -4
  87. package/build/render-command-URXJKFYN.js +0 -4
  88. package/build/render-command-URXJKFYN.js.map +0 -1
  89. /package/build/{PreviewCommand-7JJAW5Y4.js.map → PreviewCommand-DWQCCBBZ.js.map} +0 -0
  90. /package/build/{build-6EB3DE3E.js.map → build-CNTVWU2X.js.map} +0 -0
  91. /package/build/{chunk-PQFAL6B4.js.map → chunk-3Q7TAN43.js.map} +0 -0
  92. /package/build/{chunk-E7IQZNJ7.js.map → chunk-4YU6J2EW.js.map} +0 -0
  93. /package/build/{chunk-HNY5L6XA.js.map → chunk-6QCQALVT.js.map} +0 -0
  94. /package/build/{chunk-3EO7KOOF.js.map → chunk-7OVUUUVH.js.map} +0 -0
  95. /package/build/{chunk-5POS3EQI.js.map → chunk-BW3SDDV3.js.map} +0 -0
  96. /package/build/{chunk-6N3YP4CO.js.map → chunk-GK5AZX2F.js.map} +0 -0
  97. /package/build/{chunk-I24C7SNY.js.map → chunk-I2Z6OIJW.js.map} +0 -0
  98. /package/build/{chunk-OMZB4UKG.js.map → chunk-IBNMP32R.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import{E as hg,L as pp,M as _g,N as _s,O as Xa,P as Eg,R as Xi,S as vg,V as Ji,Y as gg,a as Ye,b as vt,c as CW,d as y,e as D,g as lg,h as dg,i as Ka,j as Ya,k as PW,l as v,m as ct,n as cp,o as wW,p as Mr,q as mg,r as $a,s as za,t as up,u as LW,w as Ht,x as Ur,y as fg,z as H}from"./chunk-JPGXKQXP.js";import{a as N,b as Et,c as _,d as DW,e as W,f as hs,g as d,h as o}from"./chunk-V4TR6DCM.js";var Es=_(ut=>{"use strict";o();Object.defineProperty(ut,"__esModule",{value:!0});ut.ORIGINAL_PROTOCOL_HEADER=ut.ORIGINAL_HOST_HEADER=ut.ORIGINAL_URL_HEADER=ut.SSR_PROTOCOL=ut.SSR_HOST=ut.NO_SCENARIO_FOUND=void 0;ut.NO_SCENARIO_FOUND="NO_SCENARIO_FOUND";ut.SSR_HOST="www.wix.com";ut.SSR_PROTOCOL="http";ut.ORIGINAL_URL_HEADER="x-wix-metro-original-url";ut.ORIGINAL_HOST_HEADER="x-wix-metro-original-host";ut.ORIGINAL_PROTOCOL_HEADER="x-wix-metro-original-protocol"});function Og(){if(typeof document=="object")return document}function vi(){return typeof self=="object"?self:global}var vs=Et(()=>{"use strict";o()});function Ag(e){let t=qW(e);return t?t.split("=")[1]:""}function UW(){let e=Og();return e&&e.cookie?decodeURIComponent(e.cookie).split(";"):[]}function qW(e){return UW().filter(t=>e===t.split("=")[0].trim())[0]}var Ng=Et(()=>{"use strict";o();vs()});function Ig(){let e=Ag(kW);return{[GW]:e}}var kW,GW,Rg=Et(()=>{"use strict";o();Ng();kW="XSRF-TOKEN",GW="x-xsrf-token"});function Tg(){let e=HW();return{[BW]:e}}function HW(){let e=vi();return e&&e.commonConfig&&typeof e.commonConfig.brand=="string"?e.commonConfig.brand:""}var BW,bg=Et(()=>{"use strict";o();vs();BW="x-wix-brand"});function yg(){return jW()||WW()||VW()}function WW(){let e=vi();if(e&&e.Wix&&e.Wix.Utils&&typeof e.Wix.Utils._getConsentPolicyHeader=="function")return e.Wix.Utils._getConsentPolicyHeader()}function jW(){let e=vi();if(e&&e.consentPolicyManager&&typeof e.consentPolicyManager._getConsentPolicyHeader=="function")return e.consentPolicyManager._getConsentPolicyHeader()}function VW(){return{}}var Dg=Et(()=>{"use strict";o();vs()});function Cg(e){return{authorization:e}}var Pg=Et(()=>{"use strict";o()});function wg(){return KW()?!!process.env.TEAMCITY_VERSION||!!process.env.BUILDKITE:!1}function KW(){return typeof process<"u"&&process.versions?.node!=null}var Lg=Et(()=>{"use strict";o()});function Fg(e){let t=process.env.ARTIFACT_ID??process.env.APP_NAME??"";return{"X-Wix-Client-Artifact-Id":e??(wg()?"":t)}}var Mg=Et(()=>{"use strict";o();Lg()});function XW(){let t=vi()?.commonConfig;if(!t)return null;let r={},i=!1;return Object.keys(t).forEach(n=>{let s=zW[n];s?(r[s]=t[n],i=!0):YW.indexOf(n)<0&&typeof t[n]!="function"&&(r[n]=t[n],i=!0)}),i?r:null}var YW,$W,zW,Ug,qg=Et(()=>{"use strict";o();vs();YW=["consentPolicy","consentPolicyHeader"],$W="commonConfig",zW={bsi:"BSI"};Ug=()=>{let e=XW(),t=e?JSON.stringify(e):"";return{[$W]:encodeURIComponent(t)}}});var kg=_((Ja,gs)=>{"use strict";o();(function(e){var t=typeof Ja=="object"&&Ja,r=typeof gs=="object"&&gs&&gs.exports==t&&gs,i=typeof global=="object"&&global;(i.global===i||i.window===i)&&(e=i);var n=function(h){this.message=h};n.prototype=new Error,n.prototype.name="InvalidCharacterError";var s=function(h){throw new n(h)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,u=function(h){h=String(h).replace(c,"");var E=h.length;E%4==0&&(h=h.replace(/==?$/,""),E=h.length),(E%4==1||/[^+a-zA-Z0-9/]/.test(h))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var x=0,S,R,b="",q=-1;++q<E;)R=a.indexOf(h.charAt(q)),S=x%4?S*64+R:R,x++%4&&(b+=String.fromCharCode(255&S>>(-2*x&6)));return b},p=function(h){h=String(h),/[^\0-\xFF]/.test(h)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var E=h.length%3,x="",S=-1,R,b,q,k,j=h.length-E;++S<j;)R=h.charCodeAt(S)<<16,b=h.charCodeAt(++S)<<8,q=h.charCodeAt(++S),k=R+b+q,x+=a.charAt(k>>18&63)+a.charAt(k>>12&63)+a.charAt(k>>6&63)+a.charAt(k&63);return E==2?(R=h.charCodeAt(S)<<8,b=h.charCodeAt(++S),k=R+b,x+=a.charAt(k>>10)+a.charAt(k>>4&63)+a.charAt(k<<2&63)+"="):E==1&&(k=h.charCodeAt(S),x+=a.charAt(k>>2)+a.charAt(k<<4&63)+"=="),x},l={encode:p,decode:u,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return l});else if(t&&!t.nodeType)if(r)r.exports=l;else for(var f in l)l.hasOwnProperty(f)&&(t[f]=l[f]);else e.base64=l})(Ja)});function Bg({lang:e,locale:t,isPrimaryLanguage:r,signedInstance:i}){if(ZW({lang:e,locale:t,isPrimaryLanguage:r})){let n=QW(i);if(n!==void 0)return{[JW]:[e,t,r?.toString(),n].join("|")}}return{}}function ZW({lang:e,locale:t,isPrimaryLanguage:r}){return e&&t&&/^(true|false)$/.test(r?.toString()||"")}function QW(e){try{let t=e?.startsWith("wixcode")?e?.split(".")[2]:e?.split(".")[1];if(t)return JSON.parse(Gg.default.decode(t)).instanceId}catch{}}var Gg,JW,Hg=Et(()=>{"use strict";o();Gg=W(kg()),JW="x-wix-linguist"});var xs,Wg=Et(()=>{"use strict";o();xs=class extends Error{constructor(t,r,i){super(`WixHeadersValidationError: expected ${r} to be ${t} but got ${JSON.stringify(i)}`)}}});function jg(e,t){if(typeof t!="boolean")throw new xs("boolean",e,t)}function Vg(e,t){if(typeof t!="string")throw new xs("string",e,t)}var Kg=Et(()=>{"use strict";o();Wg()});var Yg={};DW(Yg,{createHeaders:()=>ej});function ej(e={}){e={csrf:!0,signedInstance:"",...e},tj(e);let t=[Tg(),yg(),Cg(e.signedInstance),Fg(e.artifactId),Ug(),Bg({signedInstance:e.signedInstance,...e.multilingualOptions})];return e.csrf&&t.push(Ig()),t.filter(r=>Object.values(r).every(i=>i)).reduce((r,i)=>({...r,...i}),{})}function tj(e){jg("opts.csrf",e.csrf),Vg("opts.signedInstance",e.signedInstance)}var $g=Et(()=>{"use strict";o();Rg();bg();Dg();Pg();Mg();qg();Hg();Kg()});var mp=_(qr=>{"use strict";o();Object.defineProperty(qr,"__esModule",{value:!0});qr.isNode=qr.isWebWorker=qr.isBrowser=void 0;function rj(){return typeof window<"u"}qr.isBrowser=rj;function ij(){var e;return typeof self=="object"&&((e=self?.constructor)===null||e===void 0?void 0:e.name)==="DedicatedWorkerGlobalScope"}qr.isWebWorker=ij;function nj(){var e;return typeof process<"u"&&((e=process==null?void 0:process.versions)===null||e===void 0?void 0:e.node)!=null}qr.isNode=nj});var Za=_(oe=>{"use strict";o();Object.defineProperty(oe,"__esModule",{value:!0});oe.toSearchQueryParams=oe.shouldAllowUnmocked=oe.isHttpMockServerEnabled=oe.getGlobalConfig=oe.changeHost=oe.extractHost=oe.extractProtocol=oe.resolveProtocol=oe.resolveHost=oe.extractProp=oe.silent=oe.isAbsoluteUrl=void 0;var zg=Es(),fp=mp();function sj(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return/(^https?:)|(^\/\/)/.test(e)}oe.isAbsoluteUrl=sj;async function aj(e){try{await e()}catch{}}oe.silent=aj;function oj(e,t){return t.split(".").filter(r=>r).reduce((r,i)=>r[i],e)}oe.extractProp=oj;function cj(e){return e.baseURL?Jg(e.baseURL):e.isSSR?zg.SSR_HOST:typeof self<"u"&&self.location?self.location.host:""}oe.resolveHost=cj;function uj(e){return e.baseURL?Xg(e.baseURL):e.isSSR?zg.SSR_PROTOCOL:typeof self<"u"&&self.location?self.location.protocol:""}oe.resolveProtocol=uj;function Xg(e){try{return new URL(e).protocol}catch{return Zg(e).protocol}}oe.extractProtocol=Xg;function Jg(e){let t;try{t=new URL(e)}catch{t=new URL(`http:${e}`)}try{return t.host}catch{return Zg(e).host}}oe.extractHost=Jg;function Zg(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 pj(e,t){let r;try{r=new URL(e),r.host=t,r.protocol="http"}catch{r=new URL(`http://${t}`),r.pathname=e}return r.toString()}oe.changeHost=pj;function hp(){let e={httpMockServer:{enabled:!1}},t;if((0,fp.isNode)()&&process.env.HTTP_CLIENT_GLOBAL_CONFIG)try{t=JSON.parse(process.env.HTTP_CLIENT_GLOBAL_CONFIG)}catch{}return t||((0,fp.isBrowser)()?t=window._httpClientGlobalConfig:(0,fp.isWebWorker)()),t||e}oe.getGlobalConfig=hp;function lj(){return hp().httpMockServer.enabled}oe.isHttpMockServerEnabled=lj;function dj(){return hp().httpMockServer.allowUnmocked}oe.shouldAllowUnmocked=dj;function mj(e){return Object.entries(e).map(([t,r])=>`${t}=${encodeURIComponent(r)}`).flat().join("&")}oe.toSearchQueryParams=mj});var Qg=_(($ue,fj)=>{fj.exports=["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]});var Qa=_(kr=>{"use strict";o();Object.defineProperty(kr,"__esModule",{value:!0});kr.isWixDomain=kr.composeHeaders=kr.requestIdOrEmptyString=void 0;var hj=(Ya(),hs(Ka)),_j=($g(),hs(Yg)),ex=Za(),Ej=hj.__importDefault(Qg());function vj(e){var t;return((t=e?.headers)===null||t===void 0?void 0:t["x-wix-request-id"])||""}kr.requestIdOrEmptyString=vj;var gj=({url:e,disableWixHeaders:t,wixHeadersOpts:r})=>!t&&tx(e)?(0,_j.createHeaders)(r):{};kr.composeHeaders=gj;function tx(e){if(!(0,ex.isAbsoluteUrl)(e))return!0;let r=`.${(0,ex.extractHost)(e)}`;return!!Ej.default.find(n=>r.endsWith(`.${n}`))}kr.isWixDomain=tx});var _p=_(fr=>{"use strict";o();Object.defineProperty(fr,"__esModule",{value:!0});fr.createHttpError=fr.HttpError=fr.axiosErrorFields=void 0;var xj=Qa();fr.axiosErrorFields=["code","config","request","response","toJSON","__CANCEL__"];var eo=class e extends Error{constructor(t){super(t.message),this.isWixHttpError=!0,Object.setPrototypeOf(this,e.prototype),fr.axiosErrorFields.forEach(r=>{this[r]=t[r]})}get requestId(){return(0,xj.requestIdOrEmptyString)(this.response)}};fr.HttpError=eo;function Sj(...e){return new eo(...e)}fr.createHttpError=Sj});var Ep=_((Que,rx)=>{"use strict";o();rx.exports=function(t,r){return function(){for(var n=new Array(arguments.length),s=0;s<n.length;s++)n[s]=arguments[s];return t.apply(r,n)}}});var nt=_((tpe,sx)=>{"use strict";o();var Oj=Ep(),gi=Object.prototype.toString;function xp(e){return gi.call(e)==="[object Array]"}function vp(e){return typeof e>"u"}function Aj(e){return e!==null&&!vp(e)&&e.constructor!==null&&!vp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Nj(e){return gi.call(e)==="[object ArrayBuffer]"}function Ij(e){return typeof FormData<"u"&&e instanceof FormData}function Rj(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function Tj(e){return typeof e=="string"}function bj(e){return typeof e=="number"}function ix(e){return e!==null&&typeof e=="object"}function to(e){if(gi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function yj(e){return gi.call(e)==="[object Date]"}function Dj(e){return gi.call(e)==="[object File]"}function Cj(e){return gi.call(e)==="[object Blob]"}function nx(e){return gi.call(e)==="[object Function]"}function Pj(e){return ix(e)&&nx(e.pipe)}function wj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function Lj(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Fj(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Sp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),xp(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function gp(){var e={};function t(n,s){to(e[s])&&to(n)?e[s]=gp(e[s],n):to(n)?e[s]=gp({},n):xp(n)?e[s]=n.slice():e[s]=n}for(var r=0,i=arguments.length;r<i;r++)Sp(arguments[r],t);return e}function Mj(e,t,r){return Sp(t,function(n,s){r&&typeof n=="function"?e[s]=Oj(n,r):e[s]=n}),e}function Uj(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}sx.exports={isArray:xp,isArrayBuffer:Nj,isBuffer:Aj,isFormData:Ij,isArrayBufferView:Rj,isString:Tj,isNumber:bj,isObject:ix,isPlainObject:to,isUndefined:vp,isDate:yj,isFile:Dj,isBlob:Cj,isFunction:nx,isStream:Pj,isURLSearchParams:wj,isStandardBrowserEnv:Fj,forEach:Sp,merge:gp,extend:Mj,trim:Lj,stripBOM:Uj}});var ro=_((ipe,ax)=>{"use strict";o();ax.exports=function(t,r,i,n,s){return t.config=r,i&&(t.code=i),t.request=n,t.response=s,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}});var io=_((spe,ox)=>{"use strict";o();var qj=ro();ox.exports=function(t,r,i,n,s){var a=new Error(t);return qj(a,r,i,n,s)}});var Op=_((ope,cx)=>{"use strict";o();var kj=io();cx.exports=function(t,r,i){var n=i.config.validateStatus;!i.status||!n||n(i.status)?t(i):r(kj("Request failed with status code "+i.status,i.config,null,i.request,i))}});var px=_((upe,ux)=>{"use strict";o();ux.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var dx=_((lpe,lx)=>{"use strict";o();lx.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var Ap=_((mpe,mx)=>{"use strict";o();var Gj=px(),Bj=dx();mx.exports=function(t,r){return t&&!Gj(r)?Bj(t,r):r}});var no=_((hpe,hx)=>{"use strict";o();var en=nt();function fx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}hx.exports=function(t,r,i){if(!r)return t;var n;if(i)n=i(r);else if(en.isURLSearchParams(r))n=r.toString();else{var s=[];en.forEach(r,function(u,p){u===null||typeof u>"u"||(en.isArray(u)?p=p+"[]":u=[u],en.forEach(u,function(f){en.isDate(f)?f=f.toISOString():en.isObject(f)&&(f=JSON.stringify(f)),s.push(fx(p)+"="+fx(f))}))}),n=s.join("&")}if(n){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t}});var Ex=_((Epe,_x)=>{"use strict";o();var tn=1e3,rn=tn*60,nn=rn*60,xi=nn*24,Hj=xi*7,Wj=xi*365.25;_x.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return jj(e);if(r==="number"&&isFinite(e))return t.long?Kj(e):Vj(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function jj(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*Wj;case"weeks":case"week":case"w":return r*Hj;case"days":case"day":case"d":return r*xi;case"hours":case"hour":case"hrs":case"hr":case"h":return r*nn;case"minutes":case"minute":case"mins":case"min":case"m":return r*rn;case"seconds":case"second":case"secs":case"sec":case"s":return r*tn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Vj(e){var t=Math.abs(e);return t>=xi?Math.round(e/xi)+"d":t>=nn?Math.round(e/nn)+"h":t>=rn?Math.round(e/rn)+"m":t>=tn?Math.round(e/tn)+"s":e+"ms"}function Kj(e){var t=Math.abs(e);return t>=xi?so(e,t,xi,"day"):t>=nn?so(e,t,nn,"hour"):t>=rn?so(e,t,rn,"minute"):t>=tn?so(e,t,tn,"second"):e+" ms"}function so(e,t,r,i){var n=t>=r*1.5;return Math.round(e/r)+" "+i+(n?"s":"")}});var Np=_((gpe,vx)=>{"use strict";o();function Yj(e){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=n,r.enabled=a,r.humanize=Ex(),r.destroy=p,Object.keys(e).forEach(l=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function t(l){let f=0;for(let h=0;h<l.length;h++)f=(f<<5)-f+l.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(l){let f,h=null,E,x;function S(...R){if(!S.enabled)return;let b=S,q=Number(new Date),k=q-(f||q);b.diff=k,b.prev=f,b.curr=q,f=q,R[0]=r.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let j=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(X,K)=>{if(X==="%%")return"%";j++;let F=r.formatters[K];if(typeof F=="function"){let J=R[j];X=F.call(b,J),R.splice(j,1),j--}return X}),r.formatArgs.call(b,R),(b.log||r.log).apply(b,R)}return S.namespace=l,S.useColors=r.useColors(),S.color=r.selectColor(l),S.extend=i,S.destroy=r.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(E!==r.namespaces&&(E=r.namespaces,x=r.enabled(l)),x),set:R=>{h=R}}),typeof r.init=="function"&&r.init(S),S}function i(l,f){let h=r(this.namespace+(typeof f>"u"?":":f)+l);return h.log=this.log,h}function n(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let f,h=(typeof l=="string"?l:"").split(/[\s,]+/),E=h.length;for(f=0;f<E;f++)h[f]&&(l=h[f].replace(/\*/g,".*?"),l[0]==="-"?r.skips.push(new RegExp("^"+l.slice(1)+"$")):r.names.push(new RegExp("^"+l+"$")))}function s(){let l=[...r.names.map(c),...r.skips.map(c).map(f=>"-"+f)].join(",");return r.enable(""),l}function a(l){if(l[l.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f<h;f++)if(r.skips[f].test(l))return!1;for(f=0,h=r.names.length;f<h;f++)if(r.names[f].test(l))return!0;return!1}function c(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function u(l){return l instanceof Error?l.stack||l.message:l}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}vx.exports=Yj});var gx=_((gt,ao)=>{"use strict";o();gt.formatArgs=zj;gt.save=Xj;gt.load=Jj;gt.useColors=$j;gt.storage=Zj();gt.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`."))}})();gt.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 $j(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function zj(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ao.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(i=r))}),e.splice(i,0,t)}gt.log=console.debug||console.log||(()=>{});function Xj(e){try{e?gt.storage.setItem("debug",e):gt.storage.removeItem("debug")}catch{}}function Jj(){let e;try{e=gt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Zj(){try{return localStorage}catch{}}ao.exports=Np()(gt);var{formatters:Qj}=ao.exports;Qj.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Sx=_((Fe,co)=>{"use strict";o();var eV=N("tty"),oo=N("util");Fe.init=oV;Fe.log=nV;Fe.formatArgs=rV;Fe.save=sV;Fe.load=aV;Fe.useColors=tV;Fe.destroy=oo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Fe.colors=[6,2,3,4,5,1];try{let e=PW();e&&(e.stderr||e).level>=2&&(Fe.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{}Fe.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[r]=i,e},{});function tV(){return"colors"in Fe.inspectOpts?!!Fe.inspectOpts.colors:eV.isatty(process.stderr.fd)}function rV(e){let{namespace:t,useColors:r}=this;if(r){let i=this.color,n="\x1B[3"+(i<8?i:"8;5;"+i),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
3
+ import{E as hg,L as pp,M as _g,N as _s,O as Xa,P as Eg,R as Xi,S as vg,V as Ji,Y as gg,a as Ye,b as vt,c as CW,d as y,e as D,g as lg,h as dg,i as Ka,j as Ya,k as PW,l as v,m as ct,n as cp,o as wW,p as Mr,q as mg,r as $a,s as za,t as up,u as LW,w as Ht,x as Ur,y as fg,z as H}from"./chunk-R3JUFM5X.js";import{a as N,b as Et,c as _,d as DW,e as W,f as hs,g as d,h as o}from"./chunk-V4TR6DCM.js";var Es=_(ut=>{"use strict";o();Object.defineProperty(ut,"__esModule",{value:!0});ut.ORIGINAL_PROTOCOL_HEADER=ut.ORIGINAL_HOST_HEADER=ut.ORIGINAL_URL_HEADER=ut.SSR_PROTOCOL=ut.SSR_HOST=ut.NO_SCENARIO_FOUND=void 0;ut.NO_SCENARIO_FOUND="NO_SCENARIO_FOUND";ut.SSR_HOST="www.wix.com";ut.SSR_PROTOCOL="http";ut.ORIGINAL_URL_HEADER="x-wix-metro-original-url";ut.ORIGINAL_HOST_HEADER="x-wix-metro-original-host";ut.ORIGINAL_PROTOCOL_HEADER="x-wix-metro-original-protocol"});function Og(){if(typeof document=="object")return document}function vi(){return typeof self=="object"?self:global}var vs=Et(()=>{"use strict";o()});function Ag(e){let t=qW(e);return t?t.split("=")[1]:""}function UW(){let e=Og();return e&&e.cookie?decodeURIComponent(e.cookie).split(";"):[]}function qW(e){return UW().filter(t=>e===t.split("=")[0].trim())[0]}var Ng=Et(()=>{"use strict";o();vs()});function Ig(){let e=Ag(kW);return{[GW]:e}}var kW,GW,Rg=Et(()=>{"use strict";o();Ng();kW="XSRF-TOKEN",GW="x-xsrf-token"});function Tg(){let e=HW();return{[BW]:e}}function HW(){let e=vi();return e&&e.commonConfig&&typeof e.commonConfig.brand=="string"?e.commonConfig.brand:""}var BW,bg=Et(()=>{"use strict";o();vs();BW="x-wix-brand"});function yg(){return jW()||WW()||VW()}function WW(){let e=vi();if(e&&e.Wix&&e.Wix.Utils&&typeof e.Wix.Utils._getConsentPolicyHeader=="function")return e.Wix.Utils._getConsentPolicyHeader()}function jW(){let e=vi();if(e&&e.consentPolicyManager&&typeof e.consentPolicyManager._getConsentPolicyHeader=="function")return e.consentPolicyManager._getConsentPolicyHeader()}function VW(){return{}}var Dg=Et(()=>{"use strict";o();vs()});function Cg(e){return{authorization:e}}var Pg=Et(()=>{"use strict";o()});function wg(){return KW()?!!process.env.TEAMCITY_VERSION||!!process.env.BUILDKITE:!1}function KW(){return typeof process<"u"&&process.versions?.node!=null}var Lg=Et(()=>{"use strict";o()});function Fg(e){let t=process.env.ARTIFACT_ID??process.env.APP_NAME??"";return{"X-Wix-Client-Artifact-Id":e??(wg()?"":t)}}var Mg=Et(()=>{"use strict";o();Lg()});function XW(){let t=vi()?.commonConfig;if(!t)return null;let r={},i=!1;return Object.keys(t).forEach(n=>{let s=zW[n];s?(r[s]=t[n],i=!0):YW.indexOf(n)<0&&typeof t[n]!="function"&&(r[n]=t[n],i=!0)}),i?r:null}var YW,$W,zW,Ug,qg=Et(()=>{"use strict";o();vs();YW=["consentPolicy","consentPolicyHeader"],$W="commonConfig",zW={bsi:"BSI"};Ug=()=>{let e=XW(),t=e?JSON.stringify(e):"";return{[$W]:encodeURIComponent(t)}}});var kg=_((Ja,gs)=>{"use strict";o();(function(e){var t=typeof Ja=="object"&&Ja,r=typeof gs=="object"&&gs&&gs.exports==t&&gs,i=typeof global=="object"&&global;(i.global===i||i.window===i)&&(e=i);var n=function(h){this.message=h};n.prototype=new Error,n.prototype.name="InvalidCharacterError";var s=function(h){throw new n(h)},a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,u=function(h){h=String(h).replace(c,"");var E=h.length;E%4==0&&(h=h.replace(/==?$/,""),E=h.length),(E%4==1||/[^+a-zA-Z0-9/]/.test(h))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var x=0,S,R,b="",q=-1;++q<E;)R=a.indexOf(h.charAt(q)),S=x%4?S*64+R:R,x++%4&&(b+=String.fromCharCode(255&S>>(-2*x&6)));return b},p=function(h){h=String(h),/[^\0-\xFF]/.test(h)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var E=h.length%3,x="",S=-1,R,b,q,k,j=h.length-E;++S<j;)R=h.charCodeAt(S)<<16,b=h.charCodeAt(++S)<<8,q=h.charCodeAt(++S),k=R+b+q,x+=a.charAt(k>>18&63)+a.charAt(k>>12&63)+a.charAt(k>>6&63)+a.charAt(k&63);return E==2?(R=h.charCodeAt(S)<<8,b=h.charCodeAt(++S),k=R+b,x+=a.charAt(k>>10)+a.charAt(k>>4&63)+a.charAt(k<<2&63)+"="):E==1&&(k=h.charCodeAt(S),x+=a.charAt(k>>2)+a.charAt(k<<4&63)+"=="),x},l={encode:p,decode:u,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return l});else if(t&&!t.nodeType)if(r)r.exports=l;else for(var f in l)l.hasOwnProperty(f)&&(t[f]=l[f]);else e.base64=l})(Ja)});function Bg({lang:e,locale:t,isPrimaryLanguage:r,signedInstance:i}){if(ZW({lang:e,locale:t,isPrimaryLanguage:r})){let n=QW(i);if(n!==void 0)return{[JW]:[e,t,r?.toString(),n].join("|")}}return{}}function ZW({lang:e,locale:t,isPrimaryLanguage:r}){return e&&t&&/^(true|false)$/.test(r?.toString()||"")}function QW(e){try{let t=e?.startsWith("wixcode")?e?.split(".")[2]:e?.split(".")[1];if(t)return JSON.parse(Gg.default.decode(t)).instanceId}catch{}}var Gg,JW,Hg=Et(()=>{"use strict";o();Gg=W(kg()),JW="x-wix-linguist"});var xs,Wg=Et(()=>{"use strict";o();xs=class extends Error{constructor(t,r,i){super(`WixHeadersValidationError: expected ${r} to be ${t} but got ${JSON.stringify(i)}`)}}});function jg(e,t){if(typeof t!="boolean")throw new xs("boolean",e,t)}function Vg(e,t){if(typeof t!="string")throw new xs("string",e,t)}var Kg=Et(()=>{"use strict";o();Wg()});var Yg={};DW(Yg,{createHeaders:()=>ej});function ej(e={}){e={csrf:!0,signedInstance:"",...e},tj(e);let t=[Tg(),yg(),Cg(e.signedInstance),Fg(e.artifactId),Ug(),Bg({signedInstance:e.signedInstance,...e.multilingualOptions})];return e.csrf&&t.push(Ig()),t.filter(r=>Object.values(r).every(i=>i)).reduce((r,i)=>({...r,...i}),{})}function tj(e){jg("opts.csrf",e.csrf),Vg("opts.signedInstance",e.signedInstance)}var $g=Et(()=>{"use strict";o();Rg();bg();Dg();Pg();Mg();qg();Hg();Kg()});var mp=_(qr=>{"use strict";o();Object.defineProperty(qr,"__esModule",{value:!0});qr.isNode=qr.isWebWorker=qr.isBrowser=void 0;function rj(){return typeof window<"u"}qr.isBrowser=rj;function ij(){var e;return typeof self=="object"&&((e=self?.constructor)===null||e===void 0?void 0:e.name)==="DedicatedWorkerGlobalScope"}qr.isWebWorker=ij;function nj(){var e;return typeof process<"u"&&((e=process==null?void 0:process.versions)===null||e===void 0?void 0:e.node)!=null}qr.isNode=nj});var Za=_(oe=>{"use strict";o();Object.defineProperty(oe,"__esModule",{value:!0});oe.toSearchQueryParams=oe.shouldAllowUnmocked=oe.isHttpMockServerEnabled=oe.getGlobalConfig=oe.changeHost=oe.extractHost=oe.extractProtocol=oe.resolveProtocol=oe.resolveHost=oe.extractProp=oe.silent=oe.isAbsoluteUrl=void 0;var zg=Es(),fp=mp();function sj(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return/(^https?:)|(^\/\/)/.test(e)}oe.isAbsoluteUrl=sj;async function aj(e){try{await e()}catch{}}oe.silent=aj;function oj(e,t){return t.split(".").filter(r=>r).reduce((r,i)=>r[i],e)}oe.extractProp=oj;function cj(e){return e.baseURL?Jg(e.baseURL):e.isSSR?zg.SSR_HOST:typeof self<"u"&&self.location?self.location.host:""}oe.resolveHost=cj;function uj(e){return e.baseURL?Xg(e.baseURL):e.isSSR?zg.SSR_PROTOCOL:typeof self<"u"&&self.location?self.location.protocol:""}oe.resolveProtocol=uj;function Xg(e){try{return new URL(e).protocol}catch{return Zg(e).protocol}}oe.extractProtocol=Xg;function Jg(e){let t;try{t=new URL(e)}catch{t=new URL(`http:${e}`)}try{return t.host}catch{return Zg(e).host}}oe.extractHost=Jg;function Zg(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 pj(e,t){let r;try{r=new URL(e),r.host=t,r.protocol="http"}catch{r=new URL(`http://${t}`),r.pathname=e}return r.toString()}oe.changeHost=pj;function hp(){let e={httpMockServer:{enabled:!1}},t;if((0,fp.isNode)()&&process.env.HTTP_CLIENT_GLOBAL_CONFIG)try{t=JSON.parse(process.env.HTTP_CLIENT_GLOBAL_CONFIG)}catch{}return t||((0,fp.isBrowser)()?t=window._httpClientGlobalConfig:(0,fp.isWebWorker)()),t||e}oe.getGlobalConfig=hp;function lj(){return hp().httpMockServer.enabled}oe.isHttpMockServerEnabled=lj;function dj(){return hp().httpMockServer.allowUnmocked}oe.shouldAllowUnmocked=dj;function mj(e){return Object.entries(e).map(([t,r])=>`${t}=${encodeURIComponent(r)}`).flat().join("&")}oe.toSearchQueryParams=mj});var Qg=_(($ue,fj)=>{fj.exports=["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]});var Qa=_(kr=>{"use strict";o();Object.defineProperty(kr,"__esModule",{value:!0});kr.isWixDomain=kr.composeHeaders=kr.requestIdOrEmptyString=void 0;var hj=(Ya(),hs(Ka)),_j=($g(),hs(Yg)),ex=Za(),Ej=hj.__importDefault(Qg());function vj(e){var t;return((t=e?.headers)===null||t===void 0?void 0:t["x-wix-request-id"])||""}kr.requestIdOrEmptyString=vj;var gj=({url:e,disableWixHeaders:t,wixHeadersOpts:r})=>!t&&tx(e)?(0,_j.createHeaders)(r):{};kr.composeHeaders=gj;function tx(e){if(!(0,ex.isAbsoluteUrl)(e))return!0;let r=`.${(0,ex.extractHost)(e)}`;return!!Ej.default.find(n=>r.endsWith(`.${n}`))}kr.isWixDomain=tx});var _p=_(fr=>{"use strict";o();Object.defineProperty(fr,"__esModule",{value:!0});fr.createHttpError=fr.HttpError=fr.axiosErrorFields=void 0;var xj=Qa();fr.axiosErrorFields=["code","config","request","response","toJSON","__CANCEL__"];var eo=class e extends Error{constructor(t){super(t.message),this.isWixHttpError=!0,Object.setPrototypeOf(this,e.prototype),fr.axiosErrorFields.forEach(r=>{this[r]=t[r]})}get requestId(){return(0,xj.requestIdOrEmptyString)(this.response)}};fr.HttpError=eo;function Sj(...e){return new eo(...e)}fr.createHttpError=Sj});var Ep=_((Que,rx)=>{"use strict";o();rx.exports=function(t,r){return function(){for(var n=new Array(arguments.length),s=0;s<n.length;s++)n[s]=arguments[s];return t.apply(r,n)}}});var nt=_((tpe,sx)=>{"use strict";o();var Oj=Ep(),gi=Object.prototype.toString;function xp(e){return gi.call(e)==="[object Array]"}function vp(e){return typeof e>"u"}function Aj(e){return e!==null&&!vp(e)&&e.constructor!==null&&!vp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Nj(e){return gi.call(e)==="[object ArrayBuffer]"}function Ij(e){return typeof FormData<"u"&&e instanceof FormData}function Rj(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function Tj(e){return typeof e=="string"}function bj(e){return typeof e=="number"}function ix(e){return e!==null&&typeof e=="object"}function to(e){if(gi.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function yj(e){return gi.call(e)==="[object Date]"}function Dj(e){return gi.call(e)==="[object File]"}function Cj(e){return gi.call(e)==="[object Blob]"}function nx(e){return gi.call(e)==="[object Function]"}function Pj(e){return ix(e)&&nx(e.pipe)}function wj(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function Lj(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Fj(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Sp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),xp(e))for(var r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function gp(){var e={};function t(n,s){to(e[s])&&to(n)?e[s]=gp(e[s],n):to(n)?e[s]=gp({},n):xp(n)?e[s]=n.slice():e[s]=n}for(var r=0,i=arguments.length;r<i;r++)Sp(arguments[r],t);return e}function Mj(e,t,r){return Sp(t,function(n,s){r&&typeof n=="function"?e[s]=Oj(n,r):e[s]=n}),e}function Uj(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}sx.exports={isArray:xp,isArrayBuffer:Nj,isBuffer:Aj,isFormData:Ij,isArrayBufferView:Rj,isString:Tj,isNumber:bj,isObject:ix,isPlainObject:to,isUndefined:vp,isDate:yj,isFile:Dj,isBlob:Cj,isFunction:nx,isStream:Pj,isURLSearchParams:wj,isStandardBrowserEnv:Fj,forEach:Sp,merge:gp,extend:Mj,trim:Lj,stripBOM:Uj}});var ro=_((ipe,ax)=>{"use strict";o();ax.exports=function(t,r,i,n,s){return t.config=r,i&&(t.code=i),t.request=n,t.response=s,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}});var io=_((spe,ox)=>{"use strict";o();var qj=ro();ox.exports=function(t,r,i,n,s){var a=new Error(t);return qj(a,r,i,n,s)}});var Op=_((ope,cx)=>{"use strict";o();var kj=io();cx.exports=function(t,r,i){var n=i.config.validateStatus;!i.status||!n||n(i.status)?t(i):r(kj("Request failed with status code "+i.status,i.config,null,i.request,i))}});var px=_((upe,ux)=>{"use strict";o();ux.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var dx=_((lpe,lx)=>{"use strict";o();lx.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var Ap=_((mpe,mx)=>{"use strict";o();var Gj=px(),Bj=dx();mx.exports=function(t,r){return t&&!Gj(r)?Bj(t,r):r}});var no=_((hpe,hx)=>{"use strict";o();var en=nt();function fx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}hx.exports=function(t,r,i){if(!r)return t;var n;if(i)n=i(r);else if(en.isURLSearchParams(r))n=r.toString();else{var s=[];en.forEach(r,function(u,p){u===null||typeof u>"u"||(en.isArray(u)?p=p+"[]":u=[u],en.forEach(u,function(f){en.isDate(f)?f=f.toISOString():en.isObject(f)&&(f=JSON.stringify(f)),s.push(fx(p)+"="+fx(f))}))}),n=s.join("&")}if(n){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t}});var Ex=_((Epe,_x)=>{"use strict";o();var tn=1e3,rn=tn*60,nn=rn*60,xi=nn*24,Hj=xi*7,Wj=xi*365.25;_x.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return jj(e);if(r==="number"&&isFinite(e))return t.long?Kj(e):Vj(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function jj(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*Wj;case"weeks":case"week":case"w":return r*Hj;case"days":case"day":case"d":return r*xi;case"hours":case"hour":case"hrs":case"hr":case"h":return r*nn;case"minutes":case"minute":case"mins":case"min":case"m":return r*rn;case"seconds":case"second":case"secs":case"sec":case"s":return r*tn;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Vj(e){var t=Math.abs(e);return t>=xi?Math.round(e/xi)+"d":t>=nn?Math.round(e/nn)+"h":t>=rn?Math.round(e/rn)+"m":t>=tn?Math.round(e/tn)+"s":e+"ms"}function Kj(e){var t=Math.abs(e);return t>=xi?so(e,t,xi,"day"):t>=nn?so(e,t,nn,"hour"):t>=rn?so(e,t,rn,"minute"):t>=tn?so(e,t,tn,"second"):e+" ms"}function so(e,t,r,i){var n=t>=r*1.5;return Math.round(e/r)+" "+i+(n?"s":"")}});var Np=_((gpe,vx)=>{"use strict";o();function Yj(e){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=n,r.enabled=a,r.humanize=Ex(),r.destroy=p,Object.keys(e).forEach(l=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function t(l){let f=0;for(let h=0;h<l.length;h++)f=(f<<5)-f+l.charCodeAt(h),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=t;function r(l){let f,h=null,E,x;function S(...R){if(!S.enabled)return;let b=S,q=Number(new Date),k=q-(f||q);b.diff=k,b.prev=f,b.curr=q,f=q,R[0]=r.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let j=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(X,K)=>{if(X==="%%")return"%";j++;let F=r.formatters[K];if(typeof F=="function"){let J=R[j];X=F.call(b,J),R.splice(j,1),j--}return X}),r.formatArgs.call(b,R),(b.log||r.log).apply(b,R)}return S.namespace=l,S.useColors=r.useColors(),S.color=r.selectColor(l),S.extend=i,S.destroy=r.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(E!==r.namespaces&&(E=r.namespaces,x=r.enabled(l)),x),set:R=>{h=R}}),typeof r.init=="function"&&r.init(S),S}function i(l,f){let h=r(this.namespace+(typeof f>"u"?":":f)+l);return h.log=this.log,h}function n(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let f,h=(typeof l=="string"?l:"").split(/[\s,]+/),E=h.length;for(f=0;f<E;f++)h[f]&&(l=h[f].replace(/\*/g,".*?"),l[0]==="-"?r.skips.push(new RegExp("^"+l.slice(1)+"$")):r.names.push(new RegExp("^"+l+"$")))}function s(){let l=[...r.names.map(c),...r.skips.map(c).map(f=>"-"+f)].join(",");return r.enable(""),l}function a(l){if(l[l.length-1]==="*")return!0;let f,h;for(f=0,h=r.skips.length;f<h;f++)if(r.skips[f].test(l))return!1;for(f=0,h=r.names.length;f<h;f++)if(r.names[f].test(l))return!0;return!1}function c(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function u(l){return l instanceof Error?l.stack||l.message:l}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}vx.exports=Yj});var gx=_((gt,ao)=>{"use strict";o();gt.formatArgs=zj;gt.save=Xj;gt.load=Jj;gt.useColors=$j;gt.storage=Zj();gt.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`."))}})();gt.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 $j(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function zj(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ao.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(i=r))}),e.splice(i,0,t)}gt.log=console.debug||console.log||(()=>{});function Xj(e){try{e?gt.storage.setItem("debug",e):gt.storage.removeItem("debug")}catch{}}function Jj(){let e;try{e=gt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Zj(){try{return localStorage}catch{}}ao.exports=Np()(gt);var{formatters:Qj}=ao.exports;Qj.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Sx=_((Fe,co)=>{"use strict";o();var eV=N("tty"),oo=N("util");Fe.init=oV;Fe.log=nV;Fe.formatArgs=rV;Fe.save=sV;Fe.load=aV;Fe.useColors=tV;Fe.destroy=oo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Fe.colors=[6,2,3,4,5,1];try{let e=PW();e&&(e.stderr||e).level>=2&&(Fe.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{}Fe.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[r]=i,e},{});function tV(){return"colors"in Fe.inspectOpts?!!Fe.inspectOpts.colors:eV.isatty(process.stderr.fd)}function rV(e){let{namespace:t,useColors:r}=this;if(r){let i=this.color,n="\x1B[3"+(i<8?i:"8;5;"+i),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(`
4
4
  `).join(`
5
5
  `+s),e.push(n+"m+"+co.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=iV()+t+" "+e[0]}function iV(){return Fe.inspectOpts.hideDate?"":new Date().toISOString()+" "}function nV(...e){return process.stderr.write(oo.formatWithOptions(Fe.inspectOpts,...e)+`
6
6
  `)}function sV(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function aV(){return process.env.DEBUG}function oV(e){e.inspectOpts={};let t=Object.keys(Fe.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Fe.inspectOpts[t[r]]}co.exports=Np()(Fe);var{formatters:xx}=co.exports;xx.o=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts).split(`
7
7
  `).map(t=>t.trim()).join(" ")};xx.O=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts)}});var Ox=_((Ape,Ip)=>{"use strict";o();typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ip.exports=gx():Ip.exports=Sx()});var Nx=_((Ipe,Ax)=>{"use strict";o();var Ss;Ax.exports=function(){if(!Ss){try{Ss=Ox()("follow-redirects")}catch{}typeof Ss!="function"&&(Ss=function(){})}Ss.apply(null,arguments)}});var qp=_((Tpe,Up)=>{"use strict";o();var Ns=N("url"),Os=Ns.URL,cV=N("http"),uV=N("https"),Dp=N("stream").Writable,Cp=N("assert"),Ix=Nx(),Pp=!1;try{Cp(new Os)}catch(e){Pp=e.code==="ERR_INVALID_URL"}var pV=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],wp=["abort","aborted","connect","error","socket","timeout"],Lp=Object.create(null);wp.forEach(function(e){Lp[e]=function(t,r,i){this._redirectable.emit(e,t,r,i)}});var Tp=Is("ERR_INVALID_URL","Invalid URL",TypeError),bp=Is("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),lV=Is("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",bp),dV=Is("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),mV=Is("ERR_STREAM_WRITE_AFTER_END","write after end"),fV=Dp.prototype.destroy||Tx;function pt(e,t){Dp.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(i){try{r._processResponse(i)}catch(n){r.emit("error",n instanceof bp?n:new bp({cause:n}))}},this._performRequest()}pt.prototype=Object.create(Dp.prototype);pt.prototype.abort=function(){Mp(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};pt.prototype.destroy=function(e){return Mp(this._currentRequest,e),fV.call(this,e),this};pt.prototype.write=function(e,t,r){if(this._ending)throw new mV;if(!Si(e)&&!EV(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(As(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 dV),this.abort())};pt.prototype.end=function(e,t,r){if(As(e)?(r=e,e=t=null):As(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var i=this,n=this._currentRequest;this.write(e,t,function(){i._ended=!0,n.end(null,null,r)}),this._ending=!0}};pt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};pt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};pt.prototype.setTimeout=function(e,t){var r=this;function i(a){a.setTimeout(e),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function n(a){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},e),i(a)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),r.removeListener("close",s),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",n)}return t&&this.on("timeout",t),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){pt.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(pt.prototype,e,{get:function(){return this._currentRequest[e]}})});pt.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))}};pt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of wp)i.on(n,Lp[n]);if(this._currentUrl=/^\//.test(this._options.path)?Ns.format(this._options):this._options.path,this._isRedirect){var s=0,a=this,c=this._requestBodyBuffers;(function u(p){if(i===a._currentRequest)if(p)a.emit("error",p);else if(s<c.length){var l=c[s++];i.finished||i.write(l.data,l.encoding,u)}else a._ended&&i.end()})()}};pt.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(Mp(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new lV;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Rp(/^content-/i,this._options.headers));var a=Rp(/^host$/i,this._options.headers),c=Fp(this._currentUrl),u=a||c.host,p=/^\w+:/.test(r)?this._currentUrl:Ns.format(Object.assign(c,{host:u})),l=hV(r,p);if(Ix("redirecting to",l.href),this._isRedirect=!0,yp(l,this._options),(l.protocol!==c.protocol&&l.protocol!=="https:"||l.host!==u&&!_V(l.host,u))&&Rp(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),As(n)){var f={headers:e.headers,statusCode:t},h={url:p,method:s,headers:i};n(this._options,f,h),this._sanitizeOptions(this._options)}this._performRequest()};function Rx(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(i){var n=i+":",s=r[n]=e[i],a=t[i]=Object.create(s);function c(p,l,f){return vV(p)?p=yp(p):Si(p)?p=yp(Fp(p)):(f=l,l=bx(p),p={protocol:n}),As(l)&&(f=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},p,l),l.nativeProtocols=r,!Si(l.host)&&!Si(l.hostname)&&(l.hostname="::1"),Cp.equal(l.protocol,n,"protocol mismatch"),Ix("options",l),new pt(l,f)}function u(p,l,f){var h=a.request(p,l,f);return h.end(),h}Object.defineProperties(a,{request:{value:c,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),t}function Tx(){}function Fp(e){var t;if(Pp)t=new Os(e);else if(t=bx(Ns.parse(e)),!Si(t.protocol))throw new Tp({input:e});return t}function hV(e,t){return Pp?new Os(e,t):Fp(Ns.resolve(t,e))}function bx(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Tp({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Tp({input:e.href||e});return e}function yp(e,t){var r=t||{};for(var i of pV)r[i]=e[i];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}function Rp(e,t){var r;for(var i in t)e.test(i)&&(r=t[i],delete t[i]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Is(e,t,r){function i(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(r||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Mp(e,t){for(var r of wp)e.removeListener(r,Lp[r]);e.on("error",Tx),e.destroy(t)}function _V(e,t){Cp(Si(e)&&Si(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function Si(e){return typeof e=="string"||e instanceof String}function As(e){return typeof e=="function"}function EV(e){return typeof e=="object"&&"length"in e}function vV(e){return Os&&e instanceof Os}Up.exports=Rx({http:cV,https:uV});Up.exports.wrap=Rx});var kp=_((ype,gV)=>{gV.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 po=_((Dpe,wx)=>{"use strict";o();var Rs=nt(),yx=Op(),xV=Ap(),SV=no(),OV=N("http"),AV=N("https"),NV=qp().http,IV=qp().https,Dx=N("url"),RV=N("zlib"),TV=kp(),uo=io(),Gp=ro(),Cx=/https:?/;function Px(e,t,r){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=r,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(s){s.headers.host=s.host,Px(s,t,s.href)}}wx.exports=function(t){return new Promise(function(i,n){var s=function(U){i(U)},a=function(U){n(U)},c=t.data,u=t.headers;if("User-Agent"in u||"user-agent"in u?!u["User-Agent"]&&!u["user-agent"]&&(delete u["User-Agent"],delete u["user-agent"]):u["User-Agent"]="axios/"+TV.version,c&&!Rs.isStream(c)){if(!Buffer.isBuffer(c))if(Rs.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(Rs.isString(c))c=Buffer.from(c,"utf-8");else return a(uo("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));u["Content-Length"]=c.length}var p=void 0;if(t.auth){var l=t.auth.username||"",f=t.auth.password||"";p=l+":"+f}var h=xV(t.baseURL,t.url),E=Dx.parse(h),x=E.protocol||"http:";if(!p&&E.auth){var S=E.auth.split(":"),R=S[0]||"",b=S[1]||"";p=R+":"+b}p&&delete u.Authorization;var q=Cx.test(x),k=q?t.httpsAgent:t.httpAgent,j={path:SV(E.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:u,agent:k,agents:{http:t.httpAgent,https:t.httpsAgent},auth:p};t.socketPath?j.socketPath=t.socketPath:(j.hostname=E.hostname,j.port=E.port);var M=t.proxy;if(!M&&M!==!1){var X=x.slice(0,-1)+"_proxy",K=process.env[X]||process.env[X.toUpperCase()];if(K){var F=Dx.parse(K),J=process.env.no_proxy||process.env.NO_PROXY,Ae=!0;if(J){var T=J.split(",").map(function(U){return U.trim()});Ae=!T.some(function(U){return U?U==="*"||U[0]==="."&&E.hostname.substr(E.hostname.length-U.length)===U?!0:E.hostname===U:!1})}if(Ae&&(M={host:F.hostname,port:F.port,protocol:F.protocol},F.auth)){var se=F.auth.split(":");M.auth={username:se[0],password:se[1]}}}}M&&(j.headers.host=E.hostname+(E.port?":"+E.port:""),Px(j,M,x+"//"+E.hostname+(E.port?":"+E.port:"")+j.path));var te,Bt=q&&(M?Cx.test(M.protocol):!0);t.transport?te=t.transport:t.maxRedirects===0?te=Bt?AV:OV:(t.maxRedirects&&(j.maxRedirects=t.maxRedirects),te=Bt?IV:NV),t.maxBodyLength>-1&&(j.maxBodyLength=t.maxBodyLength);var O=te.request(j,function(U){if(!O.aborted){var Pe=U,rt=U.req||O;if(U.statusCode!==204&&rt.method!=="HEAD"&&t.decompress!==!1)switch(U.headers["content-encoding"]){case"gzip":case"compress":case"deflate":Pe=Pe.pipe(RV.createUnzip()),delete U.headers["content-encoding"];break}var we={status:U.statusCode,statusText:U.statusMessage,headers:U.headers,config:t,request:rt};if(t.responseType==="stream")we.data=Pe,yx(s,a,we);else{var _i=[],Wa=0;Pe.on("data",function(Le){_i.push(Le),Wa+=Le.length,t.maxContentLength>-1&&Wa>t.maxContentLength&&(Pe.destroy(),a(uo("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,rt)))}),Pe.on("error",function(Le){O.aborted||a(Gp(Le,t,null,rt))}),Pe.on("end",function(){var Le=Buffer.concat(_i);t.responseType!=="arraybuffer"&&(Le=Le.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(Le=Rs.stripBOM(Le))),we.data=Le,yx(s,a,we)})}}});if(O.on("error",function(U){O.aborted&&U.code!=="ERR_FR_TOO_MANY_REDIRECTS"||a(Gp(U,t,null,O))}),t.timeout){var A=parseInt(t.timeout,10);if(isNaN(A)){a(uo("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",O));return}O.setTimeout(A,function(){O.abort(),a(uo("timeout of "+A+"ms exceeded",t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",O))})}t.cancelToken&&t.cancelToken.promise.then(function(U){O.aborted||(O.abort(),a(U))}),Rs.isStream(c)?c.on("error",function(U){a(Gp(U,t,null,O))}).pipe(O):O.end(c)})}});var Fx=_((Ppe,Lx)=>{"use strict";o();var bV=nt();function lo(){this.handlers=[]}lo.prototype.use=function(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};lo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};lo.prototype.forEach=function(t){bV.forEach(this.handlers,function(i){i!==null&&t(i)})};Lx.exports=lo});var Ux=_((Lpe,Mx)=>{"use strict";o();var yV=nt();Mx.exports=function(t,r){yV.forEach(t,function(n,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(t[r]=n,delete t[s])})}});var kx=_((Mpe,qx)=>{"use strict";o();var mo=nt();qx.exports=mo.isStandardBrowserEnv()?function(){return{write:function(r,i,n,s,a,c){var u=[];u.push(r+"="+encodeURIComponent(i)),mo.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),mo.isString(s)&&u.push("path="+s),mo.isString(a)&&u.push("domain="+a),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Bx=_((qpe,Gx)=>{"use strict";o();var Bp=nt(),DV=["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"];Gx.exports=function(t){var r={},i,n,s;return t&&Bp.forEach(t.split(`
8
- `),function(c){if(s=c.indexOf(":"),i=Bp.trim(c.substr(0,s)).toLowerCase(),n=Bp.trim(c.substr(s+1)),i){if(r[i]&&DV.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([n]):r[i]=r[i]?r[i]+", "+n:n}}),r}});var jx=_((Gpe,Wx)=>{"use strict";o();var Hx=nt();Wx.exports=Hx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function n(s){var a=s;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=n(window.location.href),function(a){var c=Hx.isString(a)?n(a):a;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}()});var Wp=_((Hpe,Vx)=>{"use strict";o();var fo=nt(),CV=Op(),PV=kx(),wV=no(),LV=Ap(),FV=Bx(),MV=jx(),Hp=io();Vx.exports=function(t){return new Promise(function(i,n){var s=t.data,a=t.headers,c=t.responseType;fo.isFormData(s)&&delete a["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",l=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(p+":"+l)}var f=LV(t.baseURL,t.url);u.open(t.method.toUpperCase(),wV(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function h(){if(u){var x="getAllResponseHeaders"in u?FV(u.getAllResponseHeaders()):null,S=!c||c==="text"||c==="json"?u.responseText:u.response,R={data:S,status:u.status,statusText:u.statusText,headers:x,config:t,request:u};CV(i,n,R),u=null}}if("onloadend"in u?u.onloadend=h:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(h)},u.onabort=function(){u&&(n(Hp("Request aborted",t,"ECONNABORTED",u)),u=null)},u.onerror=function(){n(Hp("Network Error",t,null,u)),u=null},u.ontimeout=function(){var S="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(S=t.timeoutErrorMessage),n(Hp(S,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},fo.isStandardBrowserEnv()){var E=(t.withCredentials||MV(f))&&t.xsrfCookieName?PV.read(t.xsrfCookieName):void 0;E&&(a[t.xsrfHeaderName]=E)}"setRequestHeader"in u&&fo.forEach(a,function(S,R){typeof s>"u"&&R.toLowerCase()==="content-type"?delete a[R]:u.setRequestHeader(R,S)}),fo.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),c&&c!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(S){u&&(u.abort(),n(S),u=null)}),s||(s=null),u.send(s)})}});var _o=_((jpe,$x)=>{"use strict";o();var Be=nt(),Kx=Ux(),UV=ro(),qV={"Content-Type":"application/x-www-form-urlencoded"};function Yx(e,t){!Be.isUndefined(e)&&Be.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function kV(){var e;return typeof XMLHttpRequest<"u"?e=Wp():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=po()),e}function GV(e,t,r){if(Be.isString(e))try{return(t||JSON.parse)(e),Be.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var ho={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:kV(),transformRequest:[function(t,r){return Kx(r,"Accept"),Kx(r,"Content-Type"),Be.isFormData(t)||Be.isArrayBuffer(t)||Be.isBuffer(t)||Be.isStream(t)||Be.isFile(t)||Be.isBlob(t)?t:Be.isArrayBufferView(t)?t.buffer:Be.isURLSearchParams(t)?(Yx(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Be.isObject(t)||r&&r["Content-Type"]==="application/json"?(Yx(r,"application/json"),GV(t)):t}],transformResponse:[function(t){var r=this.transitional,i=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||n&&Be.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?UV(a,this,"E_JSON_PARSE"):a}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};ho.headers={common:{Accept:"application/json, text/plain, */*"}};Be.forEach(["delete","get","head"],function(t){ho.headers[t]={}});Be.forEach(["post","put","patch"],function(t){ho.headers[t]=Be.merge(qV)});$x.exports=ho});var Xx=_((Kpe,zx)=>{"use strict";o();var BV=nt(),HV=_o();zx.exports=function(t,r,i){var n=this||HV;return BV.forEach(i,function(a){t=a.call(n,t,r)}),t}});var jp=_(($pe,Jx)=>{"use strict";o();Jx.exports=function(t){return!!(t&&t.__CANCEL__)}});var eS=_((Xpe,Qx)=>{"use strict";o();var Zx=nt(),Vp=Xx(),WV=jp(),jV=_o();function Kp(e){e.cancelToken&&e.cancelToken.throwIfRequested()}Qx.exports=function(t){Kp(t),t.headers=t.headers||{},t.data=Vp.call(t,t.data,t.headers,t.transformRequest),t.headers=Zx.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Zx.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]});var r=t.adapter||jV.adapter;return r(t).then(function(n){return Kp(t),n.data=Vp.call(t,n.data,n.headers,t.transformResponse),n},function(n){return WV(n)||(Kp(t),n&&n.response&&(n.response.data=Vp.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}});var Yp=_((Zpe,tS)=>{"use strict";o();var $e=nt();tS.exports=function(t,r){r=r||{};var i={},n=["url","method","data"],s=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(h,E){return $e.isPlainObject(h)&&$e.isPlainObject(E)?$e.merge(h,E):$e.isPlainObject(E)?$e.merge({},E):$e.isArray(E)?E.slice():E}function p(h){$e.isUndefined(r[h])?$e.isUndefined(t[h])||(i[h]=u(void 0,t[h])):i[h]=u(t[h],r[h])}$e.forEach(n,function(E){$e.isUndefined(r[E])||(i[E]=u(void 0,r[E]))}),$e.forEach(s,p),$e.forEach(a,function(E){$e.isUndefined(r[E])?$e.isUndefined(t[E])||(i[E]=u(void 0,t[E])):i[E]=u(void 0,r[E])}),$e.forEach(c,function(E){E in r?i[E]=u(t[E],r[E]):E in t&&(i[E]=u(void 0,t[E]))});var l=n.concat(s).concat(a).concat(c),f=Object.keys(t).concat(Object.keys(r)).filter(function(E){return l.indexOf(E)===-1});return $e.forEach(f,p),i}});var aS=_((ele,sS)=>{"use strict";o();var iS=kp(),$p={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){$p[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var rS={},VV=iS.version.split(".");function nS(e,t){for(var r=t?t.split("."):VV,i=e.split("."),n=0;n<3;n++){if(r[n]>i[n])return!0;if(r[n]<i[n])return!1}return!1}$p.transitional=function(t,r,i){var n=r&&nS(r);function s(a,c){return"[Axios v"+iS.version+"] Transitional option '"+a+"'"+c+(i?". "+i:"")}return function(a,c,u){if(t===!1)throw new Error(s(c," has been removed in "+r));return n&&!rS[c]&&(rS[c]=!0,console.warn(s(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,c,u):!0}};function KV(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),n=i.length;n-- >0;){var s=i[n],a=t[s];if(a){var c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new TypeError("option "+s+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+s)}}sS.exports={isOlderVersion:nS,assertOptions:KV,validators:$p}});var dS=_((rle,lS)=>{"use strict";o();var uS=nt(),YV=no(),oS=Fx(),cS=eS(),Eo=Yp(),pS=aS(),sn=pS.validators;function Ts(e){this.defaults=e,this.interceptors={request:new oS,response:new oS}}Ts.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Eo(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&&pS.assertOptions(r,{silentJSONParsing:sn.transitional(sn.boolean,"1.0.0"),forcedJSONParsing:sn.transitional(sn.boolean,"1.0.0"),clarifyTimeoutError:sn.transitional(sn.boolean,"1.0.0")},!1);var i=[],n=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(n=n&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var s=[];this.interceptors.response.forEach(function(h){s.push(h.fulfilled,h.rejected)});var a;if(!n){var c=[cS,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),a=Promise.resolve(t);c.length;)a=a.then(c.shift(),c.shift());return a}for(var u=t;i.length;){var p=i.shift(),l=i.shift();try{u=p(u)}catch(f){l(f);break}}try{a=cS(u)}catch(f){return Promise.reject(f)}for(;s.length;)a=a.then(s.shift(),s.shift());return a};Ts.prototype.getUri=function(t){return t=Eo(this.defaults,t),YV(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};uS.forEach(["delete","get","head","options"],function(t){Ts.prototype[t]=function(r,i){return this.request(Eo(i||{},{method:t,url:r,data:(i||{}).data}))}});uS.forEach(["post","put","patch"],function(t){Ts.prototype[t]=function(r,i,n){return this.request(Eo(n||{},{method:t,url:r,data:i}))}});lS.exports=Ts});var Xp=_((nle,mS)=>{"use strict";o();function zp(e){this.message=e}zp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};zp.prototype.__CANCEL__=!0;mS.exports=zp});var hS=_((ale,fS)=>{"use strict";o();var $V=Xp();function vo(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(n){t=n});var r=this;e(function(n){r.reason||(r.reason=new $V(n),t(r.reason))})}vo.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};vo.source=function(){var t,r=new vo(function(n){t=n});return{token:r,cancel:t}};fS.exports=vo});var ES=_((cle,_S)=>{"use strict";o();_S.exports=function(t){return function(i){return t.apply(null,i)}}});var gS=_((ple,vS)=>{"use strict";o();vS.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var OS=_((dle,Jp)=>{"use strict";o();var xS=nt(),zV=Ep(),go=dS(),XV=Yp(),JV=_o();function SS(e){var t=new go(e),r=zV(go.prototype.request,t);return xS.extend(r,go.prototype,t),xS.extend(r,t),r}var Wt=SS(JV);Wt.Axios=go;Wt.create=function(t){return SS(XV(Wt.defaults,t))};Wt.Cancel=Xp();Wt.CancelToken=hS();Wt.isCancel=jp();Wt.all=function(t){return Promise.all(t)};Wt.spread=ES();Wt.isAxiosError=gS();Jp.exports=Wt;Jp.exports.default=Wt});var NS=_((fle,AS)=>{"use strict";o();AS.exports=OS()});var IS=_(hr=>{"use strict";o();Object.defineProperty(hr,"__esModule",{value:!0});hr.getUrlHeaders=hr.buildAllHeaders=hr.buildOptions=void 0;var Zp=Es(),ZV=Qa(),an=Za(),QV=({requestOptions:e,urlObject:t,headers:r,globalConfig:i={httpMockServer:{enabled:!1}}})=>{let{url:n,params:s}=e;if(s&&typeof s!="object")throw new Error("Search params must be an object");let a=r2(n,i);return Object.assign(Object.assign(Object.assign({},e),a),{headers:r})};hr.buildOptions=QV;var e2=(e,t,r={httpMockServer:{enabled:!1}},i)=>{let{url:n,disableWixHeaders:s,headers:a}=e,c=(0,ZV.composeHeaders)({url:n,disableWixHeaders:s,wixHeadersOpts:t}),u=(0,hr.getUrlHeaders)(r,e,i);return Object.assign(Object.assign(Object.assign({},c),n2(a)),u)};hr.buildAllHeaders=e2;var t2=(e,t,r)=>{let{url:i,params:n}=t,{host:s,protocol:a}=r;return e.httpMockServer.enabled?{[Zp.ORIGINAL_URL_HEADER]:i2(i,n),[Zp.ORIGINAL_HOST_HEADER]:(0,an.isAbsoluteUrl)(i)?(0,an.extractHost)(i):s,[Zp.ORIGINAL_PROTOCOL_HEADER]:(0,an.isAbsoluteUrl)(i)?(0,an.extractProtocol)(i):a}:{}};hr.getUrlHeaders=t2;function r2(e,t){if(t.httpMockServer.enabled){let r=new URL(t.httpMockServer.mockServerUrl);return{url:(0,an.changeHost)(e,r.host)}}return{}}function i2(e,t){let{pathname:r,searchParams:i}=new URL(e,"http://unused.com");if(t=t||i,t){let n=(0,an.toSearchQueryParams)(t)||t.toString(),s=n?`?${n}`:"";return`${r}${s}`}return r}function n2(e){return e=e||{},Object.keys(e).reduce((r,i)=>Object.assign(Object.assign({},r),{[i.toLowerCase()]:e[i]}),{})}});var yS=_(cn=>{"use strict";o();Object.defineProperty(cn,"__esModule",{value:!0});cn.createHttpClient=cn.HttpClient=void 0;var TS=(Ya(),hs(Ka)),bs=TS.__importDefault(NS()),s2=TS.__importDefault(Wp()),Qp=Es(),bS=mp(),a2=_p(),RS=Qa(),xo=IS(),Zt=Za(),on=class{constructor(t={}){this.opts=t,this.opts=o2(this.opts),this.client=bs.default.create(this.opts),this.flags={sanitizerPocEnabled:l2()}}static isHttpError(t){return!!t?.isWixHttpError}async request(t,r){var i,n;let s=(0,Zt.resolveHost)(this.opts),c={protocol:(0,Zt.resolveProtocol)(this.opts),host:s},u=typeof t=="function"?t({isSSR:this.opts.isSSR,host:s}):t,p=r?.signedInstance||await((n=(i=this.opts).getAppToken)===null||n===void 0?void 0:n.call(i))||"",l=this.getHeaders(u,p,c),f=(0,xo.buildOptions)({requestOptions:u,urlObject:c,headers:l,globalConfig:(0,Zt.getGlobalConfig)()});this.opts.isSSR&&(f.baseURL=this.opts.baseURL?this.opts.baseURL:`${Qp.SSR_PROTOCOL}://${Qp.SSR_HOST}`);try{let h=await this.client.request(f).catch(E=>this.maybeFallbackRequest(E,u,c,p));return this.transformResponse(h,u)}catch(h){this.handleRequestError(h,f)}}async get(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"GET"});return this.request(i)}async delete(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"DELETE"});return this.request(i)}async head(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"HEAD"});return this.request(i)}async options(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"OPTIONS"});return this.request(i)}async post(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"POST"});return this.request(n)}async put(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PUT"});return this.request(n)}async patch(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PATCH"});return this.request(n)}get CancelToken(){return bs.default.CancelToken}get isCancel(){return bs.default.isCancel}getHeaders(t,r,i){if(typeof this.opts.createHeaders=="function")return this.getCustomHeaders(t,r,i);let n={signedInstance:r,artifactId:this.opts.artifactId,csrf:!1,multilingualOptions:this.opts.multilingualOptions};return(0,xo.buildAllHeaders)(t,n,(0,Zt.getGlobalConfig)(),i)}getCustomHeaders(t,r,i){let{url:n}=t,s=r&&(0,RS.isWixDomain)(n)?{authorization:r}:{},a=this.opts.createHeaders(),c=(0,xo.getUrlHeaders)((0,Zt.getGlobalConfig)(),t,i);return Object.assign(Object.assign(Object.assign({},c),a),s)}handleRequestError(t,r){let i=(0,a2.createHttpError)(t);throw(0,Zt.silent)(()=>{var n;return(n=r.onError)===null||n===void 0?void 0:n.call(r,i)}),i}maybeFallbackRequest(t,r,i,n){var s,a,c;if((0,Zt.isHttpMockServerEnabled)()&&(0,Zt.shouldAllowUnmocked)()&&((s=t.response)===null||s===void 0?void 0:s.status)===404&&((c=(a=t.response)===null||a===void 0?void 0:a.data)===null||c===void 0?void 0:c.msg)===Qp.NO_SCENARIO_FOUND){let p=this.getHeaders(r,n,i),l=(0,xo.buildOptions)({requestOptions:r,urlObject:i,headers:p});return this.client.request(l)}throw t}transformResponse(t,r){let i=(0,RS.requestIdOrEmptyString)(t),n=u2(t,r,this.flags);return Object.assign(Object.assign({},t),{data:n,requestId:i})}};cn.HttpClient=on;on.CancelToken=bs.default.CancelToken;on.isCancel=bs.default.isCancel;function o2(e){let t=e.adapter;return t||(t=s2.default,(0,bS.isNode)()&&(t=c2())),Object.assign({adapter:t,isSSR:!1},e)}function c2(){return typeof __webpack_require__=="function"?__non_webpack_require__("axios/lib/adapters/http"):po()}function u2(e,t,r){let i=p2(e,r);if(t._pickResponseBody&&(i=(0,Zt.extractProp)(e.data,t._pickResponseBody)),t._logs){let n=(0,Zt.extractProp)(e.data,t._logs);n?.length&&n.map(s=>console.log(...s))}return i}function p2(e,t){try{if(t.sanitizerPocEnabled){let r=performance.now(),i=new Sanitizer;if(e.headers["content-type"].includes("application/json")){console.log("[+] JSON Response detected, sanitizing data");let n=function(a){try{return Object.keys(a).forEach(c=>{typeof a[c]=="string"?a[c]=i.sanitizeFor("span",a[c]).innerHTML:typeof a[c]=="object"&&(a[c]=n(a[c]))}),a}catch(c){console.log(c)}},s=performance.now();return console.log(`Time taken: ${s-r} milliseconds.`),n(e.data)}}}catch(r){console.log("[+] Sanitizer API not supported: %o",r)}return e.data}function l2(){var e;try{return(0,bS.isBrowser)()&&new URLSearchParams(((e=window?.location)===null||e===void 0?void 0:e.hash)||"").get("sanitizerPOC")==="true"}catch{return!1}}function d2(...e){return new on(...e)}cn.createHttpClient=d2});var DS=_(un=>{"use strict";o();Object.defineProperty(un,"__esModule",{value:!0});un.HttpClient=un.createHttpClient=void 0;var m2=(Ya(),hs(Ka)),f2=m2.__importDefault(po()),h2=yS(),So=class extends h2.HttpClient{constructor(t={}){super(Object.assign({adapter:f2.default},t))}};un.HttpClient=So;function _2(...e){return new So(...e)}un.createHttpClient=_2});var PS=_(CS=>{"use strict";o();Object.defineProperty(CS,"__esModule",{value:!0})});var Oo=_(He=>{"use strict";o();Object.defineProperty(He,"__esModule",{value:!0});He.HttpClient=He.createHttpClient=He.HttpError=He.createHttpError=He.ORIGINAL_URL_HEADER=He.ORIGINAL_PROTOCOL_HEADER=He.ORIGINAL_HOST_HEADER=void 0;var E2=(Ya(),hs(Ka)),el=Es();Object.defineProperty(He,"ORIGINAL_HOST_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_HOST_HEADER}});Object.defineProperty(He,"ORIGINAL_PROTOCOL_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_PROTOCOL_HEADER}});Object.defineProperty(He,"ORIGINAL_URL_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_URL_HEADER}});var wS=_p();Object.defineProperty(He,"createHttpError",{enumerable:!0,get:function(){return wS.createHttpError}});Object.defineProperty(He,"HttpError",{enumerable:!0,get:function(){return wS.HttpError}});var LS=DS();Object.defineProperty(He,"createHttpClient",{enumerable:!0,get:function(){return LS.createHttpClient}});Object.defineProperty(He,"HttpClient",{enumerable:!0,get:function(){return LS.HttpClient}});E2.__exportStar(PS(),He)});var ys=_((Kle,BS)=>{"use strict";o();var b2="2.0.0",y2=Number.MAX_SAFE_INTEGER||9007199254740991,D2=16,C2=250,P2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];BS.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:D2,MAX_SAFE_BUILD_LENGTH:C2,MAX_SAFE_INTEGER:y2,RELEASE_TYPES:P2,SEMVER_SPEC_VERSION:b2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ds=_(($le,HS)=>{"use strict";o();var w2=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};HS.exports=w2});var ln=_((Er,WS)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:al,MAX_SAFE_BUILD_LENGTH:L2,MAX_LENGTH:F2}=ys(),M2=Ds();Er=WS.exports={};var U2=Er.re=[],q2=Er.safeRe=[],w=Er.src=[],L=Er.t={},k2=0,ol="[a-zA-Z0-9-]",G2=[["\\s",1],["\\d",F2],[ol,L2]],B2=e=>{for(let[t,r]of G2)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Y=(e,t,r)=>{let i=B2(t),n=k2++;M2(e,n,t),L[e]=n,w[n]=t,U2[n]=new RegExp(t,r?"g":void 0),q2[n]=new RegExp(i,r?"g":void 0)};Y("NUMERICIDENTIFIER","0|[1-9]\\d*");Y("NUMERICIDENTIFIERLOOSE","\\d+");Y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ol}*`);Y("MAINVERSION",`(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})`);Y("MAINVERSIONLOOSE",`(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})`);Y("PRERELEASEIDENTIFIER",`(?:${w[L.NUMERICIDENTIFIER]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASEIDENTIFIERLOOSE",`(?:${w[L.NUMERICIDENTIFIERLOOSE]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASE",`(?:-(${w[L.PRERELEASEIDENTIFIER]}(?:\\.${w[L.PRERELEASEIDENTIFIER]})*))`);Y("PRERELEASELOOSE",`(?:-?(${w[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${w[L.PRERELEASEIDENTIFIERLOOSE]})*))`);Y("BUILDIDENTIFIER",`${ol}+`);Y("BUILD",`(?:\\+(${w[L.BUILDIDENTIFIER]}(?:\\.${w[L.BUILDIDENTIFIER]})*))`);Y("FULLPLAIN",`v?${w[L.MAINVERSION]}${w[L.PRERELEASE]}?${w[L.BUILD]}?`);Y("FULL",`^${w[L.FULLPLAIN]}$`);Y("LOOSEPLAIN",`[v=\\s]*${w[L.MAINVERSIONLOOSE]}${w[L.PRERELEASELOOSE]}?${w[L.BUILD]}?`);Y("LOOSE",`^${w[L.LOOSEPLAIN]}$`);Y("GTLT","((?:<|>)?=?)");Y("XRANGEIDENTIFIERLOOSE",`${w[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Y("XRANGEIDENTIFIER",`${w[L.NUMERICIDENTIFIER]}|x|X|\\*`);Y("XRANGEPLAIN",`[v=\\s]*(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:${w[L.PRERELEASE]})?${w[L.BUILD]}?)?)?`);Y("XRANGEPLAINLOOSE",`[v=\\s]*(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:${w[L.PRERELEASELOOSE]})?${w[L.BUILD]}?)?)?`);Y("XRANGE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAIN]}$`);Y("XRANGELOOSE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAINLOOSE]}$`);Y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${al}})(?:\\.(\\d{1,${al}}))?(?:\\.(\\d{1,${al}}))?`);Y("COERCE",`${w[L.COERCEPLAIN]}(?:$|[^\\d])`);Y("COERCEFULL",w[L.COERCEPLAIN]+`(?:${w[L.PRERELEASE]})?(?:${w[L.BUILD]})?(?:$|[^\\d])`);Y("COERCERTL",w[L.COERCE],!0);Y("COERCERTLFULL",w[L.COERCEFULL],!0);Y("LONETILDE","(?:~>?)");Y("TILDETRIM",`(\\s*)${w[L.LONETILDE]}\\s+`,!0);Er.tildeTrimReplace="$1~";Y("TILDE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAIN]}$`);Y("TILDELOOSE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAINLOOSE]}$`);Y("LONECARET","(?:\\^)");Y("CARETTRIM",`(\\s*)${w[L.LONECARET]}\\s+`,!0);Er.caretTrimReplace="$1^";Y("CARET",`^${w[L.LONECARET]}${w[L.XRANGEPLAIN]}$`);Y("CARETLOOSE",`^${w[L.LONECARET]}${w[L.XRANGEPLAINLOOSE]}$`);Y("COMPARATORLOOSE",`^${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]})$|^$`);Y("COMPARATOR",`^${w[L.GTLT]}\\s*(${w[L.FULLPLAIN]})$|^$`);Y("COMPARATORTRIM",`(\\s*)${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]}|${w[L.XRANGEPLAIN]})`,!0);Er.comparatorTrimReplace="$1$2$3";Y("HYPHENRANGE",`^\\s*(${w[L.XRANGEPLAIN]})\\s+-\\s+(${w[L.XRANGEPLAIN]})\\s*$`);Y("HYPHENRANGELOOSE",`^\\s*(${w[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${w[L.XRANGEPLAINLOOSE]})\\s*$`);Y("STAR","(<|>)?=?\\s*\\*");Y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Io=_((Jle,jS)=>{"use strict";o();var H2=Object.freeze({loose:!0}),W2=Object.freeze({}),j2=e=>e?typeof e!="object"?H2:e:W2;jS.exports=j2});var cl=_((Qle,YS)=>{"use strict";o();var VS=/^[0-9]+$/,KS=(e,t)=>{let r=VS.test(e),i=VS.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},V2=(e,t)=>KS(t,e);YS.exports={compareIdentifiers:KS,rcompareIdentifiers:V2}});var ze=_((tde,JS)=>{"use strict";o();var Ro=Ds(),{MAX_LENGTH:$S,MAX_SAFE_INTEGER:To}=ys(),{safeRe:zS,t:XS}=ln(),K2=Io(),{compareIdentifiers:dn}=cl(),ul=class e{constructor(t,r){if(r=K2(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>$S)throw new TypeError(`version is longer than ${$S} characters`);Ro("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let i=t.trim().match(r.loose?zS[XS.LOOSE]:zS[XS.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>To||this.major<0)throw new TypeError("Invalid major version");if(this.minor>To||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>To||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s<To)return s}return n}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ro("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)),dn(this.major,t.major)||dn(this.minor,t.minor)||dn(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let i=this.prerelease[r],n=t.prerelease[r];if(Ro("prerelease compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return dn(i,n)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let i=this.build[r],n=t.build[r];if(Ro("build compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return dn(i,n)}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,i),this.inc("pre",r,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,i),this.inc("pre",r,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(i)?1:0;if(!r&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let s=[r,n];i===!1&&(s=[r]),dn(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};JS.exports=ul});var Oi=_((ide,QS)=>{"use strict";o();var ZS=ze(),Y2=(e,t,r=!1)=>{if(e instanceof ZS)return e;try{return new ZS(e,t)}catch(i){if(!r)return null;throw i}};QS.exports=Y2});var tO=_((sde,eO)=>{"use strict";o();var $2=Oi(),z2=(e,t)=>{let r=$2(e,t);return r?r.version:null};eO.exports=z2});var iO=_((ode,rO)=>{"use strict";o();var X2=Oi(),J2=(e,t)=>{let r=X2(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};rO.exports=J2});var aO=_((ude,sO)=>{"use strict";o();var nO=ze(),Z2=(e,t,r,i,n)=>{typeof r=="string"&&(n=i,i=r,r=void 0);try{return new nO(e instanceof nO?e.version:e,r).inc(t,i,n).version}catch{return null}};sO.exports=Z2});var uO=_((lde,cO)=>{"use strict";o();var oO=Oi(),Q2=(e,t)=>{let r=oO(e,null,!0),i=oO(t,null,!0),n=r.compare(i);if(n===0)return null;let s=n>0,a=s?r:i,c=s?i:r,u=!!a.prerelease.length;if(!!c.prerelease.length&&!u)return!c.patch&&!c.minor?"major":a.patch?"patch":a.minor?"minor":"major";let l=u?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"};cO.exports=Q2});var lO=_((mde,pO)=>{"use strict";o();var eK=ze(),tK=(e,t)=>new eK(e,t).major;pO.exports=tK});var mO=_((hde,dO)=>{"use strict";o();var rK=ze(),iK=(e,t)=>new rK(e,t).minor;dO.exports=iK});var hO=_((Ede,fO)=>{"use strict";o();var nK=ze(),sK=(e,t)=>new nK(e,t).patch;fO.exports=sK});var EO=_((gde,_O)=>{"use strict";o();var aK=Oi(),oK=(e,t)=>{let r=aK(e,t);return r&&r.prerelease.length?r.prerelease:null};_O.exports=oK});var Tt=_((Sde,gO)=>{"use strict";o();var vO=ze(),cK=(e,t,r)=>new vO(e,r).compare(new vO(t,r));gO.exports=cK});var SO=_((Ade,xO)=>{"use strict";o();var uK=Tt(),pK=(e,t,r)=>uK(t,e,r);xO.exports=pK});var AO=_((Ide,OO)=>{"use strict";o();var lK=Tt(),dK=(e,t)=>lK(e,t,!0);OO.exports=dK});var bo=_((Tde,IO)=>{"use strict";o();var NO=ze(),mK=(e,t,r)=>{let i=new NO(e,r),n=new NO(t,r);return i.compare(n)||i.compareBuild(n)};IO.exports=mK});var TO=_((yde,RO)=>{"use strict";o();var fK=bo(),hK=(e,t)=>e.sort((r,i)=>fK(r,i,t));RO.exports=hK});var yO=_((Cde,bO)=>{"use strict";o();var _K=bo(),EK=(e,t)=>e.sort((r,i)=>_K(i,r,t));bO.exports=EK});var Cs=_((wde,DO)=>{"use strict";o();var vK=Tt(),gK=(e,t,r)=>vK(e,t,r)>0;DO.exports=gK});var yo=_((Fde,CO)=>{"use strict";o();var xK=Tt(),SK=(e,t,r)=>xK(e,t,r)<0;CO.exports=SK});var pl=_((Ude,PO)=>{"use strict";o();var OK=Tt(),AK=(e,t,r)=>OK(e,t,r)===0;PO.exports=AK});var ll=_((kde,wO)=>{"use strict";o();var NK=Tt(),IK=(e,t,r)=>NK(e,t,r)!==0;wO.exports=IK});var Do=_((Bde,LO)=>{"use strict";o();var RK=Tt(),TK=(e,t,r)=>RK(e,t,r)>=0;LO.exports=TK});var Co=_((Wde,FO)=>{"use strict";o();var bK=Tt(),yK=(e,t,r)=>bK(e,t,r)<=0;FO.exports=yK});var dl=_((Vde,MO)=>{"use strict";o();var DK=pl(),CK=ll(),PK=Cs(),wK=Do(),LK=yo(),FK=Co(),MK=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return DK(e,r,i);case"!=":return CK(e,r,i);case">":return PK(e,r,i);case">=":return wK(e,r,i);case"<":return LK(e,r,i);case"<=":return FK(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}};MO.exports=MK});var qO=_((Yde,UO)=>{"use strict";o();var UK=ze(),qK=Oi(),{safeRe:Po,t:wo}=ln(),kK=(e,t)=>{if(e instanceof UK)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?Po[wo.COERCEFULL]:Po[wo.COERCE]);else{let u=t.includePrerelease?Po[wo.COERCERTLFULL]:Po[wo.COERCERTL],p;for(;(p=u.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||p.index+p[0].length!==r.index+r[0].length)&&(r=p),u.lastIndex=p.index+p[1].length+p[2].length;u.lastIndex=-1}if(r===null)return null;let i=r[2],n=r[3]||"0",s=r[4]||"0",a=t.includePrerelease&&r[5]?`-${r[5]}`:"",c=t.includePrerelease&&r[6]?`+${r[6]}`:"";return qK(`${i}.${n}.${s}${a}${c}`,t)};UO.exports=kK});var GO=_((zde,kO)=>{"use strict";o();var ml=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(t,r)}return this}};kO.exports=ml});var bt=_((Jde,jO)=>{"use strict";o();var GK=/\s+/g,fl=class e{constructor(t,r){if(r=HK(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof hl)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(GK," "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!HO(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&zK(n[0])){this.set=[n];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 i=0;i<r.length;i++)i>0&&(this.formatted+=" "),this.formatted+=r[i].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&YK)|(this.options.loose&&$K))+":"+t,n=BO.get(i);if(n)return n;let s=this.options.loose,a=s?lt[st.HYPHENRANGELOOSE]:lt[st.HYPHENRANGE];t=t.replace(a,sY(this.options.includePrerelease)),le("hyphen replace",t),t=t.replace(lt[st.COMPARATORTRIM],jK),le("comparator trim",t),t=t.replace(lt[st.TILDETRIM],VK),le("tilde trim",t),t=t.replace(lt[st.CARETTRIM],KK),le("caret trim",t);let c=t.split(" ").map(f=>XK(f,this.options)).join(" ").split(/\s+/).map(f=>nY(f,this.options));s&&(c=c.filter(f=>(le("loose invalid filter",f,this.options),!!f.match(lt[st.COMPARATORLOOSE])))),le("range list",c);let u=new Map,p=c.map(f=>new hl(f,this.options));for(let f of p){if(HO(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let l=[...u.values()];return BO.set(i,l),l}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(i=>WO(i,r)&&t.set.some(n=>WO(n,r)&&i.every(s=>n.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new WK(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(aY(this.set[r],t,this.options))return!0;return!1}};jO.exports=fl;var BK=GO(),BO=new BK,HK=Io(),hl=Ps(),le=Ds(),WK=ze(),{safeRe:lt,t:st,comparatorTrimReplace:jK,tildeTrimReplace:VK,caretTrimReplace:KK}=ln(),{FLAG_INCLUDE_PRERELEASE:YK,FLAG_LOOSE:$K}=ys(),HO=e=>e.value==="<0.0.0-0",zK=e=>e.value==="",WO=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},XK=(e,t)=>(le("comp",e,t),e=QK(e,t),le("caret",e),e=JK(e,t),le("tildes",e),e=tY(e,t),le("xrange",e),e=iY(e,t),le("stars",e),e),at=e=>!e||e.toLowerCase()==="x"||e==="*",JK=(e,t)=>e.trim().split(/\s+/).map(r=>ZK(r,t)).join(" "),ZK=(e,t)=>{let r=t.loose?lt[st.TILDELOOSE]:lt[st.TILDE];return e.replace(r,(i,n,s,a,c)=>{le("tilde",e,i,n,s,a,c);let u;return at(n)?u="":at(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:at(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:c?(le("replaceTilde pr",c),u=`>=${n}.${s}.${a}-${c} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,le("tilde return",u),u})},QK=(e,t)=>e.trim().split(/\s+/).map(r=>eY(r,t)).join(" "),eY=(e,t)=>{le("caret",e,t);let r=t.loose?lt[st.CARETLOOSE]:lt[st.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,c,u)=>{le("caret",e,n,s,a,c,u);let p;return at(s)?p="":at(a)?p=`>=${s}.0.0${i} <${+s+1}.0.0-0`:at(c)?s==="0"?p=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(le("replaceCaret pr",u),s==="0"?a==="0"?p=`>=${s}.${a}.${c}-${u} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}-${u} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c}-${u} <${+s+1}.0.0-0`):(le("no pr"),s==="0"?a==="0"?p=`>=${s}.${a}.${c}${i} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),le("caret return",p),p})},tY=(e,t)=>(le("replaceXRanges",e,t),e.split(/\s+/).map(r=>rY(r,t)).join(" ")),rY=(e,t)=>{e=e.trim();let r=t.loose?lt[st.XRANGELOOSE]:lt[st.XRANGE];return e.replace(r,(i,n,s,a,c,u)=>{le("xRange",e,i,n,s,a,c,u);let p=at(s),l=p||at(a),f=l||at(c),h=f;return n==="="&&h&&(n=""),u=t.includePrerelease?"-0":"",p?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&h?(l&&(a=0),c=0,n===">"?(n=">=",l?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",l?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${c}${u}`):l?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:f&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),le("xRange return",i),i})},iY=(e,t)=>(le("replaceStars",e,t),e.trim().replace(lt[st.STAR],"")),nY=(e,t)=>(le("replaceGTE0",e,t),e.trim().replace(lt[t.includePrerelease?st.GTE0PRE:st.GTE0],"")),sY=e=>(t,r,i,n,s,a,c,u,p,l,f,h)=>(at(i)?r="":at(n)?r=`>=${i}.0.0${e?"-0":""}`:at(s)?r=`>=${i}.${n}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,at(p)?u="":at(l)?u=`<${+p+1}.0.0-0`:at(f)?u=`<${p}.${+l+1}.0-0`:h?u=`<=${p}.${l}.${f}-${h}`:e?u=`<${p}.${l}.${+f+1}-0`:u=`<=${u}`,`${r} ${u}`.trim()),aY=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(le(e[i].semver),e[i].semver!==hl.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}});var Ps=_((Qde,XO)=>{"use strict";o();var ws=Symbol("SemVer ANY"),vl=class e{static get ANY(){return ws}constructor(t,r){if(r=VO(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),El("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===ws?this.value="":this.value=this.operator+this.semver.version,El("comp",this)}parse(t){let r=this.options.loose?KO[YO.COMPARATORLOOSE]:KO[YO.COMPARATOR],i=t.match(r);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new $O(i[2],this.options.loose):this.semver=ws}toString(){return this.value}test(t){if(El("Comparator.test",t,this.options.loose),this.semver===ws||t===ws)return!0;if(typeof t=="string")try{t=new $O(t,this.options)}catch{return!1}return _l(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 zO(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new zO(this.value,r).test(t.semver):(r=VO(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("=")||_l(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||_l(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};XO.exports=vl;var VO=Io(),{safeRe:KO,t:YO}=ln(),_l=dl(),El=Ds(),$O=ze(),zO=bt()});var Ls=_((tme,JO)=>{"use strict";o();var oY=bt(),cY=(e,t,r)=>{try{t=new oY(t,r)}catch{return!1}return t.test(e)};JO.exports=cY});var QO=_((ime,ZO)=>{"use strict";o();var uY=bt(),pY=(e,t)=>new uY(e,t).set.map(r=>r.map(i=>i.value).join(" ").trim().split(" "));ZO.exports=pY});var tA=_((sme,eA)=>{"use strict";o();var lY=ze(),dY=bt(),mY=(e,t,r)=>{let i=null,n=null,s=null;try{s=new dY(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===-1)&&(i=a,n=new lY(i,r))}),i};eA.exports=mY});var iA=_((ome,rA)=>{"use strict";o();var fY=ze(),hY=bt(),_Y=(e,t,r)=>{let i=null,n=null,s=null;try{s=new hY(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===1)&&(i=a,n=new fY(i,r))}),i};rA.exports=_Y});var aA=_((ume,sA)=>{"use strict";o();var gl=ze(),EY=bt(),nA=Cs(),vY=(e,t)=>{e=new EY(e,t);let r=new gl("0.0.0");if(e.test(r)||(r=new gl("0.0.0-0"),e.test(r)))return r;r=null;for(let i=0;i<e.set.length;++i){let n=e.set[i],s=null;n.forEach(a=>{let c=new gl(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||nA(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||nA(r,s))&&(r=s)}return r&&e.test(r)?r:null};sA.exports=vY});var cA=_((lme,oA)=>{"use strict";o();var gY=bt(),xY=(e,t)=>{try{return new gY(e,t).range||"*"}catch{return null}};oA.exports=xY});var Lo=_((mme,dA)=>{"use strict";o();var SY=ze(),lA=Ps(),{ANY:OY}=lA,AY=bt(),NY=Ls(),uA=Cs(),pA=yo(),IY=Co(),RY=Do(),TY=(e,t,r,i)=>{e=new SY(e,i),t=new AY(t,i);let n,s,a,c,u;switch(r){case">":n=uA,s=IY,a=pA,c=">",u=">=";break;case"<":n=pA,s=RY,a=uA,c="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(NY(e,t,i))return!1;for(let p=0;p<t.set.length;++p){let l=t.set[p],f=null,h=null;if(l.forEach(E=>{E.semver===OY&&(E=new lA(">=0.0.0")),f=f||E,h=h||E,n(E.semver,f.semver,i)?f=E:a(E.semver,h.semver,i)&&(h=E)}),f.operator===c||f.operator===u||(!h.operator||h.operator===c)&&s(e,h.semver))return!1;if(h.operator===u&&a(e,h.semver))return!1}return!0};dA.exports=TY});var fA=_((hme,mA)=>{"use strict";o();var bY=Lo(),yY=(e,t,r)=>bY(e,t,">",r);mA.exports=yY});var _A=_((Eme,hA)=>{"use strict";o();var DY=Lo(),CY=(e,t,r)=>DY(e,t,"<",r);hA.exports=CY});var gA=_((gme,vA)=>{"use strict";o();var EA=bt(),PY=(e,t,r)=>(e=new EA(e,r),t=new EA(t,r),e.intersects(t,r));vA.exports=PY});var SA=_((Sme,xA)=>{"use strict";o();var wY=Ls(),LY=Tt();xA.exports=(e,t,r)=>{let i=[],n=null,s=null,a=e.sort((l,f)=>LY(l,f,r));for(let l of a)wY(l,t,r)?(s=l,n||(n=l)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let c=[];for(let[l,f]of i)l===f?c.push(l):!f&&l===a[0]?c.push("*"):f?l===a[0]?c.push(`<=${f}`):c.push(`${l} - ${f}`):c.push(`>=${l}`);let u=c.join(" || "),p=typeof t.raw=="string"?t.raw:String(t);return u.length<p.length?u:t}});var TA=_((Ame,RA)=>{"use strict";o();var OA=bt(),Sl=Ps(),{ANY:xl}=Sl,Fs=Ls(),Ol=Tt(),FY=(e,t,r={})=>{if(e===t)return!0;e=new OA(e,r),t=new OA(t,r);let i=!1;e:for(let n of e.set){for(let s of t.set){let a=UY(n,s,r);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},MY=[new Sl(">=0.0.0-0")],AA=[new Sl(">=0.0.0")],UY=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===xl){if(t.length===1&&t[0].semver===xl)return!0;r.includePrerelease?e=MY:e=AA}if(t.length===1&&t[0].semver===xl){if(r.includePrerelease)return!0;t=AA}let i=new Set,n,s;for(let E of e)E.operator===">"||E.operator===">="?n=NA(n,E,r):E.operator==="<"||E.operator==="<="?s=IA(s,E,r):i.add(E.semver);if(i.size>1)return null;let a;if(n&&s){if(a=Ol(n.semver,s.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let E of i){if(n&&!Fs(E,String(n),r)||s&&!Fs(E,String(s),r))return null;for(let x of t)if(!Fs(E,String(x),r))return!1;return!0}let c,u,p,l,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let E of t){if(l=l||E.operator===">"||E.operator===">=",p=p||E.operator==="<"||E.operator==="<=",n){if(h&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===h.major&&E.semver.minor===h.minor&&E.semver.patch===h.patch&&(h=!1),E.operator===">"||E.operator===">="){if(c=NA(n,E,r),c===E&&c!==n)return!1}else if(n.operator===">="&&!Fs(n.semver,String(E),r))return!1}if(s){if(f&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===f.major&&E.semver.minor===f.minor&&E.semver.patch===f.patch&&(f=!1),E.operator==="<"||E.operator==="<="){if(u=IA(s,E,r),u===E&&u!==s)return!1}else if(s.operator==="<="&&!Fs(s.semver,String(E),r))return!1}if(!E.operator&&(s||n)&&a!==0)return!1}return!(n&&p&&!s&&a!==0||s&&l&&!n&&a!==0||h||f)},NA=(e,t,r)=>{if(!e)return t;let i=Ol(e.semver,t.semver,r);return i>0?e:i<0||t.operator===">"&&e.operator===">="?t:e},IA=(e,t,r)=>{if(!e)return t;let i=Ol(e.semver,t.semver,r);return i<0?e:i>0||t.operator==="<"&&e.operator==="<="?t:e};RA.exports=FY});var CA=_((Ime,DA)=>{"use strict";o();var Al=ln(),bA=ys(),qY=ze(),yA=cl(),kY=Oi(),GY=tO(),BY=iO(),HY=aO(),WY=uO(),jY=lO(),VY=mO(),KY=hO(),YY=EO(),$Y=Tt(),zY=SO(),XY=AO(),JY=bo(),ZY=TO(),QY=yO(),e3=Cs(),t3=yo(),r3=pl(),i3=ll(),n3=Do(),s3=Co(),a3=dl(),o3=qO(),c3=Ps(),u3=bt(),p3=Ls(),l3=QO(),d3=tA(),m3=iA(),f3=aA(),h3=cA(),_3=Lo(),E3=fA(),v3=_A(),g3=gA(),x3=SA(),S3=TA();DA.exports={parse:kY,valid:GY,clean:BY,inc:HY,diff:WY,major:jY,minor:VY,patch:KY,prerelease:YY,compare:$Y,rcompare:zY,compareLoose:XY,compareBuild:JY,sort:ZY,rsort:QY,gt:e3,lt:t3,eq:r3,neq:i3,gte:n3,lte:s3,cmp:a3,coerce:o3,Comparator:c3,Range:u3,satisfies:p3,toComparators:l3,maxSatisfying:d3,minSatisfying:m3,minVersion:f3,validRange:h3,outside:_3,gtr:E3,ltr:v3,intersects:g3,simplifyRange:x3,subset:S3,SemVer:qY,re:Al.re,src:Al.src,tokens:Al.t,SEMVER_SPEC_VERSION:bA.SEMVER_SPEC_VERSION,RELEASE_TYPES:bA.RELEASE_TYPES,compareIdentifiers:yA.compareIdentifiers,rcompareIdentifiers:yA.rcompareIdentifiers}});var mn=_((Tme,wA)=>{"use strict";o();var PA=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);wA.exports=e=>e?Object.keys(e).map(t=>[PA.has(t)?PA.get(t):t,e[t]]).reduce((t,r)=>(t[r[0]]=r[1],t),Object.create(null)):{}});var Bo=_(WA=>{"use strict";o();var LA=typeof process=="object"&&process?process:{stdout:null,stderr:null},O3=N("events"),FA=N("stream"),A3=N("string_decoder"),MA=A3.StringDecoder,vr=Symbol("EOF"),gr=Symbol("maybeEmitEnd"),Hr=Symbol("emittedEnd"),Fo=Symbol("emittingEnd"),Ms=Symbol("emittedError"),Mo=Symbol("closed"),UA=Symbol("read"),Uo=Symbol("flush"),qA=Symbol("flushChunk"),dt=Symbol("encoding"),xr=Symbol("decoder"),qo=Symbol("flowing"),Us=Symbol("paused"),fn=Symbol("resume"),xe=Symbol("buffer"),Qt=Symbol("pipes"),Me=Symbol("bufferLength"),Nl=Symbol("bufferPush"),Il=Symbol("bufferShift"),We=Symbol("objectMode"),Se=Symbol("destroyed"),Rl=Symbol("error"),Tl=Symbol("emitData"),kA=Symbol("emitEnd"),bl=Symbol("emitEnd2"),Sr=Symbol("async"),yl=Symbol("abort"),ko=Symbol("aborted"),Ai=Symbol("signal"),qs=e=>Promise.resolve().then(e),HA=global._MP_NO_ITERATOR_SYMBOLS_!=="1",GA=HA&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),BA=HA&&Symbol.iterator||Symbol("iterator not implemented"),N3=e=>e==="end"||e==="finish"||e==="prefinish",I3=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,R3=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),Go=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[fn](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Dl=class extends Go{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}},Cl=class e extends FA{constructor(t){super(),this[qo]=!1,this[Us]=!1,this[Qt]=[],this[xe]=[],this[We]=t&&t.objectMode||!1,this[We]?this[dt]=null:this[dt]=t&&t.encoding||null,this[dt]==="buffer"&&(this[dt]=null),this[Sr]=t&&!!t.async||!1,this[xr]=this[dt]?new MA(this[dt]):null,this[vr]=!1,this[Hr]=!1,this[Fo]=!1,this[Mo]=!1,this[Ms]=null,this.writable=!0,this.readable=!0,this[Me]=0,this[Se]=!1,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[xe]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Qt]}),this[Ai]=t&&t.signal,this[ko]=!1,this[Ai]&&(this[Ai].addEventListener("abort",()=>this[yl]()),this[Ai].aborted&&this[yl]())}get bufferLength(){return this[Me]}get encoding(){return this[dt]}set encoding(t){if(this[We])throw new Error("cannot set encoding in objectMode");if(this[dt]&&t!==this[dt]&&(this[xr]&&this[xr].lastNeed||this[Me]))throw new Error("cannot change encoding");this[dt]!==t&&(this[xr]=t?new MA(t):null,this[xe].length&&(this[xe]=this[xe].map(r=>this[xr].write(r)))),this[dt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[We]}set objectMode(t){this[We]=this[We]||!!t}get async(){return this[Sr]}set async(t){this[Sr]=this[Sr]||!!t}[yl](){this[ko]=!0,this.emit("abort",this[Ai].reason),this.destroy(this[Ai].reason)}get aborted(){return this[ko]}set aborted(t){}write(t,r,i){if(this[ko])return!1;if(this[vr])throw new Error("write after end");if(this[Se])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Sr]?qs:s=>s();return!this[We]&&!Buffer.isBuffer(t)&&(R3(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):I3(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[We]?(this.flowing&&this[Me]!==0&&this[Uo](!0),this.flowing?this.emit("data",t):this[Nl](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[dt]&&!this[xr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[dt]&&(t=this[xr].write(t)),this.flowing&&this[Me]!==0&&this[Uo](!0),this.flowing?this.emit("data",t):this[Nl](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[Se])return null;if(this[Me]===0||t===0||t>this[Me])return this[gr](),null;this[We]&&(t=null),this[xe].length>1&&!this[We]&&(this.encoding?this[xe]=[this[xe].join("")]:this[xe]=[Buffer.concat(this[xe],this[Me])]);let r=this[UA](t||null,this[xe][0]);return this[gr](),r}[UA](t,r){return t===r.length||t===null?this[Il]():(this[xe][0]=r.slice(t),r=r.slice(0,t),this[Me]-=t),this.emit("data",r),!this[xe].length&&!this[vr]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[vr]=!0,this.writable=!1,(this.flowing||!this[Us])&&this[gr](),this}[fn](){this[Se]||(this[Us]=!1,this[qo]=!0,this.emit("resume"),this[xe].length?this[Uo]():this[vr]?this[gr]():this.emit("drain"))}resume(){return this[fn]()}pause(){this[qo]=!1,this[Us]=!0}get destroyed(){return this[Se]}get flowing(){return this[qo]}get paused(){return this[Us]}[Nl](t){this[We]?this[Me]+=1:this[Me]+=t.length,this[xe].push(t)}[Il](){return this[We]?this[Me]-=1:this[Me]-=this[xe][0].length,this[xe].shift()}[Uo](t){do;while(this[qA](this[Il]())&&this[xe].length);!t&&!this[xe].length&&!this[vr]&&this.emit("drain")}[qA](t){return this.emit("data",t),this.flowing}pipe(t,r){if(this[Se])return;let i=this[Hr];return r=r||{},t===LA.stdout||t===LA.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this[Qt].push(r.proxyErrors?new Dl(this,t,r):new Go(this,t,r)),this[Sr]?qs(()=>this[fn]()):this[fn]()),t}unpipe(t){let r=this[Qt].find(i=>i.dest===t);r&&(this[Qt].splice(this[Qt].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this[Qt].length&&!this.flowing?this[fn]():t==="readable"&&this[Me]!==0?super.emit("readable"):N3(t)&&this[Hr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[Ms]&&(this[Sr]?qs(()=>r.call(this,this[Ms])):r.call(this,this[Ms])),i}get emittedEnd(){return this[Hr]}[gr](){!this[Fo]&&!this[Hr]&&!this[Se]&&this[xe].length===0&&this[vr]&&(this[Fo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Mo]&&this.emit("close"),this[Fo]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==Se&&this[Se])return;if(t==="data")return!this[We]&&!r?!1:this[Sr]?qs(()=>this[Tl](r)):this[Tl](r);if(t==="end")return this[kA]();if(t==="close"){if(this[Mo]=!0,!this[Hr]&&!this[Se])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Ms]=r,super.emit(Rl,r);let s=!this[Ai]||this.listeners("error").length?super.emit("error",r):!1;return this[gr](),s}else if(t==="resume"){let s=super.emit("resume");return this[gr](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[gr](),n}[Tl](t){for(let i of this[Qt])i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[gr](),r}[kA](){this[Hr]||(this[Hr]=!0,this.readable=!1,this[Sr]?qs(()=>this[bl]()):this[bl]())}[bl](){if(this[xr]){let r=this[xr].end();if(r){for(let i of this[Qt])i.dest.write(r);super.emit("data",r)}}for(let r of this[Qt])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[We]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[We]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[We]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[We]?Promise.reject(new Error("cannot concat in objectMode")):this[dt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Se,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[GA](){let t=!1,r=()=>(this.pause(),t=!0,Promise.resolve({done:!0}));return{next:()=>{if(t)return r();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[vr])return r();let s=null,a=null,c=f=>{this.removeListener("data",u),this.removeListener("end",p),this.removeListener(Se,l),r(),a(f)},u=f=>{this.removeListener("error",c),this.removeListener("end",p),this.removeListener(Se,l),this.pause(),s({value:f,done:!!this[vr]})},p=()=>{this.removeListener("error",c),this.removeListener("data",u),this.removeListener(Se,l),r(),s({done:!0})},l=()=>c(new Error("stream destroyed"));return new Promise((f,h)=>{a=h,s=f,this.once(Se,l),this.once("error",c),this.once("end",p),this.once("data",u)})},throw:r,return:r,[GA](){return this}}}[BA](){let t=!1,r=()=>(this.pause(),this.removeListener(Rl,r),this.removeListener(Se,r),this.removeListener("end",r),t=!0,{done:!0}),i=()=>{if(t)return r();let n=this.read();return n===null?r():{value:n}};return this.once("end",r),this.once(Rl,r),this.once(Se,r),{next:i,throw:r,return:r,[BA](){return this}}}destroy(t){return this[Se]?(t?this.emit("error",t):this.emit(Se),this):(this[Se]=!0,this[xe].length=0,this[Me]=0,typeof this.close=="function"&&!this[Mo]&&this.close(),t?this.emit("error",t):this.emit(Se),this)}static isStream(t){return!!t&&(t instanceof e||t instanceof FA||t instanceof O3&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}};WA.Minipass=Cl});var VA=_((Cme,jA)=>{"use strict";o();var T3=N("zlib").constants||{ZLIB_VERNUM:4736};jA.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},T3))});var Ul=_((wme,eN)=>{"use strict";o();var KA=typeof process=="object"&&process?process:{stdout:null,stderr:null},b3=N("events"),YA=N("stream"),$A=N("string_decoder").StringDecoder,Or=Symbol("EOF"),Ar=Symbol("maybeEmitEnd"),Wr=Symbol("emittedEnd"),Ho=Symbol("emittingEnd"),ks=Symbol("emittedError"),Wo=Symbol("closed"),zA=Symbol("read"),jo=Symbol("flush"),XA=Symbol("flushChunk"),mt=Symbol("encoding"),Nr=Symbol("decoder"),Vo=Symbol("flowing"),Gs=Symbol("paused"),hn=Symbol("resume"),Ue=Symbol("bufferLength"),Pl=Symbol("bufferPush"),wl=Symbol("bufferShift"),Xe=Symbol("objectMode"),Je=Symbol("destroyed"),Ll=Symbol("emitData"),JA=Symbol("emitEnd"),Fl=Symbol("emitEnd2"),Ir=Symbol("async"),Bs=e=>Promise.resolve().then(e),ZA=global._MP_NO_ITERATOR_SYMBOLS_!=="1",y3=ZA&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),D3=ZA&&Symbol.iterator||Symbol("iterator not implemented"),C3=e=>e==="end"||e==="finish"||e==="prefinish",P3=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,w3=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),Ko=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[hn](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Ml=class extends Ko{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}};eN.exports=class QA extends YA{constructor(t){super(),this[Vo]=!1,this[Gs]=!1,this.pipes=[],this.buffer=[],this[Xe]=t&&t.objectMode||!1,this[Xe]?this[mt]=null:this[mt]=t&&t.encoding||null,this[mt]==="buffer"&&(this[mt]=null),this[Ir]=t&&!!t.async||!1,this[Nr]=this[mt]?new $A(this[mt]):null,this[Or]=!1,this[Wr]=!1,this[Ho]=!1,this[Wo]=!1,this[ks]=null,this.writable=!0,this.readable=!0,this[Ue]=0,this[Je]=!1}get bufferLength(){return this[Ue]}get encoding(){return this[mt]}set encoding(t){if(this[Xe])throw new Error("cannot set encoding in objectMode");if(this[mt]&&t!==this[mt]&&(this[Nr]&&this[Nr].lastNeed||this[Ue]))throw new Error("cannot change encoding");this[mt]!==t&&(this[Nr]=t?new $A(t):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[Nr].write(r)))),this[mt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[Xe]}set objectMode(t){this[Xe]=this[Xe]||!!t}get async(){return this[Ir]}set async(t){this[Ir]=this[Ir]||!!t}write(t,r,i){if(this[Or])throw new Error("write after end");if(this[Je])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Ir]?Bs:s=>s();return!this[Xe]&&!Buffer.isBuffer(t)&&(w3(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):P3(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[Xe]?(this.flowing&&this[Ue]!==0&&this[jo](!0),this.flowing?this.emit("data",t):this[Pl](t),this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[mt]&&!this[Nr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[mt]&&(t=this[Nr].write(t)),this.flowing&&this[Ue]!==0&&this[jo](!0),this.flowing?this.emit("data",t):this[Pl](t),this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[Je])return null;if(this[Ue]===0||t===0||t>this[Ue])return this[Ar](),null;this[Xe]&&(t=null),this.buffer.length>1&&!this[Xe]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Ue])]);let r=this[zA](t||null,this.buffer[0]);return this[Ar](),r}[zA](t,r){return t===r.length||t===null?this[wl]():(this.buffer[0]=r.slice(t),r=r.slice(0,t),this[Ue]-=t),this.emit("data",r),!this.buffer.length&&!this[Or]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[Or]=!0,this.writable=!1,(this.flowing||!this[Gs])&&this[Ar](),this}[hn](){this[Je]||(this[Gs]=!1,this[Vo]=!0,this.emit("resume"),this.buffer.length?this[jo]():this[Or]?this[Ar]():this.emit("drain"))}resume(){return this[hn]()}pause(){this[Vo]=!1,this[Gs]=!0}get destroyed(){return this[Je]}get flowing(){return this[Vo]}get paused(){return this[Gs]}[Pl](t){this[Xe]?this[Ue]+=1:this[Ue]+=t.length,this.buffer.push(t)}[wl](){return this.buffer.length&&(this[Xe]?this[Ue]-=1:this[Ue]-=this.buffer[0].length),this.buffer.shift()}[jo](t){do;while(this[XA](this[wl]()));!t&&!this.buffer.length&&!this[Or]&&this.emit("drain")}[XA](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[Je])return;let i=this[Wr];return r=r||{},t===KA.stdout||t===KA.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this.pipes.push(r.proxyErrors?new Ml(this,t,r):new Ko(this,t,r)),this[Ir]?Bs(()=>this[hn]()):this[hn]()),t}unpipe(t){let r=this.pipes.find(i=>i.dest===t);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this.pipes.length&&!this.flowing?this[hn]():t==="readable"&&this[Ue]!==0?super.emit("readable"):C3(t)&&this[Wr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[ks]&&(this[Ir]?Bs(()=>r.call(this,this[ks])):r.call(this,this[ks])),i}get emittedEnd(){return this[Wr]}[Ar](){!this[Ho]&&!this[Wr]&&!this[Je]&&this.buffer.length===0&&this[Or]&&(this[Ho]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Wo]&&this.emit("close"),this[Ho]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==Je&&this[Je])return;if(t==="data")return r?this[Ir]?Bs(()=>this[Ll](r)):this[Ll](r):!1;if(t==="end")return this[JA]();if(t==="close"){if(this[Wo]=!0,!this[Wr]&&!this[Je])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[ks]=r;let s=super.emit("error",r);return this[Ar](),s}else if(t==="resume"){let s=super.emit("resume");return this[Ar](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[Ar](),n}[Ll](t){for(let i of this.pipes)i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[Ar](),r}[JA](){this[Wr]||(this[Wr]=!0,this.readable=!1,this[Ir]?Bs(()=>this[Fl]()):this[Fl]())}[Fl](){if(this[Nr]){let r=this[Nr].end();if(r){for(let i of this.pipes)i.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[Xe]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[Xe]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[Xe]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[Xe]?Promise.reject(new Error("cannot concat in objectMode")):this[mt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Je,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[y3](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[Or])return Promise.resolve({done:!0});let i=null,n=null,s=p=>{this.removeListener("data",a),this.removeListener("end",c),n(p)},a=p=>{this.removeListener("error",s),this.removeListener("end",c),this.pause(),i({value:p,done:!!this[Or]})},c=()=>{this.removeListener("error",s),this.removeListener("data",a),i({done:!0})},u=()=>s(new Error("stream destroyed"));return new Promise((p,l)=>{n=l,i=p,this.once(Je,u),this.once("error",s),this.once("end",c),this.once("data",a)})}}}[D3](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[Je]?(t?this.emit("error",t):this.emit(Je),this):(this[Je]=!0,this.buffer.length=0,this[Ue]=0,typeof this.close=="function"&&!this[Wo]&&this.close(),t?this.emit("error",t):this.emit(Je),this)}static isStream(t){return!!t&&(t instanceof QA||t instanceof YA||t instanceof b3&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var Ql=_(xt=>{"use strict";o();var Hl=N("assert"),jr=N("buffer").Buffer,iN=N("zlib"),Ni=xt.constants=VA(),L3=Ul(),tN=jr.concat,Ii=Symbol("_superWrite"),En=class extends Error{constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},F3=Symbol("opts"),Hs=Symbol("flushFlag"),rN=Symbol("finishFlushFlag"),Zl=Symbol("fullFlushFlag"),ce=Symbol("handle"),Yo=Symbol("onError"),_n=Symbol("sawError"),ql=Symbol("level"),kl=Symbol("strategy"),Gl=Symbol("ended"),Fme=Symbol("_defaultFullFlush"),$o=class extends L3{constructor(t,r){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this[_n]=!1,this[Gl]=!1,this[F3]=t,this[Hs]=t.flush,this[rN]=t.finishFlush;try{this[ce]=new iN[r](t)}catch(i){throw new En(i)}this[Yo]=i=>{this[_n]||(this[_n]=!0,this.close(),this.emit("error",i))},this[ce].on("error",i=>this[Yo](new En(i))),this.once("end",()=>this.close)}close(){this[ce]&&(this[ce].close(),this[ce]=null,this.emit("close"))}reset(){if(!this[_n])return Hl(this[ce],"zlib binding closed"),this[ce].reset()}flush(t){this.ended||(typeof t!="number"&&(t=this[Zl]),this.write(Object.assign(jr.alloc(0),{[Hs]:t})))}end(t,r,i){return t&&this.write(t,r),this.flush(this[rN]),this[Gl]=!0,super.end(null,null,i)}get ended(){return this[Gl]}write(t,r,i){if(typeof r=="function"&&(i=r,r="utf8"),typeof t=="string"&&(t=jr.from(t,r)),this[_n])return;Hl(this[ce],"zlib binding closed");let n=this[ce]._handle,s=n.close;n.close=()=>{};let a=this[ce].close;this[ce].close=()=>{},jr.concat=p=>p;let c;try{let p=typeof t[Hs]=="number"?t[Hs]:this[Hs];c=this[ce]._processChunk(t,p),jr.concat=tN}catch(p){jr.concat=tN,this[Yo](new En(p))}finally{this[ce]&&(this[ce]._handle=n,n.close=s,this[ce].close=a,this[ce].removeAllListeners("error"))}this[ce]&&this[ce].on("error",p=>this[Yo](new En(p)));let u;if(c)if(Array.isArray(c)&&c.length>0){u=this[Ii](jr.from(c[0]));for(let p=1;p<c.length;p++)u=this[Ii](c[p])}else u=this[Ii](jr.from(c));return i&&i(),u}[Ii](t){return super.write(t)}},Rr=class extends $o{constructor(t,r){t=t||{},t.flush=t.flush||Ni.Z_NO_FLUSH,t.finishFlush=t.finishFlush||Ni.Z_FINISH,super(t,r),this[Zl]=Ni.Z_FULL_FLUSH,this[ql]=t.level,this[kl]=t.strategy}params(t,r){if(!this[_n]){if(!this[ce])throw new Error("cannot switch params when binding is closed");if(!this[ce].params)throw new Error("not supported in this implementation");if(this[ql]!==t||this[kl]!==r){this.flush(Ni.Z_SYNC_FLUSH),Hl(this[ce],"zlib binding closed");let i=this[ce].flush;this[ce].flush=(n,s)=>{this.flush(n),s()};try{this[ce].params(t,r)}finally{this[ce].flush=i}this[ce]&&(this[ql]=t,this[kl]=r)}}}},Wl=class extends Rr{constructor(t){super(t,"Deflate")}},jl=class extends Rr{constructor(t){super(t,"Inflate")}},Bl=Symbol("_portable"),Vl=class extends Rr{constructor(t){super(t,"Gzip"),this[Bl]=t&&!!t.portable}[Ii](t){return this[Bl]?(this[Bl]=!1,t[9]=255,super[Ii](t)):super[Ii](t)}},Kl=class extends Rr{constructor(t){super(t,"Gunzip")}},Yl=class extends Rr{constructor(t){super(t,"DeflateRaw")}},$l=class extends Rr{constructor(t){super(t,"InflateRaw")}},zl=class extends Rr{constructor(t){super(t,"Unzip")}},zo=class extends $o{constructor(t,r){t=t||{},t.flush=t.flush||Ni.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||Ni.BROTLI_OPERATION_FINISH,super(t,r),this[Zl]=Ni.BROTLI_OPERATION_FLUSH}},Xl=class extends zo{constructor(t){super(t,"BrotliCompress")}},Jl=class extends zo{constructor(t){super(t,"BrotliDecompress")}};xt.Deflate=Wl;xt.Inflate=jl;xt.Gzip=Vl;xt.Gunzip=Kl;xt.DeflateRaw=Yl;xt.InflateRaw=$l;xt.Unzip=zl;typeof iN.BrotliCompress=="function"?(xt.BrotliCompress=Xl,xt.BrotliDecompress=Jl):xt.BrotliCompress=xt.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var vn=_((kme,nN)=>{"use strict";o();var M3=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;nN.exports=M3!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/")});var Xo=_((Hme,sN)=>{"use strict";o();var{Minipass:U3}=Bo(),ed=vn(),td=Symbol("slurp");sN.exports=class extends U3{constructor(t,r,i){switch(super(),this.pause(),this.extended=r,this.globalExtended=i,this.header=t,this.startBlockSize=512*Math.ceil(t.size/512),this.blockRemain=this.startBlockSize,this.remain=t.size,this.type=t.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=ed(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=t.size,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=ed(t.linkpath),this.uname=t.uname,this.gname=t.gname,r&&this[td](r),i&&this[td](i,!0)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let i=this.remain,n=this.blockRemain;return this.remain=Math.max(0,i-r),this.blockRemain=Math.max(0,n-r),this.ignore?!0:i>=r?super.write(t):super.write(t.slice(0,i))}[td](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=i==="path"||i==="linkpath"?ed(t[i]):t[i])}}});var rd=_(Jo=>{"use strict";o();Jo.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Jo.code=new Map(Array.from(Jo.name).map(e=>[e[1],e[0]]))});var uN=_((Kme,cN)=>{"use strict";o();var q3=(e,t)=>{if(Number.isSafeInteger(e))e<0?G3(e,t):k3(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},k3=(e,t)=>{t[0]=128;for(var r=t.length;r>1;r--)t[r-1]=e&255,e=Math.floor(e/256)},G3=(e,t)=>{t[0]=255;var r=!1;e=e*-1;for(var i=t.length;i>1;i--){var n=e&255;e=Math.floor(e/256),r?t[i-1]=aN(n):n===0?t[i-1]=0:(r=!0,t[i-1]=oN(n))}},B3=e=>{let t=e[0],r=t===128?W3(e.slice(1,e.length)):t===255?H3(e):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},H3=e=>{for(var t=e.length,r=0,i=!1,n=t-1;n>-1;n--){var s=e[n],a;i?a=aN(s):s===0?a=s:(i=!0,a=oN(s)),a!==0&&(r-=a*Math.pow(256,t-n-1))}return r},W3=e=>{for(var t=e.length,r=0,i=t-1;i>-1;i--){var n=e[i];n!==0&&(r+=n*Math.pow(256,t-i-1))}return r},aN=e=>(255^e)&255,oN=e=>(255^e)+1&255;cN.exports={encode:q3,parse:B3}});var xn=_(($me,lN)=>{"use strict";o();var id=rd(),gn=N("path").posix,pN=uN(),nd=Symbol("slurp"),St=Symbol("type"),od=class{constructor(t,r,i,n){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[St]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(t)?this.decode(t,r||0,i,n):t&&this.set(t)}decode(t,r,i,n){if(r||(r=0),!t||!(t.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=Ri(t,r,100),this.mode=Vr(t,r+100,8),this.uid=Vr(t,r+108,8),this.gid=Vr(t,r+116,8),this.size=Vr(t,r+124,12),this.mtime=sd(t,r+136,12),this.cksum=Vr(t,r+148,12),this[nd](i),this[nd](n,!0),this[St]=Ri(t,r+156,1),this[St]===""&&(this[St]="0"),this[St]==="0"&&this.path.slice(-1)==="/"&&(this[St]="5"),this[St]==="5"&&(this.size=0),this.linkpath=Ri(t,r+157,100),t.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=Ri(t,r+265,32),this.gname=Ri(t,r+297,32),this.devmaj=Vr(t,r+329,8),this.devmin=Vr(t,r+337,8),t[r+475]!==0){let a=Ri(t,r+345,155);this.path=a+"/"+this.path}else{let a=Ri(t,r+345,130);a&&(this.path=a+"/"+this.path),this.atime=sd(t,r+476,12),this.ctime=sd(t,r+488,12)}let s=8*32;for(let a=r;a<r+148;a++)s+=t[a];for(let a=r+156;a<r+512;a++)s+=t[a];this.cksumValid=s===this.cksum,this.cksum===null&&s===8*32&&(this.nullBlock=!0)}[nd](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=t[i])}encode(t,r){if(t||(t=this.block=Buffer.alloc(512),r=0),r||(r=0),!(t.length>=r+512))throw new Error("need 512 bytes for header");let i=this.ctime||this.atime?130:155,n=j3(this.path||"",i),s=n[0],a=n[1];this.needPax=n[2],this.needPax=Ti(t,r,100,s)||this.needPax,this.needPax=Kr(t,r+100,8,this.mode)||this.needPax,this.needPax=Kr(t,r+108,8,this.uid)||this.needPax,this.needPax=Kr(t,r+116,8,this.gid)||this.needPax,this.needPax=Kr(t,r+124,12,this.size)||this.needPax,this.needPax=ad(t,r+136,12,this.mtime)||this.needPax,t[r+156]=this[St].charCodeAt(0),this.needPax=Ti(t,r+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",r+257,8),this.needPax=Ti(t,r+265,32,this.uname)||this.needPax,this.needPax=Ti(t,r+297,32,this.gname)||this.needPax,this.needPax=Kr(t,r+329,8,this.devmaj)||this.needPax,this.needPax=Kr(t,r+337,8,this.devmin)||this.needPax,this.needPax=Ti(t,r+345,i,a)||this.needPax,t[r+475]!==0?this.needPax=Ti(t,r+345,155,a)||this.needPax:(this.needPax=Ti(t,r+345,130,a)||this.needPax,this.needPax=ad(t,r+476,12,this.atime)||this.needPax,this.needPax=ad(t,r+488,12,this.ctime)||this.needPax);let c=8*32;for(let u=r;u<r+148;u++)c+=t[u];for(let u=r+156;u<r+512;u++)c+=t[u];return this.cksum=c,Kr(t,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(t){for(let r in t)t[r]!==null&&t[r]!==void 0&&(this[r]=t[r])}get type(){return id.name.get(this[St])||this[St]}get typeKey(){return this[St]}set type(t){id.code.has(t)?this[St]=id.code.get(t):this[St]=t}},j3=(e,t)=>{let i=e,n="",s,a=gn.parse(e).root||".";if(Buffer.byteLength(i)<100)s=[i,n,!1];else{n=gn.dirname(i),i=gn.basename(i);do Buffer.byteLength(i)<=100&&Buffer.byteLength(n)<=t?s=[i,n,!1]:Buffer.byteLength(i)>100&&Buffer.byteLength(n)<=t?s=[i.slice(0,99),n,!0]:(i=gn.join(gn.basename(n),i),n=gn.dirname(n));while(n!==a&&!s);s||(s=[e.slice(0,99),"",!0])}return s},Ri=(e,t,r)=>e.slice(t,t+r).toString("utf8").replace(/\0.*/,""),sd=(e,t,r)=>V3(Vr(e,t,r)),V3=e=>e===null?null:new Date(e*1e3),Vr=(e,t,r)=>e[t]&128?pN.parse(e.slice(t,t+r)):Y3(e,t,r),K3=e=>isNaN(e)?null:e,Y3=(e,t,r)=>K3(parseInt(e.slice(t,t+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),$3={12:8589934591,8:2097151},Kr=(e,t,r,i)=>i===null?!1:i>$3[r]||i<0?(pN.encode(i,e.slice(t,t+r)),!0):(z3(e,t,r,i),!1),z3=(e,t,r,i)=>e.write(X3(i,r),t,r,"ascii"),X3=(e,t)=>J3(Math.floor(e).toString(8),t),J3=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",ad=(e,t,r,i)=>i===null?!1:Kr(e,t,r,i.getTime()/1e3),Z3=new Array(156).join("\0"),Ti=(e,t,r,i)=>i===null?!1:(e.write(i+Z3,t,r,"utf8"),i.length!==Buffer.byteLength(i)||i.length>r);lN.exports=od});var Zo=_((Xme,dN)=>{"use strict";o();var Q3=xn(),e$=N("path"),Ws=class{constructor(t,r){this.atime=t.atime||null,this.charset=t.charset||null,this.comment=t.comment||null,this.ctime=t.ctime||null,this.gid=t.gid||null,this.gname=t.gname||null,this.linkpath=t.linkpath||null,this.mtime=t.mtime||null,this.path=t.path||null,this.size=t.size||null,this.uid=t.uid||null,this.uname=t.uname||null,this.dev=t.dev||null,this.ino=t.ino||null,this.nlink=t.nlink||null,this.global=r||!1}encode(){let t=this.encodeBody();if(t==="")return null;let r=Buffer.byteLength(t),i=512*Math.ceil(1+r/512),n=Buffer.allocUnsafe(i);for(let s=0;s<512;s++)n[s]=0;new Q3({path:("PaxHeader/"+e$.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(n),n.write(t,512,r,"utf8");for(let s=r+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===null||this[t]===void 0)return"";let r=this[t]instanceof Date?this[t].getTime()/1e3:this[t],i=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+`
8
+ `),function(c){if(s=c.indexOf(":"),i=Bp.trim(c.substr(0,s)).toLowerCase(),n=Bp.trim(c.substr(s+1)),i){if(r[i]&&DV.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([n]):r[i]=r[i]?r[i]+", "+n:n}}),r}});var jx=_((Gpe,Wx)=>{"use strict";o();var Hx=nt();Wx.exports=Hx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function n(s){var a=s;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=n(window.location.href),function(a){var c=Hx.isString(a)?n(a):a;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}()});var Wp=_((Hpe,Vx)=>{"use strict";o();var fo=nt(),CV=Op(),PV=kx(),wV=no(),LV=Ap(),FV=Bx(),MV=jx(),Hp=io();Vx.exports=function(t){return new Promise(function(i,n){var s=t.data,a=t.headers,c=t.responseType;fo.isFormData(s)&&delete a["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",l=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(p+":"+l)}var f=LV(t.baseURL,t.url);u.open(t.method.toUpperCase(),wV(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function h(){if(u){var x="getAllResponseHeaders"in u?FV(u.getAllResponseHeaders()):null,S=!c||c==="text"||c==="json"?u.responseText:u.response,R={data:S,status:u.status,statusText:u.statusText,headers:x,config:t,request:u};CV(i,n,R),u=null}}if("onloadend"in u?u.onloadend=h:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(h)},u.onabort=function(){u&&(n(Hp("Request aborted",t,"ECONNABORTED",u)),u=null)},u.onerror=function(){n(Hp("Network Error",t,null,u)),u=null},u.ontimeout=function(){var S="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(S=t.timeoutErrorMessage),n(Hp(S,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",u)),u=null},fo.isStandardBrowserEnv()){var E=(t.withCredentials||MV(f))&&t.xsrfCookieName?PV.read(t.xsrfCookieName):void 0;E&&(a[t.xsrfHeaderName]=E)}"setRequestHeader"in u&&fo.forEach(a,function(S,R){typeof s>"u"&&R.toLowerCase()==="content-type"?delete a[R]:u.setRequestHeader(R,S)}),fo.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),c&&c!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(S){u&&(u.abort(),n(S),u=null)}),s||(s=null),u.send(s)})}});var _o=_((jpe,$x)=>{"use strict";o();var Be=nt(),Kx=Ux(),UV=ro(),qV={"Content-Type":"application/x-www-form-urlencoded"};function Yx(e,t){!Be.isUndefined(e)&&Be.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function kV(){var e;return typeof XMLHttpRequest<"u"?e=Wp():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=po()),e}function GV(e,t,r){if(Be.isString(e))try{return(t||JSON.parse)(e),Be.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var ho={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:kV(),transformRequest:[function(t,r){return Kx(r,"Accept"),Kx(r,"Content-Type"),Be.isFormData(t)||Be.isArrayBuffer(t)||Be.isBuffer(t)||Be.isStream(t)||Be.isFile(t)||Be.isBlob(t)?t:Be.isArrayBufferView(t)?t.buffer:Be.isURLSearchParams(t)?(Yx(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Be.isObject(t)||r&&r["Content-Type"]==="application/json"?(Yx(r,"application/json"),GV(t)):t}],transformResponse:[function(t){var r=this.transitional,i=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||n&&Be.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?UV(a,this,"E_JSON_PARSE"):a}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};ho.headers={common:{Accept:"application/json, text/plain, */*"}};Be.forEach(["delete","get","head"],function(t){ho.headers[t]={}});Be.forEach(["post","put","patch"],function(t){ho.headers[t]=Be.merge(qV)});$x.exports=ho});var Xx=_((Kpe,zx)=>{"use strict";o();var BV=nt(),HV=_o();zx.exports=function(t,r,i){var n=this||HV;return BV.forEach(i,function(a){t=a.call(n,t,r)}),t}});var jp=_(($pe,Jx)=>{"use strict";o();Jx.exports=function(t){return!!(t&&t.__CANCEL__)}});var eS=_((Xpe,Qx)=>{"use strict";o();var Zx=nt(),Vp=Xx(),WV=jp(),jV=_o();function Kp(e){e.cancelToken&&e.cancelToken.throwIfRequested()}Qx.exports=function(t){Kp(t),t.headers=t.headers||{},t.data=Vp.call(t,t.data,t.headers,t.transformRequest),t.headers=Zx.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Zx.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]});var r=t.adapter||jV.adapter;return r(t).then(function(n){return Kp(t),n.data=Vp.call(t,n.data,n.headers,t.transformResponse),n},function(n){return WV(n)||(Kp(t),n&&n.response&&(n.response.data=Vp.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}});var Yp=_((Zpe,tS)=>{"use strict";o();var $e=nt();tS.exports=function(t,r){r=r||{};var i={},n=["url","method","data"],s=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(h,E){return $e.isPlainObject(h)&&$e.isPlainObject(E)?$e.merge(h,E):$e.isPlainObject(E)?$e.merge({},E):$e.isArray(E)?E.slice():E}function p(h){$e.isUndefined(r[h])?$e.isUndefined(t[h])||(i[h]=u(void 0,t[h])):i[h]=u(t[h],r[h])}$e.forEach(n,function(E){$e.isUndefined(r[E])||(i[E]=u(void 0,r[E]))}),$e.forEach(s,p),$e.forEach(a,function(E){$e.isUndefined(r[E])?$e.isUndefined(t[E])||(i[E]=u(void 0,t[E])):i[E]=u(void 0,r[E])}),$e.forEach(c,function(E){E in r?i[E]=u(t[E],r[E]):E in t&&(i[E]=u(void 0,t[E]))});var l=n.concat(s).concat(a).concat(c),f=Object.keys(t).concat(Object.keys(r)).filter(function(E){return l.indexOf(E)===-1});return $e.forEach(f,p),i}});var aS=_((ele,sS)=>{"use strict";o();var iS=kp(),$p={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){$p[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var rS={},VV=iS.version.split(".");function nS(e,t){for(var r=t?t.split("."):VV,i=e.split("."),n=0;n<3;n++){if(r[n]>i[n])return!0;if(r[n]<i[n])return!1}return!1}$p.transitional=function(t,r,i){var n=r&&nS(r);function s(a,c){return"[Axios v"+iS.version+"] Transitional option '"+a+"'"+c+(i?". "+i:"")}return function(a,c,u){if(t===!1)throw new Error(s(c," has been removed in "+r));return n&&!rS[c]&&(rS[c]=!0,console.warn(s(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,c,u):!0}};function KV(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),n=i.length;n-- >0;){var s=i[n],a=t[s];if(a){var c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new TypeError("option "+s+" must be "+u);continue}if(r!==!0)throw Error("Unknown option "+s)}}sS.exports={isOlderVersion:nS,assertOptions:KV,validators:$p}});var dS=_((rle,lS)=>{"use strict";o();var uS=nt(),YV=no(),oS=Fx(),cS=eS(),Eo=Yp(),pS=aS(),sn=pS.validators;function Ts(e){this.defaults=e,this.interceptors={request:new oS,response:new oS}}Ts.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Eo(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&&pS.assertOptions(r,{silentJSONParsing:sn.transitional(sn.boolean,"1.0.0"),forcedJSONParsing:sn.transitional(sn.boolean,"1.0.0"),clarifyTimeoutError:sn.transitional(sn.boolean,"1.0.0")},!1);var i=[],n=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(t)===!1||(n=n&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var s=[];this.interceptors.response.forEach(function(h){s.push(h.fulfilled,h.rejected)});var a;if(!n){var c=[cS,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),a=Promise.resolve(t);c.length;)a=a.then(c.shift(),c.shift());return a}for(var u=t;i.length;){var p=i.shift(),l=i.shift();try{u=p(u)}catch(f){l(f);break}}try{a=cS(u)}catch(f){return Promise.reject(f)}for(;s.length;)a=a.then(s.shift(),s.shift());return a};Ts.prototype.getUri=function(t){return t=Eo(this.defaults,t),YV(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};uS.forEach(["delete","get","head","options"],function(t){Ts.prototype[t]=function(r,i){return this.request(Eo(i||{},{method:t,url:r,data:(i||{}).data}))}});uS.forEach(["post","put","patch"],function(t){Ts.prototype[t]=function(r,i,n){return this.request(Eo(n||{},{method:t,url:r,data:i}))}});lS.exports=Ts});var Xp=_((nle,mS)=>{"use strict";o();function zp(e){this.message=e}zp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};zp.prototype.__CANCEL__=!0;mS.exports=zp});var hS=_((ale,fS)=>{"use strict";o();var $V=Xp();function vo(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(n){t=n});var r=this;e(function(n){r.reason||(r.reason=new $V(n),t(r.reason))})}vo.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};vo.source=function(){var t,r=new vo(function(n){t=n});return{token:r,cancel:t}};fS.exports=vo});var ES=_((cle,_S)=>{"use strict";o();_S.exports=function(t){return function(i){return t.apply(null,i)}}});var gS=_((ple,vS)=>{"use strict";o();vS.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var OS=_((dle,Jp)=>{"use strict";o();var xS=nt(),zV=Ep(),go=dS(),XV=Yp(),JV=_o();function SS(e){var t=new go(e),r=zV(go.prototype.request,t);return xS.extend(r,go.prototype,t),xS.extend(r,t),r}var Wt=SS(JV);Wt.Axios=go;Wt.create=function(t){return SS(XV(Wt.defaults,t))};Wt.Cancel=Xp();Wt.CancelToken=hS();Wt.isCancel=jp();Wt.all=function(t){return Promise.all(t)};Wt.spread=ES();Wt.isAxiosError=gS();Jp.exports=Wt;Jp.exports.default=Wt});var NS=_((fle,AS)=>{"use strict";o();AS.exports=OS()});var IS=_(hr=>{"use strict";o();Object.defineProperty(hr,"__esModule",{value:!0});hr.getUrlHeaders=hr.buildAllHeaders=hr.buildOptions=void 0;var Zp=Es(),ZV=Qa(),an=Za(),QV=({requestOptions:e,urlObject:t,headers:r,globalConfig:i={httpMockServer:{enabled:!1}}})=>{let{url:n,params:s}=e;if(s&&typeof s!="object")throw new Error("Search params must be an object");let a=r2(n,i);return Object.assign(Object.assign(Object.assign({},e),a),{headers:r})};hr.buildOptions=QV;var e2=(e,t,r={httpMockServer:{enabled:!1}},i)=>{let{url:n,disableWixHeaders:s,headers:a}=e,c=(0,ZV.composeHeaders)({url:n,disableWixHeaders:s,wixHeadersOpts:t}),u=(0,hr.getUrlHeaders)(r,e,i);return Object.assign(Object.assign(Object.assign({},c),n2(a)),u)};hr.buildAllHeaders=e2;var t2=(e,t,r)=>{let{url:i,params:n}=t,{host:s,protocol:a}=r;return e.httpMockServer.enabled?{[Zp.ORIGINAL_URL_HEADER]:i2(i,n),[Zp.ORIGINAL_HOST_HEADER]:(0,an.isAbsoluteUrl)(i)?(0,an.extractHost)(i):s,[Zp.ORIGINAL_PROTOCOL_HEADER]:(0,an.isAbsoluteUrl)(i)?(0,an.extractProtocol)(i):a}:{}};hr.getUrlHeaders=t2;function r2(e,t){if(t.httpMockServer.enabled){let r=new URL(t.httpMockServer.mockServerUrl);return{url:(0,an.changeHost)(e,r.host)}}return{}}function i2(e,t){let{pathname:r,searchParams:i}=new URL(e,"http://unused.com");if(t=t||i,t){let n=(0,an.toSearchQueryParams)(t)||t.toString(),s=n?`?${n}`:"";return`${r}${s}`}return r}function n2(e){return e=e||{},Object.keys(e).reduce((r,i)=>Object.assign(Object.assign({},r),{[i.toLowerCase()]:e[i]}),{})}});var yS=_(cn=>{"use strict";o();Object.defineProperty(cn,"__esModule",{value:!0});cn.createHttpClient=cn.HttpClient=void 0;var TS=(Ya(),hs(Ka)),bs=TS.__importDefault(NS()),s2=TS.__importDefault(Wp()),Qp=Es(),bS=mp(),a2=_p(),RS=Qa(),xo=IS(),Zt=Za(),on=class{constructor(t={}){this.opts=t,this.opts=o2(this.opts),this.client=bs.default.create(this.opts),this.flags={sanitizerPocEnabled:l2()}}static isHttpError(t){return!!t?.isWixHttpError}async request(t,r){var i,n;let s=(0,Zt.resolveHost)(this.opts),c={protocol:(0,Zt.resolveProtocol)(this.opts),host:s},u=typeof t=="function"?t({isSSR:this.opts.isSSR,host:s}):t,p=r?.signedInstance||await((n=(i=this.opts).getAppToken)===null||n===void 0?void 0:n.call(i))||"",l=this.getHeaders(u,p,c),f=(0,xo.buildOptions)({requestOptions:u,urlObject:c,headers:l,globalConfig:(0,Zt.getGlobalConfig)()});this.opts.isSSR&&(f.baseURL=this.opts.baseURL?this.opts.baseURL:`${Qp.SSR_PROTOCOL}://${Qp.SSR_HOST}`);try{let h=await this.client.request(f).catch(E=>this.maybeFallbackRequest(E,u,c,p));return this.transformResponse(h,u)}catch(h){this.handleRequestError(h,f)}}async get(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"GET"});return this.request(i)}async delete(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"DELETE"});return this.request(i)}async head(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"HEAD"});return this.request(i)}async options(t,r){let i=Object.assign(Object.assign({},r),{url:t,method:"OPTIONS"});return this.request(i)}async post(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"POST"});return this.request(n)}async put(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PUT"});return this.request(n)}async patch(t,r,i){let n=Object.assign(Object.assign({},i),{url:t,data:r,method:"PATCH"});return this.request(n)}get CancelToken(){return bs.default.CancelToken}get isCancel(){return bs.default.isCancel}getHeaders(t,r,i){if(typeof this.opts.createHeaders=="function")return this.getCustomHeaders(t,r,i);let n={signedInstance:r,artifactId:this.opts.artifactId,csrf:!1,multilingualOptions:this.opts.multilingualOptions};return(0,xo.buildAllHeaders)(t,n,(0,Zt.getGlobalConfig)(),i)}getCustomHeaders(t,r,i){let{url:n}=t,s=r&&(0,RS.isWixDomain)(n)?{authorization:r}:{},a=this.opts.createHeaders(),c=(0,xo.getUrlHeaders)((0,Zt.getGlobalConfig)(),t,i);return Object.assign(Object.assign(Object.assign({},c),a),s)}handleRequestError(t,r){let i=(0,a2.createHttpError)(t);throw(0,Zt.silent)(()=>{var n;return(n=r.onError)===null||n===void 0?void 0:n.call(r,i)}),i}maybeFallbackRequest(t,r,i,n){var s,a,c;if((0,Zt.isHttpMockServerEnabled)()&&(0,Zt.shouldAllowUnmocked)()&&((s=t.response)===null||s===void 0?void 0:s.status)===404&&((c=(a=t.response)===null||a===void 0?void 0:a.data)===null||c===void 0?void 0:c.msg)===Qp.NO_SCENARIO_FOUND){let p=this.getHeaders(r,n,i),l=(0,xo.buildOptions)({requestOptions:r,urlObject:i,headers:p});return this.client.request(l)}throw t}transformResponse(t,r){let i=(0,RS.requestIdOrEmptyString)(t),n=u2(t,r,this.flags);return Object.assign(Object.assign({},t),{data:n,requestId:i})}};cn.HttpClient=on;on.CancelToken=bs.default.CancelToken;on.isCancel=bs.default.isCancel;function o2(e){let t=e.adapter;return t||(t=s2.default,(0,bS.isNode)()&&(t=c2())),Object.assign({adapter:t,isSSR:!1},e)}function c2(){return typeof __webpack_require__=="function"?__non_webpack_require__("axios/lib/adapters/http"):po()}function u2(e,t,r){let i=p2(e,r);if(t._pickResponseBody&&(i=(0,Zt.extractProp)(e.data,t._pickResponseBody)),t._logs){let n=(0,Zt.extractProp)(e.data,t._logs);n?.length&&n.map(s=>console.log(...s))}return i}function p2(e,t){try{if(t.sanitizerPocEnabled){let r=performance.now(),i=new Sanitizer;if(e.headers["content-type"].includes("application/json")){console.log("[+] JSON Response detected, sanitizing data");let n=function(a){try{return Object.keys(a).forEach(c=>{typeof a[c]=="string"?a[c]=i.sanitizeFor("span",a[c]).innerHTML:typeof a[c]=="object"&&(a[c]=n(a[c]))}),a}catch(c){console.log(c)}},s=performance.now();return console.log(`Time taken: ${s-r} milliseconds.`),n(e.data)}}}catch(r){console.log("[+] Sanitizer API not supported: %o",r)}return e.data}function l2(){var e;try{return(0,bS.isBrowser)()&&new URLSearchParams(((e=window?.location)===null||e===void 0?void 0:e.hash)||"").get("sanitizerPOC")==="true"}catch{return!1}}function d2(...e){return new on(...e)}cn.createHttpClient=d2});var DS=_(un=>{"use strict";o();Object.defineProperty(un,"__esModule",{value:!0});un.HttpClient=un.createHttpClient=void 0;var m2=(Ya(),hs(Ka)),f2=m2.__importDefault(po()),h2=yS(),So=class extends h2.HttpClient{constructor(t={}){super(Object.assign({adapter:f2.default},t))}};un.HttpClient=So;function _2(...e){return new So(...e)}un.createHttpClient=_2});var PS=_(CS=>{"use strict";o();Object.defineProperty(CS,"__esModule",{value:!0})});var Oo=_(He=>{"use strict";o();Object.defineProperty(He,"__esModule",{value:!0});He.HttpClient=He.createHttpClient=He.HttpError=He.createHttpError=He.ORIGINAL_URL_HEADER=He.ORIGINAL_PROTOCOL_HEADER=He.ORIGINAL_HOST_HEADER=void 0;var E2=(Ya(),hs(Ka)),el=Es();Object.defineProperty(He,"ORIGINAL_HOST_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_HOST_HEADER}});Object.defineProperty(He,"ORIGINAL_PROTOCOL_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_PROTOCOL_HEADER}});Object.defineProperty(He,"ORIGINAL_URL_HEADER",{enumerable:!0,get:function(){return el.ORIGINAL_URL_HEADER}});var wS=_p();Object.defineProperty(He,"createHttpError",{enumerable:!0,get:function(){return wS.createHttpError}});Object.defineProperty(He,"HttpError",{enumerable:!0,get:function(){return wS.HttpError}});var LS=DS();Object.defineProperty(He,"createHttpClient",{enumerable:!0,get:function(){return LS.createHttpClient}});Object.defineProperty(He,"HttpClient",{enumerable:!0,get:function(){return LS.HttpClient}});E2.__exportStar(PS(),He)});var ys=_((Kle,BS)=>{"use strict";o();var b2="2.0.0",y2=Number.MAX_SAFE_INTEGER||9007199254740991,D2=16,C2=250,P2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];BS.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:D2,MAX_SAFE_BUILD_LENGTH:C2,MAX_SAFE_INTEGER:y2,RELEASE_TYPES:P2,SEMVER_SPEC_VERSION:b2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ds=_(($le,HS)=>{"use strict";o();var w2=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};HS.exports=w2});var ln=_((Er,WS)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:al,MAX_SAFE_BUILD_LENGTH:L2,MAX_LENGTH:F2}=ys(),M2=Ds();Er=WS.exports={};var U2=Er.re=[],q2=Er.safeRe=[],w=Er.src=[],L=Er.t={},k2=0,ol="[a-zA-Z0-9-]",G2=[["\\s",1],["\\d",F2],[ol,L2]],B2=e=>{for(let[t,r]of G2)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Y=(e,t,r)=>{let i=B2(t),n=k2++;M2(e,n,t),L[e]=n,w[n]=t,U2[n]=new RegExp(t,r?"g":void 0),q2[n]=new RegExp(i,r?"g":void 0)};Y("NUMERICIDENTIFIER","0|[1-9]\\d*");Y("NUMERICIDENTIFIERLOOSE","\\d+");Y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ol}*`);Y("MAINVERSION",`(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})\\.(${w[L.NUMERICIDENTIFIER]})`);Y("MAINVERSIONLOOSE",`(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})\\.(${w[L.NUMERICIDENTIFIERLOOSE]})`);Y("PRERELEASEIDENTIFIER",`(?:${w[L.NUMERICIDENTIFIER]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASEIDENTIFIERLOOSE",`(?:${w[L.NUMERICIDENTIFIERLOOSE]}|${w[L.NONNUMERICIDENTIFIER]})`);Y("PRERELEASE",`(?:-(${w[L.PRERELEASEIDENTIFIER]}(?:\\.${w[L.PRERELEASEIDENTIFIER]})*))`);Y("PRERELEASELOOSE",`(?:-?(${w[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${w[L.PRERELEASEIDENTIFIERLOOSE]})*))`);Y("BUILDIDENTIFIER",`${ol}+`);Y("BUILD",`(?:\\+(${w[L.BUILDIDENTIFIER]}(?:\\.${w[L.BUILDIDENTIFIER]})*))`);Y("FULLPLAIN",`v?${w[L.MAINVERSION]}${w[L.PRERELEASE]}?${w[L.BUILD]}?`);Y("FULL",`^${w[L.FULLPLAIN]}$`);Y("LOOSEPLAIN",`[v=\\s]*${w[L.MAINVERSIONLOOSE]}${w[L.PRERELEASELOOSE]}?${w[L.BUILD]}?`);Y("LOOSE",`^${w[L.LOOSEPLAIN]}$`);Y("GTLT","((?:<|>)?=?)");Y("XRANGEIDENTIFIERLOOSE",`${w[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Y("XRANGEIDENTIFIER",`${w[L.NUMERICIDENTIFIER]}|x|X|\\*`);Y("XRANGEPLAIN",`[v=\\s]*(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:\\.(${w[L.XRANGEIDENTIFIER]})(?:${w[L.PRERELEASE]})?${w[L.BUILD]}?)?)?`);Y("XRANGEPLAINLOOSE",`[v=\\s]*(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${w[L.XRANGEIDENTIFIERLOOSE]})(?:${w[L.PRERELEASELOOSE]})?${w[L.BUILD]}?)?)?`);Y("XRANGE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAIN]}$`);Y("XRANGELOOSE",`^${w[L.GTLT]}\\s*${w[L.XRANGEPLAINLOOSE]}$`);Y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${al}})(?:\\.(\\d{1,${al}}))?(?:\\.(\\d{1,${al}}))?`);Y("COERCE",`${w[L.COERCEPLAIN]}(?:$|[^\\d])`);Y("COERCEFULL",w[L.COERCEPLAIN]+`(?:${w[L.PRERELEASE]})?(?:${w[L.BUILD]})?(?:$|[^\\d])`);Y("COERCERTL",w[L.COERCE],!0);Y("COERCERTLFULL",w[L.COERCEFULL],!0);Y("LONETILDE","(?:~>?)");Y("TILDETRIM",`(\\s*)${w[L.LONETILDE]}\\s+`,!0);Er.tildeTrimReplace="$1~";Y("TILDE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAIN]}$`);Y("TILDELOOSE",`^${w[L.LONETILDE]}${w[L.XRANGEPLAINLOOSE]}$`);Y("LONECARET","(?:\\^)");Y("CARETTRIM",`(\\s*)${w[L.LONECARET]}\\s+`,!0);Er.caretTrimReplace="$1^";Y("CARET",`^${w[L.LONECARET]}${w[L.XRANGEPLAIN]}$`);Y("CARETLOOSE",`^${w[L.LONECARET]}${w[L.XRANGEPLAINLOOSE]}$`);Y("COMPARATORLOOSE",`^${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]})$|^$`);Y("COMPARATOR",`^${w[L.GTLT]}\\s*(${w[L.FULLPLAIN]})$|^$`);Y("COMPARATORTRIM",`(\\s*)${w[L.GTLT]}\\s*(${w[L.LOOSEPLAIN]}|${w[L.XRANGEPLAIN]})`,!0);Er.comparatorTrimReplace="$1$2$3";Y("HYPHENRANGE",`^\\s*(${w[L.XRANGEPLAIN]})\\s+-\\s+(${w[L.XRANGEPLAIN]})\\s*$`);Y("HYPHENRANGELOOSE",`^\\s*(${w[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${w[L.XRANGEPLAINLOOSE]})\\s*$`);Y("STAR","(<|>)?=?\\s*\\*");Y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Io=_((Jle,jS)=>{"use strict";o();var H2=Object.freeze({loose:!0}),W2=Object.freeze({}),j2=e=>e?typeof e!="object"?H2:e:W2;jS.exports=j2});var cl=_((Qle,YS)=>{"use strict";o();var VS=/^[0-9]+$/,KS=(e,t)=>{let r=VS.test(e),i=VS.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},V2=(e,t)=>KS(t,e);YS.exports={compareIdentifiers:KS,rcompareIdentifiers:V2}});var ze=_((tde,JS)=>{"use strict";o();var Ro=Ds(),{MAX_LENGTH:$S,MAX_SAFE_INTEGER:To}=ys(),{safeRe:zS,t:XS}=ln(),K2=Io(),{compareIdentifiers:dn}=cl(),ul=class e{constructor(t,r){if(r=K2(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>$S)throw new TypeError(`version is longer than ${$S} characters`);Ro("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let i=t.trim().match(r.loose?zS[XS.LOOSE]:zS[XS.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>To||this.major<0)throw new TypeError("Invalid major version");if(this.minor>To||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>To||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s<To)return s}return n}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ro("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)),dn(this.major,t.major)||dn(this.minor,t.minor)||dn(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let i=this.prerelease[r],n=t.prerelease[r];if(Ro("prerelease compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return dn(i,n)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let i=this.build[r],n=t.build[r];if(Ro("build compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return dn(i,n)}while(++r)}inc(t,r,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,i),this.inc("pre",r,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,i),this.inc("pre",r,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(i)?1:0;if(!r&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let s=[r,n];i===!1&&(s=[r]),dn(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};JS.exports=ul});var Oi=_((ide,QS)=>{"use strict";o();var ZS=ze(),Y2=(e,t,r=!1)=>{if(e instanceof ZS)return e;try{return new ZS(e,t)}catch(i){if(!r)return null;throw i}};QS.exports=Y2});var tO=_((sde,eO)=>{"use strict";o();var $2=Oi(),z2=(e,t)=>{let r=$2(e,t);return r?r.version:null};eO.exports=z2});var iO=_((ode,rO)=>{"use strict";o();var X2=Oi(),J2=(e,t)=>{let r=X2(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};rO.exports=J2});var aO=_((ude,sO)=>{"use strict";o();var nO=ze(),Z2=(e,t,r,i,n)=>{typeof r=="string"&&(n=i,i=r,r=void 0);try{return new nO(e instanceof nO?e.version:e,r).inc(t,i,n).version}catch{return null}};sO.exports=Z2});var uO=_((lde,cO)=>{"use strict";o();var oO=Oi(),Q2=(e,t)=>{let r=oO(e,null,!0),i=oO(t,null,!0),n=r.compare(i);if(n===0)return null;let s=n>0,a=s?r:i,c=s?i:r,u=!!a.prerelease.length;if(!!c.prerelease.length&&!u)return!c.patch&&!c.minor?"major":a.patch?"patch":a.minor?"minor":"major";let l=u?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"};cO.exports=Q2});var lO=_((mde,pO)=>{"use strict";o();var eK=ze(),tK=(e,t)=>new eK(e,t).major;pO.exports=tK});var mO=_((hde,dO)=>{"use strict";o();var rK=ze(),iK=(e,t)=>new rK(e,t).minor;dO.exports=iK});var hO=_((Ede,fO)=>{"use strict";o();var nK=ze(),sK=(e,t)=>new nK(e,t).patch;fO.exports=sK});var EO=_((gde,_O)=>{"use strict";o();var aK=Oi(),oK=(e,t)=>{let r=aK(e,t);return r&&r.prerelease.length?r.prerelease:null};_O.exports=oK});var Tt=_((Sde,gO)=>{"use strict";o();var vO=ze(),cK=(e,t,r)=>new vO(e,r).compare(new vO(t,r));gO.exports=cK});var SO=_((Ade,xO)=>{"use strict";o();var uK=Tt(),pK=(e,t,r)=>uK(t,e,r);xO.exports=pK});var AO=_((Ide,OO)=>{"use strict";o();var lK=Tt(),dK=(e,t)=>lK(e,t,!0);OO.exports=dK});var bo=_((Tde,IO)=>{"use strict";o();var NO=ze(),mK=(e,t,r)=>{let i=new NO(e,r),n=new NO(t,r);return i.compare(n)||i.compareBuild(n)};IO.exports=mK});var TO=_((yde,RO)=>{"use strict";o();var fK=bo(),hK=(e,t)=>e.sort((r,i)=>fK(r,i,t));RO.exports=hK});var yO=_((Cde,bO)=>{"use strict";o();var _K=bo(),EK=(e,t)=>e.sort((r,i)=>_K(i,r,t));bO.exports=EK});var Cs=_((wde,DO)=>{"use strict";o();var vK=Tt(),gK=(e,t,r)=>vK(e,t,r)>0;DO.exports=gK});var yo=_((Fde,CO)=>{"use strict";o();var xK=Tt(),SK=(e,t,r)=>xK(e,t,r)<0;CO.exports=SK});var pl=_((Ude,PO)=>{"use strict";o();var OK=Tt(),AK=(e,t,r)=>OK(e,t,r)===0;PO.exports=AK});var ll=_((kde,wO)=>{"use strict";o();var NK=Tt(),IK=(e,t,r)=>NK(e,t,r)!==0;wO.exports=IK});var Do=_((Bde,LO)=>{"use strict";o();var RK=Tt(),TK=(e,t,r)=>RK(e,t,r)>=0;LO.exports=TK});var Co=_((Wde,FO)=>{"use strict";o();var bK=Tt(),yK=(e,t,r)=>bK(e,t,r)<=0;FO.exports=yK});var dl=_((Vde,MO)=>{"use strict";o();var DK=pl(),CK=ll(),PK=Cs(),wK=Do(),LK=yo(),FK=Co(),MK=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return DK(e,r,i);case"!=":return CK(e,r,i);case">":return PK(e,r,i);case">=":return wK(e,r,i);case"<":return LK(e,r,i);case"<=":return FK(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}};MO.exports=MK});var qO=_((Yde,UO)=>{"use strict";o();var UK=ze(),qK=Oi(),{safeRe:Po,t:wo}=ln(),kK=(e,t)=>{if(e instanceof UK)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?Po[wo.COERCEFULL]:Po[wo.COERCE]);else{let u=t.includePrerelease?Po[wo.COERCERTLFULL]:Po[wo.COERCERTL],p;for(;(p=u.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||p.index+p[0].length!==r.index+r[0].length)&&(r=p),u.lastIndex=p.index+p[1].length+p[2].length;u.lastIndex=-1}if(r===null)return null;let i=r[2],n=r[3]||"0",s=r[4]||"0",a=t.includePrerelease&&r[5]?`-${r[5]}`:"",c=t.includePrerelease&&r[6]?`+${r[6]}`:"";return qK(`${i}.${n}.${s}${a}${c}`,t)};UO.exports=kK});var GO=_((zde,kO)=>{"use strict";o();var ml=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(t,r)}return this}};kO.exports=ml});var bt=_((Jde,jO)=>{"use strict";o();var GK=/\s+/g,fl=class e{constructor(t,r){if(r=HK(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof hl)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(GK," "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!HO(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&zK(n[0])){this.set=[n];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 i=0;i<r.length;i++)i>0&&(this.formatted+=" "),this.formatted+=r[i].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&YK)|(this.options.loose&&$K))+":"+t,n=BO.get(i);if(n)return n;let s=this.options.loose,a=s?lt[st.HYPHENRANGELOOSE]:lt[st.HYPHENRANGE];t=t.replace(a,s3(this.options.includePrerelease)),le("hyphen replace",t),t=t.replace(lt[st.COMPARATORTRIM],jK),le("comparator trim",t),t=t.replace(lt[st.TILDETRIM],VK),le("tilde trim",t),t=t.replace(lt[st.CARETTRIM],KK),le("caret trim",t);let c=t.split(" ").map(f=>XK(f,this.options)).join(" ").split(/\s+/).map(f=>n3(f,this.options));s&&(c=c.filter(f=>(le("loose invalid filter",f,this.options),!!f.match(lt[st.COMPARATORLOOSE])))),le("range list",c);let u=new Map,p=c.map(f=>new hl(f,this.options));for(let f of p){if(HO(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let l=[...u.values()];return BO.set(i,l),l}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(i=>WO(i,r)&&t.set.some(n=>WO(n,r)&&i.every(s=>n.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new WK(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(a3(this.set[r],t,this.options))return!0;return!1}};jO.exports=fl;var BK=GO(),BO=new BK,HK=Io(),hl=Ps(),le=Ds(),WK=ze(),{safeRe:lt,t:st,comparatorTrimReplace:jK,tildeTrimReplace:VK,caretTrimReplace:KK}=ln(),{FLAG_INCLUDE_PRERELEASE:YK,FLAG_LOOSE:$K}=ys(),HO=e=>e.value==="<0.0.0-0",zK=e=>e.value==="",WO=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},XK=(e,t)=>(le("comp",e,t),e=QK(e,t),le("caret",e),e=JK(e,t),le("tildes",e),e=t3(e,t),le("xrange",e),e=i3(e,t),le("stars",e),e),at=e=>!e||e.toLowerCase()==="x"||e==="*",JK=(e,t)=>e.trim().split(/\s+/).map(r=>ZK(r,t)).join(" "),ZK=(e,t)=>{let r=t.loose?lt[st.TILDELOOSE]:lt[st.TILDE];return e.replace(r,(i,n,s,a,c)=>{le("tilde",e,i,n,s,a,c);let u;return at(n)?u="":at(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:at(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:c?(le("replaceTilde pr",c),u=`>=${n}.${s}.${a}-${c} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,le("tilde return",u),u})},QK=(e,t)=>e.trim().split(/\s+/).map(r=>e3(r,t)).join(" "),e3=(e,t)=>{le("caret",e,t);let r=t.loose?lt[st.CARETLOOSE]:lt[st.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,c,u)=>{le("caret",e,n,s,a,c,u);let p;return at(s)?p="":at(a)?p=`>=${s}.0.0${i} <${+s+1}.0.0-0`:at(c)?s==="0"?p=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(le("replaceCaret pr",u),s==="0"?a==="0"?p=`>=${s}.${a}.${c}-${u} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}-${u} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c}-${u} <${+s+1}.0.0-0`):(le("no pr"),s==="0"?a==="0"?p=`>=${s}.${a}.${c}${i} <${s}.${a}.${+c+1}-0`:p=`>=${s}.${a}.${c}${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${c} <${+s+1}.0.0-0`),le("caret return",p),p})},t3=(e,t)=>(le("replaceXRanges",e,t),e.split(/\s+/).map(r=>r3(r,t)).join(" ")),r3=(e,t)=>{e=e.trim();let r=t.loose?lt[st.XRANGELOOSE]:lt[st.XRANGE];return e.replace(r,(i,n,s,a,c,u)=>{le("xRange",e,i,n,s,a,c,u);let p=at(s),l=p||at(a),f=l||at(c),h=f;return n==="="&&h&&(n=""),u=t.includePrerelease?"-0":"",p?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&h?(l&&(a=0),c=0,n===">"?(n=">=",l?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",l?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${c}${u}`):l?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:f&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),le("xRange return",i),i})},i3=(e,t)=>(le("replaceStars",e,t),e.trim().replace(lt[st.STAR],"")),n3=(e,t)=>(le("replaceGTE0",e,t),e.trim().replace(lt[t.includePrerelease?st.GTE0PRE:st.GTE0],"")),s3=e=>(t,r,i,n,s,a,c,u,p,l,f,h)=>(at(i)?r="":at(n)?r=`>=${i}.0.0${e?"-0":""}`:at(s)?r=`>=${i}.${n}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,at(p)?u="":at(l)?u=`<${+p+1}.0.0-0`:at(f)?u=`<${p}.${+l+1}.0-0`:h?u=`<=${p}.${l}.${f}-${h}`:e?u=`<${p}.${l}.${+f+1}-0`:u=`<=${u}`,`${r} ${u}`.trim()),a3=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(le(e[i].semver),e[i].semver!==hl.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}});var Ps=_((Qde,XO)=>{"use strict";o();var ws=Symbol("SemVer ANY"),vl=class e{static get ANY(){return ws}constructor(t,r){if(r=VO(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),El("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===ws?this.value="":this.value=this.operator+this.semver.version,El("comp",this)}parse(t){let r=this.options.loose?KO[YO.COMPARATORLOOSE]:KO[YO.COMPARATOR],i=t.match(r);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new $O(i[2],this.options.loose):this.semver=ws}toString(){return this.value}test(t){if(El("Comparator.test",t,this.options.loose),this.semver===ws||t===ws)return!0;if(typeof t=="string")try{t=new $O(t,this.options)}catch{return!1}return _l(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 zO(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new zO(this.value,r).test(t.semver):(r=VO(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("=")||_l(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||_l(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};XO.exports=vl;var VO=Io(),{safeRe:KO,t:YO}=ln(),_l=dl(),El=Ds(),$O=ze(),zO=bt()});var Ls=_((tme,JO)=>{"use strict";o();var o3=bt(),c3=(e,t,r)=>{try{t=new o3(t,r)}catch{return!1}return t.test(e)};JO.exports=c3});var QO=_((ime,ZO)=>{"use strict";o();var u3=bt(),p3=(e,t)=>new u3(e,t).set.map(r=>r.map(i=>i.value).join(" ").trim().split(" "));ZO.exports=p3});var tA=_((sme,eA)=>{"use strict";o();var l3=ze(),d3=bt(),m3=(e,t,r)=>{let i=null,n=null,s=null;try{s=new d3(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===-1)&&(i=a,n=new l3(i,r))}),i};eA.exports=m3});var iA=_((ome,rA)=>{"use strict";o();var f3=ze(),h3=bt(),_3=(e,t,r)=>{let i=null,n=null,s=null;try{s=new h3(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===1)&&(i=a,n=new f3(i,r))}),i};rA.exports=_3});var aA=_((ume,sA)=>{"use strict";o();var gl=ze(),E3=bt(),nA=Cs(),v3=(e,t)=>{e=new E3(e,t);let r=new gl("0.0.0");if(e.test(r)||(r=new gl("0.0.0-0"),e.test(r)))return r;r=null;for(let i=0;i<e.set.length;++i){let n=e.set[i],s=null;n.forEach(a=>{let c=new gl(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!s||nA(c,s))&&(s=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||nA(r,s))&&(r=s)}return r&&e.test(r)?r:null};sA.exports=v3});var cA=_((lme,oA)=>{"use strict";o();var g3=bt(),x3=(e,t)=>{try{return new g3(e,t).range||"*"}catch{return null}};oA.exports=x3});var Lo=_((mme,dA)=>{"use strict";o();var S3=ze(),lA=Ps(),{ANY:O3}=lA,A3=bt(),N3=Ls(),uA=Cs(),pA=yo(),I3=Co(),R3=Do(),T3=(e,t,r,i)=>{e=new S3(e,i),t=new A3(t,i);let n,s,a,c,u;switch(r){case">":n=uA,s=I3,a=pA,c=">",u=">=";break;case"<":n=pA,s=R3,a=uA,c="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N3(e,t,i))return!1;for(let p=0;p<t.set.length;++p){let l=t.set[p],f=null,h=null;if(l.forEach(E=>{E.semver===O3&&(E=new lA(">=0.0.0")),f=f||E,h=h||E,n(E.semver,f.semver,i)?f=E:a(E.semver,h.semver,i)&&(h=E)}),f.operator===c||f.operator===u||(!h.operator||h.operator===c)&&s(e,h.semver))return!1;if(h.operator===u&&a(e,h.semver))return!1}return!0};dA.exports=T3});var fA=_((hme,mA)=>{"use strict";o();var b3=Lo(),y3=(e,t,r)=>b3(e,t,">",r);mA.exports=y3});var _A=_((Eme,hA)=>{"use strict";o();var D3=Lo(),C3=(e,t,r)=>D3(e,t,"<",r);hA.exports=C3});var gA=_((gme,vA)=>{"use strict";o();var EA=bt(),P3=(e,t,r)=>(e=new EA(e,r),t=new EA(t,r),e.intersects(t,r));vA.exports=P3});var SA=_((Sme,xA)=>{"use strict";o();var w3=Ls(),L3=Tt();xA.exports=(e,t,r)=>{let i=[],n=null,s=null,a=e.sort((l,f)=>L3(l,f,r));for(let l of a)w3(l,t,r)?(s=l,n||(n=l)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let c=[];for(let[l,f]of i)l===f?c.push(l):!f&&l===a[0]?c.push("*"):f?l===a[0]?c.push(`<=${f}`):c.push(`${l} - ${f}`):c.push(`>=${l}`);let u=c.join(" || "),p=typeof t.raw=="string"?t.raw:String(t);return u.length<p.length?u:t}});var TA=_((Ame,RA)=>{"use strict";o();var OA=bt(),Sl=Ps(),{ANY:xl}=Sl,Fs=Ls(),Ol=Tt(),F3=(e,t,r={})=>{if(e===t)return!0;e=new OA(e,r),t=new OA(t,r);let i=!1;e:for(let n of e.set){for(let s of t.set){let a=U3(n,s,r);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},M3=[new Sl(">=0.0.0-0")],AA=[new Sl(">=0.0.0")],U3=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===xl){if(t.length===1&&t[0].semver===xl)return!0;r.includePrerelease?e=M3:e=AA}if(t.length===1&&t[0].semver===xl){if(r.includePrerelease)return!0;t=AA}let i=new Set,n,s;for(let E of e)E.operator===">"||E.operator===">="?n=NA(n,E,r):E.operator==="<"||E.operator==="<="?s=IA(s,E,r):i.add(E.semver);if(i.size>1)return null;let a;if(n&&s){if(a=Ol(n.semver,s.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let E of i){if(n&&!Fs(E,String(n),r)||s&&!Fs(E,String(s),r))return null;for(let x of t)if(!Fs(E,String(x),r))return!1;return!0}let c,u,p,l,f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,h=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let E of t){if(l=l||E.operator===">"||E.operator===">=",p=p||E.operator==="<"||E.operator==="<=",n){if(h&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===h.major&&E.semver.minor===h.minor&&E.semver.patch===h.patch&&(h=!1),E.operator===">"||E.operator===">="){if(c=NA(n,E,r),c===E&&c!==n)return!1}else if(n.operator===">="&&!Fs(n.semver,String(E),r))return!1}if(s){if(f&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===f.major&&E.semver.minor===f.minor&&E.semver.patch===f.patch&&(f=!1),E.operator==="<"||E.operator==="<="){if(u=IA(s,E,r),u===E&&u!==s)return!1}else if(s.operator==="<="&&!Fs(s.semver,String(E),r))return!1}if(!E.operator&&(s||n)&&a!==0)return!1}return!(n&&p&&!s&&a!==0||s&&l&&!n&&a!==0||h||f)},NA=(e,t,r)=>{if(!e)return t;let i=Ol(e.semver,t.semver,r);return i>0?e:i<0||t.operator===">"&&e.operator===">="?t:e},IA=(e,t,r)=>{if(!e)return t;let i=Ol(e.semver,t.semver,r);return i<0?e:i>0||t.operator==="<"&&e.operator==="<="?t:e};RA.exports=F3});var CA=_((Ime,DA)=>{"use strict";o();var Al=ln(),bA=ys(),q3=ze(),yA=cl(),k3=Oi(),G3=tO(),B3=iO(),H3=aO(),W3=uO(),j3=lO(),V3=mO(),K3=hO(),Y3=EO(),$3=Tt(),z3=SO(),X3=AO(),J3=bo(),Z3=TO(),Q3=yO(),eY=Cs(),tY=yo(),rY=pl(),iY=ll(),nY=Do(),sY=Co(),aY=dl(),oY=qO(),cY=Ps(),uY=bt(),pY=Ls(),lY=QO(),dY=tA(),mY=iA(),fY=aA(),hY=cA(),_Y=Lo(),EY=fA(),vY=_A(),gY=gA(),xY=SA(),SY=TA();DA.exports={parse:k3,valid:G3,clean:B3,inc:H3,diff:W3,major:j3,minor:V3,patch:K3,prerelease:Y3,compare:$3,rcompare:z3,compareLoose:X3,compareBuild:J3,sort:Z3,rsort:Q3,gt:eY,lt:tY,eq:rY,neq:iY,gte:nY,lte:sY,cmp:aY,coerce:oY,Comparator:cY,Range:uY,satisfies:pY,toComparators:lY,maxSatisfying:dY,minSatisfying:mY,minVersion:fY,validRange:hY,outside:_Y,gtr:EY,ltr:vY,intersects:gY,simplifyRange:xY,subset:SY,SemVer:q3,re:Al.re,src:Al.src,tokens:Al.t,SEMVER_SPEC_VERSION:bA.SEMVER_SPEC_VERSION,RELEASE_TYPES:bA.RELEASE_TYPES,compareIdentifiers:yA.compareIdentifiers,rcompareIdentifiers:yA.rcompareIdentifiers}});var mn=_((Tme,wA)=>{"use strict";o();var PA=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);wA.exports=e=>e?Object.keys(e).map(t=>[PA.has(t)?PA.get(t):t,e[t]]).reduce((t,r)=>(t[r[0]]=r[1],t),Object.create(null)):{}});var Bo=_(WA=>{"use strict";o();var LA=typeof process=="object"&&process?process:{stdout:null,stderr:null},OY=N("events"),FA=N("stream"),AY=N("string_decoder"),MA=AY.StringDecoder,vr=Symbol("EOF"),gr=Symbol("maybeEmitEnd"),Hr=Symbol("emittedEnd"),Fo=Symbol("emittingEnd"),Ms=Symbol("emittedError"),Mo=Symbol("closed"),UA=Symbol("read"),Uo=Symbol("flush"),qA=Symbol("flushChunk"),dt=Symbol("encoding"),xr=Symbol("decoder"),qo=Symbol("flowing"),Us=Symbol("paused"),fn=Symbol("resume"),xe=Symbol("buffer"),Qt=Symbol("pipes"),Me=Symbol("bufferLength"),Nl=Symbol("bufferPush"),Il=Symbol("bufferShift"),We=Symbol("objectMode"),Se=Symbol("destroyed"),Rl=Symbol("error"),Tl=Symbol("emitData"),kA=Symbol("emitEnd"),bl=Symbol("emitEnd2"),Sr=Symbol("async"),yl=Symbol("abort"),ko=Symbol("aborted"),Ai=Symbol("signal"),qs=e=>Promise.resolve().then(e),HA=global._MP_NO_ITERATOR_SYMBOLS_!=="1",GA=HA&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),BA=HA&&Symbol.iterator||Symbol("iterator not implemented"),NY=e=>e==="end"||e==="finish"||e==="prefinish",IY=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,RY=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),Go=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[fn](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Dl=class extends Go{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}},Cl=class e extends FA{constructor(t){super(),this[qo]=!1,this[Us]=!1,this[Qt]=[],this[xe]=[],this[We]=t&&t.objectMode||!1,this[We]?this[dt]=null:this[dt]=t&&t.encoding||null,this[dt]==="buffer"&&(this[dt]=null),this[Sr]=t&&!!t.async||!1,this[xr]=this[dt]?new MA(this[dt]):null,this[vr]=!1,this[Hr]=!1,this[Fo]=!1,this[Mo]=!1,this[Ms]=null,this.writable=!0,this.readable=!0,this[Me]=0,this[Se]=!1,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[xe]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Qt]}),this[Ai]=t&&t.signal,this[ko]=!1,this[Ai]&&(this[Ai].addEventListener("abort",()=>this[yl]()),this[Ai].aborted&&this[yl]())}get bufferLength(){return this[Me]}get encoding(){return this[dt]}set encoding(t){if(this[We])throw new Error("cannot set encoding in objectMode");if(this[dt]&&t!==this[dt]&&(this[xr]&&this[xr].lastNeed||this[Me]))throw new Error("cannot change encoding");this[dt]!==t&&(this[xr]=t?new MA(t):null,this[xe].length&&(this[xe]=this[xe].map(r=>this[xr].write(r)))),this[dt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[We]}set objectMode(t){this[We]=this[We]||!!t}get async(){return this[Sr]}set async(t){this[Sr]=this[Sr]||!!t}[yl](){this[ko]=!0,this.emit("abort",this[Ai].reason),this.destroy(this[Ai].reason)}get aborted(){return this[ko]}set aborted(t){}write(t,r,i){if(this[ko])return!1;if(this[vr])throw new Error("write after end");if(this[Se])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Sr]?qs:s=>s();return!this[We]&&!Buffer.isBuffer(t)&&(RY(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):IY(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[We]?(this.flowing&&this[Me]!==0&&this[Uo](!0),this.flowing?this.emit("data",t):this[Nl](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[dt]&&!this[xr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[dt]&&(t=this[xr].write(t)),this.flowing&&this[Me]!==0&&this[Uo](!0),this.flowing?this.emit("data",t):this[Nl](t),this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Me]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[Se])return null;if(this[Me]===0||t===0||t>this[Me])return this[gr](),null;this[We]&&(t=null),this[xe].length>1&&!this[We]&&(this.encoding?this[xe]=[this[xe].join("")]:this[xe]=[Buffer.concat(this[xe],this[Me])]);let r=this[UA](t||null,this[xe][0]);return this[gr](),r}[UA](t,r){return t===r.length||t===null?this[Il]():(this[xe][0]=r.slice(t),r=r.slice(0,t),this[Me]-=t),this.emit("data",r),!this[xe].length&&!this[vr]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[vr]=!0,this.writable=!1,(this.flowing||!this[Us])&&this[gr](),this}[fn](){this[Se]||(this[Us]=!1,this[qo]=!0,this.emit("resume"),this[xe].length?this[Uo]():this[vr]?this[gr]():this.emit("drain"))}resume(){return this[fn]()}pause(){this[qo]=!1,this[Us]=!0}get destroyed(){return this[Se]}get flowing(){return this[qo]}get paused(){return this[Us]}[Nl](t){this[We]?this[Me]+=1:this[Me]+=t.length,this[xe].push(t)}[Il](){return this[We]?this[Me]-=1:this[Me]-=this[xe][0].length,this[xe].shift()}[Uo](t){do;while(this[qA](this[Il]())&&this[xe].length);!t&&!this[xe].length&&!this[vr]&&this.emit("drain")}[qA](t){return this.emit("data",t),this.flowing}pipe(t,r){if(this[Se])return;let i=this[Hr];return r=r||{},t===LA.stdout||t===LA.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this[Qt].push(r.proxyErrors?new Dl(this,t,r):new Go(this,t,r)),this[Sr]?qs(()=>this[fn]()):this[fn]()),t}unpipe(t){let r=this[Qt].find(i=>i.dest===t);r&&(this[Qt].splice(this[Qt].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this[Qt].length&&!this.flowing?this[fn]():t==="readable"&&this[Me]!==0?super.emit("readable"):NY(t)&&this[Hr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[Ms]&&(this[Sr]?qs(()=>r.call(this,this[Ms])):r.call(this,this[Ms])),i}get emittedEnd(){return this[Hr]}[gr](){!this[Fo]&&!this[Hr]&&!this[Se]&&this[xe].length===0&&this[vr]&&(this[Fo]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Mo]&&this.emit("close"),this[Fo]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==Se&&this[Se])return;if(t==="data")return!this[We]&&!r?!1:this[Sr]?qs(()=>this[Tl](r)):this[Tl](r);if(t==="end")return this[kA]();if(t==="close"){if(this[Mo]=!0,!this[Hr]&&!this[Se])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Ms]=r,super.emit(Rl,r);let s=!this[Ai]||this.listeners("error").length?super.emit("error",r):!1;return this[gr](),s}else if(t==="resume"){let s=super.emit("resume");return this[gr](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[gr](),n}[Tl](t){for(let i of this[Qt])i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[gr](),r}[kA](){this[Hr]||(this[Hr]=!0,this.readable=!1,this[Sr]?qs(()=>this[bl]()):this[bl]())}[bl](){if(this[xr]){let r=this[xr].end();if(r){for(let i of this[Qt])i.dest.write(r);super.emit("data",r)}}for(let r of this[Qt])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[We]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[We]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[We]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[We]?Promise.reject(new Error("cannot concat in objectMode")):this[dt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Se,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[GA](){let t=!1,r=()=>(this.pause(),t=!0,Promise.resolve({done:!0}));return{next:()=>{if(t)return r();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[vr])return r();let s=null,a=null,c=f=>{this.removeListener("data",u),this.removeListener("end",p),this.removeListener(Se,l),r(),a(f)},u=f=>{this.removeListener("error",c),this.removeListener("end",p),this.removeListener(Se,l),this.pause(),s({value:f,done:!!this[vr]})},p=()=>{this.removeListener("error",c),this.removeListener("data",u),this.removeListener(Se,l),r(),s({done:!0})},l=()=>c(new Error("stream destroyed"));return new Promise((f,h)=>{a=h,s=f,this.once(Se,l),this.once("error",c),this.once("end",p),this.once("data",u)})},throw:r,return:r,[GA](){return this}}}[BA](){let t=!1,r=()=>(this.pause(),this.removeListener(Rl,r),this.removeListener(Se,r),this.removeListener("end",r),t=!0,{done:!0}),i=()=>{if(t)return r();let n=this.read();return n===null?r():{value:n}};return this.once("end",r),this.once(Rl,r),this.once(Se,r),{next:i,throw:r,return:r,[BA](){return this}}}destroy(t){return this[Se]?(t?this.emit("error",t):this.emit(Se),this):(this[Se]=!0,this[xe].length=0,this[Me]=0,typeof this.close=="function"&&!this[Mo]&&this.close(),t?this.emit("error",t):this.emit(Se),this)}static isStream(t){return!!t&&(t instanceof e||t instanceof FA||t instanceof OY&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}};WA.Minipass=Cl});var VA=_((Cme,jA)=>{"use strict";o();var TY=N("zlib").constants||{ZLIB_VERNUM:4736};jA.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},TY))});var Ul=_((wme,eN)=>{"use strict";o();var KA=typeof process=="object"&&process?process:{stdout:null,stderr:null},bY=N("events"),YA=N("stream"),$A=N("string_decoder").StringDecoder,Or=Symbol("EOF"),Ar=Symbol("maybeEmitEnd"),Wr=Symbol("emittedEnd"),Ho=Symbol("emittingEnd"),ks=Symbol("emittedError"),Wo=Symbol("closed"),zA=Symbol("read"),jo=Symbol("flush"),XA=Symbol("flushChunk"),mt=Symbol("encoding"),Nr=Symbol("decoder"),Vo=Symbol("flowing"),Gs=Symbol("paused"),hn=Symbol("resume"),Ue=Symbol("bufferLength"),Pl=Symbol("bufferPush"),wl=Symbol("bufferShift"),Xe=Symbol("objectMode"),Je=Symbol("destroyed"),Ll=Symbol("emitData"),JA=Symbol("emitEnd"),Fl=Symbol("emitEnd2"),Ir=Symbol("async"),Bs=e=>Promise.resolve().then(e),ZA=global._MP_NO_ITERATOR_SYMBOLS_!=="1",yY=ZA&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),DY=ZA&&Symbol.iterator||Symbol("iterator not implemented"),CY=e=>e==="end"||e==="finish"||e==="prefinish",PY=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,wY=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),Ko=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[hn](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Ml=class extends Ko{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}};eN.exports=class QA extends YA{constructor(t){super(),this[Vo]=!1,this[Gs]=!1,this.pipes=[],this.buffer=[],this[Xe]=t&&t.objectMode||!1,this[Xe]?this[mt]=null:this[mt]=t&&t.encoding||null,this[mt]==="buffer"&&(this[mt]=null),this[Ir]=t&&!!t.async||!1,this[Nr]=this[mt]?new $A(this[mt]):null,this[Or]=!1,this[Wr]=!1,this[Ho]=!1,this[Wo]=!1,this[ks]=null,this.writable=!0,this.readable=!0,this[Ue]=0,this[Je]=!1}get bufferLength(){return this[Ue]}get encoding(){return this[mt]}set encoding(t){if(this[Xe])throw new Error("cannot set encoding in objectMode");if(this[mt]&&t!==this[mt]&&(this[Nr]&&this[Nr].lastNeed||this[Ue]))throw new Error("cannot change encoding");this[mt]!==t&&(this[Nr]=t?new $A(t):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[Nr].write(r)))),this[mt]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[Xe]}set objectMode(t){this[Xe]=this[Xe]||!!t}get async(){return this[Ir]}set async(t){this[Ir]=this[Ir]||!!t}write(t,r,i){if(this[Or])throw new Error("write after end");if(this[Je])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Ir]?Bs:s=>s();return!this[Xe]&&!Buffer.isBuffer(t)&&(wY(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):PY(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[Xe]?(this.flowing&&this[Ue]!==0&&this[jo](!0),this.flowing?this.emit("data",t):this[Pl](t),this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[mt]&&!this[Nr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[mt]&&(t=this[Nr].write(t)),this.flowing&&this[Ue]!==0&&this[jo](!0),this.flowing?this.emit("data",t):this[Pl](t),this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Ue]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[Je])return null;if(this[Ue]===0||t===0||t>this[Ue])return this[Ar](),null;this[Xe]&&(t=null),this.buffer.length>1&&!this[Xe]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Ue])]);let r=this[zA](t||null,this.buffer[0]);return this[Ar](),r}[zA](t,r){return t===r.length||t===null?this[wl]():(this.buffer[0]=r.slice(t),r=r.slice(0,t),this[Ue]-=t),this.emit("data",r),!this.buffer.length&&!this[Or]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[Or]=!0,this.writable=!1,(this.flowing||!this[Gs])&&this[Ar](),this}[hn](){this[Je]||(this[Gs]=!1,this[Vo]=!0,this.emit("resume"),this.buffer.length?this[jo]():this[Or]?this[Ar]():this.emit("drain"))}resume(){return this[hn]()}pause(){this[Vo]=!1,this[Gs]=!0}get destroyed(){return this[Je]}get flowing(){return this[Vo]}get paused(){return this[Gs]}[Pl](t){this[Xe]?this[Ue]+=1:this[Ue]+=t.length,this.buffer.push(t)}[wl](){return this.buffer.length&&(this[Xe]?this[Ue]-=1:this[Ue]-=this.buffer[0].length),this.buffer.shift()}[jo](t){do;while(this[XA](this[wl]()));!t&&!this.buffer.length&&!this[Or]&&this.emit("drain")}[XA](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[Je])return;let i=this[Wr];return r=r||{},t===KA.stdout||t===KA.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this.pipes.push(r.proxyErrors?new Ml(this,t,r):new Ko(this,t,r)),this[Ir]?Bs(()=>this[hn]()):this[hn]()),t}unpipe(t){let r=this.pipes.find(i=>i.dest===t);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this.pipes.length&&!this.flowing?this[hn]():t==="readable"&&this[Ue]!==0?super.emit("readable"):CY(t)&&this[Wr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[ks]&&(this[Ir]?Bs(()=>r.call(this,this[ks])):r.call(this,this[ks])),i}get emittedEnd(){return this[Wr]}[Ar](){!this[Ho]&&!this[Wr]&&!this[Je]&&this.buffer.length===0&&this[Or]&&(this[Ho]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Wo]&&this.emit("close"),this[Ho]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==Je&&this[Je])return;if(t==="data")return r?this[Ir]?Bs(()=>this[Ll](r)):this[Ll](r):!1;if(t==="end")return this[JA]();if(t==="close"){if(this[Wo]=!0,!this[Wr]&&!this[Je])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[ks]=r;let s=super.emit("error",r);return this[Ar](),s}else if(t==="resume"){let s=super.emit("resume");return this[Ar](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[Ar](),n}[Ll](t){for(let i of this.pipes)i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[Ar](),r}[JA](){this[Wr]||(this[Wr]=!0,this.readable=!1,this[Ir]?Bs(()=>this[Fl]()):this[Fl]())}[Fl](){if(this[Nr]){let r=this[Nr].end();if(r){for(let i of this.pipes)i.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[Xe]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[Xe]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[Xe]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[Xe]?Promise.reject(new Error("cannot concat in objectMode")):this[mt]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Je,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[yY](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[Or])return Promise.resolve({done:!0});let i=null,n=null,s=p=>{this.removeListener("data",a),this.removeListener("end",c),n(p)},a=p=>{this.removeListener("error",s),this.removeListener("end",c),this.pause(),i({value:p,done:!!this[Or]})},c=()=>{this.removeListener("error",s),this.removeListener("data",a),i({done:!0})},u=()=>s(new Error("stream destroyed"));return new Promise((p,l)=>{n=l,i=p,this.once(Je,u),this.once("error",s),this.once("end",c),this.once("data",a)})}}}[DY](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[Je]?(t?this.emit("error",t):this.emit(Je),this):(this[Je]=!0,this.buffer.length=0,this[Ue]=0,typeof this.close=="function"&&!this[Wo]&&this.close(),t?this.emit("error",t):this.emit(Je),this)}static isStream(t){return!!t&&(t instanceof QA||t instanceof YA||t instanceof bY&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var Ql=_(xt=>{"use strict";o();var Hl=N("assert"),jr=N("buffer").Buffer,iN=N("zlib"),Ni=xt.constants=VA(),LY=Ul(),tN=jr.concat,Ii=Symbol("_superWrite"),En=class extends Error{constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},FY=Symbol("opts"),Hs=Symbol("flushFlag"),rN=Symbol("finishFlushFlag"),Zl=Symbol("fullFlushFlag"),ce=Symbol("handle"),Yo=Symbol("onError"),_n=Symbol("sawError"),ql=Symbol("level"),kl=Symbol("strategy"),Gl=Symbol("ended"),Fme=Symbol("_defaultFullFlush"),$o=class extends LY{constructor(t,r){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this[_n]=!1,this[Gl]=!1,this[FY]=t,this[Hs]=t.flush,this[rN]=t.finishFlush;try{this[ce]=new iN[r](t)}catch(i){throw new En(i)}this[Yo]=i=>{this[_n]||(this[_n]=!0,this.close(),this.emit("error",i))},this[ce].on("error",i=>this[Yo](new En(i))),this.once("end",()=>this.close)}close(){this[ce]&&(this[ce].close(),this[ce]=null,this.emit("close"))}reset(){if(!this[_n])return Hl(this[ce],"zlib binding closed"),this[ce].reset()}flush(t){this.ended||(typeof t!="number"&&(t=this[Zl]),this.write(Object.assign(jr.alloc(0),{[Hs]:t})))}end(t,r,i){return t&&this.write(t,r),this.flush(this[rN]),this[Gl]=!0,super.end(null,null,i)}get ended(){return this[Gl]}write(t,r,i){if(typeof r=="function"&&(i=r,r="utf8"),typeof t=="string"&&(t=jr.from(t,r)),this[_n])return;Hl(this[ce],"zlib binding closed");let n=this[ce]._handle,s=n.close;n.close=()=>{};let a=this[ce].close;this[ce].close=()=>{},jr.concat=p=>p;let c;try{let p=typeof t[Hs]=="number"?t[Hs]:this[Hs];c=this[ce]._processChunk(t,p),jr.concat=tN}catch(p){jr.concat=tN,this[Yo](new En(p))}finally{this[ce]&&(this[ce]._handle=n,n.close=s,this[ce].close=a,this[ce].removeAllListeners("error"))}this[ce]&&this[ce].on("error",p=>this[Yo](new En(p)));let u;if(c)if(Array.isArray(c)&&c.length>0){u=this[Ii](jr.from(c[0]));for(let p=1;p<c.length;p++)u=this[Ii](c[p])}else u=this[Ii](jr.from(c));return i&&i(),u}[Ii](t){return super.write(t)}},Rr=class extends $o{constructor(t,r){t=t||{},t.flush=t.flush||Ni.Z_NO_FLUSH,t.finishFlush=t.finishFlush||Ni.Z_FINISH,super(t,r),this[Zl]=Ni.Z_FULL_FLUSH,this[ql]=t.level,this[kl]=t.strategy}params(t,r){if(!this[_n]){if(!this[ce])throw new Error("cannot switch params when binding is closed");if(!this[ce].params)throw new Error("not supported in this implementation");if(this[ql]!==t||this[kl]!==r){this.flush(Ni.Z_SYNC_FLUSH),Hl(this[ce],"zlib binding closed");let i=this[ce].flush;this[ce].flush=(n,s)=>{this.flush(n),s()};try{this[ce].params(t,r)}finally{this[ce].flush=i}this[ce]&&(this[ql]=t,this[kl]=r)}}}},Wl=class extends Rr{constructor(t){super(t,"Deflate")}},jl=class extends Rr{constructor(t){super(t,"Inflate")}},Bl=Symbol("_portable"),Vl=class extends Rr{constructor(t){super(t,"Gzip"),this[Bl]=t&&!!t.portable}[Ii](t){return this[Bl]?(this[Bl]=!1,t[9]=255,super[Ii](t)):super[Ii](t)}},Kl=class extends Rr{constructor(t){super(t,"Gunzip")}},Yl=class extends Rr{constructor(t){super(t,"DeflateRaw")}},$l=class extends Rr{constructor(t){super(t,"InflateRaw")}},zl=class extends Rr{constructor(t){super(t,"Unzip")}},zo=class extends $o{constructor(t,r){t=t||{},t.flush=t.flush||Ni.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||Ni.BROTLI_OPERATION_FINISH,super(t,r),this[Zl]=Ni.BROTLI_OPERATION_FLUSH}},Xl=class extends zo{constructor(t){super(t,"BrotliCompress")}},Jl=class extends zo{constructor(t){super(t,"BrotliDecompress")}};xt.Deflate=Wl;xt.Inflate=jl;xt.Gzip=Vl;xt.Gunzip=Kl;xt.DeflateRaw=Yl;xt.InflateRaw=$l;xt.Unzip=zl;typeof iN.BrotliCompress=="function"?(xt.BrotliCompress=Xl,xt.BrotliDecompress=Jl):xt.BrotliCompress=xt.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var vn=_((kme,nN)=>{"use strict";o();var MY=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;nN.exports=MY!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/")});var Xo=_((Hme,sN)=>{"use strict";o();var{Minipass:UY}=Bo(),ed=vn(),td=Symbol("slurp");sN.exports=class extends UY{constructor(t,r,i){switch(super(),this.pause(),this.extended=r,this.globalExtended=i,this.header=t,this.startBlockSize=512*Math.ceil(t.size/512),this.blockRemain=this.startBlockSize,this.remain=t.size,this.type=t.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=ed(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=t.size,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=ed(t.linkpath),this.uname=t.uname,this.gname=t.gname,r&&this[td](r),i&&this[td](i,!0)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let i=this.remain,n=this.blockRemain;return this.remain=Math.max(0,i-r),this.blockRemain=Math.max(0,n-r),this.ignore?!0:i>=r?super.write(t):super.write(t.slice(0,i))}[td](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=i==="path"||i==="linkpath"?ed(t[i]):t[i])}}});var rd=_(Jo=>{"use strict";o();Jo.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Jo.code=new Map(Array.from(Jo.name).map(e=>[e[1],e[0]]))});var uN=_((Kme,cN)=>{"use strict";o();var qY=(e,t)=>{if(Number.isSafeInteger(e))e<0?GY(e,t):kY(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},kY=(e,t)=>{t[0]=128;for(var r=t.length;r>1;r--)t[r-1]=e&255,e=Math.floor(e/256)},GY=(e,t)=>{t[0]=255;var r=!1;e=e*-1;for(var i=t.length;i>1;i--){var n=e&255;e=Math.floor(e/256),r?t[i-1]=aN(n):n===0?t[i-1]=0:(r=!0,t[i-1]=oN(n))}},BY=e=>{let t=e[0],r=t===128?WY(e.slice(1,e.length)):t===255?HY(e):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},HY=e=>{for(var t=e.length,r=0,i=!1,n=t-1;n>-1;n--){var s=e[n],a;i?a=aN(s):s===0?a=s:(i=!0,a=oN(s)),a!==0&&(r-=a*Math.pow(256,t-n-1))}return r},WY=e=>{for(var t=e.length,r=0,i=t-1;i>-1;i--){var n=e[i];n!==0&&(r+=n*Math.pow(256,t-i-1))}return r},aN=e=>(255^e)&255,oN=e=>(255^e)+1&255;cN.exports={encode:qY,parse:BY}});var xn=_(($me,lN)=>{"use strict";o();var id=rd(),gn=N("path").posix,pN=uN(),nd=Symbol("slurp"),St=Symbol("type"),od=class{constructor(t,r,i,n){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[St]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(t)?this.decode(t,r||0,i,n):t&&this.set(t)}decode(t,r,i,n){if(r||(r=0),!t||!(t.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=Ri(t,r,100),this.mode=Vr(t,r+100,8),this.uid=Vr(t,r+108,8),this.gid=Vr(t,r+116,8),this.size=Vr(t,r+124,12),this.mtime=sd(t,r+136,12),this.cksum=Vr(t,r+148,12),this[nd](i),this[nd](n,!0),this[St]=Ri(t,r+156,1),this[St]===""&&(this[St]="0"),this[St]==="0"&&this.path.slice(-1)==="/"&&(this[St]="5"),this[St]==="5"&&(this.size=0),this.linkpath=Ri(t,r+157,100),t.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=Ri(t,r+265,32),this.gname=Ri(t,r+297,32),this.devmaj=Vr(t,r+329,8),this.devmin=Vr(t,r+337,8),t[r+475]!==0){let a=Ri(t,r+345,155);this.path=a+"/"+this.path}else{let a=Ri(t,r+345,130);a&&(this.path=a+"/"+this.path),this.atime=sd(t,r+476,12),this.ctime=sd(t,r+488,12)}let s=8*32;for(let a=r;a<r+148;a++)s+=t[a];for(let a=r+156;a<r+512;a++)s+=t[a];this.cksumValid=s===this.cksum,this.cksum===null&&s===8*32&&(this.nullBlock=!0)}[nd](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=t[i])}encode(t,r){if(t||(t=this.block=Buffer.alloc(512),r=0),r||(r=0),!(t.length>=r+512))throw new Error("need 512 bytes for header");let i=this.ctime||this.atime?130:155,n=jY(this.path||"",i),s=n[0],a=n[1];this.needPax=n[2],this.needPax=Ti(t,r,100,s)||this.needPax,this.needPax=Kr(t,r+100,8,this.mode)||this.needPax,this.needPax=Kr(t,r+108,8,this.uid)||this.needPax,this.needPax=Kr(t,r+116,8,this.gid)||this.needPax,this.needPax=Kr(t,r+124,12,this.size)||this.needPax,this.needPax=ad(t,r+136,12,this.mtime)||this.needPax,t[r+156]=this[St].charCodeAt(0),this.needPax=Ti(t,r+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",r+257,8),this.needPax=Ti(t,r+265,32,this.uname)||this.needPax,this.needPax=Ti(t,r+297,32,this.gname)||this.needPax,this.needPax=Kr(t,r+329,8,this.devmaj)||this.needPax,this.needPax=Kr(t,r+337,8,this.devmin)||this.needPax,this.needPax=Ti(t,r+345,i,a)||this.needPax,t[r+475]!==0?this.needPax=Ti(t,r+345,155,a)||this.needPax:(this.needPax=Ti(t,r+345,130,a)||this.needPax,this.needPax=ad(t,r+476,12,this.atime)||this.needPax,this.needPax=ad(t,r+488,12,this.ctime)||this.needPax);let c=8*32;for(let u=r;u<r+148;u++)c+=t[u];for(let u=r+156;u<r+512;u++)c+=t[u];return this.cksum=c,Kr(t,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(t){for(let r in t)t[r]!==null&&t[r]!==void 0&&(this[r]=t[r])}get type(){return id.name.get(this[St])||this[St]}get typeKey(){return this[St]}set type(t){id.code.has(t)?this[St]=id.code.get(t):this[St]=t}},jY=(e,t)=>{let i=e,n="",s,a=gn.parse(e).root||".";if(Buffer.byteLength(i)<100)s=[i,n,!1];else{n=gn.dirname(i),i=gn.basename(i);do Buffer.byteLength(i)<=100&&Buffer.byteLength(n)<=t?s=[i,n,!1]:Buffer.byteLength(i)>100&&Buffer.byteLength(n)<=t?s=[i.slice(0,99),n,!0]:(i=gn.join(gn.basename(n),i),n=gn.dirname(n));while(n!==a&&!s);s||(s=[e.slice(0,99),"",!0])}return s},Ri=(e,t,r)=>e.slice(t,t+r).toString("utf8").replace(/\0.*/,""),sd=(e,t,r)=>VY(Vr(e,t,r)),VY=e=>e===null?null:new Date(e*1e3),Vr=(e,t,r)=>e[t]&128?pN.parse(e.slice(t,t+r)):YY(e,t,r),KY=e=>isNaN(e)?null:e,YY=(e,t,r)=>KY(parseInt(e.slice(t,t+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),$Y={12:8589934591,8:2097151},Kr=(e,t,r,i)=>i===null?!1:i>$Y[r]||i<0?(pN.encode(i,e.slice(t,t+r)),!0):(zY(e,t,r,i),!1),zY=(e,t,r,i)=>e.write(XY(i,r),t,r,"ascii"),XY=(e,t)=>JY(Math.floor(e).toString(8),t),JY=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",ad=(e,t,r,i)=>i===null?!1:Kr(e,t,r,i.getTime()/1e3),ZY=new Array(156).join("\0"),Ti=(e,t,r,i)=>i===null?!1:(e.write(i+ZY,t,r,"utf8"),i.length!==Buffer.byteLength(i)||i.length>r);lN.exports=od});var Zo=_((Xme,dN)=>{"use strict";o();var QY=xn(),e$=N("path"),Ws=class{constructor(t,r){this.atime=t.atime||null,this.charset=t.charset||null,this.comment=t.comment||null,this.ctime=t.ctime||null,this.gid=t.gid||null,this.gname=t.gname||null,this.linkpath=t.linkpath||null,this.mtime=t.mtime||null,this.path=t.path||null,this.size=t.size||null,this.uid=t.uid||null,this.uname=t.uname||null,this.dev=t.dev||null,this.ino=t.ino||null,this.nlink=t.nlink||null,this.global=r||!1}encode(){let t=this.encodeBody();if(t==="")return null;let r=Buffer.byteLength(t),i=512*Math.ceil(1+r/512),n=Buffer.allocUnsafe(i);for(let s=0;s<512;s++)n[s]=0;new QY({path:("PaxHeader/"+e$.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(n),n.write(t,512,r,"utf8");for(let s=r+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===null||this[t]===void 0)return"";let r=this[t]instanceof Date?this[t].getTime()/1e3:this[t],i=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+`
9
9
  `,n=Buffer.byteLength(i),s=Math.floor(Math.log(n)/Math.log(10))+1;return n+s>=Math.pow(10,s)&&(s+=1),s+n+i}};Ws.parse=(e,t,r)=>new Ws(t$(r$(e),t),r);var t$=(e,t)=>t?Object.keys(e).reduce((r,i)=>(r[i]=e[i],r),t):e,r$=e=>e.replace(/\n$/,"").split(`
10
10
  `).reduce(i$,Object.create(null)),i$=(e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.slice((r+" ").length);let i=t.split("="),n=i.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!n)return e;let s=i.join("=");return e[n]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(n)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s,e};dN.exports=Ws});var Sn=_((Zme,mN)=>{"use strict";o();mN.exports=e=>{let t=e.length-1,r=-1;for(;t>-1&&e.charAt(t)==="/";)r=t,t--;return r===-1?e:e.slice(0,r)}});var Qo=_((efe,fN)=>{"use strict";o();fN.exports=e=>class extends e{warn(t,r,i={}){this.file&&(i.file=this.file),this.cwd&&(i.cwd=this.cwd),i.code=r instanceof Error&&r.code||t,i.tarCode=t,!this.strict&&i.recoverable!==!1?(r instanceof Error&&(i=Object.assign(r,i),r=r.message),this.emit("warn",i.tarCode,r,i)):r instanceof Error?this.emit("error",Object.assign(r,i)):this.emit("error",Object.assign(new Error(`${t}: ${r}`),i))}}});var ud=_((ife,hN)=>{"use strict";o();var ec=["|","<",">","?",":"],cd=ec.map(e=>String.fromCharCode(61440+e.charCodeAt(0))),n$=new Map(ec.map((e,t)=>[e,cd[t]])),s$=new Map(cd.map((e,t)=>[e,ec[t]]));hN.exports={encode:e=>ec.reduce((t,r)=>t.split(r).join(n$.get(r)),e),decode:e=>cd.reduce((t,r)=>t.split(r).join(s$.get(r)),e)}});var pd=_((sfe,EN)=>{"use strict";o();var{isAbsolute:a$,parse:_N}=N("path").win32;EN.exports=e=>{let t="",r=_N(e);for(;a$(e)||r.root;){let i=e.charAt(0)==="/"&&e.slice(0,4)!=="//?/"?"/":r.root;e=e.slice(i.length),t+=i,r=_N(e)}return[t,e]}});var gN=_((ofe,vN)=>{"use strict";o();vN.exports=(e,t,r)=>(e&=4095,r&&(e=(e|384)&-19),t&&(e&256&&(e|=64),e&32&&(e|=8),e&4&&(e|=1)),e)});var xd=_((lfe,wN)=>{"use strict";o();var{Minipass:RN}=Bo(),TN=Zo(),bN=xn(),tr=N("fs"),xN=N("path"),er=vn(),o$=Sn(),yN=(e,t)=>t?(e=er(e).replace(/^\.(\/|$)/,""),o$(t)+"/"+e):er(e),c$=16*1024*1024,SN=Symbol("process"),ON=Symbol("file"),AN=Symbol("directory"),dd=Symbol("symlink"),NN=Symbol("hardlink"),js=Symbol("header"),tc=Symbol("read"),md=Symbol("lstat"),rc=Symbol("onlstat"),fd=Symbol("onread"),hd=Symbol("onreadlink"),_d=Symbol("openfile"),Ed=Symbol("onopenfile"),Yr=Symbol("close"),ic=Symbol("mode"),vd=Symbol("awaitDrain"),ld=Symbol("ondrain"),rr=Symbol("prefix"),IN=Symbol("hadError"),DN=Qo(),u$=ud(),CN=pd(),PN=gN(),nc=DN(class extends RN{constructor(t,r){if(r=r||{},super(r),typeof t!="string")throw new TypeError("path is required");this.path=er(t),this.portable=!!r.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=r.maxReadSize||c$,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=er(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime||null,this.prefix=r.prefix?er(r.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=CN(this.path);n&&(this.path=s,i=n)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=u$.decode(this.path.replace(/\\/g,"/")),t=t.replace(/\\/g,"/")),this.absolute=er(r.absolute||xN.resolve(this.cwd,t)),this.path===""&&(this.path="./"),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.statCache.has(this.absolute)?this[rc](this.statCache.get(this.absolute)):this[md]()}emit(t,...r){return t==="error"&&(this[IN]=!0),super.emit(t,...r)}[md](){tr.lstat(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[rc](r)})}[rc](t){this.statCache.set(this.absolute,t),this.stat=t,t.isFile()||(t.size=0),this.type=l$(t),this.emit("stat",t),this[SN]()}[SN](){switch(this.type){case"File":return this[ON]();case"Directory":return this[AN]();case"SymbolicLink":return this[dd]();default:return this.end()}}[ic](t){return PN(t,this.type==="Directory",this.portable)}[rr](t){return yN(t,this.prefix)}[js](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new bN({path:this[rr](this.path),linkpath:this.type==="Link"?this[rr](this.linkpath):this.linkpath,mode:this[ic](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new TN({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[rr](this.path),linkpath:this.type==="Link"?this[rr](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[AN](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[js](),this.end()}[dd](){tr.readlink(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[hd](r)})}[hd](t){this.linkpath=er(t),this[js](),this.end()}[NN](t){this.type="Link",this.linkpath=er(xN.relative(this.cwd,t)),this.stat.size=0,this[js](),this.end()}[ON](){if(this.stat.nlink>1){let t=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(t)){let r=this.linkCache.get(t);if(r.indexOf(this.cwd)===0)return this[NN](r)}this.linkCache.set(t,this.absolute)}if(this[js](),this.stat.size===0)return this.end();this[_d]()}[_d](){tr.open(this.absolute,"r",(t,r)=>{if(t)return this.emit("error",t);this[Ed](r)})}[Ed](t){if(this.fd=t,this[IN])return this[Yr]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let r=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(r),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[tc]()}[tc](){let{fd:t,buf:r,offset:i,length:n,pos:s}=this;tr.read(t,r,i,n,s,(a,c)=>{if(a)return this[Yr](()=>this.emit("error",a));this[fd](c)})}[Yr](t){tr.close(this.fd,t)}[fd](t){if(t<=0&&this.remain>0){let n=new Error("encountered unexpected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[Yr](()=>this.emit("error",n))}if(t>this.remain){let n=new Error("did not encounter expected EOF");return n.path=this.absolute,n.syscall="read",n.code="EOF",this[Yr](()=>this.emit("error",n))}if(t===this.remain)for(let n=t;n<this.length&&t<this.blockRemain;n++)this.buf[n+this.offset]=0,t++,this.remain++;let r=this.offset===0&&t===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+t);this.write(r)?this[ld]():this[vd](()=>this[ld]())}[vd](t){this.once("drain",t)}write(t){if(this.blockRemain<t.length){let r=new Error("writing more data than expected");return r.path=this.absolute,this.emit("error",r)}return this.remain-=t.length,this.blockRemain-=t.length,this.pos+=t.length,this.offset+=t.length,super.write(t)}[ld](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[Yr](t=>t?this.emit("error",t):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[tc]()}}),gd=class extends nc{[md](){this[rc](tr.lstatSync(this.absolute))}[dd](){this[hd](tr.readlinkSync(this.absolute))}[_d](){this[Ed](tr.openSync(this.absolute,"r"))}[tc](){let t=!0;try{let{fd:r,buf:i,offset:n,length:s,pos:a}=this,c=tr.readSync(r,i,n,s,a);this[fd](c),t=!1}finally{if(t)try{this[Yr](()=>{})}catch{}}}[vd](t){t()}[Yr](t){tr.closeSync(this.fd),t()}},p$=DN(class extends RN{constructor(t,r){r=r||{},super(r),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=t,this.type=t.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix||null,this.path=er(t.path),this.mode=this[ic](t.mode),this.uid=this.portable?null:t.uid,this.gid=this.portable?null:t.gid,this.uname=this.portable?null:t.uname,this.gname=this.portable?null:t.gname,this.size=t.size,this.mtime=this.noMtime?null:r.mtime||t.mtime,this.atime=this.portable?null:t.atime,this.ctime=this.portable?null:t.ctime,this.linkpath=er(t.linkpath),typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let i=!1;if(!this.preservePaths){let[n,s]=CN(this.path);n&&(this.path=s,i=n)}this.remain=t.size,this.blockRemain=t.startBlockSize,this.header=new bN({path:this[rr](this.path),linkpath:this.type==="Link"?this[rr](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),i&&this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path}),this.header.encode()&&!this.noPax&&super.write(new TN({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[rr](this.path),linkpath:this.type==="Link"?this[rr](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),t.pipe(this)}[rr](t){return yN(t,this.prefix)}[ic](t){return PN(t,this.type==="Directory",this.portable)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=r,super.write(t)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});nc.Sync=gd;nc.Tar=p$;var l$=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";wN.exports=nc});var FN=_((mfe,LN)=>{"use strict";o();LN.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var Sd=_((hfe,MN)=>{"use strict";o();MN.exports=Q;Q.Node=bi;Q.create=Q;function Q(e){var t=this;if(t instanceof Q||(t=new Q),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(n){t.push(n)});else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)t.push(arguments[r]);return t}Q.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Q.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Q.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Q.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)m$(this,arguments[e]);return this.length};Q.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)f$(this,arguments[e]);return this.length};Q.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Q.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Q.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,i=0;r!==null;i++)e.call(t,r.value,i,this),r=r.next};Q.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,i=this.length-1;r!==null;i--)e.call(t,r.value,i,this),r=r.prev};Q.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};Q.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};Q.prototype.map=function(e,t){t=t||this;for(var r=new Q,i=this.head;i!==null;)r.push(e.call(t,i.value,this)),i=i.next;return r};Q.prototype.mapReverse=function(e,t){t=t||this;for(var r=new Q,i=this.tail;i!==null;)r.push(e.call(t,i.value,this)),i=i.prev;return r};Q.prototype.reduce=function(e,t){var r,i=this.head;if(arguments.length>1)r=t;else if(this.head)i=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)r=e(r,i.value,n),i=i.next;return r};Q.prototype.reduceReverse=function(e,t){var r,i=this.tail;if(arguments.length>1)r=t;else if(this.tail)i=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)r=e(r,i.value,n),i=i.prev;return r};Q.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};Q.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};Q.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,n=this.head;n!==null&&i<e;i++)n=n.next;for(;n!==null&&i<t;i++,n=n.next)r.push(n.value);return r};Q.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,n=this.tail;n!==null&&i>t;i--)n=n.prev;for(;n!==null&&i>e;i--,n=n.prev)r.push(n.value);return r};Q.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,n=this.head;n!==null&&i<e;i++)n=n.next;for(var s=[],i=0;n&&i<t;i++)s.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var i=0;i<r.length;i++)n=d$(this,n,r[i]);return s};Q.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var i=r.prev;r.prev=r.next,r.next=i}return this.head=t,this.tail=e,this};function d$(e,t,r){var i=t===e.head?new bi(r,null,t,e):new bi(r,t,t.next,e);return i.next===null&&(e.tail=i),i.prev===null&&(e.head=i),e.length++,i}function m$(e,t){e.tail=new bi(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function f$(e,t){e.head=new bi(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function bi(e,t,r,i){if(!(this instanceof bi))return new bi(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{FN()(Q)}catch{}});var mc=_((vfe,jN)=>{"use strict";o();var lc=class{constructor(t,r){this.path=t||"./",this.absolute=r,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},{Minipass:h$}=Bo(),UN=Ql(),_$=Xo(),Dd=xd(),E$=Dd.Sync,v$=Dd.Tar,g$=Sd(),qN=Buffer.alloc(1024),oc=Symbol("onStat"),sc=Symbol("ended"),ir=Symbol("queue"),On=Symbol("current"),yi=Symbol("process"),ac=Symbol("processing"),kN=Symbol("processJob"),nr=Symbol("jobs"),Od=Symbol("jobDone"),cc=Symbol("addFSEntry"),GN=Symbol("addTarEntry"),Rd=Symbol("stat"),Td=Symbol("readdir"),uc=Symbol("onreaddir"),pc=Symbol("pipe"),BN=Symbol("entry"),Ad=Symbol("entryOpt"),bd=Symbol("writeEntryClass"),WN=Symbol("write"),Nd=Symbol("ondrain"),dc=N("fs"),HN=N("path"),x$=Qo(),Id=vn(),Cd=x$(class extends h${constructor(t){if(super(t),t=t||Object.create(null),this.opt=t,this.file=t.file||"",this.cwd=t.cwd||process.cwd(),this.maxReadSize=t.maxReadSize,this.preservePaths=!!t.preservePaths,this.strict=!!t.strict,this.noPax=!!t.noPax,this.prefix=Id(t.prefix||""),this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.readdirCache=t.readdirCache||new Map,this[bd]=Dd,typeof t.onwarn=="function"&&this.on("warn",t.onwarn),this.portable=!!t.portable,this.zip=null,t.gzip||t.brotli){if(t.gzip&&t.brotli)throw new TypeError("gzip and brotli are mutually exclusive");t.gzip&&(typeof t.gzip!="object"&&(t.gzip={}),this.portable&&(t.gzip.portable=!0),this.zip=new UN.Gzip(t.gzip)),t.brotli&&(typeof t.brotli!="object"&&(t.brotli={}),this.zip=new UN.BrotliCompress(t.brotli)),this.zip.on("data",r=>super.write(r)),this.zip.on("end",r=>super.end()),this.zip.on("drain",r=>this[Nd]()),this.on("resume",r=>this.zip.resume())}else this.on("drain",this[Nd]);this.noDirRecurse=!!t.noDirRecurse,this.follow=!!t.follow,this.noMtime=!!t.noMtime,this.mtime=t.mtime||null,this.filter=typeof t.filter=="function"?t.filter:r=>!0,this[ir]=new g$,this[nr]=0,this.jobs=+t.jobs||4,this[ac]=!1,this[sc]=!1}[WN](t){return super.write(t)}add(t){return this.write(t),this}end(t){return t&&this.write(t),this[sc]=!0,this[yi](),this}write(t){if(this[sc])throw new Error("write after end");return t instanceof _$?this[GN](t):this[cc](t),this.flowing}[GN](t){let r=Id(HN.resolve(this.cwd,t.path));if(!this.filter(t.path,t))t.resume();else{let i=new lc(t.path,r,!1);i.entry=new v$(t,this[Ad](i)),i.entry.on("end",n=>this[Od](i)),this[nr]+=1,this[ir].push(i)}this[yi]()}[cc](t){let r=Id(HN.resolve(this.cwd,t));this[ir].push(new lc(t,r)),this[yi]()}[Rd](t){t.pending=!0,this[nr]+=1;let r=this.follow?"stat":"lstat";dc[r](t.absolute,(i,n)=>{t.pending=!1,this[nr]-=1,i?this.emit("error",i):this[oc](t,n)})}[oc](t,r){this.statCache.set(t.absolute,r),t.stat=r,this.filter(t.path,r)||(t.ignore=!0),this[yi]()}[Td](t){t.pending=!0,this[nr]+=1,dc.readdir(t.absolute,(r,i)=>{if(t.pending=!1,this[nr]-=1,r)return this.emit("error",r);this[uc](t,i)})}[uc](t,r){this.readdirCache.set(t.absolute,r),t.readdir=r,this[yi]()}[yi](){if(!this[ac]){this[ac]=!0;for(let t=this[ir].head;t!==null&&this[nr]<this.jobs;t=t.next)if(this[kN](t.value),t.value.ignore){let r=t.next;this[ir].removeNode(t),t.next=r}this[ac]=!1,this[sc]&&!this[ir].length&&this[nr]===0&&(this.zip?this.zip.end(qN):(super.write(qN),super.end()))}}get[On](){return this[ir]&&this[ir].head&&this[ir].head.value}[Od](t){this[ir].shift(),this[nr]-=1,this[yi]()}[kN](t){if(!t.pending){if(t.entry){t===this[On]&&!t.piped&&this[pc](t);return}if(t.stat||(this.statCache.has(t.absolute)?this[oc](t,this.statCache.get(t.absolute)):this[Rd](t)),!!t.stat&&!t.ignore&&!(!this.noDirRecurse&&t.stat.isDirectory()&&!t.readdir&&(this.readdirCache.has(t.absolute)?this[uc](t,this.readdirCache.get(t.absolute)):this[Td](t),!t.readdir))){if(t.entry=this[BN](t),!t.entry){t.ignore=!0;return}t===this[On]&&!t.piped&&this[pc](t)}}}[Ad](t){return{onwarn:(r,i,n)=>this.warn(r,i,n),noPax:this.noPax,cwd:this.cwd,absolute:t.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[BN](t){this[nr]+=1;try{return new this[bd](t.path,this[Ad](t)).on("end",()=>this[Od](t)).on("error",r=>this.emit("error",r))}catch(r){this.emit("error",r)}}[Nd](){this[On]&&this[On].entry&&this[On].entry.resume()}[pc](t){t.piped=!0,t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[cc](a+n)});let r=t.entry,i=this.zip;i?r.on("data",n=>{i.write(n)||r.pause()}):r.on("data",n=>{super.write(n)||r.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),yd=class extends Cd{constructor(t){super(t),this[bd]=E$}pause(){}resume(){}[Rd](t){let r=this.follow?"statSync":"lstatSync";this[oc](t,dc[r](t.absolute))}[Td](t,r){this[uc](t,dc.readdirSync(t.absolute))}[pc](t){let r=t.entry,i=this.zip;t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[cc](a+n)}),i?r.on("data",n=>{i.write(n)}):r.on("data",n=>{super[WN](n)})}};Cd.Sync=yd;jN.exports=Cd});var Dn=_(Ks=>{"use strict";o();var S$=Ul(),O$=N("events").EventEmitter,ft=N("fs"),Ld=ft.writev;if(!Ld){let e=process.binding("fs"),t=e.FSReqWrap||e.FSReqCallback;Ld=(r,i,n,s)=>{let a=(u,p)=>s(u,p,i),c=new t;c.oncomplete=a,e.writeBuffers(r,i,n,c)}}var bn=Symbol("_autoClose"),jt=Symbol("_close"),Vs=Symbol("_ended"),ne=Symbol("_fd"),VN=Symbol("_finished"),zr=Symbol("_flags"),Pd=Symbol("_flush"),Fd=Symbol("_handleChunk"),Md=Symbol("_makeBuf"),vc=Symbol("_mode"),fc=Symbol("_needDrain"),Rn=Symbol("_onerror"),yn=Symbol("_onopen"),wd=Symbol("_onread"),Nn=Symbol("_onwrite"),Xr=Symbol("_open"),Tr=Symbol("_path"),Di=Symbol("_pos"),sr=Symbol("_queue"),In=Symbol("_read"),KN=Symbol("_readSize"),$r=Symbol("_reading"),hc=Symbol("_remain"),YN=Symbol("_size"),_c=Symbol("_write"),An=Symbol("_writing"),Ec=Symbol("_defaultFlag"),Tn=Symbol("_errored"),gc=class extends S${constructor(t,r){if(r=r||{},super(r),this.readable=!0,this.writable=!1,typeof t!="string")throw new TypeError("path must be a string");this[Tn]=!1,this[ne]=typeof r.fd=="number"?r.fd:null,this[Tr]=t,this[KN]=r.readSize||16*1024*1024,this[$r]=!1,this[YN]=typeof r.size=="number"?r.size:1/0,this[hc]=this[YN],this[bn]=typeof r.autoClose=="boolean"?r.autoClose:!0,typeof this[ne]=="number"?this[In]():this[Xr]()}get fd(){return this[ne]}get path(){return this[Tr]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[Xr](){ft.open(this[Tr],"r",(t,r)=>this[yn](t,r))}[yn](t,r){t?this[Rn](t):(this[ne]=r,this.emit("open",r),this[In]())}[Md](){return Buffer.allocUnsafe(Math.min(this[KN],this[hc]))}[In](){if(!this[$r]){this[$r]=!0;let t=this[Md]();if(t.length===0)return process.nextTick(()=>this[wd](null,0,t));ft.read(this[ne],t,0,t.length,null,(r,i,n)=>this[wd](r,i,n))}}[wd](t,r,i){this[$r]=!1,t?this[Rn](t):this[Fd](r,i)&&this[In]()}[jt](){if(this[bn]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,ft.close(t,r=>r?this.emit("error",r):this.emit("close"))}}[Rn](t){this[$r]=!0,this[jt](),this.emit("error",t)}[Fd](t,r){let i=!1;return this[hc]-=t,t>0&&(i=super.write(t<r.length?r.slice(0,t):r)),(t===0||this[hc]<=0)&&(i=!1,this[jt](),super.end()),i}emit(t,r){switch(t){case"prefinish":case"finish":break;case"drain":typeof this[ne]=="number"&&this[In]();break;case"error":return this[Tn]?void 0:(this[Tn]=!0,super.emit(t,r));default:return super.emit(t,r)}}},Ud=class extends gc{[Xr](){let t=!0;try{this[yn](null,ft.openSync(this[Tr],"r")),t=!1}finally{t&&this[jt]()}}[In](){let t=!0;try{if(!this[$r]){this[$r]=!0;do{let r=this[Md](),i=r.length===0?0:ft.readSync(this[ne],r,0,r.length,null);if(!this[Fd](i,r))break}while(!0);this[$r]=!1}t=!1}finally{t&&this[jt]()}}[jt](){if(this[bn]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,ft.closeSync(t),this.emit("close")}}},xc=class extends O${constructor(t,r){r=r||{},super(r),this.readable=!1,this.writable=!0,this[Tn]=!1,this[An]=!1,this[Vs]=!1,this[fc]=!1,this[sr]=[],this[Tr]=t,this[ne]=typeof r.fd=="number"?r.fd:null,this[vc]=r.mode===void 0?438:r.mode,this[Di]=typeof r.start=="number"?r.start:null,this[bn]=typeof r.autoClose=="boolean"?r.autoClose:!0;let i=this[Di]!==null?"r+":"w";this[Ec]=r.flags===void 0,this[zr]=this[Ec]?i:r.flags,this[ne]===null&&this[Xr]()}emit(t,r){if(t==="error"){if(this[Tn])return;this[Tn]=!0}return super.emit(t,r)}get fd(){return this[ne]}get path(){return this[Tr]}[Rn](t){this[jt](),this[An]=!0,this.emit("error",t)}[Xr](){ft.open(this[Tr],this[zr],this[vc],(t,r)=>this[yn](t,r))}[yn](t,r){this[Ec]&&this[zr]==="r+"&&t&&t.code==="ENOENT"?(this[zr]="w",this[Xr]()):t?this[Rn](t):(this[ne]=r,this.emit("open",r),this[Pd]())}end(t,r){return t&&this.write(t,r),this[Vs]=!0,!this[An]&&!this[sr].length&&typeof this[ne]=="number"&&this[Nn](null,0),this}write(t,r){return typeof t=="string"&&(t=Buffer.from(t,r)),this[Vs]?(this.emit("error",new Error("write() after end()")),!1):this[ne]===null||this[An]||this[sr].length?(this[sr].push(t),this[fc]=!0,!1):(this[An]=!0,this[_c](t),!0)}[_c](t){ft.write(this[ne],t,0,t.length,this[Di],(r,i)=>this[Nn](r,i))}[Nn](t,r){t?this[Rn](t):(this[Di]!==null&&(this[Di]+=r),this[sr].length?this[Pd]():(this[An]=!1,this[Vs]&&!this[VN]?(this[VN]=!0,this[jt](),this.emit("finish")):this[fc]&&(this[fc]=!1,this.emit("drain"))))}[Pd](){if(this[sr].length===0)this[Vs]&&this[Nn](null,0);else if(this[sr].length===1)this[_c](this[sr].pop());else{let t=this[sr];this[sr]=[],Ld(this[ne],t,this[Di],(r,i)=>this[Nn](r,i))}}[jt](){if(this[bn]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,ft.close(t,r=>r?this.emit("error",r):this.emit("close"))}}},qd=class extends xc{[Xr](){let t;if(this[Ec]&&this[zr]==="r+")try{t=ft.openSync(this[Tr],this[zr],this[vc])}catch(r){if(r.code==="ENOENT")return this[zr]="w",this[Xr]();throw r}else t=ft.openSync(this[Tr],this[zr],this[vc]);this[yn](null,t)}[jt](){if(this[bn]&&typeof this[ne]=="number"){let t=this[ne];this[ne]=null,ft.closeSync(t),this.emit("close")}}[_c](t){let r=!0;try{this[Nn](null,ft.writeSync(this[ne],t,0,t.length,this[Di])),r=!1}finally{if(r)try{this[jt]()}catch{}}}};Ks.ReadStream=gc;Ks.ReadStreamSync=Ud;Ks.WriteStream=xc;Ks.WriteStreamSync=qd});var Tc=_((Afe,iI)=>{"use strict";o();var A$=Qo(),$N=xn(),N$=N("events"),I$=Sd(),R$=1024*1024,T$=Xo(),zN=Zo(),XN=Ql(),{nextTick:b$}=N("process"),kd=Buffer.from([31,139]),yt=Symbol("state"),Ci=Symbol("writeEntry"),br=Symbol("readEntry"),Gd=Symbol("nextEntry"),JN=Symbol("processEntry"),Dt=Symbol("extendedHeader"),Ys=Symbol("globalExtendedHeader"),Jr=Symbol("meta"),ZN=Symbol("emitMeta"),ue=Symbol("buffer"),yr=Symbol("queue"),Zr=Symbol("ended"),QN=Symbol("emittedEnd"),Pi=Symbol("emit"),qe=Symbol("unzip"),Sc=Symbol("consumeChunk"),Oc=Symbol("consumeChunkSub"),Bd=Symbol("consumeBody"),eI=Symbol("consumeMeta"),tI=Symbol("consumeHeader"),Ac=Symbol("consuming"),Hd=Symbol("bufferConcat"),Wd=Symbol("maybeEnd"),$s=Symbol("writing"),Qr=Symbol("aborted"),Nc=Symbol("onDone"),wi=Symbol("sawValidEntry"),Ic=Symbol("sawNullBlock"),Rc=Symbol("sawEOF"),rI=Symbol("closeStream"),y$=e=>!0;iI.exports=A$(class extends N${constructor(t){t=t||{},super(t),this.file=t.file||"",this[wi]=null,this.on(Nc,i=>{(this[yt]==="begin"||this[wi]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),t.ondone?this.on(Nc,t.ondone):this.on(Nc,i=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!t.strict,this.maxMetaEntrySize=t.maxMetaEntrySize||R$,this.filter=typeof t.filter=="function"?t.filter:y$;let r=t.file&&(t.file.endsWith(".tar.br")||t.file.endsWith(".tbr"));this.brotli=!t.gzip&&t.brotli!==void 0?t.brotli:r?void 0:!1,this.writable=!0,this.readable=!1,this[yr]=new I$,this[ue]=null,this[br]=null,this[Ci]=null,this[yt]="begin",this[Jr]="",this[Dt]=null,this[Ys]=null,this[Zr]=!1,this[qe]=null,this[Qr]=!1,this[Ic]=!1,this[Rc]=!1,this.on("end",()=>this[rI]()),typeof t.onwarn=="function"&&this.on("warn",t.onwarn),typeof t.onentry=="function"&&this.on("entry",t.onentry)}[tI](t,r){this[wi]===null&&(this[wi]=!1);let i;try{i=new $N(t,r,this[Dt],this[Ys])}catch(n){return this.warn("TAR_ENTRY_INVALID",n)}if(i.nullBlock)this[Ic]?(this[Rc]=!0,this[yt]==="begin"&&(this[yt]="header"),this[Pi]("eof")):(this[Ic]=!0,this[Pi]("nullBlock"));else if(this[Ic]=!1,!i.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:i});else if(!i.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:i});else{let n=i.type;if(/^(Symbolic)?Link$/.test(n)&&!i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:i});else if(!/^(Symbolic)?Link$/.test(n)&&i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:i});else{let s=this[Ci]=new T$(i,this[Dt],this[Ys]);if(!this[wi])if(s.remain){let a=()=>{s.invalid||(this[wi]=!0)};s.on("end",a)}else this[wi]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[Pi]("ignoredEntry",s),this[yt]="ignore",s.resume()):s.size>0&&(this[Jr]="",s.on("data",a=>this[Jr]+=a),this[yt]="meta"):(this[Dt]=null,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[Pi]("ignoredEntry",s),this[yt]=s.remain?"ignore":"header",s.resume()):(s.remain?this[yt]="body":(this[yt]="header",s.end()),this[br]?this[yr].push(s):(this[yr].push(s),this[Gd]())))}}}[rI](){b$(()=>this.emit("close"))}[JN](t){let r=!0;return t?Array.isArray(t)?this.emit.apply(this,t):(this[br]=t,this.emit("entry",t),t.emittedEnd||(t.on("end",i=>this[Gd]()),r=!1)):(this[br]=null,r=!1),r}[Gd](){do;while(this[JN](this[yr].shift()));if(!this[yr].length){let t=this[br];!t||t.flowing||t.size===t.remain?this[$s]||this.emit("drain"):t.once("drain",i=>this.emit("drain"))}}[Bd](t,r){let i=this[Ci],n=i.blockRemain,s=n>=t.length&&r===0?t:t.slice(r,r+n);return i.write(s),i.blockRemain||(this[yt]="header",this[Ci]=null,i.end()),s.length}[eI](t,r){let i=this[Ci],n=this[Bd](t,r);return this[Ci]||this[ZN](i),n}[Pi](t,r,i){!this[yr].length&&!this[br]?this.emit(t,r,i):this[yr].push([t,r,i])}[ZN](t){switch(this[Pi]("meta",this[Jr]),t.type){case"ExtendedHeader":case"OldExtendedHeader":this[Dt]=zN.parse(this[Jr],this[Dt],!1);break;case"GlobalExtendedHeader":this[Ys]=zN.parse(this[Jr],this[Ys],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[Dt]=this[Dt]||Object.create(null),this[Dt].path=this[Jr].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[Dt]=this[Dt]||Object.create(null),this[Dt].linkpath=this[Jr].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+t.type)}}abort(t){this[Qr]=!0,this.emit("abort",t),this.warn("TAR_ABORT",t,{recoverable:!1})}write(t){if(this[Qr])return;if((this[qe]===null||this.brotli===void 0&&this[qe]===!1)&&t){if(this[ue]&&(t=Buffer.concat([this[ue],t]),this[ue]=null),t.length<kd.length)return this[ue]=t,!0;for(let s=0;this[qe]===null&&s<kd.length;s++)t[s]!==kd[s]&&(this[qe]=!1);let n=this.brotli===void 0;if(this[qe]===!1&&n)if(t.length<512)if(this[Zr])this.brotli=!0;else return this[ue]=t,!0;else try{new $N(t.slice(0,512)),this.brotli=!1}catch{this.brotli=!0}if(this[qe]===null||this[qe]===!1&&this.brotli){let s=this[Zr];this[Zr]=!1,this[qe]=this[qe]===null?new XN.Unzip:new XN.BrotliDecompress,this[qe].on("data",c=>this[Sc](c)),this[qe].on("error",c=>this.abort(c)),this[qe].on("end",c=>{this[Zr]=!0,this[Sc]()}),this[$s]=!0;let a=this[qe][s?"end":"write"](t);return this[$s]=!1,a}}this[$s]=!0,this[qe]?this[qe].write(t):this[Sc](t),this[$s]=!1;let i=this[yr].length?!1:this[br]?this[br].flowing:!0;return!i&&!this[yr].length&&this[br].once("drain",n=>this.emit("drain")),i}[Hd](t){t&&!this[Qr]&&(this[ue]=this[ue]?Buffer.concat([this[ue],t]):t)}[Wd](){if(this[Zr]&&!this[QN]&&!this[Qr]&&!this[Ac]){this[QN]=!0;let t=this[Ci];if(t&&t.blockRemain){let r=this[ue]?this[ue].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${t.blockRemain} more bytes, only ${r} available)`,{entry:t}),this[ue]&&t.write(this[ue]),t.end()}this[Pi](Nc)}}[Sc](t){if(this[Ac])this[Hd](t);else if(!t&&!this[ue])this[Wd]();else{if(this[Ac]=!0,this[ue]){this[Hd](t);let r=this[ue];this[ue]=null,this[Oc](r)}else this[Oc](t);for(;this[ue]&&this[ue].length>=512&&!this[Qr]&&!this[Rc];){let r=this[ue];this[ue]=null,this[Oc](r)}this[Ac]=!1}(!this[ue]||this[Zr])&&this[Wd]()}[Oc](t){let r=0,i=t.length;for(;r+512<=i&&!this[Qr]&&!this[Rc];)switch(this[yt]){case"begin":case"header":this[tI](t,r),r+=512;break;case"ignore":case"body":r+=this[Bd](t,r);break;case"meta":r+=this[eI](t,r);break;default:throw new Error("invalid state: "+this[yt])}r<i&&(this[ue]?this[ue]=Buffer.concat([t.slice(r),this[ue]]):this[ue]=t.slice(r))}end(t){this[Qr]||(this[qe]?this[qe].end(t):(this[Zr]=!0,this.brotli===void 0&&(t=t||Buffer.alloc(0)),this.write(t)))}})});var bc=_((Ife,oI)=>{"use strict";o();var D$=mn(),sI=Tc(),Cn=N("fs"),C$=Dn(),nI=N("path"),jd=Sn();oI.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let i=D$(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&w$(i,t),i.noResume||P$(i),i.file&&i.sync?L$(i):i.file?F$(i,r):aI(i)};var P$=e=>{let t=e.onentry;e.onentry=t?r=>{t(r),r.resume()}:r=>r.resume()},w$=(e,t)=>{let r=new Map(t.map(s=>[jd(s),!0])),i=e.filter,n=(s,a)=>{let c=a||nI.parse(s).root||".",u=s===c?!1:r.has(s)?r.get(s):n(nI.dirname(s),c);return r.set(s,u),u};e.filter=i?(s,a)=>i(s,a)&&n(jd(s)):s=>n(jd(s))},L$=e=>{let t=aI(e),r=e.file,i=!0,n;try{let s=Cn.statSync(r),a=e.maxReadSize||16*1024*1024;if(s.size<a)t.end(Cn.readFileSync(r));else{let c=0,u=Buffer.allocUnsafe(a);for(n=Cn.openSync(r,"r");c<s.size;){let p=Cn.readSync(n,u,0,a,c);c+=p,t.write(u.slice(0,p))}t.end()}i=!1}finally{if(i&&n)try{Cn.closeSync(n)}catch{}}},F$=(e,t)=>{let r=new sI(e),i=e.maxReadSize||16*1024*1024,n=e.file,s=new Promise((a,c)=>{r.on("error",c),r.on("end",a),Cn.stat(n,(u,p)=>{if(u)c(u);else{let l=new C$.ReadStream(n,{readSize:i,size:p.size});l.on("error",c),l.pipe(r)}})});return t?s.then(t,t):s},aI=e=>new sI(e)});var mI=_((Tfe,dI)=>{"use strict";o();var M$=mn(),yc=mc(),cI=Dn(),uI=bc(),pI=N("path");dI.exports=(e,t,r)=>{if(typeof t=="function"&&(r=t),Array.isArray(e)&&(t=e,e={}),!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);let i=M$(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return i.file&&i.sync?U$(i,t):i.file?q$(i,t,r):i.sync?k$(i,t):G$(i,t)};var U$=(e,t)=>{let r=new yc.Sync(e),i=new cI.WriteStreamSync(e.file,{mode:e.mode||438});r.pipe(i),lI(r,t)},q$=(e,t,r)=>{let i=new yc(e),n=new cI.WriteStream(e.file,{mode:e.mode||438});i.pipe(n);let s=new Promise((a,c)=>{n.on("error",c),n.on("close",a),i.on("error",c)});return Vd(i,t),r?s.then(r,r):s},lI=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?uI({file:pI.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>e.add(i)}):e.add(r)}),e.end()},Vd=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return uI({file:pI.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:i=>e.add(i)}).then(i=>Vd(e,t));e.add(r)}e.end()},k$=(e,t)=>{let r=new yc.Sync(e);return lI(r,t),r},G$=(e,t)=>{let r=new yc(e);return Vd(r,t),r}});var Kd=_((yfe,xI)=>{"use strict";o();var B$=mn(),fI=mc(),Ot=N("fs"),hI=Dn(),_I=bc(),EI=N("path"),vI=xn();xI.exports=(e,t,r)=>{let i=B$(e);if(!i.file)throw new TypeError("file is required");if(i.gzip||i.brotli||i.file.endsWith(".br")||i.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),i.sync?H$(i,t):j$(i,t,r)};var H$=(e,t)=>{let r=new fI.Sync(e),i=!0,n,s;try{try{n=Ot.openSync(e.file,"r+")}catch(u){if(u.code==="ENOENT")n=Ot.openSync(e.file,"w+");else throw u}let a=Ot.fstatSync(n),c=Buffer.alloc(512);e:for(s=0;s<a.size;s+=512){for(let l=0,f=0;l<512;l+=f){if(f=Ot.readSync(n,c,l,c.length-l,s+l),s===0&&c[0]===31&&c[1]===139)throw new Error("cannot append to compressed archives");if(!f)break e}let u=new vI(c);if(!u.cksumValid)break;let p=512*Math.ceil(u.size/512);if(s+p+512>a.size)break;s+=p,e.mtimeCache&&e.mtimeCache.set(u.path,u.mtime)}i=!1,W$(e,r,s,n,t)}finally{if(i)try{Ot.closeSync(n)}catch{}}},W$=(e,t,r,i,n)=>{let s=new hI.WriteStreamSync(e.file,{fd:i,start:r});t.pipe(s),V$(t,n)},j$=(e,t,r)=>{t=Array.from(t);let i=new fI(e),n=(a,c,u)=>{let p=(x,S)=>{x?Ot.close(a,R=>u(x)):u(null,S)},l=0;if(c===0)return p(null,0);let f=0,h=Buffer.alloc(512),E=(x,S)=>{if(x)return p(x);if(f+=S,f<512&&S)return Ot.read(a,h,f,h.length-f,l+f,E);if(l===0&&h[0]===31&&h[1]===139)return p(new Error("cannot append to compressed archives"));if(f<512)return p(null,l);let R=new vI(h);if(!R.cksumValid)return p(null,l);let b=512*Math.ceil(R.size/512);if(l+b+512>c||(l+=b+512,l>=c))return p(null,l);e.mtimeCache&&e.mtimeCache.set(R.path,R.mtime),f=0,Ot.read(a,h,0,512,l,E)};Ot.read(a,h,0,512,l,E)},s=new Promise((a,c)=>{i.on("error",c);let u="r+",p=(l,f)=>{if(l&&l.code==="ENOENT"&&u==="r+")return u="w+",Ot.open(e.file,u,p);if(l)return c(l);Ot.fstat(f,(h,E)=>{if(h)return Ot.close(f,()=>c(h));n(f,E.size,(x,S)=>{if(x)return c(x);let R=new hI.WriteStream(e.file,{fd:f,start:S});i.pipe(R),R.on("error",c),R.on("close",a),gI(i,t)})})};Ot.open(e.file,u,p)});return r?s.then(r,r):s},V$=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?_I({file:EI.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:i=>e.add(i)}):e.add(r)}),e.end()},gI=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return _I({file:EI.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:i=>e.add(i)}).then(i=>gI(e,t));e.add(r)}e.end()}});var OI=_((Cfe,SI)=>{"use strict";o();var K$=mn(),Y$=Kd();SI.exports=(e,t,r)=>{let i=K$(e);if(!i.file)throw new TypeError("file is required");if(i.gzip||i.brotli||i.file.endsWith(".br")||i.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),$$(i),Y$(i,t,r)};var $$=e=>{let t=e.filter;e.mtimeCache||(e.mtimeCache=new Map),e.filter=t?(r,i)=>t(r,i)&&!(e.mtimeCache.get(r)>i.mtime):(r,i)=>!(e.mtimeCache.get(r)>i.mtime)}});var II=_((wfe,NI)=>{"use strict";o();var{promisify:AI}=N("util"),ei=N("fs"),z$=e=>{if(!e)e={mode:511,fs:ei};else if(typeof e=="object")e={mode:511,fs:ei,...e};else if(typeof e=="number")e={mode:e,fs:ei};else if(typeof e=="string")e={mode:parseInt(e,8),fs:ei};else throw new TypeError("invalid options argument");return e.mkdir=e.mkdir||e.fs.mkdir||ei.mkdir,e.mkdirAsync=AI(e.mkdir),e.stat=e.stat||e.fs.stat||ei.stat,e.statAsync=AI(e.stat),e.statSync=e.statSync||e.fs.statSync||ei.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||ei.mkdirSync,e};NI.exports=z$});var TI=_((Ffe,RI)=>{"use strict";o();var X$=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:J$,parse:Z$}=N("path"),Q$=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=J$(e),X$==="win32"){let t=/[*|"<>?:]/,{root:r}=Z$(e);if(t.test(e.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};RI.exports=Q$});var PI=_((Ufe,CI)=>{"use strict";o();var{dirname:bI}=N("path"),yI=(e,t,r=void 0)=>r===t?Promise.resolve():e.statAsync(t).then(i=>i.isDirectory()?r:void 0,i=>i.code==="ENOENT"?yI(e,bI(t),t):void 0),DI=(e,t,r=void 0)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(i){return i.code==="ENOENT"?DI(e,bI(t),t):void 0}};CI.exports={findMade:yI,findMadeSync:DI}});var zd=_((kfe,LI)=>{"use strict";o();var{dirname:wI}=N("path"),Yd=(e,t,r)=>{t.recursive=!1;let i=wI(e);return i===e?t.mkdirAsync(e,t).catch(n=>{if(n.code!=="EISDIR")throw n}):t.mkdirAsync(e,t).then(()=>r||e,n=>{if(n.code==="ENOENT")return Yd(i,t).then(s=>Yd(e,t,s));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return t.statAsync(e).then(s=>{if(s.isDirectory())return r;throw n},()=>{throw n})})},$d=(e,t,r)=>{let i=wI(e);if(t.recursive=!1,i===e)try{return t.mkdirSync(e,t)}catch(n){if(n.code!=="EISDIR")throw n;return}try{return t.mkdirSync(e,t),r||e}catch(n){if(n.code==="ENOENT")return $d(e,t,$d(i,t,r));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!t.statSync(e).isDirectory())throw n}catch{throw n}}};LI.exports={mkdirpManual:Yd,mkdirpManualSync:$d}});var UI=_((Bfe,MI)=>{"use strict";o();var{dirname:FI}=N("path"),{findMade:ez,findMadeSync:tz}=PI(),{mkdirpManual:rz,mkdirpManualSync:iz}=zd(),nz=(e,t)=>(t.recursive=!0,FI(e)===e?t.mkdirAsync(e,t):ez(t,e).then(i=>t.mkdirAsync(e,t).then(()=>i).catch(n=>{if(n.code==="ENOENT")return rz(e,t);throw n}))),sz=(e,t)=>{if(t.recursive=!0,FI(e)===e)return t.mkdirSync(e,t);let i=tz(t,e);try{return t.mkdirSync(e,t),i}catch(n){if(n.code==="ENOENT")return iz(e,t);throw n}};MI.exports={mkdirpNative:nz,mkdirpNativeSync:sz}});var BI=_((Wfe,GI)=>{"use strict";o();var qI=N("fs"),az=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Xd=az.replace(/^v/,"").split("."),kI=+Xd[0]>10||+Xd[0]==10&&+Xd[1]>=12,oz=kI?e=>e.mkdir===qI.mkdir:()=>!1,cz=kI?e=>e.mkdirSync===qI.mkdirSync:()=>!1;GI.exports={useNative:oz,useNativeSync:cz}});var YI=_((Vfe,KI)=>{"use strict";o();var Pn=II(),wn=TI(),{mkdirpNative:HI,mkdirpNativeSync:WI}=UI(),{mkdirpManual:jI,mkdirpManualSync:VI}=zd(),{useNative:uz,useNativeSync:pz}=BI(),Ln=(e,t)=>(e=wn(e),t=Pn(t),uz(t)?HI(e,t):jI(e,t)),lz=(e,t)=>(e=wn(e),t=Pn(t),pz(t)?WI(e,t):VI(e,t));Ln.sync=lz;Ln.native=(e,t)=>HI(wn(e),Pn(t));Ln.manual=(e,t)=>jI(wn(e),Pn(t));Ln.nativeSync=(e,t)=>WI(wn(e),Pn(t));Ln.manualSync=(e,t)=>VI(wn(e),Pn(t));KI.exports=Ln});var eR=_((Yfe,QI)=>{"use strict";o();var Ct=N("fs"),Li=N("path"),dz=Ct.lchown?"lchown":"chown",mz=Ct.lchownSync?"lchownSync":"chownSync",zI=Ct.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),$I=(e,t,r)=>{try{return Ct[mz](e,t,r)}catch(i){if(i.code!=="ENOENT")throw i}},fz=(e,t,r)=>{try{return Ct.chownSync(e,t,r)}catch(i){if(i.code!=="ENOENT")throw i}},hz=zI?(e,t,r,i)=>n=>{!n||n.code!=="EISDIR"?i(n):Ct.chown(e,t,r,i)}:(e,t,r,i)=>i,Jd=zI?(e,t,r)=>{try{return $I(e,t,r)}catch(i){if(i.code!=="EISDIR")throw i;fz(e,t,r)}}:(e,t,r)=>$I(e,t,r),_z=process.version,XI=(e,t,r)=>Ct.readdir(e,t,r),Ez=(e,t)=>Ct.readdirSync(e,t);/^v4\./.test(_z)&&(XI=(e,t,r)=>Ct.readdir(e,r));var Dc=(e,t,r,i)=>{Ct[dz](e,t,r,hz(e,t,r,n=>{i(n&&n.code!=="ENOENT"?n:null)}))},JI=(e,t,r,i,n)=>{if(typeof t=="string")return Ct.lstat(Li.resolve(e,t),(s,a)=>{if(s)return n(s.code!=="ENOENT"?s:null);a.name=t,JI(e,a,r,i,n)});if(t.isDirectory())Zd(Li.resolve(e,t.name),r,i,s=>{if(s)return n(s);let a=Li.resolve(e,t.name);Dc(a,r,i,n)});else{let s=Li.resolve(e,t.name);Dc(s,r,i,n)}},Zd=(e,t,r,i)=>{XI(e,{withFileTypes:!0},(n,s)=>{if(n){if(n.code==="ENOENT")return i();if(n.code!=="ENOTDIR"&&n.code!=="ENOTSUP")return i(n)}if(n||!s.length)return Dc(e,t,r,i);let a=s.length,c=null,u=p=>{if(!c){if(p)return i(c=p);if(--a===0)return Dc(e,t,r,i)}};s.forEach(p=>JI(e,p,t,r,u))})},vz=(e,t,r,i)=>{if(typeof t=="string")try{let n=Ct.lstatSync(Li.resolve(e,t));n.name=t,t=n}catch(n){if(n.code==="ENOENT")return;throw n}t.isDirectory()&&ZI(Li.resolve(e,t.name),r,i),Jd(Li.resolve(e,t.name),r,i)},ZI=(e,t,r)=>{let i;try{i=Ez(e,{withFileTypes:!0})}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return Jd(e,t,r);throw n}return i&&i.length&&i.forEach(n=>vz(e,n,t,r)),Jd(e,t,r)};QI.exports=Zd;Zd.sync=ZI});var nR=_((zfe,Qd)=>{"use strict";o();var tR=YI(),Pt=N("fs"),Cc=N("path"),rR=eR(),Vt=vn(),Pc=class extends Error{constructor(t,r){super("Cannot extract through symbolic link"),this.path=r,this.symlink=t}get name(){return"SylinkError"}},wc=class extends Error{constructor(t,r){super(r+": Cannot cd into '"+t+"'"),this.path=t,this.code=r}get name(){return"CwdError"}},Lc=(e,t)=>e.get(Vt(t)),zs=(e,t,r)=>e.set(Vt(t),r),gz=(e,t)=>{Pt.stat(e,(r,i)=>{(r||!i.isDirectory())&&(r=new wc(e,r&&r.code||"ENOTDIR")),t(r)})};Qd.exports=(e,t,r)=>{e=Vt(e);let i=t.umask,n=t.mode|448,s=(n&i)!==0,a=t.uid,c=t.gid,u=typeof a=="number"&&typeof c=="number"&&(a!==t.processUid||c!==t.processGid),p=t.preserve,l=t.unlink,f=t.cache,h=Vt(t.cwd),E=(R,b)=>{R?r(R):(zs(f,e,!0),b&&u?rR(b,a,c,q=>E(q)):s?Pt.chmod(e,n,r):r())};if(f&&Lc(f,e)===!0)return E();if(e===h)return gz(e,E);if(p)return tR(e,{mode:n}).then(R=>E(null,R),E);let S=Vt(Cc.relative(h,e)).split("/");Fc(h,S,n,f,l,h,null,E)};var Fc=(e,t,r,i,n,s,a,c)=>{if(!t.length)return c(null,a);let u=t.shift(),p=Vt(Cc.resolve(e+"/"+u));if(Lc(i,p))return Fc(p,t,r,i,n,s,a,c);Pt.mkdir(p,r,iR(p,t,r,i,n,s,a,c))},iR=(e,t,r,i,n,s,a,c)=>u=>{u?Pt.lstat(e,(p,l)=>{if(p)p.path=p.path&&Vt(p.path),c(p);else if(l.isDirectory())Fc(e,t,r,i,n,s,a,c);else if(n)Pt.unlink(e,f=>{if(f)return c(f);Pt.mkdir(e,r,iR(e,t,r,i,n,s,a,c))});else{if(l.isSymbolicLink())return c(new Pc(e,e+"/"+t.join("/")));c(u)}}):(a=a||e,Fc(e,t,r,i,n,s,a,c))},xz=e=>{let t=!1,r="ENOTDIR";try{t=Pt.statSync(e).isDirectory()}catch(i){r=i.code}finally{if(!t)throw new wc(e,r)}};Qd.exports.sync=(e,t)=>{e=Vt(e);let r=t.umask,i=t.mode|448,n=(i&r)!==0,s=t.uid,a=t.gid,c=typeof s=="number"&&typeof a=="number"&&(s!==t.processUid||a!==t.processGid),u=t.preserve,p=t.unlink,l=t.cache,f=Vt(t.cwd),h=R=>{zs(l,e,!0),R&&c&&rR.sync(R,s,a),n&&Pt.chmodSync(e,i)};if(l&&Lc(l,e)===!0)return h();if(e===f)return xz(f),h();if(u)return h(tR.sync(e,i));let x=Vt(Cc.relative(f,e)).split("/"),S=null;for(let R=x.shift(),b=f;R&&(b+="/"+R);R=x.shift())if(b=Vt(Cc.resolve(b)),!Lc(l,b))try{Pt.mkdirSync(b,i),S=S||b,zs(l,b,!0)}catch{let k=Pt.lstatSync(b);if(k.isDirectory()){zs(l,b,!0);continue}else if(p){Pt.unlinkSync(b),Pt.mkdirSync(b,i),S=S||b,zs(l,b,!0);continue}else if(k.isSymbolicLink())return new Pc(b,b+"/"+x.join("/"))}return h(S)}});var tm=_((Jfe,sR)=>{"use strict";o();var em=Object.create(null),{hasOwnProperty:Sz}=Object.prototype;sR.exports=e=>(Sz.call(em,e)||(em[e]=e.normalize("NFD")),em[e])});var uR=_((Qfe,cR)=>{"use strict";o();var aR=N("assert"),Oz=tm(),Az=Sn(),{join:oR}=N("path"),Nz=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,Iz=Nz==="win32";cR.exports=()=>{let e=new Map,t=new Map,r=p=>p.split("/").slice(0,-1).reduce((f,h)=>(f.length&&(h=oR(f[f.length-1],h)),f.push(h||"/"),f),[]),i=new Set,n=p=>{let l=t.get(p);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(f=>e.get(f)),dirs:[...l.dirs].map(f=>e.get(f))}},s=p=>{let{paths:l,dirs:f}=n(p);return l.every(h=>h[0]===p)&&f.every(h=>h[0]instanceof Set&&h[0].has(p))},a=p=>i.has(p)||!s(p)?!1:(i.add(p),p(()=>c(p)),!0),c=p=>{if(!i.has(p))return!1;let{paths:l,dirs:f}=t.get(p),h=new Set;return l.forEach(E=>{let x=e.get(E);aR.equal(x[0],p),x.length===1?e.delete(E):(x.shift(),typeof x[0]=="function"?h.add(x[0]):x[0].forEach(S=>h.add(S)))}),f.forEach(E=>{let x=e.get(E);aR(x[0]instanceof Set),x[0].size===1&&x.length===1?e.delete(E):x[0].size===1?(x.shift(),h.add(x[0])):x[0].delete(p)}),i.delete(p),h.forEach(E=>a(E)),!0};return{check:s,reserve:(p,l)=>{p=Iz?["win32 parallelization disabled"]:p.map(h=>Az(oR(Oz(h))).toLowerCase());let f=new Set(p.map(h=>r(h)).reduce((h,E)=>h.concat(E)));return t.set(l,{dirs:f,paths:p}),p.forEach(h=>{let E=e.get(h);E?E.push(l):e.set(h,[l])}),f.forEach(h=>{let E=e.get(h);E?E[E.length-1]instanceof Set?E[E.length-1].add(l):E.push(new Set([l])):e.set(h,[new Set([l])])}),a(l)}}}});var dR=_((the,lR)=>{"use strict";o();var Rz=process.env.__FAKE_PLATFORM__||process.platform,Tz=Rz==="win32",bz=global.__FAKE_TESTING_FS__||N("fs"),{O_CREAT:yz,O_TRUNC:Dz,O_WRONLY:Cz,UV_FS_O_FILEMAP:pR=0}=bz.constants,Pz=Tz&&!!pR,wz=512*1024,Lz=pR|Dz|yz|Cz;lR.exports=Pz?e=>e<wz?Lz:"w":()=>"w"});var pm=_((ihe,RR)=>{"use strict";o();var Fz=N("assert"),Mz=Tc(),ee=N("fs"),Uz=Dn(),Dr=N("path"),AR=nR(),mR=ud(),qz=uR(),kz=pd(),wt=vn(),Gz=Sn(),Bz=tm(),fR=Symbol("onEntry"),nm=Symbol("checkFs"),hR=Symbol("checkFs2"),qc=Symbol("pruneCache"),sm=Symbol("isReusable"),Lt=Symbol("makeFs"),am=Symbol("file"),om=Symbol("directory"),kc=Symbol("link"),_R=Symbol("symlink"),ER=Symbol("hardlink"),vR=Symbol("unsupported"),gR=Symbol("checkPath"),ti=Symbol("mkdir"),Ze=Symbol("onError"),Mc=Symbol("pending"),xR=Symbol("pend"),Fn=Symbol("unpend"),rm=Symbol("ended"),im=Symbol("maybeClose"),cm=Symbol("skip"),Xs=Symbol("doChown"),Js=Symbol("uid"),Zs=Symbol("gid"),Qs=Symbol("checkedCwd"),NR=N("crypto"),IR=dR(),Hz=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,ea=Hz==="win32",Wz=1024,jz=(e,t)=>{if(!ea)return ee.unlink(e,t);let r=e+".DELETE."+NR.randomBytes(16).toString("hex");ee.rename(e,r,i=>{if(i)return t(i);ee.unlink(r,t)})},Vz=e=>{if(!ea)return ee.unlinkSync(e);let t=e+".DELETE."+NR.randomBytes(16).toString("hex");ee.renameSync(e,t),ee.unlinkSync(t)},SR=(e,t,r)=>e===e>>>0?e:t===t>>>0?t:r,OR=e=>Gz(wt(Bz(e))).toLowerCase(),Kz=(e,t)=>{t=OR(t);for(let r of e.keys()){let i=OR(r);(i===t||i.indexOf(t+"/")===0)&&e.delete(r)}},Yz=e=>{for(let t of e.keys())e.delete(t)},ta=class extends Mz{constructor(t){if(t||(t={}),t.ondone=r=>{this[rm]=!0,this[im]()},super(t),this[Qs]=!1,this.reservations=qz(),this.transform=typeof t.transform=="function"?t.transform:null,this.writable=!0,this.readable=!1,this[Mc]=0,this[rm]=!1,this.dirCache=t.dirCache||new Map,typeof t.uid=="number"||typeof t.gid=="number"){if(typeof t.uid!="number"||typeof t.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(t.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=t.uid,this.gid=t.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;t.preserveOwner===void 0&&typeof t.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!t.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:Wz,this.forceChown=t.forceChown===!0,this.win32=!!t.win32||ea,this.newer=!!t.newer,this.keep=!!t.keep,this.noMtime=!!t.noMtime,this.preservePaths=!!t.preservePaths,this.unlink=!!t.unlink,this.cwd=wt(Dr.resolve(t.cwd||process.cwd())),this.strip=+t.strip||0,this.processUmask=t.noChmod?0:process.umask(),this.umask=typeof t.umask=="number"?t.umask:this.processUmask,this.dmode=t.dmode||511&~this.umask,this.fmode=t.fmode||438&~this.umask,this.on("entry",r=>this[fR](r))}warn(t,r,i={}){return(t==="TAR_BAD_ARCHIVE"||t==="TAR_ABORT")&&(i.recoverable=!1),super.warn(t,r,i)}[im](){this[rm]&&this[Mc]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[gR](t){let r=wt(t.path),i=r.split("/");if(this.strip){if(i.length<this.strip)return!1;if(t.type==="Link"){let n=wt(t.linkpath).split("/");if(n.length>=this.strip)t.linkpath=n.slice(this.strip).join("/");else return!1}i.splice(0,this.strip),t.path=i.join("/")}if(isFinite(this.maxDepth)&&i.length>this.maxDepth)return this.warn("TAR_ENTRY_ERROR","path excessively deep",{entry:t,path:r,depth:i.length,maxDepth:this.maxDepth}),!1;if(!this.preservePaths){if(i.includes("..")||ea&&/^[a-z]:\.\.$/i.test(i[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:t,path:r}),!1;let[n,s]=kz(r);n&&(t.path=s,this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:t,path:r}))}if(Dr.isAbsolute(t.path)?t.absolute=wt(Dr.resolve(t.path)):t.absolute=wt(Dr.resolve(this.cwd,t.path)),!this.preservePaths&&t.absolute.indexOf(this.cwd+"/")!==0&&t.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:t,path:wt(t.path),resolvedPath:t.absolute,cwd:this.cwd}),!1;if(t.absolute===this.cwd&&t.type!=="Directory"&&t.type!=="GNUDumpDir")return!1;if(this.win32){let{root:n}=Dr.win32.parse(t.absolute);t.absolute=n+mR.encode(t.absolute.slice(n.length));let{root:s}=Dr.win32.parse(t.path);t.path=s+mR.encode(t.path.slice(s.length))}return!0}[fR](t){if(!this[gR](t))return t.resume();switch(Fz.equal(typeof t.absolute,"string"),t.type){case"Directory":case"GNUDumpDir":t.mode&&(t.mode=t.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[nm](t);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[vR](t)}}[Ze](t,r){t.name==="CwdError"?this.emit("error",t):(this.warn("TAR_ENTRY_ERROR",t,{entry:r}),this[Fn](),r.resume())}[ti](t,r,i){AR(wt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r,noChmod:this.noChmod},i)}[Xs](t){return this.forceChown||this.preserveOwner&&(typeof t.uid=="number"&&t.uid!==this.processUid||typeof t.gid=="number"&&t.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[Js](t){return SR(this.uid,t.uid,this.processUid)}[Zs](t){return SR(this.gid,t.gid,this.processGid)}[am](t,r){let i=t.mode&4095||this.fmode,n=new Uz.WriteStream(t.absolute,{flags:IR(t.size),mode:i,autoClose:!1});n.on("error",u=>{n.fd&&ee.close(n.fd,()=>{}),n.write=()=>!0,this[Ze](u,t),r()});let s=1,a=u=>{if(u){n.fd&&ee.close(n.fd,()=>{}),this[Ze](u,t),r();return}--s===0&&ee.close(n.fd,p=>{p?this[Ze](p,t):this[Fn](),r()})};n.on("finish",u=>{let p=t.absolute,l=n.fd;if(t.mtime&&!this.noMtime){s++;let f=t.atime||new Date,h=t.mtime;ee.futimes(l,f,h,E=>E?ee.utimes(p,f,h,x=>a(x&&E)):a())}if(this[Xs](t)){s++;let f=this[Js](t),h=this[Zs](t);ee.fchown(l,f,h,E=>E?ee.chown(p,f,h,x=>a(x&&E)):a())}a()});let c=this.transform&&this.transform(t)||t;c!==t&&(c.on("error",u=>{this[Ze](u,t),r()}),t.pipe(c)),c.pipe(n)}[om](t,r){let i=t.mode&4095||this.dmode;this[ti](t.absolute,i,n=>{if(n){this[Ze](n,t),r();return}let s=1,a=c=>{--s===0&&(r(),this[Fn](),t.resume())};t.mtime&&!this.noMtime&&(s++,ee.utimes(t.absolute,t.atime||new Date,t.mtime,a)),this[Xs](t)&&(s++,ee.chown(t.absolute,this[Js](t),this[Zs](t),a)),a()})}[vR](t){t.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${t.type}`,{entry:t}),t.resume()}[_R](t,r){this[kc](t,t.linkpath,"symlink",r)}[ER](t,r){let i=wt(Dr.resolve(this.cwd,t.linkpath));this[kc](t,i,"link",r)}[xR](){this[Mc]++}[Fn](){this[Mc]--,this[im]()}[cm](t){this[Fn](),t.resume()}[sm](t,r){return t.type==="File"&&!this.unlink&&r.isFile()&&r.nlink<=1&&!ea}[nm](t){this[xR]();let r=[t.path];t.linkpath&&r.push(t.linkpath),this.reservations.reserve(r,i=>this[hR](t,i))}[qc](t){t.type==="SymbolicLink"?Yz(this.dirCache):t.type!=="Directory"&&Kz(this.dirCache,t.absolute)}[hR](t,r){this[qc](t);let i=c=>{this[qc](t),r(c)},n=()=>{this[ti](this.cwd,this.dmode,c=>{if(c){this[Ze](c,t),i();return}this[Qs]=!0,s()})},s=()=>{if(t.absolute!==this.cwd){let c=wt(Dr.dirname(t.absolute));if(c!==this.cwd)return this[ti](c,this.dmode,u=>{if(u){this[Ze](u,t),i();return}a()})}a()},a=()=>{ee.lstat(t.absolute,(c,u)=>{if(u&&(this.keep||this.newer&&u.mtime>t.mtime)){this[cm](t),i();return}if(c||this[sm](t,u))return this[Lt](null,t,i);if(u.isDirectory()){if(t.type==="Directory"){let p=!this.noChmod&&t.mode&&(u.mode&4095)!==t.mode,l=f=>this[Lt](f,t,i);return p?ee.chmod(t.absolute,t.mode,l):l()}if(t.absolute!==this.cwd)return ee.rmdir(t.absolute,p=>this[Lt](p,t,i))}if(t.absolute===this.cwd)return this[Lt](null,t,i);jz(t.absolute,p=>this[Lt](p,t,i))})};this[Qs]?s():n()}[Lt](t,r,i){if(t){this[Ze](t,r),i();return}switch(r.type){case"File":case"OldFile":case"ContiguousFile":return this[am](r,i);case"Link":return this[ER](r,i);case"SymbolicLink":return this[_R](r,i);case"Directory":case"GNUDumpDir":return this[om](r,i)}}[kc](t,r,i,n){ee[i](r,t.absolute,s=>{s?this[Ze](s,t):(this[Fn](),t.resume()),n()})}},Uc=e=>{try{return[null,e()]}catch(t){return[t,null]}},um=class extends ta{[Lt](t,r){return super[Lt](t,r,()=>{})}[nm](t){if(this[qc](t),!this[Qs]){let s=this[ti](this.cwd,this.dmode);if(s)return this[Ze](s,t);this[Qs]=!0}if(t.absolute!==this.cwd){let s=wt(Dr.dirname(t.absolute));if(s!==this.cwd){let a=this[ti](s,this.dmode);if(a)return this[Ze](a,t)}}let[r,i]=Uc(()=>ee.lstatSync(t.absolute));if(i&&(this.keep||this.newer&&i.mtime>t.mtime))return this[cm](t);if(r||this[sm](t,i))return this[Lt](null,t);if(i.isDirectory()){if(t.type==="Directory"){let a=!this.noChmod&&t.mode&&(i.mode&4095)!==t.mode,[c]=a?Uc(()=>{ee.chmodSync(t.absolute,t.mode)}):[];return this[Lt](c,t)}let[s]=Uc(()=>ee.rmdirSync(t.absolute));this[Lt](s,t)}let[n]=t.absolute===this.cwd?[]:Uc(()=>Vz(t.absolute));this[Lt](n,t)}[am](t,r){let i=t.mode&4095||this.fmode,n=c=>{let u;try{ee.closeSync(s)}catch(p){u=p}(c||u)&&this[Ze](c||u,t),r()},s;try{s=ee.openSync(t.absolute,IR(t.size),i)}catch(c){return n(c)}let a=this.transform&&this.transform(t)||t;a!==t&&(a.on("error",c=>this[Ze](c,t)),t.pipe(a)),a.on("data",c=>{try{ee.writeSync(s,c,0,c.length)}catch(u){n(u)}}),a.on("end",c=>{let u=null;if(t.mtime&&!this.noMtime){let p=t.atime||new Date,l=t.mtime;try{ee.futimesSync(s,p,l)}catch(f){try{ee.utimesSync(t.absolute,p,l)}catch{u=f}}}if(this[Xs](t)){let p=this[Js](t),l=this[Zs](t);try{ee.fchownSync(s,p,l)}catch(f){try{ee.chownSync(t.absolute,p,l)}catch{u=u||f}}}n(u)})}[om](t,r){let i=t.mode&4095||this.dmode,n=this[ti](t.absolute,i);if(n){this[Ze](n,t),r();return}if(t.mtime&&!this.noMtime)try{ee.utimesSync(t.absolute,t.atime||new Date,t.mtime)}catch{}if(this[Xs](t))try{ee.chownSync(t.absolute,this[Js](t),this[Zs](t))}catch{}r(),t.resume()}[ti](t,r){try{return AR.sync(wt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r})}catch(i){return i}}[kc](t,r,i,n){try{ee[i+"Sync"](r,t.absolute),n(),t.resume()}catch(s){return this[Ze](s,t)}}};ta.Sync=um;RR.exports=ta});var CR=_((she,DR)=>{"use strict";o();var $z=mn(),Gc=pm(),bR=N("fs"),yR=Dn(),TR=N("path"),lm=Sn();DR.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let i=$z(e);if(i.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!i.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&zz(i,t),i.file&&i.sync?Xz(i):i.file?Jz(i,r):i.sync?Zz(i):Qz(i)};var zz=(e,t)=>{let r=new Map(t.map(s=>[lm(s),!0])),i=e.filter,n=(s,a)=>{let c=a||TR.parse(s).root||".",u=s===c?!1:r.has(s)?r.get(s):n(TR.dirname(s),c);return r.set(s,u),u};e.filter=i?(s,a)=>i(s,a)&&n(lm(s)):s=>n(lm(s))},Xz=e=>{let t=new Gc.Sync(e),r=e.file,i=bR.statSync(r),n=e.maxReadSize||16*1024*1024;new yR.ReadStreamSync(r,{readSize:n,size:i.size}).pipe(t)},Jz=(e,t)=>{let r=new Gc(e),i=e.maxReadSize||16*1024*1024,n=e.file,s=new Promise((a,c)=>{r.on("error",c),r.on("close",a),bR.stat(n,(u,p)=>{if(u)c(u);else{let l=new yR.ReadStream(n,{readSize:i,size:p.size});l.on("error",c),l.pipe(r)}})});return t?s.then(t,t):s},Zz=e=>new Gc.Sync(e),Qz=e=>new Gc(e)});var PR=_(De=>{"use strict";o();De.c=De.create=mI();De.r=De.replace=Kd();De.t=De.list=bc();De.u=De.update=OI();De.x=De.extract=CR();De.Pack=mc();De.Unpack=pm();De.Parse=Tc();De.ReadEntry=Xo();De.WriteEntry=xd();De.Header=xn();De.Pax=Zo();De.types=rd()});var HR=_((bhe,BR)=>{"use strict";o();function Ft(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))}BR.exports=Ft;Ft.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Ft.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Ft.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var i=this;return this._timer=setTimeout(function(){i._attempts++,i._operationTimeoutCb&&(i._timeout=setTimeout(function(){i._operationTimeoutCb(i._attempts)},i._operationTimeout),i._options.unref&&i._timeout.unref()),i._fn(i._attempts)},r),this._options.unref&&this._timer.unref(),!0};Ft.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)};Ft.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};Ft.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};Ft.prototype.start=Ft.prototype.try;Ft.prototype.errors=function(){return this._errors};Ft.prototype.attempts=function(){return this._attempts};Ft.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,i=0;i<this._errors.length;i++){var n=this._errors[i],s=n.message,a=(e[s]||0)+1;e[s]=a,a>=r&&(t=n,r=a)}return t}});var WR=_(Mi=>{"use strict";o();var oX=HR();Mi.operation=function(e){var t=Mi.timeouts(e);return new oX(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Mi.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var i=[],n=0;n<t.retries;n++)i.push(this.createTimeout(n,t));return e&&e.forever&&!i.length&&i.push(this.createTimeout(n,t)),i.sort(function(s,a){return s-a}),i};Mi.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,i=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return i=Math.min(i,t.maxTimeout),i};Mi.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var i in e)typeof e[i]=="function"&&r.push(i)}for(var n=0;n<r.length;n++){var s=r[n],a=e[s];e[s]=function(u){var p=Mi.operation(t),l=Array.prototype.slice.call(arguments,1),f=l.pop();l.push(function(h){p.retry(h)||(h&&(arguments[0]=p.mainError()),f.apply(this,arguments))}),p.attempt(function(){u.apply(e,l)})}.bind(e,a),e[s].options=t}}});var VR=_((Phe,jR)=>{"use strict";o();jR.exports=WR()});var wm=_((rve,MT)=>{"use strict";o();var FT=N("fs"),Pm;function l4(){try{return FT.statSync("/.dockerenv"),!0}catch{return!1}}function d4(){try{return FT.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}MT.exports=()=>(Pm===void 0&&(Pm=l4()||d4()),Pm)});var kT=_((nve,Lm)=>{"use strict";o();var m4=N("os"),f4=N("fs"),UT=wm(),qT=()=>{if(process.platform!=="linux")return!1;if(m4.release().toLowerCase().includes("microsoft"))return!UT();try{return f4.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!UT():!1}catch{return!1}};process.env.__IS_WSL_TEST__?Lm.exports=qT:Lm.exports=qT()});var BT=_((ave,GT)=>{"use strict";o();GT.exports=(e,t,r)=>{let i=n=>Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let n=r();return i(n),n},set(n){i(n)}}),e}});var $T=_((cve,YT)=>{"use strict";o();var h4=N("path"),_4=N("child_process"),{promises:Yc,constants:KT}=N("fs"),Kc=kT(),E4=wm(),Mm=BT(),HT=h4.join(d,"xdg-open"),{platform:qn,arch:WT}=process,v4=()=>{try{return Yc.statSync("/run/.containerenv"),!0}catch{return!1}},Fm;function g4(){return Fm===void 0&&(Fm=v4()||E4()),Fm}var x4=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",i=!1;try{await Yc.access(r,KT.F_OK),i=!0}catch{}if(!i)return e;let n=await Yc.readFile(r,{encoding:"utf8"}),s=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(n);return s?(t=s.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),jT=async(e,t)=>{let r;for(let i of e)try{return await t(i)}catch(n){r=n}throw r},$c=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return jT(e.app,c=>$c({...e,app:c}));let{name:t,arguments:r=[]}=e.app||{};if(r=[...r],Array.isArray(t))return jT(t,c=>$c({...e,app:{name:c,arguments:r}}));let i,n=[],s={};if(qn==="darwin")i="open",e.wait&&n.push("--wait-apps"),e.background&&n.push("--background"),e.newInstance&&n.push("--new"),t&&n.push("-a",t);else if(qn==="win32"||Kc&&!g4()&&!t){let c=await x4();i=Kc?`${c}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,n.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),Kc||(s.windowsVerbatimArguments=!0);let u=["Start"];e.wait&&u.push("-Wait"),t?(u.push(`"\`"${t}\`""`,"-ArgumentList"),e.target&&r.unshift(e.target)):e.target&&u.push(`"${e.target}"`),r.length>0&&(r=r.map(p=>`"\`"${p}\`""`),u.push(r.join(","))),e.target=Buffer.from(u.join(" "),"utf16le").toString("base64")}else{if(t)i=t;else{let c=!d||d==="/",u=!1;try{await Yc.access(HT,KT.X_OK),u=!0}catch{}i=process.versions.electron||qn==="android"||c||!u?"xdg-open":HT}r.length>0&&n.push(...r),e.wait||(s.stdio="ignore",s.detached=!0)}e.target&&n.push(e.target),qn==="darwin"&&r.length>0&&n.push("--args",...r);let a=_4.spawn(i,n,s);return e.wait?new Promise((c,u)=>{a.once("error",u),a.once("close",p=>{if(!e.allowNonzeroExitCode&&p>0){u(new Error(`Exited with code ${p}`));return}c(a)})}):(a.unref(),a)},Um=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return $c({...t,target:e})},S4=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:r=[]}=t||{};if(r!=null&&!Array.isArray(r))throw new TypeError("Expected `appArguments` as Array type");return $c({...t,app:{name:e,arguments:r}})};function VT(e){if(typeof e=="string"||Array.isArray(e))return e;let{[WT]:t}=e;if(!t)throw new Error(`${WT} is not supported`);return t}function qm({[qn]:e},{wsl:t}){if(t&&Kc)return VT(t);if(!e)throw new Error(`${qn} is not supported`);return VT(e)}var zc={};Mm(zc,"chrome",()=>qm({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"]}}));Mm(zc,"firefox",()=>qm({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));Mm(zc,"edge",()=>qm({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Um.apps=zc;Um.openApp=S4;YT.exports=Um});var tF=_((nSe,eF)=>{"use strict";o();var QL=N("stream").Stream,kJ=N("util");eF.exports=Kt;function Kt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}kJ.inherits(Kt,QL);Kt.create=function(e,t){var r=new this;t=t||{};for(var i in t)r[i]=t[i];r.source=e;var n=e.emit;return e.emit=function(){return r._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(Kt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Kt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Kt.prototype.resume=function(){this._released||this.release(),this.source.resume()};Kt.prototype.pause=function(){this.source.pause()};Kt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Kt.prototype.pipe=function(){var e=QL.prototype.pipe.apply(this,arguments);return this.resume(),e};Kt.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)};Kt.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 sF=_((aSe,nF)=>{"use strict";o();var GJ=N("util"),iF=N("stream").Stream,rF=tF();nF.exports=ge;function ge(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}GJ.inherits(ge,iF);ge.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};ge.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};ge.prototype.append=function(e){var t=ge.isStreamLike(e);if(t){if(!(e instanceof rF)){var r=rF.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};ge.prototype.pipe=function(e,t){return iF.prototype.pipe.call(this,e,t),this.resume(),e};ge.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};ge.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var i=ge.isStreamLike(r);i&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};ge.prototype._pipeNext=function(e){this._currentStream=e;var t=ge.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};ge.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};ge.prototype.write=function(e){this.emit("data",e)};ge.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};ge.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};ge.prototype.end=function(){this._reset(),this.emit("end")};ge.prototype.destroy=function(){this._reset(),this.emit("close")};ge.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ge.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};ge.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};ge.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var aF=_((cSe,BJ)=>{BJ.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 cF=_((uSe,oF)=>{"use strict";o();oF.exports=aF()});var lF=_(ht=>{"use strict";o();var Zc=cF(),HJ=N("path").extname,uF=/^\s*([^;\s]*)(?:;|\s|$)/,WJ=/^text\//i;ht.charset=pF;ht.charsets={lookup:pF};ht.contentType=jJ;ht.extension=VJ;ht.extensions=Object.create(null);ht.lookup=KJ;ht.types=Object.create(null);YJ(ht.extensions,ht.types);function pF(e){if(!e||typeof e!="string")return!1;var t=uF.exec(e),r=t&&Zc[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&WJ.test(t[1])?"UTF-8":!1}function jJ(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?ht.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=ht.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function VJ(e){if(!e||typeof e!="string")return!1;var t=uF.exec(e),r=t&&ht.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function KJ(e){if(!e||typeof e!="string")return!1;var t=HJ("x."+e).toLowerCase().substr(1);return t&&ht.types[t]||!1}function YJ(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Zc).forEach(function(n){var s=Zc[n],a=s.extensions;if(!(!a||!a.length)){e[n]=a;for(var c=0;c<a.length;c++){var u=a[c];if(t[u]){var p=r.indexOf(Zc[t[u]].source),l=r.indexOf(s.source);if(t[u]!=="application/octet-stream"&&(p>l||p===l&&t[u].substr(0,12)==="application/"))continue}t[u]=n}}})}});var mF=_((mSe,dF)=>{"use strict";o();dF.exports=$J;function $J(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var qh=_((hSe,hF)=>{"use strict";o();var fF=mF();hF.exports=zJ;function zJ(e){var t=!1;return fF(function(){t=!0}),function(i,n){t?e(i,n):fF(function(){e(i,n)})}}});var kh=_((ESe,_F)=>{"use strict";o();_F.exports=XJ;function XJ(e){Object.keys(e.jobs).forEach(JJ.bind(e)),e.jobs={}}function JJ(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Gh=_((gSe,vF)=>{"use strict";o();var EF=qh(),ZJ=kh();vF.exports=QJ;function QJ(e,t,r,i){var n=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[n]=e5(t,n,e[n],function(s,a){n in r.jobs&&(delete r.jobs[n],s?ZJ(r):r.results[n]=a,i(s,r.results))})}function e5(e,t,r,i){var n;return e.length==2?n=e(r,EF(i)):n=e(r,t,EF(i)),n}});var Bh=_((SSe,gF)=>{"use strict";o();gF.exports=t5;function t5(e,t){var r=!Array.isArray(e),i={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&i.keyedList.sort(r?t:function(n,s){return t(e[n],e[s])}),i}});var Hh=_((ASe,xF)=>{"use strict";o();var r5=kh(),i5=qh();xF.exports=n5;function n5(e){Object.keys(this.jobs).length&&(this.index=this.size,r5(this),i5(e)(null,this.results))}});var OF=_((ISe,SF)=>{"use strict";o();var s5=Gh(),a5=Bh(),o5=Hh();SF.exports=c5;function c5(e,t,r){for(var i=a5(e);i.index<(i.keyedList||e).length;)s5(e,t,i,function(n,s){if(n){r(n,s);return}if(Object.keys(i.jobs).length===0){r(null,i.results);return}}),i.index++;return o5.bind(i,r)}});var Wh=_((TSe,Qc)=>{"use strict";o();var AF=Gh(),u5=Bh(),p5=Hh();Qc.exports=l5;Qc.exports.ascending=NF;Qc.exports.descending=d5;function l5(e,t,r,i){var n=u5(e,r);return AF(e,t,n,function s(a,c){if(a){i(a,c);return}if(n.index++,n.index<(n.keyedList||e).length){AF(e,t,n,s);return}i(null,n.results)}),p5.bind(n,i)}function NF(e,t){return e<t?-1:e>t?1:0}function d5(e,t){return-1*NF(e,t)}});var RF=_((ySe,IF)=>{"use strict";o();var m5=Wh();IF.exports=f5;function f5(e,t,r){return m5(e,t,null,r)}});var bF=_((CSe,TF)=>{"use strict";o();TF.exports={parallel:OF(),serial:RF(),serialOrdered:Wh()}});var DF=_((wSe,yF)=>{"use strict";o();yF.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var wF=_((FSe,PF)=>{"use strict";o();var Yh=sF(),CF=N("util"),jh=N("path"),h5=N("http"),_5=N("https"),E5=N("url").parse,v5=N("fs"),g5=N("stream").Stream,Vh=lF(),x5=bF(),Kh=DF();PF.exports=Z;CF.inherits(Z,Yh);function Z(e){if(!(this instanceof Z))return new Z(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Yh.call(this),e=e||{};for(var t in e)this[t]=e[t]}Z.LINE_BREAK=`\r
11
11
  `;Z.DEFAULT_CONTENT_TYPE="application/octet-stream";Z.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var i=Yh.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),CF.isArray(t)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,t,r),s=this._multiPartFooter();i(n),i(t),i(s),this._trackLength(n,t,r)};Z.prototype._trackLength=function(e,t,r){var i=0;r.knownLength!=null?i+=+r.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+Z.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof g5))&&(r.knownLength||this._valuesToMeasure.push(t))};Z.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):v5.stat(e.path,function(r,i){var n;if(r){t(r);return}n=i.size-(e.start?e.start:0),t(null,n)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(r){e.pause(),t(null,+r.headers["content-length"])}),e.resume()):t("Unknown stream")};Z.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var i=this._getContentDisposition(t,r),n=this._getContentType(t,r),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof r.header=="object"&&Kh(a,r.header);var c;for(var u in a)a.hasOwnProperty(u)&&(c=a[u],c!=null&&(Array.isArray(c)||(c=[c]),c.length&&(s+=u+": "+c.join("; ")+Z.LINE_BREAK)));return"--"+this.getBoundary()+Z.LINE_BREAK+s+Z.LINE_BREAK};Z.prototype._getContentDisposition=function(e,t){var r,i;return typeof t.filepath=="string"?r=jh.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?r=jh.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(r=jh.basename(e.client._httpMessage.path||"")),r&&(i='filename="'+r+'"'),i};Z.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=Vh.lookup(e.name)),!r&&e.path&&(r=Vh.lookup(e.path)),!r&&e.readable&&e.hasOwnProperty("httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=Vh.lookup(t.filepath||t.filename)),!r&&typeof e=="object"&&(r=Z.DEFAULT_CONTENT_TYPE),r};Z.prototype._multiPartFooter=function(){return function(e){var t=Z.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};Z.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Z.LINE_BREAK};Z.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(r[t.toLowerCase()]=e[t]);return r};Z.prototype.setBoundary=function(e){this._boundary=e};Z.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};Z.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,i=this._streams.length;r<i;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(Z.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};Z.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};Z.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};Z.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};Z.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}x5.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,i){if(r){e(r);return}i.forEach(function(n){t+=n}),e(null,t)})};Z.prototype.submit=function(e,t){var r,i,n={method:"post"};return typeof e=="string"?(e=E5(e),i=Kh({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=Kh(e,n),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?r=_5.request(i):r=h5.request(i),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&r.setHeader("Content-Length",a),this.pipe(r),t){var c,u=function(p,l){return r.removeListener("error",u),r.removeListener("response",c),t.call(this,p,l)};c=u.bind(this,null),r.on("error",u),r.on("response",c)}}.bind(this)),r};Z.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};Z.prototype.toString=function(){return"[object FormData]"}});var $h=_((UOe,QF)=>{"use strict";o();var U5=N("stream"),JF=U5.PassThrough,q5=Array.prototype.slice;QF.exports=k5;function k5(){let e=[],t=q5.call(arguments),r=!1,i=t[t.length-1];i&&!Array.isArray(i)&&i.pipe==null?t.pop():i={};let n=i.end!==!1,s=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let a=JF(i);function c(){for(let l=0,f=arguments.length;l<f;l++)e.push(ZF(arguments[l],i));return u(),this}function u(){if(r)return;r=!0;let l=e.shift();if(!l){process.nextTick(p);return}Array.isArray(l)||(l=[l]);let f=l.length+1;function h(){--f>0||(r=!1,u())}function E(x){function S(){x.removeListener("merge2UnpipeEnd",S),x.removeListener("end",S),s&&x.removeListener("error",R),h()}function R(b){a.emit("error",b)}if(x._readableState.endEmitted)return h();x.on("merge2UnpipeEnd",S),x.on("end",S),s&&x.on("error",R),x.pipe(a,{end:!1}),x.resume()}for(let x=0;x<l.length;x++)E(l[x]);h()}function p(){r=!1,a.emit("queueDrain"),n&&a.end()}return a.setMaxListeners(0),a.add=c,a.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),t.length&&c.apply(null,t),a}function ZF(e,t){if(Array.isArray(e))for(let r=0,i=e.length;r<i;r++)e[r]=ZF(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(JF(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var eM=_(jn=>{"use strict";o();Object.defineProperty(jn,"__esModule",{value:!0});jn.splitWhen=jn.flatten=void 0;function G5(e){return e.reduce((t,r)=>[].concat(t,r),[])}jn.flatten=G5;function B5(e,t){let r=[[]],i=0;for(let n of e)t(n)?(i++,r[i]=[]):r[i].push(n);return r}jn.splitWhen=B5});var tM=_(su=>{"use strict";o();Object.defineProperty(su,"__esModule",{value:!0});su.isEnoentCodeError=void 0;function H5(e){return e.code==="ENOENT"}su.isEnoentCodeError=H5});var rM=_(au=>{"use strict";o();Object.defineProperty(au,"__esModule",{value:!0});au.createDirentFromStats=void 0;var zh=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 W5(e,t){return new zh(e,t)}au.createDirentFromStats=W5});var aM=_(be=>{"use strict";o();Object.defineProperty(be,"__esModule",{value:!0});be.convertPosixPathToPattern=be.convertWindowsPathToPattern=be.convertPathToPattern=be.escapePosixPath=be.escapeWindowsPath=be.escape=be.removeLeadingDotSegment=be.makeAbsolute=be.unixify=void 0;var j5=N("os"),V5=N("path"),iM=j5.platform()==="win32",K5=2,Y5=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,$5=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,z5=/^\\\\([.?])/,X5=/\\(?![!()+@[\]{}])/g;function J5(e){return e.replace(/\\/g,"/")}be.unixify=J5;function Z5(e,t){return V5.resolve(e,t)}be.makeAbsolute=Z5;function Q5(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(K5)}return e}be.removeLeadingDotSegment=Q5;be.escape=iM?Xh:Jh;function Xh(e){return e.replace($5,"\\$2")}be.escapeWindowsPath=Xh;function Jh(e){return e.replace(Y5,"\\$2")}be.escapePosixPath=Jh;be.convertPathToPattern=iM?nM:sM;function nM(e){return Xh(e).replace(z5,"//$1").replace(X5,"/")}be.convertWindowsPathToPattern=nM;function sM(e){return Jh(e)}be.convertPosixPathToPattern=sM});var cM=_((YOe,oM)=>{"use strict";o();oM.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 Zh=_((zOe,pM)=>{"use strict";o();var e6=cM(),uM={"{":"}","(":")","[":"]"},t6=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,i=-2,n=-2,s=-2,a=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||i!==-1&&e[t]==="["&&e[t+1]!=="]"&&(i<t&&(i=e.indexOf("]",t)),i>t&&(a===-1||a>i||(a=e.indexOf("\\",t),a===-1||a>i)))||n!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(n=e.indexOf("}",t),n>t&&(a=e.indexOf("\\",t),a===-1||a>n))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(a=e.indexOf("\\",t),a===-1||a>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(a=e.indexOf("\\",r),a===-1||a>s))))return!0;if(e[t]==="\\"){var c=e[t+1];t+=2;var u=uM[c];if(u){var p=e.indexOf(u,t);p!==-1&&(t=p+1)}if(e[t]==="!")return!0}else t++}return!1},r6=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var i=uM[r];if(i){var n=e.indexOf(i,t);n!==-1&&(t=n+1)}if(e[t]==="!")return!0}else t++}return!1};pM.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(e6(t))return!0;var i=t6;return r&&r.strict===!1&&(i=r6),i(t)}});var e_=_((JOe,lM)=>{"use strict";o();var i6=Zh(),n6=N("path").posix.dirname,s6=N("os").platform()==="win32",Qh="/",a6=/\\/g,o6=/[\{\[].*[\}\]]$/,c6=/(^|[^\\])([\{\[]|\([^\)]+$)/,u6=/\\([\!\*\?\|\[\]\(\)\{\}])/g;lM.exports=function(t,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&s6&&t.indexOf(Qh)<0&&(t=t.replace(a6,Qh)),o6.test(t)&&(t+=Qh),t+="a";do t=n6(t);while(i6(t)||c6.test(t));return t.replace(u6,"$1")}});var ou=_(Ut=>{"use strict";o();Ut.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Ut.find=(e,t)=>e.nodes.find(r=>r.type===t);Ut.exceedsLimit=(e,t,r=1,i)=>i===!1||!Ut.isInteger(e)||!Ut.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=i;Ut.escapeNode=(e,t=0,r)=>{let i=e.nodes[t];i&&(r&&i.type===r||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};Ut.encloseBrace=e=>e.type!=="brace"||e.commas>>0+e.ranges>>0?!1:(e.invalid=!0,!0);Ut.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;Ut.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Ut.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);Ut.flatten=(...e)=>{let t=[],r=i=>{for(let n=0;n<i.length;n++){let s=i[n];if(Array.isArray(s)){r(s);continue}s!==void 0&&t.push(s)}return t};return r(e),t}});var cu=_((tAe,mM)=>{"use strict";o();var dM=ou();mM.exports=(e,t={})=>{let r=(i,n={})=>{let s=t.escapeInvalid&&dM.isInvalidBrace(n),a=i.invalid===!0&&t.escapeInvalid===!0,c="";if(i.value)return(s||a)&&dM.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let u of i.nodes)c+=r(u);return c};return r(e)}});var hM=_((iAe,fM)=>{"use strict";o();fM.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var NM=_((sAe,AM)=>{"use strict";o();var _M=hM(),Gi=(e,t,r)=>{if(_M(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(_M(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let n=String(i.relaxZeros),s=String(i.shorthand),a=String(i.capture),c=String(i.wrap),u=e+":"+t+"="+n+s+a+c;if(Gi.cache.hasOwnProperty(u))return Gi.cache[u].result;let p=Math.min(e,t),l=Math.max(e,t);if(Math.abs(p-l)===1){let S=e+"|"+t;return i.capture?`(${S})`:i.wrap===!1?S:`(?:${S})`}let f=OM(e)||OM(t),h={min:e,max:t,a:p,b:l},E=[],x=[];if(f&&(h.isPadded=f,h.maxLen=String(h.max).length),p<0){let S=l<0?Math.abs(l):1;x=EM(S,Math.abs(p),h,i),p=h.a=0}return l>=0&&(E=EM(p,l,h,i)),h.negatives=x,h.positives=E,h.result=p6(x,E,i),i.capture===!0?h.result=`(${h.result})`:i.wrap!==!1&&E.length+x.length>1&&(h.result=`(?:${h.result})`),Gi.cache[u]=h,h.result};function p6(e,t,r){let i=t_(e,t,"-",!1,r)||[],n=t_(t,e,"",!1,r)||[],s=t_(e,t,"-?",!0,r)||[];return i.concat(s).concat(n).join("|")}function l6(e,t){let r=1,i=1,n=gM(e,r),s=new Set([t]);for(;e<=n&&n<=t;)s.add(n),r+=1,n=gM(e,r);for(n=xM(t+1,i)-1;e<n&&n<=t;)s.add(n),i+=1,n=xM(t+1,i)-1;return s=[...s],s.sort(f6),s}function d6(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let i=m6(e,t),n=i.length,s="",a=0;for(let c=0;c<n;c++){let[u,p]=i[c];u===p?s+=u:u!=="0"||p!=="9"?s+=h6(u,p,r):a++}return a&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[a],digits:n}}function EM(e,t,r,i){let n=l6(e,t),s=[],a=e,c;for(let u=0;u<n.length;u++){let p=n[u],l=d6(String(a),String(p),i),f="";if(!r.isPadded&&c&&c.pattern===l.pattern){c.count.length>1&&c.count.pop(),c.count.push(l.count[0]),c.string=c.pattern+SM(c.count),a=p+1;continue}r.isPadded&&(f=_6(p,r,i)),l.string=f+l.pattern+SM(l.count),s.push(l),a=p+1,c=l}return s}function t_(e,t,r,i,n){let s=[];for(let a of e){let{string:c}=a;!i&&!vM(t,"string",c)&&s.push(r+c),i&&vM(t,"string",c)&&s.push(r+c)}return s}function m6(e,t){let r=[];for(let i=0;i<e.length;i++)r.push([e[i],t[i]]);return r}function f6(e,t){return e>t?1:t>e?-1:0}function vM(e,t,r){return e.some(i=>i[t]===r)}function gM(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function xM(e,t){return e-e%Math.pow(10,t)}function SM(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function h6(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function OM(e){return/^-?(0+)\d/.test(e)}function _6(e,t,r){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),n=r.relaxZeros!==!1;switch(i){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:return n?`0{0,${i}}`:`0{${i}}`}}Gi.cache={};Gi.clearCache=()=>Gi.cache={};AM.exports=Gi});var n_=_((oAe,CM)=>{"use strict";o();var E6=N("util"),RM=NM(),IM=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),v6=e=>t=>e===!0?Number(t):String(t),r_=e=>typeof e=="number"||typeof e=="string"&&e!=="",fa=e=>Number.isInteger(+e),i_=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},g6=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,x6=(e,t,r)=>{if(t>0){let i=e[0]==="-"?"-":"";i&&(e=e.slice(1)),e=i+e.padStart(i?t-1:t,"0")}return r===!1?String(e):e},pu=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},S6=(e,t,r)=>{e.negatives.sort((c,u)=>c<u?-1:c>u?1:0),e.positives.sort((c,u)=>c<u?-1:c>u?1:0);let i=t.capture?"":"?:",n="",s="",a;return e.positives.length&&(n=e.positives.map(c=>pu(String(c),r)).join("|")),e.negatives.length&&(s=`-(${i}${e.negatives.map(c=>pu(String(c),r)).join("|")})`),n&&s?a=`${n}|${s}`:a=n||s,t.wrap?`(${i}${a})`:a},TM=(e,t,r,i)=>{if(r)return RM(e,t,{wrap:!1,...i});let n=String.fromCharCode(e);if(e===t)return n;let s=String.fromCharCode(t);return`[${n}-${s}]`},bM=(e,t,r)=>{if(Array.isArray(e)){let i=r.wrap===!0,n=r.capture?"":"?:";return i?`(${n}${e.join("|")})`:e.join("|")}return RM(e,t,r)},yM=(...e)=>new RangeError("Invalid range arguments: "+E6.inspect(...e)),DM=(e,t,r)=>{if(r.strictRanges===!0)throw yM([e,t]);return[]},O6=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},A6=(e,t,r=1,i={})=>{let n=Number(e),s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(i.strictRanges===!0)throw yM([e,t]);return[]}n===0&&(n=0),s===0&&(s=0);let a=n>s,c=String(e),u=String(t),p=String(r);r=Math.max(Math.abs(r),1);let l=i_(c)||i_(u)||i_(p),f=l?Math.max(c.length,u.length,p.length):0,h=l===!1&&g6(e,t,i)===!1,E=i.transform||v6(h);if(i.toRegex&&r===1)return TM(pu(e,f),pu(t,f),!0,i);let x={negatives:[],positives:[]},S=q=>x[q<0?"negatives":"positives"].push(Math.abs(q)),R=[],b=0;for(;a?n>=s:n<=s;)i.toRegex===!0&&r>1?S(n):R.push(x6(E(n,b),f,h)),n=a?n-r:n+r,b++;return i.toRegex===!0?r>1?S6(x,i,f):bM(R,null,{wrap:!1,...i}):R},N6=(e,t,r=1,i={})=>{if(!fa(e)&&e.length>1||!fa(t)&&t.length>1)return DM(e,t,i);let n=i.transform||(h=>String.fromCharCode(h)),s=`${e}`.charCodeAt(0),a=`${t}`.charCodeAt(0),c=s>a,u=Math.min(s,a),p=Math.max(s,a);if(i.toRegex&&r===1)return TM(u,p,!1,i);let l=[],f=0;for(;c?s>=a:s<=a;)l.push(n(s,f)),s=c?s-r:s+r,f++;return i.toRegex===!0?bM(l,null,{wrap:!1,options:i}):l},uu=(e,t,r,i={})=>{if(t==null&&r_(e))return[e];if(!r_(e)||!r_(t))return DM(e,t,i);if(typeof r=="function")return uu(e,t,1,{transform:r});if(IM(r))return uu(e,t,0,r);let n={...i};return n.capture===!0&&(n.wrap=!0),r=r||n.step||1,fa(r)?fa(e)&&fa(t)?A6(e,t,r,n):N6(e,t,Math.max(Math.abs(r),1),n):r!=null&&!IM(r)?O6(r,n):uu(e,t,1,r)};CM.exports=uu});var LM=_((uAe,wM)=>{"use strict";o();var I6=n_(),PM=ou(),R6=(e,t={})=>{let r=(i,n={})=>{let s=PM.isInvalidBrace(n),a=i.invalid===!0&&t.escapeInvalid===!0,c=s===!0||a===!0,u=t.escapeInvalid===!0?"\\":"",p="";if(i.isOpen===!0)return u+i.value;if(i.isClose===!0)return console.log("node.isClose",u,i.value),u+i.value;if(i.type==="open")return c?u+i.value:"(";if(i.type==="close")return c?u+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":c?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let l=PM.reduce(i.nodes),f=I6(...l,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(f.length!==0)return l.length>1&&f.length>1?`(${f})`:f}if(i.nodes)for(let l of i.nodes)p+=r(l,i);return p};return r(e)};wM.exports=R6});var UM=_((lAe,MM)=>{"use strict";o();var T6=n_(),FM=cu(),Vn=ou(),Bi=(e="",t="",r=!1)=>{let i=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?Vn.flatten(t).map(n=>`{${n}}`):t;for(let n of e)if(Array.isArray(n))for(let s of n)i.push(Bi(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),i.push(Array.isArray(s)?Bi(n,s,r):n+s);return Vn.flatten(i)},b6=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,i=(n,s={})=>{n.queue=[];let a=s,c=s.queue;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,c=a.queue;if(n.invalid||n.dollar){c.push(Bi(c.pop(),FM(n,t)));return}if(n.type==="brace"&&n.invalid!==!0&&n.nodes.length===2){c.push(Bi(c.pop(),["{}"]));return}if(n.nodes&&n.ranges>0){let f=Vn.reduce(n.nodes);if(Vn.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=T6(...f,t);h.length===0&&(h=FM(n,t)),c.push(Bi(c.pop(),h)),n.nodes=[];return}let u=Vn.encloseBrace(n),p=n.queue,l=n;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,p=l.queue;for(let f=0;f<n.nodes.length;f++){let h=n.nodes[f];if(h.type==="comma"&&n.type==="brace"){f===1&&p.push(""),p.push("");continue}if(h.type==="close"){c.push(Bi(c.pop(),p,u));continue}if(h.value&&h.type!=="open"){p.push(Bi(p.pop(),h.value));continue}h.nodes&&i(h,n)}return p};return Vn.flatten(i(e))};MM.exports=b6});var kM=_((mAe,qM)=>{"use strict";o();qM.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:`
@@ -25,13 +25,13 @@ import{E as hg,L as pp,M as _g,N as _s,O as Xa,P as Eg,R as Xi,S as vg,V as Ji,Y
25
25
  Failed to update files.
26
26
  Failed to sync changes from local files to the Dev Editor
27
27
  Still watching local files and will continue to sync changes...
28
- `}),FailedToWatchFiles:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to watch files. Cause: ${r}`})},FailedToCreateGridApp:({error:t})=>()=>g.default.createElement(I,{message:"Failed to create an isolated environment.",explanation:t}),DeviceCodeTimedOut:()=>()=>g.default.createElement(I,{message:"The device code has not been approved in the time allocated, please start the login process again."}),DuplicateComponentIdsError:({issues:t})=>{let r=({issue:n})=>{let s=a=>(0,nl.match)(a,{page:()=>"page",plugin:()=>"plugin","menu-plugin":()=>"menu plugin","sidebar-category":()=>"sidebar category","embedded-script":()=>"embedded script","custom-element":()=>"custom element",modal:()=>"modal",topology:()=>"topology"});return g.default.createElement(Ht,{flexDirection:"column"},g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Duplicate ID: "),n.id),g.default.createElement(H,{bold:!0},"Extensions:"),n.components.map(({name:a,path:c,type:u})=>g.default.createElement(H,{key:c},"[",s(u),"] ",a," (",c,")")),g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Possible GUID: "),n.suggestedId))},i=g.default.createElement(Ht,{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(n=>g.default.createElement(r,{issue:n,key:n.id})));return()=>g.default.createElement(I,{message:"Found multiple extensions with the same id, this might happen if you copy paste folders.",hint:i})},InvalidResponseData:()=>()=>g.default.createElement(ae,{message:"Got unexpected response from server."}),InvalidCreateAppResponse:()=>()=>g.default.createElement(I,{message:"`createApp` returned an invalid response."}),InvalidDeployAppResponse:()=>()=>g.default.createElement(I,{message:"Got unexpected response from server. Make sure you are running a supported version of the Velo CLI."}),InvalidGetDeploymentResponse:()=>()=>g.default.createElement(I,{message:"Got unexpected response from server. Please try again later.."}),FailedToGetPagesDiff:()=>()=>g.default.createElement(I,{message:"Failed to request pages diff."}),InvalidViteBuildOutput:()=>()=>g.default.createElement(I,{message:"Invalid vite build output"}),ViteModuleBundleNotFound:()=>()=>g.default.createElement(I,{message:"Could not find module bundle in vite build output"}),ViteFileNotFoundInOutput:({fileName:t})=>()=>g.default.createElement(I,{message:`Could not find ${t} in vite build output`}),FailedToCreatePresignedUrl:()=>()=>g.default.createElement(I,{message:"Failed to create a presigned upload url"}),FailedToCreateBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to create backend deployment"}),FailedToUpdateBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to update backend deployment"}),InvalidDeploymentUrl:({deploymentUrl:t})=>()=>g.default.createElement(I,{message:`Invalid deployment URL: \`${t}\``}),FailedToGetBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to get backend deployment"}),FailedToDeployBackend:()=>()=>g.default.createElement(I,{message:"Failed to deploy backend"}),FailedToMarkDeploymentAsPermanent:()=>()=>g.default.createElement(I,{message:"Failed to make backend deployment permanent"}),FailedToUploadApplicationFiles:()=>()=>g.default.createElement(I,{message:"Failed to upload the application files"}),FailedToVerifyDeployment:()=>()=>g.default.createElement(I,{message:"Deployment was not finished within the desired timeframe, please try again later."}),FailedToGetUserInfo:()=>()=>g.default.createElement(I,{message:"Failed to get user information."}),FailedToGetMyAccount:()=>()=>g.default.createElement(ae,{message:"Failed to get account information."}),FailedToCreateDevelopmentSite:()=>()=>g.default.createElement(I,{message:"Failed to create a Development Site"}),FailedToGetDevelopmentSites:()=>()=>g.default.createElement(I,{message:"Failed to request development sites."}),FailedToGetDevelopmentSitesLimit:()=>()=>g.default.createElement(I,{message:"Failed to request development sites limit."}),FailedToGetRequiredApps:()=>()=>g.default.createElement(I,{message:"Failed to get app required apps."}),FailedToGetMarketListing:()=>()=>g.default.createElement(I,{message:"Failed to get market listing."}),FailedToAddRequiredApp:()=>()=>g.default.createElement(I,{message:"Failed to add required app."}),FailedToQuerySites:()=>()=>g.default.createElement(I,{message:"Failed to request sites list."}),FailedToGetSite:()=>()=>g.default.createElement(I,{message:"Failed to get information about your configured Development Site"}),FailedToDeploySite:()=>()=>g.default.createElement(I,{message:"Failed to deploy site."}),FailedToPublishDeployment:()=>()=>g.default.createElement(ae,{message:"Failed to publish site."}),FailedToSaveDevelopmentSite:({path:t})=>()=>g.default.createElement(I,{message:"Failed to save the current development site.",hint:`Make sure the \`${t}\` file has proper permissions and is accessible`}),FailedToBuildApp:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:g.default.createElement(g.default.Fragment,null,"Failed to build the application.",g.default.createElement(Ur,null),r),hint:"Please check the build output for more information"})},FailedToCheckIfAppInstalled:()=>()=>g.default.createElement(I,{message:"Failed to fetch site installation details"}),FailedToInitializeGitRepo:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to initialize git repo. Cause: ${r}`})},FailedToInstallDependencies:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to install dependencies. Cause: ${r}`})},FailedToCommitChanges:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to commit changes. Cause: ${r}`})},FailedToDeleteAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to delete auth data: ${r}`})},FailedToDeleteLegacyAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to delete legacy auth data: ${r}`})},FailedToSaveAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to save auth data: ${r}`})},FailedToSaveApiKeyAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to save api key auth data: ${r}`})},FailedToWriteJson:({filePath:t,cause:r})=>{let i=Ne(r);return()=>g.default.createElement(I,{message:`Failed to write JSON at path: ${t}. Cause: ${i}`})},TemplatePathNotFound:({templatePath:t})=>()=>g.default.createElement(I,{message:`Template path not found: ${t}`,hint:"Make sure the template path exists in the remote repository"}),FailedToCloneRepo:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{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(I,{message:`Invalid Git URL: ${t}`,hint:"Make sure the Git URL is in the correct format"}),AuthenticationRequired:()=>()=>g.default.createElement(I,{message:"You have to already be logged in to run this command."}),SiteConfiguredRequired:()=>()=>g.default.createElement(I,{message:"You must configure the development site before running this command, or provide a site-id in the command options."}),FailedAddingPackageToWorkspace:()=>()=>g.default.createElement(I,{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(I,{message:"Failed to generate a Selfsigned certificate for development."}),NonInteractiveTerminal:()=>()=>g.default.createElement(I,{message:"This command is not supported in non-interactive terminals. Please run the command in an interactive terminal (TTY)."}),FailedToResolveViteOrigin:()=>()=>g.default.createElement(I,{message:"Failed to resolve the base url for CSS asset urls"}),FailedToCreateAppRelease:()=>()=>g.default.createElement(ae,{message:"Failed to create an app configuration."}),FailedToUpdateAppRelease:()=>()=>g.default.createElement(ae,{message:"Failed to update an app configuration."}),FailedToCreateComponents:()=>()=>g.default.createElement(ae,{message:"Failed to create components."}),FailedToCheckDeprecatedStatus:()=>()=>g.default.createElement(ae,{message:"Failed to check cli version deprecated status."}),FailedToGetResolveNpmDependenciesResult:()=>()=>g.default.createElement(ae,{message:"Failed to resolve Wix's lockfile."}),CliAppVersionMismatch:({cliVersion:t,cliAppVersion:r})=>()=>g.default.createElement(I,{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(ae,{message:"Failed to get validation status for app version"}),InvalidDashboardPageRoute:({route:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid dashboard page route: ${t}`,hint:r}),InvalidEmbeddedScriptFolder:({path:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid embedded script folder: ${t}`,hint:r}),InvalidEmbeddedScriptTemplate:({templateFilename:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid embedded script template in ${t}`,hint:r}),InvalidCustomElementTagName:({tagName:t,errorMessage:r})=>()=>g.default.createElement(I,{message:g.default.createElement(H,null,"We use name of folder as tagName for your site widget. 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(I,{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(Ur,null),"Read more about it here:"," ",g.default.createElement(_s,{url:"https://docs.npmjs.com/about-semantic-versioning"}))}),FailedToCreateSiteOverride:()=>()=>g.default.createElement(ae,{message:"Failed to create site override configuration"}),FailedToGetPipelineErrorInfo:()=>()=>g.default.createElement(ae,{message:"Failed to get error details"}),FailedToGetDeploymentStatus:()=>()=>g.default.createElement(ae,{message:"Failed to get deployment status"}),NetworkError:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Network error occurred. Cause: ${r}`,hint:"Make sure you have an active internet connection and try again shortly."})},FailedToGenerateAppMarketQueryParam:()=>()=>g.default.createElement(ae,{message:"Failed to get generate appMarket query parameter"}),FailedToParseLog:()=>()=>g.default.createElement(ae,{message:"Failed to parse log from the server"}),AppForVersionNotFound:({version:t})=>()=>g.default.createElement(I,{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(ae,{message:"Failed to fetch app configuration"}),FailedToGetAppSecret:()=>()=>g.default.createElement(ae,{message:"Failed to fetch app keys and configuration"}),FailedToGetAppSnapshot:()=>()=>g.default.createElement(ae,{message:"Failed to fetch app configuration"}),FailedToConnectToLogsService:()=>()=>g.default.createElement(I,{message:"Failed to connect to logs service."}),FailedToGetLogsTopology:()=>()=>g.default.createElement(I,{message:"Failed to fetch logs configuration for the given version.",hint:"Try to use a different version."}),LogsConnectionTimeout:()=>()=>g.default.createElement(I,{message:"Log session has been closed due to timeout."}),InvalidServicePluginImplementation:()=>()=>g.default.createElement(I,{message:"Your service plugin implementation is incorrect."}),UnknownServicePlugin:({name:t})=>()=>g.default.createElement(I,{message:`Unknown service plugin with the name of \`${t}\``}),InvalidServicePluginFolder:({relativePath:t})=>()=>g.default.createElement(I,{message:`Invalid folder for service plugin in \`${t}\``}),InvalidSiteOverrideID:()=>()=>g.default.createElement(I,{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."})})}function Ne(e){return e instanceof Error?e.message:JSON.stringify(e)}function il(e){let t=e.path.join(".");return t?`- \`${t}\`: ${e.message}`:`- ${e.message}`}var sl=({error:e,systemErrorOverride:t})=>(0,No.useMemo)(()=>{let r=dg(e);return lg(r)&&t?t:(0,No.createElement)(GS(r.cliCode))},[e,t]);o();var MR=W(PR(),1),UR=W(CW(),1);import{statSync as eX}from"node:fs";import{access as tX,readFile as rX,writeFile as LR,mkdir as FR,stat as iX}from"node:fs/promises";import{dirname as dm,join as mm,relative as nX}from"node:path";import{EOL as sX}from"node:os";o();var wR=v.object({dependencies:v.record(v.string()).optional(),devDependencies:v.record(v.string()).optional(),peerDependencies:v.record(v.string()).optional()});function aX(e,t){return JSON.stringify(e,null,t?.spaces).concat(sX)}async function ri(e,t,r){try{let i=aX(t,r);await FR(dm(e),{recursive:!0}),await LR(e,i,"utf-8")}catch(i){throw new y({code:D.FailedToWriteJson({filePath:e,cause:i}),cause:i})}}async function Ce(e){let t=null;try{t=await rX(e,"utf-8")}catch(r){throw new y({code:D.FailedToReadJson({filePath:e,cause:r})})}try{return JSON.parse(t)}catch(r){throw new y({code:D.InvalidJsonFile({filePath:e,cause:r})})}}function Ie(e){return tX(e).then(()=>!0).catch(()=>!1)}async function vhe(e,t){await FR(dm(e),{recursive:!0}),await LR(e,t,"utf-8")}async function qR(e,t){if(!await Ie(e))throw new UR.default({name:"PathNotFound"},`Folder not found at '${e}'`);let r=0,i=0;await(0,MR.create)({strict:!0,gzip:!0,portable:!0,cwd:e,filter(s){let a=mm(e,s),c=eX(a);return c.isFile()&&(r++,i+=c.size),!0},file:t},["."]);let n=(await iX(t)).size/1024;return{fileCount:r,compressedSizeInKb:Math.round(n),uncompressedSizeInKb:Math.round(i/1024)}}async function kR(e){let t=mm(e,"package.json"),r=await Ce(t),i=await wR.safeParseAsync(r);if(!i.success)throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:i.error})});return r}async function ghe(e,t){let r=mm(e,"package.json");await ri(r,t,{spaces:2})}function Fi(e,t){return nX(e,dm(t))}o();var Gm=W(Ye(),1);o();var GR=W(Ye(),1),Bc=(0,GR.createContext)(null);o();o();var RT=W(vt(),1);o();o();var YR=W(VR(),1),cX=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed"]),fm=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}},uX=(e,t,r)=>{let i=r.retries-(t-1);return e.attemptNumber=t,e.retriesLeft=i,e},pX=e=>cX.has(e),KR=e=>globalThis.DOMException===void 0?new Error(e):new DOMException(e);async function he(e,t){return new Promise((r,i)=>{t={onFailedAttempt(){},retries:10,...t};let n=YR.default.operation(t);n.attempt(async s=>{try{r(await e(s))}catch(a){if(!(a instanceof Error)){i(new TypeError(`Non-error was thrown: "${a}". You should only throw errors.`));return}if(a instanceof fm)n.stop(),i(a.originalError);else if(a instanceof TypeError&&!pX(a.message))n.stop(),i(a);else{uX(a,s,t);try{await t.onFailedAttempt(a)}catch(c){i(c);return}n.retry(a)||i(n.mainError())}}}),t.signal&&!t.signal.aborted&&t.signal.addEventListener("abort",()=>{n.stop();let s=t.signal.reason===void 0?KR("The operation was aborted."):t.signal.reason;i(s instanceof Error?s:KR(s))},{once:!0})})}o();o();o();o();function $R(e=""){let[t,r]=lX(e);return r?{schemaName:r,schemaType:t}:{schemaName:t}}var lX=e=>e.split("#");o();o();function zR(e,t,r,i){let n=e;for(let s of t.split(".")){if(!n)return r;n=n[s]}return`${n}${i}`}var dX="_",mX=["wix.com","editorx.com"],fX=["42.wixprod.net","uw2-edt-1.wixprod.net"],hX="dev.wix-code.com",_X=/{(.*)}/,EX=new RegExp(`\\.(${mX.join("|")})$`),vX=new RegExp(`\\.(${fX.join("|")})$`),gX=new RegExp(`.*\\.${hX}$`);function je(e){let t=OX(e.host),r=NX(t,e.domainToMappings),i=xX(e.protoPath,e.data||{});return IX(i,r)}function xX(e,t){return e.split("/").map(r=>SX(r,t)).join("/")}function SX(e,t){let r=e.match(_X)||[],i=r[1];if(i){let n=e.replace(r[0],"");return zR(t,i,e,n)}return e}function OX(e){return AX(e).replace(EX,"._base_domain_").replace(vX,"._api_base_domain_").replace(gX,"*.dev.wix-code.com")}function AX(e){return e.replace("create.editorx.com","editor.editorx.com")}function NX(e,t){let r=t[e]||t[dX];return!r&&RX(e)?t[TX]:r}function IX(e,t){let r=t?.find(i=>e.startsWith(i.destPath));return r?r.srcPath+e.slice(r.destPath.length):e}function RX(e){return!!e.match(/\._base_domain_$/)}var TX="www._base_domain_";o();o();var hm=typeof Buffer=="function",Khe=typeof TextDecoder=="function"?new TextDecoder:void 0,XR=typeof TextEncoder=="function"?new TextEncoder:void 0,bX="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ra=Array.prototype.slice.call(bX),Yhe=(e=>{let t={};return e.forEach((r,i)=>t[r]=i),t})(ra);var ar=String.fromCharCode.bind(String),$he=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),yX=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var DX=e=>{let t,r,i,n,s="",a=e.length%3;for(let c=0;c<e.length;){if((r=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255||(n=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|i<<8|n,s+=ra[t>>18&63]+ra[t>>12&63]+ra[t>>6&63]+ra[t&63]}return a?s.slice(0,a-3)+"===".substring(a):s},ZR=typeof btoa=="function"?e=>btoa(e):hm?e=>Buffer.from(e,"binary").toString("base64"):DX,CX=hm?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let i=0,n=e.length;i<n;i+=4096)r.push(ar.apply(null,e.subarray(i,i+4096)));return ZR(r.join(""))};var PX=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ar(192|t>>>6)+ar(128|t&63):ar(224|t>>>12&15)+ar(128|t>>>6&63)+ar(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ar(240|t>>>18&7)+ar(128|t>>>12&63)+ar(128|t>>>6&63)+ar(128|t&63)}},wX=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,LX=e=>e.replace(wX,PX),JR=hm?e=>Buffer.from(e,"utf8").toString("base64"):XR?e=>CX(XR.encode(e)):e=>ZR(LX(e)),QR=(e,t=!1)=>t?yX(JR(e)):JR(e);function eT(e,t=""){let r={};return Object.entries(e).forEach(([i,n])=>{let s=n!==null&&typeof n=="object"&&!Array.isArray(n),a=FX(t,i);if(s){let c=eT(n,a);Object.assign(r,c)}else r[a]=n}),r}function FX(e,t){return`${e}${e?".":""}${t}`}function _e(e,t){let r=eT(e),i=Object.entries(r).reduce((n,[s,a])=>((Array.isArray(a)?a:[a]).forEach(u=>{u!=null&&n.append(s,u)}),n),new URLSearchParams);return t&&i.append(".r",QR(JSON.stringify(e),!0)),i}o();o();var Re;(function(e){e[e.TO_JSON=0]="TO_JSON",e[e.FROM_JSON=1]="FROM_JSON"})(Re||(Re={}));o();function tT(e,t={},r){return function(n={},s){return typeof n=="string"?n:a(e,n);function a(l,f){let h={};return[null,void 0].includes(f)?f:(Object.entries(f).forEach(([E,x])=>{let S=l[E],{schemaName:R,schemaType:b}=$R(S),q=b==="Map",k=u(R)?.checkRepetable?.(x)??Array.isArray(x),j;k?j=x.map(M=>c(M,R)):q?j=p(x,R):j=c(x,R),h[E]=j}),h)}function c(l,f){if(!f)return l;let h=t[f];if(u(f))return u(f).transform(l);if(h)return a(h,l);throw new Error(`${f} is neither schema nor serializable type`)}function u(l){return r[l]?.[s]}function p(l,f){return Object.entries(l).reduce((h,[E,x])=>(h[E]=c(x,f),h),{})}}}o();o();var rT={types:["google.protobuf.Timestamp"],[Re.TO_JSON]:{transform:e=>e?.toISOString()},[Re.FROM_JSON]:{transform:e=>e?new Date(e):void 0}};o();var iT={types:["google.protobuf.FieldMask"],[Re.TO_JSON]:{transform:e=>e.join(","),checkRepetable:e=>e.some(t=>Array.isArray(t))},[Re.FROM_JSON]:{transform:e=>typeof e=="object"?e.paths:e.split(",")}};o();var nT={types:["google.protobuf.BytesValue","BYTES"],[Re.TO_JSON]:{transform:e=>{let t=e.reduce((r,i)=>r+String.fromCharCode(i),"");return btoa(t)}},[Re.FROM_JSON]:{transform:e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0))}};o();var sT={types:["google.protobuf.Duration"],[Re.TO_JSON]:{transform:({seconds:e="0",nanos:t=0})=>{let r="";return t!==0&&(r=`.${t.toString().padStart(9,"0")}`),`${e}${r}s`}},[Re.FROM_JSON]:{transform:e=>{let[t,r]=e.substring(0,e.length-1).split(".");return{seconds:t,nanos:MX(r)}}}};function MX(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 aT={types:["FLOAT","DOUBLE","google.protobuf.FloatValue","google.protobuf.DoubleValue"],[Re.TO_JSON]:{transform:e=>isFinite(e)?e:e.toString()},[Re.FROM_JSON]:{transform:e=>e==="NaN"?NaN:e==="Infinity"?1/0:e==="-Infinity"?-1/0:e}};var oT=[rT,iT,nT,sT,aT];o();function cT(e){return e.reduce((t,r)=>{let i=r.types.reduce((n,s)=>({...n,[s]:r}),{});return{...t,...i}},{})}var UX=cT([...oT]);function B(e,t={}){let r=tT(e,t,UX);return{fromJSON(i){let n=qX(i)||i;return r(n,Re.FROM_JSON)},toJSON(i){return r(i,Re.TO_JSON)}}}function qX(e){try{return JSON.parse(e)}catch{}}var kX={dateCreated:"google.protobuf.Timestamp",dateUpdated:"google.protobuf.Timestamp"},GX={account:"_account"};var BX={};function HX(e){var t={"api._api_base_domain_":[{srcPath:"/account-server",destPath:""}],"www._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"manage._base_domain_":[{srcPath:"/_api/account-server",destPath:""},{srcPath:"/account-server",destPath:""}],"premium._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"editor._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"blocks._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"create.editorx":[{srcPath:"/_api/account-server",destPath:""}],"bo._base_domain_":[{srcPath:"/account-server",destPath:""}],"wixbo.ai":[{srcPath:"/account-server",destPath:""}],"www.wixapis.com":[{srcPath:"/accounts",destPath:""}],"users._base_domain_":[{srcPath:"/_api/account-server",destPath:""}],"*.dev.wix-code.com":[{srcPath:"/_api/account-server",destPath:""}]};return je(Object.assign(e,{domainToMappings:t}))}function uT(e){var t=B(BX,{}),r=t.toJSON,i=t.fromJSON,n=B(GX,{_account:kX}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.account.v2.account",method:"GET",methodFqn:"com.wixpress.account.api.AccountService.getMyAccount",url:HX({protoPath:"/v1/accounts/my_account",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var WX={},jX={};var VX={body:"BYTES"},KX={body:"BYTES"},YX={},$X={};function _m(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 je(Object.assign(e,{domainToMappings:t}))}function Em(e){var t=B(VX,{}),r=t.toJSON,i=t.fromJSON,n=B(KX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.Token",url:_m({protoPath:"/v1/oauth/token",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function pT(e){var t=B(WX,{}),r=t.toJSON,i=t.fromJSON,n=B(jX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"GET",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.DeviceCode",url:_m({protoPath:"/v1/oauth/device/code",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function lT(e){var t=B(YX,{}),r=t.toJSON,i=t.fromJSON,n=B($X,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.RevokeRefreshToken",url:_m({protoPath:"/v1/oauth/revoke",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}var Mn=W(vt(),1);o();var dT=v.object({deviceCode:v.string(),verificationUri:v.string().url(),userCode:v.string(),expiresIn:v.number()}),vm=v.object({access_token:v.string(),refresh_token:v.string(),expires_in:v.number()}).transform(e=>({accessToken:e.access_token,refreshToken:e.refresh_token,expiresIn:e.expires_in})),gm=v.object({userId:v.string().uuid(),email:v.string().email()}),mT=v.object({account:v.object({slug:v.string(),accountId:v.string().uuid(),accountOwner:v.string().uuid()})}),fT=v.object({accessToken:v.string(),refreshToken:v.string(),expiresIn:v.number(),issuedAt:v.number()}),hT=fT.extend({userInfo:gm}),_T=v.object({token:v.string(),accountId:v.string().uuid(),userInfo:v.object({userId:v.string().uuid(),email:v.string()})});var{InvalidResponseData:zX,FailedToGetAuthToken:XX,FailedToGetDeviceCode:JX,FailedToRenewAuthToken:ZX,FailedToRenewAuthTokenSiteNotFound:QX,FailedToRevokeRefreshToken:e4}=D,xm="6f95cec8-3e98-48b9-b4e5-1fb92fcd9973",ET=()=>Math.floor(Date.now()/1e3),ia=class extends Error{},Hc=(0,Mn.variant)({TokenRenewed:(0,Mn.payload)(),RefreshTokenRevoked:(0,Mn.fields)()}),Sm=class{constructor(t){this.httpClient=t;let{minRetryTimeout:r}=ct();this.retryOptions={retries:3,minTimeout:r,maxTimeout:3*1e3}}retryOptions;async requestDeviceCode(t={}){try{let{data:r}=await he(()=>this.httpClient.request(pT({...t,clientId:xm})),this.retryOptions);return dT.parse(r)}catch(r){throw new y({code:JX(),cause:r})}}async createToken(t){try{let r={clientId:xm,grantType:"urn:ietf:params:oauth:grant-type:device_code",scope:"offline_access",...t};return{...await he(async()=>{let{data:n,requestId:s}=await this.httpClient.request(Em(r)),a=vm.safeParse(n);if(a.success)return a.data;throw new y({code:zX(),cause:a.error,info:{requestId:s,data:n}})},this.retryOptions),issuedAt:ET()}}catch(r){throw _r(r)&&(r.response?.data?.message==="Device code is not yet verified"||r.response?.data?.error==="authorization_pending")?new ia("Device code is not yet verified."):new y({code:XX(),cause:r})}}async renewToken(t){try{let r={clientId:xm,grantType:"refresh_token",...t},{data:i}=await he(()=>this.httpClient.request(Em(r)),this.retryOptions),n=vm.parse(i);return Hc.TokenRenewed({...n,issuedAt:ET()})}catch(r){if(_r(r)){if(r.response?.status===400&&r.response.data?.error==="invalid_grant")return Hc.RefreshTokenRevoked({cause:r});if(t.siteId&&r.response?.status===404&&r.response.data?.details?.applicationError?.code==="SITE_NOT_FOUND")throw new y({code:QX({siteId:t.siteId}),cause:r})}throw new y({code:ZX(),cause:r})}}async revokeRefreshToken(t,{email:r}){try{let{data:i}=await this.httpClient.request(lT(t));return i}catch(i){throw new y({code:e4({email:r}),info:{email:r},cause:i})}}async userInfo({accessToken:t}){try{let r=pn({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.get("/_serverless/wix-cli-userinfo/userinfo");return gm.parse(i)}catch(r){throw new y({code:D.FailedToGetUserInfo(),cause:r})}}async getMyAccount({token:t}){try{let r=pn({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.request(uT({}));return mT.parse(i).account}catch(r){throw new y({code:D.FailedToGetMyAccount(),cause:r})}}},ii=new Sm(pn({type:"backoffice"}));o();import{unlink as n4,rm as s4}from"node:fs/promises";import{resolve as na}from"node:path";o();import{mkdir as t4}from"node:fs/promises";import{resolve as r4}from"node:path";import{homedir as i4}from"node:os";function Wc(){return ct().dataDir??r4(i4(),".wix")}async function dEe(){await t4(Wc(),{recursive:!0})}var At=W(vt(),1);function gT(){return na(Wc(),"auth.json")}function jc(){return na(Wc(),"auth")}function xT(){return na(jc(),"api-key.json")}function ST(){return na(jc(),"account.json")}function a4(e){return na(jc(),`${e}.json`)}var vT=(0,At.variant)({Authenticated:(0,At.payload)(),Unauthenticated:{}});async function OT(){let e=xT();if(!await Ie(e))return vT.Unauthenticated();let t=await Ce(e),r=_T.parse(t);return vT.Authenticated(r)}async function AT(e){try{let t=xT();await ri(t,e)}catch(t){throw new y({code:D.FailedToSaveApiKeyAuthData({cause:t}),cause:t})}}var Om=(0,At.variant)({Authenticated:(0,At.fields)(),Unauthenticated:{},Expired:(0,At.fields)()});async function NT(){let e=ST();if(!await Ie(e))return Om.Unauthenticated();let t=await Ce(e),r=hT.parse(t);return Im(r)?Om.Authenticated(r):Om.Expired(r)}var SEe=(0,At.variant)({Authenticated:(0,At.fields)(),Unauthenticated:{},Expired:(0,At.fields)()});async function Am(e,t){try{let r=t?a4(t):ST();await ri(r,e)}catch(r){throw new y({code:D.FailedToSaveAuthData({cause:r}),cause:r})}}async function Vc(){try{await s4(jc(),{recursive:!0,force:!0})}catch(e){throw new y({code:D.FailedToDeleteAuthData({cause:e}),cause:e})}await Nm()&&await o4()}async function o4(){try{await n4(gT())}catch(e){throw new y({code:D.FailedToDeleteLegacyAuthData({cause:e}),cause:e})}}async function Nm(){return Ie(gT())}function Im(e){let t=Math.floor(Date.now()/1e3),r=10*60,i=e.expiresIn-r;return e.issuedAt+i>t}function IT({authData:{token:e,accountId:t,userInfo:r},siteId:i}){return{getAccessToken:async()=>e,getRefreshToken:()=>{throw new Error("API key auth does not support refresh tokens")},getRequestHeaders:()=>({"wix-account-id":t,...i&&{"wix-site-id":i}}),userInfo:r}}var TT={async isLoggedIn({siteId:e}={}){let t=await OT();return(0,RT.match)(t,{Authenticated:({payload:r})=>IT({authData:r,siteId:e}),Unauthenticated:()=>null})},async login({token:e}){let{accountId:t,accountOwner:r,slug:i}=await ii.getMyAccount({token:e}),n={token:e,accountId:t,userInfo:{userId:r,email:i}};return await Vc(),await AT(n),IT({authData:n})}};o();o();o();var Rm=class{value;next;constructor(t){this.value=t}},sa=class{#e;#t;#r;constructor(){this.clear()}enqueue(t){let r=new Rm(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 Tm(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 sa,r=0,i=()=>{r--,t.size>0&&t.dequeue()()},n=async(c,u,p)=>{r++;let l=(async()=>c(...p))();u(l);try{await l}catch{}i()},s=(c,u,p)=>{t.enqueue(n.bind(void 0,c,u,p)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},a=(c,...u)=>new Promise(p=>{s(c,p,u)});return Object.defineProperties(a,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),a}var ni=W(vt(),1);o();o();var Un=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},bm=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}},bT=e=>globalThis.DOMException===void 0?new bm(e):new DOMException(e),yT=e=>{let t=e.reason===void 0?bT("This operation was aborted."):e.reason;return t instanceof Error?t:bT(t)};function ym(e,t){let{milliseconds:r,fallback:i,message:n,customTimers:s={setTimeout,clearTimeout}}=t,a,u=new Promise((p,l)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){let{signal:h}=t;h.aborted&&l(yT(h)),h.addEventListener("abort",()=>{l(yT(h))})}if(r===Number.POSITIVE_INFINITY){e.then(p,l);return}let f=new Un;a=s.setTimeout.call(void 0,()=>{if(i){try{p(i())}catch(h){l(h)}return}typeof e.cancel=="function"&&e.cancel(),n===!1?p():n instanceof Error?l(n):(f.message=n??`Promise timed out after ${r} milliseconds`,l(f))},r),(async()=>{try{p(await e)}catch(h){l(h)}})()}).finally(()=>{u.clear()});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}var Dm=Symbol("resolveValue");async function or(e,t={}){let{interval:r=20,timeout:i=Number.POSITIVE_INFINITY,before:n=!0}=t,s,a=!1,c=new Promise((u,p)=>{let l=async()=>{try{let f=await e();if(typeof f=="object"&&f[Dm])u(f[Dm]);else{if(typeof f!="boolean")throw new TypeError("Expected condition to return a boolean");f===!0?u():a||(s=setTimeout(l,r))}}catch(f){p(f)}};n?l():s=setTimeout(l,r)});if(i===Number.POSITIVE_INFINITY)return c;try{return await ym(c,typeof i=="number"?{milliseconds:i}:i)}finally{a=!0,clearTimeout(s)}}or.resolveWith=e=>({[Dm]:e});var DT=e=>1e3*e;async function c4({deviceCode:e,expiresIn:t},{signal:r}){try{let i=await or(async()=>{try{let a=await ii.createToken({deviceCode:e});return or.resolveWith(a)}catch(a){if(a instanceof ia)return!1;throw a}},{interval:ct().waitForLoginInterval??DT(3),timeout:{milliseconds:DT(t),signal:r}}),n=await ii.userInfo({accessToken:i.accessToken}),s={...i,userInfo:n};return await Vc(),await Am(s),s}catch(i){throw i instanceof Un?new y({code:D.DeviceCodeTimedOut()}):i}}async function PT({refreshToken:e,userInfo:t}){let r=await ii.renewToken({refreshToken:e});return(0,ni.isType)(r,Hc.TokenRenewed)&&await Am({...r.payload,userInfo:t}),r}async function u4(){let e=await NT();return(0,ni.match)(e,{Authenticated:t=>t,Unauthenticated:()=>null,Expired:async t=>{let r=await PT(t);return(0,ni.match)(r,{TokenRenewed:({payload:i})=>({...i,userInfo:t.userInfo}),RefreshTokenRevoked:(0,ni.constant)(null)})}})}function CT({userInfo:e,...t}){let r=Tm(1),i={...t};return{getAccessToken:()=>r(async()=>{if(Im(i))return i.accessToken;let n=await PT({...i,userInfo:e});return(0,ni.match)(n,{TokenRenewed:({payload:s})=>(i=s,i.accessToken),RefreshTokenRevoked:({cause:s})=>{throw new y({code:D.FailedToRenewAuthTokenRefreshTokenRevoked(),cause:s})}})}),getRefreshToken:()=>i.refreshToken,userInfo:e}}var aa={async isLoggedIn(){let e=await TT.isLoggedIn();if(e)return e;let t=await u4();return t?CT(t):null},async login({deviceCode:e,signal:t}){let r=await c4(e,{signal:t});return CT(r)}};o();var ca=W(Ye(),1),ab=W(vt(),1);o();var km=W(Ye(),1);o();function JEe(e){return{evid:5200,src:11,endpoint:"wix-cli",params:e}}function ZEe(e){return{evid:5201,src:11,endpoint:"wix-cli",params:e}}function wT(e){return{evid:5211,src:11,endpoint:"wix-cli",params:e}}function Cm(e){return{evid:5212,src:11,endpoint:"wix-cli",params:e}}var rb=W(vt(),1);var LT={"login.instructions_title":"Authorize the CLI to access your Wix account:","login.instructions_details":`1. Copy this code to the clipboard: <0>{code}</0>
28
+ `}),FailedToWatchFiles:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to watch files. Cause: ${r}`})},FailedToCreateGridApp:({error:t})=>()=>g.default.createElement(I,{message:"Failed to create an isolated environment.",explanation:t}),DeviceCodeTimedOut:()=>()=>g.default.createElement(I,{message:"The device code has not been approved in the time allocated, please start the login process again."}),DuplicateComponentIdsError:({issues:t})=>{let r=({issue:n})=>{let s=a=>(0,nl.match)(a,{page:()=>"page",plugin:()=>"plugin","menu-plugin":()=>"menu plugin","sidebar-category":()=>"sidebar category","embedded-script":()=>"embedded script","custom-element":()=>"custom element",modal:()=>"modal",topology:()=>"topology"});return g.default.createElement(Ht,{flexDirection:"column"},g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Duplicate ID: "),n.id),g.default.createElement(H,{bold:!0},"Extensions:"),n.components.map(({name:a,path:c,type:u})=>g.default.createElement(H,{key:c},"[",s(u),"] ",a," (",c,")")),g.default.createElement(H,null,g.default.createElement(H,{bold:!0},"Possible GUID: "),n.suggestedId))},i=g.default.createElement(Ht,{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(n=>g.default.createElement(r,{issue:n,key:n.id})));return()=>g.default.createElement(I,{message:"Found multiple extensions with the same id, this might happen if you copy paste folders.",hint:i})},InvalidResponseData:()=>()=>g.default.createElement(ae,{message:"Got unexpected response from server."}),InvalidCreateAppResponse:()=>()=>g.default.createElement(I,{message:"`createApp` returned an invalid response."}),InvalidDeployAppResponse:()=>()=>g.default.createElement(I,{message:"Got unexpected response from server. Make sure you are running a supported version of the Velo CLI."}),InvalidGetDeploymentResponse:()=>()=>g.default.createElement(I,{message:"Got unexpected response from server. Please try again later.."}),FailedToGetPagesDiff:()=>()=>g.default.createElement(I,{message:"Failed to request pages diff."}),InvalidViteBuildOutput:()=>()=>g.default.createElement(I,{message:"Invalid vite build output"}),ViteModuleBundleNotFound:()=>()=>g.default.createElement(I,{message:"Could not find module bundle in vite build output"}),ViteFileNotFoundInOutput:({fileName:t})=>()=>g.default.createElement(I,{message:`Could not find ${t} in vite build output`}),FailedToCreatePresignedUrl:()=>()=>g.default.createElement(I,{message:"Failed to create a presigned upload url"}),FailedToCreateBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to create backend deployment"}),FailedToUpdateBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to update backend deployment"}),InvalidDeploymentUrl:({deploymentUrl:t})=>()=>g.default.createElement(I,{message:`Invalid deployment URL: \`${t}\``}),FailedToGetBackendDeployment:()=>()=>g.default.createElement(I,{message:"Failed to get backend deployment"}),FailedToDeployBackend:()=>()=>g.default.createElement(I,{message:"Failed to deploy backend"}),FailedToMarkDeploymentAsPermanent:()=>()=>g.default.createElement(I,{message:"Failed to make backend deployment permanent"}),FailedToUploadApplicationFiles:()=>()=>g.default.createElement(I,{message:"Failed to upload the application files"}),FailedToVerifyDeployment:()=>()=>g.default.createElement(I,{message:"Deployment was not finished within the desired timeframe, please try again later."}),FailedToGetUserInfo:()=>()=>g.default.createElement(I,{message:"Failed to get user information."}),FailedToGetMyAccount:()=>()=>g.default.createElement(ae,{message:"Failed to get account information."}),FailedToCreateDevelopmentSite:()=>()=>g.default.createElement(I,{message:"Failed to create a Development Site"}),FailedToGetDevelopmentSites:()=>()=>g.default.createElement(I,{message:"Failed to request development sites."}),FailedToGetDevelopmentSitesLimit:()=>()=>g.default.createElement(I,{message:"Failed to request development sites limit."}),FailedToGetRequiredApps:()=>()=>g.default.createElement(I,{message:"Failed to get app required apps."}),FailedToGetMarketListing:()=>()=>g.default.createElement(I,{message:"Failed to get market listing."}),FailedToAddRequiredApp:()=>()=>g.default.createElement(I,{message:"Failed to add required app."}),FailedToQuerySites:()=>()=>g.default.createElement(I,{message:"Failed to request sites list."}),FailedToGetSite:()=>()=>g.default.createElement(I,{message:"Failed to get information about your configured Development Site"}),FailedToDeploySite:()=>()=>g.default.createElement(I,{message:"Failed to deploy site."}),FailedToPublishDeployment:()=>()=>g.default.createElement(ae,{message:"Failed to publish site."}),FailedToSaveDevelopmentSite:({path:t})=>()=>g.default.createElement(I,{message:"Failed to save the current development site.",hint:`Make sure the \`${t}\` file has proper permissions and is accessible`}),FailedToBuildApp:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:g.default.createElement(g.default.Fragment,null,"Failed to build the application.",g.default.createElement(Ur,null),r),hint:"Please check the build output for more information"})},FailedToCheckIfAppInstalled:()=>()=>g.default.createElement(I,{message:"Failed to fetch site installation details"}),FailedToInitializeGitRepo:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to initialize git repo. Cause: ${r}`})},FailedToInstallDependencies:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to install dependencies. Cause: ${r}`})},FailedToCommitChanges:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to commit changes. Cause: ${r}`})},FailedToDeleteAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to delete auth data: ${r}`})},FailedToDeleteLegacyAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to delete legacy auth data: ${r}`})},FailedToSaveAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to save auth data: ${r}`})},FailedToSaveApiKeyAuthData:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Failed to save api key auth data: ${r}`})},FailedToWriteJson:({filePath:t,cause:r})=>{let i=Ne(r);return()=>g.default.createElement(I,{message:`Failed to write JSON at path: ${t}. Cause: ${i}`})},TemplatePathNotFound:({templatePath:t})=>()=>g.default.createElement(I,{message:`Template path not found: ${t}`,hint:"Make sure the template path exists in the remote repository"}),FailedToCloneRepo:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{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(I,{message:`Invalid Git URL: ${t}`,hint:"Make sure the Git URL is in the correct format"}),AuthenticationRequired:()=>()=>g.default.createElement(I,{message:"You have to already be logged in to run this command."}),SiteConfiguredRequired:()=>()=>g.default.createElement(I,{message:"You must configure the development site before running this command, or provide a site-id in the command options."}),FailedAddingPackageToWorkspace:()=>()=>g.default.createElement(I,{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(I,{message:"Failed to generate a Selfsigned certificate for development."}),NonInteractiveTerminal:()=>()=>g.default.createElement(I,{message:"This command is not supported in non-interactive terminals. Please run the command in an interactive terminal (TTY)."}),FailedToResolveViteOrigin:()=>()=>g.default.createElement(I,{message:"Failed to resolve the base url for CSS asset urls"}),FailedToCreateAppRelease:()=>()=>g.default.createElement(ae,{message:"Failed to create an app configuration."}),FailedToUpdateAppRelease:()=>()=>g.default.createElement(ae,{message:"Failed to update an app configuration."}),FailedToCreateComponents:()=>()=>g.default.createElement(ae,{message:"Failed to create components."}),FailedToCheckDeprecatedStatus:()=>()=>g.default.createElement(ae,{message:"Failed to check cli version deprecated status."}),FailedToGetResolveNpmDependenciesResult:()=>()=>g.default.createElement(ae,{message:"Failed to resolve Wix's lockfile."}),CliAppVersionMismatch:({cliVersion:t,cliAppVersion:r})=>()=>g.default.createElement(I,{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(ae,{message:"Failed to get validation status for app version"}),InvalidDashboardPageRoute:({route:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid dashboard page route: ${t}`,hint:r}),InvalidEmbeddedScriptFolder:({path:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid embedded script folder: ${t}`,hint:r}),InvalidEmbeddedScriptTemplate:({templateFilename:t,errorMessage:r})=>()=>g.default.createElement(I,{message:`Invalid embedded script template in ${t}`,hint:r}),InvalidCustomElementTagName:({tagName:t,errorMessage:r})=>()=>g.default.createElement(I,{message:g.default.createElement(H,null,"We use name of folder as tagName for your site widget. 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(I,{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(Ur,null),"Read more about it here:"," ",g.default.createElement(_s,{url:"https://docs.npmjs.com/about-semantic-versioning"}))}),FailedToCreateSiteOverride:()=>()=>g.default.createElement(ae,{message:"Failed to create site override configuration"}),FailedToGetPipelineErrorInfo:()=>()=>g.default.createElement(ae,{message:"Failed to get error details"}),FailedToGetDeploymentStatus:()=>()=>g.default.createElement(ae,{message:"Failed to get deployment status"}),NetworkError:({cause:t})=>{let r=Ne(t);return()=>g.default.createElement(I,{message:`Network error occurred. Cause: ${r}`,hint:"Make sure you have an active internet connection and try again shortly."})},FailedToGenerateAppMarketQueryParam:()=>()=>g.default.createElement(ae,{message:"Failed to get generate appMarket query parameter"}),FailedToParseLog:()=>()=>g.default.createElement(ae,{message:"Failed to parse log from the server"}),AppForVersionNotFound:({version:t})=>()=>g.default.createElement(I,{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(ae,{message:"Failed to fetch app configuration"}),FailedToGetAppSecret:()=>()=>g.default.createElement(ae,{message:"Failed to fetch app keys and configuration"}),FailedToGetAppSnapshot:()=>()=>g.default.createElement(ae,{message:"Failed to fetch app configuration"}),FailedToConnectToLogsService:()=>()=>g.default.createElement(I,{message:"Failed to connect to logs service."}),FailedToGetLogsTopology:()=>()=>g.default.createElement(I,{message:"Failed to fetch logs configuration for the given version.",hint:"Try to use a different version."}),LogsConnectionTimeout:()=>()=>g.default.createElement(I,{message:"Log session has been closed due to timeout."}),InvalidServicePluginImplementation:()=>()=>g.default.createElement(I,{message:"Your service plugin implementation is incorrect."}),UnknownServicePlugin:({name:t})=>()=>g.default.createElement(I,{message:`Unknown service plugin with the name of \`${t}\``}),InvalidServicePluginFolder:({relativePath:t})=>()=>g.default.createElement(I,{message:`Invalid folder for service plugin in \`${t}\``}),InvalidSiteOverrideID:()=>()=>g.default.createElement(I,{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."})})}function Ne(e){return e instanceof Error?e.message:JSON.stringify(e)}function il(e){let t=e.path.join(".");return t?`- \`${t}\`: ${e.message}`:`- ${e.message}`}var sl=({error:e,systemErrorOverride:t})=>(0,No.useMemo)(()=>{let r=dg(e);return lg(r)&&t?t:(0,No.createElement)(GS(r.cliCode))},[e,t]);o();var MR=W(PR(),1),UR=W(CW(),1);import{statSync as eX}from"node:fs";import{access as tX,readFile as rX,writeFile as LR,mkdir as FR,stat as iX}from"node:fs/promises";import{dirname as dm,join as mm,relative as nX}from"node:path";import{EOL as sX}from"node:os";o();var wR=v.object({dependencies:v.record(v.string()).optional(),devDependencies:v.record(v.string()).optional(),peerDependencies:v.record(v.string()).optional()});function aX(e,t){return JSON.stringify(e,null,t?.spaces).concat(sX)}async function ri(e,t,r){try{let i=aX(t,r);await FR(dm(e),{recursive:!0}),await LR(e,i,"utf-8")}catch(i){throw new y({code:D.FailedToWriteJson({filePath:e,cause:i}),cause:i})}}async function Ce(e){let t=null;try{t=await rX(e,"utf-8")}catch(r){throw new y({code:D.FailedToReadJson({filePath:e,cause:r})})}try{return JSON.parse(t)}catch(r){throw new y({code:D.InvalidJsonFile({filePath:e,cause:r})})}}function Ie(e){return tX(e).then(()=>!0).catch(()=>!1)}async function vhe(e,t){await FR(dm(e),{recursive:!0}),await LR(e,t,"utf-8")}async function qR(e,t){if(!await Ie(e))throw new UR.default({name:"PathNotFound"},`Folder not found at '${e}'`);let r=0,i=0;await(0,MR.create)({strict:!0,gzip:!0,portable:!0,cwd:e,filter(s){let a=mm(e,s),c=eX(a);return c.isFile()&&(r++,i+=c.size),!0},file:t},["."]);let n=(await iX(t)).size/1024;return{fileCount:r,compressedSizeInKb:Math.round(n),uncompressedSizeInKb:Math.round(i/1024)}}async function kR(e){let t=mm(e,"package.json"),r=await Ce(t),i=await wR.safeParseAsync(r);if(!i.success)throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:i.error})});return r}async function ghe(e,t){let r=mm(e,"package.json");await ri(r,t,{spaces:2})}function Fi(e,t){return nX(e,dm(t))}o();var Gm=W(Ye(),1);o();var GR=W(Ye(),1),Bc=(0,GR.createContext)(null);o();o();var RT=W(vt(),1);o();o();var YR=W(VR(),1),cX=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed"]),fm=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}},uX=(e,t,r)=>{let i=r.retries-(t-1);return e.attemptNumber=t,e.retriesLeft=i,e},pX=e=>cX.has(e),KR=e=>globalThis.DOMException===void 0?new Error(e):new DOMException(e);async function he(e,t){return new Promise((r,i)=>{t={onFailedAttempt(){},retries:10,...t};let n=YR.default.operation(t);n.attempt(async s=>{try{r(await e(s))}catch(a){if(!(a instanceof Error)){i(new TypeError(`Non-error was thrown: "${a}". You should only throw errors.`));return}if(a instanceof fm)n.stop(),i(a.originalError);else if(a instanceof TypeError&&!pX(a.message))n.stop(),i(a);else{uX(a,s,t);try{await t.onFailedAttempt(a)}catch(c){i(c);return}n.retry(a)||i(n.mainError())}}}),t.signal&&!t.signal.aborted&&t.signal.addEventListener("abort",()=>{n.stop();let s=t.signal.reason===void 0?KR("The operation was aborted."):t.signal.reason;i(s instanceof Error?s:KR(s))},{once:!0})})}o();o();o();o();function $R(e=""){let[t,r]=lX(e);return r?{schemaName:r,schemaType:t}:{schemaName:t}}var lX=e=>e.split("#");o();o();function zR(e,t,r,i){let n=e;for(let s of t.split(".")){if(!n)return r;n=n[s]}return`${n}${i}`}var dX="_",mX=["wix.com","editorx.com"],fX=["42.wixprod.net","uw2-edt-1.wixprod.net"],hX="dev.wix-code.com",_X=/{(.*)}/,EX=new RegExp(`\\.(${mX.join("|")})$`),vX=new RegExp(`\\.(${fX.join("|")})$`),gX=new RegExp(`.*\\.${hX}$`);function je(e){let t=OX(e.host),r=NX(t,e.domainToMappings),i=xX(e.protoPath,e.data||{});return IX(i,r)}function xX(e,t){return e.split("/").map(r=>SX(r,t)).join("/")}function SX(e,t){let r=e.match(_X)||[],i=r[1];if(i){let n=e.replace(r[0],"");return zR(t,i,e,n)}return e}function OX(e){return AX(e).replace(EX,"._base_domain_").replace(vX,"._api_base_domain_").replace(gX,"*.dev.wix-code.com")}function AX(e){return e.replace("create.editorx.com","editor.editorx.com")}function NX(e,t){let r=t[e]||t[dX];return!r&&RX(e)?t[TX]:r}function IX(e,t){let r=t?.find(i=>e.startsWith(i.destPath));return r?r.srcPath+e.slice(r.destPath.length):e}function RX(e){return!!e.match(/\._base_domain_$/)}var TX="www._base_domain_";o();o();var hm=typeof Buffer=="function",Khe=typeof TextDecoder=="function"?new TextDecoder:void 0,XR=typeof TextEncoder=="function"?new TextEncoder:void 0,bX="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ra=Array.prototype.slice.call(bX),Yhe=(e=>{let t={};return e.forEach((r,i)=>t[r]=i),t})(ra);var ar=String.fromCharCode.bind(String),$he=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),yX=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var DX=e=>{let t,r,i,n,s="",a=e.length%3;for(let c=0;c<e.length;){if((r=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255||(n=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|i<<8|n,s+=ra[t>>18&63]+ra[t>>12&63]+ra[t>>6&63]+ra[t&63]}return a?s.slice(0,a-3)+"===".substring(a):s},ZR=typeof btoa=="function"?e=>btoa(e):hm?e=>Buffer.from(e,"binary").toString("base64"):DX,CX=hm?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let i=0,n=e.length;i<n;i+=4096)r.push(ar.apply(null,e.subarray(i,i+4096)));return ZR(r.join(""))};var PX=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ar(192|t>>>6)+ar(128|t&63):ar(224|t>>>12&15)+ar(128|t>>>6&63)+ar(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ar(240|t>>>18&7)+ar(128|t>>>12&63)+ar(128|t>>>6&63)+ar(128|t&63)}},wX=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,LX=e=>e.replace(wX,PX),JR=hm?e=>Buffer.from(e,"utf8").toString("base64"):XR?e=>CX(XR.encode(e)):e=>ZR(LX(e)),QR=(e,t=!1)=>t?yX(JR(e)):JR(e);function eT(e,t=""){let r={};return Object.entries(e).forEach(([i,n])=>{let s=n!==null&&typeof n=="object"&&!Array.isArray(n),a=FX(t,i);if(s){let c=eT(n,a);Object.assign(r,c)}else r[a]=n}),r}function FX(e,t){return`${e}${e?".":""}${t}`}function _e(e,t){let r=eT(e),i=Object.entries(r).reduce((n,[s,a])=>((Array.isArray(a)?a:[a]).forEach(u=>{u!=null&&n.append(s,u)}),n),new URLSearchParams);return t&&i.append(".r",QR(JSON.stringify(e),!0)),i}o();o();var Re;(function(e){e[e.TO_JSON=0]="TO_JSON",e[e.FROM_JSON=1]="FROM_JSON"})(Re||(Re={}));o();function tT(e,t={},r){return function(n={},s){return typeof n=="string"?n:a(e,n);function a(l,f){let h={};return[null,void 0].includes(f)?f:(Object.entries(f).forEach(([E,x])=>{let S=l[E],{schemaName:R,schemaType:b}=$R(S),q=b==="Map",k=u(R)?.checkRepetable?.(x)??Array.isArray(x),j;k?j=x.map(M=>c(M,R)):q?j=p(x,R):j=c(x,R),h[E]=j}),h)}function c(l,f){if(!f)return l;let h=t[f];if(u(f))return u(f).transform(l);if(h)return a(h,l);throw new Error(`${f} is neither schema nor serializable type`)}function u(l){return r[l]?.[s]}function p(l,f){return Object.entries(l).reduce((h,[E,x])=>(h[E]=c(x,f),h),{})}}}o();o();var rT={types:["google.protobuf.Timestamp"],[Re.TO_JSON]:{transform:e=>e?.toISOString()},[Re.FROM_JSON]:{transform:e=>e?new Date(e):void 0}};o();var iT={types:["google.protobuf.FieldMask"],[Re.TO_JSON]:{transform:e=>e.join(","),checkRepetable:e=>e.some(t=>Array.isArray(t))},[Re.FROM_JSON]:{transform:e=>typeof e=="object"?e.paths:e.split(",")}};o();var nT={types:["google.protobuf.BytesValue","BYTES"],[Re.TO_JSON]:{transform:e=>{let t=e.reduce((r,i)=>r+String.fromCharCode(i),"");return btoa(t)}},[Re.FROM_JSON]:{transform:e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0))}};o();var sT={types:["google.protobuf.Duration"],[Re.TO_JSON]:{transform:({seconds:e="0",nanos:t=0})=>{let r="";return t!==0&&(r=`.${t.toString().padStart(9,"0")}`),`${e}${r}s`}},[Re.FROM_JSON]:{transform:e=>{let[t,r]=e.substring(0,e.length-1).split(".");return{seconds:t,nanos:MX(r)}}}};function MX(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 aT={types:["FLOAT","DOUBLE","google.protobuf.FloatValue","google.protobuf.DoubleValue"],[Re.TO_JSON]:{transform:e=>isFinite(e)?e:e.toString()},[Re.FROM_JSON]:{transform:e=>e==="NaN"?NaN:e==="Infinity"?1/0:e==="-Infinity"?-1/0:e}};var oT=[rT,iT,nT,sT,aT];o();function cT(e){return e.reduce((t,r)=>{let i=r.types.reduce((n,s)=>({...n,[s]:r}),{});return{...t,...i}},{})}var UX=cT([...oT]);function B(e,t={}){let r=tT(e,t,UX);return{fromJSON(i){let n=qX(i)||i;return r(n,Re.FROM_JSON)},toJSON(i){return r(i,Re.TO_JSON)}}}function qX(e){try{return JSON.parse(e)}catch{}}var kX={dateCreated:"google.protobuf.Timestamp",dateUpdated:"google.protobuf.Timestamp"},GX={account:"_account"};var BX={};function HX(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 je(Object.assign(e,{domainToMappings:t}))}function uT(e){var t=B(BX,{}),r=t.toJSON,i=t.fromJSON,n=B(GX,{_account:kX}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.account.v2.account",method:"GET",methodFqn:"com.wixpress.account.api.AccountService.getMyAccount",url:HX({protoPath:"/v1/accounts/my_account",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var WX={},jX={};var VX={body:"BYTES"},KX={body:"BYTES"},YX={},$X={};function _m(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 je(Object.assign(e,{domainToMappings:t}))}function Em(e){var t=B(VX,{}),r=t.toJSON,i=t.fromJSON,n=B(KX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.Token",url:_m({protoPath:"/v1/oauth/token",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function pT(e){var t=B(WX,{}),r=t.toJSON,i=t.fromJSON,n=B(jX,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"GET",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.DeviceCode",url:_m({protoPath:"/v1/oauth/device/code",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function lT(e){var t=B(YX,{}),r=t.toJSON,i=t.fromJSON,n=B($X,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.identity.oauth.v1.refresh_token",method:"POST",methodFqn:"wix.identity.oauth2.v1.Oauth2Ng.RevokeRefreshToken",url:_m({protoPath:"/v1/oauth/revoke",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}var Mn=W(vt(),1);o();var dT=v.object({deviceCode:v.string(),verificationUri:v.string().url(),userCode:v.string(),expiresIn:v.number()}),vm=v.object({access_token:v.string(),refresh_token:v.string(),expires_in:v.number()}).transform(e=>({accessToken:e.access_token,refreshToken:e.refresh_token,expiresIn:e.expires_in})),gm=v.object({userId:v.string().uuid(),email:v.string().email()}),mT=v.object({account:v.object({slug:v.string(),accountId:v.string().uuid(),accountOwner:v.string().uuid()})}),fT=v.object({accessToken:v.string(),refreshToken:v.string(),expiresIn:v.number(),issuedAt:v.number()}),hT=fT.extend({userInfo:gm}),_T=v.object({token:v.string(),accountId:v.string().uuid(),userInfo:v.object({userId:v.string().uuid(),email:v.string()})});var{InvalidResponseData:zX,FailedToGetAuthToken:XX,FailedToGetDeviceCode:JX,FailedToRenewAuthToken:ZX,FailedToRenewAuthTokenSiteNotFound:QX,FailedToRevokeRefreshToken:e4}=D,xm="6f95cec8-3e98-48b9-b4e5-1fb92fcd9973",ET=()=>Math.floor(Date.now()/1e3),ia=class extends Error{},Hc=(0,Mn.variant)({TokenRenewed:(0,Mn.payload)(),RefreshTokenRevoked:(0,Mn.fields)()}),Sm=class{constructor(t){this.httpClient=t;let{minRetryTimeout:r}=ct();this.retryOptions={retries:3,minTimeout:r,maxTimeout:3*1e3}}retryOptions;async requestDeviceCode(t={}){try{let{data:r}=await he(()=>this.httpClient.request(pT({...t,clientId:xm})),this.retryOptions);return dT.parse(r)}catch(r){throw new y({code:JX(),cause:r})}}async createToken(t){try{let r={clientId:xm,grantType:"urn:ietf:params:oauth:grant-type:device_code",scope:"offline_access",...t};return{...await he(async()=>{let{data:n,requestId:s}=await this.httpClient.request(Em(r)),a=vm.safeParse(n);if(a.success)return a.data;throw new y({code:zX(),cause:a.error,info:{requestId:s,data:n}})},this.retryOptions),issuedAt:ET()}}catch(r){throw _r(r)&&(r.response?.data?.message==="Device code is not yet verified"||r.response?.data?.error==="authorization_pending")?new ia("Device code is not yet verified."):new y({code:XX(),cause:r})}}async renewToken(t){try{let r={clientId:xm,grantType:"refresh_token",...t},{data:i}=await he(()=>this.httpClient.request(Em(r)),this.retryOptions),n=vm.parse(i);return Hc.TokenRenewed({...n,issuedAt:ET()})}catch(r){if(_r(r)){if(r.response?.status===400&&r.response.data?.error==="invalid_grant")return Hc.RefreshTokenRevoked({cause:r});if(t.siteId&&r.response?.status===404&&r.response.data?.details?.applicationError?.code==="SITE_NOT_FOUND")throw new y({code:QX({siteId:t.siteId}),cause:r})}throw new y({code:ZX(),cause:r})}}async revokeRefreshToken(t,{email:r}){try{let{data:i}=await this.httpClient.request(lT(t));return i}catch(i){throw new y({code:e4({email:r}),info:{email:r},cause:i})}}async userInfo({accessToken:t}){try{let r=pn({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.get("/_serverless/wix-cli-userinfo/userinfo");return gm.parse(i)}catch(r){throw new y({code:D.FailedToGetUserInfo(),cause:r})}}async getMyAccount({token:t}){try{let r=pn({type:"backoffice",getAppToken:async()=>t}),{data:i}=await r.request(uT({}));return mT.parse(i).account}catch(r){throw new y({code:D.FailedToGetMyAccount(),cause:r})}}},ii=new Sm(pn({type:"backoffice"}));o();import{unlink as n4,rm as s4}from"node:fs/promises";import{resolve as na}from"node:path";o();import{mkdir as t4}from"node:fs/promises";import{resolve as r4}from"node:path";import{homedir as i4}from"node:os";function Wc(){return ct().dataDir??r4(i4(),".wix")}async function dEe(){await t4(Wc(),{recursive:!0})}var At=W(vt(),1);function gT(){return na(Wc(),"auth.json")}function jc(){return na(Wc(),"auth")}function xT(){return na(jc(),"api-key.json")}function ST(){return na(jc(),"account.json")}function a4(e){return na(jc(),`${e}.json`)}var vT=(0,At.variant)({Authenticated:(0,At.payload)(),Unauthenticated:{}});async function OT(){let e=xT();if(!await Ie(e))return vT.Unauthenticated();let t=await Ce(e),r=_T.parse(t);return vT.Authenticated(r)}async function AT(e){try{let t=xT();await ri(t,e)}catch(t){throw new y({code:D.FailedToSaveApiKeyAuthData({cause:t}),cause:t})}}var Om=(0,At.variant)({Authenticated:(0,At.fields)(),Unauthenticated:{},Expired:(0,At.fields)()});async function NT(){let e=ST();if(!await Ie(e))return Om.Unauthenticated();let t=await Ce(e),r=hT.parse(t);return Im(r)?Om.Authenticated(r):Om.Expired(r)}var SEe=(0,At.variant)({Authenticated:(0,At.fields)(),Unauthenticated:{},Expired:(0,At.fields)()});async function Am(e,t){try{let r=t?a4(t):ST();await ri(r,e)}catch(r){throw new y({code:D.FailedToSaveAuthData({cause:r}),cause:r})}}async function Vc(){try{await s4(jc(),{recursive:!0,force:!0})}catch(e){throw new y({code:D.FailedToDeleteAuthData({cause:e}),cause:e})}await Nm()&&await o4()}async function o4(){try{await n4(gT())}catch(e){throw new y({code:D.FailedToDeleteLegacyAuthData({cause:e}),cause:e})}}async function Nm(){return Ie(gT())}function Im(e){let t=Math.floor(Date.now()/1e3),r=10*60,i=e.expiresIn-r;return e.issuedAt+i>t}function IT({authData:{token:e,accountId:t,userInfo:r},siteId:i}){return{getAccessToken:async()=>e,getRefreshToken:()=>{throw new Error("API key auth does not support refresh tokens")},getRequestHeaders:()=>({"wix-account-id":t,...i&&{"wix-site-id":i}}),userInfo:r}}var TT={async isLoggedIn({siteId:e}={}){let t=await OT();return(0,RT.match)(t,{Authenticated:({payload:r})=>IT({authData:r,siteId:e}),Unauthenticated:()=>null})},async login({token:e}){let{accountId:t,accountOwner:r,slug:i}=await ii.getMyAccount({token:e}),n={token:e,accountId:t,userInfo:{userId:r,email:i}};return await Vc(),await AT(n),IT({authData:n})}};o();o();o();var Rm=class{value;next;constructor(t){this.value=t}},sa=class{#e;#t;#r;constructor(){this.clear()}enqueue(t){let r=new Rm(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 Tm(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 sa,r=0,i=()=>{r--,t.size>0&&t.dequeue()()},n=async(c,u,p)=>{r++;let l=(async()=>c(...p))();u(l);try{await l}catch{}i()},s=(c,u,p)=>{t.enqueue(n.bind(void 0,c,u,p)),(async()=>(await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()))()},a=(c,...u)=>new Promise(p=>{s(c,p,u)});return Object.defineProperties(a,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),a}var ni=W(vt(),1);o();o();var Un=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},bm=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}},bT=e=>globalThis.DOMException===void 0?new bm(e):new DOMException(e),yT=e=>{let t=e.reason===void 0?bT("This operation was aborted."):e.reason;return t instanceof Error?t:bT(t)};function ym(e,t){let{milliseconds:r,fallback:i,message:n,customTimers:s={setTimeout,clearTimeout}}=t,a,u=new Promise((p,l)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){let{signal:h}=t;h.aborted&&l(yT(h)),h.addEventListener("abort",()=>{l(yT(h))})}if(r===Number.POSITIVE_INFINITY){e.then(p,l);return}let f=new Un;a=s.setTimeout.call(void 0,()=>{if(i){try{p(i())}catch(h){l(h)}return}typeof e.cancel=="function"&&e.cancel(),n===!1?p():n instanceof Error?l(n):(f.message=n??`Promise timed out after ${r} milliseconds`,l(f))},r),(async()=>{try{p(await e)}catch(h){l(h)}})()}).finally(()=>{u.clear()});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}var Dm=Symbol("resolveValue");async function or(e,t={}){let{interval:r=20,timeout:i=Number.POSITIVE_INFINITY,before:n=!0}=t,s,a=!1,c=new Promise((u,p)=>{let l=async()=>{try{let f=await e();if(typeof f=="object"&&f[Dm])u(f[Dm]);else{if(typeof f!="boolean")throw new TypeError("Expected condition to return a boolean");f===!0?u():a||(s=setTimeout(l,r))}}catch(f){p(f)}};n?l():s=setTimeout(l,r)});if(i===Number.POSITIVE_INFINITY)return c;try{return await ym(c,typeof i=="number"?{milliseconds:i}:i)}finally{a=!0,clearTimeout(s)}}or.resolveWith=e=>({[Dm]:e});var DT=e=>1e3*e;async function c4({deviceCode:e,expiresIn:t},{signal:r}){try{let i=await or(async()=>{try{let a=await ii.createToken({deviceCode:e});return or.resolveWith(a)}catch(a){if(a instanceof ia)return!1;throw a}},{interval:ct().waitForLoginInterval??DT(3),timeout:{milliseconds:DT(t),signal:r}}),n=await ii.userInfo({accessToken:i.accessToken}),s={...i,userInfo:n};return await Vc(),await Am(s),s}catch(i){throw i instanceof Un?new y({code:D.DeviceCodeTimedOut()}):i}}async function PT({refreshToken:e,userInfo:t}){let r=await ii.renewToken({refreshToken:e});return(0,ni.isType)(r,Hc.TokenRenewed)&&await Am({...r.payload,userInfo:t}),r}async function u4(){let e=await NT();return(0,ni.match)(e,{Authenticated:t=>t,Unauthenticated:()=>null,Expired:async t=>{let r=await PT(t);return(0,ni.match)(r,{TokenRenewed:({payload:i})=>({...i,userInfo:t.userInfo}),RefreshTokenRevoked:(0,ni.constant)(null)})}})}function CT({userInfo:e,...t}){let r=Tm(1),i={...t};return{getAccessToken:()=>r(async()=>{if(Im(i))return i.accessToken;let n=await PT({...i,userInfo:e});return(0,ni.match)(n,{TokenRenewed:({payload:s})=>(i=s,i.accessToken),RefreshTokenRevoked:({cause:s})=>{throw new y({code:D.FailedToRenewAuthTokenRefreshTokenRevoked(),cause:s})}})}),getRefreshToken:()=>i.refreshToken,userInfo:e}}var aa={async isLoggedIn(){let e=await TT.isLoggedIn();if(e)return e;let t=await u4();return t?CT(t):null},async login({deviceCode:e,signal:t}){let r=await c4(e,{signal:t});return CT(r)}};o();var ca=W(Ye(),1),ab=W(vt(),1);o();var km=W(Ye(),1);o();function JEe(e){return{evid:5200,src:11,endpoint:"wix-cli",params:e}}function ZEe(e){return{evid:5201,src:11,endpoint:"wix-cli",params:e}}function wT(e){return{evid:5211,src:11,endpoint:"wix-cli",params:e}}function Cm(e){return{evid:5212,src:11,endpoint:"wix-cli",params:e}}var rb=W(vt(),1);var LT={"login.instructions_title":"Authorize the CLI to access your Wix account:","login.instructions_details":`1. Copy this code to the clipboard: <0>{code}</0>
29
29
  2. Press <1/> to <2>log in</2> and then paste the code`,"login.legacy_auth_notice":"We implemented a new and more secure login method. You'll need to re-login to continue using the CLI.","login.error_opening_browser":"Failed to open browser, please try opening <0/> manually."};o();var Ve=W(Ye(),1);o();var JT=W($T(),1);o();var zT=W(Oo(),1);async function XT(e,t){await(0,zT.createHttpClient)().post(e,void 0,{params:{url:t}})}async function ZT(e){let{userBrowserTestEndpoint:t}=ct();t?await XT(t,e):await(0,JT.default)(e,{background:!0})}o();var QT=W(Ye(),1);function eb(e){return(0,QT.useMemo)(()=>{let t=new URL(e);return t.searchParams.set("color","developer"),t.searchParams.set("studio","true"),t.toString()},[e])}var tb=({userCode:e,verificationUri:t})=>{let r=eb(t),{reportError:i}=dp(),[n,s]=(0,Ve.useState)(null);return fg((a,c)=>{c.return&&ZT(r).catch(u=>{i(u),s(u)})}),Ve.default.createElement(Ve.default.Fragment,null,Ve.default.createElement(Ji,{i18nKey:"login.instructions_title"}),Ve.default.createElement(Ht,{flexDirection:"column",marginTop:1,marginBottom:1,marginLeft:2},Ve.default.createElement(Ji,{i18nKey:"login.instructions_details",components:[Ve.default.createElement(H,{skin:"legacyBlue"}),Ve.default.createElement(_g,{value:"enter"}),Ve.default.createElement(_s,{url:r})],values:{code:e}})),n&&Ve.default.createElement(Ve.default.Fragment,null,Ve.default.createElement(Ht,{flexDirection:"column",marginBottom:1},Ve.default.createElement(sl,{error:n})),Ve.default.createElement(Ji,{i18nKey:"login.error_opening_browser",components:[Ve.default.createElement(_s,{url:r})]})))};var ib=({loginFn:e,onLogin:t,onError:r})=>{let i=lp();function n(c){i.report(Cm({isSuccess:!1,...c instanceof Error?{errorType:c.name}:{errorType:"unknown",errorMessage:JSON.stringify(c)}})),r(c)}let s=vg(async({signal:c},u)=>{try{let p=await e({deviceCode:u,signal:c});i.report(Cm({isSuccess:!0})),t(p)}catch(p){n(p)}}),{status:a}=Xi(async()=>(i.report(wT({})),ii.requestDeviceCode()),[],{onSuccess:c=>{s.execute(c)},onError:n});return(0,rb.match)(a,{Error:()=>null,Loading:()=>km.default.createElement(Xa,null),Success:({result:{userCode:c,verificationUri:u}})=>km.default.createElement(tb,{userCode:c,verificationUri:u})})};o();var oa=W(Ye(),1),nb=W(vt(),1);var sb=({children:e})=>{let{status:t}=Xi(Nm,[],{onError:()=>{}});return(0,nb.match)(t,{Error:()=>null,Loading:()=>null,Success:({result:r})=>oa.default.createElement(oa.default.Fragment,null,r&&oa.default.createElement(Ht,{marginBottom:1},oa.default.createElement(Ji,{i18nKey:"login.legacy_auth_notice"})),e)})};var ob=({authStrategy:{login:e,isLoggedIn:t},onLogin:r,onError:i,children:n})=>{let{status:s,merge:a}=Xi(t,[],{onSuccess:c=>{c&&r(c)},onError:i});return(0,ab.match)(s,{Loading:()=>ca.default.createElement(Xa,null),Error:()=>null,Success:({result:c})=>c===null?ca.default.createElement(gg,{messages:LT},ca.default.createElement(sb,null,ca.default.createElement(ib,{loginFn:e,onLogin:u=>{a({result:u}),r(u)},onError:i}))):n(c)})};var O4=({children:e,onError:t,onLogin:r})=>{let i=Eg();return Gm.default.createElement(ob,{authStrategy:aa,onLogin:({userInfo:n})=>r?.(n),onError:t??i},({getAccessToken:n,getRequestHeaders:s,userInfo:a})=>Gm.default.createElement(Bc.Provider,{value:{getAccessToken:n,getRequestHeaders:s,userInfo:a}},e))};o();o();var cb=W(Ye(),1);function Bm(){let e=(0,cb.useContext)(Bc);if(!e)throw new Error("useAuth() cannot be used without an <AuthProvider>");return e}var{isLoggedIn:ege}=aa;o();import{join as N4}from"node:path";o();import{join as A4}from"node:path";function ub(e=""){return A4(e,".wix")}var kn="wix.config.json";var lge="user.config.json",dge=v.object({telemetry:v.boolean().default(!0),tunneling:v.boolean().default(!1)});function mge(e){return N4(ub(e),"debug.log")}o();var Te=W(vt(),1),Gn=(0,Te.variant)({EcomShippingRates:(0,Te.fields)(),EcomAdditionalFees:(0,Te.fields)(),EcomDiscountsTrigger:(0,Te.fields)(),EcomValidations:(0,Te.fields)(),EcomPaymentSettings:(0,Te.fields)()}),de=(0,Te.variant)({DashboardPage:(0,Te.fields)(),DashboardPlugin:(0,Te.fields)(),DashboardMenuPlugin:(0,Te.fields)(),DashboardModal:(0,Te.fields)(),DashboardSidebarCategory:(0,Te.fields)(),EmbeddedScript:(0,Te.fields)(),CustomElement:(0,Te.fields)(),Topology:(0,Te.fields)(),Api:(0,Te.fields)(),Event:(0,Te.fields)(),ServicePlugin:(0,Te.fields)()});o();import{createReadStream as IZ}from"node:fs";o();import k4 from"node:fs";import G4 from"node:fs/promises";import hb from"node:path";import B4 from"node:stream";import{promisify as H4}from"node:util";o();o();import{promisify as I4}from"util";import Hm from"crypto";var pb=I4(Hm.randomBytes),R4="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""),T4="0123456789".split(""),b4="CDEHKMPRTUWXY012458".split(""),y4="!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~".split(""),D4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),C4=(e,t)=>{let r=t.length,i=Math.floor(65536/r)*r-1,n=2*Math.ceil(1.1*e),s="",a=0;for(;a<e;){let c=Hm.randomBytes(n),u=0;for(;u<n&&a<e;){let p=c.readUInt16LE(u);u+=2,!(p>i)&&(s+=t[p%r],a++)}}return s},P4=async(e,t)=>{let r=t.length,i=Math.floor(65536/r)*r-1,n=2*Math.ceil(1.1*e),s="",a=0;for(;a<e;){let c=await pb(n),u=0;for(;u<n&&a<e;){let p=c.readUInt16LE(u);u+=2,!(p>i)&&(s+=t[p%r],a++)}}return s},w4=(e,t,r)=>Hm.randomBytes(e).toString(t).slice(0,r),L4=async(e,t,r)=>(await pb(e)).toString(t).slice(0,r),F4=new Set([void 0,"hex","base64","url-safe","numeric","distinguishable","ascii-printable","alphanumeric"]),lb=(e,t)=>({length:r,type:i,characters:n})=>{if(!(r>=0&&Number.isFinite(r)))throw new TypeError("Expected a `length` to be a non-negative finite number");if(i!==void 0&&n!==void 0)throw new TypeError("Expected either `type` or `characters`");if(n!==void 0&&typeof n!="string")throw new TypeError("Expected `characters` to be string");if(!F4.has(i))throw new TypeError(`Unknown type: ${i}`);if(i===void 0&&n===void 0&&(i="hex"),i==="hex"||i===void 0&&n===void 0)return t(Math.ceil(r*.5),"hex",r);if(i==="base64")return t(Math.ceil(r*.75),"base64",r);if(i==="url-safe")return e(r,R4);if(i==="numeric")return e(r,T4);if(i==="distinguishable")return e(r,b4);if(i==="ascii-printable")return e(r,y4);if(i==="alphanumeric")return e(r,D4);if(n.length===0)throw new TypeError("Expected `characters` string length to be greater than or equal to 1");if(n.length>65536)throw new TypeError("Expected `characters` string length to be less or equal to 65536");return e(r,n.split(""))},db=lb(C4,w4);db.async=lb(P4,L4);var mb=db;function Wm(){return mb({length:32})}o();import{promises as M4}from"node:fs";import U4 from"node:os";var q4=await M4.realpath(U4.tmpdir()),jm=q4;o();function fb(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function yge(e){return fb(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object"}var Gge=H4(B4.pipeline),_b=(e="")=>hb.join(jm,e+Wm());async function W4(e,t){try{return await t(e)}finally{await G4.rm(e,{recursive:!0,force:!0,maxRetries:2})}}function j4({name:e,extension:t}={}){if(e){if(t!=null)throw new Error("The `name` and `extension` options are mutually exclusive");return hb.join(V4(),e)}return _b()+(t==null?"":"."+t.replace(/^\./,""))}var Eb=async(e,t)=>W4(j4(t),e);function V4({prefix:e=""}={}){let t=_b(e);return k4.mkdirSync(t),t}o();var rC=W(vt(),1);import{join as re}from"node:path";o();var si;(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"})(si||(si={}));var vb;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})(vb||(vb={}));var gb;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})(gb||(gb={}));var xb;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(xb||(xb={}));var Sb;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(Sb||(Sb={}));var Ob;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(Ob||(Ob={}));var Ab;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(Ab||(Ab={}));var Nb;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(Nb||(Nb={}));var Ib;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(Ib||(Ib={}));var Rb;(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"})(Rb||(Rb={}));var Tb;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(Tb||(Tb={}));var bb;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(bb||(bb={}));var yb;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(yb||(yb={}));var Bn;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(Bn||(Bn={}));var Ui;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(Ui||(Ui={}));var Db;(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"})(Db||(Db={}));var Cb;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(Cb||(Cb={}));var Pb;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(Pb||(Pb={}));var wb;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(wb||(wb={}));var Lb;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(Lb||(Lb={}));var Fb;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(Fb||(Fb={}));var Mb;(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"})(Mb||(Mb={}));var Ub;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})(Ub||(Ub={}));var qb;(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"})(qb||(qb={}));var kb;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(kb||(kb={}));var Gb;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(Gb||(Gb={}));var Bb;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(Bb||(Bb={}));var Hb;(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"})(Hb||(Hb={}));var Wb;(function(e){e.Metric="Metric",e.Imperial="Imperial"})(Wb||(Wb={}));var jb;(function(e){e.WIX="WIX",e.POS="POS"})(jb||(jb={}));var Vb;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(Vb||(Vb={}));var Kb;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(Kb||(Kb={}));var Yb;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(Yb||(Yb={}));var $b;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})($b||($b={}));var zb;(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"})(zb||(zb={}));var Xb;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(Xb||(Xb={}));var Jb;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(Jb||(Jb={}));var Zb;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(Zb||(Zb={}));var Qb;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(Qb||(Qb={}));var ey;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})(ey||(ey={}));var ty;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(ty||(ty={}));var ry;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(ry||(ry={}));var iy;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(iy||(iy={}));var ny;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(ny||(ny={}));var sy;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(sy||(sy={}));var ay;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(ay||(ay={}));var oy;(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"})(oy||(oy={}));var cy;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(cy||(cy={}));var uy;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(uy||(uy={}));var py;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(py||(py={}));var ly;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(ly||(ly={}));var dy;(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"})(dy||(dy={}));var my;(function(e){e.SMS="SMS",e.MMS="MMS"})(my||(my={}));var fy;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(fy||(fy={}));var hy;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(hy||(hy={}));var _y;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})(_y||(_y={}));var Ey;(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"})(Ey||(Ey={}));var vy;(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"})(vy||(vy={}));var gy;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(gy||(gy={}));var xy;(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"})(xy||(xy={}));var Sy;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(Sy||(Sy={}));var Oy;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(Oy||(Oy={}));var Ay;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(Ay||(Ay={}));var Ny;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(Ny||(Ny={}));var Iy;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(Iy||(Iy={}));var Ry;(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"})(Ry||(Ry={}));var Ty;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(Ty||(Ty={}));var by;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(by||(by={}));var yy;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(yy||(yy={}));var Dy;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(Dy||(Dy={}));var Cy;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(Cy||(Cy={}));var Py;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(Py||(Py={}));var wy;(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"})(wy||(wy={}));var Ly;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(Ly||(Ly={}));var Fy;(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"})(Fy||(Fy={}));var My;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(My||(My={}));var Uy;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})(Uy||(Uy={}));var qy;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(qy||(qy={}));var ky;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(ky||(ky={}));var Gy;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(Gy||(Gy={}));var By;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(By||(By={}));var Hy;(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"})(Hy||(Hy={}));var Wy;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})(Wy||(Wy={}));var jy;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(jy||(jy={}));var Vy;(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"})(Vy||(Vy={}));var Ky;(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"})(Ky||(Ky={}));var Yy;(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"})(Yy||(Yy={}));var $y;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})($y||($y={}));var zy;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(zy||(zy={}));var Xy;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(Xy||(Xy={}));var Jy;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(Jy||(Jy={}));var Zy;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(Zy||(Zy={}));var Qy;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(Qy||(Qy={}));var eD;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})(eD||(eD={}));var tD;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(tD||(tD={}));var rD;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(rD||(rD={}));var iD;(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"})(iD||(iD={}));var nD;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(nD||(nD={}));var sD;(function(e){e.FILL="FILL",e.FIT="FIT"})(sD||(sD={}));var aD;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(aD||(aD={}));var oD;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(oD||(oD={}));var cD;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(cD||(cD={}));var uD;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(uD||(uD={}));var pD;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(pD||(pD={}));var lD;(function(e){e.LIST="LIST",e.GRID="GRID"})(lD||(lD={}));var dD;(function(e){e.LTR="LTR",e.RTL="RTL"})(dD||(dD={}));var mD;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(mD||(mD={}));var fD;(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"})(fD||(fD={}));var hD;(function(e){e.PX="PX",e.EM="EM"})(hD||(hD={}));var _D;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})(_D||(_D={}));var ED;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})(ED||(ED={}));var vD;(function(e){e.LTR="LTR",e.RTL="RTL"})(vD||(vD={}));var gD;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(gD||(gD={}));var xD;(function(e){e.NULL_VALUE="NULL_VALUE"})(xD||(xD={}));var SD;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(SD||(SD={}));var OD;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(OD||(OD={}));var AD;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(AD||(AD={}));var ND;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(ND||(ND={}));var ID;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(ID||(ID={}));var RD;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(RD||(RD={}));var TD;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(TD||(TD={}));var bD;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(bD||(bD={}));var yD;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(yD||(yD={}));var DD;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(DD||(DD={}));var CD;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(CD||(CD={}));var PD;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(PD||(PD={}));var wD;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(wD||(wD={}));var LD;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(LD||(LD={}));var FD;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(FD||(FD={}));var MD;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(MD||(MD={}));var UD;(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"})(UD||(UD={}));var qD;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(qD||(qD={}));var kD;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(kD||(kD={}));var GD;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(GD||(GD={}));var BD;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(BD||(BD={}));var HD;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(HD||(HD={}));var WD;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})(WD||(WD={}));var jD;(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"})(jD||(jD={}));var VD;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(VD||(VD={}));var KD;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(KD||(KD={}));var YD;(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"})(YD||(YD={}));var $D;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})($D||($D={}));var zD;(function(e){e.ANY="ANY"})(zD||(zD={}));var XD;(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"})(XD||(XD={}));var JD;(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"})(JD||(JD={}));var ZD;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(ZD||(ZD={}));var QD;(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"})(QD||(QD={}));var eC;(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"})(eC||(eC={}));var tC;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(tC||(tC={}));var K4="dist",iC=".wix",Vm="src",Y4=re(iC,"app.config.json"),$4=re(iC,"dev.log"),Xc=re(Vm,"dashboard"),ua=re(Xc,"pages"),pa=re(Xc,"plugins"),la=re(Xc,"menu-plugins"),da=re(Xc,"modals"),Km=re(Vm,"backend"),Ym=re(Km,"api"),$m=re(Km,"events"),zm=re(Km,"service-plugins"),nC=re(Vm,"site"),z4=re(nC,"widgets"),ai=re(nC,"embedded-scripts"),Hn=re(z4,"custom-elements");function sC(e){return re(e,ua)}function zge(e){return re(e,pa)}function Xge(e){return re(e,la)}function Jge(e){return re(e,da)}function Zge(e){return re(e,ai)}function aC(e){return re(e,Hn)}function oC(e){return re(e,Ym)}function cC(e){return re(e,$m)}function Qge(e){return re(e,zm)}function Xm(e){return re(e,K4)}function uC(e){return re(Xm(e),"statics")}function Jc(e){return re(Xm(e),"backend")}function Jm(e){return re(e,Y4)}function exe(e){return re(e,$4)}function txe(e){return re(Xm(e),"devcenter","app-manifest.json")}var X4=v.object({id:v.string(),label:v.string(),priority:v.number().int().optional()}),J4=v.object({sidebar:v.object({categories:v.array(X4).optional()}).optional()}),Mt={$schema:v.string().optional()},Z4=v.object({...Mt,appId:v.string().uuid(),projectId:v.string(),dashboard:J4.optional()}).strict(),pC=Z4.extend({sentryDSN:v.string().optional(),trusted:v.boolean().default(!1)}).strict(),lC=v.object({siteId:v.string().uuid().optional(),devArmTag:v.string().optional(),devSiteOverrideId:v.string().optional(),topologyComponentId:v.string().uuid().optional()}),Q4=v.object({disabled:v.boolean().optional(),categoryId:v.string().uuid().optional(),priority:v.number().int().optional(),whenActive:v.object({selectedPageId:v.string().optional(),hideSidebar:v.boolean().optional()}).optional()}),eJ=v.object({...Mt,id:v.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:v.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:v.array(v.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:Q4.optional()}).strict(),dC=eJ.extend({requiredPermission:v.string().optional(),sentryDSN:v.string().optional(),experiments:v.object({enabledBy:v.string()}).optional()}).strict(),tJ=v.object({...Mt,id:v.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:v.string().min(1).describe("The title is used to refer to the modal in the Wix App Dashboard."),width:v.number().optional().describe("Initial width of the modal while loading, in pixels."),height:v.number().optional().describe("Initial height of the modal while loading, in pixels.")}).strict(),mC=tJ.extend({requiredPermission:v.string().optional(),sentryDSN:v.string().optional()}).strict(),rJ=v.object({...Mt,id:v.string().uuid().describe("ID (GUID) of the plugin you created using the CLI. This ID is auto-generated by Wix."),title:v.string().min(1).describe("Name of the plugin."),extends:v.string().uuid().describe("Slot ID of the dashboard page hosting the plugin."),width:v.number().optional().describe("Initial width of the plugin while loading, in pixels."),height:v.number().optional().describe("Initial height of the plugin while loading, in pixels.")}).strict(),fC=rJ.extend({requiredPermission:v.string().optional(),sentryDSN:v.string().optional()}).strict(),iJ=v.object({navigateToPage:v.object({pageId:v.string().uuid().describe("ID of the dashboard page to which site administrators are directed."),relativeUrl:v.string().optional().describe("URI segment appended to the base URI of the target dashboard page. ")}).describe("Page navigation configuration object. "),openModal:v.object({componentId:v.string().uuid().describe("ID of the dashboard modal to display when the extension's menu item is clicked."),componentParams:v.record(v.string().min(1),v.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:v.ZodIssueCode.custom,message:"action must have either navigateToPage or openModal"}),e.navigateToPage&&e.openModal&&t.addIssue({code:v.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."),nJ=v.object({...Mt,id:v.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:v.string().min(1).describe("Text of the menu item the extension adds."),subtitle:v.string().max(200).optional().describe("Secondary text that appears in the menu just below the title."),iconKey:v.string().min(3).max(50).optional().describe("Icon that appears next to your extension's title."),extends:v.string().uuid().describe("Slot ID into which the extension plugs in."),action:iJ}).strict(),hC=nJ.extend({sentryDSN:v.string().optional(),requiredPermission:v.string().optional()}).strict(),_C=v.object({...Mt,id:v.string().uuid().describe("The ID (GUID) is a unique identifier for your script."),name:v.string().min(1).describe("The name of your script as it will appear in the Wix App Dashboard."),scriptType:v.enum([Ui.FUNCTIONAL,Ui.ESSENTIAL,Ui.ANALYTICS,Ui.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:v.enum([Bn.HEAD,Bn.BODY_START,Bn.BODY_END]).describe("An enum indicating where in the page's DOM the HTML code will be injected.")}).strict(),Cr=(0,rC.variant)({Site:{},Editor:{},Dashboard:{}}),EC=v.object({...Mt,id:v.string().uuid().describe("The ID (GUID) is a unique identifier for your element."),name:v.string().min(1).describe("The name of your element as it will appear in the Wix App Dashboard"),height:v.object({defaultHeight:v.number().describe("Initial height of the widget in pixels when it is first installed on a site")}).strict(),width:v.object({defaultWidth:v.number().describe("Initial width of the widget in pixels when it is first installed on a site"),stretchByDefault:v.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:v.boolean().optional().describe("Allows a user to stretch the widget to the full width of the container if true")}).strict(),installation:v.object({autoAddToSite:v.boolean().optional().describe("Automatically adds the widget to a site upon installation if true"),essential:v.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(),vC=v.record(v.string()),rxe=v.object({id:v.string().uuid(),name:v.string().min(1),backendApiUrl:v.string().min(1)}).strict(),gC=v.object({...Mt,id:v.string().uuid(),name:v.string(),description:v.string().optional(),learnMoreUrl:v.string().url().optional(),dashboardUrl:v.string().url().optional(),fallbackDefinitionMandatory:v.boolean().optional(),thumbnailUrl:v.string().url().optional()}).strict(),xC=v.object({...Mt,id:v.string().uuid(),name:v.string()}).strict(),SC=v.object({...Mt,id:v.string().uuid(),name:v.string()}).strict(),OC=v.object({...Mt,id:v.string().uuid(),name:v.string(),validateInCart:v.boolean().optional()}).strict(),AC=v.object({...Mt,id:v.string().uuid(),name:v.string(),fallbackValueForRequires3dSecure:v.boolean().optional()}).strict(),NC=v.union([v.literal(si.ECOM_SHIPPING_RATES),v.literal(si.ECOM_ADDITIONAL_FEES),v.literal(si.ECOM_DISCOUNTS_TRIGGER),v.literal(si.ECOM_VALIDATIONS),v.literal(si.ECOM_PAYMENT_SETTINGS)]);o();o();o();var Zm={checkboxGroupOptions:"_checkboxGroup",validation:"_arrayType"},Qm={checkboxOptions:"_checkbox"},ef={numberInputOptions:"_numberInput",ratingInputOptions:"_ratingInput",validation:"_numberType"},tf={object:"_objectType"},rf={textInputOptions:"_textInput",radioGroupOptions:"_radioGroup",dropdownOptions:"_dropdown",dateTimeOptions:"_dateTimeInput",phoneInputOptions:"_phoneInput"},nf={actionConfig:"_actionSPIConfig"},sf={icon:"_apiUpstreamWixCommonImage"},af={requiredSettings:"google.protobuf.FieldMask",adminConfigurableSettings:"google.protobuf.FieldMask"},of={urlExpirationDate:"google.protobuf.Timestamp"},sJ={components:"_component",pricingModels:"_pricingModel"},cf={image:"_media"};var uf={numberOptions:"_numberType",objectOptions:"_objectType"},pf={items:"_arrayItems"},lf={audio:"_media",coverImage:"_media"},df={expectedInputs:"_expectedInputs"},mf={image:"_media"},aJ={monthlyPrice:"DOUBLE",yearlyPrice:"DOUBLE",oneTimePrice:"DOUBLE",meteredBilling:"_meteredBilling"};var ff={label:"_richContent"},hf={description:"_richContent",options:"_option"},_f={urlExpirationDate:"google.protobuf.Timestamp"},Ef={compData:"_componentData"},vf={widgetComponentData:"_widgetComponentData",widgetOutOfIframeData:"_widgetOutOfIframeComponentData",studioWidgetComponentData:"_studioWidgetComponentData",shippingLabelCarrier:"_shippingLabelCarrierSpiConfig",fictionalShippingProvider:"_shippingProviderConfig",automationsActionProvider:"_actionProviderSPIConfig",identityAuthenticator:"_authenticatorConfig",multilingualTranslationSchema:"_multilingualTranslationSchema",customElementWidget:"_customElementWidget",formTemplate:"_formTemplate",function:"_function"};var gf={presets:"_preset"},xf={description:"_richContent"};var Sf={representativeImage:"_commonImage"},Of={poll:"_pollDesign"},Af={header:"_header",richText:"_richText"},Nf={description:"_richContent"},If={description:"_richContent"},Rf={presetsEditorPresence:"_presetEditorPresence"},Tf={expectedStartInputs:"_predefinedExpectedInput",expectedVerifyInputs:"_predefinedExpectedInput"},bf={description:"_richContent"},yf={inputOptions:"_inputField",displayOptions:"_displayField",submitOptions:"_submitButton"},Df={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"_formFieldV2",deletedFields:"_formFieldV2"},Cf={description:"_description"},Pf={items:"_item",options:"_galleryOptions"},wf={item:"_itemStyle"};var oJ={},cJ={dateCreated:"google.protobuf.Timestamp",components:"_component"},uJ={},pJ={dateCreated:"google.protobuf.Timestamp",data:"_appData"};var lJ={},dJ={};var mJ={dateCreated:"google.protobuf.Timestamp",components:"_component"};var fJ={},hJ={apps:"_getAppInfoResponse"};var Lf={content:"_richContent"},Ff={urlExpirationDate:"google.protobuf.Timestamp"},Mf={image:"_media"},Uf={stringOptions:"__String",numberOptions:"__Number",booleanOptions:"__Boolean",arrayOptions:"__Array",objectOptions:"__Object",wixFileOptions:"_wixFile",paymentOptions:"_payment",multilineAddressOptions:"_inputFieldMultilineAddress"},qf={multilineAddressOptions:"_multilineAddress"},kf={image:"_itemImage",video:"_video"},Gf={media:"_media"},Bf={ratio:"google.protobuf.DoubleValue"},Hf={mapSettings:"_mapSettings"},Wf={lat:"google.protobuf.DoubleValue",lng:"google.protobuf.DoubleValue"},jf={duration:"google.protobuf.DoubleValue"},Vf={image:"_upstreamWixCommonImage"},_J={monthlyBaseFee:"DOUBLE",additionalCharges:"google.protobuf.DoubleValue"},Kf={description:"_richContent"},Yf={referenceData:"_schema"},$f={galleryData:"_galleryData",imageData:"_imageData",mapData:"_mapData",pollData:"_pollData",appEmbedData:"_appEmbedData",videoData:"_videoData",audioData:"_audioData",nodes:"_node"},zf={description:"_richContent"},Xf={maximum:"google.protobuf.DoubleValue",minimum:"google.protobuf.DoubleValue",multipleOf:"google.protobuf.DoubleValue",enum:"google.protobuf.DoubleValue"},Jf={properties:"Map#_propertiesType"},Zf={media:"_mediaItem"},Qf={width:"DOUBLE",length:"DOUBLE",height:"google.protobuf.DoubleValue"},eh={dimension:"_packageDimension",image:"_image"},th={checkboxGroupOptions:"_productCheckboxGroup",donationInputOptions:"_donationInput"},rh={description:"_richContent"},EJ={billing:"_billing"},ih={image:"_media",options:"_pollOption"},nh={poll:"_poll",design:"_design"},sh={background:"_background"},ah={image:"_media"},oh={configuration:"_predefinedExpectedInputConfiguration"},ch={textInput:"_adminConfigurableTextInput"},uh={wixMediaThumbnail:"_apiUpstreamWixCommonImage"},ph={wixMediaThumbnail:"_commonImage"},vJ={plans:"_plan"},lh={description:"_richContent",options:"_productCheckboxGroupOption"},dh={media:"_mediaItem"},mh={numberOptions:"_numberType",arrayOptions:"_arrayType"};var fh={description:"_richContent"},hh={description:"_richContent"},_h={nodes:"_node",metadata:"_v1Metadata"},Eh={content:"_richContent"},vh={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp",fields:"Map#_v1SchemaField"};var gh={packageTypes:"_packageType"},xh={shippingPrice:"DOUBLE"},Sh={description:"_richContent"},Oh={widgetDisplay:"_widgetDisplay",editorPresence:"_editorPresence"},Ah={thankYouMessage:"_thankYouMessage"},Nh={description:"_richContent"},Ih={text:"_richContent"};var Rh={urlExpirationDate:"google.protobuf.Timestamp"},IC={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},gJ={app:"_v1App"},xJ={app:"_v1App"};var Th={createdTimestamp:"google.protobuf.Timestamp",updatedTimestamp:"google.protobuf.Timestamp"},bh={index:"google.protobuf.DoubleValue"},yh={media:"_media",thumbnail:"_media"},Dh={video:"_media",thumbnail:"_media"},Ch={widgetDisplay:"_widgetDisplay"},Ph={price:"google.protobuf.FloatValue"},wh={widgetData:"_widgetComponentData"},Lh={fileUploadOptions:"_fileUpload",signatureOptions:"_signature"};function oi(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 je(Object.assign(e,{domainToMappings:t}))}function SJ(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 je(Object.assign(e,{domainToMappings:t}))}function RC(e){var t=B(gJ,{_v1App:IC}),r=t.toJSON,i=t.fromJSON,n=B(xJ,{_v1App:IC}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"POST",methodFqn:"wix.devcenter.apps.v1.AppsService.CreateApp",url:SJ({protoPath:"/v1/apps",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function TC(e){var t=B(uJ,{}),r=t.toJSON,i=t.fromJSON,n=B(mJ,{__Array:Zm,__Boolean:Qm,__Number:ef,__Object:tf,__String:rf,_actionProviderSPIConfig:nf,_actionSPIConfig:sf,_adminConfigurableTextInput:af,_apiUpstreamWixCommonImage:of,_appEmbedData:cf,_arrayItems:uf,_arrayType:pf,_audioData:lf,_authenticatorConfig:df,_background:mf,_checkbox:ff,_checkboxGroup:hf,_commonImage:_f,_component:Ef,_componentData:vf,_customElementWidget:gf,_dateTimeInput:xf,_description:Sf,_design:Of,_displayField:Af,_donationInput:Nf,_dropdown:If,_editorPresence:Rf,_expectedInputs:Tf,_fileUpload:bf,_formFieldV2:yf,_formTemplate:Df,_function:Cf,_galleryData:Pf,_galleryOptions:wf,_header:Lf,_image:Ff,_imageData:Mf,_inputField:Uf,_inputFieldMultilineAddress:qf,_item:kf,_itemImage:Gf,_itemStyle:Bf,_mapData:Hf,_mapSettings:Wf,_media:jf,_mediaItem:Vf,_multilineAddress:Kf,_multilingualTranslationSchema:Yf,_node:$f,_numberInput:zf,_numberType:Xf,_objectType:Jf,_option:Zf,_packageDimension:Qf,_packageType:eh,_payment:th,_phoneInput:rh,_poll:ih,_pollData:nh,_pollDesign:sh,_pollOption:ah,_predefinedExpectedInput:oh,_predefinedExpectedInputConfiguration:ch,_preset:uh,_presetEditorPresence:ph,_productCheckboxGroup:lh,_productCheckboxGroupOption:dh,_propertiesType:mh,_radioGroup:fh,_ratingInput:hh,_richContent:_h,_richText:Eh,_schema:vh,_shippingLabelCarrierSpiConfig:gh,_shippingProviderConfig:xh,_signature:Sh,_studioWidgetComponentData:Oh,_submitButton:Ah,_textInput:Nh,_thankYouMessage:Ih,_upstreamWixCommonImage:Rh,_v1Metadata:Th,_v1SchemaField:bh,_video:yh,_videoData:Dh,_widgetComponentData:Ch,_widgetDisplay:Ph,_widgetOutOfIframeComponentData:wh,_wixFile:Lh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppSnapshot",url:oi({protoPath:"/v1/apps/{appId}",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:oi({protoPath:"/v1/apps/{appId}",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function bC(e){var t=B(oJ,{}),r=t.toJSON,i=t.fromJSON,n=B(pJ,{__Array:Zm,__Boolean:Qm,__Number:ef,__Object:tf,__String:rf,_actionProviderSPIConfig:nf,_actionSPIConfig:sf,_adminConfigurableTextInput:af,_apiUpstreamWixCommonImage:of,_appData:sJ,_appEmbedData:cf,_arrayItems:uf,_arrayType:pf,_audioData:lf,_authenticatorConfig:df,_background:mf,_billing:aJ,_checkbox:ff,_checkboxGroup:hf,_commonImage:_f,_component:Ef,_componentData:vf,_customElementWidget:gf,_dateTimeInput:xf,_description:Sf,_design:Of,_displayField:Af,_donationInput:Nf,_dropdown:If,_editorPresence:Rf,_expectedInputs:Tf,_fileUpload:bf,_formFieldV2:yf,_formTemplate:Df,_function:Cf,_galleryData:Pf,_galleryOptions:wf,_header:Lf,_image:Ff,_imageData:Mf,_inputField:Uf,_inputFieldMultilineAddress:qf,_item:kf,_itemImage:Gf,_itemStyle:Bf,_mapData:Hf,_mapSettings:Wf,_media:jf,_mediaItem:Vf,_meteredBilling:_J,_multilineAddress:Kf,_multilingualTranslationSchema:Yf,_node:$f,_numberInput:zf,_numberType:Xf,_objectType:Jf,_option:Zf,_packageDimension:Qf,_packageType:eh,_payment:th,_phoneInput:rh,_plan:EJ,_poll:ih,_pollData:nh,_pollDesign:sh,_pollOption:ah,_predefinedExpectedInput:oh,_predefinedExpectedInputConfiguration:ch,_preset:uh,_presetEditorPresence:ph,_pricingModel:vJ,_productCheckboxGroup:lh,_productCheckboxGroupOption:dh,_propertiesType:mh,_radioGroup:fh,_ratingInput:hh,_richContent:_h,_richText:Eh,_schema:vh,_shippingLabelCarrierSpiConfig:gh,_shippingProviderConfig:xh,_signature:Sh,_studioWidgetComponentData:Oh,_submitButton:Ah,_textInput:Nh,_thankYouMessage:Ih,_upstreamWixCommonImage:Rh,_v1Metadata:Th,_v1SchemaField:bh,_video:yh,_videoData:Dh,_widgetComponentData:Ch,_widgetDisplay:Ph,_widgetOutOfIframeComponentData:wh,_wixFile:Lh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppByVersion",url:oi({protoPath:"/v1/apps/{appId}/version/{version}",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:oi({protoPath:"/v1/apps/{appId}/version/{version}",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function yC(e){var t=B(fJ,{}),r=t.toJSON,i=t.fromJSON,n=B(hJ,{__Array:Zm,__Boolean:Qm,__Number:ef,__Object:tf,__String:rf,_actionProviderSPIConfig:nf,_actionSPIConfig:sf,_adminConfigurableTextInput:af,_apiUpstreamWixCommonImage:of,_appEmbedData:cf,_arrayItems:uf,_arrayType:pf,_audioData:lf,_authenticatorConfig:df,_background:mf,_checkbox:ff,_checkboxGroup:hf,_commonImage:_f,_component:Ef,_componentData:vf,_customElementWidget:gf,_dateTimeInput:xf,_description:Sf,_design:Of,_displayField:Af,_donationInput:Nf,_dropdown:If,_editorPresence:Rf,_expectedInputs:Tf,_fileUpload:bf,_formFieldV2:yf,_formTemplate:Df,_function:Cf,_galleryData:Pf,_galleryOptions:wf,_getAppInfoResponse:cJ,_header:Lf,_image:Ff,_imageData:Mf,_inputField:Uf,_inputFieldMultilineAddress:qf,_item:kf,_itemImage:Gf,_itemStyle:Bf,_mapData:Hf,_mapSettings:Wf,_media:jf,_mediaItem:Vf,_multilineAddress:Kf,_multilingualTranslationSchema:Yf,_node:$f,_numberInput:zf,_numberType:Xf,_objectType:Jf,_option:Zf,_packageDimension:Qf,_packageType:eh,_payment:th,_phoneInput:rh,_poll:ih,_pollData:nh,_pollDesign:sh,_pollOption:ah,_predefinedExpectedInput:oh,_predefinedExpectedInputConfiguration:ch,_preset:uh,_presetEditorPresence:ph,_productCheckboxGroup:lh,_productCheckboxGroupOption:dh,_propertiesType:mh,_radioGroup:fh,_ratingInput:hh,_richContent:_h,_richText:Eh,_schema:vh,_shippingLabelCarrierSpiConfig:gh,_shippingProviderConfig:xh,_signature:Sh,_studioWidgetComponentData:Oh,_submitButton:Ah,_textInput:Nh,_thankYouMessage:Ih,_upstreamWixCommonImage:Rh,_v1Metadata:Th,_v1SchemaField:bh,_video:yh,_videoData:Dh,_widgetComponentData:Ch,_widgetDisplay:Ph,_widgetOutOfIframeComponentData:wh,_wixFile:Lh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetDeveloperApps",url:oi({protoPath:"/v1/apps",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:oi({protoPath:"/v1/apps",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function DC(e){var t=B(lJ,{}),r=t.toJSON,i=t.fromJSON,n=B(dJ,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.apps.v1.app",method:"GET",methodFqn:"com.wixpress.appservice.api.Apps.GetAppSecret",url:oi({protoPath:"/v1/apps/{appId}/secret",data:u,host:c}),params:_e(u),transformResponse:n,fallback:[{method:"GET",url:oi({protoPath:"/v1/apps/{appId}/secret",data:u,host:c}),params:_e(u)}]};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var OJ={},AJ={};var NJ={},IJ={},RJ={},TJ={};function Fh(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 je(Object.assign(e,{domainToMappings:t}))}function CC(e){var t=B(OJ,{}),r=t.toJSON,i=t.fromJSON,n=B(AJ,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"POST",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.CreateDevelopmentSite",url:Fh({protoPath:"/v1/development-sites",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function PC(e){var t=B(RJ,{}),r=t.toJSON,i=t.fromJSON,n=B(TJ,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSites",url:Fh({protoPath:"/v1/development-sites",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function wC(e){var t=B(NJ,{}),r=t.toJSON,i=t.fromJSON,n=B(IJ,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.dsm.v1.development_site",method:"GET",methodFqn:"com.wixpress.devcenter.dsm.DevelopmentSitesManager.GetDevelopmentSitesLimit",url:Fh({protoPath:"/v1/development-sites-limit",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var Mh={createdDate:"google.protobuf.Timestamp",updatedDate:"google.protobuf.Timestamp"},bJ={},yJ={marketListing:"_marketListing"},DJ={mask:"google.protobuf.FieldMask",marketListing:"_marketListing"},CJ={marketListing:"_marketListing"};function LC(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 je(Object.assign(e,{domainToMappings:t}))}function FC(e){var t=B(DJ,{_marketListing:Mh}),r=t.toJSON,i=t.fromJSON,n=B(CJ,{_marketListing:Mh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"PUT",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.UpdateMarketListing",url:LC({protoPath:"/v1/marketListings/{marketListing.id}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function MC(e){var t=B(bJ,{}),r=t.toJSON,i=t.fromJSON,n=B(yJ,{_marketListing:Mh}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_market_listing.v1.market_listing",method:"POST",methodFqn:"com.wixpress.devcenter.appmarketlisting.MarketListingService.QueryMarketListing",url:LC({protoPath:"/v1/marketListings/query",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var PJ={},wJ={};function LJ(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 je(Object.assign(e,{domainToMappings:t}))}function UC(e){var t=B(PJ,{}),r=t.toJSON,i=t.fromJSON,n=B(wJ,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.devcenter.app_assessment.v1.validation",method:"GET",methodFqn:"com.wix.devcenter.AppValidationService.GetAppValidationReport",url:LJ({protoPath:"/v1/get-app-validation-report/{appId}/{version}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();o();var qC;(function(e){e.ACTIVE="ACTIVE",e.DEPRECATED="DEPRECATED",e.ARCHIVED="ARCHIVED"})(qC||(qC={}));var kC;(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"})(kC||(kC={}));var GC;(function(e){e.USER="USER",e.APP="APP"})(GC||(GC={}));var BC;(function(e){e.ACCOUNT="ACCOUNT",e.COMPANY="COMPANY"})(BC||(BC={}));var HC;(function(e){e.ASC="ASC",e.DESC="DESC"})(HC||(HC={}));var WC;(function(e){e.CREATED="CREATED",e.UPDATED="UPDATED",e.DEPRECATED="DEPRECATED",e.DELETED="DELETED"})(WC||(WC={}));var jC;(function(e){e.UNKNOWN="UNKNOWN",e.ANONYMOUS_VISITOR="ANONYMOUS_VISITOR",e.MEMBER="MEMBER",e.WIX_USER="WIX_USER",e.APP="APP"})(jC||(jC={}));var VC;(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"})(VC||(VC={}));var KC;(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"})(KC||(KC={}));var qi;(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"})(qi||(qi={}));var YC;(function(e){e.NONE_VERTICAL="NONE_VERTICAL",e.TOP="TOP",e.CENTER_VERTICAL="CENTER_VERTICAL",e.BOTTOM="BOTTOM"})(YC||(YC={}));var $C;(function(e){e.NONE_HORIZONTAL="NONE_HORIZONTAL",e.LEFT="LEFT",e.CENTER_HORIZONTAL="CENTER_HORIZONTAL",e.RIGHT="RIGHT"})($C||($C={}));var zC;(function(e){e.NONE_TYPE="NONE_TYPE",e.CUSTOM="CUSTOM",e.FULL="FULL"})(zC||(zC={}));var XC;(function(e){e.no_region="no_region",e.header="header",e.pageContainer="pageContainer",e.footer="footer"})(XC||(XC={}));var JC;(function(e){e.NO_UNIT="NO_UNIT",e.AUTO="AUTO",e.PX="PX",e.VH="VH",e.VW="VW",e.PERCENTAGE="PERCENTAGE"})(JC||(JC={}));var ZC;(function(e){e.NO_HDOCKING="NO_HDOCKING",e.LEFT_DOCKING="LEFT_DOCKING",e.HCENTER="HCENTER",e.RIGHT_DOCKING="RIGHT_DOCKING"})(ZC||(ZC={}));var QC;(function(e){e.NO_VDOCKING="NO_VDOCKING",e.TOP_DOCKING="TOP_DOCKING",e.VCENTER="VCENTER",e.BOTTOM_DOCKING="BOTTOM_DOCKING"})(QC||(QC={}));var eP;(function(e){e.UNKNOWN_REPLACEMENT="UNKNOWN_REPLACEMENT",e.REPLACING="REPLACING",e.REPLACEABLE="REPLACEABLE"})(eP||(eP={}));var tP;(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"})(tP||(tP={}));var rP;(function(e){e.NO_PAGE="NO_PAGE",e.CURRENT="CURRENT",e.PAGE="PAGE",e.LIGHTBOX="LIGHTBOX"})(rP||(rP={}));var iP;(function(e){e.HEADER="HEADER",e.BODY="BODY",e.FOOTER="FOOTER"})(iP||(iP={}));var nP;(function(e){e.NONE_PAGES="NONE_PAGES",e.ONCE="ONCE",e.SPECIFIC_PAGES="SPECIFIC_PAGES"})(nP||(nP={}));var sP;(function(e){e.NONE_PLACEMENT="NONE_PLACEMENT",e.HEAD="HEAD",e.BODY_START="BODY_START",e.BODY_END="BODY_END"})(sP||(sP={}));var aP;(function(e){e.UNKNOWN="UNKNOWN",e.ESSENTIAL="ESSENTIAL",e.FUNCTIONAL="FUNCTIONAL",e.ANALYTICS="ANALYTICS",e.ADVERTISING="ADVERTISING"})(aP||(aP={}));var oP;(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"})(oP||(oP={}));var cP;(function(e){e.SMALL="SMALL",e.MEDIUM="MEDIUM",e.LARGE="LARGE",e.XLARGE="XLARGE"})(cP||(cP={}));var uP;(function(e){e.ALIGN_LEFT="ALIGN_LEFT",e.ALIGN_CENTER="ALIGN_CENTER",e.ALIGN_RIGHT="ALIGN_RIGHT"})(uP||(uP={}));var pP;(function(e){e.TITLE="TITLE",e.PARAGRAPH="PARAGRAPH",e.LOWER_HIERARCHY_TEXTS="LOWER_HIERARCHY_TEXTS"})(pP||(pP={}));var lP;(function(e){e.WIDGET="WIDGET",e.PAGE="PAGE"})(lP||(lP={}));var dP;(function(e){e.NO_SCRIPT_TYPE="NO_SCRIPT_TYPE",e.MODULE="MODULE"})(dP||(dP={}));var mP;(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"})(mP||(mP={}));var fP;(function(e){e.UNKNOWN_PRIMITIVE_TYPE="UNKNOWN_PRIMITIVE_TYPE",e.TEXT="TEXT",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER"})(fP||(fP={}));var hP;(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"})(hP||(hP={}));var _P;(function(e){e.UNKNOWN_EXPOSURE="UNKNOWN_EXPOSURE",e.SETUP="SETUP",e.HIDDEN="HIDDEN",e.EXPOSED="EXPOSED"})(_P||(_P={}));var EP;(function(e){e.UNDEFINED="UNDEFINED",e.ALLOW="ALLOW",e.DISALLOW="DISALLOW"})(EP||(EP={}));var vP;(function(e){e.BUSINESS_MANAGER="BUSINESS_MANAGER",e.BUSINESS_DASHBOARD_HOST="BUSINESS_DASHBOARD_HOST",e.SIDEBAR_FOOTER="SIDEBAR_FOOTER"})(vP||(vP={}));var gP;(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"})(gP||(gP={}));var xP;(function(e){e.Metric="Metric",e.Imperial="Imperial"})(xP||(xP={}));var SP;(function(e){e.WIX="WIX",e.POS="POS"})(SP||(SP={}));var OP;(function(e){e.UNDEFINED="UNDEFINED",e.BEFORE_BLOCKING="BEFORE_BLOCKING",e.BEFORE="BEFORE",e.AFTER="AFTER"})(OP||(OP={}));var AP;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIDGET_COMPONENT="WIDGET_COMPONENT",e.GENERIC="GENERIC"})(AP||(AP={}));var NP;(function(e){e.UNKNOWN_EXECUTION_TYPE="UNKNOWN_EXECUTION_TYPE",e.SYNC="SYNC",e.ASYNC="ASYNC"})(NP||(NP={}));var IP;(function(e){e.INVALID="INVALID",e.BACK_OFFICE_MENU_ITEM="BACK_OFFICE_MENU_ITEM",e.BACK_OFFICE_EXTENSION_WIDGET="BACK_OFFICE_EXTENSION_WIDGET"})(IP||(IP={}));var RP;(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"})(RP||(RP={}));var TP;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.MODULE="MODULE"})(TP||(TP={}));var bP;(function(e){e.PAGE="PAGE",e.MODAL="MODAL"})(bP||(bP={}));var yP;(function(e){e.UNSPECIFIED="UNSPECIFIED",e.RELATED_ITEMS="RELATED_ITEMS",e.GLOBAL="GLOBAL"})(yP||(yP={}));var DP;(function(e){e.UNSPECIFIED_LOCKABLE="UNSPECIFIED_LOCKABLE",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED"})(DP||(DP={}));var CP;(function(e){e.UNSPECIFIED_RESTRICTED="UNSPECIFIED_RESTRICTED",e.ALLOW="ALLOW",e.WARN="WARN"})(CP||(CP={}));var PP;(function(e){e.UNKNOWN="UNKNOWN",e.OR="OR",e.AND="AND"})(PP||(PP={}));var wP;(function(e){e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE"})(wP||(wP={}));var LP;(function(e){e.TEXT="TEXT",e.PASSWORD="PASSWORD",e.CODE="CODE"})(LP||(LP={}));var FP;(function(e){e.UNKNOWN_THUMBNAIL_TYPE="UNKNOWN_THUMBNAIL_TYPE",e.IMAGE="IMAGE",e.AVATAR="AVATAR"})(FP||(FP={}));var MP;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE",e.RECTANGLE="RECTANGLE"})(MP||(MP={}));var UP;(function(e){e.UNKNOWN_SHAPE="UNKNOWN_SHAPE",e.CIRCLE="CIRCLE",e.SQUARE="SQUARE"})(UP||(UP={}));var qP;(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"})(qP||(qP={}));var kP;(function(e){e.UNKNOWN_SELECTION="UNKNOWN_SELECTION",e.SINGLE_SELECTION="SINGLE_SELECTION"})(kP||(kP={}));var GP;(function(e){e.UNKNOWN_FILTER_OPTIONS="UNKNOWN_FILTER_OPTIONS",e.STATIC="STATIC"})(GP||(GP={}));var BP;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(BP||(BP={}));var HP;(function(e){e.TEXT="TEXT",e.MEDIA="MEDIA",e.CARD="CARD",e.ANNOUNCEMENT="ANNOUNCEMENT",e.FORM="FORM"})(HP||(HP={}));var WP;(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"})(WP||(WP={}));var jP;(function(e){e.SMS="SMS",e.MMS="MMS"})(jP||(jP={}));var VP;(function(e){e.UNKNOWN_INIT_DIRECTION="UNKNOWN_INIT_DIRECTION",e.BUSINESS="BUSINESS",e.CUSTOMER="CUSTOMER",e.BOTH="BOTH"})(VP||(VP={}));var KP;(function(e){e.UNDEFINED="UNDEFINED",e.GOOGLE="GOOGLE",e.I_CAL="I_CAL",e.MICROSOFT="MICROSOFT",e.OTHER="OTHER"})(KP||(KP={}));var YP;(function(e){e.OAUTH="OAUTH",e.CREDENTIALS="CREDENTIALS"})(YP||(YP={}));var $P;(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"})($P||($P={}));var zP;(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"})(zP||(zP={}));var XP;(function(e){e.OAUTH_APP_TYPE_UNSPECIFIED="OAUTH_APP_TYPE_UNSPECIFIED",e.WEB_APP="WEB_APP",e.MOBILE="MOBILE",e.OTHER="OTHER"})(XP||(XP={}));var JP;(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"})(JP||(JP={}));var ZP;(function(e){e.NAVIGATE="NAVIGATE",e.MODAL="MODAL"})(ZP||(ZP={}));var QP;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(QP||(QP={}));var ew;(function(e){e.UNKNOWN_STATE="UNKNOWN_STATE",e.DEFAULT_ON="DEFAULT_ON",e.DEFAULT_OFF="DEFAULT_OFF",e.ALWAYS_ON="ALWAYS_ON"})(ew||(ew={}));var tw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.PROMOTIONAL="PROMOTIONAL",e.TRANSACTIONAL="TRANSACTIONAL"})(tw||(tw={}));var rw;(function(e){e.UNKNOWN_OPTION="UNKNOWN_OPTION",e.FREE="FREE",e.ONE_TIME="ONE_TIME",e.RECURRING="RECURRING"})(rw||(rw={}));var iw;(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"})(iw||(iw={}));var nw;(function(e){e.UNDEFINED="UNDEFINED",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"})(nw||(nw={}));var sw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.STRING="STRING",e.ARRAY="ARRAY"})(sw||(sw={}));var aw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USERS="WIX_USERS",e.SITE_CONTRIBUTORS="SITE_CONTRIBUTORS"})(aw||(aw={}));var ow;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.WIX_USER="WIX_USER",e.WIX_APP="WIX_APP"})(ow||(ow={}));var cw;(function(e){e.UNKNOWN_LEVEL="UNKNOWN_LEVEL",e.ACCOUNT="ACCOUNT",e.USER="USER",e.SITE="SITE"})(cw||(cw={}));var uw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.URL="URL",e.SPOUT="SPOUT",e.INITIATOR="INITIATOR"})(uw||(uw={}));var pw;(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"})(pw||(pw={}));var lw;(function(e){e.UNKNOWN_ANDROID_STYLE="UNKNOWN_ANDROID_STYLE",e.BIG_TEXT="BIG_TEXT",e.MESSAGING="MESSAGING",e.INBOX="INBOX"})(lw||(lw={}));var dw;(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"})(dw||(dw={}));var mw;(function(e){e.UNKNOWN_INTENT="UNKNOWN_INTENT",e.MARKETING="MARKETING",e.TRANSACTIONAL="TRANSACTIONAL"})(mw||(mw={}));var fw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.REGULAR="REGULAR",e.ALERT_WARNING="ALERT_WARNING",e.ALERT_INFO="ALERT_INFO"})(fw||(fw={}));var hw;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACTS="CONTACTS"})(hw||(hw={}));var _w;(function(e){e.UNKNOWN_TYPE="UNKNOWN_TYPE",e.CONTACT="CONTACT",e.SITE_MEMBER="SITE_MEMBER"})(_w||(_w={}));var Ew;(function(e){e.LIVE_SITE="LIVE_SITE",e.BUSINESS_MANAGER="BUSINESS_MANAGER"})(Ew||(Ew={}));var vw;(function(e){e.UNKNOWN_SCOPE="UNKNOWN_SCOPE",e.GLOBAL="GLOBAL",e.SITE="SITE"})(vw||(vw={}));var gw;(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"})(gw||(gw={}));var xw;(function(e){e.NONE="NONE",e.COMMON_JS="COMMON_JS",e.ES_MODULE="ES_MODULE"})(xw||(xw={}));var Sw;(function(e){e.UNKNOWN="UNKNOWN",e.AUTO="AUTO",e.FIXED="FIXED"})(Sw||(Sw={}));var Ow;(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"})(Ow||(Ow={}));var Aw;(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"})(Aw||(Aw={}));var Nw;(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"})(Nw||(Nw={}));var Iw;(function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH"})(Iw||(Iw={}));var Rw;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(Rw||(Rw={}));var Tw;(function(e){e.LINK="LINK",e.ACTION="ACTION"})(Tw||(Tw={}));var bw;(function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP"})(bw||(bw={}));var yw;(function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY"})(yw||(yw={}));var Dw;(function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED"})(Dw||(Dw={}));var Cw;(function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL"})(Cw||(Cw={}));var Pw;(function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT"})(Pw||(Pw={}));var ww;(function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI"})(ww||(ww={}));var Lw;(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"})(Lw||(Lw={}));var Fw;(function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS"})(Fw||(Fw={}));var Mw;(function(e){e.FILL="FILL",e.FIT="FIT"})(Mw||(Mw={}));var Uw;(function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE"})(Uw||(Uw={}));var qw;(function(e){e.HTML="HTML",e.ADSENSE="ADSENSE"})(qw||(qw={}));var kw;(function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN"})(kw||(kw={}));var Gw;(function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE"})(Gw||(Gw={}));var Bw;(function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL"})(Bw||(Bw={}));var Hw;(function(e){e.LIST="LIST",e.GRID="GRID"})(Hw||(Hw={}));var Ww;(function(e){e.LTR="LTR",e.RTL="RTL"})(Ww||(Ww={}));var jw;(function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT"})(jw||(jw={}));var Vw;(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"})(Vw||(Vw={}));var Kw;(function(e){e.PX="PX",e.EM="EM"})(Kw||(Kw={}));var Yw;(function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING"})(Yw||(Yw={}));var $w;(function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE"})($w||($w={}));var zw;(function(e){e.LTR="LTR",e.RTL="RTL"})(zw||(zw={}));var Xw;(function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM"})(Xw||(Xw={}));var Jw;(function(e){e.NULL_VALUE="NULL_VALUE"})(Jw||(Jw={}));var Zw;(function(e){e.YEAR="YEAR",e.MONTH="MONTH",e.DAY="DAY"})(Zw||(Zw={}));var Qw;(function(e){e.MONDAY="MONDAY",e.SUNDAY="SUNDAY"})(Qw||(Qw={}));var eL;(function(e){e.UNKNOWN="UNKNOWN",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.TIME="TIME",e.DATE_PICKER="DATE_PICKER"})(eL||(eL={}));var tL;(function(e){e.UNKNOWN="UNKNOWN",e.NUMBER_INPUT="NUMBER_INPUT",e.RATING_INPUT="RATING_INPUT"})(tL||(tL={}));var rL;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX="CHECKBOX"})(rL||(rL={}));var iL;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.OBJECT="OBJECT"})(iL||(iL={}));var nL;(function(e){e.UNKNOWN="UNKNOWN",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.INTEGER="INTEGER",e.ARRAY="ARRAY"})(nL||(nL={}));var sL;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP"})(sL||(sL={}));var aL;(function(e){e.UNKNOWN="UNKNOWN",e.FILE_UPLOAD="FILE_UPLOAD",e.SIGNATURE="SIGNATURE"})(aL||(aL={}));var oL;(function(e){e.UNDEFINED="UNDEFINED",e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.AUDIO="AUDIO",e.DOCUMENT="DOCUMENT"})(oL||(oL={}));var cL;(function(e){e.UNKNOWN="UNKNOWN",e.CHECKBOX_GROUP="CHECKBOX_GROUP",e.DONATION_INPUT="DONATION_INPUT"})(cL||(cL={}));var uL;(function(e){e.UNKNOWN="UNKNOWN",e.SHIPPABLE="SHIPPABLE",e.DIGITAL="DIGITAL"})(uL||(uL={}));var pL;(function(e){e.UNKNOWN="UNKNOWN",e.FIXED_PRICE="FIXED_PRICE",e.DYNAMIC_PRICE="DYNAMIC_PRICE"})(pL||(pL={}));var lL;(function(e){e.UNKNOWN="UNKNOWN",e.ONE="ONE",e.TWO="TWO",e.THREE="THREE"})(lL||(lL={}));var dL;(function(e){e.UNKNOWN="UNKNOWN",e.MULTILINE_ADDRESS="MULTILINE_ADDRESS"})(dL||(dL={}));var mL;(function(e){e.UNKNOWN_DEFAULT_COUNTRY="UNKNOWN_DEFAULT_COUNTRY",e.BY_IP="BY_IP",e.COUNTRY="COUNTRY"})(mL||(mL={}));var fL;(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"})(fL||(fL={}));var hL;(function(e){e.UNDEFINED="UNDEFINED",e.SELF="SELF",e.BLANK="BLANK"})(hL||(hL={}));var _L;(function(e){e.UNKNOWN="UNKNOWN",e.INPUT="INPUT",e.DISPLAY="DISPLAY",e.SUBMIT="SUBMIT"})(_L||(_L={}));var EL;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(EL||(EL={}));var vL;(function(e){e.UNTAGGED="UNTAGGED",e.MAIN="MAIN"})(vL||(vL={}));var gL;(function(e){e.UNTAGGED="UNTAGGED",e.HOME="HOME"})(gL||(gL={}));var xL;(function(e){e.UNKNOWN="UNKNOWN",e.SINGLE_CONFIRMATION="SINGLE_CONFIRMATION",e.DOUBLE_CONFIRMATION="DOUBLE_CONFIRMATION"})(xL||(xL={}));var SL;(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"})(SL||(SL={}));var OL;(function(e){e.UNKNOWN="UNKNOWN",e.REQUIRED="REQUIRED",e.HIDDEN="HIDDEN",e.ALLOWED_VALUES="ALLOWED_VALUES"})(OL||(OL={}));var AL;(function(e){e.UNKNOWN="UNKNOWN",e.FIELD="FIELD"})(AL||(AL={}));var NL;(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"})(NL||(NL={}));var IL;(function(e){e.UNKNOWN="UNKNOWN",e.EXTENDABLE="EXTENDABLE",e.DEMO="DEMO",e.FORM_INPUT="FORM_INPUT"})(IL||(IL={}));var RL;(function(e){e.ANY="ANY"})(RL||(RL={}));var TL;(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"})(TL||(TL={}));var bL;(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"})(bL||(bL={}));var yL;(function(e){e.UNKNOWN_CHANNEL_TYPE="UNKNOWN_CHANNEL_TYPE",e.DIRECT_MESSAGING="DIRECT_MESSAGING",e.EMAIL="EMAIL",e.SMS="SMS"})(yL||(yL={}));var DL;(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"})(DL||(DL={}));var CL;(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"})(CL||(CL={}));var PL;(function(e){e.UNKNOWN_SMS_MESSAGE_TYPE="UNKNOWN_SMS_MESSAGE_TYPE",e.SMS="SMS",e.MMS="MMS"})(PL||(PL={}));var wL;(function(e){e.NONE_VALUE="NONE_VALUE",e.NEW_WINDOW="NEW_WINDOW",e.NEW_TAB="NEW_TAB"})(wL||(wL={}));var LL;(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"})(LL||(LL={}));var FL;(function(e){e.VIDEO="VIDEO",e.IMAGE="IMAGE",e.YOUTUBE="YOUTUBE"})(FL||(FL={}));var ML;(function(e){e.UNKNOWN="UNKNOWN",e.VISIBLE="VISIBLE",e.HIDDEN="HIDDEN"})(ML||(ML={}));var UL;(function(e){e.UNKNOWN_DESCRIPTION="UNKNOWN_DESCRIPTION",e.BENEFITS="BENEFITS",e.CUSTOM_TEXT="CUSTOM_TEXT"})(UL||(UL={}));var qL;(function(e){e.None="None",e.FREEMIUM="FREEMIUM",e.PREMIUM="PREMIUM",e.FREE="FREE",e.WIX_PREMIUM="WIX_PREMIUM",e.DYNAMIC="DYNAMIC"})(qL||(qL={}));var kL;(function(e){e.UNINITIALIZED="UNINITIALIZED",e.COMPONENT="COMPONENT"})(kL||(kL={}));var GL=v.object({app:v.object({id:v.string()})}),FJ=v.object({compId:v.string(),compName:v.string(),compType:v.literal(qi.TOPOLOGY),compData:v.object({topology:v.object({topology:v.object({backendApiUrl:v.string().min(1)})})})}).passthrough(),BL=v.array(v.discriminatedUnion("compType",[FJ,...Object.values(qi).filter(e=>e!==qi.TOPOLOGY).map(e=>v.object({compId:v.string(),compName:v.string().optional(),compData:v.any(),compType:v.literal(e)}).passthrough())])),HL=v.object({appId:v.string(),data:v.object({components:BL})}),WL=v.object({latestVersion:v.string(),components:BL}),jL=v.object({appSecret:v.string(),webhooksPublicKey:v.string()}),VL=v.object({developmentSite:v.object({id:v.string(),siteName:v.string()})}),KL=v.object({developmentSites:v.array(v.object({}))}),YL=v.object({limit:v.number()}),MJ=v.object({name:v.string(),appId:v.string()}),$L=v.object({apps:v.array(MJ)}),zL=v.object({appPropertiesValidity:v.array(v.object({failures:v.array(v.string())}))}),XL=v.object({id:v.string(),appId:v.string(),revision:v.string(),languageCode:v.string(),installationRequirement:v.object({requiredApps:v.array(v.object({id:v.string(),slug:v.string()}))})});var UJ="24bafe8a-7c80-4b63-8a71-08752062f246",ki=class{constructor(t){this.httpClient=t;let{minRetryTimeout:r}=ct();this.retryOptions={retries:3,minTimeout:r,maxTimeout:3*1e3}}retryOptions;createApp=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(RC({app:t})),this.retryOptions);return GL.parse(r).app}catch(r){throw new y({code:D.FailedToCreateDevCenterApp(),cause:r})}};getAppSecret=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(DC(t)),this.retryOptions);return jL.parse(r)}catch(r){throw new y({code:D.FailedToGetAppSecret(),cause:r})}};getAppSnapshot=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(TC(t)),this.retryOptions);return WL.parse(r)}catch(r){throw new y({code:D.FailedToGetAppSnapshot(),cause:r})}};getAppByVersion=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(bC(t)),this.retryOptions);return HL.parse(r)}catch(r){throw _r(r)&&r.response?.status===404?new y({code:D.AppForVersionNotFound({version:t.version}),cause:r}):new y({code:D.FailedToFetchAppForVersion(),cause:r})}};createDevSite=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(CC({templateId:UJ})),this.retryOptions),{id:r,siteName:i}=VL.parse(t).developmentSite;return{id:r,displayName:i.replaceAll("-"," "),viewUrl:""}}catch(t){throw new y({code:D.FailedToCreateDevelopmentSite(),cause:t})}};getDevSitesCount=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(PC({})),this.retryOptions);return KL.parse(t).developmentSites.length}catch(t){throw new y({code:D.FailedToGetDevelopmentSites(),cause:t})}};getDeveloperApps=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(yC({})),this.retryOptions);return $L.parse(t).apps}catch(t){throw new y({code:D.FailedToGetDeveloperApps(),cause:t})}};getDevSitesLimit=async()=>{try{let{data:t}=await he(()=>this.httpClient.request(wC({})),this.retryOptions);return YL.parse(t).limit}catch(t){throw new y({code:D.FailedToGetDevelopmentSitesLimit(),cause:t})}};getMarketListing=async t=>{try{let{data:r}=await he(()=>this.httpClient.request(MC({query:{filter:{appId:t,languageCode:"en"}}})),this.retryOptions);return r.marketListing?.[0]?XL.parse(r.marketListing[0]):void 0}catch(r){throw new y({code:D.FailedToGetMarketListing(),cause:r})}};getRequiredApps=async t=>{try{return(await this.getMarketListing(t))?.installationRequirement.requiredApps}catch(r){throw new y({code:D.FailedToGetRequiredApps(),cause:r})}};addRequiredApp=async({appId:t,appIdToRequire:r})=>{try{let i=await this.getMarketListing(t),n=i?.installationRequirement.requiredApps.some(s=>s.id===r);if(i&&!n){let s=[...i.installationRequirement.requiredApps,{id:r,slug:r}];await he(()=>this.httpClient.request(FC({marketListing:{...i,appId:t,installationRequirement:{requiredApps:s}},mask:["installationRequirement.requiredApps"]})),this.retryOptions)}}catch(i){throw new y({code:D.FailedToAddRequiredApp(),cause:i})}};getAppValidationFailuresCount=async(t,r)=>{try{let{data:i}=await this.httpClient.request(UC({appId:t,version:r}));return zL.parse(i).appPropertiesValidity.filter(a=>a.failures.length>0).length}catch(i){throw new y({code:D.FailedToGetAppValidity(),cause:i})}}};o();var ZL=W(Ye(),1);o();o();var JL=W(Ye(),1);function Uh({type:e}){let{getAccessToken:t,getRequestHeaders:r}=Bm();return(0,JL.useMemo)(()=>pn({type:e,getAppToken:t,createHeaders:r}),[e,t,r])}function qJ(){let e=Uh({type:"backoffice"});return(0,ZL.useMemo)(()=>new ki(e),[e])}o();var VF=W(wF(),1);o();var LF;(function(e){e.MEDIA_PLATFORM="MEDIA_PLATFORM",e.S3="S3"})(LF||(LF={}));var ma;(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"})(ma||(ma={}));o();o();var S5={},O5={};var A5={},N5={};function FF(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 je(Object.assign(e,{domainToMappings:t}))}function MF(e){var t=B(S5,{}),r=t.toJSON,i=t.fromJSON,n=B(O5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_deployer_service.v1.app_cloud_deployer",method:"POST",methodFqn:"com.wix.ctp.AppCloudDeployerService.CreatePresignedUrl",url:FF({protoPath:"/v1/create-presigned-url/{appId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function UF(e){var t=B(A5,{}),r=t.toJSON,i=t.fromJSON,n=B(N5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_deployer_service.v1.app_cloud_deployer",method:"GET",methodFqn:"com.wix.ctp.AppCloudDeployerService.GetDeploymentStatus",url:FF({protoPath:"/v1/get-deployment-status/{appId}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var qF=v.object({serveUrl:v.string().url(),uploadUrl:v.string().url(),fields:v.record(v.unknown()),deploymentId:v.string()});var eu=class{constructor(t,r={retries:3,minTimeout:ct().minRetryTimeout,maxTimeout:3*1e3}){this.httpClient=t;this.retryOptions=r}async createPresignedUrl(t){try{let{data:r}=await he(()=>this.httpClient.request(MF(t)),this.retryOptions);return qF.parse(r)}catch(r){throw _r(r)&&r.response?.status===403?new y({code:D.AppPermissionDenied({appId:t.appId}),cause:r}):new y({code:D.FailedToCreatePresignedUrl(),cause:r})}}upload(t,r){return new Promise((i,n)=>{let s="";r.submit(t,(a,c)=>{if(a){n(new y({code:D.FailedToUploadApplicationFiles(),cause:a}));return}c.on("data",u=>{s+=u.toString()}),c.on("end",()=>{[200,204].includes(c.statusCode)?i():n(s)})})})}async getDeploymentStatus(t){let{data:r}=await he(()=>this.httpClient.request(UF(t)),this.retryOptions);return r.status}};o();o();function kF(e){return{evid:5208,src:11,endpoint:"",params:e}}function GF(e){return{evid:5209,src:11,endpoint:"",params:e}}function BF(e){return{evid:5210,src:11,endpoint:"",params:e}}function HF(e){return{evid:5229,src:11,endpoint:"",params:e}}function WF(e){return{evid:5231,src:11,endpoint:"",params:e}}function jF(e){return{evid:5232,src:11,endpoint:"",params:e}}function tOe(e){return{evid:5233,src:11,endpoint:"",params:e}}var tu=e=>({cliAction:({question:t,action:r,key:i,additionalInfo:n})=>e.report(WF({question:t,action:r,key:i,additionalInfo:JSON.stringify(n)})),cliFlowStepAnswered:({question:t,answer:r,additionalInfo:i})=>e.report(HF({question:t,answer:r,additionalInfo:JSON.stringify(i)})),fileUpload({provider:t,fileCount:r,compressedSize:i,uncompressedSize:n}){let s=Date.now();return e.report(kF({timestampMs:s,hostingProvider:t,numFiles:r,fileSizeCompressed:i,fileSizeNotCompressed:n})),{archiveUploaded(){e.report(GF({duration:Date.now()-s}))},finished(){e.report(BF({duration:Date.now()-s}))}}},cliDeployment:({appId:t,deploymentId:r,files:i})=>{let n=Date.now(),s=i?i.filter(a=>a.filePath).map(a=>({filePath:a.filePath,fileSizeKb:a.content?a.content.length/1024:0})):[];return{finish:({isSuccess:a,failureReason:c})=>{e.report(jF({isSuccess:a,failureReason:c,filesDetails:JSON.stringify(s),filesSize:Math.round(s.reduce((u,{fileSizeKb:p})=>u+p,0)),uploadSource:"backend",appId:t,deploymentId:r,filesUploadTime:Date.now()-n}))}}}});var ru=class{constructor(t,r,i){this.scope=t;this.biLogger=r;this.client=new eu(i)}client;async uploadApplication(t,r){let i=tu(this.biLogger),{serveUrl:n,uploadUrl:s,fields:a,deploymentId:c}=await this.createPresignedUrl(),u=i.fileUpload({provider:"Wix",fileCount:r.fileCount,compressedSize:r.compressedSizeInKb,uncompressedSize:r.uncompressedSizeInKb});return await this.uploadFile(c,s,a,t),u.archiveUploaded(),await this.waitForDeployment(c),u.finished(),{serveUrl:n}}createPresignedUrl(){return this.client.createPresignedUrl({appId:this.scope})}buildFormData(t,r,i){let n=new VF.default;return Object.entries(t).forEach(([s,a])=>{n.append(s,a)}),n.append("file",i,{filename:r}),n}uploadFile(t,r,i,n){let s=`${t}.tar.gz`,a=this.buildFormData(i,s,n);return this.client.upload(r,a)}async waitForDeployment(t){let r=n=>1e3*n,i=n=>r(60)*n;try{await or(async()=>{let n=await this.client.getDeploymentStatus({appId:this.scope,deploymentId:t});if(n===ma.FAILED)throw new Error("Static files upload failed");return n===ma.DONE},{before:!1,interval:r(1),timeout:i(5)})}catch(n){throw new y({code:D.FailedToVerifyDeployment(),cause:n,info:{deploymentId:t}})}}};o();o();var I5={},R5={},T5={},b5={},y5={},D5={},C5={},P5={},w5={},L5={};var F5={},M5={};function Wn(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 je(Object.assign(e,{domainToMappings:t}))}function KF(e){var t=B(T5,{}),r=t.toJSON,i=t.fromJSON,n=B(b5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.CreateBackendDeployment",url:Wn({protoPath:"/v1/backend-deployment/{appId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function YF(e){var t=B(C5,{}),r=t.toJSON,i=t.fromJSON,n=B(P5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"GET",methodFqn:"com.wix.ctp.AppCloudBackendService.GetBackendDeployment",url:Wn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function $F(e){var t=B(F5,{}),r=t.toJSON,i=t.fromJSON,n=B(M5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"PUT",methodFqn:"com.wix.ctp.AppCloudBackendService.UpdateBackendDeployment",url:Wn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function EOe(e){var t=B(I5,{}),r=t.toJSON,i=t.fromJSON,n=B(R5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.AttachLogger",url:Wn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function vOe(e){var t=B(y5,{}),r=t.toJSON,i=t.fromJSON,n=B(D5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"DELETE",methodFqn:"com.wix.ctp.AppCloudBackendService.DeattachLogger",url:Wn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/logger",data:u,host:c}),params:_e(u),transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}function zF(e){var t=B(w5,{}),r=t.toJSON,i=t.fromJSON,n=B(L5,{}).fromJSON;function s(a){var c=a.host,u=r(e),p={entityFqdn:"wix.ctp.app_cloud_backend_service.v1.app_cloud_backend_deployment",method:"POST",methodFqn:"com.wix.ctp.AppCloudBackendService.MarkDeploymentAsPermanent",url:Wn({protoPath:"/v1/backend-deployment/{appId}/{deploymentId}/permanent",data:u,host:c}),data:u,transformResponse:n};return p}return s.fromReq=i,s.__isAmbassador=!0,s}o();var Yt;(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"})(Yt||(Yt={}));var XF;(function(e){e.BACKEND_DEPLOYMENT_TEMPORARY="BACKEND_DEPLOYMENT_TEMPORARY",e.BACKEND_DEPLOYMENT_PERMANENT="BACKEND_DEPLOYMENT_PERMANENT"})(XF||(XF={}));o();var iu=v.object({appId:v.string(),deploymentUrl:v.string(),deploymentId:v.string(),status:v.enum([Yt.BACKEND_DEPLOYMENT_EMPTY,Yt.BACKEND_DEPLOYMENT_ERROR,Yt.BACKEND_DEPLOYMENT_IN_PROGRESS,Yt.BACKEND_DEPLOYMENT_SUCCESS]),error:v.string().optional()});var nu=class{constructor(t,r,i={retries:3,minTimeout:ct().minRetryTimeout,maxTimeout:3*1e3}){this.biLogger=t;this.httpClient=r;this.retryOptions=i}static DeploymentUrToDeploymentId(t){let r=t.replace(/^https?:\/\//,"").split(".")[0];if(!r)throw new y({code:D.InvalidDeploymentUrl({deploymentUrl:t})});return r}async createBackendDeployment(t){try{let{data:r}=await he(()=>this.httpClient.request(KF(t)),this.retryOptions);return iu.parse(r)}catch(r){throw new y({code:D.FailedToCreateBackendDeployment(),cause:r})}}async updateBackendDeployment(t){try{let i=tu(this.biLogger).cliDeployment({appId:t.appId,deploymentId:t.deploymentId,files:t.files});await he(()=>this.httpClient.request($F(t)),this.retryOptions);let n=await this.waitForDeployment(t.appId,t.deploymentId);if(i.finish({isSuccess:n.status===Yt.BACKEND_DEPLOYMENT_SUCCESS,failureReason:n.error}),n.status===Yt.BACKEND_DEPLOYMENT_ERROR)throw new y({code:D.FailedToDeployBackend(),info:{...n}});return iu.parse(n)}catch(r){throw new y({code:D.FailedToUpdateBackendDeployment(),cause:r})}}async getBackendDeployment(t){try{let{data:r}=await he(()=>this.httpClient.request(YF(t)),this.retryOptions);return iu.parse(r)}catch(r){throw new y({code:D.FailedToGetBackendDeployment(),cause:r})}}async waitForDeployment(t,r){let i=s=>1e3*s,n=s=>i(60)*s;try{return await or(async()=>{let s=await this.getBackendDeployment({appId:t,deploymentId:r});return s.status===Yt.BACKEND_DEPLOYMENT_IN_PROGRESS?!1:or.resolveWith(s)},{before:!1,interval:i(3),timeout:n(5)})}catch(s){throw new y({code:D.FailedToDeployBackend(),cause:s,info:{appId:t,deploymentId:r}})}}async makrDeploymentAsPermanent(t,r){try{await he(()=>this.httpClient.request(zF({appId:t,deploymentId:r})),this.retryOptions)}catch(i){throw new y({code:D.FailedToMarkDeploymentAsPermanent(),cause:i})}}};o();import{join as OZ}from"node:path";import{readFile as AZ}from"node:fs/promises";o();var r1=W($h(),1),Sa=W(FE(),1),xa=W(q0(),1);import mZ from"node:fs";import fZ from"node:path";o();var VE=W(FE(),1),z0=W(Y0(),1);import uZ from"node:process";import $0 from"node:fs";import Zn from"node:path";o();function Jn(e){let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}o();import{fileURLToPath as oZ}from"node:url";import{Transform as cZ}from"node:stream";var ga=e=>e instanceof URL?oZ(e):e,Mu=class extends cZ{constructor(t){super({objectMode:!0,transform(r,i,n){n(void 0,t(r)?r:void 0)}})}},Uu=e=>e[0]==="!";var X0={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},J0="**/.gitignore",pZ=(e,t)=>Uu(e)?"!"+Zn.posix.join(t,e.slice(1)):Zn.posix.join(t,e),lZ=(e,t)=>{let r=Jn(Zn.relative(t,Zn.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(i=>i&&!i.startsWith("#")).map(i=>pZ(i,r))},dZ=(e,t)=>{if(t=Jn(t),Zn.isAbsolute(e)){if(Jn(e).startsWith(t))return Zn.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e},Z0=(e,t)=>{let r=e.flatMap(n=>lZ(n,t)),i=(0,z0.default)().add(r);return n=>(n=ga(n),n=dZ(n,t),n?i.ignores(Jn(n)):!1)},Q0=(e={})=>({cwd:ga(e.cwd)||uZ.cwd(),suppressErrors:!!e.suppressErrors,deep:typeof e.deep=="number"?e.deep:Number.POSITIVE_INFINITY}),e1=async(e,t)=>{let{cwd:r,suppressErrors:i,deep:n}=Q0(t),s=await(0,VE.default)(e,{cwd:r,suppressErrors:i,deep:n,...X0}),a=await Promise.all(s.map(async c=>({filePath:c,content:await $0.promises.readFile(c,"utf8")})));return Z0(a,r)},t1=(e,t)=>{let{cwd:r,suppressErrors:i,deep:n}=Q0(t),a=VE.default.sync(e,{cwd:r,suppressErrors:i,deep:n,...X0}).map(c=>({filePath:c,content:$0.readFileSync(c,"utf8")}));return Z0(a,r)};var hZ=e=>{if(e.some(t=>typeof t!="string"))throw new TypeError("Patterns must be a string or an array of strings")},KE=e=>(e=[...new Set([e].flat())],hZ(e),e),_Z=e=>{if(!e.cwd)return;let t;try{t=mZ.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},i1=(e={})=>(e={...e,ignore:e.ignore||[],expandDirectories:e.expandDirectories===void 0?!0:e.expandDirectories,cwd:ga(e.cwd)},_Z(e),e),n1=e=>async(t,r)=>e(KE(t),i1(r)),qu=e=>(t,r)=>e(KE(t),i1(r)),s1=e=>{let{ignoreFiles:t,gitignore:r}=e,i=t?KE(t):[];return r&&i.push(J0),i},EZ=async e=>{let t=s1(e);return o1(t.length>0&&await e1(t,e))},a1=e=>{let t=s1(e);return o1(t.length>0&&t1(t,e))},o1=e=>{let t=new Set;return r=>{let i=r.path||r,n=fZ.normalize(i),s=t.has(n)||e&&e(i);return t.add(n),!s}},c1=(e,t)=>e.flat().filter(r=>t(r)),vZ=(e,t)=>(0,r1.default)(e).pipe(new Mu(r=>t(r))),u1=(e,t)=>{let r=[];for(;e.length>0;){let i=e.findIndex(s=>Uu(s));if(i===-1){r.push({patterns:e,options:t});break}let n=e[i].slice(1);for(let s of r)s.options.ignore.push(n);i!==0&&r.push({patterns:e.slice(0,i),options:{...t,ignore:[...t.ignore,n]}}),e=e.slice(i+1)}return r},p1=(e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}),l1=async(e,t)=>{let r=u1(e,t),{cwd:i,expandDirectories:n}=t;if(!n)return r;let s=p1(n,i),a=i?{cwd:i}:void 0;return Promise.all(r.map(async c=>{let{patterns:u,options:p}=c;return[u,p.ignore]=await Promise.all([(0,xa.default)(u,s),(0,xa.default)(p.ignore,a)]),{patterns:u,options:p}}))},YE=(e,t)=>{let r=u1(e,t),{cwd:i,expandDirectories:n}=t;if(!n)return r;let s=p1(n,i),a=i?{cwd:i}:void 0;return r.map(c=>{let{patterns:u,options:p}=c;return u=xa.default.sync(u,s),p.ignore=xa.default.sync(p.ignore,a),{patterns:u,options:p}})},tt=n1(async(e,t)=>{let[r,i]=await Promise.all([l1(e,t),EZ(t)]),n=await Promise.all(r.map(s=>(0,Sa.default)(s.patterns,s.options)));return c1(n,i)}),KIe=qu((e,t)=>{let r=YE(e,t),i=a1(t),n=r.map(s=>Sa.default.sync(s.patterns,s.options));return c1(n,i)}),YIe=qu((e,t)=>{let r=YE(e,t),i=a1(t),n=r.map(s=>Sa.default.stream(s.patterns,s.options));return vZ(n,i)}),$Ie=qu((e,t)=>e.some(r=>Sa.default.isDynamicPattern(r,t))),zIe=n1(l1),XIe=qu(YE);o();import{join as d1,parse as gZ,sep as xZ}from"node:path";import{platform as SZ}from"node:os";function dr(e,t){let{dir:r,name:i}=gZ(e);return t!==""?d1(r,`${i}.${t}`):d1(r,i)}function m1(e,t){return`/${Fi(sC(e),t).split(xZ).map(encodeURIComponent).join("/")}`}function Ke(e){return SZ()==="win32"?e.replace(/\\/g,"/"):e}async function f1(e){let t=Jc(e),r=OZ(t,"**","*.mjs"),i=await tt(Ke(r),{cwd:e});return Promise.all(i.map(async n=>({filePath:n.replace(t,"."),content:await AZ(n,"utf-8")})))}o();import{readFile as h1,writeFile as _1}from"node:fs/promises";import{join as NZ}from"node:path";var $E=async({directory:e,cwd:t,replacements:r})=>{let i=NZ(e,"**","*.{js,js.map,mjs,mjs.map}"),n=await tt(Ke(i),{cwd:t});for(let s of n){let a=await h1(s,"utf-8");r.forEach(([c,u])=>{a=a.replaceAll(c,u.replaceAll(`
30
30
  `,"\\n"))}),await _1(s,a,"utf-8")}return async()=>{for(let s of n){let a=await h1(s,"utf-8");r.forEach(([c,u])=>{a=a.replaceAll(u,c)}),await _1(s,a,"utf-8")}}};var zE="http://__API_BASEURL_PLACEHOLDER__.mock",yRe=async(e,t,r,i,n)=>{let s=new ru(e,r,i),a=new nu(r,i),c=new ki(i),u=uC(t),p=Jc(t),l=n?await a.createBackendDeployment({appId:e}):void 0,{appSecret:f,webhooksPublicKey:h}=await c.getAppSecret({appId:e}),E;l?.deploymentId&&(E=await $E({directory:u,cwd:t,replacements:[[zE,l.deploymentUrl]]}));let x=await $E({directory:p,cwd:t,replacements:[["__APP_SECRET__",f],["__WEBHOOKS_PUBLIC_KEY__",h]]});return Eb(async S=>{let R,b;try{let q=await qR(u,S),k=IZ(S),[{serveUrl:j}]=await Promise.all([s.uploadApplication(k,q),l?.deploymentId?a.updateBackendDeployment({appId:e,entrypoint:"./entry.mjs",deploymentId:l.deploymentId,files:await f1(t)}):Promise.resolve()]);b=j}catch(q){R=q}if(E&&await E(),await x(),R||!b)throw new y({code:D.UploadApplicationFailed(),cause:R});return{serveUrl:b,backendServerUrl:l?.deploymentUrl}},{extension:"tar.gz"})};o();var Jt=W(Ye(),1);o();async function E1(){let e=await Ce(kn),t=pC.safeParse(e);if(t.success)return t.data;throw new y({code:D.InvalidConfigSchemaError({configPath:kn,zodError:t.error})})}async function MRe(e){return ri(kn,e,{spaces:2})}o();o();import{join as wa}from"node:path";var Rv=W(GB(),1);o();o();var BB=[{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 HB=[{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 WB={"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 Sv=async()=>HB,Ov=async()=>BB,Dse=async e=>{let t=WB[e];return t||e};import{randomUUID as cae}from"node:crypto";o();var Yi=W(vt(),1);async function jB(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.DashboardPageConfigNotFound({configPath:t})});let i=await Ce(t),n=dC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function VB(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.DashboardPluginConfigNotFound({configPath:t})});let i=await Ce(t),n=fC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function KB(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.DashboardMenuPluginConfigNotFound({configPath:t})});let i=await Ce(t),n=hC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function YB(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.DashboardModalConfigNotFound({configPath:t})});let i=await Ce(t),n=mC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}function Cse(e){return`wix/html/dashboard-asset/${e}.html`}function hCe(e){return new Map(e.components.filter(t=>(0,Yi.isType)(t,de.DashboardPage)||(0,Yi.isType)(t,de.DashboardPlugin)||(0,Yi.isType)(t,de.DashboardModal)).map(t=>[Cse(t.id),t]))}function Pse(e){return`wix/scripts/dashboard-asset/${e}.js`}function _Ce(e){return new Map(e.components.filter(t=>(0,Yi.isType)(t,de.DashboardPage)||(0,Yi.isType)(t,de.DashboardPlugin)||(0,Yi.isType)(t,de.DashboardModal)).map(t=>[Pse(t.id),t]))}o();var wse=/^[a-z0-9\-/]+$/,Lse=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Da(e){return wse.test(e)}function gCe(e){return Lse.test(e)}function $i(e){return t=>{for(let[r,i]of e)if(!r(t))return{valid:!1,reason:i};return{valid:!0}}}function xCe(e){return t=>{let r=e(t);return r.valid||r.reason}}o();var $B="The page route must be a valid URL path ([a-z0-9-/]+) and must not start with a dot.",Fse="The page route must be unique, please choose a route that has not been used yet in your application.";function Mse(e){return t=>e.every(r=>r.route!==`/${t}`)}var NCe=$i([[Da,$B]]);function zB(e){return $i([[Mse(e),Fse],[Da,$B]])}o();o();var Use=Object.prototype.toString,os=Array.isArray||function(t){return Use.call(t)==="[object Array]"};function Nv(e){return typeof e=="function"}function qse(e){return os(e)?"array":typeof e}function Av(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function XB(e,t){return e!=null&&typeof e=="object"&&t in e}function kse(e,t){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(t)}var Gse=RegExp.prototype.test;function Bse(e,t){return Gse.call(e,t)}var Hse=/\S/;function Wse(e){return!Bse(Hse,e)}var jse={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function Vse(e){return String(e).replace(/[&<>"'`=\/]/g,function(r){return jse[r]})}var Kse=/\s*/,Yse=/\s+/,JB=/\s*=/,$se=/\s*\}/,zse=/#|\^|\/|>|\{|&|=|!/;function Xse(e,t){if(!e)return[];var r=!1,i=[],n=[],s=[],a=!1,c=!1,u="",p=0;function l(){if(a&&!c)for(;s.length;)delete n[s.pop()];else s=[];a=!1,c=!1}var f,h,E;function x(F){if(typeof F=="string"&&(F=F.split(Yse,2)),!os(F)||F.length!==2)throw new Error("Invalid tags: "+F);f=new RegExp(Av(F[0])+"\\s*"),h=new RegExp("\\s*"+Av(F[1])),E=new RegExp("\\s*"+Av("}"+F[1]))}x(t||Gt.tags);for(var S=new Pa(e),R,b,q,k,j,M;!S.eos();){if(R=S.pos,q=S.scanUntil(f),q)for(var X=0,K=q.length;X<K;++X)k=q.charAt(X),Wse(k)?(s.push(n.length),u+=k):(c=!0,r=!0,u+=" "),n.push(["text",k,R,R+1]),R+=1,k===`
31
31
  `&&(l(),u="",p=0,r=!1);if(!S.scan(f))break;if(a=!0,b=S.scan(zse)||"name",S.scan(Kse),b==="="?(q=S.scanUntil(JB),S.scan(JB),S.scanUntil(h)):b==="{"?(q=S.scanUntil(E),S.scan($se),S.scanUntil(h),b="&"):q=S.scanUntil(h),!S.scan(h))throw new Error("Unclosed tag at "+S.pos);if(b==">"?j=[b,q,R,S.pos,u,p,r]:j=[b,q,R,S.pos],p++,n.push(j),b==="#"||b==="^")i.push(j);else if(b==="/"){if(M=i.pop(),!M)throw new Error('Unopened section "'+q+'" at '+R);if(M[1]!==q)throw new Error('Unclosed section "'+M[1]+'" at '+R)}else b==="name"||b==="{"||b==="&"?c=!0:b==="="&&x(q)}if(l(),M=i.pop(),M)throw new Error('Unclosed section "'+M[1]+'" at '+S.pos);return Zse(Jse(n))}function Jse(e){for(var t=[],r,i,n=0,s=e.length;n<s;++n)r=e[n],r&&(r[0]==="text"&&i&&i[0]==="text"?(i[1]+=r[1],i[3]=r[3]):(t.push(r),i=r));return t}function Zse(e){for(var t=[],r=t,i=[],n,s,a=0,c=e.length;a<c;++a)switch(n=e[a],n[0]){case"#":case"^":r.push(n),i.push(n),r=n[4]=[];break;case"/":s=i.pop(),s[5]=n[2],r=i.length>0?i[i.length-1][4]:t;break;default:r.push(n)}return t}function Pa(e){this.string=e,this.tail=e,this.pos=0}Pa.prototype.eos=function(){return this.tail===""};Pa.prototype.scan=function(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var i=r[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i};Pa.prototype.scanUntil=function(t){var r=this.tail.search(t),i;switch(r){case-1:i=this.tail,this.tail="";break;case 0:i="";break;default:i=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=i.length,i};function as(e,t){this.view=e,this.cache={".":this.view},this.parent=t}as.prototype.push=function(t){return new as(t,this)};as.prototype.lookup=function(t){var r=this.cache,i;if(r.hasOwnProperty(t))i=r[t];else{for(var n=this,s,a,c,u=!1;n;){if(t.indexOf(".")>0)for(s=n.view,a=t.split("."),c=0;s!=null&&c<a.length;)c===a.length-1&&(u=XB(s,a[c])||kse(s,a[c])),s=s[a[c++]];else s=n.view[t],u=XB(n.view,t);if(u){i=s;break}n=n.parent}r[t]=i}return Nv(i)&&(i=i.call(this.view)),i};function ot(){this.templateCache={_cache:{},set:function(t,r){this._cache[t]=r},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}ot.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};ot.prototype.parse=function(t,r){var i=this.templateCache,n=t+":"+(r||Gt.tags).join(":"),s=typeof i<"u",a=s?i.get(n):void 0;return a==null&&(a=Xse(t,r),s&&i.set(n,a)),a};ot.prototype.render=function(t,r,i,n){var s=this.getConfigTags(n),a=this.parse(t,s),c=r instanceof as?r:new as(r,void 0);return this.renderTokens(a,c,i,t,n)};ot.prototype.renderTokens=function(t,r,i,n,s){for(var a="",c,u,p,l=0,f=t.length;l<f;++l)p=void 0,c=t[l],u=c[0],u==="#"?p=this.renderSection(c,r,i,n,s):u==="^"?p=this.renderInverted(c,r,i,n,s):u===">"?p=this.renderPartial(c,r,i,s):u==="&"?p=this.unescapedValue(c,r):u==="name"?p=this.escapedValue(c,r,s):u==="text"&&(p=this.rawValue(c)),p!==void 0&&(a+=p);return a};ot.prototype.renderSection=function(t,r,i,n,s){var a=this,c="",u=r.lookup(t[1]);function p(h){return a.render(h,r,i,s)}if(u){if(os(u))for(var l=0,f=u.length;l<f;++l)c+=this.renderTokens(t[4],r.push(u[l]),i,n,s);else if(typeof u=="object"||typeof u=="string"||typeof u=="number")c+=this.renderTokens(t[4],r.push(u),i,n,s);else if(Nv(u)){if(typeof n!="string")throw new Error("Cannot use higher-order sections without the original template");u=u.call(r.view,n.slice(t[3],t[5]),p),u!=null&&(c+=u)}else c+=this.renderTokens(t[4],r,i,n,s);return c}};ot.prototype.renderInverted=function(t,r,i,n,s){var a=r.lookup(t[1]);if(!a||os(a)&&a.length===0)return this.renderTokens(t[4],r,i,n,s)};ot.prototype.indentPartial=function(t,r,i){for(var n=r.replace(/[^ \t]/g,""),s=t.split(`
32
32
  `),a=0;a<s.length;a++)s[a].length&&(a>0||!i)&&(s[a]=n+s[a]);return s.join(`
33
33
  `)};ot.prototype.renderPartial=function(t,r,i,n){if(i){var s=this.getConfigTags(n),a=Nv(i)?i(t[1]):i[t[1]];if(a!=null){var c=t[6],u=t[5],p=t[4],l=a;u==0&&p&&(l=this.indentPartial(a,p,c));var f=this.parse(l,s);return this.renderTokens(f,r,i,l,n)}}};ot.prototype.unescapedValue=function(t,r){var i=r.lookup(t[1]);if(i!=null)return i};ot.prototype.escapedValue=function(t,r,i){var n=this.getConfigEscape(i)||Gt.escape,s=r.lookup(t[1]);if(s!=null)return typeof s=="number"&&n===Gt.escape?String(s):n(s)};ot.prototype.rawValue=function(t){return t[1]};ot.prototype.getConfigTags=function(t){return os(t)?t:t&&typeof t=="object"?t.tags:void 0};ot.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!os(t))return t.escape};var Gt={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){Ca.templateCache=e},get templateCache(){return Ca.templateCache}},Ca=new ot;Gt.clearCache=function(){return Ca.clearCache()};Gt.parse=function(t,r){return Ca.parse(t,r)};Gt.render=function(t,r,i,n){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+qse(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Ca.render(t,r,i,n)};Gt.escape=Vse;Gt.Scanner=Pa;Gt.Context=as;Gt.Writer=ot;var ZB=Gt;import{readFile as Qse}from"node:fs/promises";function QB(e){return e.replace(`${ai}/`,"").replace("/embedded.html","")}function eae(e){return t=>e.every(r=>t!==QB(r.relativePath))}function tae(e){return Da(QB(e))}async function rae(e){let t=await Qse(e,"utf-8");return ZB.parse(t).filter(([r])=>r==="name")}async function eH(e){try{let i=(await rae(e)).filter(([n])=>n==="name").filter(([,n])=>!/^[a-zA-Z]+$/.test(n)).map(([,n])=>n);return i.length>0?{valid:!1,reason:`Dynamic parameters can only include letters, but some include invalid names: ${i.join(", ")}`}:{valid:!0}}catch(t){return{valid:!1,reason:t instanceof Error?t.message:"Invalid embedded script template"}}}function tH(e){return $i([[eae(e),"The script folder must be unique, please choose a name that has not been used yet in your application."],[tae,"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot."]])}o();var iae=/^[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])*$/,nae=function(e){return iae.test(e)},sae=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),rH=$i([[e=>!!e,"Missing Site widget name."],[e=>!/[A-Z]/.test(e),"Site widget names must not contain uppercase ASCII characters."],[e=>e.includes("-"),"Site widget names must contain a hyphen. Example: unicorn-cake"],[e=>!/^\d/i.test(e),"Site widget names must not start with a digit."],[e=>!/^-/i.test(e),"Site widget names must not start with a hyphen."],[e=>nae(e),"Invalid element name."],[e=>!sae.has(e),`The supplied element name is reserved and can't be used.
34
- See: https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name`]]);function MCe(e){return t=>e.every(r=>t!==r.tagName)}o();import{dirname as aae}from"node:path";function oae(e){return e.replaceAll("-","_").toUpperCase()}function jCe(e){return e.toLowerCase().replaceAll("_","-")}function iH(e){let t=aae(e).split("/").at(-2);if(!t)throw new y({code:D.InvalidServicePluginFolder({relativePath:e})});let r=oae(t),i=NC.safeParse(r);if(i.success)return i.data;throw new y({code:D.UnknownServicePlugin({name:t})})}async function cs(e,t){let r=dr(e,"json");if(!await Ie(r))throw new y({code:D.ServicePluginConfigNotFound({configPath:r})});let n=await Ce(r),s=t.safeParse(n);if(s.success)return s.data;throw new y({code:D.InvalidConfigSchemaError({configPath:r,zodError:s.error})})}o();async function Iv(e,t){let r=Jm(e);if(!await Ie(r))return null;try{let n=await Ce(r),s=await lC.safeParseAsync(n);return s.success?s.data:null}catch(n){return t?.(n),null}}async function zCe(e,t){let i={...await Iv(e)??{},...t};await ri(Jm(e),i)}var uae=wa(ua,"**","page.{ts,tsx,js,jsx}"),pae=wa(pa,"**","plugin.{ts,tsx,js,jsx}"),lae=wa(la,"**","plugin.json"),dae=wa(da,"**","modal.{ts,tsx,js,jsx}");async function mae(e,t){let r=await jB(t),i=m1(e,wa(e,t));return de.DashboardPage({...r,route:i,relativePath:t,platforms:[Cr.Dashboard()]})}async function nH(e){let t=await tt(Ke(uae),{cwd:e}),r=await Promise.all(t.map(n=>mae(e,n))),i=zB(r);return r.forEach(({route:n})=>{let s=i(n);if(!s.valid)throw new y({code:D.InvalidDashboardPageRoute({route:n,errorMessage:s.reason})})}),r}async function fae(e,t){let r=await VB(e);return de.DashboardPlugin({...r,relativePath:e,platforms:[Cr.Dashboard()],route:t[r.extends]?.route??"/"})}async function sH(e){let t=await tt(Ke(pae),{cwd:e}),r=await Sv(),i=(0,Rv.default)(r,"id");return await Promise.all(t.map(s=>fae(s,i)))}async function hae(e,t){let r=await KB(e);return de.DashboardMenuPlugin({...r,relativePath:e,platforms:[Cr.Dashboard()],route:t[r.extends]?.route??"/"})}async function _ae(e){let t=await YB(e);return de.DashboardModal({...t,relativePath:e,platforms:[Cr.Dashboard()],route:"/"})}async function aH(e){let t=await tt(Ke(lae),{cwd:e}),r=await Ov(),i=(0,Rv.default)(r,"id");return await Promise.all(t.map(s=>hae(s,i)))}async function oH(e){let t=await tt(Ke(dae),{cwd:e});return await Promise.all(t.map(i=>_ae(i)))}function cH(e){return e.dashboard?.sidebar?.categories?.map(t=>de.DashboardSidebarCategory({...t,platforms:[]}))??[]}async function uH(e){let r=(await Iv(e))?.topologyComponentId??cae();return de.Topology({id:r,name:"Topology",platforms:[],backendApiUrl:zE})}o();import{dirname as Oae,join as us}from"node:path";o();import{join as Eae,dirname as vae}from"node:path";var Ku=W(vt(),1);async function pH(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.EmbeddedScriptConfigNotFound({configPath:t})});let i=await Ce(t),n=_C.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function lH(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.CustomElementConfigNotFound({configPath:t})});let i=await Ce(t),n=EC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}function gae(e){return`wix/html/custom-element-asset/${e}.html`}function xae(e){return`wix/scripts/custom-element-asset/panel-${e}.js`}function Sae(e){return`wix/scripts/custom-element-asset/${e}.js`}function vPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)).map(t=>[gae(t.id),t]))}function gPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)).map(t=>[Sae(t.id),t]))}function xPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)&&!!t.relativePanelPath).map(t=>[xae(t.id),t]))}async function dH(e){let t=Eae(vae(e),"params.dev.json");if(!await Ie(t))return null;let i=await Ce(t),n=vC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidParamsOverrideSchemaError({paramsOverridePath:t,zodError:n.error})})}var Tv=us(ai,"**","embedded.html"),Aae=us(Hn,"**","element.{ts,tsx,js,jsx}"),PPe=us(Hn,"**","panel.{ts,tsx,js,jsx}");async function Nae(e,t,r){let i=await lH(e),n=us(Oae(e),"panel.tsx"),s=Fi(aC(t),e),a=await Ie(us(t,n));return de.CustomElement({...i,tagName:s,relativePath:e,platforms:[Cr.Site(),Cr.Editor()],...a?{relativePanelPath:Ke(n)}:{},dependencies:r})}async function mH(e,t){let r=await tt(Ke(Aae),{cwd:e}),i=await Promise.all(r.map(n=>Nae(n,e,t)));return i.forEach(({tagName:n})=>{let s=rH(n);if(!s.valid)throw new y({code:D.InvalidCustomElementTagName({tagName:n,errorMessage:s.reason})})}),i}var fH=us(ai,"**","params.dev.json");async function Iae(e,t){let r=await pH(e),i=await dH(e);return de.EmbeddedScript({...r,relativePath:e,platforms:[Cr.Site()],paramsOverride:i,dependencies:t})}async function hH(e,t){let r=await tt(Ke(Tv),{cwd:e}),i=await Promise.all(r.map(s=>Iae(s,t))),n=tH(i);return await Promise.all(i.map(async({relativePath:s})=>{let a=n(s),c=await eH(s);if(!a.valid)throw new y({code:D.InvalidEmbeddedScriptFolder({path:s,errorMessage:a.reason})});if(!c.valid)throw new y({code:D.InvalidEmbeddedScriptTemplate({templateFilename:s,errorMessage:c.reason})})})),i}o();var _H=W(CA(),1);async function EH(e){let t=await kR(e),r={...t.peerDependencies,...t.devDependencies,...t.dependencies};return Object.entries(r).filter(([n])=>Rae(n)).map(([n,s])=>Tae(n,s))}var Rae=e=>e.startsWith("@wix/site-"),Tae=(e,t)=>({packageName:e,version:bae(e,t)}),bae=(e,t)=>{let r;try{r=_H.default.minVersion(t)?.major??null}catch{r=null}if(!r)throw new y({code:D.InvalidSiteFrontendPackageVersion({packageName:e,versionRange:t})});return r};o();import{join as bv}from"node:path";var vH=W(vt(),1);var yv=bv(Ym,"*","api.{ts,tsx,js,jsx}"),Dv=bv($m,"*","event.{ts,tsx,js,jsx}"),Cv=bv(zm,"*","*","plugin.{ts,tsx,js,jsx}");async function yae(e,t){let r=Fi(oC(e),t);return de.Api({title:r,relativePath:t,platforms:[]})}async function gH(e){let t=await tt(Ke(yv),{cwd:e});return await Promise.all(t.map(i=>yae(e,i)))}async function Dae(e,t){return de.Event({title:Fi(cC(e),t),relativePath:t,platforms:[]})}async function xH(e){let t=await tt(Ke(Dv),{cwd:e});return await Promise.all(t.map(i=>Dae(e,i)))}async function Cae(e){let t=iH(e);return de.ServicePlugin({platforms:[],relativePath:e,servicePlugin:await(0,vH.match)(t,{ECOM_ADDITIONAL_FEES:async()=>Gn.EcomAdditionalFees(await cs(e,xC)),ECOM_SHIPPING_RATES:async()=>Gn.EcomShippingRates(await cs(e,gC)),ECOM_DISCOUNTS_TRIGGER:async()=>Gn.EcomDiscountsTrigger(await cs(e,SC)),ECOM_VALIDATIONS:async()=>Gn.EcomValidations(await cs(e,OC)),ECOM_PAYMENT_SETTINGS:async()=>Gn.EcomPaymentSettings(await cs(e,AC))})})}async function SH(e){let t=await tt(Ke(Cv),{cwd:e});return await Promise.all(t.map(i=>Cae(i)))}async function OH({projectFolder:e,config:t}){let r=await nH(e),i=await sH(e),n=await aH(e),s=await oH(e),a=await EH(e),c=await hH(e,a),u=cH(t),p=await mH(e,a),l=await gH(e),f=await SH(e),h=await xH(e),x=l.length+f.length+h.length>0?[await uH(e)]:[];return[...r,...i,...n,...s,...c,...u,...p,...l,...f,...h,...x]}o();import{join as fs,basename as NW}from"node:path";import{EventEmitter as Bce}from"node:events";var IW=W(dW(),1),RW=W(LW(),1);o();var Ece=Object.getOwnPropertyNames,vce=Object.getOwnPropertySymbols,gce=Object.prototype.hasOwnProperty;function mW(e,t){return function(i,n,s){return e(i,n,s)&&t(i,n,s)}}function sp(e){return function(r,i,n){if(!r||!i||typeof r!="object"||typeof i!="object")return e(r,i,n);var s=n.cache,a=s.get(r),c=s.get(i);if(a&&c)return a===i&&c===r;s.set(r,i),s.set(i,r);var u=e(r,i,n);return s.delete(r),s.delete(i),u}}function fW(e){return Ece(e).concat(vce(e))}var SW=Object.hasOwn||function(e,t){return gce.call(e,t)};function ms(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var OW="_owner",hW=Object.getOwnPropertyDescriptor,_W=Object.keys;function xce(e,t,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r.equals(e[i],t[i],i,i,e,t,r))return!1;return!0}function Sce(e,t){return ms(e.getTime(),t.getTime())}function EW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.entries(),s=0,a,c;(a=n.next())&&!a.done;){for(var u=t.entries(),p=!1,l=0;(c=u.next())&&!c.done;){var f=a.value,h=f[0],E=f[1],x=c.value,S=x[0],R=x[1];!p&&!i[l]&&(p=r.equals(h,S,s,l,e,t,r)&&r.equals(E,R,h,S,e,t,r))&&(i[l]=!0),l++}if(!p)return!1;s++}return!0}function Oce(e,t,r){var i=_W(e),n=i.length;if(_W(t).length!==n)return!1;for(var s;n-- >0;)if(s=i[n],s===OW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!SW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r))return!1;return!0}function Ha(e,t,r){var i=fW(e),n=i.length;if(fW(t).length!==n)return!1;for(var s,a,c;n-- >0;)if(s=i[n],s===OW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!SW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r)||(a=hW(e,s),c=hW(t,s),(a||c)&&(!a||!c||a.configurable!==c.configurable||a.enumerable!==c.enumerable||a.writable!==c.writable)))return!1;return!0}function Ace(e,t){return ms(e.valueOf(),t.valueOf())}function Nce(e,t){return e.source===t.source&&e.flags===t.flags}function vW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.values(),s,a;(s=n.next())&&!s.done;){for(var c=t.values(),u=!1,p=0;(a=c.next())&&!a.done;)!u&&!i[p]&&(u=r.equals(s.value,a.value,s.value,a.value,e,t,r))&&(i[p]=!0),p++;if(!u)return!1}return!0}function Ice(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 Rce="[object Arguments]",Tce="[object Boolean]",bce="[object Date]",yce="[object Map]",Dce="[object Number]",Cce="[object Object]",Pce="[object RegExp]",wce="[object Set]",Lce="[object String]",Fce=Array.isArray,gW=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,xW=Object.assign,Mce=Object.prototype.toString.call.bind(Object.prototype.toString);function Uce(e){var t=e.areArraysEqual,r=e.areDatesEqual,i=e.areMapsEqual,n=e.areObjectsEqual,s=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,u=e.areTypedArraysEqual;return function(l,f,h){if(l===f)return!0;if(l==null||f==null||typeof l!="object"||typeof f!="object")return l!==l&&f!==f;var E=l.constructor;if(E!==f.constructor)return!1;if(E===Object)return n(l,f,h);if(Fce(l))return t(l,f,h);if(gW!=null&&gW(l))return u(l,f,h);if(E===Date)return r(l,f,h);if(E===RegExp)return a(l,f,h);if(E===Map)return i(l,f,h);if(E===Set)return c(l,f,h);var x=Mce(l);return x===bce?r(l,f,h):x===Pce?a(l,f,h):x===yce?i(l,f,h):x===wce?c(l,f,h):x===Cce?typeof l.then!="function"&&typeof f.then!="function"&&n(l,f,h):x===Rce?n(l,f,h):x===Tce||x===Dce||x===Lce?s(l,f,h):!1}}function qce(e){var t=e.circular,r=e.createCustomConfig,i=e.strict,n={areArraysEqual:i?Ha:xce,areDatesEqual:Sce,areMapsEqual:i?mW(EW,Ha):EW,areObjectsEqual:i?Ha:Oce,arePrimitiveWrappersEqual:Ace,areRegExpsEqual:Nce,areSetsEqual:i?mW(vW,Ha):vW,areTypedArraysEqual:i?Ha:Ice};if(r&&(n=xW({},n,r(n))),t){var s=sp(n.areArraysEqual),a=sp(n.areMapsEqual),c=sp(n.areObjectsEqual),u=sp(n.areSetsEqual);n=xW({},n,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return n}function kce(e){return function(t,r,i,n,s,a,c){return e(t,r,c)}}function Gce(e){var t=e.circular,r=e.comparator,i=e.createState,n=e.equals,s=e.strict;if(i)return function(u,p){var l=i(),f=l.cache,h=f===void 0?t?new WeakMap:void 0:f,E=l.meta;return r(u,p,{cache:h,equals:n,meta:E,strict:s})};if(t)return function(u,p){return r(u,p,{cache:new WeakMap,equals:n,meta:void 0,strict:s})};var a={cache:void 0,equals:n,meta:void 0,strict:s};return function(u,p){return r(u,p,a)}}var AW=hi(),vwe=hi({strict:!0}),gwe=hi({circular:!0}),xwe=hi({circular:!0,strict:!0}),Swe=hi({createInternalComparator:function(){return ms}}),Owe=hi({strict:!0,createInternalComparator:function(){return ms}}),Awe=hi({circular:!0,createInternalComparator:function(){return ms}}),Nwe=hi({circular:!0,createInternalComparator:function(){return ms},strict:!0});function hi(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,i=e.createInternalComparator,n=e.createState,s=e.strict,a=s===void 0?!1:s,c=qce(e),u=Uce(c),p=i?i(u):kce(u);return Gce({circular:r,comparator:u,createState:n,equals:p,strict:a})}var Hce=fs(ua,"**","page.json"),Wce=fs(pa,"**","plugin.json"),jce=fs(la,"**","plugin.json"),Vce=fs(da,"**","modal.json"),Kce=fs(ai,"**","embedded.json"),Yce=fs(Hn,"**","element.json"),ap=class{emitter=new Bce;watchers=[];prevModel;constructor(t){this.prevModel=t}watch(){let t=IW.default.watch([Hce,Wce,Vce,Kce,Tv,Yce,jce,fH,yv,Dv,Cv,kn],{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,RW.default)(async t=>{try{let r=await TW(this.prevModel.projectFolder);this.emitter.emit("all",r,"change-received"),!AW(r,this.prevModel)||NW(t)==="embedded.html"||NW(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 TW(e){let t=await E1();return{projectFolder:e,config:t,components:await OH({projectFolder:e,config:t})}}var bW=(0,Jt.createContext)(null),Gwe=e=>{let[t,r]=(0,Jt.useState)(e.value),[i]=(0,Jt.useState)(()=>{let n=new ap(t);return e.watchForChanges===!0&&n.watch().onChange((s,a)=>{a==="model-updated"&&r(s)}),n});return(0,Jt.useEffect)(()=>()=>{i.close()},[i]),Jt.default.createElement(bW.Provider,{value:{model:t,watcher:i}},e.children)};function Bwe(){let e=(0,Jt.useContext)(bW);if(e===null)throw new Error("useProjectModel() cannot be used without an <ProjectModelProvider>");return e}export{he as a,je as b,_e as c,B as d,Oo as e,_r as f,pn as g,Wc as h,dEe as i,aX as j,ri as k,Ce as l,Ie as m,vhe as n,kR as o,ghe as p,Fi as q,Un as r,or as s,FW as t,lp as u,JEe as v,ZEe as w,ZT as x,sl as y,CA as z,MW as A,dp as B,O4 as C,ege as D,kn as E,lge as F,dge as G,mge as H,si as I,bb as J,yb as K,Bn as L,Ui as M,$b as N,zb as O,Xb as P,Wy as Q,jy as R,Y4 as S,$4 as T,ua as U,pa as V,la as W,zm as X,Hn as Y,sC as Z,zge as _,Xge as $,Jge as aa,Zge as ba,aC as ca,oC as da,cC as ea,Qge as fa,uC as ga,Jc as ha,exe as ia,txe as ja,Cr as ka,MRe as la,tt as ma,Mk as na,Gk as oa,Yk as pa,xG as qa,Sv as ra,Ov as sa,Dse as ta,de as ua,dr as va,Cse as wa,hCe as xa,Pse as ya,_Ce as za,Da as Aa,gCe as Ba,$i as Ca,xCe as Da,zB as Ea,tH as Fa,rH as Ga,MCe as Ha,jCe as Ia,Iv as Ja,zCe as Ka,fb as La,yge as Ma,qi as Na,Uh as Oa,qJ as Pa,HF as Qa,WF as Ra,tOe as Sa,tu as Ta,EOe as Ua,vOe as Va,nu as Wa,zE as Xa,yRe as Ya,uae as Za,pae as _a,dae as $a,gae as ab,xae as bb,Sae as cb,vPe as db,gPe as eb,xPe as fb,Aae as gb,PPe as hb,AW as ib,TW as jb,Gwe as kb,Bwe as lb};
34
+ See: https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name`]]);function MCe(e){return t=>e.every(r=>t!==r.tagName)}o();import{dirname as aae}from"node:path";function oae(e){return e.replaceAll("-","_").toUpperCase()}function jCe(e){return e.toLowerCase().replaceAll("_","-")}function iH(e){let t=aae(e).split("/").at(-2);if(!t)throw new y({code:D.InvalidServicePluginFolder({relativePath:e})});let r=oae(t),i=NC.safeParse(r);if(i.success)return i.data;throw new y({code:D.UnknownServicePlugin({name:t})})}async function cs(e,t){let r=dr(e,"json");if(!await Ie(r))throw new y({code:D.ServicePluginConfigNotFound({configPath:r})});let n=await Ce(r),s=t.safeParse(n);if(s.success)return s.data;throw new y({code:D.InvalidConfigSchemaError({configPath:r,zodError:s.error})})}o();async function Iv(e,t){let r=Jm(e);if(!await Ie(r))return null;try{let n=await Ce(r),s=await lC.safeParseAsync(n);return s.success?s.data:null}catch(n){return t?.(n),null}}async function zCe(e,t){let i={...await Iv(e)??{},...t};await ri(Jm(e),i)}var uae=wa(ua,"**","page.{ts,tsx,js,jsx}"),pae=wa(pa,"**","plugin.{ts,tsx,js,jsx}"),lae=wa(la,"**","plugin.json"),dae=wa(da,"**","modal.{ts,tsx,js,jsx}");async function mae(e,t){let r=await jB(t),i=m1(e,wa(e,t));return de.DashboardPage({...r,route:i,relativePath:t,platforms:[Cr.Dashboard()]})}async function nH(e){let t=await tt(Ke(uae),{cwd:e}),r=await Promise.all(t.map(n=>mae(e,n))),i=zB(r);return r.forEach(({route:n})=>{let s=i(n);if(!s.valid)throw new y({code:D.InvalidDashboardPageRoute({route:n,errorMessage:s.reason})})}),r}async function fae(e,t){let r=await VB(e);return de.DashboardPlugin({...r,relativePath:e,platforms:[Cr.Dashboard()],route:t[r.extends]?.route??"/"})}async function sH(e){let t=await tt(Ke(pae),{cwd:e}),r=await Sv(),i=(0,Rv.default)(r,"id");return await Promise.all(t.map(s=>fae(s,i)))}async function hae(e,t){let r=await KB(e);return de.DashboardMenuPlugin({...r,relativePath:e,platforms:[Cr.Dashboard()],route:t[r.extends]?.route??"/"})}async function _ae(e){let t=await YB(e);return de.DashboardModal({...t,relativePath:e,platforms:[Cr.Dashboard()],route:"/"})}async function aH(e){let t=await tt(Ke(lae),{cwd:e}),r=await Ov(),i=(0,Rv.default)(r,"id");return await Promise.all(t.map(s=>hae(s,i)))}async function oH(e){let t=await tt(Ke(dae),{cwd:e});return await Promise.all(t.map(i=>_ae(i)))}function cH(e){return e.dashboard?.sidebar?.categories?.map(t=>de.DashboardSidebarCategory({...t,platforms:[]}))??[]}async function uH(e){let r=(await Iv(e))?.topologyComponentId??cae();return de.Topology({id:r,name:"Topology",platforms:[],backendApiUrl:zE})}o();import{dirname as Oae,join as us}from"node:path";o();import{join as Eae,dirname as vae}from"node:path";var Ku=W(vt(),1);async function pH(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.EmbeddedScriptConfigNotFound({configPath:t})});let i=await Ce(t),n=_C.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}async function lH(e){let t=dr(e,"json");if(!await Ie(t))throw new y({code:D.CustomElementConfigNotFound({configPath:t})});let i=await Ce(t),n=EC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidConfigSchemaError({configPath:t,zodError:n.error})})}function gae(e){return`wix/html/custom-element-asset/${e}.html`}function xae(e){return`wix/scripts/custom-element-asset/panel-${e}.js`}function Sae(e){return`wix/scripts/custom-element-asset/${e}.js`}function vPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)).map(t=>[gae(t.id),t]))}function gPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)).map(t=>[Sae(t.id),t]))}function xPe(e){return new Map(e.components.filter(t=>(0,Ku.isType)(t,de.CustomElement)&&!!t.relativePanelPath).map(t=>[xae(t.id),t]))}async function dH(e){let t=Eae(vae(e),"params.dev.json");if(!await Ie(t))return null;let i=await Ce(t),n=vC.safeParse(i);if(n.success)return n.data;throw new y({code:D.InvalidParamsOverrideSchemaError({paramsOverridePath:t,zodError:n.error})})}var Tv=us(ai,"**","embedded.html"),Aae=us(Hn,"**","element.{ts,tsx,js,jsx}"),PPe=us(Hn,"**","panel.{ts,tsx,js,jsx}");async function Nae(e,t,r){let i=await lH(e),n=us(Oae(e),"panel.tsx"),s=Fi(aC(t),e),a=await Ie(us(t,n));return de.CustomElement({...i,tagName:s,relativePath:e,platforms:[Cr.Site(),Cr.Editor()],...a?{relativePanelPath:Ke(n)}:{},dependencies:r})}async function mH(e,t){let r=await tt(Ke(Aae),{cwd:e}),i=await Promise.all(r.map(n=>Nae(n,e,t)));return i.forEach(({tagName:n})=>{let s=rH(n);if(!s.valid)throw new y({code:D.InvalidCustomElementTagName({tagName:n,errorMessage:s.reason})})}),i}var fH=us(ai,"**","params.dev.json");async function Iae(e,t){let r=await pH(e),i=await dH(e);return de.EmbeddedScript({...r,relativePath:e,platforms:[Cr.Site()],paramsOverride:i,dependencies:t})}async function hH(e,t){let r=await tt(Ke(Tv),{cwd:e}),i=await Promise.all(r.map(s=>Iae(s,t))),n=tH(i);return await Promise.all(i.map(async({relativePath:s})=>{let a=n(s),c=await eH(s);if(!a.valid)throw new y({code:D.InvalidEmbeddedScriptFolder({path:s,errorMessage:a.reason})});if(!c.valid)throw new y({code:D.InvalidEmbeddedScriptTemplate({templateFilename:s,errorMessage:c.reason})})})),i}o();var _H=W(CA(),1);async function EH(e){let t=await kR(e),r={...t.peerDependencies,...t.devDependencies,...t.dependencies};return Object.entries(r).filter(([n])=>Rae(n)).map(([n,s])=>Tae(n,s))}var Rae=e=>e.startsWith("@wix/site-"),Tae=(e,t)=>({packageName:e,version:bae(e,t)}),bae=(e,t)=>{let r;try{r=_H.default.minVersion(t)?.major??null}catch{r=null}if(!r)throw new y({code:D.InvalidSiteFrontendPackageVersion({packageName:e,versionRange:t})});return r};o();import{join as bv}from"node:path";var vH=W(vt(),1);var yv=bv(Ym,"*","api.{ts,tsx,js,jsx}"),Dv=bv($m,"*","event.{ts,tsx,js,jsx}"),Cv=bv(zm,"*","*","plugin.{ts,tsx,js,jsx}");async function yae(e,t){let r=Fi(oC(e),t);return de.Api({title:r,relativePath:t,platforms:[]})}async function gH(e){let t=await tt(Ke(yv),{cwd:e});return await Promise.all(t.map(i=>yae(e,i)))}async function Dae(e,t){return de.Event({title:Fi(cC(e),t),relativePath:t,platforms:[]})}async function xH(e){let t=await tt(Ke(Dv),{cwd:e});return await Promise.all(t.map(i=>Dae(e,i)))}async function Cae(e){let t=iH(e);return de.ServicePlugin({platforms:[],relativePath:e,servicePlugin:await(0,vH.match)(t,{ECOM_ADDITIONAL_FEES:async()=>Gn.EcomAdditionalFees(await cs(e,xC)),ECOM_SHIPPING_RATES:async()=>Gn.EcomShippingRates(await cs(e,gC)),ECOM_DISCOUNTS_TRIGGER:async()=>Gn.EcomDiscountsTrigger(await cs(e,SC)),ECOM_VALIDATIONS:async()=>Gn.EcomValidations(await cs(e,OC)),ECOM_PAYMENT_SETTINGS:async()=>Gn.EcomPaymentSettings(await cs(e,AC))})})}async function SH(e){let t=await tt(Ke(Cv),{cwd:e});return await Promise.all(t.map(i=>Cae(i)))}async function OH({projectFolder:e,config:t}){let r=await nH(e),i=await sH(e),n=await aH(e),s=await oH(e),a=await EH(e),c=await hH(e,a),u=cH(t),p=await mH(e,a),l=await gH(e),f=await SH(e),h=await xH(e),x=l.length+f.length+h.length>0?[await uH(e)]:[];return[...r,...i,...n,...s,...c,...u,...p,...l,...f,...h,...x]}o();import{join as fs,basename as NW}from"node:path";import{EventEmitter as Bce}from"node:events";var IW=W(dW(),1),RW=W(LW(),1);o();var Ece=Object.getOwnPropertyNames,vce=Object.getOwnPropertySymbols,gce=Object.prototype.hasOwnProperty;function mW(e,t){return function(i,n,s){return e(i,n,s)&&t(i,n,s)}}function sp(e){return function(r,i,n){if(!r||!i||typeof r!="object"||typeof i!="object")return e(r,i,n);var s=n.cache,a=s.get(r),c=s.get(i);if(a&&c)return a===i&&c===r;s.set(r,i),s.set(i,r);var u=e(r,i,n);return s.delete(r),s.delete(i),u}}function fW(e){return Ece(e).concat(vce(e))}var SW=Object.hasOwn||function(e,t){return gce.call(e,t)};function ms(e,t){return e||t?e===t:e===t||e!==e&&t!==t}var OW="_owner",hW=Object.getOwnPropertyDescriptor,_W=Object.keys;function xce(e,t,r){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r.equals(e[i],t[i],i,i,e,t,r))return!1;return!0}function Sce(e,t){return ms(e.getTime(),t.getTime())}function EW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.entries(),s=0,a,c;(a=n.next())&&!a.done;){for(var u=t.entries(),p=!1,l=0;(c=u.next())&&!c.done;){var f=a.value,h=f[0],E=f[1],x=c.value,S=x[0],R=x[1];!p&&!i[l]&&(p=r.equals(h,S,s,l,e,t,r)&&r.equals(E,R,h,S,e,t,r))&&(i[l]=!0),l++}if(!p)return!1;s++}return!0}function Oce(e,t,r){var i=_W(e),n=i.length;if(_W(t).length!==n)return!1;for(var s;n-- >0;)if(s=i[n],s===OW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!SW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r))return!1;return!0}function Ha(e,t,r){var i=fW(e),n=i.length;if(fW(t).length!==n)return!1;for(var s,a,c;n-- >0;)if(s=i[n],s===OW&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!SW(t,s)||!r.equals(e[s],t[s],s,s,e,t,r)||(a=hW(e,s),c=hW(t,s),(a||c)&&(!a||!c||a.configurable!==c.configurable||a.enumerable!==c.enumerable||a.writable!==c.writable)))return!1;return!0}function Ace(e,t){return ms(e.valueOf(),t.valueOf())}function Nce(e,t){return e.source===t.source&&e.flags===t.flags}function vW(e,t,r){if(e.size!==t.size)return!1;for(var i={},n=e.values(),s,a;(s=n.next())&&!s.done;){for(var c=t.values(),u=!1,p=0;(a=c.next())&&!a.done;)!u&&!i[p]&&(u=r.equals(s.value,a.value,s.value,a.value,e,t,r))&&(i[p]=!0),p++;if(!u)return!1}return!0}function Ice(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 Rce="[object Arguments]",Tce="[object Boolean]",bce="[object Date]",yce="[object Map]",Dce="[object Number]",Cce="[object Object]",Pce="[object RegExp]",wce="[object Set]",Lce="[object String]",Fce=Array.isArray,gW=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,xW=Object.assign,Mce=Object.prototype.toString.call.bind(Object.prototype.toString);function Uce(e){var t=e.areArraysEqual,r=e.areDatesEqual,i=e.areMapsEqual,n=e.areObjectsEqual,s=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,u=e.areTypedArraysEqual;return function(l,f,h){if(l===f)return!0;if(l==null||f==null||typeof l!="object"||typeof f!="object")return l!==l&&f!==f;var E=l.constructor;if(E!==f.constructor)return!1;if(E===Object)return n(l,f,h);if(Fce(l))return t(l,f,h);if(gW!=null&&gW(l))return u(l,f,h);if(E===Date)return r(l,f,h);if(E===RegExp)return a(l,f,h);if(E===Map)return i(l,f,h);if(E===Set)return c(l,f,h);var x=Mce(l);return x===bce?r(l,f,h):x===Pce?a(l,f,h):x===yce?i(l,f,h):x===wce?c(l,f,h):x===Cce?typeof l.then!="function"&&typeof f.then!="function"&&n(l,f,h):x===Rce?n(l,f,h):x===Tce||x===Dce||x===Lce?s(l,f,h):!1}}function qce(e){var t=e.circular,r=e.createCustomConfig,i=e.strict,n={areArraysEqual:i?Ha:xce,areDatesEqual:Sce,areMapsEqual:i?mW(EW,Ha):EW,areObjectsEqual:i?Ha:Oce,arePrimitiveWrappersEqual:Ace,areRegExpsEqual:Nce,areSetsEqual:i?mW(vW,Ha):vW,areTypedArraysEqual:i?Ha:Ice};if(r&&(n=xW({},n,r(n))),t){var s=sp(n.areArraysEqual),a=sp(n.areMapsEqual),c=sp(n.areObjectsEqual),u=sp(n.areSetsEqual);n=xW({},n,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return n}function kce(e){return function(t,r,i,n,s,a,c){return e(t,r,c)}}function Gce(e){var t=e.circular,r=e.comparator,i=e.createState,n=e.equals,s=e.strict;if(i)return function(u,p){var l=i(),f=l.cache,h=f===void 0?t?new WeakMap:void 0:f,E=l.meta;return r(u,p,{cache:h,equals:n,meta:E,strict:s})};if(t)return function(u,p){return r(u,p,{cache:new WeakMap,equals:n,meta:void 0,strict:s})};var a={cache:void 0,equals:n,meta:void 0,strict:s};return function(u,p){return r(u,p,a)}}var AW=hi(),vwe=hi({strict:!0}),gwe=hi({circular:!0}),xwe=hi({circular:!0,strict:!0}),Swe=hi({createInternalComparator:function(){return ms}}),Owe=hi({strict:!0,createInternalComparator:function(){return ms}}),Awe=hi({circular:!0,createInternalComparator:function(){return ms}}),Nwe=hi({circular:!0,createInternalComparator:function(){return ms},strict:!0});function hi(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,i=e.createInternalComparator,n=e.createState,s=e.strict,a=s===void 0?!1:s,c=qce(e),u=Uce(c),p=i?i(u):kce(u);return Gce({circular:r,comparator:u,createState:n,equals:p,strict:a})}var Hce=fs(ua,"**","page.json"),Wce=fs(pa,"**","plugin.json"),jce=fs(la,"**","plugin.json"),Vce=fs(da,"**","modal.json"),Kce=fs(ai,"**","embedded.json"),Yce=fs(Hn,"**","element.json"),ap=class{emitter=new Bce;watchers=[];prevModel;constructor(t){this.prevModel=t}watch(){let t=IW.default.watch([Hce,Wce,Vce,Kce,Tv,Yce,jce,fH,yv,Dv,Cv,kn],{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,RW.default)(async t=>{try{let r=await TW(this.prevModel.projectFolder);this.emitter.emit("all",r,"change-received"),!AW(r,this.prevModel)||NW(t)==="embedded.html"||NW(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 TW(e){let t=await E1();return{projectFolder:e,config:t,components:await OH({projectFolder:e,config:t})}}var bW=(0,Jt.createContext)(null),Gwe=e=>{let[t,r]=(0,Jt.useState)(e.value),[i]=(0,Jt.useState)(()=>{let n=new ap(t);return e.watchForChanges===!0&&n.watch().onChange((s,a)=>{a==="model-updated"&&r(s)}),n});return(0,Jt.useEffect)(()=>()=>{i.close()},[i]),Jt.default.createElement(bW.Provider,{value:{model:t,watcher:i}},e.children)};function Bwe(){let e=(0,Jt.useContext)(bW);if(e===null)throw new Error("useProjectModel() cannot be used without an <ProjectModelProvider>");return e}export{he as a,je as b,_e as c,B as d,Oo as e,_r as f,pn as g,Wc as h,dEe as i,aX as j,ri as k,Ce as l,Ie as m,vhe as n,kR as o,ghe as p,Fi as q,Un as r,or as s,FW as t,lp as u,JEe as v,ZEe as w,ZT as x,Rt as y,sl as z,CA as A,MW as B,dp as C,O4 as D,ege as E,kn as F,lge as G,dge as H,mge as I,si as J,bb as K,yb as L,Bn as M,Ui as N,$b as O,zb as P,Xb as Q,Wy as R,jy as S,Y4 as T,$4 as U,ua as V,pa as W,la as X,zm as Y,Hn as Z,sC as _,zge as $,Xge as aa,Jge as ba,Zge as ca,aC as da,oC as ea,cC as fa,Qge as ga,uC as ha,Jc as ia,exe as ja,txe as ka,Cr as la,MRe as ma,tt as na,Mk as oa,Gk as pa,Yk as qa,xG as ra,Sv as sa,Ov as ta,Dse as ua,de as va,dr as wa,Cse as xa,hCe as ya,Pse as za,_Ce as Aa,Da as Ba,gCe as Ca,$i as Da,xCe as Ea,zB as Fa,tH as Ga,rH as Ha,MCe as Ia,jCe as Ja,Iv as Ka,zCe as La,fb as Ma,yge as Na,qi as Oa,Uh as Pa,qJ as Qa,HF as Ra,WF as Sa,tOe as Ta,tu as Ua,EOe as Va,vOe as Wa,nu as Xa,zE as Ya,yRe as Za,uae as _a,pae as $a,dae as ab,gae as bb,xae as cb,Sae as db,vPe as eb,gPe as fb,xPe as gb,Aae as hb,PPe as ib,AW as jb,TW as kb,Gwe as lb,Bwe as mb};
35
35
  /*! Bundled license information:
36
36
 
37
37
  base-64/base64.js:
@@ -113,4 +113,4 @@ mustache/mustache.mjs:
113
113
  * http://github.com/janl/mustache.js
114
114
  *)
115
115
  */
116
- //# sourceMappingURL=chunk-TSKFLGBO.js.map
116
+ //# sourceMappingURL=chunk-MIBBNKYS.js.map