import{R as Rt}from"./vendor-react-AgJGJ0jt.js";function po(e,t){return function(){return e.apply(t,arguments)}}const{toString:Es}=Object.prototype,{getPrototypeOf:mt}=Object,{iterator:kt,toStringTag:mo}=Symbol,Kt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xt=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Kt(n,t))return!0;n=mt(n)}return!1},Ss=(e,t)=>e!=null&&xt(e,t)?e[t]:void 0,zn=(e=>t=>{const n=Es.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Oe=e=>(e=e.toLowerCase(),t=>zn(t)===e),tn=e=>t=>typeof t===e,{isArray:et}=Array,tt=tn("undefined");function ht(e){return e!==null&&!tt(e)&&e.constructor!==null&&!tt(e.constructor)&&ye(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ho=Oe("ArrayBuffer");function Ts(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ho(e.buffer),t}const _s=tn("string"),ye=tn("function"),bo=tn("number"),bt=e=>e!==null&&typeof e=="object",As=e=>e===!0||e===!1,Xt=e=>{if(!bt(e))return!1;const t=mt(e);return(t===null||t===Object.prototype||mt(t)===null)&&!xt(e,mo)&&!xt(e,kt)},Rs=e=>{if(!bt(e)||ht(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Os=Oe("Date"),xs=Oe("File"),ks=e=>!!(e&&typeof e.uri<"u"),Cs=e=>e&&typeof e.getParts<"u",Ps=Oe("Blob"),Ns=Oe("FileList"),Ls=Oe("Set"),Ds=e=>bt(e)&&ye(e.pipe);function Is(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const wr=Is(),Er=typeof wr.FormData<"u"?wr.FormData:void 0,vs=e=>{if(!e)return!1;if(Er&&e instanceof Er)return!0;const t=mt(e);if(!t||t===Object.prototype||!ye(e.append))return!1;const n=zn(e);return n==="formdata"||n==="object"&&ye(e.toString)&&e.toString()==="[object FormData]"},Ms=Oe("URLSearchParams"),[Us,Fs,zs,js]=["ReadableStream","Request","Response","Headers"].map(Oe),Bs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ct(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),et(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ze=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yo=e=>!tt(e)&&e!==Ze;function Nn(...e){const{caseless:t,skipUndefined:n}=yo(this)&&this||{},r={},o=(s,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const l=t&&typeof a=="string"&&go(r,a)||a,f=Kt(r,l)?r[l]:void 0;Xt(f)&&Xt(s)?r[l]=Nn(f,s):Xt(s)?r[l]=Nn({},s):et(s)?r[l]=s.slice():(!n||!tt(s))&&(r[l]=s)};for(let s=0,a=e.length;s(Ct(t,(o,s)=>{n&&ye(o)?Object.defineProperty(e,s,{__proto__:null,value:po(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Ws=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qs=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},$s=(e,t,n,r)=>{let o,s,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&mt(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Gs=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Vs=e=>{if(!e)return null;if(et(e))return e;let t=e.length;if(!bo(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Xs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mt(Uint8Array)),Ys=(e,t)=>{const r=(e&&e[kt]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Js=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ks=Oe("HTMLFormElement"),Zs=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),{propertyIsEnumerable:Qs}=Object.prototype,ei=Oe("RegExp"),wo=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ct(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},ti=e=>{wo(e,(t,n)=>{if(ye(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(ye(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ni=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return et(e)?r(e):r(String(e).split(t)),n},ri=()=>{},oi=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function si(e){return!!(e&&ye(e.append)&&e[mo]==="FormData"&&e[kt])}const ii=e=>{const t=new WeakSet,n=r=>{if(bt(r)){if(t.has(r))return;if(ht(r))return r;if(!("toJSON"in r)){t.add(r);let o;if(Ls(r)){o=[];for(const s of r){const a=n(s);!tt(a)&&o.push(a)}}else o=et(r)?[]:{},Ct(r,(s,a)=>{const l=n(s);!tt(l)&&(o[a]=l)});return t.delete(r),o}}return r};return n(e)},ai=Oe("AsyncFunction"),li=e=>e&&(bt(e)||ye(e))&&ye(e.then)&&ye(e.catch),Eo=((e,t)=>e?setImmediate:t?((n,r)=>(Ze.addEventListener("message",({source:o,data:s})=>{o===Ze&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ze.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ye(Ze.postMessage)),ci=typeof queueMicrotask<"u"?queueMicrotask.bind(Ze):typeof process<"u"&&process.nextTick||Eo,So=e=>e!=null&&ye(e[kt]),ui=e=>e!=null&&xt(e,kt)&&So(e),c={isArray:et,isArrayBuffer:ho,isBuffer:ht,isFormData:vs,isArrayBufferView:Ts,isString:_s,isNumber:bo,isBoolean:As,isObject:bt,isPlainObject:Xt,isEmptyObject:Rs,isReadableStream:Us,isRequest:Fs,isResponse:zs,isHeaders:js,isUndefined:tt,isDate:Os,isFile:xs,isReactNativeBlob:ks,isReactNative:Cs,isBlob:Ps,isRegExp:ei,isFunction:ye,isStream:Ds,isURLSearchParams:Ms,isTypedArray:Xs,isFileList:Ns,forEach:Ct,merge:Nn,extend:Hs,trim:Bs,stripBOM:Ws,inherits:qs,toFlatObject:$s,kindOf:zn,kindOfTest:Oe,endsWith:Gs,toArray:Vs,forEachEntry:Ys,matchAll:Js,isHTMLForm:Ks,hasOwnProperty:Kt,hasOwnProp:Kt,hasOwnInPrototypeChain:xt,getSafeProp:Ss,reduceDescriptors:wo,freezeMethods:ti,toObjectSet:ni,toCamelCase:Zs,noop:ri,toFiniteNumber:oi,findKey:go,global:Ze,isContextDefined:yo,isSpecCompliantForm:si,toJSONObject:ii,isAsyncFn:ai,isThenable:li,setImmediate:Eo,asap:ci,isIterable:So,isSafeIterable:ui},fi=c.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"]),di=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim();const l=c.hasOwnProp(t,n);!n||l&&c.hasOwnProp(fi,n)||(n==="set-cookie"?l?t[n].push(r):t[n]=[r]:t[n]=l?t[n]+", "+r:r)}),t};function pi(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const mi=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),hi=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function jn(e,t){return c.isArray(e)?e.map(n=>jn(n,t)):pi(String(e).replace(t,""))}const bi=e=>jn(e,mi),gi=e=>jn(e,hi);function To(e){const t=Object.create(null);return c.forEach(e.toJSON(),(n,r)=>{t[r]=gi(n)}),t}const Sr=Symbol("internals");function Et(e){return e&&String(e).trim().toLowerCase()}function Yt(e){return e===!1||e==null?e:c.isArray(e)?e.map(Yt):bi(String(e))}function yi(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}const wi=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function yn(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Ei(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r=t))return e;n+=e[r]}return n}function Si(e){const t=Object.create(null),n=String(e);let r=0,o=!1,s=!1;function a(l){const f=yn(n.slice(r,l)),d=f.indexOf("=");if(d<1)return;const p=yn(f.slice(0,d));if(!wi.test(p))return;const m=p.toLowerCase();if(m==="__proto__"||m==="constructor"||m==="prototype")return;const E=yn(f.slice(d+1));t[m]=Ei(E)}for(let l=0;l/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wn(e,t,n,r,o){if(c.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function _i(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ai(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let de=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(l,f,d){const p=Et(f);if(!p)return;const m=c.findKey(o,p);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||f]=Yt(l))}const a=(l,f)=>c.forEach(l,(d,p)=>s(d,p,f));if(c.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(c.isString(t)&&(t=t.trim())&&!Ti(t))a(di(t),n);else if(c.isObject(t)&&c.isSafeIterable(t)){let l=Object.create(null),f,d;for(const p of t){if(!c.isArray(p))throw new TypeError("Object iterator must return a key-value pair");d=p[0],c.hasOwnProp(l,d)?(f=l[d],l[d]=c.isArray(f)?[...f,p[1]]:[f,p[1]]):l[d]=p[1]}a(l,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=Et(t),t){const r=c.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return yi(o);if(c.isFunction(n))return n.call(this,o,r);if(c.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Et(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||wn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=Et(a),a){const l=c.findKey(r,a);l&&(!n||wn(r,r[l],l,n))&&(delete r[l],o=!0)}}return c.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||wn(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return c.forEach(this,(o,s)=>{const a=c.findKey(r,s);if(a){n[a]=Yt(o),delete n[s];return}const l=t?_i(s):String(s).trim();l!==s&&delete n[s],n[l]=Yt(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){const t=this.get("set-cookie");return c.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return Si(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Sr]=this[Sr]={accessors:{}}).accessors,o=this.prototype;function s(a){const l=Et(a);r[l]||(Ai(o,a),r[l]=!0)}return c.isArray(t)?t.forEach(s):s(t),this}};de.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(de.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});c.freezeMethods(de);const Zt="[REDACTED ****]";function Ri(e){if(c.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(c.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Oi(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||c.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof de&&(s=s.toJSON()),r.push(s);let a;if(c.isArray(s))a=[],s.forEach((l,f)=>{const d=o(l);c.isUndefined(d)||(a[f]=d)});else{if(!c.isPlainObject(s)&&Ri(s))return r.pop(),s;a=Object.create(null);for(const[l,f]of Object.entries(s)){const d=n.has(l.toLowerCase())?Zt:o(f);c.isUndefined(d)||(a[l]=d)}}return r.pop(),a};return o(e)}function Tr(e){try{return String(e)}catch{return""}}function xi(e){return e.errors.map(n=>{try{return n&&n.message?Tr(n.message):Tr(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let w=class _o extends Error{static from(t,n,r,o,s,a){let l=t.message;!l&&c.isArray(t.errors)&&t.errors.length&&(l=xi(t));const f=new _o(l,n||t.code,r,o,s);return Object.defineProperty(f,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),f.name=t.name,t.status!=null&&f.status==null&&(f.status=t.status),a&&Object.assign(f,a),f}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&c.hasOwnProp(t,"redact")?t.redact:void 0,r=c.isArray(n)&&n.length>0?Oi(t,n):c.toJSONObject(t);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:r,code:this.code,status:this.status}}};w.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";w.ERR_BAD_OPTION="ERR_BAD_OPTION";w.ECONNABORTED="ECONNABORTED";w.ETIMEDOUT="ETIMEDOUT";w.ECONNREFUSED="ECONNREFUSED";w.ERR_NETWORK="ERR_NETWORK";w.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";w.ERR_DEPRECATED="ERR_DEPRECATED";w.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";w.ERR_BAD_REQUEST="ERR_BAD_REQUEST";w.ERR_CANCELED="ERR_CANCELED";w.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";w.ERR_INVALID_URL="ERR_INVALID_URL";w.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const ki=null,Ao=100;function Ln(e){return c.isPlainObject(e)||c.isArray(e)}function Ro(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function En(e,t,n){return e?e.concat(t).map(function(o,s){return o=Ro(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Ci(e){return c.isArray(e)&&!e.some(Ln)}const Pi=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function nn(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,C){return!c.isUndefined(C[T])});const r=n.metaTokens,o=n.visitor||D,s=n.dots,a=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,f=n.maxDepth===void 0?Ao:n.maxDepth,d=l&&c.isSpecCompliantForm(t),p=[];if(!c.isFunction(o))throw new TypeError("visitor must be a function");function m(h){if(h===null)return"";if(c.isDate(h))return h.toISOString();if(c.isBoolean(h))return h.toString();if(!d&&c.isBlob(h))throw new w("Blob is not supported. Use a Buffer instead.");if(c.isArrayBuffer(h)||c.isTypedArray(h)){if(d&&typeof l=="function")return new l([h]);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return h}function E(h){if(h>f)throw new w("Object is too deeply nested ("+h+" levels). Max depth: "+f,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function N(h,T){if(f===1/0)return JSON.stringify(h);const C=[];return JSON.stringify(h,function(M,F){if(!c.isObject(F))return F;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(F),E(T+C.length-1),F})}function D(h,T,C){let k=h;if(c.isReactNative(t)&&c.isReactNativeBlob(h))return t.append(En(C,T,s),m(h)),!1;if(h&&!C&&typeof h=="object"){if(c.endsWith(T,"{}"))T=r?T:T.slice(0,-2),h=N(h,1);else if(c.isArray(h)&&Ci(h)||(c.isFileList(h)||c.endsWith(T,"[]"))&&(k=c.toArray(h)))return T=Ro(T),k.forEach(function(F,W){!(c.isUndefined(F)||F===null)&&t.append(a===!0?En([T],W,s):a===null?T:T+"[]",m(F))}),!1}return Ln(h)?!0:(t.append(En(C,T,s),m(h)),!1)}const L=Object.assign(Pi,{defaultVisitor:D,convertValue:m,isVisitable:Ln});function g(h,T,C=0){if(!c.isUndefined(h)){if(E(C),p.indexOf(h)!==-1)throw new Error("Circular reference detected in "+T.join("."));p.push(h),c.forEach(h,function(M,F){(!(c.isUndefined(M)||M===null)&&o.call(t,M,c.isString(F)?F.trim():F,T,L))===!0&&g(M,T?T.concat(F):[F],C+1)}),p.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return g(e),t}function _r(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Bn(e,t){this._pairs=[],e&&nn(e,this,t)}const Oo=Bn.prototype;Oo.append=function(t,n){this._pairs.push([t,n])};Oo.toString=function(t){const n=t?r=>t.call(this,r,_r):_r;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Ni(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function xo(e,t,n){if(!t)return e;e=e||"";const r=c.isFunction(n)?{serialize:n}:n,o=c.getSafeProp(r,"encode")||Ni,s=c.getSafeProp(r,"serialize");let a;if(s?a=s(t,r):a=c.isURLSearchParams(t)?t.toString():new Bn(t,r).toString(o),a){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Ar{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Hn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Li=typeof URLSearchParams<"u"?URLSearchParams:Bn,Di=typeof FormData<"u"?FormData:null,Ii=typeof Blob<"u"?Blob:null,vi={isBrowser:!0,classes:{URLSearchParams:Li,FormData:Di,Blob:Ii},protocols:["http","https","file","blob","url","data"]},Wn=typeof window<"u"&&typeof document<"u",Dn=typeof navigator=="object"&&navigator||void 0,Mi=Wn&&(!Dn||["ReactNative","NativeScript","NS"].indexOf(Dn.product)<0),Ui=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Fi=Wn&&window.location.href||"http://localhost",zi=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wn,hasStandardBrowserEnv:Mi,hasStandardBrowserWebWorkerEnv:Ui,navigator:Dn,origin:Fi},Symbol.toStringTag,{value:"Module"})),le={...zi,...vi};function ji(e,t){return nn(e,new le.classes.URLSearchParams,{visitor:function(n,r,o,s){return le.isNode&&c.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}const Rr=Ao;function ko(e){if(e>Rr)throw new w("FormData field is too deeply nested ("+e+" levels). Max depth: "+Rr,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Bi(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)ko(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function Hi(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return a=!a&&c.isArray(o)?o.length:a,f?(c.hasOwnProp(o,a)?o[a]=c.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!l):((!c.hasOwnProp(o,a)||!c.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&c.isArray(o[a])&&(o[a]=Hi(o[a])),!l)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(r,o)=>{t(Bi(r),o,n,0)}),n}return null}const ft=(e,t)=>e!=null&&c.hasOwnProp(e,t)?e[t]:void 0;function Wi(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Pt={transitional:Hn,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=c.isObject(t);if(s&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return o?JSON.stringify(Co(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t)||c.isReadableStream(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){const f=ft(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return ji(t,f).toString();if((l=c.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=ft(this,"env"),p=d&&d.FormData;return nn(l?{"files[]":t}:t,p&&new p,f)}}return s||o?(n.setContentType("application/json",!1),Wi(t)):t}],transformResponse:[function(t){const n=ft(this,"transitional")||Pt.transitional,r=n&&n.forcedJSONParsing,o=ft(this,"responseType"),s=o==="json";if(c.isResponse(t)||c.isReadableStream(t))return t;if(t&&c.isString(t)&&(r&&!o||s)){const l=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,ft(this,"parseReviver"))}catch(f){if(l)throw f.name==="SyntaxError"?w.from(f,w.ERR_BAD_RESPONSE,this,null,ft(this,"response")):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:le.classes.FormData,Blob:le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch","query"],e=>{Pt.headers[e]={}});function Sn(e,t){const n=this||Pt,r=t||n,o=de.from(r.headers);let s=r.data;return c.forEach(e,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Po(e){return!!(e&&e.__CANCEL__)}let Nt=class extends w{constructor(t,n,r){super(t??"canceled",w.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function No(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new w("Request failed with status code "+n.status,n.status>=400&&n.status<500?w.ERR_BAD_REQUEST:w.ERR_BAD_RESPONSE,n.config,n.request,n))}function qi(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function $i(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(f){const d=Date.now(),p=r[s];a||(a=d),n[o]=f,r[o]=d;let m=s,E=0;for(;m!==o;)E+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),d-a{n=p,o=null,s&&(clearTimeout(s),s=null),e(...d)};return[(...d)=>{const p=Date.now(),m=p-n;m>=r?a(d,p):(o=d,s||(s=setTimeout(()=>{s=null,a(o)},r-m)))},()=>o&&a(o)]}const Qt=(e,t,n=3)=>{let r=0;const o=$i(50,250);return Gi(s=>{if(!s||typeof s.loaded!="number")return;const a=s.loaded,l=s.lengthComputable?s.total:void 0,f=Math.max(0,l!=null?Math.min(a,l):a),d=Math.max(0,f-r),p=o(d);r=Math.max(r,f);const m={loaded:f,total:l,progress:l?f/l:void 0,bytes:d,rate:p||void 0,estimated:p&&l?(l-f)/p:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(m)},n)},Or=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},xr=(e,t=c.asap)=>(...n)=>t(()=>e(...n)),Vi=le.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,le.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(le.origin),le.navigator&&/(msie|trident)/i.test(le.navigator.userAgent)):()=>!0,Xi=le.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];c.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),c.isString(r)&&l.push(`path=${r}`),c.isString(o)&&l.push(`domain=${o}`),s===!0&&l.push("secure"),c.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const Ki=/^https?:(?!\/\/)/i,Zi=/[\t\n\r]/g;function Qi(e){let t=0;for(;t`${n}${r}${Zt}`)}function na(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Zt}@`),n=t.indexOf("#"),o=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Zt}`);return n===-1?o:`${o}#${ta(t.slice(n+1))}`}function kr(e,t){if(typeof e=="string"){const n=ea(e);if(Ki.test(n))throw new w(`Invalid URL ${JSON.stringify(na(n))}: missing "//" after protocol`,w.ERR_INVALID_URL,t)}}function Lo(e,t,n,r){kr(t,r);let o=!Yi(t);return e&&(o||n===!1)?(kr(e,r),Ji(e,t)):t}const Cr=e=>e instanceof de?{...e}:e,ra=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function nt(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(p,m,E,N){return c.isPlainObject(p)&&c.isPlainObject(m)?c.merge.call({caseless:N},p,m):c.isPlainObject(m)?c.merge({},m):c.isArray(m)?m.slice():m}function o(p,m,E,N){if(c.isUndefined(m)){if(!c.isUndefined(p))return r(void 0,p,E,N)}else return r(p,m,E,N)}function s(p,m){if(!c.isUndefined(m))return r(void 0,m)}function a(p,m){if(c.isUndefined(m)){if(!c.isUndefined(p))return r(void 0,p)}else return r(void 0,m)}function l(p){const m=c.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!c.isUndefined(m))if(c.isPlainObject(m)){if(c.hasOwnProp(m,p))return m[p]}else return;const E=c.hasOwnProp(e,"transitional")?e.transitional:void 0;if(c.isPlainObject(E)&&c.hasOwnProp(E,p))return E[p]}function f(p,m,E){if(c.hasOwnProp(t,E))return r(p,m);if(c.hasOwnProp(e,E))return r(void 0,p)}const d={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:f,headers:(p,m,E)=>o(Cr(p),Cr(m),E,!0)};return c.forEach(ra({...e,...t}),function(m){if(m==="__proto__"||m==="constructor"||m==="prototype")return;const E=c.hasOwnProp(d,m)?d[m]:o,N=c.hasOwnProp(e,m)?e[m]:void 0,D=c.hasOwnProp(t,m)?t[m]:void 0,L=E(N,D,m);c.isUndefined(L)&&E!==f||(n[m]=L)}),c.hasOwnProp(t,"validateStatus")&&c.isUndefined(t.validateStatus)&&l("validateStatusUndefinedResolves")===!1&&(c.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const oa=["content-type","content-length"];function sa(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,o])=>{oa.includes(r.toLowerCase())&&e.set(r,o)})}const ia=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function Do(e){const t=nt({},e),n=E=>c.hasOwnProp(t,E)?t[E]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let l=n("headers");const f=n("auth"),d=n("baseURL"),p=n("allowAbsoluteUrls"),m=n("url");if(t.headers=l=de.from(l),t.url=xo(Lo(d,m,p,t),n("params"),n("paramsSerializer")),f){const E=c.getSafeProp(f,"username")||"",N=c.getSafeProp(f,"password")||"";try{l.set("Authorization","Basic "+btoa(E+":"+(N?ia(N):"")))}catch(D){throw w.from(D,w.ERR_BAD_OPTION_VALUE,e)}}if(c.isFormData(r)&&(le.hasStandardBrowserEnv||le.hasStandardBrowserWebWorkerEnv||c.isReactNative(r)?l.setContentType(void 0):c.isFunction(r.getHeaders)&&sa(l,r.getHeaders(),n("formDataHeaderPolicy"))),le.hasStandardBrowserEnv&&(c.isFunction(o)&&(o=o(t)),o===!0||o==null&&Vi(t.url))){const N=s&&a&&Xi.read(a);N&&l.set(s,N)}return t}const aa=typeof XMLHttpRequest<"u",la=aa&&function(e){return new Promise(function(n,r){const o=Do(e);let s=o.data;const a=de.from(o.headers).normalize();let{responseType:l,onUploadProgress:f,onDownloadProgress:d}=o,p,m,E,N,D;function L(){N&&N(),D&&D(),o.cancelToken&&o.cancelToken.unsubscribe(p),o.signal&&o.signal.removeEventListener("abort",p)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function h(){if(!g)return;const C=de.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),M={data:!l||l==="text"||l==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};No(function(W){n(W),L()},function(W){r(W),L()},M),g=null}"onloadend"in g?g.onloadend=h:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.startsWith("file:"))||setTimeout(h)},g.onabort=function(){g&&(r(new w("Request aborted",w.ECONNABORTED,e,g)),L(),g=null)},g.onerror=function(k){const M=k&&k.message?k.message:"Network Error",F=new w(M,w.ERR_NETWORK,e,g);F.event=k||null,r(F),L(),g=null},g.ontimeout=function(){let k=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const M=o.transitional||Hn;o.timeoutErrorMessage&&(k=o.timeoutErrorMessage),r(new w(k,M.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,g)),L(),g=null},s===void 0&&a.setContentType(null),"setRequestHeader"in g&&c.forEach(To(a),function(k,M){g.setRequestHeader(M,k)}),c.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),l&&l!=="json"&&(g.responseType=o.responseType),d&&([E,D]=Qt(d,!0),g.addEventListener("progress",E)),f&&g.upload&&([m,N]=Qt(f),g.upload.addEventListener("progress",m),g.upload.addEventListener("loadend",N)),(o.cancelToken||o.signal)&&(p=C=>{g&&(r(!C||C.type?new Nt(null,e,g):C),g.abort(),L(),g=null)},o.cancelToken&&o.cancelToken.subscribe(p),o.signal&&(o.signal.aborted?p():o.signal.addEventListener("abort",p)));const T=qi(o.url);if(T&&!le.protocols.includes(T)){r(new w("Unsupported protocol "+T+":",w.ERR_BAD_REQUEST,e)),L();return}g.send(s||null)})},ca=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(f){if(!r){r=!0,a();const d=f instanceof Error?f:this.reason;n.abort(d instanceof w?d:new Nt(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,o(new w(`timeout of ${t}ms exceeded`,w.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),e=null)};e.forEach(f=>{if(!r){if(f.aborted){o.call(f);return}f.addEventListener("abort",o,{once:!0})}});const{signal:l}=n;return l.unsubscribe=()=>c.asap(a),l},ua=function*(e,t){let n=e.byteLength;if(n{const o=fa(e,t);let s=0,a,l=f=>{a||(a=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:d,value:p}=await o.next();if(d){l(),f.close();return}let m=p.byteLength;if(n){let E=s+=m;n(E)}f.enqueue(new Uint8Array(p))}catch(d){throw l(d),d}},cancel(f){return l(f),o.return()}},{highWaterMark:2})},Nr=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Io=(e,t,n)=>t+2e<=57?e-48:(e&223)-55,pa=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,ma=e=>e===9||e===10||e===12||e===13||e===32,ha=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},ba=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},ga=e=>{const t=e.length;let n=0,r=0,o=!1;for(let s=0;s0){o=!0;continue}n++}}return o||r>2||r>0&&(n+r)%4!==0||n%4===1?ba(e):ha(n)},ya=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),o=e.slice(n+1);if(/;base64/i.test(r))return t(o);let a=0;for(let l=0,f=o.length;l=55296&&d<=56319&&l+1=56320&&p<=57343?(a+=4,l++):a+=3}else a+=3}return a};function wa(e){const t=typeof e=="string"?e.indexOf("#"):-1;return ya(t===-1?e:e.slice(0,t),ga)}const qn="1.19.0",Dr=64*1024,{isFunction:qt}=c,Ea=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Ir=e=>{if(!c.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},vr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Sa=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Ta=e=>{const t=c.global!==void 0&&c.global!==null?c.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=c.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:a}=e,l=o?qt(o):typeof fetch=="function",f=qt(s),d=qt(a);if(!l)return!1;const p=l&&qt(n),m=l&&(typeof r=="function"?(h=>T=>h.encode(T))(new r):async h=>new Uint8Array(await new s(h).arrayBuffer())),E=f&&p&&vr(()=>{let h=!1;const T=new s(le.origin,{body:new n,method:"POST",get duplex(){return h=!0,"half"}}),C=T.headers.has("Content-Type");return T.body!=null&&T.body.cancel(),h&&!C}),N=d&&p&&vr(()=>c.isReadableStream(new a("").body)),D={stream:N&&(h=>h.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!D[h]&&(D[h]=(T,C)=>{let k=T&&T[h];if(k)return k.call(T);throw new w(`Response type '${h}' is not supported`,w.ERR_NOT_SUPPORT,C)})});const L=async h=>{if(h==null)return 0;if(c.isBlob(h))return h.size;if(c.isSpecCompliantForm(h))return(await new s(le.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(c.isArrayBufferView(h)||c.isArrayBuffer(h))return h.byteLength;if(c.isURLSearchParams(h)&&(h=h+""),c.isString(h))return(await m(h)).byteLength},g=async(h,T)=>{const C=c.toFiniteNumber(h.getContentLength());return C??L(T)};return async h=>{let{url:T,method:C,data:k,signal:M,cancelToken:F,timeout:W,onDownloadProgress:O,onUploadProgress:H,responseType:Z,headers:pe,withCredentials:Ae="same-origin",fetchOptions:xe,maxContentLength:ie,maxBodyLength:oe}=Do(h);const Q=c.isNumber(ie)&&ie>-1,we=c.isNumber(oe)&&oe>-1,Pe=v=>c.hasOwnProp(h,v)?h[v]:void 0;let Ne=o||fetch;Z=Z?(Z+"").toLowerCase():"text";let x=ca([M,F&&F.toAbortSignal()],W),V=null;const Re=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let ke,z=null;const Y=()=>new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,h,V);try{let v;const ee=Pe("auth");if(ee){const A=c.getSafeProp(ee,"username")||"",ae=c.getSafeProp(ee,"password")||"";v={username:A,password:ae}}if(Sa(T)){const A=new URL(T,le.origin);if(!v&&(A.username||A.password)){const ae=Ir(A.username),te=Ir(A.password);v={username:ae,password:te}}(A.username||A.password)&&(A.username="",A.password="",T=A.href)}if(v&&(pe.delete("authorization"),pe.set("Authorization","Basic "+btoa(Ea((v.username||"")+":"+(v.password||""))))),Q&&typeof T=="string"&&T.startsWith("data:")&&wa(T)>ie)throw new w("maxContentLength size of "+ie+" exceeded",w.ERR_BAD_RESPONSE,h,V);if(we&&C!=="get"&&C!=="head"){const A=await L(k);if(typeof A=="number"&&isFinite(A)&&(ke=A,A>oe))throw Y()}const Ue=we&&(c.isReadableStream(k)||c.isStream(k)),$=(A,ae,te)=>Pr(A,Dr,Se=>{if(we&&Se>oe)throw z=Y();ae&&ae(Se)},te);if(E&&C!=="get"&&C!=="head"&&(H||Ue)){if(ke=ke??await g(pe,k),ke!==0||Ue){let A=new s(T,{method:"POST",body:k,duplex:"half"}),ae;if(c.isFormData(k)&&(ae=A.headers.get("content-type"))&&pe.setContentType(ae),A.body){const[te,Se]=H&&Or(ke,Qt(xr(H)))||[];k=$(A.body,te,Se)}}}else if(Ue&&!f&&p&&C!=="get"&&C!=="head")k=$(k);else if(Ue&&f&&!E&&C!=="get"&&C!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,h,V);c.isString(Ae)||(Ae=Ae?"include":"omit");const ot=f&&"credentials"in s.prototype;if(c.isFormData(k)){const A=pe.getContentType();A&&/^multipart\/form-data/i.test(A)&&!/boundary=/i.test(A)&&pe.delete("content-type")}pe.set("User-Agent","axios/"+qn,!1);const Le={...xe,signal:x,method:C.toUpperCase(),headers:To(pe.normalize()),body:k,duplex:"half",credentials:ot?Ae:void 0};V=f&&new s(T,Le);let ce=await(f?Ne(V,xe):Ne(T,Le));const Fe=de.from(ce.headers);if(Q){const A=c.toFiniteNumber(Fe.getContentLength());if(A!=null&&A>ie)throw new w("maxContentLength size of "+ie+" exceeded",w.ERR_BAD_RESPONSE,h,V)}const j=N&&(Z==="stream"||Z==="response");if(N&&ce.body&&(O||Q||j&&Re)){const A={};["status","statusText","headers"].forEach(je=>{A[je]=ce[je]});const ae=c.toFiniteNumber(Fe.getContentLength()),[te,Se]=O&&Or(ae,Qt(xr(O),!0))||[];let gt=0;const De=je=>{if(Q&&(gt=je,gt>ie))throw new w("maxContentLength size of "+ie+" exceeded",w.ERR_BAD_RESPONSE,h,V);te&&te(je)};ce=new a(Pr(ce.body,Dr,De,()=>{Se&&Se(),Re&&Re()}),A)}Z=Z||"text";let Ee=await D[c.findKey(D,Z)||"text"](ce,h);if(Q&&!N&&!j){let A;if(Ee!=null&&(typeof Ee.byteLength=="number"?A=Ee.byteLength:typeof Ee.size=="number"?A=Ee.size:typeof Ee=="string"&&(A=typeof r=="function"?new r().encode(Ee).byteLength:Ee.length)),typeof A=="number"&&A>ie)throw new w("maxContentLength size of "+ie+" exceeded",w.ERR_BAD_RESPONSE,h,V)}return!j&&Re&&Re(),await new Promise((A,ae)=>{No(A,ae,{data:Ee,headers:de.from(ce.headers),status:ce.status,statusText:ce.statusText,config:h,request:V})})}catch(v){if(Re&&Re(),x&&x.aborted&&x.reason instanceof w){const ee=x.reason;throw ee.config=h,V&&(ee.request=V),v!==ee&&Object.defineProperty(ee,"cause",{__proto__:null,value:v,writable:!0,enumerable:!1,configurable:!0}),ee}if(z)throw V&&!z.request&&(z.request=V),z;if(v instanceof w)throw V&&!v.request&&(v.request=V),v;if(v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)){const ee=new w("Network Error",w.ERR_NETWORK,h,V,v&&v.response);throw Object.defineProperty(ee,"cause",{__proto__:null,value:v.cause||v,writable:!0,enumerable:!1,configurable:!0}),ee}throw w.from(v,v&&v.code,h,V,v&&v.response)}}},_a=new Map,vo=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,l=a,f,d,p=_a;for(;l--;)f=s[l],d=p.get(f),d===void 0&&p.set(f,d=l?new Map:Ta(t)),p=d;return d};vo();const $n={http:ki,xhr:la,fetch:{get:vo}};c.forEach($n,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Mr=e=>`- ${e}`,Aa=e=>c.isFunction(e)||e===null||e===!1;function Ra(e,t){e=c.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a`adapter ${f} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=n?a.length>1?`since : `+a.map(Mr).join(` `):" "+Mr(a[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+l,w.ERR_NOT_SUPPORT)}return o}const Mo={getAdapter:Ra,adapters:$n};function Tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Nt(null,e)}function _n(e){return Tn(e),e.headers=de.from(e.headers),e.data=Sn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Mo.getAdapter(e.adapter||Pt.adapter,e)(e).then(function(r){Tn(e),e.response=r;try{r.data=Sn.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=de.from(r.headers),r},function(r){if(!Po(r)&&(Tn(e),r&&r.response)){e.response=r.response;try{r.response.data=Sn.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=de.from(r.response.headers)}return Promise.reject(r)})}const rn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ur={};rn.transitional=function(t,n,r){function o(s,a){return"[Axios v"+qn+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(t===!1)throw new w(o(a," has been removed"+(n?" in "+n:"")),w.ERR_DEPRECATED);return n&&!Ur[a]&&(Ur[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};rn.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Oa(e,t,n){if(typeof e!="object"||e===null)throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const l=e[s],f=l===void 0||a(l,s,e);if(f!==!0)throw new w("option "+s+" must be "+f,w.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new w("Unknown option "+s,w.ERR_BAD_OPTION)}}const Jt={assertOptions:Oa,validators:rn},ue=Jt.validators;let Qe=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Ar,response:new Ar}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const a=o.stack.indexOf(` `);return a===-1?"":o.stack.slice(a+1)})();try{if(!r.stack)r.stack=s;else if(s){const a=s.indexOf(` `),l=a===-1?-1:s.indexOf(` `,a+1),f=l===-1?"":s.slice(l+1);String(r.stack).endsWith(f)||(r.stack+=` `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=nt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Jt.assertOptions(r,{silentJSONParsing:ue.transitional(ue.boolean),forcedJSONParsing:ue.transitional(ue.boolean),clarifyTimeoutError:ue.transitional(ue.boolean),legacyInterceptorReqResOrdering:ue.transitional(ue.boolean),advertiseZstdAcceptEncoding:ue.transitional(ue.boolean),validateStatusUndefinedResolves:ue.transitional(ue.boolean)},!1),o!=null&&(c.isFunction(o)?n.paramsSerializer={serialize:o}:Jt.assertOptions(o,{encode:ue.function,serialize:ue.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Jt.assertOptions(n,{baseUrl:ue.spelling("baseURL"),withXsrfToken:ue.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&c.merge(s.common,s[n.method]);s&&c.forEach(["delete","get","head","post","put","patch","query","common"],D=>{delete s[D]}),n.headers=de.concat(a,s);const l=[];let f=!0;this.interceptors.request.forEach(function(L){if(typeof L.runWhen=="function"&&L.runWhen(n)===!1)return;f=f&&L.synchronous;const g=n.transitional||Hn;g&&g.legacyInterceptorReqResOrdering?l.unshift(L.fulfilled,L.rejected):l.push(L.fulfilled,L.rejected)});const d=[];this.interceptors.response.forEach(function(L){d.push(L.fulfilled,L.rejected)});let p,m=0,E;if(!f){const D=[_n.bind(this),void 0];for(D.unshift(...l),D.push(...d),E=D.length,p=Promise.resolve(n);m_n.call(this,N)))}catch(h){p=Promise.reject(h)}break}}if(!p)try{p=_n.call(this,N)}catch(D){p=Promise.reject(D)}for(m=0,E=d.length;m{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new Nt(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Uo(function(o){t=o}),cancel:t}}};function ka(e){return function(n){return e.apply(null,n)}}function Ca(e){return c.isObject(e)&&e.isAxiosError===!0}const In={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(In).forEach(([e,t])=>{In[t]=e});function Fo(e){const t=new Qe(e),n=po(Qe.prototype.request,t);return c.extend(n,Qe.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Fo(nt(e,o))},n}const J=Fo(Pt);J.Axios=Qe;J.CanceledError=Nt;J.CancelToken=xa;J.isCancel=Po;J.VERSION=qn;J.toFormData=nn;J.AxiosError=w;J.Cancel=J.CanceledError;J.all=function(t){return Promise.all(t)};J.spread=ka;J.isAxiosError=Ca;J.mergeConfig=nt;J.AxiosHeaders=de;J.formToJSON=e=>Co(c.isHTMLForm(e)?new FormData(e):e);J.getAdapter=Mo.getAdapter;J.HttpStatusCode=In;J.default=J;const{Axios:dc,AxiosError:pc,CanceledError:mc,isCancel:hc,CancelToken:bc,VERSION:gc,all:yc,Cancel:wc,isAxiosError:Ec,spread:Sc,toFormData:Tc,AxiosHeaders:_c,HttpStatusCode:Ac,formToJSON:Rc,getAdapter:Oc,mergeConfig:xc,create:kc}=J,Fr=e=>{let t;const n=new Set,r=(d,p)=>{const m=typeof d=="function"?d(t):d;if(!Object.is(m,t)){const E=t;t=p??(typeof m!="object"||m===null)?m:Object.assign({},t,m),n.forEach(N=>N(t,E))}},o=()=>t,l={setState:r,getState:o,getInitialState:()=>f,subscribe:d=>(n.add(d),()=>n.delete(d))},f=t=e(r,o,l);return l},Pa=(e=>e?Fr(e):Fr),Na=e=>e;function La(e,t=Na){const n=Rt.useSyncExternalStore(e.subscribe,Rt.useCallback(()=>t(e.getState()),[e,t]),Rt.useCallback(()=>t(e.getInitialState()),[e,t]));return Rt.useDebugValue(n),n}const zr=e=>{const t=Pa(e),n=r=>La(t,r);return Object.assign(n,t),n},Cc=(e=>e?zr(e):zr);function Da(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var s;const a=f=>f===null?null:JSON.parse(f,void 0),l=(s=n.getItem(o))!=null?s:null;return l instanceof Promise?l.then(a):a(l)},setItem:(o,s)=>n.setItem(o,JSON.stringify(s,void 0)),removeItem:o=>n.removeItem(o)}}const vn=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return vn(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return vn(r)(n)}}}},Ia=(e,t)=>(n,r,o)=>{let s={storage:Da(()=>window.localStorage),partialize:g=>g,version:0,merge:(g,h)=>({...h,...g}),...t},a=!1,l=0;const f=new Set,d=new Set;let p=s.storage;if(!p)return e((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...g)},r,o);const m=()=>{const g=s.partialize({...r()});return p.setItem(s.name,{state:g,version:s.version})},E=o.setState;o.setState=(g,h)=>(E(g,h),m());const N=e((...g)=>(n(...g),m()),r,o);o.getInitialState=()=>N;let D;const L=()=>{var g,h;if(!p)return;const T=++l;a=!1,f.forEach(k=>{var M;return k((M=r())!=null?M:N)});const C=((h=s.onRehydrateStorage)==null?void 0:h.call(s,(g=r())!=null?g:N))||void 0;return vn(p.getItem.bind(p))(s.name).then(k=>{if(k)if(typeof k.version=="number"&&k.version!==s.version){if(s.migrate){const M=s.migrate(k.state,k.version);return M instanceof Promise?M.then(F=>[!0,F]):[!0,M]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,k.state];return[!1,void 0]}).then(k=>{var M;if(T!==l)return;const[F,W]=k;if(D=s.merge(W,(M=r())!=null?M:N),n(D,!0),F)return m()}).then(()=>{T===l&&(C?.(r(),void 0),D=r(),a=!0,d.forEach(k=>k(D)))}).catch(k=>{T===l&&C?.(void 0,k)})};return o.persist={setOptions:g=>{s={...s,...g},g.storage&&(p=g.storage)},clearStorage:()=>{++l,p?.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>L(),hasHydrated:()=>a,onHydrate:g=>(f.add(g),()=>{f.delete(g)}),onFinishHydration:g=>(d.add(g),()=>{d.delete(g)})},s.skipHydration||L(),D||N},Pc=Ia;function zo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{const n=new Array(e.length+t.length);for(let r=0;r({classGroupId:e,validator:t}),jo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),en="-",jr=[],Fa="arbitrary..",za=e=>{const t=Ba(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return ja(a);const l=a.split(en),f=l[0]===""&&l.length>1?1:0;return Bo(l,f,t)},getConflictingClassGroupIds:(a,l)=>{if(l){const f=r[a],d=n[a];return f?d?Ma(d,f):f:d||jr}return n[a]||jr}}},Bo=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const d=Bo(e,t+1,s);if(d)return d}const a=n.validators;if(a===null)return;const l=t===0?e.join(en):e.slice(t).join(en),f=a.length;for(let d=0;de.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Fa+r:void 0})(),Ba=e=>{const{theme:t,classGroups:n}=e;return Ha(n,t)},Ha=(e,t)=>{const n=jo();for(const r in e){const o=e[r];Gn(o,n,r,t)}return n},Gn=(e,t,n,r)=>{const o=e.length;for(let s=0;s{if(typeof e=="string"){qa(e,t,n);return}if(typeof e=="function"){$a(e,t,n,r);return}Ga(e,t,n,r)},qa=(e,t,n)=>{const r=e===""?t:Ho(t,e);r.classGroupId=n},$a=(e,t,n,r)=>{if(Va(e)){Gn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ua(n,e))},Ga=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let a=0;a{let n=e;const r=t.split(en),o=r.length;for(let s=0;s"isThemeGetter"in e&&e.isThemeGetter===!0,Xa=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,a)=>{n[s]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let a=n[s];if(a!==void 0)return a;if((a=r[s])!==void 0)return o(s,a),a},set(s,a){s in n?n[s]=a:o(s,a)}}},Mn="!",Br=":",Ya=[],Hr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Ja=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let a=0,l=0,f=0,d;const p=o.length;for(let L=0;Lf?d-f:void 0;return Hr(s,N,E,D)};if(t){const o=t+Br,s=r;r=a=>a.startsWith(o)?s(a.slice(o.length)):Hr(Ya,!1,a,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Ka=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s0&&(o.sort(),r.push(...o),o=[]),r.push(a)):o.push(a)}return o.length>0&&(o.sort(),r.push(...o)),r}},Za=e=>({cache:Xa(e.cacheSize),parseClassName:Ja(e),sortModifiers:Ka(e),postfixLookupClassGroupIds:Qa(e),...za(e)}),Qa=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s,postfixLookupClassGroupIds:a}=t,l=[],f=e.trim().split(el);let d="";for(let p=f.length-1;p>=0;p-=1){const m=f[p],{isExternal:E,modifiers:N,hasImportantModifier:D,baseClassName:L,maybePostfixModifierPosition:g}=n(m);if(E){d=m+(d.length>0?" "+d:d);continue}let h=!!g,T;if(h){const W=L.substring(0,g);T=r(W);const O=T&&a[T]?r(L):void 0;O&&O!==T&&(T=O,h=!1)}else T=r(L);if(!T){if(!h){d=m+(d.length>0?" "+d:d);continue}if(T=r(L),!T){d=m+(d.length>0?" "+d:d);continue}h=!1}const C=N.length===0?"":N.length===1?N[0]:s(N).join(":"),k=D?C+Mn:C,M=k+T;if(l.indexOf(M)>-1)continue;l.push(M);const F=o(T,h);for(let W=0;W0?" "+d:d)}return d},nl=(...e)=>{let t=0,n,r,o="";for(;t{if(typeof e=="string")return e;let t,n="";for(let r=0;r{let n,r,o,s;const a=f=>{const d=t.reduce((p,m)=>m(p),e());return n=Za(d),r=n.cache.get,o=n.cache.set,s=l,l(f)},l=f=>{const d=r(f);if(d)return d;const p=tl(f,n);return o(f,p),p};return s=a,(...f)=>s(nl(...f))},ol=[],ne=e=>{const t=n=>n[e]||ol;return t.isThemeGetter=!0,t},qo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,$o=/^\((?:(\w[\w-]*):)?(.+)\)$/i,sl=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,il=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,al=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ll=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,cl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ul=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,We=e=>sl.test(e),U=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>!!e&&Number.isInteger(Number(e)),An=e=>e.endsWith("%")&&U(e.slice(0,-1)),ze=e=>il.test(e),Go=()=>!0,fl=e=>al.test(e)&&!ll.test(e),Vn=()=>!1,dl=e=>cl.test(e),pl=e=>ul.test(e),ml=e=>!_(e)&&!R(e),hl=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),bl=e=>$e(e,Yo,Vn),_=e=>qo.test(e),Ye=e=>$e(e,Jo,fl),Wr=e=>$e(e,Al,U),gl=e=>$e(e,Zo,Go),yl=e=>$e(e,Ko,Vn),qr=e=>$e(e,Vo,Vn),wl=e=>$e(e,Xo,pl),$t=e=>$e(e,Qo,dl),R=e=>$o.test(e),St=e=>rt(e,Jo),El=e=>rt(e,Ko),$r=e=>rt(e,Vo),Sl=e=>rt(e,Yo),Tl=e=>rt(e,Xo),Gt=e=>rt(e,Qo,!0),_l=e=>rt(e,Zo,!0),$e=(e,t,n)=>{const r=qo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},rt=(e,t,n=!1)=>{const r=$o.exec(e);return r?r[1]?t(r[1]):n:!1},Vo=e=>e==="position"||e==="percentage",Xo=e=>e==="image"||e==="url",Yo=e=>e==="length"||e==="size"||e==="bg-size",Jo=e=>e==="length",Al=e=>e==="number",Ko=e=>e==="family-name",Zo=e=>e==="number"||e==="weight",Qo=e=>e==="shadow",Rl=()=>{const e=ne("color"),t=ne("font"),n=ne("text"),r=ne("font-weight"),o=ne("tracking"),s=ne("leading"),a=ne("breakpoint"),l=ne("container"),f=ne("spacing"),d=ne("radius"),p=ne("shadow"),m=ne("inset-shadow"),E=ne("text-shadow"),N=ne("drop-shadow"),D=ne("blur"),L=ne("perspective"),g=ne("aspect"),h=ne("ease"),T=ne("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...k(),R,_],F=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],O=()=>[R,_,f],H=()=>[We,"full","auto",...O()],Z=()=>[Me,"none","subgrid",R,_],pe=()=>["auto",{span:["full",Me,R,_]},Me,R,_],Ae=()=>[Me,"auto",R,_],xe=()=>["auto","min","max","fr",R,_],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],oe=()=>["start","end","center","stretch","center-safe","end-safe"],Q=()=>["auto",...O()],we=()=>[We,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],Pe=()=>[We,"screen","full","dvw","lvw","svw","min","max","fit",...O()],Ne=()=>[We,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],x=()=>[e,R,_],V=()=>[...k(),$r,qr,{position:[R,_]}],Re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ke=()=>["auto","cover","contain",Sl,bl,{size:[R,_]}],z=()=>[An,St,Ye],Y=()=>["","none","full",d,R,_],v=()=>["",U,St,Ye],ee=()=>["solid","dashed","dotted","double"],Ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>[U,An,$r,qr],ot=()=>["","none",D,R,_],Le=()=>["none",U,R,_],ce=()=>["none",U,R,_],Fe=()=>[U,R,_],j=()=>[We,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ze],breakpoint:[ze],color:[Go],container:[ze],"drop-shadow":[ze],ease:["in","out","in-out"],font:[ml],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ze],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ze],shadow:[ze],spacing:["px",U],text:[ze],"text-shadow":[ze],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",We,_,R,g]}],container:["container"],"container-type":[{"@container":["","normal","size",R,_]}],"container-named":[hl],columns:[{columns:[U,_,R,l]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:M()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{"inset-s":H(),start:H()}],end:[{"inset-e":H(),end:H()}],"inset-bs":[{"inset-bs":H()}],"inset-be":[{"inset-be":H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[Me,"auto",R,_]}],basis:[{basis:[We,"full","auto",l,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[U,We,"auto","initial","none",_]}],grow:[{grow:["",U,R,_]}],shrink:[{shrink:["",U,R,_]}],order:[{order:[Me,"first","last","none",R,_]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":Ae()}],"row-end":[{"row-end":Ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":xe()}],"auto-rows":[{"auto-rows":xe()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...oe()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...oe(),"baseline"]}],"place-self":[{"place-self":["auto",...oe()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mbs:[{mbs:Q()}],mbe:[{mbe:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:we()}],"inline-size":[{inline:["auto",...Pe()]}],"min-inline-size":[{"min-inline":["auto",...Pe()]}],"max-inline-size":[{"max-inline":["none",...Pe()]}],"block-size":[{block:["auto",...Ne()]}],"min-block-size":[{"min-block":["auto",...Ne()]}],"max-block-size":[{"max-block":["none",...Ne()]}],w:[{w:[l,"screen",...we()]}],"min-w":[{"min-w":[l,"screen","none",...we()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...we()]}],h:[{h:["screen","lh",...we()]}],"min-h":[{"min-h":["screen","lh","none",...we()]}],"max-h":[{"max-h":["screen","lh",...we()]}],"font-size":[{text:["base",n,St,Ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_l,gl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",An,_]}],"font-family":[{font:[El,yl,t]}],"font-features":[{"font-features":[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,R,_]}],"line-clamp":[{"line-clamp":[U,"none",R,Wr]}],leading:[{leading:[s,...O()]}],"list-image":[{"list-image":["none",R,_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",R,_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:[U,"from-font","auto",R,Ye]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[U,"auto",R,_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[Me,R,_]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R,_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R,_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:Re()}],"bg-size":[{bg:ke()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Me,R,_],radial:["",R,_],conic:[Me,R,_]},Tl,wl]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:z()}],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-bs":[{"border-bs":v()}],"border-w-be":[{"border-be":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ee(),"hidden","none"]}],"divide-style":[{divide:[...ee(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-bs":[{"border-bs":x()}],"border-color-be":[{"border-be":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...ee(),"none","hidden"]}],"outline-offset":[{"outline-offset":[U,R,_]}],"outline-w":[{outline:["",U,St,Ye]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",p,Gt,$t]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",m,Gt,$t]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[U,Ye]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",E,Gt,$t]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[U,R,_]}],"mix-blend":[{"mix-blend":[...Ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[U]}],"mask-image-linear-from-pos":[{"mask-linear-from":$()}],"mask-image-linear-to-pos":[{"mask-linear-to":$()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":$()}],"mask-image-t-to-pos":[{"mask-t-to":$()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":$()}],"mask-image-r-to-pos":[{"mask-r-to":$()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":$()}],"mask-image-b-to-pos":[{"mask-b-to":$()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":$()}],"mask-image-l-to-pos":[{"mask-l-to":$()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":$()}],"mask-image-x-to-pos":[{"mask-x-to":$()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":$()}],"mask-image-y-to-pos":[{"mask-y-to":$()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[R,_]}],"mask-image-radial-from-pos":[{"mask-radial-from":$()}],"mask-image-radial-to-pos":[{"mask-radial-to":$()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[U]}],"mask-image-conic-from-pos":[{"mask-conic-from":$()}],"mask-image-conic-to-pos":[{"mask-conic-to":$()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:Re()}],"mask-size":[{mask:ke()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",R,_]}],filter:[{filter:["","none",R,_]}],blur:[{blur:ot()}],brightness:[{brightness:[U,R,_]}],contrast:[{contrast:[U,R,_]}],"drop-shadow":[{"drop-shadow":["","none",N,Gt,$t]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",U,R,_]}],"hue-rotate":[{"hue-rotate":[U,R,_]}],invert:[{invert:["",U,R,_]}],saturate:[{saturate:[U,R,_]}],sepia:[{sepia:["",U,R,_]}],"backdrop-filter":[{"backdrop-filter":["","none",R,_]}],"backdrop-blur":[{"backdrop-blur":ot()}],"backdrop-brightness":[{"backdrop-brightness":[U,R,_]}],"backdrop-contrast":[{"backdrop-contrast":[U,R,_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",U,R,_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[U,R,_]}],"backdrop-invert":[{"backdrop-invert":["",U,R,_]}],"backdrop-opacity":[{"backdrop-opacity":[U,R,_]}],"backdrop-saturate":[{"backdrop-saturate":[U,R,_]}],"backdrop-sepia":[{"backdrop-sepia":["",U,R,_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",R,_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[U,"initial",R,_]}],ease:[{ease:["linear","initial",h,R,_]}],delay:[{delay:[U,R,_]}],animate:[{animate:["none",T,R,_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[L,R,_]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":["scale-3d"],skew:[{skew:Fe()}],"skew-x":[{"skew-x":Fe()}],"skew-y":[{"skew-y":Fe()}],transform:[{transform:[R,_,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],zoom:[{zoom:[Me,R,_]}],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R,_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":x()}],"scrollbar-track-color":[{"scrollbar-track":x()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R,_]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[U,St,Ye,Wr]}],stroke:[{stroke:["none",...x()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Nc=rl(Rl),Gr=e=>Symbol.iterator in e,Vr=e=>"entries"in e,Xr=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[o,s]of n)if(!r.has(o)||!Object.is(s,r.get(o)))return!1;return!0},Ol=(e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let o=n.next(),s=r.next();for(;!o.done&&!s.done;){if(!Object.is(o.value,s.value))return!1;o=n.next(),s=r.next()}return!!o.done&&!!s.done};function xl(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?!1:Gr(e)&&Gr(t)?Vr(e)&&Vr(t)?Xr(e,t):Ol(e,t):Xr({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}function Lc(e){const t=Rt.useRef(void 0);return n=>{const r=e(n);return xl(t.current,r)?t.current:t.current=r}}const Yr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Jr=va,Dc=(e,t)=>n=>{var r;if(t?.variants==null)return Jr(e,n?.class,n?.className);const{variants:o,defaultVariants:s}=t,a=Object.keys(o).map(d=>{const p=n?.[d],m=s?.[d];if(p===null)return null;const E=Yr(p)||Yr(m);return o[d][E]}),l=n&&Object.entries(n).reduce((d,p)=>{let[m,E]=p;return E===void 0||(d[m]=E),d},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,p)=>{let{class:m,className:E,...N}=p;return Object.entries(N).every(D=>{let[L,g]=D;return Array.isArray(g)?g.includes({...s,...l}[L]):{...s,...l}[L]===g})?[...d,m,E]:d},[]);return Jr(e,a,f,n?.class,n?.className)};function Kr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?r-2:0),s=2;s1?n-1:0),o=1;o"u"?null:K(BigInt.prototype.toString),ro=typeof Symbol>"u"?null:K(Symbol.prototype.toString),ge=K(Object.prototype.hasOwnProperty),At=K(Object.prototype.toString),fe=K(RegExp.prototype.test),Je=Bl(TypeError);function K(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:Ot;if(Zr&&Zr(e,null),!pt(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const s=n(o);s!==o&&(Dl(t)||(t[r]=s),o=s)}e[o]=!0}return e}function Hl(e){for(let t=0;t/g),Yl=se(/\${[\w\W]*/g),Jl=se(/^data-[\-\w.\u00B7-\uFFFF]+$/),Kl=se(/^aria-[\-\w]+$/),lo=se(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Zl=se(/^(?:\w+script|data):/i),Ql=se(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ec=se(/^html$/i),tc=se(/^[a-z][.\w]*(-[.\w]+)+$/i),co=se(/<[/\w!]/g),uo=se(/<[/\w]/g),nc=se(/<\/no(script|embed|frames)/i),rc=se(/\/>/i),Te={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ns=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],oc=re(B({},ns)),sc=(function(){const e={};return Ke(ns,t=>{e[t]=se(new RegExp("])","i"))}),re(e)})(),ic=function(){return typeof window>"u"?null:window},ac=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},fo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},qe=function(t,n,r,o){return ge(t,n)&&pt(t[n])?B(o.base?_e(o.base):{},t[n],o.transform):r},Pn=function(t,n,r){const o=ge(t,n)?t[n]:void 0;return o&&typeof o=="object"?_e(o):r()};function rs(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ic();const t=y=>rs(y);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Te.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,a=e.Node,l=e.Element,f=e.NodeFilter,d=e.NamedNodeMap;d===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const p=e.DOMParser,m=e.trustedTypes,E=l.prototype,N=Ce(E,"cloneNode"),D=Ce(E,"remove"),L=Ce(E,"nextSibling"),g=Ce(E,"childNodes"),h=Ce(E,"parentNode"),T=Ce(E,"shadowRoot"),C=Ce(E,"attributes"),k=a&&a.prototype?Ce(a.prototype,"nodeType"):null,M=a&&a.prototype?Ce(a.prototype,"nodeName"):null,F=a&&a.prototype?Ce(a.prototype,"ownerDocument"):null,W=function(i){return k?k(i):i.nodeType},O=function(i){return M?M(i):i.nodeName};if(typeof s=="function"){const y=n.createElement("template");y.content&&y.content.ownerDocument&&(n=y.content.ownerDocument)}let H,Z="",pe,Ae=!1,xe=0;const ie=function(){if(xe>0)throw Je('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},oe=function(i){ie(),xe++;try{return H.createHTML(i)}finally{xe--}},Q=function(i){ie(),xe++;try{return H.createScriptURL(i)}finally{xe--}},we=function(){return Ae||(pe=ac(m,o),Ae=!0),pe},Pe=n,Ne=Pe.implementation,x=Pe.createNodeIterator,V=Pe.createDocumentFragment,Re=Pe.getElementsByTagName,ke=r.importNode;let z=fo();t.isSupported=typeof es=="function"&&typeof h=="function"&&Ne&&Ne.createHTMLDocument!==void 0;const Y=Vl,v=Xl,ee=Yl,Ue=Jl,$=Kl,ot=Zl,Le=Ql,ce=tc;let Fe=lo,j=null;const Ee=B({},[...oo,...On,...xn,...kn,...so]);let A=null;const ae=B({},[...io,...Cn,...ao,...Vt]);let te=Object.seal(dt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,gt=null;const De=Object.seal(dt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let je=!0,on=!0,Xn=!1,Yn=!0,Be=!1,Ge=!0,Ve=!1,sn=!1,Lt=null,Dt=null,an=!1,st=!1,It=!1,vt=!1,Jn=!0,Kn=!1;const Zn="user-content-";let ln=!0,cn=!1,it={},at=null;const Qn=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let er=null;const tr=B({},["audio","video","img","source","image","track"]);let nr=null;const rr=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",Ut="http://www.w3.org/2000/svg",Ie="http://www.w3.org/1999/xhtml";let lt=Ie,un=!1,fn=null;const os=B({},[Mt,Ut,Ie],Rn),or=re(["mi","mo","mn","ms","mtext"]);let dn=B({},or);const sr=re(["annotation-xml"]);let pn=B({},sr);const ss=B({},["title","style","font","a","script"]);let yt=null;const is=["application/xhtml+xml","text/html"],as="text/html";let X=null,ct=null;const ls=n.createElement("form"),ir=function(i){return i instanceof RegExp||i instanceof Function},mn=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ct&&ct===i)return;(!i||typeof i!="object")&&(i={}),i=_e(i),yt=is.indexOf(i.PARSER_MEDIA_TYPE)===-1?as:i.PARSER_MEDIA_TYPE,X=yt==="application/xhtml+xml"?Rn:Ot,j=qe(i,"ALLOWED_TAGS",Ee,{transform:X}),A=qe(i,"ALLOWED_ATTR",ae,{transform:X}),fn=qe(i,"ALLOWED_NAMESPACES",os,{transform:Rn}),nr=qe(i,"ADD_URI_SAFE_ATTR",rr,{transform:X,base:rr}),er=qe(i,"ADD_DATA_URI_TAGS",tr,{transform:X,base:tr}),at=qe(i,"FORBID_CONTENTS",Qn,{transform:X}),Se=qe(i,"FORBID_TAGS",_e({}),{transform:X}),gt=qe(i,"FORBID_ATTR",_e({}),{transform:X}),it=ge(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?_e(i.USE_PROFILES):i.USE_PROFILES:!1,je=i.ALLOW_ARIA_ATTR!==!1,on=i.ALLOW_DATA_ATTR!==!1,Xn=i.ALLOW_UNKNOWN_PROTOCOLS||!1,Yn=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=i.SAFE_FOR_TEMPLATES||!1,Ge=i.SAFE_FOR_XML!==!1,Ve=i.WHOLE_DOCUMENT||!1,st=i.RETURN_DOM||!1,It=i.RETURN_DOM_FRAGMENT||!1,vt=i.RETURN_TRUSTED_TYPE||!1,an=i.FORCE_BODY||!1,Jn=i.SANITIZE_DOM!==!1,Kn=i.SANITIZE_NAMED_PROPS||!1,ln=i.KEEP_CONTENT!==!1,cn=i.IN_PLACE||!1,Fe=ql(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:lo,lt=typeof i.NAMESPACE=="string"?i.NAMESPACE:Ie,dn=Pn(i,"MATHML_TEXT_INTEGRATION_POINTS",()=>B({},or)),pn=Pn(i,"HTML_INTEGRATION_POINTS",()=>B({},sr));const u=Pn(i,"CUSTOM_ELEMENT_HANDLING",()=>dt(null));if(te=dt(null),ge(u,"tagNameCheck")&&ir(u.tagNameCheck)&&(te.tagNameCheck=u.tagNameCheck),ge(u,"attributeNameCheck")&&ir(u.attributeNameCheck)&&(te.attributeNameCheck=u.attributeNameCheck),ge(u,"allowCustomizedBuiltInElements")&&typeof u.allowCustomizedBuiltInElements=="boolean"&&(te.allowCustomizedBuiltInElements=u.allowCustomizedBuiltInElements),se(te),Be&&(on=!1),It&&(st=!0),it&&(j=B({},so),A=dt(null),it.html===!0&&(B(j,oo),B(A,io)),it.svg===!0&&(B(j,On),B(A,Cn),B(A,Vt)),it.svgFilters===!0&&(B(j,xn),B(A,Cn),B(A,Vt)),it.mathMl===!0&&(B(j,kn),B(A,ao),B(A,Vt))),De.tagCheck=null,De.attributeCheck=null,ge(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?De.tagCheck=i.ADD_TAGS:pt(i.ADD_TAGS)&&(j===Ee&&(j=_e(j)),B(j,i.ADD_TAGS,X))),ge(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?De.attributeCheck=i.ADD_ATTR:pt(i.ADD_ATTR)&&(A===ae&&(A=_e(A)),B(A,i.ADD_ATTR,X))),ge(i,"ADD_FORBID_CONTENTS")&&pt(i.ADD_FORBID_CONTENTS)&&(at===Qn&&(at=_e(at)),B(at,i.ADD_FORBID_CONTENTS,X)),ln&&(j["#text"]=!0),Ve&&B(j,["html","head","body"]),j.table&&(B(j,["tbody"]),delete Se.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw Je('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Je('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const b=H;H=i.TRUSTED_TYPES_POLICY;try{Z=oe("")}catch(S){throw H=b,S}}else i.TRUSTED_TYPES_POLICY===null?(H=void 0,Z=""):(H===void 0&&(H=we()),H&&typeof Z=="string"&&(Z=oe("")));re&&re(i),ct=i},ar=B({},[...On,...xn,...$l]),lr=B({},[...kn,...Gl]),cs=function(i,u,b){return u.namespaceURI===Ie?i==="svg":u.namespaceURI===Mt?i==="svg"&&(b==="annotation-xml"||dn[b]):!!ar[i]},us=function(i,u,b){return u.namespaceURI===Ie?i==="math":u.namespaceURI===Ut?i==="math"&&pn[b]:!!lr[i]},fs=function(i,u,b){return u.namespaceURI===Ut&&!pn[b]||u.namespaceURI===Mt&&!dn[b]?!1:!lr[i]&&(ss[i]||!ar[i])},ds=function(i){let u=h(i);(!u||!u.tagName)&&(u={namespaceURI:lt,tagName:"template"});const b=Ot(i.tagName),S=Ot(u.tagName);return fn[i.namespaceURI]?i.namespaceURI===Ut?cs(b,u,S):i.namespaceURI===Mt?us(b,u,S):i.namespaceURI===Ie?fs(b,u,S):!!(yt==="application/xhtml+xml"&&fn[i.namespaceURI]):!1},He=function(i){Tt(t.removed,{element:i});try{h(i).removeChild(i)}catch{if(D(i),!h(i))throw Je("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},cr=function(i,u,b){try{i.removeAttributeNode(u)}catch{try{i.removeAttribute(b)}catch{}}},Ft=function(i){zt(i);const u=g(i);if(u){const S=[];Ke(u,P=>{Tt(S,P)}),Ke(S,P=>{try{D(P)}catch{}})}const b=C(i);if(b)for(let S=b.length-1;S>=0;--S){const P=b[S],I=P&&P.name;typeof I=="string"&&cr(i,P,I)}},Xe=function(i,u,b){if(!b)try{b=u.getAttributeNode(i)}catch{b=null}Tt(t.removed,{attribute:b||null,from:u});try{b?u.removeAttributeNode(b):u.removeAttribute(i)}catch{try{u.removeAttribute(i)}catch{}}if(i==="is")if(st||It)try{He(u)}catch{}else try{u.setAttribute(i,"")}catch{}},ps=function(i){const u=C(i);if(u)for(let b=u.length-1;b>=0;--b){const S=u[b],P=S&&S.name;typeof P!="string"||A[X(P)]||cr(i,S,P)}},zt=function(i){const u=[i];for(;u.length>0;){const b=u.pop();W(b)===Te.element&&ps(b);const P=g(b);if(P)for(let I=P.length-1;I>=0;--I)u.push(P[I])}},ur=function(i,u){return Ge?i==="patchsrc"?!0:i==="for"&&u!=="label"&&u!=="output":!1},ms=function(i){if(!Ge)return;const u=[i];for(;u.length>0;){const b=u.pop(),S=W(b);if(S===Te.processingInstruction||S===Te.comment&&fe(uo,b.data)){try{D(b)}catch{}continue}if(S===Te.element){const I=b,q=X(O(b));try{I.hasAttribute&&I.hasAttribute("patchsrc")&&I.removeAttribute("patchsrc"),I.hasAttribute&&I.hasAttribute("for")&&ur("for",q)&&I.removeAttribute("for")}catch{}}const P=g(b);if(P)for(let I=P.length-1;I>=0;--I)u.push(P[I])}},fr=function(i){let u=null,b=null;if(an)i=""+i;else{const I=eo(i,/^[\r\n\t ]+/);b=I&&I[0]}yt==="application/xhtml+xml"&<===Ie&&(i=''+i+"");const S=H?oe(i):i;if(lt===Ie)try{u=new p().parseFromString(S,yt)}catch{}if(!u||!u.documentElement){u=Ne.createDocument(lt,"template",null);try{u.documentElement.innerHTML=un?Z:S}catch{}}const P=u.body||u.documentElement;return i&&b&&P.insertBefore(n.createTextNode(b),P.childNodes[0]||null),lt===Ie?Re.call(u,Ve?"html":"body")[0]:Ve?u.documentElement:P},dr=function(i){const u=F?F(i):i.ownerDocument;return x.call(u||i,i,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},jt=function(i){return i=_t(i,Y," "),i=_t(i,v," "),i=_t(i,ee," "),i},hn=function(i){var u;i.normalize();const b=F?F(i):i.ownerDocument,S=x.call(b||i,i,f.SHOW_TEXT|f.SHOW_COMMENT|f.SHOW_CDATA_SECTION|f.SHOW_PROCESSING_INSTRUCTION,null);let P=S.nextNode();for(;P;)P.data=jt(P.data),P=S.nextNode();const I=(u=i.querySelectorAll)===null||u===void 0?void 0:u.call(i,"template");I&&Ke(I,q=>{ut(q.content)&&hn(q.content)})},Bt=function(i){const u=M?M(i):null;return typeof u!="string"||X(u)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==C(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==k(i)||i.childNodes!==g(i)},ut=function(i){if(!k||typeof i!="object"||i===null)return!1;try{return k(i)===Te.documentFragment}catch{return!1}},wt=function(i){if(!k||typeof i!="object"||i===null)return!1;try{return typeof k(i)=="number"}catch{return!1}};function ve(y,i,u){y.length!==0&&Ke(y,b=>{b.call(t,i,u,ct)})}const hs=function(i,u){return!!(Ge&&i.hasChildNodes()&&!wt(i.firstElementChild)&&fe(co,i.textContent)&&fe(co,i.innerHTML)||Ge&&i.namespaceURI===Ie&&oc[u]&&(wt(i.firstElementChild)||typeof i.textContent=="string"&&fe(sc[u],i.textContent))||i.nodeType===Te.processingInstruction||Ge&&i.nodeType===Te.comment&&fe(uo,i.data))},Ht=function(i,u){if(i instanceof RegExp)return fe(i,u);if(i instanceof Function){for(var b=arguments.length,S=new Array(b>2?b-2:0),P=2;P=0;--q){const G=i===b?N(P[q],!0):P[q];S.insertBefore(G,L(i))}}}return He(i),!0},pr=function(i,u,b,S){return i.length===0?u:u===b||u===S?_e(u):u},mr=function(i,u){return i===u||h(i)!==null?!1:(cn&&zt(i),!0)},hr=function(i,u){if(ve(z.beforeSanitizeElements,i,null),mr(i,u))return!0;if(Bt(i))return He(i),!0;const b=X(O(i));if(j=pr(z.uponSanitizeElement,j,Ee,Lt),ve(z.uponSanitizeElement,i,{tagName:b,allowedTags:j}),mr(i,u))return!0;if(hs(i,b))return He(i),!0;if(Se[b]||!(De.tagCheck instanceof Function&&De.tagCheck(b))&&!j[b]){const P=bs(i,b,u);return P===!1&&ve(z.afterSanitizeElements,i,null),P}if(W(i)===Te.element&&!ds(i)||(b==="noscript"||b==="noembed"||b==="noframes")&&fe(nc,i.innerHTML))return He(i),!0;if(Be&&i.nodeType===Te.text){const P=jt(i.textContent);i.textContent!==P&&(Tt(t.removed,{element:i.cloneNode()}),i.textContent=P)}return ve(z.afterSanitizeElements,i,null),!1},br=function(i,u,b){if(gt[u]||ur(u,i)||Jn&&(u==="id"||u==="name")&&(b in n||b in ls))return!1;const S=A[u]||De.attributeCheck instanceof Function&&De.attributeCheck(u,i);return on&&fe(Ue,u)||je&&fe($,u)?!0:S?nr[u]||fe(Fe,_t(b,Le,""))||(u==="src"||u==="xlink:href"||u==="href")&&i!=="script"&&to(b,"data:")===0&&er[i]||Xn&&!fe(ot,_t(b,Le,""))?!0:!b:gr(i)&&Ht(te.tagNameCheck,i)&&Ht(te.attributeNameCheck,u,i)||u==="is"&&te.allowCustomizedBuiltInElements&&Ht(te.tagNameCheck,b)},gs=B({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),gr=function(i){return!gs[Ot(i)]&&fe(ce,i)},ys=function(i,u,b,S){if(H&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!b)switch(m.getAttributeType(i,u)){case"TrustedHTML":return oe(S);case"TrustedScriptURL":return Q(S)}return S},ws=function(i,u,b,S){try{b?i.setAttributeNS(b,u,S):i.setAttribute(u,S),Bt(i)?He(i):Qr(t.removed)}catch{Xe(u,i)}},yr=function(i){ve(z.beforeSanitizeAttributes,i,null);const u=i.attributes;if(!u||Bt(i))return;A=pr(z.uponSanitizeAttribute,A,ae,Dt);const b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let S=u.length;const P=X(i.nodeName);for(;S--;){const I=u[S],q=I.name,G=I.namespaceURI,he=I.value,be=X(q),gn=he;let me=q==="value"?gn:Fl(gn);if(b.attrName=be,b.attrValue=me,b.keepAttr=!0,b.forceKeepAttr=void 0,ve(z.uponSanitizeAttribute,i,b),me=b.attrValue,Kn&&(be==="id"||be==="name")&&to(me,Zn)!==0&&(Xe(q,i,I),me=Zn+me),Ge&&fe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,me)){Xe(q,i,I);continue}if(be==="attributename"&&eo(me,"href")){Xe(q,i,I);continue}if(!b.forceKeepAttr){if(!b.keepAttr){Xe(q,i,I);continue}if(!Yn&&fe(rc,me)){Xe(q,i,I);continue}if(Be&&(me=jt(me)),!br(P,be,me)){Xe(q,i,I);continue}me=ys(P,be,G,me),me!==gn&&ws(i,q,G,me)}}ve(z.afterSanitizeAttributes,i,null)},Wt=function(i){let u=null;const b=dr(i);for(ve(z.beforeSanitizeShadowDOM,i,null);u=b.nextNode();)if(ve(z.uponSanitizeShadowNode,u,null),hr(u,i),yr(u),ut(u.content)&&Wt(u.content),W(u)===Te.element){const S=T(u);ut(S)&&(bn(S),Wt(S))}ve(z.afterSanitizeShadowDOM,i,null)},bn=function(i){const u=[{node:i,shadow:null}];for(;u.length>0;){const b=u.pop();if(b.shadow){Wt(b.shadow);continue}const S=b.node,I=W(S)===Te.element,q=g(S);if(q)for(let G=q.length-1;G>=0;--G)u.push({node:q[G],shadow:null});if(I){const G=M?M(S):null;if(typeof G=="string"&&X(G)==="template"){const he=S.content;ut(he)&&u.push({node:he,shadow:null})}}if(I){const G=T(S);ut(G)&&u.push({node:null,shadow:G},{node:G,shadow:null})}}};return t.sanitize=function(y){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=null,b=null,S=null,P=null;if(un=!y,un&&(y=""),typeof y!="string"&&!wt(y)&&(y=Wl(y),typeof y!="string"))throw Je("dirty is not a string, aborting");if(!t.isSupported)return y;sn?(j=Lt,A=Dt):mn(i),(z.uponSanitizeElement.length>0||z.uponSanitizeAttribute.length>0)&&(j=_e(j)),z.uponSanitizeAttribute.length>0&&(A=_e(A)),t.removed=[];const I=cn&&typeof y!="string"&&wt(y);if(I){ms(y);const he=O(y);if(typeof he=="string"){const be=X(he);if(!j[be]||Se[be])throw Ft(y),Je("root node is forbidden and cannot be sanitized in-place")}if(Bt(y))throw Ft(y),Je("root node is clobbered and cannot be sanitized in-place");try{bn(y)}catch(be){throw Ft(y),be}}else if(wt(y))u=fr(""),b=u.ownerDocument.importNode(y,!0),b.nodeType===Te.element&&b.nodeName==="BODY"||b.nodeName==="HTML"?u=b:u.appendChild(b),bn(b);else{if(!st&&!Be&&!Ve&&y.indexOf("<")===-1)return H&&vt?oe(y):y;if(u=fr(y),!u)return st?null:vt?Z:""}u&&an&&He(u.firstChild);const q=I?y:u;try{const he=dr(q);for(;S=he.nextNode();)hr(S,q),yr(S),ut(S.content)&&Wt(S.content)}catch(he){throw I&&(Ft(y),Ke(t.removed,be=>{be.element&&zt(be.element)})),he}if(I)return Ke(t.removed,he=>{he.element&&zt(he.element)}),Be&&hn(y),y;if(st){if(Be&&hn(u),It)for(P=V.call(u.ownerDocument);u.firstChild;)P.appendChild(u.firstChild);else P=u;return(A.shadowroot||A.shadowrootmode)&&(P=ke.call(r,P,!0)),P}let G=Ve?u.outerHTML:u.innerHTML;return Ve&&j["!doctype"]&&u.ownerDocument&&u.ownerDocument.doctype&&u.ownerDocument.doctype.name&&fe(ec,u.ownerDocument.doctype.name)&&(G=" `+G),Be&&(G=jt(G)),H&&vt?oe(G):G},t.setConfig=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};mn(y),sn=!0,Lt=j,Dt=A},t.clearConfig=function(){ct=null,sn=!1,Lt=null,Dt=null,H=pe,Z=""},t.isValidAttribute=function(y,i,u){ct||mn({});const b=X(y),S=X(i);return br(b,S,u)},t.addHook=function(y,i){typeof i=="function"&&ge(z,y)&&Tt(z[y],i)},t.removeHook=function(y,i){if(ge(z,y)){if(i!==void 0){const u=Ml(z[y],i);return u===-1?void 0:Ul(z[y],u,1)[0]}return Qr(z[y])}},t.removeHooks=function(y){ge(z,y)&&(z[y]=[])},t.removeAllHooks=function(){z=fo()},t}var Ic=rs();export{pc as A,Cc as a,J as b,va as c,Da as d,Dc as e,Ic as f,Ec as i,Pc as p,Nc as t,Lc as u};