define(["plesk-ui-library"],e=>(()=>{"use strict";var t={144:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},270:(e,t,n)=>{const r=n(3908),o=n(8311);e.exports=(e,t,n)=>{let a=null,i=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(a&&1!==i.compare(e)||(a=e,i=new r(a,n)))}),a}},560:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},909:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>{const o=new r(e,n),a=new r(t,n);return o.compare(a)||o.compareBuild(a)}},1123:e=>{const t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:en(t,e)}},1261:(e,t,n)=>{const r=n(3908),o=n(8311),a=n(5580);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!a(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!i||n&&!a(n,i)||(n=i)}return n&&e.test(n)?n:null}},1729:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},1732:(e,t,n)=>{var r,o=(r=n(6425))&&"object"==typeof r&&"default"in r?r.default:r,a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=e&&n<=t},u=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then},p={Accept:"application/json","Content-Type":"application/json"},f={timeout:0},d=null,m="CLIENT_ERROR",h="SERVER_ERROR",g="TIMEOUT_ERROR",y="CONNECTION_ERROR",b="NETWORK_ERROR",E="UNKNOWN_ERROR",v="CANCEL_ERROR",P=["ECONNABORTED"],w=["ENOTFOUND","ECONNREFUSED","ECONNRESET"],T=["ERR_BAD_REQUEST","ERR_BAD_RESPONSE"],O=function(e){return l(200,299,e)},R=function(e){return"Network Error"===e.message?b:o.isCancel(e)?v:e.code?T.includes(e.code)?S(e.response.status):P.includes(e.code)?g:w.includes(e.code)?y:E:S(e.response?e.response.status:null)},S=function(e){return e?O(e)?d:function(e){return l(400,499,e)}(e)?m:function(e){return l(500,599,e)}(e)?h:E:E},k=function(e){var t,n=a(a({},p),e.headers||{});if(e.axiosInstance)t=e.axiosInstance;else{var r=a(a({},e),{headers:void 0}),l=a(a({},f),r);t=o.create(l)}var d=[],m=[],h=[],g=[],y=[],b=function(e,r){return n[e]=r,t},E=function(e){return function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),P(a(a({},r),{url:t,params:n,method:e}))}},v=function(e){return function(t,n,r){return void 0===r&&(r={}),P(a(a({},r),{url:t,method:e,data:n}))}},P=function(e){return i(void 0,void 0,void 0,function(){var r,o,l,p;return s(this,function(f){switch(f.label){case 0:if(e.headers=a(a({},n),e.headers),m.length>0&&m.forEach(function(t){return t(e)}),!(h.length>0))return[3,6];r=0,f.label=1;case 1:return r0&&g.forEach(function(e){return e(P)}),!(y.length>0))return[3,6];w=0,s.label=1;case 1:return w{const r=n(560);e.exports=(e,t)=>r(e,t,!0)},1772:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var r=n(2280),o={};for(const e in r)"default"!==e&&(o[e]=()=>r[e]);n.d(t,o);const a=r},1832:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),a=n.compare(o);if(0===a)return null;const i=a>0,s=i?n:o,c=i?o:n,l=!!s.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(s))return c.minor&&!c.patch?"minor":"patch"}const u=l?"pre":"";return n.major!==o.major?u+"major":n.minor!==o.minor?u+"minor":n.patch!==o.patch?u+"patch":"prerelease"}},2111:(e,t,n)=>{const r=n(4641),o=n(3999),a=n(5580),i=n(4089),s=n(7059),c=n(5200);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return o(e,n,l);case">":return a(e,n,l);case">=":return i(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError(`Invalid operator: ${t}`)}}},2280:t=>{t.exports=e},2525:(e,t,n)=>{const r=n(7638),o=n(560);e.exports=(e,t,n)=>{const a=[];let i=null,s=null;const c=e.sort((e,t)=>o(e,t,n));for(const e of c){r(e,t,n)?(s=e,i||(i=e)):(s&&a.push([i,s]),s=null,i=null)}i&&a.push([i,null]);const l=[];for(const[e,t]of a)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`):l.push("*");const u=l.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length{const r=n(3908);e.exports=(e,t)=>new r(e,t).major},3007:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n,o,a)=>{"string"==typeof n&&(a=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,a).version}catch(e){return null}}},3874:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},3904:(e,t,n)=>{const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=a(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):(!(t=a(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const a=n(8587),{safeRe:i,t:s}=n(9718),c=n(2111),l=n(7272),u=n(3908),p=n(8311)},3908:(e,t,n)=>{const r=n(7272),{MAX_LENGTH:o,MAX_SAFE_INTEGER:a}=n(6874),{safeRe:i,t:s}=n(9718),c=n(8587),{compareIdentifiers:l}=n(1123);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&te.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("build compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return l(n,o)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?i[s.PRERELEASELOOSE]:i[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},3927:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},3999:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0!==r(e,t,n)},4089:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>=0},4277:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},4493:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).patch},4641:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0===r(e,t,n)},5032:(e,t,n)=>{const r=n(8311),o=n(3904),{ANY:a}=o,i=n(7638),s=n(560),c=[new o(">=0.0.0-0")],l=[new o(">=0.0.0")],u=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a){if(1===t.length&&t[0].semver===a)return!0;e=n.includePrerelease?c:l}if(1===t.length&&t[0].semver===a){if(n.includePrerelease)return!0;t=l}const r=new Set;let o,u,d,m,h,g,y;for(const t of e)">"===t.operator||">="===t.operator?o=p(o,t,n):"<"===t.operator||"<="===t.operator?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&u){if(d=s(o.semver,u.semver,n),d>0)return null;if(0===d&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of r){if(o&&!i(e,String(o),n))return null;if(u&&!i(e,String(u),n))return null;for(const r of t)if(!i(e,String(r),n))return!1;return!0}let b=!(!u||n.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;b&&1===b.prerelease.length&&"<"===u.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(y=y||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(m=p(o,e,n),m===e&&m!==o)return!1}else if(">="===o.operator&&!i(o.semver,String(e),n))return!1;if(u)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(h=f(u,e,n),h===e&&h!==u)return!1}else if("<="===u.operator&&!i(u.semver,String(e),n))return!1;if(!e.operator&&(u||o)&&0!==d)return!1}return!(o&&g&&!u&&0!==d)&&(!(u&&y&&!o&&0!==d)&&(!E&&!b))},p=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=u(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},5160:(e,t,n)=>{var r=n(1772); /** * @license React * use-sync-external-store-with-selector.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useSyncExternalStore,i=r.useRef,s=r.useEffect,c=r.useMemo,l=r.useDebugValue},5200:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<=0},5342:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,"<",n)},5571:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,">",n)},5580:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>0},6170:(e,t,n)=>{const r=n(3908),o=n(144),{safeRe:a,t:i}=n(9718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?a[i.COERCERTLFULL]:a[i.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?a[i.COERCEFULL]:a[i.COERCE]);if(null===n)return null;const s=n[2],c=n[3]||"0",l=n[4]||"0",u=t.includePrerelease&&n[5]?`-${n[5]}`:"",p=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${s}.${c}.${l}${u}${p}`,t)}},6254:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).minor},6425:(e,t,n)=>{ /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */ function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:i,toStringTag:s}=Symbol,c=(l=Object.create(null),e=>{const t=o.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const u=e=>(e=e.toLowerCase(),t=>c(t)===e),p=e=>t=>typeof t===e,{isArray:f}=Array,d=p("undefined");function m(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const h=u("ArrayBuffer");const g=p("string"),y=p("function"),b=p("number"),E=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==c(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||s in e||i in e)},P=u("Date"),w=u("File"),T=u("Blob"),O=u("FileList"),R=u("URLSearchParams"),[S,k,C,_]=["ReadableStream","Request","Response","Headers"].map(u);function j(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),f(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,I=e=>!d(e)&&e!==N;const L=(x="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>x&&e instanceof x);var x;const $=u("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),F=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,(n,o)=>{let a;!1!==(a=t(n,o,e))&&(r[o]=a||n)}),Object.defineProperties(e,r)};const U=u("AsyncFunction"),B=(q="function"==typeof setImmediate,V=y(N.postMessage),q?setImmediate:V?(H=`axios@${Math.random()}`,G=[],N.addEventListener("message",({source:e,data:t})=>{e===N&&t===H&&G.length&&G.shift()()},!1),e=>{G.push(e),N.postMessage(H,"*")}):e=>setTimeout(e));var q,V,H,G;const W="undefined"!=typeof queueMicrotask?queueMicrotask.bind(N):"undefined"!=typeof process&&process.nextTick||B;var z={isArray:f,isArrayBuffer:h,isBuffer:m,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||y(e.append)&&("formdata"===(t=c(e))||"object"===t&&y(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:g,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:E,isPlainObject:v,isEmptyObject:e=>{if(!E(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:S,isRequest:k,isResponse:C,isHeaders:_,isUndefined:d,isDate:P,isFile:w,isBlob:T,isRegExp:F,isFunction:y,isStream:e=>E(e)&&y(e.pipe),isURLSearchParams:R,isTypedArray:L,isFileList:O,forEach:j,merge:function e(){const{caseless:t,skipUndefined:n}=I(this)&&this||{},r={},o=(o,a)=>{const i=t&&A(r,a)||a;v(r[i])&&v(o)?r[i]=e(r[i],o):v(o)?r[i]=e({},o):f(o)?r[i]=o.slice():n&&d(o)||(r[i]=o)};for(let e=0,t=arguments.length;e(j(t,(t,o)=>{n&&y(t)?e[o]=r(t,n):e[o]=t},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const c={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||c[s]||(t[s]=e[s],c[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(f(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[i]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:$,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:M,freezeMethods:e=>{M(e,(t,n)=>{if(y(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];y(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return f(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:A,global:N,isContextDefined:I,isSpecCompliantForm:function(e){return!!(e&&y(e.append)&&"FormData"===e[s]&&e[i])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(E(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[r]=e;const o=f(e)?[]:{};return j(e,(e,t)=>{const a=n(e,r+1);!d(a)&&(o[t]=a)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:U,isThenable:e=>e&&(E(e)||y(e))&&y(e.then)&&y(e.catch),setImmediate:B,asap:W,isIterable:e=>null!=e&&y(e[i])};function J(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}z.inherits(J,Error,{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:z.toJSONObject(this.config),code:this.code,status:this.status}}});const K=J.prototype,X={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{X[e]={value:e}}),Object.defineProperties(J,X),Object.defineProperty(K,"isAxiosError",{value:!0}),J.from=(e,t,n,r,o,a)=>{const i=Object.create(K);z.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return J.call(i,s,c,n,r,o),e&&null==i.cause&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",a&&Object.assign(i,a),i};function Y(e){return z.isPlainObject(e)||z.isArray(e)}function Q(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,n){return e?e.concat(t).map(function(e,t){return e=Q(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const ee=z.toFlatObject(z,{},null,function(e){return/^is[A-Z]/.test(e)});function te(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!z.isUndefined(t[e])})).metaTokens,o=n.visitor||l,a=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(z.isBoolean(e))return e.toString();if(!s&&z.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some(Y)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(s=z.toArray(e)))return n=Q(n),s.forEach(function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?Z([n],r,a):null===i?n:n+"[]",c(e))}),!1;return!!Y(e)||(t.append(Z(o,n,a),c(e)),!1)}const u=[],p=Object.assign(ee,{defaultVisitor:l,convertValue:c,isVisitable:Y});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),z.forEach(n,function(n,a){!0===(!(z.isUndefined(n)||null===n)&&o.call(t,n,z.isString(a)?a.trim():a,r,p))&&e(n,r?r.concat(a):[a])}),u.pop()}}(e),t}function ne(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function re(e,t){this._pairs=[],e&&te(e,this,t)}const oe=re.prototype;function ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||ae;z.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let a;if(a=o?o(t,n):z.isURLSearchParams(t)?t.toString():new re(t,n).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}oe.append=function(e,t){this._pairs.push([e,t])},oe.toString=function(e){const t=e?function(t){return e.call(this,t,ne)}:ne;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,function(t){null!==t&&e(t)})}},ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},le={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:re,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ue="undefined"!=typeof window&&"undefined"!=typeof document,pe="object"==typeof navigator&&navigator||void 0,fe=ue&&(!pe||["ReactNative","NativeScript","NS"].indexOf(pe.product)<0),de="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,me=ue&&window.location.href||"http://localhost";var he={...Object.freeze({__proto__:null,hasBrowserEnv:ue,hasStandardBrowserWebWorkerEnv:de,hasStandardBrowserEnv:fe,navigator:pe,origin:me}),...le};function ge(e){function t(e,n,r,o){let a=e[o++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),s=o>=e.length;if(a=!a&&z.isArray(r)?r.length:a,s)return z.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!i;r[a]&&z.isObject(r[a])||(r[a]=[]);return t(e,n,r[a],o)&&z.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const ye={transitional:ce,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=z.isObject(e);o&&z.isHTMLForm(e)&&(e=new FormData(e));if(z.isFormData(e))return r?JSON.stringify(ge(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e)||z.isReadableStream(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return te(e,new he.classes.URLSearchParams,{visitor:function(e,t,n,r){return he.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((a=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return te(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ye.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(z.isResponse(e)||z.isReadableStream(e))return e;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:he.classes.FormData,Blob:he.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{ye.headers[e]={}});var be=ye;const Ee=z.toObjectSet(["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"]);const ve=Symbol("internals");function Pe(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:z.isArray(e)?e.map(we):String(e)}function Te(e,t,n,r,o){return z.isFunction(r)?r.call(this,t,n):(o&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class Oe{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Pe(t);if(!o)throw new Error("header name must be a non-empty string");const a=z.findKey(r,o);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=we(e))}const a=(e,t)=>z.forEach(e,(e,n)=>o(e,n,t));if(z.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ee[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(z.isObject(e)&&z.isIterable(e)){let n,r,o={};for(const t of e){if(!z.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?z.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Pe(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Pe(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!Te(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Pe(e)){const o=z.findKey(n,e);!o||t&&!Te(0,n[o],o,t)||(delete n[o],r=!0)}}return z.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Te(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,(r,o)=>{const a=z.findKey(n,o);if(a)return t[a]=we(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();i!==o&&delete t[o],t[i]=we(r),n[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ve]=this[ve]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Pe(e);t[r]||(!function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}Oe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(Oe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),z.freezeMethods(Oe);var Re=Oe;function Se(e,t){const n=this||be,r=t||n,o=Re.from(r.headers);let a=r.data;return z.forEach(e,function(e){a=e.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function ke(e){return!(!e||!e.__CANCEL__)}function Ce(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}function _e(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}z.inherits(Ce,J,{__CANCEL__:!0});const je=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),l=r[i];o||(o=c),n[a]=s,r[a]=c;let u=i,p=0;for(;u!==a;)p+=n[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),c-o{o=a,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=a?i(e,t):(n=e,r||(r=setTimeout(()=>{r=null,i(n)},a-s)))},()=>n&&i(n)]}(n=>{const a=n.loaded,i=n.lengthComputable?n.total:void 0,s=a-r,c=o(s);r=a;e({loaded:a,total:i,progress:i?a/i:void 0,bytes:s,rate:c||void 0,estimated:c&&i&&a<=i?(i-a)/c:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})},n)},Ae=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ne=e=>(...t)=>z.asap(()=>e(...t));var Ie=he.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,he.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(he.origin),he.navigator&&/(msie|trident)/i.test(he.navigator.userAgent)):()=>!0,Le=he.hasStandardBrowserEnv?{write(e,t,n,r,o,a,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];z.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),z.isString(r)&&s.push(`path=${r}`),z.isString(o)&&s.push(`domain=${o}`),!0===a&&s.push("secure"),z.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function xe(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const $e=e=>e instanceof Re?{...e}:e;function De(e,t){t=t||{};const n={};function r(e,t,n,r){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:r},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function o(e,t,n,o){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function a(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,a){return a in t?r(n,o):a in e?r(void 0,n):void 0}const c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t,n)=>o($e(e),$e(t),0,!0)};return z.forEach(Object.keys({...e,...t}),function(r){const a=c[r]||o,i=a(e[r],t[r],r);z.isUndefined(i)&&a!==s||(n[r]=i)}),n}var Fe=e=>{const t=De({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=t;if(t.headers=i=Re.from(i),t.url=ie(xe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),z.isFormData(n))if(he.hasStandardBrowserEnv||he.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(z.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&i.set(e,n)})}if(he.hasStandardBrowserEnv&&(r&&z.isFunction(r)&&(r=r(t)),r||!1!==r&&Ie(t.url))){const e=o&&a&&Le.read(a);e&&i.set(o,e)}return t};var Me="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Fe(e);let o=r.data;const a=Re.from(r.headers).normalize();let i,s,c,l,u,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=r;function m(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let h=new XMLHttpRequest;function g(){if(!h)return;const r=Re.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());_e(function(e){t(e),m()},function(e){n(e),m()},{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new J("Request aborted",J.ECONNABORTED,e,h)),h=null)},h.onerror=function(t){const r=new J(t&&t.message?t.message:"Network Error",J.ERR_NETWORK,e,h);r.event=t||null,n(r),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ce;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new J(t,o.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,h)),h=null},void 0===o&&a.setContentType(null),"setRequestHeader"in h&&z.forEach(a.toJSON(),function(e,t){h.setRequestHeader(t,e)}),z.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),p&&"json"!==p&&(h.responseType=r.responseType),d&&([c,u]=je(d,!0),h.addEventListener("progress",c)),f&&h.upload&&([s,l]=je(f),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(i=t=>{h&&(n(!t||t.type?new Ce(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===he.protocols.indexOf(y)?n(new J("Unsupported protocol "+y+":",J.ERR_BAD_REQUEST,e)):h.send(o||null)})};var Ue=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Ce(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>z.asap(i),s}};const Be=function*(e,t){let n=e.byteLength;if(!t||n{const o=async function*(e,t){for await(const n of qe(e))yield*Be(n,t)}(e,t);let a,i=0,s=e=>{a||(a=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let a=r.byteLength;if(n){let e=i+=a;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:He}=z,Ge=(({Request:e,Response:t})=>({Request:e,Response:t}))(z.global),{ReadableStream:We,TextEncoder:ze}=z.global,Je=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ke=e=>{e=z.merge.call({skipUndefined:!0},Ge,e);const{fetch:t,Request:n,Response:r}=e,o=t?He(t):"function"==typeof fetch,a=He(n),i=He(r);if(!o)return!1;const s=o&&He(We),c=o&&("function"==typeof ze?(l=new ze,e=>l.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var l;const u=a&&s&&Je(()=>{let e=!1;const t=new n(he.origin,{body:new We,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),p=i&&s&&Je(()=>z.isReadableStream(new r("").body)),f={stream:p&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})});const d=async(e,t)=>{const r=z.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e)){const t=new n(he.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return z.isArrayBufferView(e)||z.isArrayBuffer(e)?e.byteLength:(z.isURLSearchParams(e)&&(e+=""),z.isString(e)?(await c(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:i,data:s,signal:c,cancelToken:l,timeout:m,onDownloadProgress:h,onUploadProgress:g,responseType:y,headers:b,withCredentials:E="same-origin",fetchOptions:v}=Fe(e),P=t||fetch;y=y?(y+"").toLowerCase():"text";let w=Ue([c,l&&l.toAbortSignal()],m),T=null;const O=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let R;try{if(g&&u&&"get"!==i&&"head"!==i&&0!==(R=await d(b,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(z.isFormData(s)&&(e=t.headers.get("content-type"))&&b.setContentType(e),t.body){const[e,n]=Ae(R,je(Ne(g)));s=Ve(t.body,65536,e,n)}}z.isString(E)||(E=E?"include":"omit");const t=a&&"credentials"in n.prototype,c={...v,signal:w,method:i.toUpperCase(),headers:b.normalize().toJSON(),body:s,duplex:"half",credentials:t?E:void 0};T=a&&new n(o,c);let l=await(a?P(T,v):P(o,c));const m=p&&("stream"===y||"response"===y);if(p&&(h||m&&O)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=l[t]});const t=z.toFiniteNumber(l.headers.get("content-length")),[n,o]=h&&Ae(t,je(Ne(h),!0))||[];l=new r(Ve(l.body,65536,n,()=>{o&&o(),O&&O()}),e)}y=y||"text";let S=await f[z.findKey(f,y)||"text"](l,e);return!m&&O&&O(),await new Promise((t,n)=>{_e(t,n,{data:S,headers:Re.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:T})})}catch(t){if(O&&O(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,T),{cause:t.cause||t});throw J.from(t,t&&t.code,e,T)}}},Xe=new Map,Ye=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,a=[r,o,n];let i,s,c=a.length,l=Xe;for(;c--;)i=a[c],s=l.get(i),void 0===s&&l.set(i,s=c?new Map:Ke(t)),l=s;return s};Ye();const Qe={http:null,xhr:Me,fetch:{get:Ye}};z.forEach(Qe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Ze=e=>`- ${e}`,et=e=>z.isFunction(e)||null===e||!1===e;var tt={getAdapter:function(e,t){e=z.isArray(e)?e:[e];const{length:n}=e;let r,o;const a={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Ze).join("\n"):" "+Ze(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:Qe};function nt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ce(null,e)}function rt(e){nt(e),e.headers=Re.from(e.headers),e.data=Se.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return tt.getAdapter(e.adapter||be.adapter,e)(e).then(function(t){return nt(e),t.data=Se.call(e,e.transformResponse,t),t.headers=Re.from(t.headers),t},function(t){return ke(t)||(nt(e),t&&t.response&&(t.response.data=Se.call(e,e.transformResponse,t.response),t.response.headers=Re.from(t.response.headers))),Promise.reject(t)})}const ot="1.13.2",at={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{at[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const it={};at.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ot+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,a)=>{if(!1===e)throw new J(r(o," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!it[o]&&(it[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}},at.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var st={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const t=e[a],n=void 0===t||i(t,a,e);if(!0!==n)throw new J("option "+a+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:at};const ct=st.validators;class lt{constructor(e){this.defaults=e||{},this.interceptors={request:new se,response:new se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=De(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&st.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:st.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),st.assertOptions(t,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&z.merge(o.common,o[t.method]);o&&z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Re.concat(a,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,p=0;if(!s){const e=[rt.bind(this),void 0];for(e.unshift(...i),e.push(...c),u=e.length,l=Promise.resolve(t);p{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Ce(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new pt(function(t){e=t}),cancel:e}}}var ft=pt;const dt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(dt).forEach(([e,t])=>{dt[t]=e});var mt=dt;const ht=function e(t){const n=new ut(t),o=r(ut.prototype.request,n);return z.extend(o,ut.prototype,n,{allOwnKeys:!0}),z.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(De(t,n))},o}(be);ht.Axios=ut,ht.CanceledError=Ce,ht.CancelToken=ft,ht.isCancel=ke,ht.VERSION=ot,ht.toFormData=te,ht.AxiosError=J,ht.Cancel=ht.CanceledError,ht.all=function(e){return Promise.all(e)},ht.spread=function(e){return function(t){return e.apply(null,t)}},ht.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},ht.mergeConfig=De,ht.AxiosHeaders=Re,ht.formToJSON=e=>ge(z.isHTMLForm(e)?new FormData(e):e),ht.getAdapter=tt.getAdapter,ht.HttpStatusCode=mt,ht.default=ht,e.exports=ht},6780:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},6874:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},6953:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},7059:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<0},7075:(e,t,n)=>{const r=n(3908),o=n(3904),{ANY:a}=o,i=n(8311),s=n(7638),c=n(5580),l=n(7059),u=n(5200),p=n(4089);e.exports=(e,t,n,f)=>{let d,m,h,g,y;switch(e=new r(e,f),t=new i(t,f),n){case">":d=c,m=u,h=l,g=">",y=">=";break;case"<":d=l,m=p,h=c,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,f))return!1;for(let n=0;n{e.semver===a&&(e=new o(">=0.0.0")),i=i||e,s=s||e,d(e.semver,i.semver,f)?i=e:h(e.semver,s.semver,f)&&(s=e)}),i.operator===g||i.operator===y)return!1;if((!s.operator||s.operator===g)&&m(e,s.semver))return!1;if(s.operator===y&&h(e,s.semver))return!1}return!0}},7272:e=>{const t="object"==typeof process&&{NODE_ENV:"production"}.NODE_DEBUG&&/\bsemver\b/i.test({NODE_ENV:"production"}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},7414:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},7631:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},7638:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},8311:(e,t,n)=>{const r=/\s+/g;class o{constructor(e,t){if(t=i(t),e instanceof o)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new o(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&g))+":"+e,n=a.get(t);if(n)return n;const r=this.options.loose,o=r?u[p.HYPHENRANGELOOSE]:u[p.HYPHENRANGE];e=e.replace(o,j(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(u[p.COMPARATORTRIM],f),c("comparator trim",e),e=e.replace(u[p.TILDETRIM],d),c("tilde trim",e),e=e.replace(u[p.CARETTRIM],m),c("caret trim",e);let i=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>_(e,this.options));r&&(i=i.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(u[p.COMPARATORLOOSE])))),c("range list",i);const l=new Map,b=i.map(e=>new s(e,this.options));for(const e of b){if(y(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const E=[...l.values()];return a.set(t,E),E}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Range is required");return this.set.some(n=>E(n,t)&&e.set.some(e=>E(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,b=e=>""===e.value,E=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every(e=>o.intersects(e,t)),o=r.pop();return n},v=(e,t)=>(e=e.replace(u[p.BUILD],""),c("comp",e,t),e=O(e,t),c("caret",e),e=w(e,t),c("tildes",e),e=S(e,t),c("xrange",e),e=C(e,t),c("stars",e),e),P=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{const n=t.loose?u[p.TILDELOOSE]:u[p.TILDE];return e.replace(n,(t,n,r,o,a)=>{let i;return c("tilde",e,t,n,r,o,a),P(n)?i="":P(r)?i=`>=${n}.0.0 <${+n+1}.0.0-0`:P(o)?i=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(c("replaceTilde pr",a),i=`>=${n}.${r}.${o}-${a} <${n}.${+r+1}.0-0`):i=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,c("tilde return",i),i})},O=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>{c("caret",e,t);const n=t.loose?u[p.CARETLOOSE]:u[p.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,o,a,i)=>{let s;return c("caret",e,t,n,o,a,i),P(n)?s="":P(o)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:P(a)?s="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:i?(c("replaceCaret pr",i),s="0"===n?"0"===o?`>=${n}.${o}.${a}-${i} <${n}.${o}.${+a+1}-0`:`>=${n}.${o}.${a}-${i} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${a}-${i} <${+n+1}.0.0-0`):(c("no pr"),s="0"===n?"0"===o?`>=${n}.${o}.${a}${r} <${n}.${o}.${+a+1}-0`:`>=${n}.${o}.${a}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${a} <${+n+1}.0.0-0`),c("caret return",s),s})},S=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map(e=>k(e,t)).join(" ")),k=(e,t)=>{e=e.trim();const n=t.loose?u[p.XRANGELOOSE]:u[p.XRANGE];return e.replace(n,(n,r,o,a,i,s)=>{c("xRange",e,n,r,o,a,i,s);const l=P(o),u=l||P(a),p=u||P(i),f=p;return"="===r&&f&&(r=""),s=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&f?(u&&(a=0),i=0,">"===r?(r=">=",u?(o=+o+1,a=0,i=0):(a=+a+1,i=0)):"<="===r&&(r="<",u?o=+o+1:a=+a+1),"<"===r&&(s="-0"),n=`${r+o}.${a}.${i}${s}`):u?n=`>=${o}.0.0${s} <${+o+1}.0.0-0`:p&&(n=`>=${o}.${a}.0${s} <${o}.${+a+1}.0-0`),c("xRange return",n),n})},C=(e,t)=>(c("replaceStars",e,t),e.trim().replace(u[p.STAR],"")),_=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),j=e=>(t,n,r,o,a,i,s,c,l,u,p,f)=>`${n=P(r)?"":P(o)?`>=${r}.0.0${e?"-0":""}`:P(a)?`>=${r}.${o}.0${e?"-0":""}`:i?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=P(l)?"":P(u)?`<${+l+1}.0.0-0`:P(p)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${p}-${f}`:e?`<${l}.${u}.${+p+1}-0`:`<=${c}`}`.trim(),A=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8418:(e,t,n)=>{n(5160)},8587:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},8794:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},9589:(e,t,n)=>{const r=n(9718),o=n(6874),a=n(3908),i=n(1123),s=n(144),c=n(6953),l=n(7414),u=n(3007),p=n(1832),f=n(2938),d=n(6254),m=n(4493),h=n(1729),g=n(560),y=n(9970),b=n(1763),E=n(909),v=n(3927),P=n(4277),w=n(5580),T=n(7059),O=n(4641),R=n(3999),S=n(4089),k=n(5200),C=n(2111),_=n(6170),j=n(3904),A=n(8311),N=n(7638),I=n(7631),L=n(9628),x=n(270),$=n(1261),D=n(3874),F=n(7075),M=n(5571),U=n(5342),B=n(6780),q=n(2525),V=n(5032);e.exports={parse:s,valid:c,clean:l,inc:u,diff:p,major:f,minor:d,patch:m,prerelease:h,compare:g,rcompare:y,compareLoose:b,compareBuild:E,sort:v,rsort:P,gt:w,lt:T,eq:O,neq:R,gte:S,lte:k,cmp:C,coerce:_,Comparator:j,Range:A,satisfies:N,toComparators:I,maxSatisfying:L,minSatisfying:x,minVersion:$,validRange:D,outside:F,gtr:M,ltr:U,intersects:B,simplifyRange:q,subset:V,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},9628:(e,t,n)=>{const r=n(3908),o=n(8311);e.exports=(e,t,n)=>{let a=null,i=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(a&&-1!==i.compare(e)||(a=e,i=new r(a,n)))}),a}},9718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:a}=n(6874),i=n(7272),s=(t=e.exports={}).re=[],c=t.safeRe=[],l=t.src=[],u=t.safeSrc=[],p=t.t={};let f=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",a],[d,o]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of m)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=f++;i(e,o,t),p[e]=o,l[o]=t,u[o]=r,s[o]=new RegExp(t,n?"g":void 0),c[o]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${l[p.NUMERICIDENTIFIER]})\\.(${l[p.NUMERICIDENTIFIER]})\\.(${l[p.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${l[p.NUMERICIDENTIFIERLOOSE]})\\.(${l[p.NUMERICIDENTIFIERLOOSE]})\\.(${l[p.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${l[p.NONNUMERICIDENTIFIER]}|${l[p.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${l[p.NONNUMERICIDENTIFIER]}|${l[p.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${l[p.PRERELEASEIDENTIFIER]}(?:\\.${l[p.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${l[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[p.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${l[p.BUILDIDENTIFIER]}(?:\\.${l[p.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${l[p.MAINVERSION]}${l[p.PRERELEASE]}?${l[p.BUILD]}?`),h("FULL",`^${l[p.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${l[p.MAINVERSIONLOOSE]}${l[p.PRERELEASELOOSE]}?${l[p.BUILD]}?`),h("LOOSE",`^${l[p.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${l[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${l[p.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${l[p.XRANGEIDENTIFIER]})(?:\\.(${l[p.XRANGEIDENTIFIER]})(?:\\.(${l[p.XRANGEIDENTIFIER]})(?:${l[p.PRERELEASE]})?${l[p.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${l[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[p.XRANGEIDENTIFIERLOOSE]})(?:${l[p.PRERELEASELOOSE]})?${l[p.BUILD]}?)?)?`),h("XRANGE",`^${l[p.GTLT]}\\s*${l[p.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${l[p.GTLT]}\\s*${l[p.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${l[p.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",l[p.COERCEPLAIN]+`(?:${l[p.PRERELEASE]})?`+`(?:${l[p.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",l[p.COERCE],!0),h("COERCERTLFULL",l[p.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${l[p.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${l[p.LONETILDE]}${l[p.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${l[p.LONETILDE]}${l[p.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${l[p.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${l[p.LONECARET]}${l[p.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${l[p.LONECARET]}${l[p.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${l[p.GTLT]}\\s*(${l[p.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${l[p.GTLT]}\\s*(${l[p.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${l[p.GTLT]}\\s*(${l[p.LOOSEPLAIN]}|${l[p.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${l[p.XRANGEPLAIN]})\\s+-\\s+(${l[p.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${l[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[p.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},9970:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(t,e,n)}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};r.r(o),r.d(o,{default:()=>Si,getAppContainer:()=>Ri});var a={};r.r(a),r.d(a,{addAppMessage:()=>Bn,clearAppMessage:()=>qn,getLongTask:()=>Vn,parseResponseMessages:()=>Un,removeLongTask:()=>Gn,setLongTask:()=>Hn,setLongTaskPolled:()=>Wn});var i={};r.r(i),r.d(i,{changeMode:()=>Ur,getRunningLongTasks:()=>Xr,getStatus:()=>Kr,indexPackages:()=>Mr,installPackages:()=>Wr,loadPackages:()=>Dr,refreshPackages:()=>Jr,rememberApplication:()=>Gr,saveComposerJson:()=>Vr,saveEnvVariables:()=>Br,scan:()=>$r,setTaskInProcess:()=>Qr,updatePackages:()=>zr,updatePlugin:()=>Yr});var s=r(2280),c=r(1772),l=(r(8418),c.version.startsWith("19")),u=Symbol.for(l?"react.transitional.element":"react.element"),p=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),g=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),w=y,T=v;function O(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case u:switch(e=e.type){case f:case m:case d:case b:case E:return e;default:switch(e=e&&e.$$typeof){case g:case y:case P:case v:case h:return e;default:return t}}case p:return t}}}function R(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:a,areStatePropsEqual:i}){let s,c,l,u,p,f=!1;function d(f,d){const m=!a(d,c),h=!o(f,s,d,c);return s=f,c=d,m&&h?(l=e(s,c),t.dependsOnOwnProps&&(u=t(r,c)),p=n(l,u,c),p):m?(e.dependsOnOwnProps&&(l=e(s,c)),t.dependsOnOwnProps&&(u=t(r,c)),p=n(l,u,c),p):h?function(){const t=e(s,c),r=!i(t,l);return l=t,r&&(p=n(l,u,c)),p}():p}return function(o,a){return f?d(o,a):(s=o,c=a,l=e(s,c),u=t(r,c),p=n(l,u,c),f=!0,p)}}function S(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function k(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function C(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=k(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=k(o),o=r(t,n)),o},r}}function _(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function j(e,t,n){return{...n,...e,...t}}function A(e){e()}var N={notify(){},get:()=>[]};function I(e,t){let n,r=N,o=0,a=!1;function i(){l.onStateChange&&l.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){A(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function c(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=N)}const l={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,c())},getListeners:()=>r};return l}var L=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),x=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),$=(()=>L||x?c.useLayoutEffect:c.useEffect)();function D(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function F(e,t){if(D(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r({}))}(e),d=function(e){return e&&"object"==typeof e?S(t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t)):e?"function"==typeof e?C(e):_(e,"mapDispatchToProps"):S(e=>({dispatch:e}))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,a=!1;return function(t,n,i){const s=e(t,n,i);return a?r(s,o)||(o=s):(a=!0,o=s),o}}}(e):_(e,"mergeProps"):()=>j}(n),h=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:f,initMapDispatchToProps:d,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:i,areOwnPropsEqual:a,areMergedPropsEqual:s};function u(t){const[n,o,a]=c.useMemo(()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]},[t]),i=c.useMemo(()=>p,[n,p]),s=c.useContext(i),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(s)&&Boolean(s.store);const f=l?t.store:s.store,d=u?s.getServerState:f.getState,m=c.useMemo(()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return R(t(e,o),n(e,o),r(e,o),e,o)}(f.dispatch,r),[f]),[g,y]=c.useMemo(()=>{if(!h)return te;const e=I(f,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[f,l,s]),b=c.useMemo(()=>l?s:{...s,subscription:g},[l,s,g]),E=c.useRef(void 0),v=c.useRef(a),P=c.useRef(void 0),w=c.useRef(!1),T=c.useRef(!1),O=c.useRef(void 0);$(()=>(T.current=!0,()=>{T.current=!1}),[]);const S=c.useMemo(()=>()=>P.current&&a===v.current?P.current:m(f.getState(),a),[f,a]),k=c.useMemo(()=>e=>g?function(e,t,n,r,o,a,i,s,c,l,u){if(!e)return()=>{};let p=!1,f=null;const d=()=>{if(p||!s.current)return;const e=t.getState();let n,d;try{n=r(e,o.current)}catch(e){d=e,f=e}d||(f=null),n===a.current?i.current||l():(a.current=n,c.current=n,i.current=!0,u())};return n.onStateChange=d,n.trySubscribe(),d(),()=>{if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}(h,f,g,m,v,E,w,T,P,y,e):()=>{},[g]);var C,_,j;let A;C=ne,_=[v,E,w,a,P,y],$(()=>C(..._),j);try{A=c.useSyncExternalStore(k,S,d?()=>m(d(),a):S)}catch(e){throw O.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${O.current.stack}\n\n`),e}$(()=>{O.current=void 0,P.current=void 0,E.current=A});const N=c.useMemo(()=>c.createElement(e,{...A,ref:o}),[o,e,A]);return c.useMemo(()=>h?c.createElement(i.Provider,{value:b},N):N,[i,N,b])}const g=c.memo(u);if(g.WrappedComponent=e,g.displayName=u.displayName=n,l){const t=c.forwardRef(function(e,t){return c.createElement(g,{...e,reactReduxForwardedRef:t})});return t.displayName=n,t.WrappedComponent=e,X(t,e)}return X(g,e)}};var ae=function(e){const{children:t,context:n,serverState:r,store:o}=e,a=c.useMemo(()=>{const e=I(o);return{store:o,subscription:e,getServerState:r?()=>r:void 0}},[o,r]),i=c.useMemo(()=>o.getState(),[o]);$(()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,i]);const s=n||ee;return c.createElement(s.Provider,{value:a},t)};var ie="popstate";function se(e={}){return me(function(e,t){let{pathname:n,search:r,hash:o}=e.location;return pe("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:fe(t)},null,e)}function ce(e,t){if(!1===e||null==e)throw new Error(t)}function le(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function ue(e,t){return{usr:e.state,key:e.key,idx:t}}function pe(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?de(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function fe({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function de(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function me(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,s="POP",c=null,l=u();function u(){return(i.state||{idx:null}).idx}function p(){s="POP";let e=u(),t=null==e?null:e-l;l=e,c&&c({action:s,location:d.location,delta:t})}function f(e){return he(e)}null==l&&(l=0,i.replaceState({...i.state,idx:l},""));let d={get action(){return s},get location(){return e(o,i)},listen(e){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(ie,p),c=e,()=>{o.removeEventListener(ie,p),c=null}},createHref:e=>t(o,e),createURL:f,encodeLocation(e){let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=pe(d.location,e,t);n&&n(r,e),l=u()+1;let p=ue(r,l),f=d.createHref(r);try{i.pushState(p,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(f)}a&&c&&c({action:s,location:d.location,delta:1})},replace:function(e,t){s="REPLACE";let r=pe(d.location,e,t);n&&n(r,e),l=u();let o=ue(r,l),p=d.createHref(r);i.replaceState(o,"",p),a&&c&&c({action:s,location:d.location,delta:0})},go:e=>i.go(e)};return d}function he(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),ce(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:fe(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}new WeakMap;function ge(e,t,n="/"){return ye(e,t,n,!1)}function ye(e,t,n,r){let o=Ne(("string"==typeof t?de(t):t).pathname||"/",n);if(null==o)return null;let a=be(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let i=null;for(let e=0;null==i&&e{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&i)return;ce(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Ue([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(ce(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),be(e.children,t,u,l,i)),(null!=e.path||e.index)&&t.push({path:l,score:ke(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of Ee(e.path))a(e,t,!0,n);else a(e,t)}),t}function Ee(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=Ee(r.join("/")),s=[];return s.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&s.push(...i),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var ve=/^:[\w-]+$/,Pe=3,we=2,Te=1,Oe=10,Re=-2,Se=e=>"*"===e;function ke(e,t){let n=e.split("/"),r=n.length;return n.some(Se)&&(r+=Re),t&&(r+=we),n.filter(e=>!Se(e)).reduce((e,t)=>e+(ve.test(t)?Pe:""===t?Te:Oe),r)}function Ce(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function je(e,t=!1,n=!0){le("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Ae(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return le(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ne(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var Ie=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Le=e=>Ie.test(e);function xe(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function $e(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function De(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function Fe(e){let t=De(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Me(e,t,n,r=!1){let o;"string"==typeof e?o=de(e):(o={...e},ce(!o.pathname||!o.pathname.includes("?"),$e("?","pathname","search",o)),ce(!o.pathname||!o.pathname.includes("#"),$e("#","pathname","hash",o)),ce(!o.search||!o.search.includes("#"),$e("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t="/"){let n,{pathname:r,search:o="",hash:a=""}="string"==typeof e?de(e):e;if(r)if(Le(r))n=r;else{if(r.includes("//")){let e=r;r=r.replace(/\/\/+/g,"/"),le(!1,`Pathnames cannot have embedded double slashes - normalizing ${e} -> ${r}`)}n=r.startsWith("/")?xe(r.substring(1),"/"):xe(r,t)}else n=t;return{pathname:n,search:qe(o),hash:Ve(a)}}(o,a),l=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!l&&!u||(c.pathname+="/"),c}var Ue=e=>e.join("/").replace(/\/\/+/g,"/"),Be=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qe=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ve=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function He(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Ge(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}Symbol("Uninstrumented");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var We=["POST","PUT","PATCH","DELETE"],ze=(new Set(We),["GET",...We]);new Set(ze),Symbol("ResetLoaderData");var Je=c.createContext(null);Je.displayName="DataRouter";var Ke=c.createContext(null);Ke.displayName="DataRouterState";var Xe=c.createContext(!1);var Ye=c.createContext({isTransitioning:!1});Ye.displayName="ViewTransition";var Qe=c.createContext(new Map);Qe.displayName="Fetchers";var Ze=c.createContext(null);Ze.displayName="Await";var et=c.createContext(null);et.displayName="Navigation";var tt=c.createContext(null);tt.displayName="Location";var nt=c.createContext({outlet:null,matches:[],isDataRoute:!1});nt.displayName="Route";var rt=c.createContext(null);rt.displayName="RouteError";function ot(){return null!=c.useContext(tt)}function at(){return ce(ot(),"useLocation() may be used only in the context of a component."),c.useContext(tt).location}var it="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function st(e){c.useContext(et).static||c.useLayoutEffect(e)}function ct(){let{isDataRoute:e}=c.useContext(nt);return e?function(){let{router:e}=yt("useNavigate"),t=Et("useNavigate"),n=c.useRef(!1);return st(()=>{n.current=!0}),c.useCallback(async(r,o={})=>{le(n.current,it),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))},[e,t])}():function(){ce(ot(),"useNavigate() may be used only in the context of a component.");let e=c.useContext(Je),{basename:t,navigator:n}=c.useContext(et),{matches:r}=c.useContext(nt),{pathname:o}=at(),a=JSON.stringify(Fe(r)),i=c.useRef(!1);return st(()=>{i.current=!0}),c.useCallback((r,s={})=>{if(le(i.current,it),!i.current)return;if("number"==typeof r)return void n.go(r);let c=Me(r,JSON.parse(a),o,"path"===s.relative);null==e&&"/"!==t&&(c.pathname="/"===c.pathname?t:Ue([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,o,e])}()}c.createContext(null);function lt(e,{relative:t}={}){let{matches:n}=c.useContext(nt),{pathname:r}=at(),o=JSON.stringify(Fe(n));return c.useMemo(()=>Me(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function ut(e,t,n,r,o){ce(ot(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=c.useContext(et),{matches:i}=c.useContext(nt),s=i[i.length-1],l=s?s.params:{},u=s?s.pathname:"/",p=s?s.pathnameBase:"/",f=s&&s.route;{let e=f&&f.path||"";wt(u,!f||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${u}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent to .`)}let d,m=at();if(t){let e="string"==typeof t?de(t):t;ce("/"===p||e.pathname?.startsWith(p),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=m;let h=d.pathname||"/",g=h;if("/"!==p){let e=p.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=ge(e,{pathname:g});le(f||null!=y,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),le(null==y||void 0!==y[y.length-1].route.element||void 0!==y[y.length-1].route.Component||void 0!==y[y.length-1].route.lazy,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let b=ht(y&&y.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:Ue([p,a.encodeLocation?a.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:Ue([p,a.encodeLocation?a.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),i,n,r,o);return t&&b?c.createElement(tt.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...d},navigationType:"POP"}},b):b}function pt(){let e=vt(),t=He(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=c.createElement(c.Fragment,null,c.createElement("p",null,"💿 Hey developer 👋"),c.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",c.createElement("code",{style:a},"ErrorBoundary")," or"," ",c.createElement("code",{style:a},"errorElement")," prop on your route.")),c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:o},n):null,i)}var ft=c.createElement(pt,null),dt=class extends c.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?c.createElement(nt.Provider,{value:this.props.routeContext},c.createElement(rt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function mt({routeContext:e,match:t,children:n}){let r=c.useContext(Je);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),c.createElement(nt.Provider,{value:e},n)}function ht(e,t=[],n=null,r=null,o=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let a=e,i=n?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);ce(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,l=-1;if(n)for(let e=0;e=0?a.slice(0,l+1):[a[0]];break}}}let u=n&&r?(e,t)=>{r(e,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:Ge(n.matches),errorInfo:t})}:void 0;return a.reduceRight((e,r,o)=>{let p,f=!1,d=null,m=null;n&&(p=i&&r.route.id?i[r.route.id]:void 0,d=r.route.errorElement||ft,s&&(l<0&&0===o?(wt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,m=null):l===o&&(f=!0,m=r.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,o+1)),g=()=>{let t;return t=p?d:f?m:r.route.Component?c.createElement(r.route.Component,null):r.route.element?r.route.element:e,c.createElement(mt,{match:r,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?c.createElement(dt,{location:n.location,revalidation:n.revalidation,component:d,error:p,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:u}):g()},null)}function gt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yt(e){let t=c.useContext(Je);return ce(t,gt(e)),t}function bt(e){let t=c.useContext(Ke);return ce(t,gt(e)),t}function Et(e){let t=function(e){let t=c.useContext(nt);return ce(t,gt(e)),t}(e),n=t.matches[t.matches.length-1];return ce(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function vt(){let e=c.useContext(rt),t=bt("useRouteError"),n=Et("useRouteError");return void 0!==e?e:t.errors?.[n]}var Pt={};function wt(e,t,n){t||Pt[e]||(Pt[e]=!0,le(!1,n))}var Tt={};function Ot(e,t){e||Tt[t]||(Tt[t]=!0,console.warn(t))}c.useOptimistic;c.memo(function({routes:e,future:t,state:n,unstable_onError:r}){return ut(e,void 0,n,r,t)});function Rt(e){ce(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function St({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:a=!1,unstable_useTransitions:i}){ce(!ot(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=c.useMemo(()=>({basename:s,navigator:o,static:a,unstable_useTransitions:i,future:{}}),[s,o,a,i]);"string"==typeof n&&(n=de(n));let{pathname:u="/",search:p="",hash:f="",state:d=null,key:m="default"}=n,h=c.useMemo(()=>{let e=Ne(u,s);return null==e?null:{location:{pathname:e,search:p,hash:f,state:d,key:m},navigationType:r}},[s,u,p,f,d,m,r]);return le(null!=h,` is not able to match the URL "${u}${p}${f}" because it does not start with the basename, so the won't render anything.`),null==h?null:c.createElement(et.Provider,{value:l},c.createElement(tt.Provider,{children:t,value:h}))}c.Component;function kt(e,t=[]){let n=[];return c.Children.forEach(e,(e,r)=>{if(!c.isValidElement(e))return;let o=[...t,r];if(e.type===c.Fragment)return void n.push.apply(n,kt(e.props.children,o));ce(e.type===Rt,`[${"string"==typeof e.type?e.type:e.type.name}] is not a component. All component children of must be a or `),ce(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=kt(e.props.children,o)),n.push(a)}),n}var Ct="get",_t="application/x-www-form-urlencoded";function jt(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var At=null;var Nt=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function It(e){return null==e||Nt.has(e)?e:(le(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${_t}"`),null)}function Lt(e,t){let n,r,o,a,i;if(jt(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?Ne(i,t):null,n=e.getAttribute("method")||Ct,o=It(e.getAttribute("enctype"))||_t,a=new FormData(e)}else if(function(e){return jt(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return jt(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a