comp-hub 0.28.5 → 0.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -132
- package/bin/cli.js +53 -53
- package/bin/lib/commands.js +173 -173
- package/bin/lib/constants.js +22 -22
- package/bin/lib/http.js +62 -62
- package/bin/lib/startup.js +183 -183
- package/bin/lib/utils.js +112 -112
- package/dist/index.js +1 -1
- package/dist/website/container/assets/{index-DW_KDaXl.js → index-C4rP9NOf.js} +9 -9
- package/dist/website/container/assets/index-DyP-WX-l.css +1 -0
- package/dist/website/container/index.html +32 -32
- package/dist/website/container/js/vue2-sfc-loader.js +260 -260
- package/dist/website/container/js/vue3-sfc-loader.js +289 -289
- package/dist/website/item/assets/index-YY_elpPJ.js +39 -0
- package/dist/website/item/assets/index-xGYf6R_n.css +1 -0
- package/dist/website/item/index.html +30 -30
- package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-Xr4R8ONt.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-CllQrgJy.js} +1 -1
- package/dist/website/main/assets/index-30_1ggVR.js +1 -0
- package/dist/website/main/assets/{index-tKPA5N_x.js → index-5AGG9ot8.js} +1 -1
- package/dist/website/main/assets/index-5NbrFL1v.js +1 -0
- package/dist/website/main/assets/{index-DGaY7dL7.js → index-B5P6DgaP.js} +1 -1
- package/dist/website/main/assets/index-B94DbVvF.js +1 -0
- package/dist/website/main/assets/index-B9ln289Q.js +1 -0
- package/dist/website/main/assets/{index-DIKKFNiV.css → index-BboFkG3x.css} +1 -1
- package/dist/website/main/assets/{index-9E0N8vk2.js → index-Bix1nJzT.js} +1 -1
- package/dist/website/main/assets/index-Bt7T-LaE.js +1 -0
- package/dist/website/main/assets/index-C5FOjHtG.js +1 -0
- package/dist/website/main/assets/{index-RcR0UXkh.js → index-C9Y3CNRO.js} +1 -1
- package/dist/website/main/assets/{index-BGYcKO_k.js → index-CBkRhssK.js} +2 -2
- package/dist/website/main/assets/{index-BblV7ZcF.js → index-CJBbqPIC.js} +1 -1
- package/dist/website/main/assets/{index-CdLdwW7r.js → index-CRPDDq-V.js} +13 -13
- package/dist/website/main/assets/{index-CsUtZbBp.js → index-CS5py2lv.js} +1 -1
- package/dist/website/main/assets/{index-X1ZIWbVW.js → index-CYEfOQSg.js} +2 -2
- package/dist/website/main/assets/{index-BqUY_Pbs.js → index-CeYUbWQf.js} +1 -1
- package/dist/website/main/assets/{index-DxyEzkir.css → index-Cl0SK7oa.css} +1 -1
- package/dist/website/main/assets/index-ClGXZTwx.js +1 -0
- package/dist/website/main/assets/index-CyPExloz.css +1 -0
- package/dist/website/main/assets/{index-bdWvkmhc.js → index-D206deyl.js} +1 -1
- package/dist/website/main/assets/{index-BMSnGhSG.js → index-D8JLLNls.js} +1 -1
- package/dist/website/main/assets/index-DJ4AvgpT.css +1 -0
- package/dist/website/main/assets/{index-BVcp4iEn.js → index-DMKeTfl9.js} +1 -1
- package/dist/website/main/assets/index-DNzk9GC4.js +1 -0
- package/dist/website/main/assets/{index-Dfkpa19a.js → index-DdlcdFg6.js} +1 -1
- package/dist/website/main/assets/index-Dgyjv57X.js +1 -0
- package/dist/website/main/assets/index-DkvChnew.js +1 -0
- package/dist/website/main/assets/{index-DbmFA7Z2.js → index-DnoK5_sf.js} +1 -1
- package/dist/website/main/assets/index-Du5qihI4.js +1 -0
- package/dist/website/main/assets/{index-B8QVBEgQ.js → index-OKDkiqud.js} +1 -1
- package/dist/website/main/assets/index-OQIUhz5k.js +1 -0
- package/dist/website/main/assets/{index-Cc3zDN4S.js → index-pnMxQIk7.js} +1 -1
- package/dist/website/main/assets/index-qAIxUXsY.css +1 -0
- package/dist/website/main/assets/{index-qSRqezAW.js → index-zrOq4KJF.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BOye9Q0l.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js +2 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C2f6_gwm.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-DzvWwe2g.js → index.vue_vue_type_script_setup_true_lang-Cl-Fl4oU.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BYKlY94g.js → index.vue_vue_type_script_setup_true_lang-CsP7DU8L.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-piiSvWkd.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-CwaGkvXy.js → index.vue_vue_type_style_index_0_lang-HhqETZCz.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-BNPcBMvg.js → index.vue_vue_type_style_index_0_lang-_EGM5AW2.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-lii4Mw4k.js +1 -0
- package/dist/website/main/assets/{useCompEditStore-EVZp94pg.css → useCompEditStore-CTeLLTZM.css} +1 -1
- package/dist/website/main/assets/{useCompEditStore-DI3vFtGm.js → useCompEditStore-De0RvlRq.js} +135 -135
- package/dist/website/main/assets/{useKeyword-bWHMALoZ.js → useKeyword-DPx3R5YX.js} +1 -1
- package/dist/website/main/assets/{useMessage-BVw3M4ej.js → useMessage-8Gi-vx-A.js} +1 -1
- package/dist/website/main/assets/useVscodeOpen--nBM6CZ-.js +1 -0
- package/dist/website/main/index.html +2 -2
- package/package.json +45 -45
- package/dist/website/container/assets/index-D6braxue.css +0 -1
- package/dist/website/item/assets/index-BWvMfSxu.css +0 -1
- package/dist/website/item/assets/index-Cqs5iLeY.js +0 -39
- package/dist/website/main/assets/index-BEVcnNvI.js +0 -1
- package/dist/website/main/assets/index-BHUDEWGt.js +0 -1
- package/dist/website/main/assets/index-BYC9CuLh.js +0 -1
- package/dist/website/main/assets/index-BwgqBNRu.js +0 -1
- package/dist/website/main/assets/index-CG7uKVdX.js +0 -1
- package/dist/website/main/assets/index-CzTcYkCn.css +0 -1
- package/dist/website/main/assets/index-D-uwf4yo.css +0 -1
- package/dist/website/main/assets/index-D6MA33Hi.js +0 -1
- package/dist/website/main/assets/index-Dd8ha0TC.js +0 -1
- package/dist/website/main/assets/index-Diq3BceD.js +0 -1
- package/dist/website/main/assets/index-DkakQhTy.js +0 -1
- package/dist/website/main/assets/index-Dz2nPzxk.js +0 -1
- package/dist/website/main/assets/index-FFTkVbVX.css +0 -1
- package/dist/website/main/assets/index-qsIY_6aA.js +0 -1
- package/dist/website/main/assets/index-rWF_BNTH.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CCaH-GEy.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DPbqR98S.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DTrkhAMQ.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DtCu4Izc.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-1ZphBFBL.js +0 -1
- package/dist/website/main/assets/useVscodeOpen-SZpyzVHG.js +0 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Lc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ue={},Qr=[],xn=()=>{},yh=()=>!1,$i=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ui=e=>e.startsWith("onUpdate:"),bt=Object.assign,Rc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},N_=Object.prototype.hasOwnProperty,Ne=(e,t)=>N_.call(e,t),ue=Array.isArray,Zr=e=>go(e)==="[object Map]",bh=e=>go(e)==="[object Set]",$u=e=>go(e)==="[object Date]",M_=e=>go(e)==="[object RegExp]",he=e=>typeof e=="function",Ke=e=>typeof e=="string",Wt=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",_h=e=>(De(e)||he(e))&&he(e.then)&&he(e.catch),vh=Object.prototype.toString,go=e=>vh.call(e),D_=e=>go(e).slice(8,-1),wh=e=>go(e)==="[object Object]",ji=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=Lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},F_=/-\w/g,It=zi(e=>e.replace(F_,t=>t.slice(1).toUpperCase())),$_=/\B([A-Z])/g,Nr=zi(e=>e.replace($_,"-$1").toLowerCase()),Bi=zi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ys=zi(e=>e?`on${Bi(e)}`:""),Sn=(e,t)=>!Object.is(e,t),Ho=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Eh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},U_=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Uu;const Hi=()=>Uu||(Uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mt(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ke(r)?H_(r):Mt(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ke(e)||De(e))return e}const j_=/;(?![^(]*\))/g,z_=/:([^]+)/,B_=/\/\*[^]*?\*\//g;function H_(e){const t={};return e.replace(B_,"").split(j_).forEach(n=>{if(n){const r=n.split(z_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function We(e){let t="";if(Ke(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=We(e[n]);r&&(t+=r+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function hs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=We(t)),n&&(e.style=Mt(n)),e}const V_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",W_=Lc(V_);function Sh(e){return!!e||e===""}function G_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Nc(e[r],t[r]);return n}function Nc(e,t){if(e===t)return!0;let n=$u(e),r=$u(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Wt(e),r=Wt(t),n||r)return e===t;if(n=ue(e),r=ue(t),n||r)return n&&r?G_(e,t):!1;if(n=De(e),r=De(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Nc(e[i],t[i]))return!1}}return String(e)===String(t)}const Ch=e=>!!(e&&e.__v_isRef===!0),Gn=e=>Ke(e)?e:e==null?"":ue(e)||De(e)&&(e.toString===vh||!he(e.toString))?Ch(e)?Gn(e.value):JSON.stringify(e,kh,2):String(e),kh=(e,t)=>Ch(t)?kh(e,t.value):Zr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ka(r,s)+" =>"]=o,n),{})}:bh(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ka(n))}:Wt(t)?ka(t):De(t)&&!ue(t)&&!wh(t)?String(t):t,ka=(e,t="")=>{var n;return Wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ct;class xh{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ct&&(ct.active?(this.parent=ct,this.index=(ct.scopes||(ct.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ct;try{return ct=this,t()}finally{ct=n}}}on(){++this._on===1&&(this.prevScope=ct,ct=this)}off(){if(this._on>0&&--this._on===0){if(ct===this)ct=this.prevScope;else{let t=ct;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Mc(e){return new xh(e)}function Vi(){return ct}function Th(e,t=!1){ct&&ct.cleanups.push(e)}let He;const xa=new WeakSet;class Ah{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ct&&(ct.active?ct.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xa.has(this)&&(xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ih(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ju(this),Ph(this);const t=He,n=ln;He=this,ln=!0;try{return this.fn()}finally{Lh(this),He=t,ln=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$c(t);this.deps=this.depsTail=void 0,ju(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Il(this)&&this.run()}get dirty(){return Il(this)}}let Oh=0,Vo,Wo;function Ih(e,t=!1){if(e.flags|=8,t){e.next=Wo,Wo=e;return}e.next=Vo,Vo=e}function Dc(){Oh++}function Fc(){if(--Oh>0)return;if(Wo){let t=Wo;for(Wo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vo;){let t=Vo;for(Vo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ph(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Lh(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),$c(r),q_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Il(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Rh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Rh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===es)||(e.globalVersion=es,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Il(e))))return;e.flags|=2;const t=e.dep,n=He,r=ln;He=e,ln=!0;try{Ph(e);const o=e.fn(e._value);(t.version===0||Sn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{He=n,ln=r,Lh(e),e.flags&=-3}}function $c(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)$c(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function q_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ln=!0;const Nh=[];function qn(){Nh.push(ln),ln=!1}function Kn(){const e=Nh.pop();ln=e===void 0?!0:e}function ju(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let es=0;class K_{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!He||!ln||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new K_(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Mh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=r)}return n}trigger(t){this.version++,es++,this.notify(t)}notify(t){Dc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Fc()}}}function Mh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Mh(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ci=new WeakMap,xr=Symbol(""),Pl=Symbol(""),ts=Symbol("");function Et(e,t,n){if(ln&&He){let r=ci.get(e);r||ci.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Wi),o.map=r,o.key=n),o.track()}}function zn(e,t,n,r,o,s){const i=ci.get(e);if(!i){es++;return}const a=l=>{l&&l.trigger()};if(Dc(),t==="clear")i.forEach(a);else{const l=ue(e),c=l&&ji(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===ts||!Wt(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(ts)),t){case"add":l?c&&a(i.get("length")):(a(i.get(xr)),Zr(e)&&a(i.get(Pl)));break;case"delete":l||(a(i.get(xr)),Zr(e)&&a(i.get(Pl)));break;case"set":Zr(e)&&a(i.get(xr));break}}Fc()}function Y_(e,t){const n=ci.get(e);return n&&n.get(t)}function Dr(e){const t=ke(e);return t===e?t:(Et(t,"iterate",ts),Vt(e)?t:t.map(fn))}function Gi(e){return Et(e=ke(e),"iterate",ts),e}function wn(e,t){return Yn(e)?oo(Wn(e)?fn(t):t):fn(t)}const X_={__proto__:null,[Symbol.iterator](){return Ta(this,Symbol.iterator,e=>wn(this,e))},concat(...e){return Dr(this).concat(...e.map(t=>ue(t)?Dr(t):t))},entries(){return Ta(this,"entries",e=>(e[1]=wn(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,n=>n.map(r=>wn(this,r)),arguments)},find(e,t){return Nn(this,"find",e,t,n=>wn(this,n),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,n=>wn(this,n),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Aa(this,"includes",e)},indexOf(...e){return Aa(this,"indexOf",e)},join(e){return Dr(this).join(e)},lastIndexOf(...e){return Aa(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return Co(this,"pop")},push(...e){return Co(this,"push",e)},reduce(e,...t){return zu(this,"reduce",e,t)},reduceRight(e,...t){return zu(this,"reduceRight",e,t)},shift(){return Co(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return Co(this,"splice",e)},toReversed(){return Dr(this).toReversed()},toSorted(e){return Dr(this).toSorted(e)},toSpliced(...e){return Dr(this).toSpliced(...e)},unshift(...e){return Co(this,"unshift",e)},values(){return Ta(this,"values",e=>wn(this,e))}};function Ta(e,t,n){const r=Gi(e),o=r[t]();return r!==e&&!Vt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const J_=Array.prototype;function Nn(e,t,n,r,o,s){const i=Gi(e),a=i!==e&&!Vt(e),l=i[t];if(l!==J_[t]){const f=l.apply(e,s);return a?fn(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,wn(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function zu(e,t,n,r){const o=Gi(e),s=o!==e&&!Vt(e);let i=n,a=!1;o!==e&&(s?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=wn(e,c)),n.call(this,c,wn(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=o[t](i,...r);return a?wn(e,l):l}function Aa(e,t,n){const r=ke(e);Et(r,"iterate",ts);const o=r[t](...n);return(o===-1||o===!1)&&Yi(n[0])?(n[0]=ke(n[0]),r[t](...n)):o}function Co(e,t,n=[]){qn(),Dc();const r=ke(e)[t].apply(e,n);return Fc(),Kn(),r}const Q_=Lc("__proto__,__v_isRef,__isVue"),Dh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wt));function Z_(e){Wt(e)||(e=String(e));const t=ke(this);return Et(t,"has",e),t.hasOwnProperty(e)}class Fh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Hh:Bh:s?zh:jh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ue(t);if(!o){let l;if(i&&(l=X_[n]))return l;if(n==="hasOwnProperty")return Z_}const a=Reflect.get(t,n,Ye(t)?t:r);if((Wt(n)?Dh.has(n):Q_(n))||(o||Et(t,"get",n),s))return a;if(Ye(a)){const l=i&&ji(n)?a:a.value;return o&&De(l)?ui(l):l}return De(a)?o?ui(a):ms(a):a}}class $h extends Fh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=ue(t)&&ji(n);if(!this._isShallow){const c=Yn(s);if(!Vt(r)&&!Yn(r)&&(s=ke(s),r=ke(r)),!i&&Ye(s)&&!Ye(r))return c||(s.value=r),!0}const a=i?Number(n)<t.length:Ne(t,n),l=Reflect.set(t,n,r,Ye(t)?t:o);return t===ke(o)&&(a?Sn(r,s)&&zn(t,"set",n,r):zn(t,"add",n,r)),l}deleteProperty(t,n){const r=Ne(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&zn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Wt(n)||!Dh.has(n))&&Et(t,"has",n),r}ownKeys(t){return Et(t,"iterate",ue(t)?"length":xr),Reflect.ownKeys(t)}}class Uh extends Fh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ev=new $h,tv=new Uh,nv=new $h(!0),rv=new Uh(!0),Ll=e=>e,xs=e=>Reflect.getPrototypeOf(e);function ov(e,t,n){return function(...r){const o=this.__v_raw,s=ke(o),i=Zr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?Ll:t?oo:fn;return!t&&Et(s,"iterate",l?Pl:xr),bt(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function Ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sv(e,t){const n={get(o){const s=this.__v_raw,i=ke(s),a=ke(o);e||(Sn(o,a)&&Et(i,"get",o),Et(i,"get",a));const{has:l}=xs(i),c=t?Ll:e?oo:fn;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Et(ke(o),"iterate",xr),o.size},has(o){const s=this.__v_raw,i=ke(s),a=ke(o);return e||(Sn(o,a)&&Et(i,"has",o),Et(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=ke(a),c=t?Ll:e?oo:fn;return!e&&Et(l,"iterate",xr),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return bt(n,e?{add:Ts("add"),set:Ts("set"),delete:Ts("delete"),clear:Ts("clear")}:{add(o){const s=ke(this),i=xs(s),a=ke(o),l=!t&&!Vt(o)&&!Yn(o)?a:o;return i.has.call(s,l)||Sn(o,l)&&i.has.call(s,o)||Sn(a,l)&&i.has.call(s,a)||(s.add(l),zn(s,"add",l,l)),this},set(o,s){!t&&!Vt(s)&&!Yn(s)&&(s=ke(s));const i=ke(this),{has:a,get:l}=xs(i);let c=a.call(i,o);c||(o=ke(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Sn(s,u)&&zn(i,"set",o,s):zn(i,"add",o,s),this},delete(o){const s=ke(this),{has:i,get:a}=xs(s);let l=i.call(s,o);l||(o=ke(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&zn(s,"delete",o,void 0),c},clear(){const o=ke(this),s=o.size!==0,i=o.clear();return s&&zn(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ov(o,e,t)}),n}function qi(e,t){const n=sv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ne(n,o)&&o in r?n:r,o,s)}const iv={get:qi(!1,!1)},av={get:qi(!1,!0)},lv={get:qi(!0,!1)},cv={get:qi(!0,!0)},jh=new WeakMap,zh=new WeakMap,Bh=new WeakMap,Hh=new WeakMap;function uv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ms(e){return Yn(e)?e:Ki(e,!1,ev,iv,jh)}function Vh(e){return Ki(e,!1,nv,av,zh)}function ui(e){return Ki(e,!0,tv,lv,Bh)}function fv(e){return Ki(e,!0,rv,cv,Hh)}function Ki(e,t,n,r,o){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const i=uv(D_(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Wn(e){return Yn(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function Yi(e){return e?!!e.__v_raw:!1}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Uc(e){return!Ne(e,"__v_skip")&&Object.isExtensible(e)&&Eh(e,"__v_skip",!0),e}const fn=e=>De(e)?ms(e):e,oo=e=>De(e)?ui(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function _e(e){return Wh(e,!1)}function Tn(e){return Wh(e,!0)}function Wh(e,t){return Ye(e)?e:new dv(e,t)}class dv{constructor(t,n){this.dep=new Wi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ke(t),this._value=n?t:fn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Vt(t)||Yn(t);t=r?t:ke(t),Sn(t,n)&&(this._rawValue=t,this._value=r?t:fn(t),this.dep.trigger())}}function Me(e){return Ye(e)?e.value:e}function An(e){return he(e)?e():Me(e)}const pv={get:(e,t,n)=>t==="__v_raw"?e:Me(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ye(o)&&!Ye(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Gh(e){return Wn(e)?e:new Proxy(e,pv)}class hv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wi,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function mv(e){return new hv(e)}function gv(e){const t=ue(e)?new Array(e.length):{};for(const n in e)t[n]=qh(e,n);return t}class yv{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Wt(n)?n:String(n),this._raw=ke(t);let o=!0,s=t;if(!ue(t)||Wt(this._key)||!ji(this._key))do o=!Yi(s)||Vt(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Me(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Y_(this._raw,this._key)}}class bv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function _v(e,t,n){return Ye(e)?e:he(e)?new bv(e):De(e)&&arguments.length>1?qh(e,t,n):_e(e)}function qh(e,t,n){return new yv(e,t,n)}class vv{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=es-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return Ih(this,!0),!0}get value(){const t=this.dep.track();return Rh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function wv(e,t,n=!1){let r,o;return he(e)?r=e:(r=e.get,o=e.set),new vv(r,o,n)}const As={},fi=new WeakMap;let vr;function Ev(e,t=!1,n=vr){if(n){let r=fi.get(n);r||fi.set(n,r=[]),r.push(e)}}function Sv(e,t,n=Ue){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=g=>o?g:Vt(g)||o===!1||o===0?Bn(g,1):Bn(g);let u,f,d,p,h=!1,m=!1;if(Ye(e)?(f=()=>e.value,h=Vt(e)):Wn(e)?(f=()=>c(e),h=!0):ue(e)?(m=!0,h=e.some(g=>Wn(g)||Vt(g)),f=()=>e.map(g=>{if(Ye(g))return g.value;if(Wn(g))return c(g);if(he(g))return l?l(g,2):g()})):he(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qn();try{d()}finally{Kn()}}const g=vr;vr=u;try{return l?l(e,3,[p]):e(p)}finally{vr=g}}:f=xn,t&&o){const g=f,A=o===!0?1/0:o;f=()=>Bn(g(),A)}const b=Vi(),y=()=>{u.stop(),b&&b.active&&Rc(b.effects,u)};if(s&&t){const g=t;t=(...A)=>{g(...A),y()}}let _=m?new Array(e.length).fill(As):As;const E=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const A=u.run();if(o||h||(m?A.some((C,x)=>Sn(C,_[x])):Sn(A,_))){d&&d();const C=vr;vr=u;try{const x=[A,_===As?void 0:m&&_[0]===As?[]:_,p];_=A,l?l(t,3,x):t(...x)}finally{vr=C}}}else u.run()};return a&&a(E),u=new Ah(f),u.scheduler=i?()=>i(E,!1):E,p=g=>Ev(g,!1,u),d=u.onStop=()=>{const g=fi.get(u);if(g){if(l)l(g,4);else for(const A of g)A();fi.delete(u)}},t?r?E(!0):_=u.run():i?i(E.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Bn(e,t=1/0,n){if(t<=0||!De(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(e))Bn(e.value,t,n);else if(ue(e))for(let r=0;r<e.length;r++)Bn(e[r],t,n);else if(bh(e)||Zr(e))e.forEach(r=>{Bn(r,t,n)});else if(wh(e)){for(const r in e)Bn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Bn(e[r],t,n)}return e}function gs(e,t,n,r){try{return r?e(...r):e()}catch(o){Xi(o,t,n)}}function dn(e,t,n,r){if(he(e)){const o=gs(e,t,n,r);return o&&_h(o)&&o.catch(s=>{Xi(s,t,n)}),o}if(ue(e)){const o=[];for(let s=0;s<e.length;s++)o.push(dn(e[s],t,n,r));return o}}function Xi(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ue;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){qn(),gs(s,null,10,[e,l,c]),Kn();return}}Cv(e,n,o,r,i)}function Cv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ot=[];let _n=-1;const eo=[];let or=null,Vr=0;const Kh=Promise.resolve();let di=null;function dr(e){const t=di||Kh;return e?t.then(this?e.bind(this):e):t}function kv(e){let t=_n+1,n=Ot.length;for(;t<n;){const r=t+n>>>1,o=Ot[r],s=ns(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function jc(e){if(!(e.flags&1)){const t=ns(e),n=Ot[Ot.length-1];!n||!(e.flags&2)&&t>=ns(n)?Ot.push(e):Ot.splice(kv(t),0,e),e.flags|=1,Yh()}}function Yh(){di||(di=Kh.then(Jh))}function xv(e){ue(e)?eo.push(...e):or&&e.id===-1?or.splice(Vr+1,0,e):e.flags&1||(eo.push(e),e.flags|=1),Yh()}function Bu(e,t,n=_n+1){for(;n<Ot.length;n++){const r=Ot[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ot.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Xh(e){if(eo.length){const t=[...new Set(eo)].sort((n,r)=>ns(n)-ns(r));if(eo.length=0,or){or.push(...t);return}for(or=t,Vr=0;Vr<or.length;Vr++){const n=or[Vr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}or=null,Vr=0}}const ns=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Jh(e){try{for(_n=0;_n<Ot.length;_n++){const t=Ot[_n];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),gs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_n<Ot.length;_n++){const t=Ot[_n];t&&(t.flags&=-2)}_n=-1,Ot.length=0,Xh(),di=null,(Ot.length||eo.length)&&Jh()}}let mt=null,Qh=null;function pi(e){const t=mt;return mt=e,Qh=e&&e.type.__scopeId||null,t}function Ir(e,t=mt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&bi(-1);const s=pi(t);let i;try{i=e(...o)}finally{pi(s),r._d&&bi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Zh(e,t){if(mt===null)return e;const n=ta(mt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ue]=t[o];s&&(he(s)&&(s={mounted:s,updated:s}),s.deep&&Bn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function yr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(qn(),dn(l,n,8,[e.el,a,e,t]),Kn())}}function to(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function Dt(e,t,n=!1){const r=Rn();if(r||Tr){let o=Tr?Tr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&he(t)?t.call(r&&r.proxy):t}}function zc(){return!!(Rn()||Tr)}const Tv=Symbol.for("v-scx"),Av=()=>Dt(Tv);function Ov(e,t){return Bc(e,null,t)}function Je(e,t,n){return Bc(e,t,n)}function Bc(e,t,n=Ue){const{immediate:r,deep:o,flush:s,once:i}=n,a=bt({},n),l=t&&r||!t&&s!=="post";let c;if(os){if(s==="sync"){const p=Av();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=xn,p.resume=xn,p.pause=xn,p}}const u=St;a.call=(p,h,m)=>dn(p,u,h,m);let f=!1;s==="post"?a.scheduler=p=>{ft(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,h)=>{h?p():jc(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Sv(e,t,a);return os&&(c?c.push(d):l&&d()),d}function Iv(e,t,n){const r=this.proxy,o=Ke(e)?e.includes(".")?em(r,e):()=>r[e]:e.bind(r,r);let s;he(t)?s=t:(s=t.handler,n=t);const i=bs(this),a=Bc(o,s.bind(r),n);return i(),a}function em(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Pv=Symbol("_vte"),Lv=e=>e.__isTeleport,Oa=Symbol("_leaveCb");function Ji(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ji(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function rt(e,t){return he(e)?bt({name:e.name},t,{setup:e}):e}function tm(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nm(e){const t=Rn(),n=Tn(null);if(t){const o=t.refs===Ue?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Hu(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const hi=new WeakMap;function Go(e,t,n,r,o=!1){if(ue(e)){e.forEach((m,b)=>Go(m,t&&(ue(t)?t[b]:t),n,r,o));return}if(lr(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Go(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?ta(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ue?a.refs={}:a.refs,f=a.setupState,d=ke(f),p=f===Ue?yh:m=>Hu(u,m)?!1:Ne(d,m),h=(m,b)=>!(b&&Hu(u,b));if(c!=null&&c!==l){if(Vu(t),Ke(c))u[c]=null,p(c)&&(f[c]=null);else if(Ye(c)){const m=t;h(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(he(l))gs(l,a,12,[i,u]);else{const m=Ke(l),b=Ye(l);if(m||b){const y=()=>{if(e.f){const _=m?p(l)?f[l]:u[l]:h()||!e.k?l.value:u[e.k];if(o)ue(_)&&Rc(_,s);else if(ue(_))_.includes(s)||_.push(s);else if(m)u[l]=[s],p(l)&&(f[l]=u[l]);else{const E=[s];h(l,e.k)&&(l.value=E),e.k&&(u[e.k]=E)}}else m?(u[l]=i,p(l)&&(f[l]=i)):b&&(h(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const _=()=>{y(),hi.delete(e)};_.id=-1,hi.set(e,_),ft(_,n)}else Vu(e),y()}}}function Vu(e){const t=hi.get(e);t&&(t.flags|=8,hi.delete(e))}Hi().requestIdleCallback;Hi().cancelIdleCallback;const lr=e=>!!e.type.__asyncLoader,rm=e=>e.type.__isKeepAlive,Rv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Rn(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,E,g,A,C)=>{const x=_.component;c(_,E,g,0,a),l(x.vnode,_,E,g,x,a,A,_.slotScopeIds,C),ft(()=>{x.isDeactivated=!1,x.a&&Ho(x.a);const w=_.props&&_.props.onVnodeMounted;w&&Xt(w,x.parent,_)},a)},r.deactivate=_=>{const E=_.component;gi(E.m),gi(E.a),c(_,d,null,1,a),ft(()=>{E.da&&Ho(E.da);const g=_.props&&_.props.onVnodeUnmounted;g&&Xt(g,E.parent,_),E.isDeactivated=!0},a)};function p(_){Ia(_),u(_,n,a,!0)}function h(_){o.forEach((E,g)=>{const A=$l(lr(E)?E.type.__asyncResolved||{}:E.type);A&&!_(A)&&m(g)})}function m(_){const E=o.get(_);E&&(!i||!Wr(E,i))?p(E):i&&Ia(i),o.delete(_),s.delete(_)}Je(()=>[e.include,e.exclude],([_,E])=>{_&&h(g=>Ro(_,g)),E&&h(g=>!Ro(E,g))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(yi(n.subTree.type)?ft(()=>{o.set(b,Os(n.subTree))},n.subTree.suspense):o.set(b,Os(n.subTree)))};return Ln(y),sm(y),Zi(()=>{o.forEach(_=>{const{subTree:E,suspense:g}=n,A=Os(E);if(_.type===A.type&&_.key===A.key){Ia(A);const C=A.component.da;C&&ft(C,g);return}p(_)})}),()=>{if(b=null,!t.default)return i=null;const _=t.default(),E=_[0];if(_.length>1)return i=null,_;if(!so(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let g=Os(E);if(g.type===In)return i=null,g;const A=g.type,C=$l(lr(g)?g.type.__asyncResolved||{}:A),{include:x,exclude:w,max:O}=e;if(x&&(!C||!Ro(x,C))||w&&C&&Ro(w,C))return g.shapeFlag&=-257,i=g,E;const F=g.key==null?A:g.key,M=o.get(F);return g.el&&(g=Pr(g),E.shapeFlag&128&&(E.ssContent=g)),b=F,M?(g.el=M.el,g.component=M.component,g.transition&&Ji(g,g.transition),g.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),O&&s.size>parseInt(O,10)&&m(s.values().next().value)),g.shapeFlag|=256,i=g,yi(E.type)?E:g}}},Nv=Rv;function Ro(e,t){return ue(e)?e.some(n=>Ro(n,t)):Ke(e)?e.split(",").includes(t):M_(e)?(e.lastIndex=0,e.test(t)):!1}function Mv(e,t){om(e,"a",t)}function Dv(e,t){om(e,"da",t)}function om(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)rm(o.parent.vnode)&&Fv(r,t,n,o),o=o.parent}}function Fv(e,t,n,r){const o=Qi(t,e,r,!0);yo(()=>{Rc(r[t],o)},n)}function Ia(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Os(e){return e.shapeFlag&128?e.ssContent:e}function Qi(e,t,n=St,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{qn();const a=bs(n),l=dn(t,n,e,i);return a(),Kn(),l});return r?o.unshift(s):o.push(s),s}}const Jn=e=>(t,n=St)=>{(!os||e==="sp")&&Qi(e,(...r)=>t(...r),n)},$v=Jn("bm"),Ln=Jn("m"),Uv=Jn("bu"),sm=Jn("u"),Zi=Jn("bum"),yo=Jn("um"),jv=Jn("sp"),zv=Jn("rtg"),Bv=Jn("rtc");function Hv(e,t=St){Qi("ec",e,t)}const Hc="components",Vv="directives";function im(e,t){return Vc(Hc,e,!0,t)||e}const am=Symbol.for("v-ndc");function Wv(e){return Ke(e)?Vc(Hc,e,!1)||e:e||am}function Gv(e){return Vc(Vv,e)}function Vc(e,t,n=!0,r=!1){const o=mt||St;if(o){const s=o.type;if(e===Hc){const a=$l(s,!1);if(a&&(a===t||a===It(t)||a===Bi(It(t))))return s}const i=Wu(o[e]||s[e],t)||Wu(o.appContext[e],t);return!i&&r?s:i}}function Wu(e,t){return e&&(e[t]||e[It(t)]||e[Bi(It(t))])}function bo(e,t,n,r){let o;const s=n&&n[r],i=ue(e);if(i||Ke(e)){const a=i&&Wn(e);let l=!1,c=!1;a&&(l=!Vt(e),c=Yn(e),e=Gi(e)),o=new Array(e.length);for(let u=0,f=e.length;u<f;u++)o[u]=t(l?c?oo(fn(e[u])):fn(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(De(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function cr(e,t,n={},r,o){if(mt.ce||mt.parent&&lr(mt.parent)&&mt.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ge(),Pt(it,null,[Ze("slot",n,r&&r())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),ge();const i=s&&lm(s(n)),a=n.key||i&&i.key,l=Pt(it,{key:(a&&!Wt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function lm(e){return e.some(t=>so(t)?!(t.type===In||t.type===it&&!lm(t.children)):!0)?e:null}const Rl=e=>e?Tm(e)?ta(e):Rl(e.parent):null,qo=bt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Rl(e.parent),$root:e=>Rl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>um(e),$forceUpdate:e=>e.f||(e.f=()=>{jc(e.update)}),$nextTick:e=>e.n||(e.n=dr.bind(e.proxy)),$watch:e=>Iv.bind(e)}),Pa=(e,t)=>e!==Ue&&!e.__isScriptSetup&&Ne(e,t),qv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Pa(r,t))return i[t]=1,r[t];if(o!==Ue&&Ne(o,t))return i[t]=2,o[t];if(Ne(s,t))return i[t]=3,s[t];if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];Nl&&(i[t]=0)}}const c=qo[t];let u,f;if(c)return t==="$attrs"&&Et(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Ue&&Ne(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Ne(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Pa(o,t)?(o[t]=n,!0):r!==Ue&&Ne(r,t)?(r[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:i}},a){let l;return!!(n[a]||e!==Ue&&a[0]!=="$"&&Ne(e,a)||Pa(t,a)||Ne(s,a)||Ne(r,a)||Ne(qo,a)||Ne(o.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Kv(){return Yv().attrs}function Yv(e){const t=Rn();return t.setupContext||(t.setupContext=Om(t))}function Gu(e){return ue(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Nl=!0;function Xv(e){const t=um(e),n=e.proxy,r=e.ctx;Nl=!1,t.beforeCreate&&qu(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:E,unmounted:g,render:A,renderTracked:C,renderTriggered:x,errorCaptured:w,serverPrefetch:O,expose:F,inheritAttrs:M,components:Z,directives:se,filters:G}=t;if(c&&Jv(c,r,null),i)for(const re in i){const pe=i[re];he(pe)&&(r[re]=pe.bind(n))}if(o){const re=o.call(n,n);De(re)&&(e.data=ms(re))}if(Nl=!0,s)for(const re in s){const pe=s[re],Ge=he(pe)?pe.bind(n,n):he(pe.get)?pe.get.bind(n,n):xn,ht=!he(pe)&&he(pe.set)?pe.set.bind(n):xn,Ie=Y({get:Ge,set:ht});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:V=>Ie.value=V})}if(a)for(const re in a)cm(a[re],r,n,re);if(l){const re=he(l)?l.call(n):l;Reflect.ownKeys(re).forEach(pe=>{to(pe,re[pe])})}u&&qu(u,e,"c");function X(re,pe){ue(pe)?pe.forEach(Ge=>re(Ge.bind(n))):pe&&re(pe.bind(n))}if(X($v,f),X(Ln,d),X(Uv,p),X(sm,h),X(Mv,m),X(Dv,b),X(Hv,w),X(Bv,C),X(zv,x),X(Zi,_),X(yo,g),X(jv,O),ue(F))if(F.length){const re=e.exposed||(e.exposed={});F.forEach(pe=>{Object.defineProperty(re,pe,{get:()=>n[pe],set:Ge=>n[pe]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===xn&&(e.render=A),M!=null&&(e.inheritAttrs=M),Z&&(e.components=Z),se&&(e.directives=se),O&&tm(e)}function Jv(e,t,n=xn){ue(e)&&(e=Ml(e));for(const r in e){const o=e[r];let s;De(o)?"default"in o?s=Dt(o.from||r,o.default,!0):s=Dt(o.from||r):s=Dt(o),Ye(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function qu(e,t,n){dn(ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cm(e,t,n,r){let o=r.includes(".")?em(n,r):()=>n[r];if(Ke(e)){const s=t[e];he(s)&&Je(o,s)}else if(he(e))Je(o,e.bind(n));else if(De(e))if(ue(e))e.forEach(s=>cm(s,t,n,r));else{const s=he(e.handler)?e.handler.bind(n):t[e.handler];he(s)&&Je(o,s,e)}}function um(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>mi(l,c,i,!0)),mi(l,t,i)),De(t)&&s.set(t,l),l}function mi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&mi(e,s,n,!0),o&&o.forEach(i=>mi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Qv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Qv={data:Ku,props:Yu,emits:Yu,methods:No,computed:No,beforeCreate:Tt,created:Tt,beforeMount:Tt,mounted:Tt,beforeUpdate:Tt,updated:Tt,beforeDestroy:Tt,beforeUnmount:Tt,destroyed:Tt,unmounted:Tt,activated:Tt,deactivated:Tt,errorCaptured:Tt,serverPrefetch:Tt,components:No,directives:No,watch:ew,provide:Ku,inject:Zv};function Ku(e,t){return t?e?function(){return bt(he(e)?e.call(this,this):e,he(t)?t.call(this,this):t)}:t:e}function Zv(e,t){return No(Ml(e),Ml(t))}function Ml(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Tt(e,t){return e?[...new Set([].concat(e,t))]:t}function No(e,t){return e?bt(Object.create(null),e,t):t}function Yu(e,t){return e?ue(e)&&ue(t)?[...new Set([...e,...t])]:bt(Object.create(null),Gu(e),Gu(t??{})):t}function ew(e,t){if(!e)return t;if(!t)return e;const n=bt(Object.create(null),e);for(const r in t)n[r]=Tt(e[r],t[r]);return n}function fm(){return{app:null,config:{isNativeTag:yh,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let tw=0;function nw(e,t){return function(r,o=null){he(r)||(r=bt({},r)),o!=null&&!De(o)&&(o=null);const s=fm(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:tw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Iw,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&he(u.install)?(i.add(u),u.install(c,...f)):he(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||Ze(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,ta(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(dn(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=Tr;Tr=c;try{return u()}finally{Tr=f}}};return c}}let Tr=null;const rw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Nr(t)}Modifiers`];function ow(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let o=n;const s=t.startsWith("update:"),i=s&&rw(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ke(u)?u.trim():u)),i.number&&(o=n.map(U_)));let a,l=r[a=Ys(t)]||r[a=Ys(It(t))];!l&&s&&(l=r[a=Ys(Nr(t))]),l&&dn(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,dn(c,e,6,o)}}const sw=new WeakMap;function dm(e,t,n=!1){const r=n?sw:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!he(e)){const l=c=>{const u=dm(c,t,!0);u&&(a=!0,bt(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(De(e)&&r.set(e,null),null):(ue(s)?s.forEach(l=>i[l]=null):bt(i,s),De(e)&&r.set(e,i),i)}function ea(e,t){return!e||!$i(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Nr(t))||Ne(e,t))}function Xu(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,b=pi(e);let y,_;try{if(n.shapeFlag&4){const g=o||r,A=g;y=En(c.call(A,g,u,f,p,d,h)),_=a}else{const g=t;y=En(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),_=t.props?a:iw(a)}}catch(g){Ko.length=0,Xi(g,e,1),y=Ze(In)}let E=y;if(_&&m!==!1){const g=Object.keys(_),{shapeFlag:A}=E;g.length&&A&7&&(s&&g.some(Ui)&&(_=aw(_,s)),E=Pr(E,_,!1,!0))}return n.dirs&&(E=Pr(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ji(E,n.transition),y=E,pi(b),y}const iw=e=>{let t;for(const n in e)(n==="class"||n==="style"||$i(n))&&((t||(t={}))[n]=e[n]);return t},aw=(e,t)=>{const n={};for(const r in e)(!Ui(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function lw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ju(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(pm(i,r,d)&&!ea(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ju(r,i,c):!0:!!i;return!1}function Ju(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(pm(t,e,s)&&!ea(n,s))return!0}return!1}function pm(e,t,n){const r=e[n],o=t[n];return n==="style"&&De(r)&&De(o)?!Nc(r,o):r!==o}function cw({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const hm={},mm=()=>Object.create(hm),gm=e=>Object.getPrototypeOf(e)===hm;function uw(e,t,n,r=!1){const o={},s=mm();e.propsDefaults=Object.create(null),ym(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Vh(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function fw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ke(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(ea(e.emitsOptions,d))continue;const p=t[d];if(l)if(Ne(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=It(d);o[h]=Dl(l,a,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{ym(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Ne(t,f)&&((u=Nr(f))===f||!Ne(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Dl(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Ne(t,f))&&(delete s[f],c=!0)}c&&zn(e.attrs,"set","")}function ym(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Bo(l))continue;const c=t[l];let u;o&&Ne(o,u=It(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:ea(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=ke(n),c=a||Ue;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Dl(o,l,f,c[f],e,!Ne(c,f))}}return i}function Dl(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Ne(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&he(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=bs(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===Nr(n))&&(r=!0))}return r}const dw=new WeakMap;function bm(e,t,n=!1){const r=n?dw:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!he(e)){const u=f=>{l=!0;const[d,p]=bm(f,t,!0);bt(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return De(e)&&r.set(e,Qr),Qr;if(ue(s))for(let u=0;u<s.length;u++){const f=It(s[u]);Qu(f)&&(i[f]=Ue)}else if(s)for(const u in s){const f=It(u);if(Qu(f)){const d=s[u],p=i[f]=ue(d)||he(d)?{type:d}:bt({},d),h=p.type;let m=!1,b=!0;if(ue(h))for(let y=0;y<h.length;++y){const _=h[y],E=he(_)&&_.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(b=!1)}else m=he(h)&&h.name==="Boolean";p[0]=m,p[1]=b,(m||Ne(p,"default"))&&a.push(f)}}const c=[i,a];return De(e)&&r.set(e,c),c}function Qu(e){return e[0]!=="$"&&!Bo(e)}const Wc=e=>e==="_"||e==="_ctx"||e==="$stable",Gc=e=>ue(e)?e.map(En):[En(e)],pw=(e,t,n)=>{if(t._n)return t;const r=Ir((...o)=>Gc(t(...o)),n);return r._c=!1,r},_m=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Wc(o))continue;const s=e[o];if(he(s))t[o]=pw(o,s,r);else if(s!=null){const i=Gc(s);t[o]=()=>i}}},vm=(e,t)=>{const n=Gc(t);e.slots.default=()=>n},wm=(e,t,n)=>{for(const r in t)(n||!Wc(r))&&(e[r]=t[r])},hw=(e,t,n)=>{const r=e.slots=mm();if(e.vnode.shapeFlag&32){const o=t._;o?(wm(r,t,n),n&&Eh(r,"_",o,!0)):_m(t,r)}else t&&vm(e,t)},mw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:wm(o,t,n):(s=!t.$stable,_m(t,o)),i=t}else t&&(vm(e,t),i={default:1});if(s)for(const a in o)!Wc(a)&&i[a]==null&&delete o[a]},ft=vw;function gw(e){return yw(e)}function yw(e,t){const n=Hi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=xn,insertStaticContent:h}=e,m=(k,T,L,U=null,z=null,j=null,v=void 0,S=null,I=!!T.dynamicChildren)=>{if(k===T)return;k&&!Wr(k,T)&&(U=$(k),V(k,z,j,!0),k=null),T.patchFlag===-2&&(I=!1,T.dynamicChildren=null);const{type:R,ref:K,shapeFlag:B}=T;switch(R){case ys:b(k,T,L,U);break;case In:y(k,T,L,U);break;case Ra:k==null&&_(T,L,U,v);break;case it:Z(k,T,L,U,z,j,v,S,I);break;default:B&1?A(k,T,L,U,z,j,v,S,I):B&6?se(k,T,L,U,z,j,v,S,I):(B&64||B&128)&&R.process(k,T,L,U,z,j,v,S,I,te)}K!=null&&z?Go(K,k&&k.ref,j,T||k,!T):K==null&&k&&k.ref!=null&&Go(k.ref,null,j,k,!0)},b=(k,T,L,U)=>{if(k==null)r(T.el=a(T.children),L,U);else{const z=T.el=k.el;T.children!==k.children&&c(z,T.children)}},y=(k,T,L,U)=>{k==null?r(T.el=l(T.children||""),L,U):T.el=k.el},_=(k,T,L,U)=>{[k.el,k.anchor]=h(k.children,T,L,U,k.el,k.anchor)},E=({el:k,anchor:T},L,U)=>{let z;for(;k&&k!==T;)z=d(k),r(k,L,U),k=z;r(T,L,U)},g=({el:k,anchor:T})=>{let L;for(;k&&k!==T;)L=d(k),o(k),k=L;o(T)},A=(k,T,L,U,z,j,v,S,I)=>{if(T.type==="svg"?v="svg":T.type==="math"&&(v="mathml"),k==null)C(T,L,U,z,j,v,S,I);else{const R=k.el&&k.el._isVueCE?k.el:null;try{R&&R._beginPatch(),O(k,T,z,j,v,S,I)}finally{R&&R._endPatch()}}},C=(k,T,L,U,z,j,v,S)=>{let I,R;const{props:K,shapeFlag:B,transition:P,dirs:D}=k;if(I=k.el=i(k.type,j,K&&K.is,K),B&8?u(I,k.children):B&16&&w(k.children,I,null,U,z,La(k,j),v,S),D&&yr(k,null,U,"created"),x(I,k,k.scopeId,v,U),K){for(const ae in K)ae!=="value"&&!Bo(ae)&&s(I,ae,null,K[ae],j,U);"value"in K&&s(I,"value",null,K.value,j),(R=K.onVnodeBeforeMount)&&Xt(R,U,k)}D&&yr(k,null,U,"beforeMount");const ne=bw(z,P);ne&&P.beforeEnter(I),r(I,T,L),((R=K&&K.onVnodeMounted)||ne||D)&&ft(()=>{R&&Xt(R,U,k),ne&&P.enter(I),D&&yr(k,null,U,"mounted")},z)},x=(k,T,L,U,z)=>{if(L&&p(k,L),U)for(let j=0;j<U.length;j++)p(k,U[j]);if(z){let j=z.subTree;if(T===j||yi(j.type)&&(j.ssContent===T||j.ssFallback===T)){const v=z.vnode;x(k,v,v.scopeId,v.slotScopeIds,z.parent)}}},w=(k,T,L,U,z,j,v,S,I=0)=>{for(let R=I;R<k.length;R++){const K=k[R]=S?jn(k[R]):En(k[R]);m(null,K,T,L,U,z,j,v,S)}},O=(k,T,L,U,z,j,v)=>{const S=T.el=k.el;let{patchFlag:I,dynamicChildren:R,dirs:K}=T;I|=k.patchFlag&16;const B=k.props||Ue,P=T.props||Ue;let D;if(L&&br(L,!1),(D=P.onVnodeBeforeUpdate)&&Xt(D,L,T,k),K&&yr(T,k,L,"beforeUpdate"),L&&br(L,!0),(B.innerHTML&&P.innerHTML==null||B.textContent&&P.textContent==null)&&u(S,""),R?F(k.dynamicChildren,R,S,L,U,La(T,z),j):v||pe(k,T,S,null,L,U,La(T,z),j,!1),I>0){if(I&16)M(S,B,P,L,z);else if(I&2&&B.class!==P.class&&s(S,"class",null,P.class,z),I&4&&s(S,"style",B.style,P.style,z),I&8){const ne=T.dynamicProps;for(let ae=0;ae<ne.length;ae++){const ve=ne[ae],Fe=B[ve],Pe=P[ve];(Pe!==Fe||ve==="value")&&s(S,ve,Fe,Pe,z,L)}}I&1&&k.children!==T.children&&u(S,T.children)}else!v&&R==null&&M(S,B,P,L,z);((D=P.onVnodeUpdated)||K)&&ft(()=>{D&&Xt(D,L,T,k),K&&yr(T,k,L,"updated")},U)},F=(k,T,L,U,z,j,v)=>{for(let S=0;S<T.length;S++){const I=k[S],R=T[S],K=I.el&&(I.type===it||!Wr(I,R)||I.shapeFlag&198)?f(I.el):L;m(I,R,K,null,U,z,j,v,!0)}},M=(k,T,L,U,z)=>{if(T!==L){if(T!==Ue)for(const j in T)!Bo(j)&&!(j in L)&&s(k,j,T[j],null,z,U);for(const j in L){if(Bo(j))continue;const v=L[j],S=T[j];v!==S&&j!=="value"&&s(k,j,S,v,z,U)}"value"in L&&s(k,"value",T.value,L.value,z)}},Z=(k,T,L,U,z,j,v,S,I)=>{const R=T.el=k?k.el:a(""),K=T.anchor=k?k.anchor:a("");let{patchFlag:B,dynamicChildren:P,slotScopeIds:D}=T;D&&(S=S?S.concat(D):D),k==null?(r(R,L,U),r(K,L,U),w(T.children||[],L,K,z,j,v,S,I)):B>0&&B&64&&P&&k.dynamicChildren&&k.dynamicChildren.length===P.length?(F(k.dynamicChildren,P,L,z,j,v,S),(T.key!=null||z&&T===z.subTree)&&Em(k,T,!0)):pe(k,T,L,K,z,j,v,S,I)},se=(k,T,L,U,z,j,v,S,I)=>{T.slotScopeIds=S,k==null?T.shapeFlag&512?z.ctx.activate(T,L,U,v,I):G(T,L,U,z,j,v,I):J(k,T,I)},G=(k,T,L,U,z,j,v)=>{const S=k.component=kw(k,U,z);if(rm(k)&&(S.ctx.renderer=te),xw(S,!1,v),S.asyncDep){if(z&&z.registerDep(S,X,v),!k.el){const I=S.subTree=Ze(In);y(null,I,T,L),k.placeholder=I.el}}else X(S,k,T,L,z,j,v)},J=(k,T,L)=>{const U=T.component=k.component;if(lw(k,T,L))if(U.asyncDep&&!U.asyncResolved){re(U,T,L);return}else U.next=T,U.update();else T.el=k.el,U.vnode=T},X=(k,T,L,U,z,j,v)=>{const S=()=>{if(k.isMounted){let{next:B,bu:P,u:D,parent:ne,vnode:ae}=k;{const nn=Sm(k);if(nn){B&&(B.el=ae.el,re(k,B,v)),nn.asyncDep.then(()=>{ft(()=>{k.isUnmounted||R()},z)});return}}let ve=B,Fe;br(k,!1),B?(B.el=ae.el,re(k,B,v)):B=ae,P&&Ho(P),(Fe=B.props&&B.props.onVnodeBeforeUpdate)&&Xt(Fe,ne,B,ae),br(k,!0);const Pe=Xu(k),Kt=k.subTree;k.subTree=Pe,m(Kt,Pe,f(Kt.el),$(Kt),k,z,j),B.el=Pe.el,ve===null&&cw(k,Pe.el),D&&ft(D,z),(Fe=B.props&&B.props.onVnodeUpdated)&&ft(()=>Xt(Fe,ne,B,ae),z)}else{let B;const{el:P,props:D}=T,{bm:ne,m:ae,parent:ve,root:Fe,type:Pe}=k,Kt=lr(T);br(k,!1),ne&&Ho(ne),!Kt&&(B=D&&D.onVnodeBeforeMount)&&Xt(B,ve,T),br(k,!0);{Fe.ce&&Fe.ce._hasShadowRoot()&&Fe.ce._injectChildStyle(Pe,k.parent?k.parent.type:void 0);const nn=k.subTree=Xu(k);m(null,nn,L,U,k,z,j),T.el=nn.el}if(ae&&ft(ae,z),!Kt&&(B=D&&D.onVnodeMounted)){const nn=T;ft(()=>Xt(B,ve,nn),z)}(T.shapeFlag&256||ve&&lr(ve.vnode)&&ve.vnode.shapeFlag&256)&&k.a&&ft(k.a,z),k.isMounted=!0,T=L=U=null}};k.scope.on();const I=k.effect=new Ah(S);k.scope.off();const R=k.update=I.run.bind(I),K=k.job=I.runIfDirty.bind(I);K.i=k,K.id=k.uid,I.scheduler=()=>jc(K),br(k,!0),R()},re=(k,T,L)=>{T.component=k;const U=k.vnode.props;k.vnode=T,k.next=null,fw(k,T.props,U,L),mw(k,T.children,L),qn(),Bu(k),Kn()},pe=(k,T,L,U,z,j,v,S,I=!1)=>{const R=k&&k.children,K=k?k.shapeFlag:0,B=T.children,{patchFlag:P,shapeFlag:D}=T;if(P>0){if(P&128){ht(R,B,L,U,z,j,v,S,I);return}else if(P&256){Ge(R,B,L,U,z,j,v,S,I);return}}D&8?(K&16&&le(R,z,j),B!==R&&u(L,B)):K&16?D&16?ht(R,B,L,U,z,j,v,S,I):le(R,z,j,!0):(K&8&&u(L,""),D&16&&w(B,L,U,z,j,v,S,I))},Ge=(k,T,L,U,z,j,v,S,I)=>{k=k||Qr,T=T||Qr;const R=k.length,K=T.length,B=Math.min(R,K);let P;for(P=0;P<B;P++){const D=T[P]=I?jn(T[P]):En(T[P]);m(k[P],D,L,null,z,j,v,S,I)}R>K?le(k,z,j,!0,!1,B):w(T,L,U,z,j,v,S,I,B)},ht=(k,T,L,U,z,j,v,S,I)=>{let R=0;const K=T.length;let B=k.length-1,P=K-1;for(;R<=B&&R<=P;){const D=k[R],ne=T[R]=I?jn(T[R]):En(T[R]);if(Wr(D,ne))m(D,ne,L,null,z,j,v,S,I);else break;R++}for(;R<=B&&R<=P;){const D=k[B],ne=T[P]=I?jn(T[P]):En(T[P]);if(Wr(D,ne))m(D,ne,L,null,z,j,v,S,I);else break;B--,P--}if(R>B){if(R<=P){const D=P+1,ne=D<K?T[D].el:U;for(;R<=P;)m(null,T[R]=I?jn(T[R]):En(T[R]),L,ne,z,j,v,S,I),R++}}else if(R>P)for(;R<=B;)V(k[R],z,j,!0),R++;else{const D=R,ne=R,ae=new Map;for(R=ne;R<=P;R++){const zt=T[R]=I?jn(T[R]):En(T[R]);zt.key!=null&&ae.set(zt.key,R)}let ve,Fe=0;const Pe=P-ne+1;let Kt=!1,nn=0;const So=new Array(Pe);for(R=0;R<Pe;R++)So[R]=0;for(R=D;R<=B;R++){const zt=k[R];if(Fe>=Pe){V(zt,z,j,!0);continue}let gn;if(zt.key!=null)gn=ae.get(zt.key);else for(ve=ne;ve<=P;ve++)if(So[ve-ne]===0&&Wr(zt,T[ve])){gn=ve;break}gn===void 0?V(zt,z,j,!0):(So[gn-ne]=R+1,gn>=nn?nn=gn:Kt=!0,m(zt,T[gn],L,null,z,j,v,S,I),Fe++)}const Mu=Kt?_w(So):Qr;for(ve=Mu.length-1,R=Pe-1;R>=0;R--){const zt=ne+R,gn=T[zt],Du=T[zt+1],Fu=zt+1<K?Du.el||Cm(Du):U;So[R]===0?m(null,gn,L,Fu,z,j,v,S,I):Kt&&(ve<0||R!==Mu[ve]?Ie(gn,L,Fu,2):ve--)}}},Ie=(k,T,L,U,z=null)=>{const{el:j,type:v,transition:S,children:I,shapeFlag:R}=k;if(R&6){Ie(k.component.subTree,T,L,U);return}if(R&128){k.suspense.move(T,L,U);return}if(R&64){v.move(k,T,L,te);return}if(v===it){r(j,T,L);for(let B=0;B<I.length;B++)Ie(I[B],T,L,U);r(k.anchor,T,L);return}if(v===Ra){E(k,T,L);return}if(U!==2&&R&1&&S)if(U===0)S.persisted&&!j[Oa]?r(j,T,L):(S.beforeEnter(j),r(j,T,L),ft(()=>S.enter(j),z));else{const{leave:B,delayLeave:P,afterLeave:D}=S,ne=()=>{k.ctx.isUnmounted?o(j):r(j,T,L)},ae=()=>{const ve=j._isLeaving||!!j[Oa];j._isLeaving&&j[Oa](!0),S.persisted&&!ve?ne():B(j,()=>{ne(),D&&D()})};P?P(j,ne,ae):ae()}else r(j,T,L)},V=(k,T,L,U=!1,z=!1)=>{const{type:j,props:v,ref:S,children:I,dynamicChildren:R,shapeFlag:K,patchFlag:B,dirs:P,cacheIndex:D,memo:ne}=k;if(B===-2&&(z=!1),S!=null&&(qn(),Go(S,null,L,k,!0),Kn()),D!=null&&(T.renderCache[D]=void 0),K&256){T.ctx.deactivate(k);return}const ae=K&1&&P,ve=!lr(k);let Fe;if(ve&&(Fe=v&&v.onVnodeBeforeUnmount)&&Xt(Fe,T,k),K&6)fe(k.component,L,U);else{if(K&128){k.suspense.unmount(L,U);return}ae&&yr(k,null,T,"beforeUnmount"),K&64?k.type.remove(k,T,L,te,U):R&&!R.hasOnce&&(j!==it||B>0&&B&64)?le(R,T,L,!1,!0):(j===it&&B&384||!z&&K&16)&&le(I,T,L),U&&ee(k)}const Pe=ne!=null&&D==null;(ve&&(Fe=v&&v.onVnodeUnmounted)||ae||Pe)&&ft(()=>{Fe&&Xt(Fe,T,k),ae&&yr(k,null,T,"unmounted"),Pe&&(k.el=null)},L)},ee=k=>{const{type:T,el:L,anchor:U,transition:z}=k;if(T===it){oe(L,U);return}if(T===Ra){g(k);return}const j=()=>{o(L),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(k.shapeFlag&1&&z&&!z.persisted){const{leave:v,delayLeave:S}=z,I=()=>v(L,j);S?S(k.el,j,I):I()}else j()},oe=(k,T)=>{let L;for(;k!==T;)L=d(k),o(k),k=L;o(T)},fe=(k,T,L)=>{const{bum:U,scope:z,job:j,subTree:v,um:S,m:I,a:R}=k;gi(I),gi(R),U&&Ho(U),z.stop(),j&&(j.flags|=8,V(v,k,T,L)),S&&ft(S,T),ft(()=>{k.isUnmounted=!0},T)},le=(k,T,L,U=!1,z=!1,j=0)=>{for(let v=j;v<k.length;v++)V(k[v],T,L,U,z)},$=k=>{if(k.shapeFlag&6)return $(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const T=d(k.anchor||k.el),L=T&&T[Pv];return L?d(L):T};let q=!1;const H=(k,T,L)=>{let U;k==null?T._vnode&&(V(T._vnode,null,null,!0),U=T._vnode.component):m(T._vnode||null,k,T,null,null,null,L),T._vnode=k,q||(q=!0,Bu(U),Xh(),q=!1)},te={p:m,um:V,m:Ie,r:ee,mt:G,mc:w,pc:pe,pbc:F,n:$,o:e};return{render:H,hydrate:void 0,createApp:nw(H)}}function La({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function br({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function bw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Em(e,t,n=!1){const r=e.children,o=t.children;if(ue(r)&&ue(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=jn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Em(i,a)),a.type===ys&&(a.patchFlag===-1&&(a=o[s]=jn(a)),a.el=i.el),a.type===In&&!a.el&&(a.el=i.el)}}function _w(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Sm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sm(t)}function gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Cm(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Cm(t.subTree):null}const yi=e=>e.__isSuspense;function vw(e,t){t&&t.pendingBranch?ue(e)?t.effects.push(...e):t.effects.push(e):xv(e)}const it=Symbol.for("v-fgt"),ys=Symbol.for("v-txt"),In=Symbol.for("v-cmt"),Ra=Symbol.for("v-stc"),Ko=[];let Ht=null;function ge(e=!1){Ko.push(Ht=e?null:[])}function ww(){Ko.pop(),Ht=Ko[Ko.length-1]||null}let rs=1;function bi(e,t=!1){rs+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function km(e){return e.dynamicChildren=rs>0?Ht||Qr:null,ww(),rs>0&&Ht&&Ht.push(e),e}function je(e,t,n,r,o,s){return km(qe(e,t,n,r,o,s,!0))}function Pt(e,t,n,r,o){return km(Ze(e,t,n,r,o,!0))}function so(e){return e?e.__v_isVNode===!0:!1}function Wr(e,t){return e.type===t.type&&e.key===t.key}const xm=({key:e})=>e??null,Xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||Ye(e)||he(e)?{i:mt,r:e,k:t,f:!!n}:e:null);function qe(e,t=null,n=null,r=0,o=null,s=e===it?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xm(t),ref:t&&Xs(t),scopeId:Qh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mt};return a?(qc(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),rs>0&&!i&&Ht&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ht.push(l),l}const Ze=Ew;function Ew(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===am)&&(e=In),so(e)){const a=Pr(e,t,!0);return n&&qc(a,n),rs>0&&!s&&Ht&&(a.shapeFlag&6?Ht[Ht.indexOf(e)]=a:Ht.push(a)),a.patchFlag=-2,a}if(Ow(e)&&(e=e.__vccOpts),t){t=_o(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=We(a)),De(l)&&(Yi(l)&&!ue(l)&&(l=bt({},l)),t.style=Mt(l))}const i=Ke(e)?1:yi(e)?128:Lv(e)?64:De(e)?4:he(e)?2:0;return qe(e,t,n,r,o,i,s,!0)}function _o(e){return e?Yi(e)||gm(e)?bt({},e):e:null}function Pr(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?io(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&xm(c),ref:t&&t.ref?n&&s?ue(s)?s.concat(Xs(t)):[s,Xs(t)]:Xs(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==it?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pr(e.ssContent),ssFallback:e.ssFallback&&Pr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ji(u,l.clone(u)),u}function _i(e=" ",t=0){return Ze(ys,null,e,t)}function cn(e="",t=!1){return t?(ge(),Pt(In,null,e)):Ze(In,null,e)}function En(e){return e==null||typeof e=="boolean"?Ze(In):ue(e)?Ze(it,null,e.slice()):so(e)?jn(e):Ze(ys,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pr(e)}function qc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ue(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),qc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!gm(t)?t._ctx=mt:o===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else he(t)?(t={default:t,_ctx:mt},n=32):(t=String(t),r&64?(n=16,t=[_i(t)]):n=8);e.children=t,e.shapeFlag|=n}function io(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=We([t.class,r.class]));else if(o==="style")t.style=Mt([t.style,r.style]);else if($i(o)){const s=t[o],i=r[o];i&&s!==i&&!(ue(s)&&s.includes(i))?t[o]=s?[].concat(s,i):i:i==null&&s==null&&!Ui(o)&&(t[o]=i)}else o!==""&&(t[o]=r[o])}return t}function Xt(e,t,n,r=null){dn(e,t,7,[n,r])}const Sw=fm();let Cw=0;function kw(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Sw,s={uid:Cw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xh(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bm(r,o),emitsOptions:dm(r,o),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=ow.bind(null,s),e.ce&&e.ce(s),s}let St=null;const Rn=()=>St||mt;let vi,Fl;{const e=Hi(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Fl=t("__VUE_SSR_SETTERS__",n=>os=n)}const bs=e=>{const t=St;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}},Zu=()=>{St&&St.scope.off(),vi(null)};function Tm(e){return e.vnode.shapeFlag&4}let os=!1;function xw(e,t=!1,n=!1){t&&Fl(t);const{props:r,children:o}=e.vnode,s=Tm(e);uw(e,r,s,t),hw(e,o,n||t);const i=s?Tw(e,t):void 0;return t&&Fl(!1),i}function Tw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qv);const{setup:r}=n;if(r){qn();const o=e.setupContext=r.length>1?Om(e):null,s=bs(e),i=gs(r,e,0,[e.props,o]),a=_h(i);if(Kn(),s(),(a||e.sp)&&!lr(e)&&tm(e),a){if(i.then(Zu,Zu),t)return i.then(l=>{ef(e,l)}).catch(l=>{Xi(l,e,0)});e.asyncDep=i}else ef(e,i)}else Am(e)}function ef(e,t,n){he(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=Gh(t)),Am(e)}function Am(e,t,n){const r=e.type;e.render||(e.render=r.render||xn);{const o=bs(e);qn();try{Xv(e)}finally{Kn(),o()}}}const Aw={get(e,t){return Et(e,"get",""),e[t]}};function Om(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Aw),slots:e.slots,emit:e.emit,expose:t}}function ta(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gh(Uc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qo)return qo[n](e)},has(t,n){return n in t||n in qo}})):e.proxy}function $l(e,t=!0){return he(e)?e.displayName||e.name:e.name||t&&e.__name}function Ow(e){return he(e)&&"__vccOpts"in e}const Y=(e,t)=>wv(e,t,os);function ur(e,t,n){try{bi(-1);const r=arguments.length;return r===2?De(t)&&!ue(t)?so(t)?Ze(e,null,[t]):Ze(e,t):Ze(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&so(n)&&(n=[n]),Ze(e,t,n))}finally{bi(1)}}const Iw="3.5.35";let Ul;const tf=typeof window<"u"&&window.trustedTypes;if(tf)try{Ul=tf.createPolicy("vue",{createHTML:e=>e})}catch{}const Im=Ul?e=>Ul.createHTML(e):e=>e,Pw="http://www.w3.org/2000/svg",Lw="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,nf=Un&&Un.createElement("template"),Rw={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(Pw,e):t==="mathml"?Un.createElementNS(Lw,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{nf.innerHTML=Im(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=nf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Nw=Symbol("_vtc");function Mw(e,t,n){const r=e[Nw];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wi=Symbol("_vod"),Pm=Symbol("_vsh"),Dw={name:"show",beforeMount(e,{value:t},{transition:n}){e[wi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ko(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ko(e,!0),r.enter(e)):r.leave(e,()=>{ko(e,!1)}):ko(e,t))},beforeUnmount(e,{value:t}){ko(e,t)}};function ko(e,t){e.style.display=t?e[wi]:"none",e[Pm]=!t}const Fw=Symbol(""),$w=/(?:^|;)\s*display\s*:/;function Uw(e,t,n){const r=e.style,o=Ke(n);let s=!1;if(n&&!o){if(t)if(Ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Mo(r,a,"")}else for(const i in t)n[i]==null&&Mo(r,i,"");for(const i in n){i==="display"&&(s=!0);const a=n[i];a!=null?zw(e,i,!Ke(t)&&t?t[i]:void 0,a)||Mo(r,i,a):Mo(r,i,"")}}else if(o){if(t!==n){const i=r[Fw];i&&(n+=";"+i),r.cssText=n,s=$w.test(n)}}else t&&e.removeAttribute("style");wi in e&&(e[wi]=s?r.display:"",e[Pm]&&(r.display="none"))}const rf=/\s*!important$/;function Mo(e,t,n){if(ue(n))n.forEach(r=>Mo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jw(e,t);rf.test(n)?e.setProperty(Nr(r),n.replace(rf,""),"important"):e[r]=n}}const of=["Webkit","Moz","ms"],Na={};function jw(e,t){const n=Na[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return Na[t]=r;r=Bi(r);for(let o=0;o<of.length;o++){const s=of[o]+r;if(s in e)return Na[t]=s}return t}function zw(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ke(r)&&n===r}const sf="http://www.w3.org/1999/xlink";function af(e,t,n,r,o,s=W_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(sf,t.slice(6,t.length)):e.setAttributeNS(sf,t,n):n==null||s&&!Sh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Wt(n)?String(n):n)}function lf(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Im(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Sh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function Bw(e,t,n,r){e.addEventListener(t,n,r)}function Hw(e,t,n,r){e.removeEventListener(t,n,r)}const cf=Symbol("_vei");function Vw(e,t,n,r,o=null){const s=e[cf]||(e[cf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Ww(t);if(r){const c=s[t]=Kw(r,o);Bw(e,a,c,l)}else i&&(Hw(e,a,i,l),s[t]=void 0)}}const uf=/(?:Once|Passive|Capture)$/;function Ww(e){let t;if(uf.test(e)){t={};let r;for(;r=e.match(uf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Nr(e.slice(2)),t]}let Ma=0;const Gw=Promise.resolve(),qw=()=>Ma||(Gw.then(()=>Ma=0),Ma=Date.now());function Kw(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(ue(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const i=o.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const c=i[l];c&&dn(c,t,5,a)}}else dn(o,t,5,[r])};return n.value=e,n.attached=qw(),n}const ff=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yw=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?Mw(e,r,i):t==="style"?Uw(e,n,r):$i(t)?Ui(t)||Vw(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xw(e,t,r,i))?(lf(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&af(e,t,r,i,s,t!=="value")):e._isVueCE&&(Jw(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ke(r)))?lf(e,It(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),af(e,t,r,i))};function Xw(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ff(t)&&he(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ff(t)&&Ke(n)?!1:t in e}function Jw(e,t){const n=e._def.props;if(!n)return!1;const r=It(t);return Array.isArray(n)?n.some(o=>It(o)===r):Object.keys(n).some(o=>It(o)===r)}const Qw=["ctrl","shift","alt","meta"],Zw={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qw.some(n=>e[`${n}Key`]&&!t.includes(n))},df=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let i=0;i<t.length;i++){const a=Zw[t[i]];if(a&&a(o,t))return}return e(o,...s)}))},eE=bt({patchProp:Yw},Rw);let pf;function tE(){return pf||(pf=gw(eE))}const nE=((...e)=>{const t=tE().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=oE(r);if(!o)return;const s=t._component;!he(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,rE(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function rE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function oE(e){return Ke(e)?document.querySelector(e):e}const Da=new WeakMap,sE=(...e)=>{var t;const n=e[0],r=(t=Rn())===null||t===void 0?void 0:t.proxy,o=r??Vi();if(o==null&&!zc())throw new Error("injectLocal must be called in setup");return o&&Da.has(o)&&n in Da.get(o)?Da.get(o)[n]:Dt(...e)},iE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aE=Object.prototype.toString,lE=e=>aE.call(e)==="[object Object]",cE=()=>{};function Lm(...e){if(e.length!==1)return _v(...e);const t=e[0];return typeof t=="function"?ui(mv(()=>({get:t,set:cE}))):_e(t)}function uE(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Rm=e=>e();function fE(e=Rm,t={}){const{initialState:n="active"}=t,r=Lm(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:fv(r),pause:o,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function hf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Fa(e){return Array.isArray(e)?e:[e]}function dE(e){return Rn()}function pE(e,t,n={}){const{eventFilter:r=Rm,...o}=n;return Je(e,uE(r,t),o)}function hE(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=fE(r,{initialState:o});return{stop:pE(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function Nm(e,t=!0,n){dE()?Ln(e,n):t?e():dr(e)}function mE(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Ye(e),s=Tn(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=An(n);return s.value=s.value===l?An(r):l,s.value}}return o?i:[s,i]}function gE(e,t,n){return Je(e,t,{...n,immediate:!0})}const Er=iE?window:void 0;function Mm(e){var t;const n=An(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function jl(...e){const t=(r,o,s,i)=>(r.addEventListener(o,s,i),()=>r.removeEventListener(o,s,i)),n=Y(()=>{const r=Fa(An(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return gE(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>Mm(s)))!==null&&r!==void 0?r:[Er].filter(s=>s!=null),Fa(An(n.value?e[1]:e[0])),Fa(Me(n.value?e[2]:e[1])),An(n.value?e[3]:e[2])]},([r,o,s,i],a,l)=>{if(!r?.length||!o?.length||!s?.length)return;const c=lE(i)?{...i}:i,u=r.flatMap(f=>o.flatMap(d=>s.map(p=>t(f,d,p,c))));l(()=>{u.forEach(f=>f())})},{flush:"post"})}function yE(){const e=Tn(!1),t=Rn();return t&&Ln(()=>{e.value=!0},t),e}function bE(e){const t=yE();return Y(()=>(t.value,!!e()))}const _E=Symbol("vueuse-ssr-width");function vE(){const e=zc()?sE(_E,null):null;return typeof e=="number"?e:void 0}function wE(e,t={}){const{window:n=Er,ssrWidth:r=vE()}=t,o=bE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Tn(typeof r=="number"),i=Tn(),a=Tn(!1),l=c=>{a.value=c.matches};return Ov(()=>{if(s.value){s.value=!o.value,a.value=An(e).split(",").some(c=>{const u=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=r>=hf(f[1])),d&&p&&(p=r<=hf(d[1])),u?!p:p});return}o.value&&(i.value=n.matchMedia(An(e)),a.value=i.value.matches)}),jl(i,"change",l,{passive:!0}),Y(()=>a.value)}const Is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ps="__vueuse_ssr_handlers__",EE=SE();function SE(){return Ps in Is||(Is[Ps]=Is[Ps]||{}),Is[Ps]}function Dm(e,t){return EE[e]||t}function CE(e){return wE("(prefers-color-scheme: dark)",e)}function kE(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const xE={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},mf="vueuse-storage";function TE(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Er,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,m=(u?Tn:_e)(typeof t=="function"?t():t),b=Y(()=>An(e));if(!n)try{n=Dm("getDefaultStorage",()=>Er?.localStorage)()}catch(G){p(G)}if(!n)return m;const y=An(t),_=kE(y),E=(o=r.serializer)!==null&&o!==void 0?o:xE[_],{pause:g,resume:A}=hE(m,G=>F(G),{flush:s,deep:i,eventFilter:d});Je(b,()=>Z(),{flush:s});let C=!1;const x=G=>{h&&!C||Z(G)},w=G=>{h&&!C||se(G)};f&&a&&(n instanceof Storage?jl(f,"storage",x,{passive:!0}):jl(f,mf,w)),h?Nm(()=>{C=!0,Z()}):Z();function O(G,J){if(f){const X={key:b.value,oldValue:G,newValue:J,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",X):new CustomEvent(mf,{detail:X}))}}function F(G){try{const J=n.getItem(b.value);if(G==null)O(J,null),n.removeItem(b.value);else{const X=E.write(G);J!==X&&(n.setItem(b.value,X),O(J,X))}}catch(J){p(J)}}function M(G){const J=G?G.newValue:n.getItem(b.value);if(J==null)return l&&y!=null&&n.setItem(b.value,E.write(y)),y;if(!G&&c){const X=E.read(J);return typeof c=="function"?c(X,y):_==="object"&&!Array.isArray(X)?{...y,...X}:X}else return typeof J!="string"?J:E.read(J)}function Z(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){m.value=y;return}if(!(G&&G.key!==b.value)){g();try{const J=E.write(m.value);(G===void 0||G?.newValue!==J)&&(m.value=M(G))}catch(J){p(J)}finally{G?dr(A):A()}}}}function se(G){Z(G.detail)}return m}const AE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OE(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Er,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=CE({window:o}),p=Y(()=>d.value?"dark":"light"),h=l||(i==null?Lm(r):TE(i,r,s,{window:o,listenToStorageChanges:a})),m=Y(()=>h.value==="auto"?p.value:h.value),b=Dm("updateHTMLAttrs",(g,A,C)=>{const x=typeof g=="string"?o?.document.querySelector(g):Mm(g);if(!x)return;const w=new Set,O=new Set;let F=null;if(A==="class"){const Z=C.split(/\s/g);Object.values(f).flatMap(se=>(se||"").split(/\s/g)).filter(Boolean).forEach(se=>{Z.includes(se)?w.add(se):O.add(se)})}else F={key:A,value:C};if(w.size===0&&O.size===0&&F===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(AE)),o.document.head.appendChild(M));for(const Z of w)x.classList.add(Z);for(const Z of O)x.classList.remove(Z);F&&x.setAttribute(F.key,F.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(g){var A;b(t,n,(A=f[g])!==null&&A!==void 0?A:g)}function _(g){e.onChanged?e.onChanged(g,y):y(g)}Je(m,_,{flush:"post",immediate:!0}),Nm(()=>_(m.value));const E=Y({get(){return c?h.value:m.value},set(g){h.value=g}});return Object.assign(E,{store:h,system:p,state:m})}function Kc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=OE({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=Y(()=>r.system.value);return Y({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}const IE="local://",PE="main",LE="container",RE="item",NE="/__global_config__",ME="/node_modules/.prebuild_module",DE="_metadata.json",FE="/_module_load_prefix_",$E="/_node_modules_load_prefix_",UE="/_comp_preview_prefix_local_",jE="/__proxy__",zE="/__master__",BE="__remote__",HE="__local__",VE="https://api.comphub.cn:5696",WE="http://localhost:7002",GE="http://localhost:5000",qE="http://localhost:5001",KE="Comp Hub",YE="csrfToken",XE="authorization",JE="x-refresh-token",QE="x-csrf-token",ZE="accept-language",eS="comp-hub-db",tS="file-compiled",nS="https://oss.comphub.cn",rS="oss:sts:token",oS="oss:sts:expire",sS="comp.json",iS="README.md",aS="/.comp_hub_temp",lS="main.js",cS="index.vue",Fm="list_local",$m="list_remote",uS={COMP_LIST_TYPE_LOCAL:Fm,COMP_LIST_TYPE_REMOTE:$m},Um="config",jm="error",zm="dir",Bm="preview",Hm="extra",Vm="deps",Wm="upgradeLog",Gm="readme",fS={TAB_TYPE_CONFIG:Um,TAB_TYPE_ERROR:jm,TAB_TYPE_DIR:zm,TAB_TYPE_PREVIEW:Bm,TAB_TYPE_EXTRA:Hm,TAB_TYPE_DEPS:Vm,TAB_TYPE_UPGRADE_LOG:Wm,TAB_TYPE_README:Gm},qm="mini",Km="full",dS={COMP_EDIT_TAB_TYPE_MINI:qm,COMP_EDIT_TAB_TYPE_FULL:Km},Ym="EDIT",Xm="ADD",pS={DIALOG_TYPE_EDIT:Ym,DIALOG_TYPE_ADD:Xm},Jm="ONLY_INSTALL",Qm="AUTO",Zm="MAJOR_VERSION",eg="MINOR_VERSION",tg="EXACT_VERSION",hS={COMP_MATCH_TYPE_ONLY_INSTALL:Jm,COMP_MATCH_TYPE_AUTO:Qm,COMP_MATCH_TYPE_MAJOR_VERSION:Zm,COMP_MATCH_TYPE_MINOR_VERSION:eg,COMP_MATCH_TYPE_EXACT_VERSION:tg},ng="online",rg="offline",mS={COMP_UPDATE_TYPE_ONLINE:ng,COMP_UPDATE_TYPE_OFFLINE:rg},gS=0,yS=1,bS=-1,og="checkPreviewListForm",sg="checkExtraInfoForm",ig="checkCompConfig",ag="afterCompDel",lg="openCompTerminal",cg="afterCompCancelCollect",ug="afterCompRenderRetry",fg="getCompError",dg="checkUpgradeLogForm",_S={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:og,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:sg,COMP_METHOD_KEY_CHECK_COMP_CONFIG:ig,COMP_METHOD_KEY_AFTER_COMP_DEL:ag,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:lg,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:cg,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:ug,COMP_METHOD_KEY_GET_COMP_ERROR:fg,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:dg},vS={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},wS="http://127.0.0.1",ES="http://localhost:8095",SS="http://localhost:8096",CS="http://localhost:5198",kS="/item",xS="/container",TS="CREATE",AS="JOIN",OS="EXIT",IS="teamAddMyComp",PS="teamCompList",LS="teamCompGroupList",RS="teamMyCompList",NS="teamMyCompUpdate",MS="vue/dist/vue.esm-bundler.js",DS="__v__",FS="compListStore",$S="compEditStore",US="callbacks",jS="comphubConfig",zS="local",BS="prod",HS="local",VS="prod",WS="http://localhost:5173/en/",GS="https://docs.comphub.cn",qS=20,KS=20,be=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:ZE,AUTHORIZATION_HEADER_NAME:XE,CACHE_KEY_STS_EXPIRE_TIME:oS,CACHE_KEY_STS_TOKEN:rS,COMPHUB_CONFIG_KEY:jS,COMP_ACTION_ICON_HEIGHT:KS,COMP_ACTION_ICON_WIDTH:qS,COMP_CONFIG_FILENAME:sS,COMP_EDIT_TAB_TYPES:dS,COMP_EDIT_TAB_TYPE_FULL:Km,COMP_EDIT_TAB_TYPE_MINI:qm,COMP_ENTRY_FILE:lS,COMP_HUB_DEV_DOCS_URL:WS,COMP_HUB_PROD_DOCS_URL:GS,COMP_LIST_TYPES:uS,COMP_LIST_TYPE_LOCAL:Fm,COMP_LIST_TYPE_REMOTE:$m,COMP_MATCH_TYPES:hS,COMP_MATCH_TYPE_AUTO:Qm,COMP_MATCH_TYPE_EXACT_VERSION:tg,COMP_MATCH_TYPE_MAJOR_VERSION:Zm,COMP_MATCH_TYPE_MINOR_VERSION:eg,COMP_MATCH_TYPE_ONLY_INSTALL:Jm,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:cg,COMP_METHOD_KEY_AFTER_COMP_DEL:ag,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:ug,COMP_METHOD_KEY_CHECK_COMP_CONFIG:ig,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:sg,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:og,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:dg,COMP_METHOD_KEY_GET_COMP_ERROR:fg,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:lg,COMP_PREVIEW_PREFIX_LOCAL:UE,COMP_README_FILENAME:iS,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:aS,COMP_UPDATE_TYPES:mS,COMP_UPDATE_TYPE_OFFLINE:rg,COMP_UPDATE_TYPE_ONLINE:ng,COMP_USE_ENTRY_FILE:cS,CSRF_KEY:YE,CSRF_TOKEN_HEADER_NAME:QE,DIALOG_TYPES:pS,DIALOG_TYPE_ADD:Xm,DIALOG_TYPE_EDIT:Ym,FILE_MANAGER_DIRNAME:IE,GLOBAL_CONFIG_PATH:NE,IFRAME_CONTAINER_WEBSITE_PATH:xS,IFRAME_HOST:wS,IFRAME_ITEM_WEBSITE_PATH:kS,IFRAME_ROUTES:vS,INDEX_DB_NAME:eS,INDEX_DB_TABLE_NAME:tS,LOCAL_CHILD_IFRAME_URL:ES,LOCAL_LEAF_IFRAME_URL:SS,LOCAL_MIDWAY_ENV_LOCAL:zS,LOCAL_MIDWAY_ENV_PROD:BS,LOCAL_SERVICE_PREFIX:HE,LOCAL_SERVICE_URL_DEV:GE,LOCAL_SERVICE_URL_DEV_SUB:qE,LOCAL_TOP_IFRAME_URL:CS,MASTER_API_PREFIX:zE,META_FILE_NAME:DE,MODULE_LOAD_PREFIX:FE,NODE_MODULES_LOAD_PREFIX:$E,OSS_CUSTOM_DOMAIN:nS,PREBUILD_MODULE_DIR:ME,PROVIDE_KEYS:_S,PROVIDE_KEY_CALLBACKS:US,PROVIDE_KEY_COMP_EDIT_STORE:$S,PROVIDE_KEY_COMP_LIST_STORE:FS,PROXY_PATH_PREFIX:jE,REFRESH_TOKEN_HEADER_NAME:JE,REMOTE_MIDWAY_ENV_LOCAL:HS,REMOTE_MIDWAY_ENV_PROD:VS,REMOTE_SERVICE_PREFIX:BE,REMOTE_SERVICE_URL_DEV:WE,REMOTE_SERVICE_URL_PROD:VE,ROUTE_STATE_KEY_VERSION:DS,SCOPE_ID_TEAM_ADD_MY_COMP:IS,SCOPE_ID_TEAM_COMP_GROUP_LIST:LS,SCOPE_ID_TEAM_COMP_LIST:PS,SCOPE_ID_TEAM_MY_COMP_LIST:RS,SCOPE_ID_TEAM_MY_COMP_UPDATE:NS,SITE_TITLE:KE,TAB_TYPES:fS,TAB_TYPE_CONFIG:Um,TAB_TYPE_DEPS:Vm,TAB_TYPE_DIR:zm,TAB_TYPE_ERROR:jm,TAB_TYPE_EXTRA:Hm,TAB_TYPE_PREVIEW:Bm,TAB_TYPE_README:Gm,TAB_TYPE_UPGRADE_LOG:Wm,TEAM_OPERATE_TYPE_CREATE:TS,TEAM_OPERATE_TYPE_EXIT:OS,TEAM_OPERATE_TYPE_JOIN:AS,VERSION_COMPARE_GREATER:yS,VERSION_COMPARE_LESS:bS,VERSION_COMPARE_SAME:gS,VUE_ESM_BUNDLER:MS,WEBSITE_PATH_CONTAINER:LE,WEBSITE_PATH_ITEM:RE,WEBSITE_PATH_MAIN:PE},Symbol.toStringTag,{value:"Module"})),YS=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],XS=[".css"],JS=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],pg=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:JS,DEFAULT_TAG_GROUP:YS,PREBUILD_MODULE_SKIP_EXT:XS},Symbol.toStringTag,{value:"Module"})),QS="comp-hub-locale",ZS=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:QS},Symbol.toStringTag,{value:"Module"}));function eC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $a={exports:{}},gf;function tC(){return gf||(gf=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function i(l,c){if(!s[l]){s[l]={};for(var u=0;u<l.length;u++)s[l][l.charAt(u)]=u}return s[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return r.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return i(r,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(n(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return i(o,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return n(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},h={},m="",b="",y="",_=2,E=3,g=2,A=[],C=0,x=0,w;for(w=0;w<l.length;w+=1)if(m=l.charAt(w),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=E++,h[m]=!0),b=y+m,Object.prototype.hasOwnProperty.call(p,b))y=b;else{if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete h[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++),p[b]=E++,y=String(m)}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(f=0;f<g;f++)C=C<<1,x==c-1?(x=0,A.push(u(C)),C=0):x++;for(d=y.charCodeAt(0),f=0;f<8;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}else{for(d=1,f=0;f<g;f++)C=C<<1|d,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=0;for(d=y.charCodeAt(0),f=0;f<16;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1}_--,_==0&&(_=Math.pow(2,g),g++),delete h[y]}else for(d=p[y],f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;_--,_==0&&(_=Math.pow(2,g),g++)}for(d=2,f=0;f<g;f++)C=C<<1|d&1,x==c-1?(x=0,A.push(u(C)),C=0):x++,d=d>>1;for(;;)if(C=C<<1,x==c-1){A.push(u(C));break}else x++;return A.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,h=3,m="",b=[],y,_,E,g,A,C,x,w={val:u(0),position:c,index:1};for(y=0;y<3;y+=1)f[y]=y;for(E=0,A=Math.pow(2,2),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;x=n(E);break;case 2:return""}for(f[3]=x,_=x,b.push(x);;){if(w.index>l)return"";for(E=0,A=Math.pow(2,h),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;switch(x=E){case 0:for(E=0,A=Math.pow(2,8),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 1:for(E=0,A=Math.pow(2,16),C=1;C!=A;)g=w.val&w.position,w.position>>=1,w.position==0&&(w.position=c,w.val=u(w.index++)),E|=(g>0?1:0)*C,C<<=1;f[p++]=n(E),x=p-1,d--;break;case 2:return b.join("")}if(d==0&&(d=Math.pow(2,h),h++),f[x])m=f[x];else if(x===p)m=_+_.charAt(0);else return null;b.push(m),f[p++]=_+m.charAt(0),d--,_=m,d==0&&(d=Math.pow(2,h),h++)}}};return a})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})($a)),$a.exports}var nC=tC();const yf=eC(nC),bf=["topOrigin","compType","userId","instanceUid","compId","isSfc"],pr=()=>{const e=r();function t(i){if(Object.keys(i).filter(l=>!bf.includes(l)).length)throw new Error(`iframe参数键名只能包含${bf.join(", ")}`);return yf.compressToEncodedURIComponent(JSON.stringify(i))}function n(i){const a=yf.decompressFromEncodedURIComponent(i);return JSON.parse(a)}function r(){const a=new URLSearchParams(window.location.search).get("params")??"";return n(a)}function o(i){const a={...e,...i};return t(a)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},vo=e=>{const{params:{topOrigin:t}}=pr();return t},Ce={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function wo(){const e=Rn();return{sendMessageToParent:(s,i,a)=>{window.parent.postMessage({type:s,payload:JSON.stringify(i)},a)},sendMessageToTop:(s,i,a,l)=>{if(!a)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:s,payload:JSON.stringify(i),instanceUid:l},a)},sendMessageToTargetIframe:(s,i,a,l)=>{s.postMessage({type:i,payload:JSON.stringify(a)},l)},messageListener:()=>{const s=new Map,i=a=>{const{type:l,payload:c,instanceUid:u}=a.data??{},f=a.source===window.parent||a.source===window.top,d=u?.split(",").some(h=>h===e?.uid.toString()),p=s.get(l);(d||f)&&p?.(JSON.parse(c))};return window.addEventListener("message",i),yo(()=>{window.removeEventListener("message",i),s.clear()}),{addListener:(a,l)=>{s.set(a,c=>{l(c)})},removeListener:a=>{a?s.delete(a):(s.clear(),window.removeEventListener("message",i))}}},instanceUid:Y(()=>e?.uid?.toString()??"")}}function rC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ei=typeof window<"u",hr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),oC=(e,t,n)=>sC({l:e,k:t,s:n}),sC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),at=e=>typeof e=="number"&&isFinite(e),hg=e=>Xc(e)==="[object Date]",ao=e=>Xc(e)==="[object RegExp]",na=e=>Se(e)&&Object.keys(e).length===0,lt=Object.assign,iC=Object.create,ze=(e=null)=>iC(e);let _f;const Sr=()=>_f||(_f=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ze());function vf(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function aC(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const lC=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,cC=/^(?:href|src|action|formaction)$/i;function Yc(e){return lC.test(e)}function uC(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,i=t.lastIndex-1;let a=i+1,l=1,c=null;for(;a<e.length;a++){const d=e[a];if(c){d===c&&(c=null);continue}if(d==='"'||d==="'")c=d;else if(d==="(")l++;else if(d===")"&&(l--,l===0))break}if(l!==0)break;const u=e.slice(i+1,a).trim(),f=u.startsWith('"')&&u.endsWith('"')||u.startsWith("'")&&u.endsWith("'")?u.slice(1,-1).trim():u;n+=e.slice(r,s),n+=Yc(f)?"url(about:blank)":e.slice(s,a+1),r=a+1}return n+e.slice(r)}function wf(e,t){if(cC.test(e)&&Yc(t))return"about:blank";const n=e.toLowerCase()==="style"?uC(t):t;return aC(n)}function fC(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${wf(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${wf(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>Yc(o)?`${r}about:blank`:n),e}const dC=Object.prototype.hasOwnProperty;function Zt(e,t){return dC.call(e,t)}const nt=Array.isArray,Xe=e=>typeof e=="function",Q=e=>typeof e=="string",xe=e=>typeof e=="boolean",Te=e=>e!==null&&typeof e=="object",pC=e=>Te(e)&&Xe(e.then)&&Xe(e.catch),mg=Object.prototype.toString,Xc=e=>mg.call(e),Se=e=>Xc(e)==="[object Object]",hC=e=>e==null?"":nt(e)||Se(e)&&e.toString===mg?JSON.stringify(e,null,2):String(e);function Jc(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ls=e=>!Te(e)||nt(e);function Js(e,t){if(Ls(e)||Ls(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(Te(r[s])&&!Te(o[s])&&(o[s]=Array.isArray(r[s])?[]:ze()),Ls(o[s])||Ls(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function mC(e,t,n){return{line:e,column:t,offset:n}}function zl(e,t,n){return{start:e,end:t}}const Re={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},gC=17;function ra(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function yC(e){throw e}const yn=" ",bC="\r",_t=`
|
|
2
|
+
`,_C="\u2028",vC="\u2029";function wC(e){const t=e;let n=0,r=1,o=1,s=0;const i=x=>t[x]===bC&&t[x+1]===_t,a=x=>t[x]===_t,l=x=>t[x]===vC,c=x=>t[x]===_C,u=x=>i(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,p=()=>o,h=()=>s,m=x=>i(x)||l(x)||c(x)?_t:t[x],b=()=>m(n),y=()=>m(n+s);function _(){return s=0,u(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function E(){return i(n+s)&&s++,s++,t[n+s]}function g(){n=0,r=1,o=1,s=0}function A(x=0){s=x}function C(){const x=n+s;for(;x!==n;)_();s=0}return{index:f,line:d,column:p,peekOffset:h,charAt:m,currentChar:b,currentPeek:y,next:_,peek:E,reset:g,resetPeek:A,skipToPeek:C}}const Mn=void 0,EC=".",Ef="'",SC="tokenizer";function CC(e,t={}){const n=t.location!==!1,r=wC(e),o=()=>r.index(),s=()=>mC(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(v,S,I,...R){const K=c();if(S.column+=I,S.offset+=I,u){const B=n?zl(K.startLoc,S):null,P=ra(v,B,{domain:SC,args:R});u(P)}}function d(v,S,I){v.endLoc=s(),v.currentType=S;const R={type:S};return n&&(R.loc=zl(v.startLoc,v.endLoc)),I!=null&&(R.value=I),R}const p=v=>d(v,13);function h(v,S){return v.currentChar()===S?(v.next(),S):(f(Re.EXPECTED_TOKEN,s(),0,S),"")}function m(v){let S="";for(;v.currentPeek()===yn||v.currentPeek()===_t;)S+=v.currentPeek(),v.peek();return S}function b(v){const S=m(v);return v.skipToPeek(),S}function y(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function _(v){if(v===Mn)return!1;const S=v.charCodeAt(0);return S>=48&&S<=57}function E(v,S){const{currentType:I}=S;if(I!==2)return!1;m(v);const R=y(v.currentPeek());return v.resetPeek(),R}function g(v,S){const{currentType:I}=S;if(I!==2)return!1;m(v);const R=v.currentPeek()==="-"?v.peek():v.currentPeek(),K=_(R);return v.resetPeek(),K}function A(v,S){const{currentType:I}=S;if(I!==2)return!1;m(v);const R=v.currentPeek()===Ef;return v.resetPeek(),R}function C(v,S){const{currentType:I}=S;if(I!==7)return!1;m(v);const R=v.currentPeek()===".";return v.resetPeek(),R}function x(v,S){const{currentType:I}=S;if(I!==8)return!1;m(v);const R=y(v.currentPeek());return v.resetPeek(),R}function w(v,S){const{currentType:I}=S;if(!(I===7||I===11))return!1;m(v);const R=v.currentPeek()===":";return v.resetPeek(),R}function O(v,S){const{currentType:I}=S;if(I!==9)return!1;const R=()=>{const B=v.currentPeek();return B==="{"?y(v.peek()):B==="@"||B==="|"||B===":"||B==="."||B===yn||!B?!1:B===_t?(v.peek(),R()):M(v,!1)},K=R();return v.resetPeek(),K}function F(v){m(v);const S=v.currentPeek()==="|";return v.resetPeek(),S}function M(v,S=!0){const I=(K=!1,B="")=>{const P=v.currentPeek();return P==="{"||P==="@"||!P?K:P==="|"?!(B===yn||B===_t):P===yn?(v.peek(),I(!0,yn)):P===_t?(v.peek(),I(!0,_t)):!0},R=I();return S&&v.resetPeek(),R}function Z(v,S){const I=v.currentChar();return I===Mn?Mn:S(I)?(v.next(),I):null}function se(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36}function G(v){return Z(v,se)}function J(v){const S=v.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36||S===45}function X(v){return Z(v,J)}function re(v){const S=v.charCodeAt(0);return S>=48&&S<=57}function pe(v){return Z(v,re)}function Ge(v){const S=v.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102}function ht(v){return Z(v,Ge)}function Ie(v){let S="",I="";for(;S=pe(v);)I+=S;return I}function V(v){let S="";for(;;){const I=v.currentChar();if(I==="\\"){const R=v.peek();R==="{"||R==="}"||R==="@"||R==="|"||R==="\\"?(S+=I+R,v.next(),v.next()):(v.resetPeek(),S+=I,v.next())}else{if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===yn||I===_t)if(M(v))S+=I,v.next();else{if(F(v))break;S+=I,v.next()}else S+=I,v.next()}}return S}function ee(v){b(v);let S="",I="";for(;S=X(v);)I+=S;const R=v.currentChar();if(R&&R!=="}"&&R!==Mn&&R!==yn&&R!==_t&&R!==" "){const K=te(v);return f(Re.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I+K),I+K}return v.currentChar()===Mn&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),I}function oe(v){b(v);let S="";return v.currentChar()==="-"?(v.next(),S+=`-${Ie(v)}`):S+=Ie(v),v.currentChar()===Mn&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),S}function fe(v){return v!==Ef&&v!==_t}function le(v){b(v),h(v,"'");let S="",I="";for(;S=Z(v,fe);)S==="\\"?I+=$(v):I+=S;const R=v.currentChar();return R===_t||R===Mn?(f(Re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),R===_t&&(v.next(),h(v,"'")),I):(h(v,"'"),I)}function $(v){const S=v.currentChar();switch(S){case"\\":case"'":return v.next(),`\\${S}`;case"u":return q(v,S,4);case"U":return q(v,S,6);default:return f(Re.UNKNOWN_ESCAPE_SEQUENCE,s(),0,S),""}}function q(v,S,I){h(v,S);let R="";for(let K=0;K<I;K++){const B=ht(v);if(!B){f(Re.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${S}${R}${v.currentChar()}`);break}R+=B}return`\\${S}${R}`}function H(v){return v!=="{"&&v!=="}"&&v!==yn&&v!==_t}function te(v){b(v);let S="",I="";for(;S=Z(v,H);)I+=S;return I}function ye(v){let S="",I="";for(;S=G(v);)I+=S;return I}function k(v){const S=I=>{const R=v.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===yn?I:(I+=R,v.next(),S(I))};return S("")}function T(v){b(v);const S=h(v,"|");return b(v),S}function L(v,S){let I=null;switch(v.currentChar()){case"{":return S.braceNest>=1&&f(Re.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),v.next(),I=d(S,2,"{"),b(v),S.braceNest++,I;case"}":return S.braceNest>0&&S.currentType===2&&f(Re.EMPTY_PLACEHOLDER,s(),0),v.next(),I=d(S,3,"}"),S.braceNest--,S.braceNest>0&&b(v),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),I;case"@":return S.braceNest>0&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),I=U(v,S)||p(S),S.braceNest=0,I;default:{let K=!0,B=!0,P=!0;if(F(v))return S.braceNest>0&&f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(S.braceNest>0&&(S.currentType===4||S.currentType===5||S.currentType===6))return f(Re.UNTERMINATED_CLOSING_BRACE,s(),0),S.braceNest=0,z(v,S);if(K=E(v,S))return I=d(S,4,ee(v)),b(v),I;if(B=g(v,S))return I=d(S,5,oe(v)),b(v),I;if(P=A(v,S))return I=d(S,6,le(v)),b(v),I;if(!K&&!B&&!P)return I=d(S,12,te(v)),f(Re.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,I.value),b(v),I;break}}return I}function U(v,S){const{currentType:I}=S;let R=null;const K=v.currentChar();switch((I===7||I===8||I===11||I===9)&&(K===_t||K===yn)&&f(Re.INVALID_LINKED_FORMAT,s(),0),K){case"@":return v.next(),R=d(S,7,"@"),S.inLinked=!0,R;case".":return b(v),v.next(),d(S,8,".");case":":return b(v),v.next(),d(S,9,":");default:return F(v)?(R=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,R):C(v,S)||w(v,S)?(b(v),U(v,S)):x(v,S)?(b(v),d(S,11,ye(v))):O(v,S)?(b(v),K==="{"?L(v,S)||R:d(S,10,k(v))):(I===7&&f(Re.INVALID_LINKED_FORMAT,s(),0),S.braceNest=0,S.inLinked=!1,z(v,S))}}function z(v,S){let I={type:13};if(S.braceNest>0)return L(v,S)||p(S);if(S.inLinked)return U(v,S)||p(S);switch(v.currentChar()){case"{":return L(v,S)||p(S);case"}":return f(Re.UNBALANCED_CLOSING_BRACE,s(),0),v.next(),d(S,3,"}");case"@":return U(v,S)||p(S);default:{if(F(v))return I=d(S,1,T(v)),S.braceNest=0,S.inLinked=!1,I;if(M(v))return d(S,0,V(v));break}}return I}function j(){const{currentType:v,offset:S,startLoc:I,endLoc:R}=l;return l.lastType=v,l.lastOffset=S,l.lastStartLoc=I,l.lastEndLoc=R,l.offset=o(),l.startLoc=s(),r.currentChar()===Mn?d(l,13):z(r,l)}return{nextToken:j,currentOffset:o,currentPosition:s,context:c}}const kC="parser",xC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,TC=/\\([\\@{}|])/g;function AC(e,t){return t}function OC(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function IC(e={}){const t=e.location!==!1,{onError:n}=e;function r(y,_,E,g,...A){const C=y.currentPosition();if(C.offset+=g,C.column+=g,n){const x=t?zl(E,C):null,w=ra(_,x,{domain:kC,args:A});n(w)}}function o(y,_,E){const g={type:y};return t&&(g.start=_,g.end=_,g.loc={start:E,end:E}),g}function s(y,_,E,g){t&&(y.end=_,y.loc&&(y.loc.end=E))}function i(y,_){const E=y.context(),g=o(3,E.offset,E.startLoc);return g.value=_.replace(TC,AC),s(g,y.currentOffset(),y.currentPosition()),g}function a(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(5,g,A);return C.index=parseInt(_,10),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function l(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(4,g,A);return C.key=_,y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function c(y,_){const E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(9,g,A);return C.value=_.replace(xC,OC),y.nextToken(),s(C,y.currentOffset(),y.currentPosition()),C}function u(y){const _=y.nextToken(),E=y.context(),{lastOffset:g,lastStartLoc:A}=E,C=o(8,g,A);return _.type!==11?(r(y,Re.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),C.value="",s(C,g,A),{nextConsumeToken:_,node:C}):(_.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,bn(_)),C.value=_.value||"",s(C,y.currentOffset(),y.currentPosition()),{node:C})}function f(y,_){const E=y.context(),g=o(7,E.offset,E.startLoc);return g.value=_,s(g,y.currentOffset(),y.currentPosition()),g}function d(y){const _=y.context(),E=o(6,_.offset,_.startLoc);let g=y.nextToken();if(g.type===8){const A=u(y);E.modifier=A.node,g=A.nextConsumeToken||y.nextToken()}switch(g.type!==9&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(g)),g=y.nextToken(),g.type===2&&(g=y.nextToken()),g.type){case 10:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(g)),E.key=f(y,g.value||"");break;case 4:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(g)),E.key=l(y,g.value||"");break;case 5:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(g)),E.key=a(y,g.value||"");break;case 6:g.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(g)),E.key=c(y,g.value||"");break;default:{r(y,Re.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const A=y.context(),C=o(7,A.offset,A.startLoc);return C.value="",s(C,A.offset,A.startLoc),E.key=C,s(E,A.offset,A.startLoc),{nextConsumeToken:g,node:E}}}return s(E,y.currentOffset(),y.currentPosition()),{node:E}}function p(y){const _=y.context(),E=_.currentType===1?y.currentOffset():_.offset,g=_.currentType===1?_.endLoc:_.startLoc,A=o(2,E,g);A.items=[];let C=null;do{const O=C||y.nextToken();switch(C=null,O.type){case 0:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(O)),A.items.push(i(y,O.value||""));break;case 5:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(O)),A.items.push(a(y,O.value||""));break;case 4:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(O)),A.items.push(l(y,O.value||""));break;case 6:O.value==null&&r(y,Re.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bn(O)),A.items.push(c(y,O.value||""));break;case 7:{const F=d(y);A.items.push(F.node),C=F.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const x=_.currentType===1?_.lastOffset:y.currentOffset(),w=_.currentType===1?_.lastEndLoc:y.currentPosition();return s(A,x,w),A}function h(y,_,E,g){const A=y.context();let C=g.items.length===0;const x=o(1,_,E);x.cases=[],x.cases.push(g);do{const w=p(y);C||(C=w.items.length===0),x.cases.push(w)}while(A.currentType!==13);return C&&r(y,Re.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),s(x,y.currentOffset(),y.currentPosition()),x}function m(y){const _=y.context(),{offset:E,startLoc:g}=_,A=p(y);return _.currentType===13?A:h(y,E,g,A)}function b(y){const _=CC(y,lt({},e)),E=_.context(),g=o(0,E.offset,E.startLoc);return t&&g.loc&&(g.loc.source=y),g.body=m(_),e.onCacheKey&&(g.cacheKey=e.onCacheKey(y)),E.currentType!==13&&r(_,Re.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,y[E.offset]||""),s(g,_.currentOffset(),_.currentPosition()),g}return{parse:b}}function bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function PC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Sf(e,t){for(let n=0;n<e.length;n++)Qc(e[n],t)}function Qc(e,t){switch(e.type){case 1:Sf(e.cases,t),t.helper("plural");break;case 2:Sf(e.items,t);break;case 6:{Qc(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function LC(e,t={}){const n=PC(e);n.helper("normalize"),e.body&&Qc(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function RC(e){const t=e.body;return t.type===2?Cf(t):t.cases.forEach(n=>Cf(n)),e}function Cf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Jc(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Gr(e){switch(e.t=e.type,e.type){case 0:{const t=e;Gr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Gr(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Gr(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Gr(t.key),t.k=t.key,delete t.key,t.modifier&&(Gr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function NC(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(m,b){i.code+=m}function c(m,b=!0){const y=b?r:"";l(o?y+" ".repeat(m):y)}function u(m=!0){const b=++i.indentLevel;m&&c(b)}function f(m=!0){const b=--i.indentLevel;m&&c(b)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:m=>`_${m}`,needIndent:()=>i.needIndent}}function MC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),lo(e,t.key),t.modifier?(e.push(", "),lo(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function DC(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(lo(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function FC(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(lo(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function $C(e,t){t.body?lo(e,t.body):e.push("null")}function lo(e,t){const{helper:n}=e;switch(t.type){case 0:$C(e,t);break;case 1:FC(e,t);break;case 2:DC(e,t);break;case 6:MC(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const UC=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",r=Q(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=NC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${Jc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),lo(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function jC(e,t={}){const n=lt({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=IC(n).parse(e);return r?(s&&RC(a),o&&Gr(a),{ast:a,code:""}):(LC(a,n),UC(a,n))}function zC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function On(e){return Te(e)&&Zc(e)===0&&(Zt(e,"b")||Zt(e,"body"))}const gg=["b","body"];function BC(e){return mr(e,gg)}const yg=["c","cases"];function HC(e){return mr(e,yg,[])}const bg=["s","static"];function VC(e){return mr(e,bg)}const _g=["i","items"];function WC(e){return mr(e,_g,[])}const vg=["t","type"];function Zc(e){return mr(e,vg)}const wg=["v","value"];function Rs(e,t){const n=mr(e,wg);if(n!=null)return n;throw ss(t)}const Eg=["m","modifier"];function GC(e){return mr(e,Eg)}const Sg=["k","key"];function qC(e){const t=mr(e,Sg);if(t)return t;throw ss(6)}function mr(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Zt(e,o)&&e[o]!=null)return e[o]}return n}const Cg=[...gg,...yg,...bg,..._g,...Sg,...Eg,...wg,...vg];function ss(e){return new Error(`unhandled node type: ${e}`)}function Ua(e){return n=>KC(n,e)}function KC(e,t){const n=BC(t);if(n==null)throw ss(0);if(Zc(n)===1){const s=HC(n);return e.plural(s.reduce((i,a)=>[...i,kf(e,a)],[]))}else return kf(e,n)}function kf(e,t){const n=VC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=WC(t).reduce((o,s)=>[...o,Bl(e,s)],[]);return e.normalize(r)}}function Bl(e,t){const n=Zc(t);switch(n){case 3:return Rs(t,n);case 9:return Rs(t,n);case 4:{const r=t;if(Zt(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Zt(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw ss(n)}case 5:{const r=t;if(Zt(r,"i")&&at(r.i))return e.interpolate(e.list(r.i));if(Zt(r,"index")&&at(r.index))return e.interpolate(e.list(r.index));throw ss(n)}case 6:{const r=t,o=GC(r),s=qC(r);return e.linked(Bl(e,s),o?Bl(e,o):void 0,e.type)}case 7:return Rs(t,n);case 8:return Rs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const YC=e=>e;let Ns=ze();function XC(e,t={}){let n=!1;const r=t.onError||yC;return t.onError=o=>{n=!0,r(o)},{...jC(e,t),detectError:n}}function JC(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){xe(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||YC)(e),o=Ns[r];if(o)return o;const{ast:s,detectError:i}=XC(e,{...t,location:!1,jit:!0}),a=Ua(s);return i?a:Ns[r]=a}else{const n=e.cacheKey;if(n){const r=Ns[n];return r||(Ns[n]=Ua(e))}else return Ua(e)}}let is=null;function QC(e){is=e}function ZC(e,t,n){is&&is.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ek=tk("function:translate");function tk(e){return t=>is&&is.emit(e,t)}const Hn={INVALID_ARGUMENT:gC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},nk=24;function Vn(e){return ra(e,null,void 0)}function eu(e,t){return t.locale!=null?xf(t.locale):xf(e.locale)}let ja;function xf(e){if(Q(e))return e;if(Xe(e)){if(e.resolvedOnce&&ja!=null)return ja;if(e.constructor.name==="Function"){const t=e();if(pC(t))throw Vn(Hn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ja=t}else throw Vn(Hn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Vn(Hn.NOT_SUPPORT_LOCALE_TYPE)}function rk(e,t,n){return[...new Set([n,...nt(t)?t:Te(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Hl(e,t,n){const r=Q(n)?n:as,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;nt(i);)i=Tf(s,i,t);const a=nt(t)||!Se(t)?t:t.default?t.default:null;i=Q(a)?[a]:a,nt(i)&&Tf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Tf(e,t,n){let r=!0;for(let o=0;o<t.length&&xe(r);o++){const s=t[o];Q(s)&&(r=ok(e,t[o],n))}return r}function ok(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=sk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function sk(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(nt(n)||Se(n))&&n[o]&&(r=n[o])}return r}const gr=[];gr[0]={w:[0],i:[3,0],"[":[4],o:[7]};gr[1]={w:[1],".":[2],"[":[4],o:[7]};gr[2]={w:[2],i:[3,0],0:[3,0]};gr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};gr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};gr[5]={"'":[4,0],o:8,l:[5,0]};gr[6]={'"':[4,0],o:8,l:[6,0]};const ik=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ak(e){return ik.test(e)}function lk(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ck(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function uk(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ak(t)?lk(t):"*"+t}function fk(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=uk(i),i===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=ck(s),f=gr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Af=new Map;function dk(e,t){return Te(e)?e[t]:null}function pk(e,t){if(!Te(e))return null;let n=Af.get(t);if(n||(n=fk(t),n&&Af.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=n[s];if(Cg.includes(i)&&On(o)||!Te(o)||!Zt(o,i))return null;const a=o[i];if(a===void 0||Xe(o))return null;o=a,s++}return o}const hk="11.4.4",oa=-1,as="en-US",Si="",Of=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function mk(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&Te(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Of(e):t==="vnode"&&Te(e)&&"__v_isVNode"in e?Of(e.children):e}}let kg;function gk(e){kg=e}let xg;function yk(e){xg=e}let Tg;function bk(e){Tg=e}let Ag=null;const _k=e=>{Ag=e},vk=()=>Ag;let Og=null;const If=e=>{Og=e},wk=()=>Og;let Pf=0;function Ek(e={}){const t=Xe(e.onWarn)?e.onWarn:rC,n=Q(e.version)?e.version:hk,r=Q(e.locale)||Xe(e.locale)?e.locale:as,o=Xe(r)?as:r,s=nt(e.fallbackLocale)||Se(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Se(e.messages)?e.messages:za(o),a=Se(e.datetimeFormats)?e.datetimeFormats:za(o),l=Se(e.numberFormats)?e.numberFormats:za(o),c=lt(ze(),e.modifiers,mk()),u=e.pluralRules||ze(),f=Xe(e.missing)?e.missing:null,d=xe(e.missingWarn)||ao(e.missingWarn)?e.missingWarn:!0,p=xe(e.fallbackWarn)||ao(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,b=Xe(e.postTranslation)?e.postTranslation:null,y=Se(e.processor)?e.processor:null,_=xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,g=Xe(e.messageCompiler)?e.messageCompiler:kg,A=Xe(e.messageResolver)?e.messageResolver:xg||dk,C=Xe(e.localeFallbacker)?e.localeFallbacker:Tg||rk,x=Te(e.fallbackContext)?e.fallbackContext:void 0,w=e,O=Te(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,F=Te(w.__numberFormatters)?w.__numberFormatters:new Map,M=Te(w.__meta)?w.__meta:{};Pf++;const Z={version:n,cid:Pf,locale:r,fallbackLocale:s,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:E,messageCompiler:g,messageResolver:A,localeFallbacker:C,fallbackContext:x,onWarn:t,__meta:M};return Z.datetimeFormats=a,Z.numberFormats=l,Z.__datetimeFormatters=O,Z.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&ZC(Z,n,M),Z}const za=e=>({[e]:ze()});function tu(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Q(a)?a:t}else return t}function xo(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Sk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Ck(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Sk(e,t[r]))return!0;return!1}function Lf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e;if(!Q(t[0])&&!hg(t[0])&&!at(t[0]))return Si;const[l,c,u,f]=Vl(...t),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=eu(e,u),m=i(e,o,h);if(!Q(l)||l==="")return new Intl.DateTimeFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="datetime format";for(let C=0;C<m.length&&(y=m[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!Q(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.DateTimeFormat(y,lt({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Ig=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vl(...e){const[t,n,r,o]=e,s=ze();let i=ze(),a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Vn(Hn.INVALID_ISO_DATE_ARGUMENT)}}else if(hg(t)){if(isNaN(t.getTime()))throw Vn(Hn.INVALID_DATE_ARGUMENT);a=t}else if(at(t))a=t;else throw Vn(Hn.INVALID_ARGUMENT);return Q(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Ig.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Rf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Nf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e;if(!at(t[0]))return Si;const[l,c,u,f]=Wl(...t),d=xe(u.missingWarn)?u.missingWarn:e.missingWarn;xe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=eu(e,u),m=i(e,o,h);if(!Q(l)||l==="")return new Intl.NumberFormat(h.replace(/!/g,""),f).format(c);let b={},y,_=null;const E="number format";for(let C=0;C<m.length&&(y=m[C],b=n[y]||{},_=b[l],!Se(_));C++)tu(e,l,y,d,E);if(!Se(_)||!Q(y))return r?oa:l;let g=`${y}__${l}`;na(f)||(g=`${g}__${JSON.stringify(f)}`);let A=a.get(g);return A||(A=new Intl.NumberFormat(y,lt({},_,f)),a.set(g,A)),p?A.formatToParts(c):A.format(c)}const Pg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wl(...e){const[t,n,r,o]=e,s=ze();let i=ze();if(!at(t))throw Vn(Hn.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:Se(n)&&Object.keys(n).forEach(l=>{Pg.includes(l)?i[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:Se(r)&&(i=r),Se(o)&&(i=o),[s.key||"",a,s,i]}function Mf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const kk=e=>e,xk=e=>"",Tk="text",Ak=e=>e.length===0?"":Jc(e),Ok=hC;function Ba(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Ik(e){const t=at(e.pluralIndex)?e.pluralIndex:-1;return at(e.named?.count)?e.named.count:at(e.named?.n)?e.named.n:t}function Pk(e={}){const t=e.locale,n=Ik(e),r=Q(t)&&Xe(e.pluralRules?.[t])?e.pluralRules[t]:Ba,o=r===Ba?void 0:Ba,s=y=>y[r(n,y.length,o)],i=e.list||[],a=y=>i[y],l=e.named||ze();at(e.pluralIndex)&&(l.count||=e.pluralIndex,l.n||=e.pluralIndex);const c=y=>l[y];function u(y,_){const E=Xe(e.messages)?e.messages(y,!!_):Te(e.messages)?e.messages[y]:!1;return E||(e.parent?e.parent.message(y):xk)}const f=y=>e.modifiers?e.modifiers[y]:kk,d=Xe(e.processor?.normalize)?e.processor.normalize:Ak,p=Xe(e.processor?.interpolate)?e.processor.interpolate:Ok,h=Q(e.processor?.type)?e.processor.type:Tk,b={list:a,named:c,plural:s,linked:(y,..._)=>{const[E,g]=_;let A="text",C="";_.length===1?Te(E)?(C=E.modifier||C,A=E.type||A):Q(E)&&(C=E||C):_.length===2&&(Q(E)&&(C=E||C),Q(g)&&(A=g||A));const x=u(y,!0)(b),w=x===""||x===void 0?y:x,O=A==="vnode"&&nt(w)&&C?w[0]:w;return C?f(C)(O,A):O},message:u,type:h,interpolate:p,normalize:d,values:lt(ze(),i,l)};return b}const Df=()=>"",Qt=e=>Xe(e);function Ff(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,c]=Gl(...t),u=xe(c.missingWarn)?c.missingWarn:e.missingWarn,f=xe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=xe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Q(c.default)||xe(c.default)?xe(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,m=n||h!=null&&(Q(h)||Xe(h)),b=eu(e,c);d&&Lk(c);let[y,_,E]=p?[l,b,a[b]||ze()]:Lg(e,l,b,i,f,u),g=y,A=l;if(!p&&!(Q(g)||On(g)||Qt(g))&&m&&(g=h,A=g),!p&&(!(Q(g)||On(g)||Qt(g))||!Q(_)))return o?oa:l;let C=!1;const x=()=>{C=!0},w=Qt(g)?g:Rg(e,l,_,g,A,x);if(C)return g;const O=Mk(e,_,E,c),F=Pk(O),M=Rk(e,w,F);let Z=r?r(M,l):M;if(d&&Q(Z)&&(Z=fC(Z)),__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:Q(l)?l:Qt(g)?g.key:"",locale:_||(Qt(g)?g.locale:""),format:Q(g)?g:Qt(g)?g.source:"",message:Z};se.meta=lt({},e.__meta,vk()||{}),ek(se)}return Z}function Lk(e){nt(e.list)?e.list=e.list.map(t=>Q(t)?vf(t):t):Te(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=vf(e.named[t]))})}function Lg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=ze(),d,p=null;const h="translate";for(let m=0;m<u.length&&(d=u[m],f=i[d]||ze(),(p=l(f,t))===null&&(p=f[t]),!(Q(p)||On(p)||Qt(p)));m++)if(!Ck(d,u)){const b=tu(e,t,d,s,h);b!==t&&(p=b)}return[p,d,f]}function Rg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Qt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=(()=>r);return c.locale=n,c.key=t,c}const l=i(r,Nk(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function Rk(e,t,n){return t(n)}function Gl(...e){const[t,n,r]=e,o=ze();if(!Q(t)&&!at(t)&&!Qt(t)&&!On(t))throw Vn(Hn.INVALID_ARGUMENT);const s=at(t)?String(t):(Qt(t),t);return at(n)?o.plural=n:Q(n)?o.default=n:Se(n)&&!na(n)?o.named=n:nt(n)&&(o.list=n),at(r)?o.plural=r:Q(r)?o.default=r:Se(r)&<(o,r),[s,o]}function Nk(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>oC(t,n,i)}}function Mk(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:s,messages:(p,h)=>{let m=i(n,p);if(m==null&&(u||h)){const[b,,y]=Lg(u||e,p,t,a,l,c);m=b??i(y,p)}if(Q(m)||On(m)){let b=!1;const _=Rg(e,p,t,m,p,()=>{b=!0});return b?Df:_}else return Qt(m)?m:Df}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),at(r.plural)&&(d.pluralIndex=r.plural),d}zC();const Dk="11.4.4";function Fk(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Sr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Sr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Sr().__INTLIFY_PROD_DEVTOOLS__=!1)}const Lt={UNEXPECTED_RETURN_TYPE:nk,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ft(e,...t){return ra(e,null,void 0)}const ql=hr("__translateVNode"),Kl=hr("__datetimeParts"),Yl=hr("__numberParts"),Ng=hr("__setPluralRules"),Mg=hr("__injectWithOption"),Yr=hr("__dispose");function ls(e){if(!Te(e)||On(e))return e;for(const t in e)if(Zt(e,t))if(!t.includes("."))Te(e[t])&&ls(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=ze()),!Te(o[n[i]])){s=!0;break}o=o[n[i]]}if(s||(On(o)?Cg.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!On(o)){const i=o[n[r]];Te(i)&&ls(i)}}return e}function nu(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Se(n)?n:nt(r)?ze():{[e]:ze()};if(nt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||ze(),Js(c,i[l])):Js(c,i)}else Q(a)&&Js(JSON.parse(a),i)}),o==null&&s)for(const a in i)Zt(i,a)&&ls(i[a]);return i}function Dg(e){return e.type}function Fg(e,t,n){let r=Te(t.messages)?t.messages:ze();"__i18nGlobal"in n&&(r=nu(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Te(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Te(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function $f(e){return Ze(ys,null,e,0)}function cs(){return Rn()}const Uf="__INTLIFY_META__",jf=()=>[],$k=()=>!1;let zf=0;function Bf(e){return((t,n,r,o)=>e(n,r,cs()||void 0,o))}const Uk=()=>{const e=cs();let t=null;return e&&(t=Dg(e)[Uf])?{[Uf]:t}:null};function Ci(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Ei?_e:Tn;let i=xe(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&i?t.locale.value:Q(e.locale)?e.locale:as),l=s(t&&i?t.fallbackLocale.value:Q(e.fallbackLocale)||nt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(nu(a.value,e)),u=s(Se(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=s(Se(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:xe(e.missingWarn)||ao(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:xe(e.fallbackWarn)||ao(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:xe(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,b=Xe(e.missing)?e.missing:null,y=Xe(e.missing)?Bf(e.missing):null,_=Xe(e.postTranslation)?e.postTranslation:null,E=t?t.warnHtmlMessage:xe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const A=t?t.modifiers:Se(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,x;x=(()=>{r&&If(null);const P={version:Dk,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:A,pluralRules:C,missing:y===null?void 0:y,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:E,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};P.datetimeFormats=u.value,P.numberFormats=f.value,P.__datetimeFormatters=Se(x)?x.__datetimeFormatters:void 0,P.__numberFormatters=Se(x)?x.__numberFormatters:void 0;const D=Ek(P);return r&&If(D),D})(),xo(x,a.value,l.value);function O(){return[a.value,l.value,c.value,u.value,f.value]}const F=Y({get:()=>a.value,set:P=>{x.locale=P,a.value=P}}),M=Y({get:()=>l.value,set:P=>{x.fallbackLocale=P,l.value=P,xo(x,a.value,P)}}),Z=Y(()=>c.value),se=Y(()=>u.value),G=Y(()=>f.value);function J(){return Xe(_)?_:null}function X(P){_=P,x.postTranslation=P}function re(){return b}function pe(P){P!==null&&(y=Bf(P)),b=P,x.missing=y}const Ge=(P,D,ne,ae,ve,Fe)=>{O();let Pe;try{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=t?wk():void 0),Pe=P(x)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(x.fallbackContext=void 0)}if(ne!=="translate exists"&&at(Pe)&&Pe===oa||ne==="translate exists"&&!Pe){const[Kt,nn]=D();return t&&h?ae(t):ve(Kt)}else{if(Fe(Pe))return Pe;throw Ft(Lt.UNEXPECTED_RETURN_TYPE)}};function ht(...P){return Ge(D=>Reflect.apply(Ff,null,[D,...P]),()=>Gl(...P),"translate",D=>Reflect.apply(D.t,D,[...P]),D=>D,D=>Q(D))}function Ie(...P){const[D,ne,ae]=P;if(ae&&!Te(ae))throw Ft(Lt.INVALID_ARGUMENT);return ht(D,ne,lt({resolvedMessage:!0},ae||{}))}function V(...P){return Ge(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>Reflect.apply(D.d,D,[...P]),()=>Si,D=>Q(D)||nt(D))}function ee(...P){return Ge(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>Reflect.apply(D.n,D,[...P]),()=>Si,D=>Q(D)||nt(D))}function oe(P){return P.map(D=>Q(D)||at(D)||xe(D)?$f(String(D)):D)}const le={normalize:oe,interpolate:P=>P,type:"vnode"};function $(...P){return Ge(D=>{let ne;const ae=D;try{ae.processor=le,ne=Reflect.apply(Ff,null,[ae,...P])}finally{ae.processor=null}return ne},()=>Gl(...P),"translate",D=>D[ql](...P),D=>[$f(D)],D=>nt(D))}function q(...P){return Ge(D=>Reflect.apply(Nf,null,[D,...P]),()=>Wl(...P),"number format",D=>D[Yl](...P),jf,D=>Q(D)||nt(D))}function H(...P){return Ge(D=>Reflect.apply(Lf,null,[D,...P]),()=>Vl(...P),"datetime format",D=>D[Kl](...P),jf,D=>Q(D)||nt(D))}function te(P){C=P,x.pluralRules=C}function ye(P,D){return Ge(()=>{if(!P)return!1;const ne=Q(D)?D:a.value,ae=Q(D)?[ne]:Hl(x,l.value,ne);for(let ve=0;ve<ae.length;ve++){const Fe=L(ae[ve]);let Pe=x.messageResolver(Fe,P);if(Pe===null&&(Pe=Fe[P]),On(Pe)||Qt(Pe)||Q(Pe))return!0}return!1},()=>[P],"translate exists",ne=>Reflect.apply(ne.te,ne,[P,D]),$k,ne=>xe(ne))}function k(P){let D=null;const ne=Hl(x,l.value,a.value);for(let ae=0;ae<ne.length;ae++){const ve=c.value[ne[ae]]||{},Fe=x.messageResolver(ve,P);if(Fe!=null){D=Fe;break}}return D}function T(P){const D=k(P);return D??(t?t.tm(P)||{}:{})}function L(P){return c.value[P]||{}}function U(P,D){if(o){const ne={[P]:D};for(const ae in ne)Zt(ne,ae)&&ls(ne[ae]);D=ne[P]}c.value[P]=D,x.messages=c.value}function z(P,D){c.value[P]=c.value[P]||{};const ne={[P]:D};if(o)for(const ae in ne)Zt(ne,ae)&&ls(ne[ae]);D=ne[P],Js(D,c.value[P]),x.messages=c.value}function j(P){return u.value[P]||{}}function v(P,D){u.value[P]=D,x.datetimeFormats=u.value,Rf(x,P,D)}function S(P,D){u.value[P]=lt(u.value[P]||{},D),x.datetimeFormats=u.value,Rf(x,P,D)}function I(P){return f.value[P]||{}}function R(P,D){f.value[P]=D,x.numberFormats=f.value,Mf(x,P,D)}function K(P,D){f.value[P]=lt(f.value[P]||{},D),x.numberFormats=f.value,Mf(x,P,D)}zf++,t&&Ei&&(Je(t.locale,P=>{i&&(a.value=P,x.locale=P,xo(x,a.value,l.value))}),Je(t.fallbackLocale,P=>{i&&(l.value=P,x.fallbackLocale=P,xo(x,a.value,l.value))}));const B={id:zf,locale:F,fallbackLocale:M,get inheritLocale(){return i},set inheritLocale(P){i=P,P&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,xo(x,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Z,get modifiers(){return A},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(P){d=P,x.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(P){p=P,x.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(P){h=P},get fallbackFormat(){return m},set fallbackFormat(P){m=P,x.fallbackFormat=m},get warnHtmlMessage(){return E},set warnHtmlMessage(P){E=P,x.warnHtmlMessage=P},get escapeParameter(){return g},set escapeParameter(P){g=P,x.escapeParameter=P},t:ht,getLocaleMessage:L,setLocaleMessage:U,mergeLocaleMessage:z,getPostTranslationHandler:J,setPostTranslationHandler:X,getMissingHandler:re,setMissingHandler:pe,[Ng]:te};return B.datetimeFormats=se,B.numberFormats=G,B.rt=Ie,B.te=ye,B.tm=T,B.d=V,B.n=ee,B.getDateTimeFormat=j,B.setDateTimeFormat=v,B.mergeDateTimeFormat=S,B.getNumberFormat=I,B.setNumberFormat=R,B.mergeNumberFormat=K,B[Mg]=n,B[ql]=$,B[Kl]=H,B[Yl]=q,B}function jk(e){const t=Q(e.locale)?e.locale:as,n=Q(e.fallbackLocale)||nt(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Xe(e.missing)?e.missing:void 0,o=xe(e.silentTranslationWarn)||ao(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=xe(e.silentFallbackWarn)||ao(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=xe(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Se(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Xe(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=xe(e.sync)?e.sync:!0;let h=e.messages;if(Se(e.sharedMessages)){const A=e.sharedMessages;h=Object.keys(A).reduce((x,w)=>{const O=x[w]||(x[w]={});return lt(O,A[w]),x},h||{})}const{__i18n:m,__root:b,__injectWithOption:y}=e,_=e.datetimeFormats,E=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:g,datetimeFormats:_,numberFormats:E,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:m,__root:b,__injectWithOption:y}}function Xl(e={}){const t=Ci(jk(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return xe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=xe(o)?!o:o},get silentFallbackWarn(){return xe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=xe(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function zk(e,t,n){return{beforeCreate(){const r=cs();if(!r)throw Ft(Lt.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=Hf(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Xl(s);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Hf(e,o);else{this.$i18n=Xl({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Fg(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,i)=>this.$i18n.te(s,i),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=cs();if(!r)throw Ft(Lt.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Hf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Ng](t.pluralizationRules||e.pluralizationRules);const n=nu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const ru={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Bk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===it?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},ze())}function $g(){return it}const Hk=rt({name:"i18n-t",props:lt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>at(e)||!isNaN(e)}},ru),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const l=Object.keys(n).filter(f=>f[0]!=="_"),c=ze();e.locale&&(c.locale=e.locale),e.plural!==void 0&&(c.plural=Q(e.plural)?+e.plural:e.plural);const u=Bk(t,l);return o[ql](e.keypath,u,c)},i=lt(ze(),r),a=Q(e.tag)||Te(e.tag)?e.tag:$g();return Te(a)?ur(a,i,{default:s}):ur(a,i,s())}}}),Vf=Hk;function Vk(e){return nt(e)&&!Q(e[0])}function Ug(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i=()=>{const c={part:!0};let u=ze();e.locale&&(c.locale=e.locale),Q(e.format)?c.key=e.format:Te(e.format)&&(Q(e.format.key)&&(c.key=e.format.key),u=Object.keys(e.format).reduce((p,h)=>n.includes(h)?lt(ze(),p,{[h]:e.format[h]}):p,ze()));const f=r(e.value,c,u);let d=[c.key];return nt(f)?d=f.map((p,h)=>{const m=o[p.type],b=m?m({[p.type]:p.value,index:h,parts:f}):[p.value];return Vk(b)&&(b[0].key=`${p.type}-${h}`),b}):Q(f)&&(d=[f]),d},a=lt(ze(),s),l=Q(e.tag)||Te(e.tag)?e.tag:$g();return Te(l)?ur(l,a,{default:i}):ur(l,a,i())}}const Wk=rt({name:"i18n-n",props:lt({value:{type:Number,required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Ug(e,t,Pg,(...r)=>n[Yl](...r))}}),Wf=Wk;function Gk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function qk(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Ft(Lt.UNEXPECTED_ERROR);const c=Gk(e,a.$),u=Gf(l);return[Reflect.apply(c.t,c,[...qf(u)]),c]};return{created:(i,a)=>{const[l,c]=t(a);Ei&&(i.__i18nWatcher=Je(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{Ei&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=Gf(a);i.textContent=Reflect.apply(l.t,l,[...qf(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Gf(e){if(Q(e))return{path:e};if(Se(e)){if(!("path"in e))throw Ft(Lt.REQUIRED_VALUE,"path");return e}else throw Ft(Lt.INVALID_VALUE)}function qf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Q(n)&&(i.locale=n),at(o)&&(i.plural=o),at(s)&&(i.plural=s),[t,a,i]}function Kk(e,t,...n){const r=Se(n[0])?n[0]:{};(!xe(r.globalInstall)||r.globalInstall)&&([Vf.name,"I18nT"].forEach(s=>e.component(s,Vf)),[Wf.name,"I18nN"].forEach(s=>e.component(s,Wf)),[Xf.name,"I18nD"].forEach(s=>e.component(s,Xf))),e.directive("t",qk(t))}const Yk=hr("global-vue-i18n");function Xk(e={}){const t=__VUE_I18N_LEGACY_API__&&xe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=xe(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=Jk(e,t),i=hr("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function c(f){r.delete(f)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,u),Se(d[0])){const m=d[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;!t&&n&&(p=o0(f,u.global)),__VUE_I18N_FULL_INSTALL__&&Kk(f,u,...d),__VUE_I18N_LEGACY_API__&&t&&f.mixin(zk(s,s.__composer,u));const h=f.unmount;f.unmount=()=>{p&&p(),u.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function Mr(e={}){const t=cs();if(t==null)throw Ft(Lt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ft(Lt.NOT_INSTALLED);const n=Qk(t),r=e0(n),o=Dg(t),s=Zk(e,o);if(s==="global")return Fg(r,e,o),r;if(s==="parent"){let l=Kf(n,t,e.__useComponent);return l==null&&(l=r),l}if(s==="isolated"){if(n.mode!=="composition")throw Ft(Lt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const l=n,c=lt({},e),u=Kf(n,t);c.__root=u||r;const f=Ci(c);return l.__composerExtend&&(f[Yr]=l.__composerExtend(f)),Vi()&&Th(()=>{const p=f[Yr];p&&(p(),delete f[Yr])}),f}const i=n;let a=i.__getInstance(t);if(a==null){const l=lt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ci(l),i.__composerExtend&&(a[Yr]=i.__composerExtend(a)),n0(i,t,a),i.__setInstance(t,a)}return a}function Jk(e,t){const n=Mc(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Xl(e)):n.run(()=>Ci(e));if(r==null)throw Ft(Lt.UNEXPECTED_ERROR);return[n,r]}function Qk(e){const t=Dt(e.isCE?Yk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ft(e.isCE?Lt.NOT_INSTALLED_WITH_PROVIDE:Lt.UNEXPECTED_ERROR);return t}function Zk(e,t){return na(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function e0(e){return e.mode==="composition"?e.global:e.global.__composer}function Kf(e,t,n=!1){let r=null;const o=t.root;let s=t0(t,n);for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Mg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function t0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function n0(e,t,n){Ln(()=>{},t),yo(()=>{const r=n;e.__deleteInstance(t);const o=r[Yr];o&&(o(),delete r[Yr])},t)}const r0=["locale","fallbackLocale","availableLocales"],Yf=["t","rt","d","n","tm","te"];function o0(e,t){const n=Object.create(null);return r0.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Ft(Lt.UNEXPECTED_ERROR);const i=Ye(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Yf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Ft(Lt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Yf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const s0=rt({name:"i18n-d",props:lt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ru),setup(e,t){const n=e.i18n||Mr({useScope:e.scope,__useComponent:!0});return Ug(e,t,Ig,(...r)=>n[Kl](...r))}}),Xf=s0;Fk();gk(JC);yk(pk);bk(Hl);if(__INTLIFY_PROD_DEVTOOLS__){const e=Sr();e.__INTLIFY__=!0,QC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const i0=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=pr(),o=vo(),{messageListener:s,sendMessageToTop:i}=wo(),{addListener:a}=s(),l=_e([]),c=t?Ce.SETTING_DATA_LEAF_SET:Ce.SETTING_DATA_SET,u=t?Ce.SETTING_DATA_LEAF_GET:Ce.SETTING_DATA_GET;return a(c,f=>{l.value=f}),i(u,n,o,r),{depsSetting:l}},jg=Symbol("depsSetting"),a0={class:"app-container"},l0=rt({__name:"App",setup(e){const{locale:t}=Mr(),n=Kc(),r=mE(n),{params:{compId:o="",instanceUid:s}}=pr(),{messageListener:i,sendMessageToTop:a}=wo(),{addListener:l}=i(),c=vo(),{depsSetting:u}=i0(!1,!0),f=Y(()=>u.value.length>0);return to(jg,u),l(Ce.THEME_CHANGE_SET,d=>{r(d.isDark??!1)}),l(Ce.LOCALE_SET,d=>{t.value=d}),a(Ce.LOCALE_GET,o,c,s),a(Ce.THEME_CHANGE_GET,o,c,s),Ln(()=>{const d=document.getElementById("loadingContainer");d&&d.remove()}),(d,p)=>{const h=im("router-view");return ge(),je("div",a0,[f.value?(ge(),Pt(h,{key:0})):cn("",!0)])}}}),tn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},c0=tn(l0,[["__scopeId","data-v-3ece2a62"]]),Ms=window.parent,Jf=["postMessage","vue2-sfc-loader","vue3-sfc-loader"];let Ds=null;function u0(){return Ds||(Ds=new Proxy(Ms,{get(e,t){if(Jf.includes(String(t)))return t==="postMessage"?Ms.postMessage.bind(Ms):Reflect.get(Ms,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return Jf.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),Ds)}Object.defineProperty(window,"parent",{get(){return u0()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});const f0={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},d0={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},p0={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},h0={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},m0={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},g0={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},y0={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},b0={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},_0={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},v0={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},w0={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},E0={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},S0={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},C0={submit:"提交"},k0={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},x0={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},T0={common:f0,comp:d0,team:p0,user:h0,file:m0,message:g0,route:y0,markdown:b0,terminal:_0,deps:v0,setting:w0,upgrade:E0,tag:S0,formCreate:C0,validateHash:k0,project:x0},A0={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},O0={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},I0={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},P0={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},L0={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},R0={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},N0={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},M0={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},D0={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},F0={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},$0={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},U0={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},j0={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},z0={submit:"Submit"},B0={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},H0={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},V0={common:A0,comp:O0,team:I0,user:P0,file:L0,message:R0,route:N0,markdown:M0,terminal:D0,deps:F0,setting:$0,upgrade:U0,tag:j0,formCreate:z0,validateHash:B0,project:H0},W0={zh:T0,en:V0},G0=localStorage.getItem(ZS.LOCALE_KEY)||"zh",q0=Xk({locale:G0,messages:W0,legacy:!1});function K0(e){e.use(q0)}let zg;const sa=e=>zg=e,Bg=Symbol();function Jl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Yo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Yo||(Yo={}));function Y0(){const e=Mc(!0),t=e.run(()=>_e({}));let n=[],r=[];const o=Uc({install(s){sa(o),o._a=s,s.provide(Bg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Hg=()=>{};function Qf(e,t,n,r=Hg){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Vi()&&Th(o),o}function Fr(e,...t){e.forEach(n=>{n(...t)})}const X0=e=>e(),Zf=Symbol(),Ha=Symbol();function Ql(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Jl(o)&&Jl(r)&&e.hasOwnProperty(n)&&!Ye(r)&&!Wn(r)?e[n]=Ql(o,r):e[n]=r}return e}const J0=Symbol();function Q0(e){return!Jl(e)||!Object.prototype.hasOwnProperty.call(e,J0)}const{assign:nr}=Object;function Z0(e){return!!(Ye(e)&&e.effect)}function ex(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=o?o():{});const u=gv(n.state.value[e]);return nr(u,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Uc(Y(()=>{sa(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=Vg(e,c,t,n,r,!0),l}function Vg(e,t,n={},r,o,s){let i;const a=nr({actions:{}},n),l={deep:!0};let c,u,f=new Set,d=new Set,p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={});let m;function b(w){let O;c=u=!1,typeof w=="function"?(w(r.state.value[e]),O={type:Yo.patchFunction,storeId:e,events:p}):(Ql(r.state.value[e],w),O={type:Yo.patchObject,payload:w,storeId:e,events:p});const F=m=Symbol();dr().then(()=>{m===F&&(c=!0)}),u=!0,Fr(f,O,r.state.value[e])}const y=s?function(){const{state:O}=n,F=O?O():{};this.$patch(M=>{nr(M,F)})}:Hg;function _(){i.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(w,O="")=>{if(Zf in w)return w[Ha]=O,w;const F=function(){sa(r);const M=Array.from(arguments),Z=new Set,se=new Set;function G(re){Z.add(re)}function J(re){se.add(re)}Fr(d,{args:M,name:F[Ha],store:A,after:G,onError:J});let X;try{X=w.apply(this&&this.$id===e?this:A,M)}catch(re){throw Fr(se,re),re}return X instanceof Promise?X.then(re=>(Fr(Z,re),re)).catch(re=>(Fr(se,re),Promise.reject(re))):(Fr(Z,X),X)};return F[Zf]=!0,F[Ha]=O,F},g={_p:r,$id:e,$onAction:Qf.bind(null,d),$patch:b,$reset:y,$subscribe(w,O={}){const F=Qf(f,w,O.detached,()=>M()),M=i.run(()=>Je(()=>r.state.value[e],Z=>{(O.flush==="sync"?u:c)&&w({storeId:e,type:Yo.direct,events:p},Z)},nr({},l,O)));return F},$dispose:_},A=ms(g);r._s.set(e,A);const x=(r._a&&r._a.runWithContext||X0)(()=>r._e.run(()=>(i=Mc()).run(()=>t({action:E}))));for(const w in x){const O=x[w];if(Ye(O)&&!Z0(O)||Wn(O))s||(h&&Q0(O)&&(Ye(O)?O.value=h[w]:Ql(O,h[w])),r.state.value[e][w]=O);else if(typeof O=="function"){const F=E(O,w);x[w]=F,a.actions[w]=O}}return nr(A,x),nr(ke(A),x),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:w=>{b(O=>{nr(O,w)})}}),r._p.forEach(w=>{nr(A,i.run(()=>w({store:A,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(A.$state,h),c=!0,u=!0,A}function Wg(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(i,a){const l=zc();return i=i||(l?Dt(Bg,null):null),i&&sa(i),i=zg,i._s.has(e)||(o?Vg(e,t,r,i):ex(e,r,i)),i._s.get(e)}return s.$id=e,s}function tx({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const ed=Y0();function nx(e){ed.use(tx),e.use(ed)}var rx=typeof global=="object"&&global&&global.Object===Object&&global,ox=typeof self=="object"&&self&&self.Object===Object&&self,sx=rx||ox||Function("return this")(),ki=sx.Symbol,Gg=Object.prototype,ix=Gg.hasOwnProperty,ax=Gg.toString,To=ki?ki.toStringTag:void 0;function lx(e){var t=ix.call(e,To),n=e[To];try{e[To]=void 0;var r=!0}catch{}var o=ax.call(e);return r&&(t?e[To]=n:delete e[To]),o}var cx=Object.prototype,ux=cx.toString;function fx(e){return ux.call(e)}var dx="[object Null]",px="[object Undefined]",td=ki?ki.toStringTag:void 0;function qg(e){return e==null?e===void 0?px:dx:td&&td in Object(e)?lx(e):fx(e)}function hx(e){return e!=null&&typeof e=="object"}var mx="[object Symbol]";function gx(e){return typeof e=="symbol"||hx(e)&&qg(e)==mx}var yx=/\s/;function bx(e){for(var t=e.length;t--&&yx.test(e.charAt(t)););return t}var _x=/^\s+/;function vx(e){return e&&e.slice(0,bx(e)+1).replace(_x,"")}function xi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nd=NaN,wx=/^[-+]0x[0-9a-f]+$/i,Ex=/^0b[01]+$/i,Sx=/^0o[0-7]+$/i,Cx=parseInt;function kx(e){if(typeof e=="number")return e;if(gx(e))return nd;if(xi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=xi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=vx(e);var n=Ex.test(e);return n||Sx.test(e)?Cx(e.slice(2),n?2:8):wx.test(e)?nd:+e}var rd=1/0,xx=17976931348623157e292;function od(e){if(!e)return e===0?e:0;if(e=kx(e),e===rd||e===-rd){var t=e<0?-1:1;return t*xx}return e===e?e:0}var Tx="[object AsyncFunction]",Ax="[object Function]",Ox="[object GeneratorFunction]",Ix="[object Proxy]";function Px(e){if(!xi(e))return!1;var t=qg(e);return t==Ax||t==Ox||t==Tx||t==Ix}var Lx=9007199254740991,Rx=/^(?:0|[1-9]\d*)$/;function Nx(e,t){var n=typeof e;return t=t??Lx,!!t&&(n=="number"||n!="symbol"&&Rx.test(e))&&e>-1&&e%1==0&&e<t}function Mx(e,t){return e===t||e!==e&&t!==t}var Dx=9007199254740991;function Fx(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Dx}function $x(e){return e!=null&&Fx(e.length)&&!Px(e)}function Ux(e,t,n){if(!xi(n))return!1;var r=typeof t;return(r=="number"?$x(n)&&Nx(t,n.length):r=="string"&&t in n)?Mx(n[t],e):!1}var jx=Math.floor,zx=Math.random;function Bx(e,t){return e+jx(zx()*(t-e+1))}var Hx=parseFloat,Vx=Math.min,Wx=Math.random;function Gx(e,t,n){if(n&&typeof n!="boolean"&&Ux(e,t,n)&&(t=n=void 0),n===void 0&&(typeof t=="boolean"?(n=t,t=void 0):typeof e=="boolean"&&(n=e,e=void 0)),e===void 0&&t===void 0?(e=0,t=1):(e=od(e),t===void 0?(t=e,e=0):t=od(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Wx();return Vx(e+o*(t-e+Hx("1e-"+((o+"").length-1))),t)}return Bx(e,t)}const Kg=/^[a-z0-9]+(-[a-z0-9]+)*$/,ia=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Qs(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Qs(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Qs(a,n)?null:a}return null},Qs=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function qx(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const Yg=Object.freeze({left:0,top:0,width:16,height:16}),Ti=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),aa=Object.freeze({...Yg,...Ti}),Zl=Object.freeze({...aa,body:"",hidden:!1});function Kx(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function sd(e,t){const n=Kx(e,t);for(const r in Zl)r in Ti?r in e&&!(r in n)&&(n[r]=Ti[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Yx(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=sd(r[a]||o[a],s)}return i(t),n.forEach(i),sd(e,s)}function Xg(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=qx(e);for(const o in r){const s=r[o];s&&(t(o,Yx(e,o,s)),n.push(o))}return n}const Xx={provider:"",aliases:{},not_found:{},...Yg};function Va(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Jg(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Va(e,Xx))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Va(s,Zl))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o||typeof i!="string"||!n[i]&&!r[i]||!Va(s,Zl))return null}return t}const id=Object.create(null);function Jx(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function co(e,t){const n=id[e]||(id[e]=Object.create(null));return n[t]||(n[t]=Jx(e,t))}function Qg(e,t){return Jg(t)?Xg(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Qx(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let us=!1;function Zg(e){return typeof e=="boolean"&&(us=e),us}function Zx(e){const t=typeof e=="string"?ia(e,!0,us):e;if(t){const n=co(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function eT(e,t){const n=ia(e,!0,us);if(!n)return!1;const r=co(n.provider,n.prefix);return t?Qx(r,n.name,t):(r.missing.add(n.name),!0)}function tT(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),us&&!t&&!e.prefix){let r=!1;return Jg(e)&&(e.prefix="",Xg(e,(o,s)=>{eT(o,s)&&(r=!0)})),r}const n=e.prefix;return Qs({prefix:n,name:"a"})?!!Qg(co(t,n),e):!1}const ey=Object.freeze({width:null,height:null}),ty=Object.freeze({...ey,...Ti}),nT=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rT=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ad(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(nT);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=rT.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function oT(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function sT(e,t){return e?"<defs>"+e+"</defs>"+t:t}function iT(e,t,n){const r=oT(e);return sT(r.defs,t+r.content+n)}const aT=e=>e==="unset"||e==="undefined"||e==="none";function lT(e,t){const n={...aa,...e},r={...ty,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const b=[],y=m.hFlip,_=m.vFlip;let E=m.rotate;y?_?E+=2:(b.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),b.push("scale(-1 1)"),o.top=o.left=0):_&&(b.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),b.push("scale(1 -1)"),o.top=o.left=0);let g;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:g=o.height/2+o.top,b.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:b.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:g=o.width/2+o.left,b.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}E%2===1&&(o.left!==o.top&&(g=o.left,o.left=o.top,o.top=g),o.width!==o.height&&(g=o.width,o.width=o.height,o.height=g)),b.length&&(s=iT(s,'<g transform="'+b.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=ad(f,l/c)):(u=i==="auto"?l:i,f=a===null?ad(u,c/l):a==="auto"?c:a);const d={},p=(m,b)=>{aT(b)||(d[m]=b.toString())};p("width",u),p("height",f);const h=[o.left,o.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:s}}const cT=/\sid="(\S+)"/g,ld=new Map;function uT(e){e=e.replace(/[0-9]+$/,"")||"a";const t=ld.get(e)||0;return ld.set(e,t+1),t?`${e}${t}`:e}function fT(e){const t=[];let n;for(;n=cT.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=uT(o),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const ec=Object.create(null);function dT(e,t){ec[e]=t}function tc(e){return ec[e]||ec[""]}function ou(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const su=Object.create(null),Ao=["https://api.simplesvg.com","https://api.unisvg.com"],Zs=[];for(;Ao.length>0;)Ao.length===1||Math.random()>.5?Zs.push(Ao.shift()):Zs.push(Ao.pop());su[""]=ou({resources:["https://api.iconify.design"].concat(Zs)});function pT(e,t){const n=ou(t);return n===null?!1:(su[e]=n,!0)}function iu(e){return su[e]}const hT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let cd=hT();function mT(e,t){const n=iu(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function gT(e){return e===404}const yT=(e,t,n)=>{const r=[],o=mT(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function bT(e){if(typeof e=="string"){const t=iu(e);if(t)return t.path}return"/"}const _T=(e,t,n)=>{if(!cd){n("abort",424);return}let r=bT(t.provider);switch(t.type){case"icons":{const s=t.prefix,i=t.icons.join(","),a=new URLSearchParams({icons:i});r+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;cd(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(gT(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},vT={prepare:yT,send:_T};function ny(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function wT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||ny([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let ET=0;function ST(e,t,n){const r=ET++,o=ny.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function CT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=co(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function kT(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ia(o,t,n):o;s&&r.push(s)}),r}const xT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function TT(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const x=Math.floor(Math.random()*C.length);i.push(C[x]),C=C.slice(0,x).concat(C.slice(x+1))}i=i.concat(C)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),h(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,x){x&&(p=[]),typeof C=="function"&&p.push(C)}function y(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:b,abort:m}}function _(){l="failed",p.forEach(C=>{C(void 0,u)})}function E(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function g(C,x,w){const O=x!=="success";switch(d=d.filter(F=>F!==C),l){case"pending":break;case"failed":if(O||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=w,_();return}if(O){u=w,d.length||(i.length?A():_());return}if(h(),E(),!e.random){const F=e.resources.indexOf(C.resource);F!==-1&&F!==e.index&&(e.index=F)}l="completed",p.forEach(F=>{F(w)})}function A(){if(l!=="pending")return;h();const C=i.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(E(),_())},e.timeout);return}_();return}const x={status:"pending",resource:C,callback:(w,O)=>{g(x,w,O)}};d.push(x),c++,f=setTimeout(A,e.rotate),n(C,t,x.callback)}return setTimeout(A),y}function ry(e){const t={...xT,...e};let n=[];function r(){n=n.filter(i=>i().status==="pending")}function o(i,a,l){const c=TT(t,i,a,(u,f)=>{r(),l&&l(u,f)});return n.push(c),c}function s(i){return n.find(a=>i(a))||null}return{query:o,find:s,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:r}}function ud(){}const Wa=Object.create(null);function AT(e){if(!Wa[e]){const t=iu(e);if(!t)return;Wa[e]={config:t,redundancy:ry(t)}}return Wa[e]}function OT(e,t,n){let r,o;if(typeof e=="string"){const s=tc(e);if(!s)return n(void 0,424),ud;o=s.send;const i=AT(e);i&&(r=i.redundancy)}else{const s=ou(e);if(s){r=ry(s);const i=tc(e.resources?e.resources[0]:"");i&&(o=i.send)}}return!r||!o?(n(void 0,424),ud):r.query(t,o,n)().abort}function fd(){}function IT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,wT(e)}))}function PT(e){const t=[],n=[];return e.forEach(r=>{(r.match(Kg)?t:n).push(r)}),{valid:t,invalid:n}}function Oo(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!Qg(e,n).length){r();return}}catch(o){console.error(o)}r(),IT(e)}function dd(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function LT(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){dd(e.loadIcons(o,r,n),c=>{Oo(e,o,c)});return}if(s){o.forEach(c=>{dd(s(c,r,n),u=>{Oo(e,[c],u?{prefix:r,icons:{[c]:u}}:null)})});return}const{valid:i,invalid:a}=PT(o);if(a.length&&Oo(e,a,null),!i.length)return;const l=r.match(Kg)?tc(n):null;if(!l){Oo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{OT(n,c,u=>{Oo(e,c.icons,u)})})}))}const RT=(e,t)=>{const n=CT(kT(e,!0,Zg()));if(!n.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(n.loaded,n.missing,n.pending,fd)}),()=>{a=!1}}const r=Object.create(null),o=[];let s,i;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===i&&l===s)return;s=l,i=c,o.push(co(l,c));const u=r[l]||(r[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,f=co(l,c),d=f.pendingIcons||(f.pendingIcons=new Set);d.has(u)||(d.add(u),r[l][c].push(u))}),o.forEach(a=>{const l=r[a.provider][a.prefix];l.length&<(a,l)}),t?ST(t,n,o):fd};function NT(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in ey?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const MT=/[\s,]+/;function DT(e,t){t.split(MT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function $T(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function UT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function jT(e){return"data:image/svg+xml,"+UT(e)}function zT(e){return'url("'+jT(e)+'")'}const pd={...ty,inline:!1},BT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},HT={display:"inline-block"},nc={backgroundColor:"currentColor"},oy={backgroundColor:"transparent"},hd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},md={webkitMask:nc,mask:nc,background:oy};for(const e in md){const t=md[e];for(const n in hd)t[e+n]=hd[n]}const ei={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ei[e+"-flip"]=t,ei[e.slice(0,1)+"-flip"]=t,ei[e+"Flip"]=t});function gd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const yd=(e,t)=>{const n=NT(pd,t),r={...BT},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const b=t[m];if(b!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[m]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&DT(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[m]=FT(b):typeof b=="number"&&(n[m]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const y=ei[m];y?(b===!0||b==="true"||b===1)&&(n[y]=!0):pd[m]===void 0&&(r[m]=b)}}}const l=lT(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...a},Object.assign(r,c),r.innerHTML=fT(l.body),ur("svg",r);const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=$T(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":zT(h),width:gd(c.width),height:gd(c.height),...HT,...p?nc:oy,...a},ur("span",r)};Zg(!0);dT("",vT);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!tT(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;pT(n,o)||console.error(r)}catch{console.error(r)}}}}const VT={...aa,body:""},WT=rt((e,{emit:t})=>{const n=_e(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=_e(!!e.ssr),s=_e(""),i=Tn(null);function a(){const c=e.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return s.value="",{data:c};let u;if(typeof c!="string"||(u=ia(c,!1,!0))===null)return null;let f=Zx(u);if(!f){const h=n.value;return(!h||h.name!==c)&&(f===null?n.value={name:c}:n.value={name:c,abort:RT([u],l)}),null}r(),s.value!==c&&(s.value=c,dr(()=>{t("load",c)}));const d=e.customise;if(d){f=Object.assign({},f);const h=d(f.body,u.name,u.prefix,u.provider);typeof h=="string"&&(f.body=h)}const p=["iconify"];return u.prefix!==""&&p.push("iconify--"+u.prefix),u.provider!==""&&p.push("iconify--"+u.provider),{data:f,classes:p}}function l(){const c=a();c?c.data!==i.value?.data&&(i.value=c):i.value=null}return o.value?l():Ln(()=>{o.value=!0,l()}),Je(()=>e.icon,l),yo(r),()=>{const c=i.value;if(!c)return yd(VT,e);let u=e;return c.classes&&(u={...e,class:c.classes.join(" ")}),yd({...aa,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function GT(e){e.component("Icon",WT)}const la="v-loading-mask",sy="v-loading-spinner",iy="v-loading-parent";function qT(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function KT(){const e=document.createElement("div");e.className=la,e.innerHTML=`<div class="${sy}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=qT(),t.zIndex="999",t.borderRadius="inherit",e}function YT(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
4
|
+
.${sy} {
|
|
5
|
+
width: 40px;
|
|
6
|
+
height: 40px;
|
|
7
|
+
border: 3px solid #e0e0e0;
|
|
8
|
+
border-top-color: #409eff;
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
animation: v-loading-rotate 0.8s linear infinite;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes v-loading-rotate {
|
|
14
|
+
0% { transform: rotate(0deg); }
|
|
15
|
+
100% { transform: rotate(360deg); }
|
|
16
|
+
}
|
|
17
|
+
`,document.head.appendChild(e)}const XT=200,Fs=new WeakMap;function JT(e){if(e.querySelector(`.${la}`))return;e.classList.add(iy),getComputedStyle(e).position==="static"&&(e.style.position="relative"),YT(),e.appendChild(KT())}function QT(e){const t=e.querySelector(`.${la}`);t&&t.remove(),e.classList.remove(iy)}function bd(e,t){const n=Fs.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${la}`)){const o=setTimeout(()=>{Fs.delete(e),JT(e)},XT);Fs.set(e,o)}}else n&&(clearTimeout(n),Fs.delete(e)),QT(e)}const ZT={mounted(e,t){bd(e,t)},updated(e,t){t.value!==t.oldValue&&bd(e,t)}};function eA(e){nx(e),K0(e),GT(e),e.directive("loading",ZT)}const qr=typeof document<"u";function ay(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ay(e.default)}const Le=Object.assign;function Ga(e,t){const n={};for(const r in t){const o=t[r];n[r]=pn(o)?o.map(e):e(o)}return n}const Xo=()=>{},pn=Array.isArray;function _d(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let tt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const ly=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function uo(e,t){return Le(new Error,{type:e,[ly]:!0},t)}function Dn(e,t){return e instanceof Error&&ly in e&&(t==null||!!(e.type&t))}const nA=["params","query","hash"];function rA(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of nA)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const oA=Symbol(""),vd=Symbol(""),au=Symbol(""),cy=Symbol(""),rc=Symbol("");const uy=/#/g,sA=/&/g,iA=/\//g,aA=/=/g,lA=/\?/g,fy=/\+/g,cA=/%5B/g,uA=/%5D/g,dy=/%5E/g,fA=/%60/g,py=/%7B/g,dA=/%7C/g,hy=/%7D/g,pA=/%20/g;function lu(e){return e==null?"":encodeURI(""+e).replace(dA,"|").replace(cA,"[").replace(uA,"]")}function hA(e){return lu(e).replace(py,"{").replace(hy,"}").replace(dy,"^")}function oc(e){return lu(e).replace(fy,"%2B").replace(pA,"+").replace(uy,"%23").replace(sA,"%26").replace(fA,"`").replace(py,"{").replace(hy,"}").replace(dy,"^")}function mA(e){return oc(e).replace(aA,"%3D")}function gA(e){return lu(e).replace(uy,"%23").replace(lA,"%3F")}function yA(e){return gA(e).replace(iA,"%2F")}function Ai(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bA=/\/$/,_A=e=>e.replace(bA,"");function qa(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),s=t.slice(l,a>0?a:t.length),o=e(s.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=SA(r??t,n),{fullPath:r+s+i,path:r,query:o,hash:Ai(i)}}function vA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&fo(t.matched[r],n.matched[o])&&my(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function my(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!EA(e[n],t[n]))return!1;return!0}function EA(e,t){return pn(e)?Ed(e,t):pn(t)?Ed(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ed(e,t){return pn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function SA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Qn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let sc=(function(e){return e.pop="pop",e.push="push",e})({}),Ka=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function CA(e){if(!e)if(qr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_A(e)}const kA=/^[^#]+#/;function xA(e,t){return e.replace(kA,"#")+t}function TA(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ca=()=>({left:window.scrollX,top:window.scrollY});function AA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=TA(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Sd(e,t){return(history.state?history.state.position-t:-1)+e}const ic=new Map;function OA(e,t){ic.set(e,t)}function IA(e){const t=ic.get(e);return ic.delete(e),t}function PA(e){return typeof e=="string"||e&&typeof e=="object"}function gy(e){return typeof e=="string"||typeof e=="symbol"}function LA(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(fy," "),s=o.indexOf("="),i=Ai(s<0?o:o.slice(0,s)),a=s<0?null:Ai(o.slice(s+1));if(i in t){let l=t[i];pn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Cd(e){let t="";for(let n in e){const r=e[n];if(n=mA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(pn(r)?r.map(o=>o&&oc(o)):[r&&oc(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function RA(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Io(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function sr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(uo(tt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):PA(d)?l(uo(tt.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Ya(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(ay(l)){const c=(l.__vccOpts||l)[t];c&&s.push(sr(c,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=tA(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&sr(d,n,r,i,a,o)()}))}}return s}function NA(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>fo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>fo(c,l))||o.push(l))}return[n,r,o]}let MA=()=>location.protocol+"//"+location.host;function yy(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),wd(a,"")}return wd(n,e)+r+o}function DA(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=yy(e,location),h=n.value,m=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=m?d.position-m.position:0}else r(p);o.forEach(y=>{y(n.value,h,{delta:b,type:sc.pop,direction:b?b>0?Ka.forward:Ka.back:Ka.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Le({},d.state,{scroll:ca()}),"")}}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function kd(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ca():null}}function FA(e){const{history:t,location:n}=window,r={value:yy(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:MA()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){s(l,Le({},t.state,kd(o.value.back,l,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=l}function a(l,c){const u=Le({},o.value,t.state,{forward:l,scroll:ca()});s(u.current,u,!0),s(l,Le({},kd(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function $A(e){e=CA(e);const t=FA(e),n=DA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Le({location:"",base:e,go:r,createHref:xA.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Cr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var ut=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(ut||{});const UA={type:Cr.Static,value:""},jA=/[a-zA-Z0-9_]/;function zA(e){if(!e)return[[]];if(e==="/")return[[UA]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=ut.Static,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===ut.Static?s.push({type:Cr.Static,value:c}):n===ut.Param||n===ut.ParamRegExp||n===ut.ParamRegExpEnd?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:Cr.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;)switch(l=e[a++],n){case ut.Static:l==="\\"?(r=n,n=ut.EscapeNext):l==="/"?(c&&f(),i()):l===":"?(f(),n=ut.Param):d();break;case ut.EscapeNext:d(),n=r;break;case ut.Param:l==="("?n=ut.ParamRegExp:jA.test(l)?d():(f(),n=ut.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ut.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ut.ParamRegExpEnd:u+=l;break;case ut.ParamRegExpEnd:f(),n=ut.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}return n===ut.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const xd="[^/]+?",BA={sensitive:!1,strict:!1,start:!0,end:!0};var At=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(At||{});const HA=/[.+*?^${}()[\]/\\]/g;function VA(e,t){const n=Le({},BA,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[At.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=At.Segment+(n.sensitive?At.BonusCaseSensitive:0);if(d.type===Cr.Static)f||(o+="/"),o+=d.value.replace(HA,"\\$&"),p+=At.Static;else if(d.type===Cr.Param){const{value:h,repeatable:m,optional:b,regexp:y}=d;s.push({name:h,repeatable:m,optional:b});const _=y||xd;if(_!==xd){p+=At.BonusCustomRegExp;try{new RegExp(`(${_})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${h}" (${_}): `+g.message)}}let E=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(E=b&&c.length<2?`(?:/${E})`:"/"+E),b&&(E+="?"),o+=E,p+=At.Dynamic,b&&(p+=At.BonusOptional),m&&(p+=At.BonusRepeatable),_===".*"&&(p+=At.BonusWildcard)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=At.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",h=s[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===Cr.Static)u+=p.value;else if(p.type===Cr.Param){const{value:h,repeatable:m,optional:b}=p,y=h in c?c[h]:"";if(pn(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const _=pn(y)?y.join("/"):y;if(!_)if(b)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function WA(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===At.Static+At.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===At.Static+At.Segment?1:-1:0}function by(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=WA(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Td(r))return 1;if(Td(o))return-1}return o.length-r.length}function Td(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GA={strict:!1,end:!0,sensitive:!1};function qA(e,t,n){const r=VA(zA(e.path),n),o=Le(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function KA(e,t){const n=[],r=new Map;t=_d(GA,t);function o(f){return r.get(f)}function s(f,d,p){const h=!p,m=Od(f);m.aliasOf=p&&p.record;const b=_d(t,f),y=[m];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const A of g)y.push(Od(Le({},m,{components:p?p.record.components:m.components,path:A,aliasOf:p?p.record:m})))}let _,E;for(const g of y){const{path:A}=g;if(d&&A[0]!=="/"){const C=d.record.path,x=C[C.length-1]==="/"?"":"/";g.path=d.record.path+(A&&x+A)}if(_=qA(g,d,b),p?p.alias.push(_):(E=E||_,E!==_&&E.alias.push(_),h&&f.name&&!Id(_)&&i(f.name)),_y(_)&&l(_),m.children){const C=m.children;for(let x=0;x<C.length;x++)s(C[x],_,p&&p.children[x])}p=p||_}return E?()=>{i(E)}:Xo}function i(f){if(gy(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=JA(f,n);n.splice(d,0,f),f.record.name&&!Id(f)&&r.set(f.record.name,f)}function c(f,d){let p,h={},m,b;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw uo(tt.MATCHER_NOT_FOUND,{location:f});b=p.record.name,h=Le(Ad(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&Ad(f.params,p.keys.map(E=>E.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(E=>E.re.test(m)),p&&(h=p.parse(m),b=p.record.name,p.keys.forEach(E=>{E.optional&&!h[E.name]&&delete h[E.name]}));else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw uo(tt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});b=p.record.name,h=Le({},d.params,f.params),m=p.stringify(h)}const y=[];let _=p;for(;_;)y.unshift(_.record),_=_.parent;return{name:b,path:m,params:h,matched:y,meta:XA(y)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ad(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Od(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:YA(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function YA(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Id(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XA(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function JA(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;by(e,t[s])<0?r=s:n=s+1}const o=QA(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function QA(e){let t=e;for(;t=t.parent;)if(_y(t)&&by(e,t)===0)return t}function _y({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Pd(e){const t=Dt(au),n=Dt(cy),r=Y(()=>{const l=Me(e.to);return t.resolve(l)}),o=Y(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(fo.bind(null,u));if(d>-1)return d;const p=Ld(l[c-2]);return c>1&&Ld(u)===p&&f[f.length-1].path!==p?f.findIndex(fo.bind(null,l[c-2])):d}),s=Y(()=>o.value>-1&&rO(n.params,r.value.params)),i=Y(()=>o.value>-1&&o.value===n.matched.length-1&&my(n.params,r.value.params));function a(l={}){if(nO(l)){const c=t[Me(e.replace)?"replace":"push"](Me(e.to)).catch(Xo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:Y(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function ZA(e){return e.length===1?e[0]:e}const eO=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Pd,setup(e,{slots:t}){const n=ms(Pd(e)),{options:r}=Dt(au),o=Y(()=>({[Rd(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Rd(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ZA(t.default(n));return e.custom?s:ur("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),tO=eO;function nO(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function rO(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!pn(o)||o.length!==r.length||r.some((s,i)=>s.valueOf()!==o[i].valueOf()))return!1}return!0}function Ld(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rd=(e,t,n)=>e??t??n,oO=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Dt(rc),o=Y(()=>e.route||r.value),s=Dt(vd,0),i=Y(()=>{let c=Me(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Y(()=>o.value.matched[i.value]);to(vd,Y(()=>i.value+1)),to(oA,a),to(rc,o);const l=_e();return Je(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!fo(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Nd(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=ur(d,Le({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Nd(n.default,{Component:b,route:c})||b}}});function Nd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sO=oO;function iO(e){const t=KA(e.routes,e),n=e.parseQuery||LA,r=e.stringifyQuery||Cd,o=e.history,s=Io(),i=Io(),a=Io(),l=Tn(Qn);let c=Qn;qr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ga.bind(null,$=>""+$),f=Ga.bind(null,yA),d=Ga.bind(null,Ai);function p($,q){let H,te;return gy($)?(H=t.getRecordMatcher($),te=q):te=$,t.addRoute(te,H)}function h($){const q=t.getRecordMatcher($);q&&t.removeRoute(q)}function m(){return t.getRoutes().map($=>$.record)}function b($){return!!t.getRecordMatcher($)}function y($,q){if(q=Le({},q||l.value),typeof $=="string"){const L=qa(n,$,q.path),U=t.resolve({path:L.path},q),z=o.createHref(L.fullPath);return Le(L,U,{params:d(U.params),redirectedFrom:void 0,href:z})}let H;if($.path!=null)H=Le({},$,{path:qa(n,$.path,q.path).path});else{const L=Le({},$.params);for(const U in L)L[U]==null&&delete L[U];H=Le({},$,{params:f(L)}),q.params=f(q.params)}const te=t.resolve(H,q),ye=$.hash||"";te.params=u(d(te.params));const k=vA(r,Le({},$,{hash:hA(ye),path:te.path})),T=o.createHref(k);return Le({fullPath:k,hash:ye,query:r===Cd?RA($.query):$.query||{}},te,{redirectedFrom:void 0,href:T})}function _($){return typeof $=="string"?qa(n,$,l.value.path):Le({},$)}function E($,q){if(c!==$)return uo(tt.NAVIGATION_CANCELLED,{from:q,to:$})}function g($){return x($)}function A($){return g(Le(_($),{replace:!0}))}function C($,q){const H=$.matched[$.matched.length-1];if(H&&H.redirect){const{redirect:te}=H;let ye=typeof te=="function"?te($,q):te;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=_(ye):{path:ye},ye.params={}),Le({query:$.query,hash:$.hash,params:ye.path!=null?{}:$.params},ye)}}function x($,q){const H=c=y($),te=l.value,ye=$.state,k=$.force,T=$.replace===!0,L=C(H,te);if(L)return x(Le(_(L),{state:typeof L=="object"?Le({},ye,L.state):ye,force:k,replace:T}),q||H);const U=H;U.redirectedFrom=q;let z;return!k&&wA(r,te,H)&&(z=uo(tt.NAVIGATION_DUPLICATED,{to:U,from:te}),Ie(te,te,!0,!1)),(z?Promise.resolve(z):F(U,te)).catch(j=>Dn(j)?Dn(j,tt.NAVIGATION_GUARD_REDIRECT)?j:ht(j):pe(j,U,te)).then(j=>{if(j){if(Dn(j,tt.NAVIGATION_GUARD_REDIRECT))return x(Le({replace:T},_(j.to),{state:typeof j.to=="object"?Le({},ye,j.to.state):ye,force:k}),q||U)}else j=Z(U,te,!0,T,ye);return M(U,te,j),j})}function w($,q){const H=E($,q);return H?Promise.reject(H):Promise.resolve()}function O($){const q=oe.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext($):$()}function F($,q){let H;const[te,ye,k]=NA($,q);H=Ya(te.reverse(),"beforeRouteLeave",$,q);for(const L of te)L.leaveGuards.forEach(U=>{H.push(sr(U,$,q))});const T=w.bind(null,$,q);return H.push(T),le(H).then(()=>{H=[];for(const L of s.list())H.push(sr(L,$,q));return H.push(T),le(H)}).then(()=>{H=Ya(ye,"beforeRouteUpdate",$,q);for(const L of ye)L.updateGuards.forEach(U=>{H.push(sr(U,$,q))});return H.push(T),le(H)}).then(()=>{H=[];for(const L of k)if(L.beforeEnter)if(pn(L.beforeEnter))for(const U of L.beforeEnter)H.push(sr(U,$,q));else H.push(sr(L.beforeEnter,$,q));return H.push(T),le(H)}).then(()=>($.matched.forEach(L=>L.enterCallbacks={}),H=Ya(k,"beforeRouteEnter",$,q,O),H.push(T),le(H))).then(()=>{H=[];for(const L of i.list())H.push(sr(L,$,q));return H.push(T),le(H)}).catch(L=>Dn(L,tt.NAVIGATION_CANCELLED)?L:Promise.reject(L))}function M($,q,H){a.list().forEach(te=>O(()=>te($,q,H)))}function Z($,q,H,te,ye){const k=E($,q);if(k)return k;const T=q===Qn,L=qr?history.state:{};H&&(te||T?o.replace($.fullPath,Le({scroll:T&&L&&L.scroll},ye)):o.push($.fullPath,ye)),l.value=$,Ie($,q,H,T),ht()}let se;function G(){se||(se=o.listen(($,q,H)=>{if(!fe.listening)return;const te=y($),ye=C(te,fe.currentRoute.value);if(ye){x(Le(ye,{replace:!0,force:!0}),te).catch(Xo);return}c=te;const k=l.value;qr&&OA(Sd(k.fullPath,H.delta),ca()),F(te,k).catch(T=>Dn(T,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?T:Dn(T,tt.NAVIGATION_GUARD_REDIRECT)?(x(Le(_(T.to),{force:!0}),te).then(L=>{Dn(L,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!H.delta&&H.type===sc.pop&&o.go(-1,!1)}).catch(Xo),Promise.reject()):(H.delta&&o.go(-H.delta,!1),pe(T,te,k))).then(T=>{T=T||Z(te,k,!1),T&&(H.delta&&!Dn(T,tt.NAVIGATION_CANCELLED)?o.go(-H.delta,!1):H.type===sc.pop&&Dn(T,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),M(te,k,T)}).catch(Xo)}))}let J=Io(),X=Io(),re;function pe($,q,H){ht($);const te=X.list();return te.length?te.forEach(ye=>ye($,q,H)):console.error($),Promise.reject($)}function Ge(){return re&&l.value!==Qn?Promise.resolve():new Promise(($,q)=>{J.add([$,q])})}function ht($){return re||(re=!$,G(),J.list().forEach(([q,H])=>$?H($):q()),J.reset()),$}function Ie($,q,H,te){const{scrollBehavior:ye}=e;if(!qr||!ye)return Promise.resolve();const k=!H&&IA(Sd($.fullPath,0))||(te||!H)&&history.state&&history.state.scroll||null;return dr().then(()=>ye($,q,k)).then(T=>T&&AA(T)).catch(T=>pe(T,$,q))}const V=$=>o.go($);let ee;const oe=new Set,fe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:m,resolve:y,options:e,push:g,replace:A,go:V,back:()=>V(-1),forward:()=>V(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:X.add,isReady:Ge,install($){$.component("RouterLink",tO),$.component("RouterView",sO),$.config.globalProperties.$router=fe,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Me(l)}),qr&&!ee&&l.value===Qn&&(ee=!0,g(o.location).catch(te=>{}));const q={};for(const te in Qn)Object.defineProperty(q,te,{get:()=>l.value[te],enumerable:!0});$.provide(au,fe),$.provide(cy,Vh(q)),$.provide(rc,l);const H=$.unmount;oe.add($),$.unmount=function(){oe.delete($),oe.size<1&&(c=Qn,se&&se(),se=null,l.value=Qn,ee=!1,re=!1),H()}}};function le($){return $.reduce((q,H)=>q.then(()=>O(H)),Promise.resolve())}return fe}const aO="modulepreload",lO=function(e){return"/item/"+e},Md={},cO=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};var i=c;document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(u=>{if(u=lO(u),u in Md)return;Md[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":aO,f||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},Do={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},uO=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case Do.WIDTH_FIRST:s=e/n;break;case Do.HEIGHT_FIRST:s=t/r;break;case Do.CONTAIN:s=Math.min(e/n,t/r);break;case Do.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),s=1;break}const i=n*s,a=r*s,l=(e-i)/2,c=(t-a)/2;return{transform:`translate(${l}px, ${c}px) scale(${s})`,transformOrigin:"left top"}},Xa=(e,t=Do.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:uO({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),ir=0,W=1,me=2,st=3,Ve=4,hn=5,ua=6,wt=7,Rt=8,Ee=9,de=10,Qe=11,we=12,et=13,_s=14,Nt=15,kt=16,xt=17,jt=18,qt=19,en=20,Ae=21,ce=22,pt=23,Gt=24,yt=25,fO=0;function gt(e){return e>=48&&e<=57}function fr(e){return gt(e)||e>=65&&e<=70||e>=97&&e<=102}function cu(e){return e>=65&&e<=90}function dO(e){return e>=97&&e<=122}function pO(e){return cu(e)||dO(e)}function hO(e){return e>=128}function Oi(e){return pO(e)||hO(e)||e===95}function vy(e){return Oi(e)||gt(e)||e===45}function mO(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Ii(e){return e===10||e===13||e===12}function Lr(e){return Ii(e)||e===32||e===9}function kn(e,t){return!(e!==92||Ii(t)||t===fO)}function ti(e,t,n){return e===45?Oi(t)||t===45||kn(t,n):Oi(e)?!0:e===92?kn(e,t):!1}function Ja(e,t,n){return e===43||e===45?gt(t)?2:t===46&>(n)?3:0:e===46?gt(t)?2:0:gt(e)?1:0}function wy(e){return e===65279||e===65534?1:0}const ac=new Array(128),gO=128,ni=130,Ey=131,uu=132,Sy=133;for(let e=0;e<ac.length;e++)ac[e]=Lr(e)&&ni||gt(e)&&Ey||Oi(e)&&uu||mO(e)&&Sy||e||gO;function Qa(e){return e<128?ac[e]:uu}function no(e,t){return t<e.length?e.charCodeAt(t):0}function lc(e,t,n){return n===13&&no(e,t+1)===10?2:1}function ro(e,t,n){let r=e.charCodeAt(t);return cu(r)&&(r=r|32),r===n}function fs(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let o=t;o<n;o++){const s=r.charCodeAt(o-t);let i=e.charCodeAt(o);if(cu(i)&&(i=i|32),i!==s)return!1}return!0}function yO(e,t){for(;t>=0&&Lr(e.charCodeAt(t));t--);return t+1}function $s(e,t){for(;t<e.length&&Lr(e.charCodeAt(t));t++);return t}function Za(e,t){for(;t<e.length&>(e.charCodeAt(t));t++);return t}function po(e,t){if(t+=2,fr(no(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&fr(no(e,t));t++);const n=no(e,t);Lr(n)&&(t+=lc(e,t,n))}return t}function Us(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!vy(n)){if(kn(n,no(e,t+1))){t=po(e,t)-1;continue}break}}return t}function fa(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),gt(n)&&(t=Za(e,t+1),n=e.charCodeAt(t)),n===46&>(e.charCodeAt(t+1))&&(t+=2,t=Za(e,t)),ro(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),gt(n)&&(t=Za(e,t+1+r+1))}return t}function el(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}kn(n,no(e,t+1))&&(t=po(e,t))}return t}function Cy(e){if(e.length===1&&!fr(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const cc=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],bO=16*1024;function Pi(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,bO)):e}const Dd=10,_O=12,Fd=13;function $d(e){const t=e.source,n=t.length,r=t.length>0?wy(t.charCodeAt(0)):0,o=Pi(e.lines,n),s=Pi(e.columns,n);let i=e.startLine,a=e.startColumn;for(let l=r;l<n;l++){const c=t.charCodeAt(l);o[l]=i,s[l]=a++,(c===Dd||c===Fd||c===_O)&&(c===Fd&&l+1<n&&t.charCodeAt(l+1)===Dd&&(l++,o[l]=i,s[l]=a),i++,a=1)}o[n]=i,s[n]=a,e.lines=o,e.columns=s,e.computed=!0}class vO{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||$d(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||$d(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const rn=16777215,on=24,vs=1,da=2,ar=new Uint8Array(32);ar[me]=ce;ar[Ae]=ce;ar[qt]=en;ar[pt]=Gt;const an=new Uint8Array(32);an[me]=vs;an[Ae]=vs;an[qt]=vs;an[pt]=vs;an[ce]=da;an[en]=da;an[Gt]=da;function Ud(e,t,n){return e<t?t:e>n?n:e}class wO{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,o=Pi(this.offsetAndType,t.length+1),s=Pi(this.balance,t.length+1);let i=0,a=-1,l=0,c=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(u,f,d)=>{const p=i++;if(o[p]=u<<on|d,a===-1&&(a=f),s[p]=c,u===l){const h=s[c];s[c]=p,c=h,l=ar[o[h]>>on]}else this.isBlockOpenerTokenType(u)&&(c=p,l=ar[u])}),o[i]=ir<<on|r,s[i]=i;for(let u=0;u<i;u++){const f=s[u];if(f<=u){const d=s[f];d!==u&&(s[u]=d)}else f>i&&(s[u]=i)}this.source=t,this.firstCharOffset=a===-1?0:a,this.tokenCount=i,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>on:ir}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==et&&r!==yt&&t--===0)return r}return ir}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&rn:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>on;if(r!==et&&r!==yt&&t--===0)return n-this.tokenIndex}return ir}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?fs(this.source,this.offsetAndType[t-1]&rn,this.offsetAndType[t]&rn,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&rn:this.offsetAndType[this.tokenCount]&rn:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[Ud(t,0,this.tokenCount)]&rn}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[Ud(t,0,this.tokenCount)]>>on}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return an[t]===vs}isBlockCloserTokenType(t){return an[t]===da}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(an[n]===1){const r=this.balance[t],o=this.getTokenType(r);return ar[n]===o?r:-1}else if(an[n]===2){const r=this.balance[t],o=this.getTokenType(r);return ar[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===Ee&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===Ee&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&rn,n=this.offsetAndType[n],this.tokenType=n>>on,this.tokenEnd=n&rn):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>on,this.tokenEnd=t&rn):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=ir,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===et||this.tokenType===yt;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,s=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(s=r>0?this.offsetAndType[r-1]&rn:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>on)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,s=this.offsetAndType[n],i=s&rn,a=s>>on;r=i,t(a,o,i,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:cc[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function pa(e,t){function n(f){return f<a?e.charCodeAt(f):0}function r(){if(c=fa(e,c),ti(n(c),n(c+1),n(c+2))){u=we,c=Us(e,c);return}if(n(c)===37){u=Qe,c++;return}u=de}function o(){const f=c;if(c=Us(e,c),fs(e,f,c,"url")&&n(c)===40){if(c=$s(e,c+1),n(c)===34||n(c)===39){u=me,c=f+4;return}i();return}if(n(c)===40){u=me,c++;return}u=W}function s(f){for(f||(f=n(c++)),u=hn;c<e.length;c++){const d=e.charCodeAt(c);switch(Qa(d)){case f:c++;return;case ni:if(Ii(d)){c+=lc(e,c,d),u=ua;return}break;case 92:if(c===e.length-1)break;const p=n(c+1);Ii(p)?c+=lc(e,c+1,p):kn(d,p)&&(c=po(e,c)-1);break}}}function i(){for(u=wt,c=$s(e,c);c<e.length;c++){const f=e.charCodeAt(c);switch(Qa(f)){case 41:c++;return;case ni:if(c=$s(e,c),n(c)===41||c>=e.length){c<e.length&&c++;return}c=el(e,c),u=Rt;return;case 34:case 39:case 40:case Sy:c=el(e,c),u=Rt;return;case 92:if(kn(f,n(c+1))){c=po(e,c)-1;break}c=el(e,c),u=Rt;return}}}e=String(e||"");const a=e.length;let l=wy(n(0)),c=l,u;for(;c<a;){const f=e.charCodeAt(c);switch(Qa(f)){case ni:u=et,c=$s(e,c+1);break;case 34:s();break;case 35:vy(n(c+1))||kn(n(c+1),n(c+2))?(u=Ve,c=Us(e,c+1)):(u=Ee,c++);break;case 39:s();break;case 40:u=Ae,c++;break;case 41:u=ce,c++;break;case 43:Ja(f,n(c+1),n(c+2))?r():(u=Ee,c++);break;case 44:u=jt,c++;break;case 45:Ja(f,n(c+1),n(c+2))?r():n(c+1)===45&&n(c+2)===62?(u=Nt,c=c+3):ti(f,n(c+1),n(c+2))?o():(u=Ee,c++);break;case 46:Ja(f,n(c+1),n(c+2))?r():(u=Ee,c++);break;case 47:n(c+1)===42?(u=yt,c=e.indexOf("*/",c+2),c=c===-1?e.length:c+2):(u=Ee,c++);break;case 58:u=kt,c++;break;case 59:u=xt,c++;break;case 60:n(c+1)===33&&n(c+2)===45&&n(c+3)===45?(u=_s,c=c+4):(u=Ee,c++);break;case 64:ti(n(c+1),n(c+2),n(c+3))?(u=st,c=Us(e,c+1)):(u=Ee,c++);break;case 91:u=qt,c++;break;case 92:kn(f,n(c+1))?o():(u=Ee,c++);break;case 93:u=en,c++;break;case 123:u=pt,c++;break;case 125:u=Gt,c++;break;case Ey:r();break;case uu:o();break;default:u=Ee,c++}t(u,l,l=c)}}let $r=null;class dt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return dt.createItem(t)}allocateCursor(t,n){let r;return $r!==null?(r=$r,$r=$r.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=$r,$r=t}updateCursors(t,n,r,o){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=n),s.next===r&&(s.next=o),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const o=dt.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),s=n,i;for(;o.next!==null;)i=o.next,o.next=i.next,s=t.call(r,s,i.data,i,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,i;for(;o.prev!==null;)i=o.prev,o.prev=i.prev,s=t.call(r,s,i.data,i,this);return this.releaseCursor(),s}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new dt;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new dt;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const s=o.next;if(o.next=s.next,n.call(r,s.data,s,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const s=o.prev;if(o.prev=s.prev,n.call(r,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new dt;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(dt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(dt.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(dt.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(dt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(dt.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function ha(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
18
|
+
`)}})}const tl=100,jd=60,zd=" ";function Bd({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function i(h,m){return c.slice(h,m).map((b,y)=>String(h+y+1).padStart(d)+" |"+b).join(`
|
|
19
|
+
`)}const a=`
|
|
20
|
+
`.repeat(Math.max(r-1,0)),l=" ".repeat(Math.max(o-1,0)),c=(a+l+e).split(/\r\n?|\n|\f/),u=Math.max(1,t-s)-1,f=Math.min(t+s,c.length+1),d=Math.max(4,String(f).length)+1;let p=0;n+=(zd.length-1)*(c[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>tl&&(p=n-jd+3,n=jd-2);for(let h=u;h<=f;h++)h>=0&&h<c.length&&(c[h]=c[h].replace(/\t/g,zd),c[h]=(p>0&&c[h].length>p?"…":"")+c[h].substr(p,tl-2)+(c[h].length>p+tl-1?"…":""));return[i(u,t),new Array(n+d+2).join("-")+"^",i(t,f)].filter(Boolean).join(`
|
|
21
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function Hd(e,t,n,r,o,s=1,i=1){return Object.assign(ha("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(l){return Bd({source:t,line:r,column:o,baseLine:s,baseColumn:i},isNaN(l)?0:l)},get formattedMessage(){return`Parse error: ${e}
|
|
22
|
+
`+Bd({source:t,line:r,column:o,baseLine:s,baseColumn:i},2)}})}function EO(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case yt:this.next();continue;case et:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Ur=()=>{},SO=33,CO=35,nl=59,Vd=123,Wd=0,kO={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},xO={createList(){return new dt},createSingleNodeList(e){return new dt().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function TO(e){return function(){return this[e]()}}function rl(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function AO(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:rl(e.atrule),pseudo:rl(e.pseudo),node:rl(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=TO(r);break}return{config:t,...t,...t.node}}function OO(e){let t="",n="<unknown>",r=!1,o=Ur,s=!1;const i=new vO,a=Object.assign(new wO,AO(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:EO,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===Vd?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===Vd||u===nl?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===SO||u===nl?1:0},consumeUntilSemicolonIncluded(u){return u===nl?2:0},createList:Ur,createSingleNodeList:Ur,getFirstListNode:Ur,getLastListNode:Ur,parseWithFallback(u,f){const d=this.tokenIndex;try{return u.call(this)}catch(p){if(s)throw p;this.skip(d-this.tokenIndex);const h=f.call(this);return s=!0,o(p,h),s=!1,h}},lookupNonWSType(u){let f;do if(f=this.lookupType(u++),f!==et&&f!==yt)return f;while(f!==Wd);return Wd},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,f){return t.substring(u,f)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,f){return ro(t,u,f)},cmpStr(u,f,d){return fs(t,u,f,d)},consume(u){const f=this.tokenStart;return this.eat(u),this.substrToCursor(f)},consumeFunctionName(){const u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(me),u},consumeNumber(u){const f=t.substring(this.tokenStart,fa(t,this.tokenStart));return this.eat(u),f},eat(u){if(this.tokenType!==u){const f=cc[u].slice(0,-6).replace(/-/g," ").replace(/^./,h=>h.toUpperCase());let d=`${/[[\](){}]/.test(f)?`"${f}"`:f} is expected`,p=this.tokenStart;switch(u){case W:this.tokenType===me||this.tokenType===wt?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case Ve:this.isDelim(CO)&&(this.next(),p++,d="Name is expected");break;case Qe:this.tokenType===de&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==W||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,f){return r?i.getLocationRange(u,f,n):null},getLocationFromList(u){if(r){const f=this.getFirstListNode(u),d=this.getLastListNode(u);return i.getLocationRange(f!==null?f.loc.start.offset-i.startOffset:this.tokenStart,d!==null?d.loc.end.offset-i.startOffset:this.tokenStart,n)}return null},error(u,f){const d=typeof f<"u"&&f<t.length?i.getLocation(f):this.eof?i.getLocation(yO(t,t.length-1)):i.getLocation(this.tokenStart);throw new Hd(u||"Unexpected input",t,d.offset,d.line,d.column,i.startLine,i.startColumn)}}),l=()=>({filename:n,source:t,tokenCount:a.tokenCount,getTokenType:u=>a.getTokenType(u),getTokenTypeName:u=>cc[a.getTokenType(u)],getTokenStart:u=>a.getTokenStart(u),getTokenEnd:u=>a.getTokenEnd(u),getTokenValue:u=>a.source.substring(a.getTokenStart(u),a.getTokenEnd(u)),substring:(u,f)=>a.source.substring(u,f),balance:a.balance.subarray(0,a.tokenCount+1),isBlockOpenerTokenType:a.isBlockOpenerTokenType,isBlockCloserTokenType:a.isBlockCloserTokenType,getBlockTokenPairIndex:u=>a.getBlockTokenPairIndex(u),getLocation:u=>i.getLocation(u,n),getRangeLocation:(u,f)=>i.getLocationRange(u,f,n)});return Object.assign(function(u,f){t=u,f=f||{},a.setSource(t,pa),i.setSource(t,f.offset,f.line,f.column),n=f.filename||"<unknown>",r=!!f.positions,o=typeof f.onParseError=="function"?f.onParseError:Ur,s=!1,a.parseAtrulePrelude="parseAtrulePrelude"in f?!!f.parseAtrulePrelude:!0,a.parseRulePrelude="parseRulePrelude"in f?!!f.parseRulePrelude:!0,a.parseValue="parseValue"in f?!!f.parseValue:!0,a.parseCustomProperty="parseCustomProperty"in f?!!f.parseCustomProperty:!1;const{context:d="default",list:p=!0,onComment:h,onToken:m}=f;if(!(d in a.context))throw new Error("Unknown context `"+d+"`");Object.assign(a,p?xO:kO),Array.isArray(m)?a.forEachToken((y,_,E)=>{m.push({type:y,start:_,end:E})}):typeof m=="function"&&a.forEachToken(m.bind(l())),typeof h=="function"&&a.forEachToken((y,_,E)=>{if(y===yt){const g=a.getLocation(_,E),A=fs(t,E-2,E,"*/")?t.slice(_+2,E-2):t.slice(_+2,E);h(A,g)}});const b=a.context[d].call(a,f);return a.eof||a.error(),b},{SyntaxError:Hd,config:a.config})}var ol={},js={},zs={},Gd;function IO(){if(Gd)return zs;Gd=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return zs.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},zs.decode=function(t){var n=65,r=90,o=97,s=122,i=48,a=57,l=43,c=47,u=26,f=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+u:i<=t&&t<=a?t-i+f:t==l?62:t==c?63:-1},zs}var qd;function PO(){if(qd)return js;qd=1;var e=IO(),t=5,n=1<<t,r=n-1,o=n;function s(a){return a<0?(-a<<1)+1:(a<<1)+0}function i(a){var l=(a&1)===1,c=a>>1;return l?-c:c}return js.encode=function(l){var c="",u,f=s(l);do u=f&r,f>>>=t,f>0&&(u|=o),c+=e.encode(u);while(f>0);return c},js.decode=function(l,c,u){var f=l.length,d=0,p=0,h,m;do{if(c>=f)throw new Error("Expected more digits in base 64 VLQ value.");if(m=e.decode(l.charCodeAt(c++)),m===-1)throw new Error("Invalid base64 digit: "+l.charAt(c-1));h=!!(m&o),m&=r,d=d+(m<<p),p+=t}while(h);u.value=i(d),u.rest=c},js}var sl={},Kd;function fu(){return Kd||(Kd=1,(function(e){function t(w,O,F){if(O in w)return w[O];if(arguments.length===3)return F;throw new Error('"'+O+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(w){var O=w.match(n);return O?{scheme:O[1],auth:O[2],host:O[3],port:O[4],path:O[5]}:null}e.urlParse=o;function s(w){var O="";return w.scheme&&(O+=w.scheme+":"),O+="//",w.auth&&(O+=w.auth+"@"),w.host&&(O+=w.host),w.port&&(O+=":"+w.port),w.path&&(O+=w.path),O}e.urlGenerate=s;var i=32;function a(w){var O=[];return function(F){for(var M=0;M<O.length;M++)if(O[M].input===F){var Z=O[0];return O[0]=O[M],O[M]=Z,O[0].result}var se=w(F);return O.unshift({input:F,result:se}),O.length>i&&O.pop(),se}}var l=a(function(O){var F=O,M=o(O);if(M){if(!M.path)return O;F=M.path}for(var Z=e.isAbsolute(F),se=[],G=0,J=0;;)if(G=J,J=F.indexOf("/",G),J===-1){se.push(F.slice(G));break}else for(se.push(F.slice(G,J));J<F.length&&F[J]==="/";)J++;for(var X,re=0,J=se.length-1;J>=0;J--)X=se[J],X==="."?se.splice(J,1):X===".."?re++:re>0&&(X===""?(se.splice(J+1,re),re=0):(se.splice(J,2),re--));return F=se.join("/"),F===""&&(F=Z?"/":"."),M?(M.path=F,s(M)):F});e.normalize=l;function c(w,O){w===""&&(w="."),O===""&&(O=".");var F=o(O),M=o(w);if(M&&(w=M.path||"/"),F&&!F.scheme)return M&&(F.scheme=M.scheme),s(F);if(F||O.match(r))return O;if(M&&!M.host&&!M.path)return M.host=O,s(M);var Z=O.charAt(0)==="/"?O:l(w.replace(/\/+$/,"")+"/"+O);return M?(M.path=Z,s(M)):Z}e.join=c,e.isAbsolute=function(w){return w.charAt(0)==="/"||n.test(w)};function u(w,O){w===""&&(w="."),w=w.replace(/\/$/,"");for(var F=0;O.indexOf(w+"/")!==0;){var M=w.lastIndexOf("/");if(M<0||(w=w.slice(0,M),w.match(/^([^\/]+:\/)?\/*$/)))return O;++F}return Array(F+1).join("../")+O.substr(w.length+1)}e.relative=u;var f=(function(){var w=Object.create(null);return!("__proto__"in w)})();function d(w){return w}function p(w){return m(w)?"$"+w:w}e.toSetString=f?d:p;function h(w){return m(w)?w.slice(1):w}e.fromSetString=f?d:h;function m(w){if(!w)return!1;var O=w.length;if(O<9||w.charCodeAt(O-1)!==95||w.charCodeAt(O-2)!==95||w.charCodeAt(O-3)!==111||w.charCodeAt(O-4)!==116||w.charCodeAt(O-5)!==111||w.charCodeAt(O-6)!==114||w.charCodeAt(O-7)!==112||w.charCodeAt(O-8)!==95||w.charCodeAt(O-9)!==95)return!1;for(var F=O-10;F>=0;F--)if(w.charCodeAt(F)!==36)return!1;return!0}function b(w,O,F){var M=g(w.source,O.source);return M!==0||(M=w.originalLine-O.originalLine,M!==0)||(M=w.originalColumn-O.originalColumn,M!==0||F)||(M=w.generatedColumn-O.generatedColumn,M!==0)||(M=w.generatedLine-O.generatedLine,M!==0)?M:g(w.name,O.name)}e.compareByOriginalPositions=b;function y(w,O,F){var M;return M=w.originalLine-O.originalLine,M!==0||(M=w.originalColumn-O.originalColumn,M!==0||F)||(M=w.generatedColumn-O.generatedColumn,M!==0)||(M=w.generatedLine-O.generatedLine,M!==0)?M:g(w.name,O.name)}e.compareByOriginalPositionsNoSource=y;function _(w,O,F){var M=w.generatedLine-O.generatedLine;return M!==0||(M=w.generatedColumn-O.generatedColumn,M!==0||F)||(M=g(w.source,O.source),M!==0)||(M=w.originalLine-O.originalLine,M!==0)||(M=w.originalColumn-O.originalColumn,M!==0)?M:g(w.name,O.name)}e.compareByGeneratedPositionsDeflated=_;function E(w,O,F){var M=w.generatedColumn-O.generatedColumn;return M!==0||F||(M=g(w.source,O.source),M!==0)||(M=w.originalLine-O.originalLine,M!==0)||(M=w.originalColumn-O.originalColumn,M!==0)?M:g(w.name,O.name)}e.compareByGeneratedPositionsDeflatedNoLine=E;function g(w,O){return w===O?0:w===null?1:O===null?-1:w>O?1:-1}function A(w,O){var F=w.generatedLine-O.generatedLine;return F!==0||(F=w.generatedColumn-O.generatedColumn,F!==0)||(F=g(w.source,O.source),F!==0)||(F=w.originalLine-O.originalLine,F!==0)||(F=w.originalColumn-O.originalColumn,F!==0)?F:g(w.name,O.name)}e.compareByGeneratedPositionsInflated=A;function C(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=C;function x(w,O,F){if(O=O||"",w&&(w[w.length-1]!=="/"&&O[0]!=="/"&&(w+="/"),O=w+O),F){var M=o(F);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var Z=M.path.lastIndexOf("/");Z>=0&&(M.path=M.path.substring(0,Z+1))}O=c(s(M),O)}return l(O)}e.computeSourceURL=x})(sl)),sl}var il={},Yd;function LO(){if(Yd)return il;Yd=1;var e=fu(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,i){for(var a=new r,l=0,c=s.length;l<c;l++)a.add(s[l],i);return a},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,i){var a=n?s:e.toSetString(s),l=n?this.has(s):t.call(this._set,a),c=this._array.length;(!l||i)&&this._array.push(s),l||(n?this._set.set(s,c):this._set[a]=c)},r.prototype.has=function(s){if(n)return this._set.has(s);var i=e.toSetString(s);return t.call(this._set,i)},r.prototype.indexOf=function(s){if(n){var i=this._set.get(s);if(i>=0)return i}else{var a=e.toSetString(s);if(t.call(this._set,a))return this._set[a]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},il.ArraySet=r,il}var al={},Xd;function RO(){if(Xd)return al;Xd=1;var e=fu();function t(r,o){var s=r.generatedLine,i=o.generatedLine,a=r.generatedColumn,l=o.generatedColumn;return i>s||i==s&&l>=a||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},al.MappingList=n,al}var Jd;function NO(){if(Jd)return ol;Jd=1;var e=PO(),t=fu(),n=LO().ArraySet,r=RO().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(i,a){var l=i.sourceRoot,c=new o(Object.assign(a||{},{file:i.file,sourceRoot:l}));return i.eachMapping(function(u){var f={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(f.source=u.source,l!=null&&(f.source=t.relative(l,f.source)),f.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(f.name=u.name)),c.addMapping(f)}),i.sources.forEach(function(u){var f=u;l!==null&&(f=t.relative(l,u)),c._sources.has(f)||c._sources.add(f);var d=i.sourceContentFor(u);d!=null&&c.setSourceContent(u,d)}),c},o.prototype.addMapping=function(i){var a=t.getArg(i,"generated"),l=t.getArg(i,"original",null),c=t.getArg(i,"source",null),u=t.getArg(i,"name",null);!this._skipValidation&&this._validateMapping(a,l,c,u)===!1||(c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:c,name:u}))},o.prototype.setSourceContent=function(i,a){var l=i;this._sourceRoot!=null&&(l=t.relative(this._sourceRoot,l)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(l)]=a):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(i,a,l){var c=a;if(a==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=i.file}var u=this._sourceRoot;u!=null&&(c=t.relative(u,c));var f=new n,d=new n;this._mappings.unsortedForEach(function(p){if(p.source===c&&p.originalLine!=null){var h=i.originalPositionFor({line:p.originalLine,column:p.originalColumn});h.source!=null&&(p.source=h.source,l!=null&&(p.source=t.join(l,p.source)),u!=null&&(p.source=t.relative(u,p.source)),p.originalLine=h.line,p.originalColumn=h.column,h.name!=null&&(p.name=h.name))}var m=p.source;m!=null&&!f.has(m)&&f.add(m);var b=p.name;b!=null&&!d.has(b)&&d.add(b)},this),this._sources=f,this._names=d,i.sources.forEach(function(p){var h=i.sourceContentFor(p);h!=null&&(l!=null&&(p=t.join(l,p)),u!=null&&(p=t.relative(u,p)),this.setSourceContent(p,h))},this)},o.prototype._validateMapping=function(i,a,l,c){if(a&&typeof a.line!="number"&&typeof a.column!="number"){var u="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}if(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!a&&!l&&!c)){if(i&&"line"in i&&"column"in i&&a&&"line"in a&&"column"in a&&i.line>0&&i.column>=0&&a.line>0&&a.column>=0&&l)return;var u="Invalid mapping: "+JSON.stringify({generated:i,source:l,original:a,name:c});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}},o.prototype._serializeMappings=function(){for(var i=0,a=1,l=0,c=0,u=0,f=0,d="",p,h,m,b,y=this._mappings.toArray(),_=0,E=y.length;_<E;_++){if(h=y[_],p="",h.generatedLine!==a)for(i=0;h.generatedLine!==a;)p+=";",a++;else if(_>0){if(!t.compareByGeneratedPositionsInflated(h,y[_-1]))continue;p+=","}p+=e.encode(h.generatedColumn-i),i=h.generatedColumn,h.source!=null&&(b=this._sources.indexOf(h.source),p+=e.encode(b-f),f=b,p+=e.encode(h.originalLine-1-c),c=h.originalLine-1,p+=e.encode(h.originalColumn-l),l=h.originalColumn,h.name!=null&&(m=this._names.indexOf(h.name),p+=e.encode(m-u),u=m)),d+=p}return d},o.prototype._generateSourcesContent=function(i,a){return i.map(function(l){if(!this._sourcesContents)return null;a!=null&&(l=t.relative(a,l));var c=t.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},o.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},ol.SourceMapGenerator=o,ol}var MO=NO();const Qd=new Set(["Atrule","Selector","Declaration"]);function DO(e){const t=new MO.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let i=1,a=0,l=!1;const c=e.node;e.node=function(d){if(d.loc&&d.loc.start&&Qd.has(d.type)){const p=d.loc.start.line,h=d.loc.start.column-1;(r.line!==p||r.column!==h)&&(r.line=p,r.column=h,n.line=i,n.column=a,l&&(l=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),l=!0,t.addMapping({source:d.loc.source,original:r,generated:n}))}c.call(this,d),l&&Qd.has(d.type)&&(o.line=i,o.column=a)};const u=e.emit;e.emit=function(d,p,h){for(let m=0;m<d.length;m++)d.charCodeAt(m)===10?(i++,a=0):a++;u(d,p,h)};const f=e.result;return e.result=function(){return l&&t.addMapping(s),{css:f(),map:t}},e}const FO=43,$O=45,ll=(e,t)=>(e===Ee&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),ky=[[W,W],[W,me],[W,wt],[W,Rt],[W,"-"],[W,de],[W,Qe],[W,we],[W,Nt],[W,Ae],[st,W],[st,me],[st,wt],[st,Rt],[st,"-"],[st,de],[st,Qe],[st,we],[st,Nt],[Ve,W],[Ve,me],[Ve,wt],[Ve,Rt],[Ve,"-"],[Ve,de],[Ve,Qe],[Ve,we],[Ve,Nt],[we,W],[we,me],[we,wt],[we,Rt],[we,"-"],[we,de],[we,Qe],[we,we],[we,Nt],["#",W],["#",me],["#",wt],["#",Rt],["#","-"],["#",de],["#",Qe],["#",we],["#",Nt],["-",W],["-",me],["-",wt],["-",Rt],["-","-"],["-",de],["-",Qe],["-",we],["-",Nt],[de,W],[de,me],[de,wt],[de,Rt],[de,de],[de,Qe],[de,we],[de,"%"],[de,Nt],["@",W],["@",me],["@",wt],["@",Rt],["@","-"],["@",Nt],[".",de],[".",Qe],[".",we],["+",de],["+",Qe],["+",we],["/","*"]],UO=ky.concat([[W,Ve],[we,Ve],[Ve,Ve],[st,Ae],[st,hn],[st,kt],[Qe,Qe],[Qe,we],[Qe,me],[Qe,"-"],[ce,W],[ce,me],[ce,Qe],[ce,we],[ce,Ve],[ce,"-"]]);function xy(e){const t=new Set(e.map(([n,r])=>ll(n)<<16|ll(r)));return function(n,r,o){const s=ll(r,o),i=o.charCodeAt(0),a=i===$O&&r!==W&&r!==me&&r!==Nt||i===FO?t.has((n&65534)<<16|i<<7):t.has((n&65534)<<16|s);return s|a}}const jO=xy(ky),Ty=xy(UO),Zd=Object.freeze(Object.defineProperty({__proto__:null,safe:Ty,spec:jO},Symbol.toStringTag,{value:"Module"})),zO=92;function BO(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function HO(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,i={node(l){if(t.has(l.type))t.get(l.type).call(a,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:Ty,token(l,c,u){s=this.tokenBefore(s,l,c),!u&&s&1&&this.emit(" ",et,!0),this.emit(c,l,!1),l===Ee&&c.charCodeAt(0)===zO&&this.emit(`
|
|
23
|
+
`,et,!0)},emit(l){o+=l},result(){return o}};r&&(typeof r.decorator=="function"&&(i=r.decorator(i)),r.sourceMap&&(i=DO(i)),r.mode in Zd&&(i.tokenBefore=Zd[r.mode]));const a={node:l=>i.node(l),children:BO,token:(l,c)=>i.token(l,c),tokenize:l=>pa(l,(c,u,f)=>{i.token(c,l.slice(u,f),u!==0)})};return i.node(n),i.result()}}function VO(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof dt)&&(n.children=new dt().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof dt&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:du}=Object.prototype,Fo=function(){};function ep(e){return typeof e=="function"?e:Fo}function tp(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function WO(e,t){const n=t.structure,r=[];for(const o in n){if(du.call(n,o)===!1)continue;let s=n[o];const i={name:o,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(const a of s)a===null?i.nullable=!0:typeof a=="string"?i.type="node":Array.isArray(a)&&(i.type="list");i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function GO(e){const t={};for(const n in e.node)if(du.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=WO(n,r)}return t}function np(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(s,i,a,l){let c;o&&(c=i[r],i[r]=s);for(const u of n){const f=s[u.name];if(!u.nullable||f){if(u.type==="list"){if(t?f.reduceRight(l,!1):f.reduce(l,!1))return!0}else if(a(f))return!0}}o&&(i[r]=c)}}function rp({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function qO(e){const t=GO(e),n={},r={},o=Symbol("break-walk"),s=Symbol("skip-node");for(const c in t)du.call(t,c)&&t[c]!==null&&(n[c]=np(t[c],!1),r[c]=np(t[c],!0));const i=rp(n),a=rp(r),l=function(c,u){function f(y,_,E){const g=d.call(b,y,_,E);return g===o?!0:g===s?!1:!!(h.hasOwnProperty(y.type)&&h[y.type](y,b,f,m)||p.call(b,y,_,E)===o)}let d=Fo,p=Fo,h=n,m=(y,_,E,g)=>y||f(_,E,g);const b={break:o,skip:s,root:c,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")d=u;else if(u&&(d=ep(u.enter),p=ep(u.leave),u.reverse&&(h=r),u.visit)){if(i.hasOwnProperty(u.visit))h=u.reverse?a[u.visit]:i[u.visit];else if(!t.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");d=tp(d,u.visit),p=tp(p,u.visit)}if(d===Fo&&p===Fo)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");f(c)};return l.break=o,l.skip=s,l.find=function(c,u){let f=null;return l(c,function(d,p,h){if(u.call(this,d,p,h))return f=d,o}),f},l.findLast=function(c,u){let f=null;return l(c,{reverse:!0,enter(d,p,h){if(u.call(this,d,p,h))return f=d,o}}),f},l.findAll=function(c,u){const f=[];return l(c,function(d,p,h){u.call(this,d,p,h)&&f.push(d)}),f},l}function KO(e){return e}function YO(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function XO(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function JO(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",s=e.terms.map(i=>Li(i,t,n,r)).join(o);return e.explicit||n?(r||s[0]===","?"[":"[ ")+s+(r?"]":" ]"):s}function Li(e,t,n,r){let o;switch(e.type){case"Group":o=JO(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Li(e.term,t,n,r)+t(YO(e),e);case"Boolean":o="<boolean-expr["+Li(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(XO(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function pu(e,t){let n=KO,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),Li(e,n,r,o)}const op={offset:0,line:1,column:1};function QO(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,s=o!==t?o:null;let i=0,a=0,l=0,c="",u,f;for(let d=0;d<n.length;d++){const p=n[d].value;d===r&&(a=p.length,i=c.length),s!==null&&n[d].node===s&&(d<=r?l++:l=0),c+=p}return r===n.length||l>1?(u=Bs(s||t,"end")||$o(op,c),f=$o(u)):(u=Bs(s,"start")||$o(Bs(t,"start")||op,c.slice(0,i)),f=Bs(s,"end")||$o(u,c.substr(i,a))),{css:c,mismatchOffset:i,mismatchLength:a,start:u,end:f}}function Bs(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?$o(n):n:null}function $o({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const s=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=s.length-1,o.column=s.length===1?o.column+r.length:s.pop().length+1}return o}const Po=function(e,t){const n=ha("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},ZO=function(e,t,n,r){const o=ha("SyntaxMatchError",e),{css:s,mismatchOffset:i,mismatchLength:a,start:l,end:c}=QO(r,n);return o.rawMessage=e,o.syntax=t?pu(t):"<generic>",o.css=s,o.mismatchOffset=i,o.mismatchLength=a,o.message=e+`
|
|
24
|
+
syntax: `+o.syntax+`
|
|
25
|
+
value: `+(s||"<empty string>")+`
|
|
26
|
+
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,l),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},o},Hs=new Map,jr=new Map,Ri=45,cl=eI,sp=tI;function hu(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ri&&e.charCodeAt(t+1)===Ri}function Ay(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ri&&e.charCodeAt(t+1)!==Ri){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function eI(e){if(Hs.has(e))return Hs.get(e);const t=e.toLowerCase();let n=Hs.get(t);if(n===void 0){const r=hu(t,0),o=r?"":Ay(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return Hs.set(e,n),n}function tI(e){if(jr.has(e))return jr.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=hu(t,n.length);if(!r&&(t=t.toLowerCase(),jr.has(t))){const a=jr.get(t);return jr.set(e,a),a}const o=r?"":Ay(t,n.length),s=t.substr(0,n.length+o.length),i=Object.freeze({basename:t.substr(s.length),name:t.substr(n.length),hack:n,vendor:o,prefix:s,custom:r});return jr.set(e,i),i}const mu=["initial","inherit","unset","revert","revert-layer"],ds=43,vn=45,ul=110,zr=!0,nI=!1;function uc(e,t){return e!==null&&e.type===Ee&&e.value.charCodeAt(0)===t}function Jo(e,t,n){for(;e!==null&&(e.type===et||e.type===yt);)e=n(++t);return t}function rr(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===ds||o===vn){if(n)return 0;t++}for(;t<e.value.length;t++)if(!gt(e.value.charCodeAt(t)))return 0;return r+1}function fl(e,t,n){let r=!1,o=Jo(e,t,n);if(e=n(o),e===null)return t;if(e.type!==de)if(uc(e,ds)||uc(e,vn)){if(r=!0,o=Jo(n(++o),o,n),e=n(o),e===null||e.type!==de)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==ds&&s!==vn)return 0}return rr(e,r?0:1,r,o)}function rI(e,t){let n=0;if(!e)return 0;if(e.type===de)return rr(e,0,nI,n);if(e.type===W&&e.value.charCodeAt(0)===vn){if(!ro(e.value,1,ul))return 0;switch(e.value.length){case 2:return fl(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==vn?0:(n=Jo(t(++n),n,t),e=t(n),rr(e,0,zr,n));default:return e.value.charCodeAt(2)!==vn?0:rr(e,3,zr,n)}}else if(e.type===W||uc(e,ds)&&t(n+1).type===W){if(e.type!==W&&(e=t(++n)),e===null||!ro(e.value,0,ul))return 0;switch(e.value.length){case 1:return fl(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==vn?0:(n=Jo(t(++n),n,t),e=t(n),rr(e,0,zr,n));default:return e.value.charCodeAt(1)!==vn?0:rr(e,2,zr,n)}}else if(e.type===we){let r=e.value.charCodeAt(0),o=r===ds||r===vn?1:0,s=o;for(;s<e.value.length&>(e.value.charCodeAt(s));s++);return s===o||!ro(e.value,s,ul)?0:s+1===e.value.length?fl(t(++n),n,t):e.value.charCodeAt(s+1)!==vn?0:s+2===e.value.length?(n=Jo(t(++n),n,t),e=t(n),rr(e,0,zr,n)):rr(e,s+2,zr,n)}return 0}const oI=43,Oy=45,Iy=63,sI=117;function fc(e,t){return e!==null&&e.type===Ee&&e.value.charCodeAt(0)===t}function iI(e,t){return e.value.charCodeAt(0)===t}function Uo(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===Oy&&n&&r!==0)return Uo(e,t+r+1,!1),6;if(!fr(s)||++r>6)return 0}return r}function Vs(e,t,n){if(!e)return 0;for(;fc(n(t),Iy);){if(++e>6)return 0;t++}return t}function aI(e,t){let n=0;if(e===null||e.type!==W||!ro(e.value,0,sI)||(e=t(++n),e===null))return 0;if(fc(e,oI))return e=t(++n),e===null?0:e.type===W?Vs(Uo(e,0,!0),++n,t):fc(e,Iy)?Vs(1,++n,t):0;if(e.type===de){const r=Uo(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===we||e.type===de?!iI(e,Oy)||!Uo(e,1,!1)?0:n+1:Vs(r,n,t))}return e.type===we?Vs(Uo(e,1,!0),++n,t):0}const gu=["calc(","-moz-calc(","-webkit-calc("],yu=["min(","max(","clamp("],bu=["round(","mod(","rem("],lI=["sin(","cos(","tan("],cI=["asin(","acos(","atan(","atan2("],uI=["pow(","sqrt(","log(","exp(","sign("],_u=["hypot("],vu=["abs("],ip=[...gu,...yu,...bu,...lI,...uI,..._u,...vu],fI=[...gu,...yu,...bu,..._u,...vu],Fn=[...gu,...yu,...bu,...cI,..._u,...vu],wu=new Map([[me,ce],[Ae,ce],[qt,en],[pt,Gt]]);function un(e,t){return t<e.length?e.charCodeAt(t):0}function Py(e,t){return fs(e,0,e.length,t)}function Ly(e,t){for(let n=0;n<t.length;n++)if(Py(e,t[n]))return!0;return!1}function Ry(e,t){return t!==e.length-2?!1:un(e,t)===92&>(un(e,t+1))}function ma(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function dI(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case Gt:case ce:case en:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case me:case Ae:case qt:case pt:r.push(n),n=wu.get(e.type);break}o++}while(e=t(o));return o}function Jt(e,t){return function(n,r,o){return n===null?0:n.type===me&&Ly(n.value,t)?dI(n,r):e(n,r,o)}}function Be(e){return function(t){return t===null||t.type!==e?0:1}}function pI(e){if(e===null||e.type!==W)return 0;const t=e.value.toLowerCase();return Ly(t,mu)||Py(t,"default")?0:1}function Ny(e){return e===null||e.type!==W||un(e.value,0)!==45||un(e.value,1)!==45?0:1}function hI(e){return!Ny(e)||e.value==="--"?0:1}function mI(e){if(e===null||e.type!==Ve)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!fr(un(e.value,n)))return 0;return 1}function gI(e){return e===null||e.type!==Ve||!ti(un(e.value,1),un(e.value,2),un(e.value,3))?0:1}function yI(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ua:case Rt:break e;case Gt:case ce:case en:if(e.type!==n)break e;n=r.pop();break;case xt:if(n===0)break e;break;case Ee:if(n===0&&e.value==="!")break e;break;case me:case Ae:case qt:case pt:r.push(n),n=wu.get(e.type);break}o++}while(e=t(o));return o}function bI(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ua:case Rt:break e;case Gt:case ce:case en:if(e.type!==n)break e;n=r.pop();break;case me:case Ae:case qt:case pt:r.push(n),n=wu.get(e.type);break}o++}while(e=t(o));return o}function $n(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==we)return 0;const o=fa(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),i=s===-1||!Ry(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(i.toLowerCase())===!1)return 0}return ma(r,t.value,o)?0:1}}function _I(e,t,n){return e===null||e.type!==Qe||ma(n,e.value,e.value.length-1)?0:1}function My(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===de&&Number(t.value)===0?1:e(t,n,r)}}function vI(e,t,n){if(e===null)return 0;const r=fa(e.value,0);return!(r===e.value.length)&&!Ry(e.value,r)||ma(n,e.value,r)?0:1}function wI(e,t,n){if(e===null||e.type!==de)return 0;let r=un(e.value,0)===43||un(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!gt(un(e.value,r)))return 0;return ma(n,e.value,r)?0:1}const EI={"ident-token":Be(W),"function-token":Be(me),"at-keyword-token":Be(st),"hash-token":Be(Ve),"string-token":Be(hn),"bad-string-token":Be(ua),"url-token":Be(wt),"bad-url-token":Be(Rt),"delim-token":Be(Ee),"number-token":Be(de),"percentage-token":Be(Qe),"dimension-token":Be(we),"whitespace-token":Be(et),"CDO-token":Be(_s),"CDC-token":Be(Nt),"colon-token":Be(kt),"semicolon-token":Be(xt),"comma-token":Be(jt),"[-token":Be(qt),"]-token":Be(en),"(-token":Be(Ae),")-token":Be(ce),"{-token":Be(pt),"}-token":Be(Gt)},SI={string:Be(hn),ident:Be(W),percentage:Jt(_I,fI),zero:My(),number:Jt(vI,ip),integer:Jt(wI,ip),"custom-ident":pI,"dashed-ident":Ny,"custom-property-name":hI,"hex-color":mI,"id-selector":gI,"an-plus-b":rI,urange:aI,"declaration-value":yI,"any-value":bI},CI=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function kI(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:i,semitones:a,time:l}=e||{};return{dimension:Jt($n(null),Fn),angle:Jt($n(t),Fn),decibel:Jt($n(n),Fn),frequency:Jt($n(r),Fn),flex:Jt($n(o),Fn),length:Jt(My($n(s)),Fn),resolution:Jt($n(i),Fn),semitones:Jt($n(a),Fn),time:Jt($n(l),Fn)}}function xI(e){const t=new Set;for(const n of CI)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===Ee&&r.value==="%"||r.type===W&&t.has(r.value.toLowerCase())?1:0}}function TI(e){return{...EI,...SI,...kI(e),"attr-unit":xI(e)}}const AI=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],OI=["deg","grad","rad","turn"],II=["s","ms"],PI=["hz","khz"],LI=["dpi","dpcm","dppx","x"],RI=["fr"],NI=["db"],MI=["st"],ap=Object.freeze(Object.defineProperty({__proto__:null,angle:OI,decibel:NI,flex:RI,frequency:PI,length:AI,resolution:LI,semitones:MI,time:II},Symbol.toStringTag,{value:"Module"}));function DI(e,t,n){return Object.assign(ha("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
27
|
+
`+t+`
|
|
28
|
+
--`+new Array((n||t.length)+1).join("-")+"^"})}const FI=9,$I=10,UI=12,jI=13,zI=32,lp=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class BI{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&lp[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==jI&&n!==$I&&n!==UI&&n!==zI&&n!==FI)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new DI(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||lp[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const HI=9,VI=10,WI=12,GI=13,qI=32,Dy=33,Eu=35,cp=38,Ni=39,Fy=40,$y=41,Uy=42,Su=43,Cu=44,up=45,ku=60,dc=62,Mi=63,KI=64,ps=91,ho=93,Di=123,fp=124,pc=125,dp=8734,pp={" ":1,"&&":2,"||":3,"|":4};function hp(e){let t=null,n=null;return e.eat(Di),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Cu?(e.pos++,e.skipWs(),e.charCode()!==pc&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(pc),{min:Number(t),max:n?Number(n):0}}function YI(e){let t=null,n=!1;switch(e.charCode()){case Uy:e.pos++,t={min:0,max:0};break;case Su:e.pos++,t={min:1,max:0};break;case Mi:e.pos++,t={min:0,max:1};break;case Eu:e.pos++,n=!0,e.charCode()===Di?t=hp(e):e.charCode()===Mi?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Di:t=hp(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Xn(e,t){const n=YI(e);return n!==null?(n.term=t,e.charCode()===Eu&&e.charCodeAt(e.pos-1)===Su||e.charCode()===Mi&&e.charCodeAt(e.pos-1)===pc?Xn(e,n):n):t}function dl(e){const t=e.peek();return t===""?null:Xn(e,{type:"Token",value:t})}function XI(e){let t;return e.eat(ku),e.eat(Ni),t=e.scanWord(),e.eat(Ni),e.eat(dc),Xn(e,{type:"Property",name:t})}function JI(e){let t=null,n=null,r=1;return e.eat(ps),e.charCode()===up&&(e.peek(),r=-1),r==-1&&e.charCode()===dp?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Cu),e.skipWs(),e.charCode()===dp?e.peek():(r=1,e.charCode()===up&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(ho),{type:"Range",min:t,max:n}}function QI(e){let t,n=null;if(e.eat(ku),t=e.scanWord(),t==="boolean-expr"){e.eat(ps);const r=ga(e,ho);return e.eat(ho),e.eat(dc),Xn(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Fy&&e.nextCharCode()===$y&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===ps&&(e.skipWs(),n=JI(e)),e.eat(dc),Xn(e,{type:"Type",name:t,opts:n})}function ZI(e){const t=e.scanWord();return e.charCode()===Fy?(e.pos++,{type:"Function",name:t}):Xn(e,{type:"Keyword",name:t})}function e1(e,t){function n(o,s){return{type:"Group",terms:o,combinator:s,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,s)=>pp[o]-pp[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const i=e[o];i.type==="Combinator"&&(i.value===r?(s===-1&&(s=o-1),e.splice(o,1),o--):(s!==-1&&o-s>1&&(e.splice(s,o-s,n(e.slice(s,o),r)),o=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,o-s,n(e.slice(s,o),r))}return r}function ga(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,i=!1;for(;e.charCode()!==t;){let a=i?ga(e,$y):n1(e);if(!a)break;if(a.type!=="Spaces"){if(i){if(a.terms.length===0){i=!1;continue}if(a.combinator===" "){for(;a.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},a.terms.shift());a=a.terms[0]}}a.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[a.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(a),o=a,s=e.pos,i=a.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:e1(r,n)||" ",disallowEmpty:!1,explicit:!1}}function t1(e){let t;return e.eat(ps),t=ga(e,ho),e.eat(ho),t.explicit=!0,e.charCode()===Dy&&(e.pos++,t.disallowEmpty=!0),t}function n1(e){let t=e.charCode();switch(t){case ho:break;case ps:return Xn(e,t1(e));case ku:return e.nextCharCode()===Ni?XI(e):QI(e);case fp:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===fp?2:1))};case cp:return e.pos++,e.eat(cp),{type:"Combinator",value:"&&"};case Cu:return e.pos++,{type:"Comma"};case Ni:return Xn(e,{type:"String",value:e.scanString()});case qI:case HI:case VI:case GI:case WI:return{type:"Spaces",value:e.scanSpaces()};case KI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):dl(e);case Uy:case Su:case Mi:case Eu:case Dy:break;case Di:if(t=e.nextCharCode(),t<48||t>57)return dl(e);break;default:return e.isNameCharCode(t)?ZI(e):dl(e)}}function jy(e){const t=new BI(e),n=ga(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const jo=function(){};function mp(e){return typeof e=="function"?e:jo}function r1(e,t,n){function r(i){switch(o.call(n,i),i.type){case"Group":i.terms.forEach(r);break;case"Multiplier":case"Boolean":r(i.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+i.type)}s.call(n,i)}let o=jo,s=jo;if(typeof t=="function"?o=t:t&&(o=mp(t.enter),s=mp(t.leave)),o===jo&&s===jo)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const o1={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,s){t.push({type:o,value:r,node:s?null:n})},result(){return t}}}};function s1(e){const t=[];return pa(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function i1(e,t){return typeof e=="string"?s1(e):t.generate(e,o1)}const Oe={type:"Match"},$e={type:"Mismatch"},xu={type:"DisallowEmpty"},a1=40,l1=41;function vt(e,t,n){return t===Oe&&n===$e||e===Oe&&t===Oe&&n===Oe?e:(e.type==="If"&&e.else===$e&&t===Oe&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function zy(e){return e.length>2&&e.charCodeAt(e.length-2)===a1&&e.charCodeAt(e.length-1)===l1}function gp(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&zy(e.name)}function Zn(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Qo(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Qo(e.match,t,n),e.then=Qo(e.then,t,n),e.else=Qo(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function hc(e,t,n){switch(e){case" ":{let r=Oe;for(let o=t.length-1;o>=0;o--){const s=t[o];r=vt(s,r,$e)}return r}case"|":{let r=$e,o=null;for(let s=t.length-1;s>=0;s--){let i=t[s];if(gp(i)&&(o===null&&s>0&&gp(t[s-1])&&(o=Object.create(null),r=vt({type:"Enum",map:o},Oe,r)),o!==null)){const a=(zy(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(a in o)){o[a]=i;continue}}o=null,r=vt(i,Oe,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=$e;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=hc(e,t.filter(function(a){return a!==s}),!1):i=Oe,r=vt(s,i,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Oe:$e;for(let o=t.length-1;o>=0;o--){const s=t[o];let i;t.length>1?i=hc(e,t.filter(function(a){return a!==s}),!0):i=Oe,r=vt(s,i,r)}return r}}}function c1(e){let t=Oe,n=Xr(e.term);if(e.max===0)n=vt(n,xu,$e),t=vt(n,null,$e),t.then=vt(Oe,Oe,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,$e));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Oe&&(t=vt({type:"Comma",syntax:e},t,$e)),t=vt(n,vt(Oe,Oe,t),$e);if(e.min===0)t=vt(Oe,Oe,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Oe&&(t=vt({type:"Comma",syntax:e},t,$e)),t=vt(n,t,$e);return t}function Xr(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=hc(e.combinator,e.terms.map(Xr),!1);return e.disallowEmpty&&(t=vt(t,xu,$e)),t}case"Multiplier":return c1(e);case"Boolean":{const t=Xr(e.term),n=Xr(Zn([Zn([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Zn([{type:"Type",name:"!boolean-group"},Zn([{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Zn([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=Xr(Zn([{type:"Type",name:"!term"},Zn([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Qo(r,{"!term":t,"!self":n}),Qo(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Ws(e,t){return typeof e=="string"&&(e=jy(e)),{type:"MatchGraph",match:Xr(e),syntax:t||null,source:e}}const{hasOwnProperty:yp}=Object.prototype,u1=0,f1=1,mc=2,By=3,bp="Match",d1="Mismatch",p1="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",_p=15e3;function h1(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function pl(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function m1(e){return e.type!==Ee?!1:e.value!=="?"}function vp(e){return e===null?!0:e.type===jt||e.type===me||e.type===Ae||e.type===qt||e.type===pt||m1(e)}function wp(e){return e===null?!0:e.type===ce||e.type===en||e.type===Gt||e.type===Ee&&e.value==="/"}function g1(e,t,n){function r(){do _++,y=_<e.length?e[_]:null;while(y!==null&&(y.type===et||y.type===yt))}function o(A){const C=_+A;return C<e.length?e[C]:null}function s(A,C){return{nextState:A,matchStack:g,syntaxStack:f,thenStack:d,tokenIndex:_,prev:C}}function i(A){d={nextState:A,matchStack:g,syntaxStack:f,prev:d}}function a(A){p=s(A,p)}function l(){g={type:f1,syntax:t.syntax,token:y,prev:g},r(),h=null,_>E&&(E=_)}function c(){f={syntax:t.syntax,opts:t.syntax.opts||f!==null&&f.opts||null,prev:f},g={type:mc,syntax:t.syntax,token:g.token,prev:g}}function u(){g.type===mc?g=g.prev:g={type:By,syntax:f.syntax,token:g.token,prev:g},f=f.prev}let f=null,d=null,p=null,h=null,m=0,b=null,y=null,_=-1,E=0,g={type:u1,syntax:null,token:null,prev:null};for(r();b===null&&++m<_p;)switch(t.type){case"Match":if(d===null){if(y!==null&&(_!==e.length-1||y.value!=="\\0"&&y.value!=="\\9")){t=$e;break}b=bp;break}if(t=d.nextState,t===xu)if(d.matchStack===g){t=$e;break}else t=Oe;for(;d.syntaxStack!==f;)u();d=d.prev;break;case"Mismatch":if(h!==null&&h!==!1)(p===null||_>p.tokenIndex)&&(p=h,h=!1);else if(p===null){b=d1;break}t=p.nextState,d=p.thenStack,f=p.syntaxStack,g=p.matchStack,_=p.tokenIndex,y=_<e.length?e[_]:null,p=p.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==$e&&a(t.else),t.then!==Oe&&i(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const x=t.syntax.terms;if(t.index===x.length){if(t.mask===0||t.syntax.all){t=$e;break}t=Oe;break}if(t.mask===(1<<x.length)-1){t=Oe;break}for(;t.index<x.length;t.index++){const w=1<<t.index;if((t.mask&w)===0){a(t),i({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|w}),t=x[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(y!==null){let x=y.value.toLowerCase();if(x.indexOf("\\")!==-1&&(x=x.replace(/\\[09].*$/,"")),yp.call(t.map,x)){t=t.map[x];break}}t=$e;break;case"Generic":{const x=f!==null?f.opts:null,w=_+Math.floor(t.fn(y,o,x));if(!isNaN(w)&&w>_){for(;_<w;)l();t=Oe}else t=$e;break}case"Type":case"Property":{const x=t.type==="Type"?"types":"properties",w=yp.call(n,x)?n[x][t.name]:null;if(!w||!w.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(h!==!1&&y!==null&&t.type==="Type"&&(t.name==="custom-ident"&&y.type===W||t.name==="length"&&y.value==="0")){h===null&&(h=s(t,p)),t=$e;break}c(),t=w.matchRef||w.match;break}case"Keyword":{const x=t.name;if(y!==null){let w=y.value;if(w.indexOf("\\")!==-1&&(w=w.replace(/\\[09].*$/,"")),pl(w,x)){l(),t=Oe;break}}t=$e;break}case"AtKeyword":case"Function":if(y!==null&&pl(y.value,t.name)){l(),t=Oe;break}t=$e;break;case"Token":if(y!==null&&y.value===t.value){l(),t=Oe;break}t=$e;break;case"Comma":y!==null&&y.type===jt?vp(g.token)?t=$e:(l(),t=wp(y)?$e:Oe):t=vp(g.token)||wp(y)?Oe:$e;break;case"String":let A="",C=_;for(;C<e.length&&A.length<t.value.length;C++)A+=e[C].value;if(pl(A,t.value)){for(;_<C;)l();t=Oe}else t=$e;break;default:throw new Error("Unknown node type: "+t.type)}switch(b){case null:console.warn("[csstree-match] BREAK after "+_p+" iterations"),b=p1,g=null;break;case bp:for(;f!==null;)u();break;default:g=null}return{tokens:e,reason:b,iterations:m,match:g,longestMatch:E}}function Ep(e,t,n){const r=g1(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const i=[s];for(o=h1(o).prev;o!==null;){switch(o.type){case mc:s.match.push(s={syntax:o.syntax,match:[]}),i.push(s);break;case By:i.pop(),s=i[i.length-1];break;default:s.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function Hy(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let s=0;s<o.match.length;s++)if(n(o.match[s]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function y1(e,t){return Tu(this,e,n=>n.type==="Type"&&n.name===t)}function b1(e,t){return Tu(this,e,n=>n.type==="Property"&&n.name===t)}function _1(e){return Tu(this,e,t=>t.type==="Keyword")}function Tu(e,t,n){const r=Hy.call(e,t);return r===null?!1:r.some(n)}const v1=Object.freeze(Object.defineProperty({__proto__:null,getTrace:Hy,isKeyword:_1,isProperty:b1,isType:y1},Symbol.toStringTag,{value:"Module"}));function Vy(e){return"node"in e?e.node:Vy(e.match[0])}function Wy(e){return"node"in e?e.node:Wy(e.match[e.match.length-1])}function Sp(e,t,n,r,o){function s(a){if(a.syntax!==null&&a.syntax.type===r&&a.syntax.name===o){const l=Vy(a),c=Wy(a);e.syntax.walk(t,function(u,f,d){if(u===l){const p=new dt;do{if(p.appendData(f.data),f.data===c)break;f=f.next}while(f!==null);i.push({parent:d,nodes:p})}})}Array.isArray(a.match)&&a.match.forEach(s)}const i=[];return n.matched!==null&&s(n.matched),i}const{hasOwnProperty:Zo}=Object.prototype;function hl(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Cp(e){return!!e&&hl(e.offset)&&hl(e.line)&&hl(e.column)}function w1(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let s in r){let i=!0;if(Zo.call(r,s)!==!1){if(s==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(s==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")s+=".source";else if(!Cp(r.loc.start))s+=".start";else if(!Cp(r.loc.end))s+=".end";else continue;i=!1}else if(t.hasOwnProperty(s)){i=!1;for(let a=0;!i&&a<t[s].length;a++){const l=t[s][a];switch(l){case String:i=typeof r[s]=="string";break;case Boolean:i=typeof r[s]=="boolean";break;case null:i=r[s]===null;break;default:typeof l=="string"?i=r[s]&&r[s].type===l:Array.isArray(l)&&(i=r[s]instanceof dt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");i||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Zo.call(t,s)&&Zo.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function Gy(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(Gy(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function E1(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Zo.call(n,s)===!1)continue;const i=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=Gy(i,e+"."+s)}return{docs:o,check:w1(e,r)}}function S1(e){const t={};if(e.node){for(const n in e.node)if(Zo.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=E1(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function gc(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:pu(e[o].syntax,{compact:t}));return r}function C1(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:pu(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&gc(s.descriptors,t,n)};return r}function k1(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function x1(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function sn(e,t,n){return{matched:e,iterations:n,error:t,...v1}}function Br(e,t,n,r){const o=i1(n,e.syntax);let s;return k1(o)?sn(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=Ep(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=Ep(o,t.match,e),!s.match)?sn(null,new ZO(s.reason,t.syntax,n,s),s.iterations):sn(s.match,null,s.iterations))}class kp{constructor(t,n,r){if(this.cssWideKeywords=mu,this.syntax=n,this.generic=!1,this.units={...ap},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||S1(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(ap))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,s]of Object.entries(t.types))this.addType_(o,s);if(t.generic){this.generic=!0;for(const[o,s]of Object.entries(TI(this.units)))this.addType_(o,s)}if(t.atrules)for(const[o,s]of Object.entries(t.atrules))this.addAtrule_(o,s);if(t.properties)for(const[o,s]of Object.entries(t.properties))this.addProperty_(o,s)}this.cssWideKeywordsSyntax=Ws(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,i){o.push({node:s,message:i})}const r=this.structure,o=[];return this.syntax.walk(t,function(s){r.hasOwnProperty(s.type)?r[s.type].check(s,n):n(s,"Unknown node type `"+s.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const s={type:n,name:r},i={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?i.match=Ws(t,s):(typeof t=="string"?Object.defineProperty(i,"syntax",{get(){return Object.defineProperty(i,"syntax",{value:jy(t)}),i.syntax}}):i.syntax=t,Object.defineProperty(i,"match",{get(){return Object.defineProperty(i,"match",{value:Ws(i.syntax,s)}),i.match}}),n==="Property"&&Object.defineProperty(i,"matchRef",{get(){const a=i.syntax,l=x1(a)?Ws({...a,terms:[a.terms[0].term]},s):null;return Object.defineProperty(i,"matchRef",{value:l}),l}})),i}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new Po("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!Br(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t),s=cl(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[s.name]&&!o.descriptors[s.basename])return new Po("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new Po("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return sn(null,r);const o=this.getAtrule(t);return o.prelude?Br(this,o.prelude,n||"",!1):sn(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return sn(null,o);const s=this.getAtrule(t),i=cl(n);return Br(this,s.descriptors[i.name]||s.descriptors[i.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?sn(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(sp(t).custom)return sn(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?sn(null,r):Br(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?Br(this,r,n,!1):sn(null,new Po("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?sn(null,new Po("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Br(this,t,n,!1))}findValueFragments(t,n,r,o){return Sp(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return Sp(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{o.push.apply(o,this.findDeclarationValueFragments(s,n,r))}}),o}getAtrule(t,n=!0){const r=cl(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=sp(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(l,c){return c?`<${l}>`:`<'${l}'>`}function n(l,c,u,f){if(u.has(c))return u.get(c);u.set(c,!1),f.syntax!==null&&r1(f.syntax,function(d){if(d.type!=="Type"&&d.type!=="Property")return;const p=d.type==="Type"?l.types:l.properties,h=d.type==="Type"?o:s;hasOwnProperty.call(p,d.name)?n(l,d.name,h,p[d.name])&&(r.push(`${t(c,u===o)} used broken syntax definition ${t(d.name,d.type==="Type")}`),u.set(c,!0)):(r.push(`${t(c,u===o)} used missed syntax definition ${t(d.name,d.type==="Type")}`),u.set(c,!0))},this)}const r=[];let o=new Map,s=new Map;for(const l in this.types)n(this,l,o,this.types[l]);for(const l in this.properties)n(this,l,s,this.properties[l]);const i=[...o.keys()].filter(l=>o.get(l)),a=[...s.keys()].filter(l=>s.get(l));return i.length||a.length?{errors:r,types:i,properties:a}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:gc(this.types,!n,t),properties:gc(this.properties,!n,t),atrules:C1(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function ml(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function T1(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function gl(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?T1(s,n):s};return r}function yc(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[s,i]of Object.entries(o))n[r][s]=Array.isArray(i)?i:[];break;case"atrules":n[r]={...e[r]};for(const[s,i]of Object.entries(o)){const a=n[r][s]||{},l=n[r][s]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(i){l.prelude=i.prelude?ml(l.prelude,i.prelude):l.prelude||null;for(const[c,u]of Object.entries(i.descriptors||{}))l.descriptors[c]=u?ml(l.descriptors[c],u):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,i]of Object.entries(o))n[r][s]=ml(n[r][s],i);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=gl(e[r],o);break;case"atrule":case"pseudo":n[r]=gl(e[r],o,["parse"]);break;case"node":n[r]=gl(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function qy(e){const t=OO(e),n=qO(e),r=HO(e),{fromPlainObject:o,toPlainObject:s}=VO(n),i={lexer:null,createLexer:a=>new kp(a,i,i.lexer.structure),tokenize:pa,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(a){const l=yc({},e);return qy(typeof a=="function"?a(l):yc(l,a))}};return i.lexer=new kp({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},i),i}const A1=e=>qy(yc({},e)),O1={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}},Cn=43,Bt=45,ri=110,wr=!0,I1=!1;function oi(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Cn||r===Bt)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)gt(this.charCodeAt(n))||this.error("Integer is expected",n)}function Jr(e){return oi.call(this,0,e)}function er(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case ri:n="N is expected";break;case Bt:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function yl(){let e=0,t=0,n=this.tokenType;for(;n===et||n===yt;)n=this.lookupType(++e);if(n!==de)if(this.isDelim(Cn,e)||this.isDelim(Bt,e)){t=this.isDelim(Cn,e)?Cn:Bt;do n=this.lookupType(++e);while(n===et||n===yt);n!==de&&(this.skip(e),Jr.call(this,wr))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Cn&&n!==Bt&&this.error("Number sign is expected")),Jr.call(this,t!==0),t===Bt?"-"+this.consume(de):this.consume(de)}const P1="AnPlusB",L1={a:[String,null],b:[String,null]};function Ky(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===de)Jr.call(this,I1),n=this.consume(de);else if(this.tokenType===W&&this.cmpChar(this.tokenStart,Bt))switch(t="-1",er.call(this,1,ri),this.tokenEnd-this.tokenStart){case 2:this.next(),n=yl.call(this);break;case 3:er.call(this,2,Bt),this.next(),this.skipSC(),Jr.call(this,wr),n="-"+this.consume(de);break;default:er.call(this,2,Bt),oi.call(this,3,wr),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===W||this.isDelim(Cn)&&this.lookupType(1)===W){let r=0;switch(t="1",this.isDelim(Cn)&&(r=1,this.next()),er.call(this,0,ri),this.tokenEnd-this.tokenStart){case 1:this.next(),n=yl.call(this);break;case 2:er.call(this,1,Bt),this.next(),this.skipSC(),Jr.call(this,wr),n="-"+this.consume(de);break;default:er.call(this,1,Bt),oi.call(this,2,wr),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===we){const r=this.charCodeAt(this.tokenStart),o=r===Cn||r===Bt;let s=this.tokenStart+o;for(;s<this.tokenEnd&>(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),er.call(this,s-this.tokenStart,ri),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=yl.call(this)):(er.call(this,s-this.tokenStart+1,Bt),s+2===this.tokenEnd?(this.next(),this.skipSC(),Jr.call(this,wr),n="-"+this.consume(de)):(oi.call(this,s-this.tokenStart+2,wr),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Cn&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Cn&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function R1(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const N1=Object.freeze(Object.defineProperty({__proto__:null,generate:R1,name:P1,parse:Ky,structure:L1},Symbol.toStringTag,{value:"Module"}));function xp(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function M1(){for(let e=1,t;t=this.lookupType(e);e++){if(t===Gt)return!0;if(t===pt||t===st)return!1}return!1}const D1="Atrule",F1="atrule",$1={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Yy(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(st),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==pt&&this.tokenType!==xt&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),xp):o=xp.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case xt:this.next();break;case pt:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(M1.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function U1(e){this.token(st,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(xt,";")}const j1=Object.freeze(Object.defineProperty({__proto__:null,generate:U1,name:D1,parse:Yy,structure:$1,walkContext:F1},Symbol.toStringTag,{value:"Module"})),z1="AtrulePrelude",B1="atrulePrelude",H1={children:[[]]};function Xy(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==pt&&this.tokenType!==xt&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function V1(e){this.children(e)}const W1=Object.freeze(Object.defineProperty({__proto__:null,generate:V1,name:z1,parse:Xy,structure:H1,walkContext:B1},Symbol.toStringTag,{value:"Module"})),G1=36,Jy=42,si=61,q1=94,bc=124,K1=126;function Y1(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(Jy)?(t=!0,this.next()):this.isDelim(bc)||this.eat(W),this.isDelim(bc)?this.charCodeAt(this.tokenStart+1)!==si?(this.next(),this.eat(W)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function X1(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==si&&t!==K1&&t!==q1&&t!==G1&&t!==Jy&&t!==bc&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==si&&(this.isDelim(si)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const J1="AttributeSelector",Q1={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Qy(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(qt),this.skipSC(),t=Y1.call(this),this.skipSC(),this.tokenType!==en&&(this.tokenType!==W&&(n=X1.call(this),this.skipSC(),r=this.tokenType===hn?this.String():this.Identifier(),this.skipSC()),this.tokenType===W&&(o=this.consume(W),this.skipSC())),this.eat(en),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function Z1(e){this.token(Ee,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(W,e.flags),this.token(Ee,"]")}const eP=Object.freeze(Object.defineProperty({__proto__:null,generate:Z1,name:J1,parse:Qy,structure:Q1},Symbol.toStringTag,{value:"Module"})),tP=38;function Zy(){return this.Raw(null,!0)}function Tp(){return this.parseWithFallback(this.Rule,Zy)}function Ap(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function nP(){if(this.tokenType===xt)return Ap.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Ap);return this.tokenType===xt&&this.next(),e}const rP="Block",oP="block",sP={children:[["Atrule","Rule","Declaration"]]};function eb(e){const t=e?nP:Tp,n=this.tokenStart;let r=this.createList();this.eat(pt);e:for(;!this.eof;)switch(this.tokenType){case Gt:break e;case et:case yt:this.next();break;case st:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Zy));break;default:e&&this.isDelim(tP)?r.push(Tp.call(this)):r.push(t.call(this))}return this.eof||this.eat(Gt),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function iP(e){this.token(pt,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")}),this.token(Gt,"}")}const aP=Object.freeze(Object.defineProperty({__proto__:null,generate:iP,name:rP,parse:eb,structure:sP,walkContext:oP},Symbol.toStringTag,{value:"Module"})),lP="Brackets",cP={children:[[]]};function tb(e,t){const n=this.tokenStart;let r=null;return this.eat(qt),r=e.call(this,t),this.eof||this.eat(en),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function uP(e){this.token(Ee,"["),this.children(e),this.token(Ee,"]")}const fP=Object.freeze(Object.defineProperty({__proto__:null,generate:uP,name:lP,parse:tb,structure:cP},Symbol.toStringTag,{value:"Module"})),dP="CDC",pP=[];function nb(){const e=this.tokenStart;return this.eat(Nt),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function hP(){this.token(Nt,"-->")}const mP=Object.freeze(Object.defineProperty({__proto__:null,generate:hP,name:dP,parse:nb,structure:pP},Symbol.toStringTag,{value:"Module"})),gP="CDO",yP=[];function rb(){const e=this.tokenStart;return this.eat(_s),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function bP(){this.token(_s,"<!--")}const _P=Object.freeze(Object.defineProperty({__proto__:null,generate:bP,name:gP,parse:rb,structure:yP},Symbol.toStringTag,{value:"Module"})),vP=46,wP="ClassSelector",EP={name:String};function ob(){return this.eatDelim(vP),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(W)}}function SP(e){this.token(Ee,"."),this.token(W,e.name)}const CP=Object.freeze(Object.defineProperty({__proto__:null,generate:SP,name:wP,parse:ob,structure:EP},Symbol.toStringTag,{value:"Module"})),kP=43,Op=47,xP=62,TP=126,AP="Combinator",OP={name:String};function sb(){const e=this.tokenStart;let t;switch(this.tokenType){case et:t=" ";break;case Ee:switch(this.charCodeAt(this.tokenStart)){case xP:case kP:case TP:this.next();break;case Op:this.next(),this.eatIdent("deep"),this.eatDelim(Op);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function IP(e){this.tokenize(e.name)}const PP=Object.freeze(Object.defineProperty({__proto__:null,generate:IP,name:AP,parse:sb,structure:OP},Symbol.toStringTag,{value:"Module"})),LP=42,RP=47,NP="Comment",MP={value:String};function ib(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(yt),t-e+2>=2&&this.charCodeAt(t-2)===LP&&this.charCodeAt(t-1)===RP&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function DP(e){this.token(yt,"/*"+e.value+"*/")}const FP=Object.freeze(Object.defineProperty({__proto__:null,generate:DP,name:NP,parse:ib,structure:MP},Symbol.toStringTag,{value:"Module"})),$P=new Set([kt,ce,ir]),UP="Condition",jP={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Ip(e){return this.lookupTypeNonSC(1)===W&&$P.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const zP={media:Ip,container:Ip,supports(){return this.SupportsDeclaration()}};function ab(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case yt:case et:this.next();continue;case W:t.push(this.Identifier());break;case Ae:{let n=this.parseWithFallback(()=>zP[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(Ae);const r=this.Condition(e);return this.eat(ce),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case me:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function BP(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(Ae,"("),this.node(t),this.token(ce,")")):this.node(t)})}const HP=Object.freeze(Object.defineProperty({__proto__:null,generate:BP,name:UP,parse:ab,structure:jP},Symbol.toStringTag,{value:"Module"})),lb=33,VP=35,WP=36,GP=38,qP=42,KP=43,Pp=47;function YP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function XP(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function JP(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==xt&&this.isDelim(lb)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const QP="Declaration",ZP="declaration",eL={important:[Boolean,String],property:String,value:["Value","Raw"]};function cb(){const e=this.tokenStart,t=this.tokenIndex,n=nL.call(this),r=hu(n),o=r?this.parseCustomProperty:this.parseValue,s=r?XP:YP;let i=!1,a;this.skipSC(),this.eat(kt);const l=this.tokenIndex;if(r||this.skipSC(),o?a=this.parseWithFallback(JP,s):a=s.call(this,this.tokenIndex),r&&a.type==="Value"&&a.children.isEmpty){for(let c=l-this.tokenIndex;c<=0;c++)if(this.lookupType(c)===et){a.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(lb)&&(i=rL.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==xt&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:i,property:n,value:a}}function tL(e){this.token(W,e.property),this.token(kt,":"),this.node(e.value),e.important&&(this.token(Ee,"!"),this.token(W,e.important===!0?"important":e.important))}function nL(){const e=this.tokenStart;if(this.tokenType===Ee)switch(this.charCodeAt(this.tokenStart)){case qP:case WP:case KP:case VP:case GP:this.next();break;case Pp:this.next(),this.isDelim(Pp)&&this.next();break}return this.tokenType===Ve?this.eat(Ve):this.eat(W),this.substrToCursor(e)}function rL(){this.eat(Ee),this.skipSC();const e=this.consume(W);return e==="important"?!0:e}const oL=Object.freeze(Object.defineProperty({__proto__:null,generate:tL,name:QP,parse:cb,structure:eL,walkContext:ZP},Symbol.toStringTag,{value:"Module"})),sL=38;function bl(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const iL="DeclarationList",aL={children:[["Declaration","Atrule","Rule"]]};function ub(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case et:case yt:case xt:this.next();break;case st:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),bl));break;default:this.isDelim(sL)?e.push(this.parseWithFallback(this.Rule,bl)):e.push(this.parseWithFallback(this.Declaration,bl))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function lL(e){this.children(e,t=>{t.type==="Declaration"&&this.token(xt,";")})}const cL=Object.freeze(Object.defineProperty({__proto__:null,generate:lL,name:iL,parse:ub,structure:aL},Symbol.toStringTag,{value:"Module"})),uL="Dimension",fL={value:String,unit:String};function fb(){const e=this.tokenStart,t=this.consumeNumber(we);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function dL(e){this.token(we,e.value+e.unit)}const pL=Object.freeze(Object.defineProperty({__proto__:null,generate:dL,name:uL,parse:fb,structure:fL},Symbol.toStringTag,{value:"Module"})),hL=47,mL="Feature",gL={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function db(e){const t=this.tokenStart;let n,r=null;if(this.eat(Ae),this.skipSC(),n=this.consume(W),this.skipSC(),this.tokenType!==ce){switch(this.eat(kt),this.skipSC(),this.tokenType){case de:this.lookupNonWSType(1)===Ee?r=this.Ratio():r=this.Number();break;case we:r=this.Dimension();break;case W:r=this.Identifier();break;case me:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(hL)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(ce),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function yL(e){this.token(Ae,"("),this.token(W,e.name),e.value!==null&&(this.token(kt,":"),this.node(e.value)),this.token(ce,")")}const bL=Object.freeze(Object.defineProperty({__proto__:null,generate:yL,name:mL,parse:db,structure:gL},Symbol.toStringTag,{value:"Module"})),_L="FeatureFunction",vL={kind:String,feature:String,value:["Declaration","Selector"]};function wL(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function pb(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=wL.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,i=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),i},()=>this.Raw(null,!1));return this.eof||this.eat(ce),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function EL(e){this.token(me,e.feature+"("),this.node(e.value),this.token(ce,")")}const SL=Object.freeze(Object.defineProperty({__proto__:null,generate:EL,name:_L,parse:pb,structure:vL},Symbol.toStringTag,{value:"Module"})),Lp=47,CL=60,Rp=61,kL=62,xL="FeatureRange",TL={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function _l(){switch(this.skipSC(),this.tokenType){case de:return this.isDelim(Lp,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case we:return this.Dimension();case W:return this.Identifier();case me:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Lp)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Np(e){if(this.skipSC(),this.isDelim(CL)||this.isDelim(kL)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Rp)?(this.next(),t+"="):t}if(this.isDelim(Rp))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function hb(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(Ae);const n=_l.call(this),r=Np.call(this,n.type==="Identifier"),o=_l.call(this);let s=null,i=null;return this.lookupNonWSType(0)!==ce&&(s=Np.call(this),i=_l.call(this)),this.skipSC(),this.eat(ce),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:i}}function AL(e){this.token(Ae,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(ce,")")}const OL=Object.freeze(Object.defineProperty({__proto__:null,generate:AL,name:xL,parse:hb,structure:TL},Symbol.toStringTag,{value:"Module"})),IL="Function",PL="function",LL={name:String,children:[[]]};function mb(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let s;return s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(ce),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function RL(e){this.token(me,e.name+"("),this.children(e),this.token(ce,")")}const NL=Object.freeze(Object.defineProperty({__proto__:null,generate:RL,name:IL,parse:mb,structure:LL,walkContext:PL},Symbol.toStringTag,{value:"Module"})),ML="GeneralEnclosed",DL={kind:String,function:[String,null],children:[[]]};function gb(e){const t=this.tokenStart;let n=null;this.tokenType===me?n=this.consumeFunctionName():this.eat(Ae);const r=this.parseWithFallback(()=>{const o=this.tokenIndex,s=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),s},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(ce),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function FL(e){e.function?this.token(me,e.function+"("):this.token(Ae,"("),this.children(e),this.token(ce,")")}const $L=Object.freeze(Object.defineProperty({__proto__:null,generate:FL,name:ML,parse:gb,structure:DL},Symbol.toStringTag,{value:"Module"})),UL="XXX",jL="Hash",zL={value:String};function yb(){const e=this.tokenStart;return this.eat(Ve),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function BL(e){this.token(Ve,"#"+e.value)}const HL=Object.freeze(Object.defineProperty({__proto__:null,generate:BL,name:jL,parse:yb,structure:zL,xxx:UL},Symbol.toStringTag,{value:"Module"})),VL="Identifier",WL={name:String};function bb(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(W)}}function GL(e){this.token(W,e.name)}const qL=Object.freeze(Object.defineProperty({__proto__:null,generate:GL,name:VL,parse:bb,structure:WL},Symbol.toStringTag,{value:"Module"})),KL="IdSelector",YL={name:String};function _b(){const e=this.tokenStart;return this.eat(Ve),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function XL(e){this.token(Ee,"#"+e.name)}const JL=Object.freeze(Object.defineProperty({__proto__:null,generate:XL,name:KL,parse:_b,structure:YL},Symbol.toStringTag,{value:"Module"})),QL=46,ZL="Layer",eR={name:String};function vb(){let e=this.tokenStart,t=this.consume(W);for(;this.isDelim(QL);)this.eat(Ee),t+="."+this.consume(W);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function tR(e){this.tokenize(e.name)}const nR=Object.freeze(Object.defineProperty({__proto__:null,generate:tR,name:ZL,parse:vb,structure:eR},Symbol.toStringTag,{value:"Module"})),rR="LayerList",oR={children:[["Layer"]]};function wb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===jt);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function sR(e){this.children(e,()=>this.token(jt,","))}const iR=Object.freeze(Object.defineProperty({__proto__:null,generate:sR,name:rR,parse:wb,structure:oR},Symbol.toStringTag,{value:"Module"})),aR="MediaQuery",lR={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Eb(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===W&&this.lookupTypeNonSC(1)!==Ae){const o=this.consume(W),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(W)):n=o,this.lookupTypeNonSC(0)){case W:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case pt:case xt:case jt:case ir:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case W:case Ae:case me:{r=this.Condition("media");break}case pt:case xt:case ir:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function cR(e){e.mediaType?(e.modifier&&this.token(W,e.modifier),this.token(W,e.mediaType),e.condition&&(this.token(W,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const uR=Object.freeze(Object.defineProperty({__proto__:null,generate:cR,name:aR,parse:Eb,structure:lR},Symbol.toStringTag,{value:"Module"})),fR="MediaQueryList",dR={children:[["MediaQuery"]]};function Sb(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===jt);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function pR(e){this.children(e,()=>this.token(jt,","))}const hR=Object.freeze(Object.defineProperty({__proto__:null,generate:pR,name:fR,parse:Sb,structure:dR},Symbol.toStringTag,{value:"Module"})),mR=38,gR="NestingSelector",yR={};function Cb(){const e=this.tokenStart;return this.eatDelim(mR),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function bR(){this.token(Ee,"&")}const _R=Object.freeze(Object.defineProperty({__proto__:null,generate:bR,name:gR,parse:Cb,structure:yR},Symbol.toStringTag,{value:"Module"})),vR="Nth",wR={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function kb(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function ER(e){this.node(e.nth),e.selector!==null&&(this.token(W,"of"),this.node(e.selector))}const SR=Object.freeze(Object.defineProperty({__proto__:null,generate:ER,name:vR,parse:kb,structure:wR},Symbol.toStringTag,{value:"Module"})),CR="Number",kR={value:String};function xb(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(de)}}function xR(e){this.token(de,e.value)}const TR=Object.freeze(Object.defineProperty({__proto__:null,generate:xR,name:CR,parse:xb,structure:kR},Symbol.toStringTag,{value:"Module"})),AR="Operator",OR={value:String};function Tb(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function IR(e){this.tokenize(e.value)}const PR=Object.freeze(Object.defineProperty({__proto__:null,generate:IR,name:AR,parse:Tb,structure:OR},Symbol.toStringTag,{value:"Module"})),LR="Parentheses",RR={children:[[]]};function Ab(e,t){const n=this.tokenStart;let r=null;return this.eat(Ae),r=e.call(this,t),this.eof||this.eat(ce),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function NR(e){this.token(Ae,"("),this.children(e),this.token(ce,")")}const MR=Object.freeze(Object.defineProperty({__proto__:null,generate:NR,name:LR,parse:Ab,structure:RR},Symbol.toStringTag,{value:"Module"})),DR="Percentage",FR={value:String};function Ob(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Qe)}}function $R(e){this.token(Qe,e.value+"%")}const UR=Object.freeze(Object.defineProperty({__proto__:null,generate:$R,name:DR,parse:Ob,structure:FR},Symbol.toStringTag,{value:"Module"})),jR="PseudoClassSelector",zR="function",BR={name:String,children:[["Raw"],null]};function Ib(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ce?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(ce)):n=this.consume(W),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function HR(e){this.token(kt,":"),e.children===null?this.token(W,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ce,")"))}const VR=Object.freeze(Object.defineProperty({__proto__:null,generate:HR,name:jR,parse:Ib,structure:BR,walkContext:zR},Symbol.toStringTag,{value:"Module"})),WR="PseudoElementSelector",GR="function",qR={name:String,children:[["Raw"],null]};function Pb(){const e=this.tokenStart;let t=null,n,r;return this.eat(kt),this.eat(kt),this.tokenType===me?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==ce?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(ce)):n=this.consume(W),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function KR(e){this.token(kt,":"),this.token(kt,":"),e.children===null?this.token(W,e.name):(this.token(me,e.name+"("),this.children(e),this.token(ce,")"))}const YR=Object.freeze(Object.defineProperty({__proto__:null,generate:KR,name:WR,parse:Pb,structure:qR,walkContext:GR},Symbol.toStringTag,{value:"Module"})),Mp=47;function Dp(){switch(this.skipSC(),this.tokenType){case de:return this.Number();case me:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const XR="Ratio",JR={left:["Number","Function"],right:["Number","Function",null]};function Lb(){const e=this.tokenStart,t=Dp.call(this);let n=null;return this.skipSC(),this.isDelim(Mp)&&(this.eatDelim(Mp),n=Dp.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function QR(e){this.node(e.left),this.token(Ee,"/"),e.right?this.node(e.right):this.node(de,1)}const ZR=Object.freeze(Object.defineProperty({__proto__:null,generate:QR,name:XR,parse:Lb,structure:JR},Symbol.toStringTag,{value:"Module"}));function eN(){return this.tokenIndex>0&&this.lookupType(-1)===et?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const tN="Raw",nN={value:String};function Rb(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=eN.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function rN(e){this.tokenize(e.value)}const oN=Object.freeze(Object.defineProperty({__proto__:null,generate:rN,name:tN,parse:Rb,structure:nN},Symbol.toStringTag,{value:"Module"}));function Fp(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function sN(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==pt&&this.error(),e}const iN="Rule",aN="rule",lN={prelude:["SelectorList","Raw"],block:["Block"]};function Nb(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(sN,Fp):n=Fp.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function cN(e){this.node(e.prelude),this.node(e.block)}const uN=Object.freeze(Object.defineProperty({__proto__:null,generate:cN,name:iN,parse:Nb,structure:lN,walkContext:aN},Symbol.toStringTag,{value:"Module"})),fN="Scope",dN={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Mb(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===Ae&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ce)),this.lookupNonWSType(0)===W&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(Ae),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(ce)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function pN(e){e.root&&(this.token(Ae,"("),this.node(e.root),this.token(ce,")")),e.limit&&(this.token(W,"to"),this.token(Ae,"("),this.node(e.limit),this.token(ce,")"))}const hN=Object.freeze(Object.defineProperty({__proto__:null,generate:pN,name:fN,parse:Mb,structure:dN},Symbol.toStringTag,{value:"Module"})),mN="Selector",gN={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Db(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function yN(e){this.children(e)}const bN=Object.freeze(Object.defineProperty({__proto__:null,generate:yN,name:mN,parse:Db,structure:gN},Symbol.toStringTag,{value:"Module"})),_N="SelectorList",vN="selector",wN={children:[["Selector","Raw"]]};function Fb(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===jt){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function EN(e){this.children(e,()=>this.token(jt,","))}const SN=Object.freeze(Object.defineProperty({__proto__:null,generate:EN,name:_N,parse:Fb,structure:wN,walkContext:vN},Symbol.toStringTag,{value:"Module"})),_c=92,$b=34,CN=39;function Ub(e){const t=e.length,n=e.charCodeAt(0),r=n===$b||n===CN?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let i=r;i<=o;i++){let a=e.charCodeAt(i);if(a===_c){if(i===o){i!==t-1&&(s=e.substr(i+1));break}if(a=e.charCodeAt(++i),kn(_c,a)){const l=i-1,c=po(e,l);i=c-1,s+=Cy(e.substring(l+1,c))}else a===13&&e.charCodeAt(i+1)===10&&i++}else s+=e[i]}return s}function kN(e,t){const r=$b;let o="",s=!1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);if(a===0){o+="�";continue}if(a<=31||a===127){o+="\\"+a.toString(16),s=!0;continue}a===r||a===_c?(o+="\\"+e.charAt(i),s=!1):(s&&(fr(a)||Lr(a))&&(o+=" "),o+=e.charAt(i),s=!1)}return'"'+o+'"'}const xN="String",TN={value:String};function jb(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Ub(this.consume(hn))}}function AN(e){this.token(hn,kN(e.value))}const ON=Object.freeze(Object.defineProperty({__proto__:null,generate:AN,name:xN,parse:jb,structure:TN},Symbol.toStringTag,{value:"Module"})),IN=33;function $p(){return this.Raw(null,!1)}const PN="StyleSheet",LN="stylesheet",RN={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function zb(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case et:this.next();continue;case yt:if(this.charCodeAt(this.tokenStart+2)!==IN){this.next();continue}n=this.Comment();break;case _s:n=this.CDO();break;case Nt:n=this.CDC();break;case st:n=this.parseWithFallback(this.Atrule,$p);break;default:n=this.parseWithFallback(this.Rule,$p)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function NN(e){this.children(e)}const MN=Object.freeze(Object.defineProperty({__proto__:null,generate:NN,name:PN,parse:zb,structure:RN,walkContext:LN},Symbol.toStringTag,{value:"Module"})),DN="SupportsDeclaration",FN={declaration:"Declaration"};function Bb(){const e=this.tokenStart;this.eat(Ae),this.skipSC();const t=this.Declaration();return this.eof||this.eat(ce),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function $N(e){this.token(Ae,"("),this.node(e.declaration),this.token(ce,")")}const UN=Object.freeze(Object.defineProperty({__proto__:null,generate:$N,name:DN,parse:Bb,structure:FN},Symbol.toStringTag,{value:"Module"})),jN=42,Up=124;function vl(){this.tokenType!==W&&this.isDelim(jN)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const zN="TypeSelector",BN={name:String};function Hb(){const e=this.tokenStart;return this.isDelim(Up)?(this.next(),vl.call(this)):(vl.call(this),this.isDelim(Up)&&(this.next(),vl.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function HN(e){this.tokenize(e.name)}const VN=Object.freeze(Object.defineProperty({__proto__:null,generate:HN,name:zN,parse:Hb,structure:BN},Symbol.toStringTag,{value:"Module"})),Vb=43,Wb=45,vc=63;function zo(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===Wb&&t&&n!==0)return zo.call(this,e+n+1,!1),-1;fr(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Gs(e){let t=0;for(;this.isDelim(vc);)++t>e&&this.error("Too many question marks"),this.next()}function WN(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Vb?"Plus sign":"Hyphen minus")+" is expected")}function GN(){let e=0;switch(this.tokenType){case de:if(e=zo.call(this,1,!0),this.isDelim(vc)){Gs.call(this,6-e);break}if(this.tokenType===we||this.tokenType===de){WN.call(this,Wb),zo.call(this,1,!1);break}break;case we:e=zo.call(this,1,!0),e>0&&Gs.call(this,6-e);break;default:if(this.eatDelim(Vb),this.tokenType===W){e=zo.call(this,0,!0),e>0&&Gs.call(this,6-e);break}if(this.isDelim(vc)){this.next(),Gs.call(this,5);break}this.error("Hex digit or question mark is expected")}}const qN="UnicodeRange",KN={value:String};function Gb(){const e=this.tokenStart;return this.eatIdent("u"),GN.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function YN(e){this.tokenize(e.value)}const XN=Object.freeze(Object.defineProperty({__proto__:null,generate:YN,name:qN,parse:Gb,structure:KN},Symbol.toStringTag,{value:"Module"})),JN=32,wc=92,QN=34,ZN=39,eM=40,qb=41;function tM(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===qb?t-2:t-1,o="";for(;n<r&&Lr(e.charCodeAt(n));)n++;for(;n<r&&Lr(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let i=e.charCodeAt(s);if(i===wc){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(i=e.charCodeAt(++s),kn(wc,i)){const a=s-1,l=po(e,a);s=l-1,o+=Cy(e.substring(a+1,l))}else i===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function nM(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===JN||o===wc||o===QN||o===ZN||o===eM||o===qb?(t+="\\"+e.charAt(r),n=!1):(n&&fr(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const rM="Url",oM={value:String};function Kb(){const e=this.tokenStart;let t;switch(this.tokenType){case wt:t=tM(this.consume(wt));break;case me:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(me),this.skipSC(),t=Ub(this.consume(hn)),this.skipSC(),this.eof||this.eat(ce);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function sM(e){this.token(wt,nM(e.value))}const iM=Object.freeze(Object.defineProperty({__proto__:null,generate:sM,name:rM,parse:Kb,structure:oM},Symbol.toStringTag,{value:"Module"})),aM="Value",lM={children:[[]]};function Yb(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function cM(e){this.children(e)}const uM=Object.freeze(Object.defineProperty({__proto__:null,generate:cM,name:aM,parse:Yb,structure:lM},Symbol.toStringTag,{value:"Module"})),fM=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),dM="WhiteSpace",pM={value:String};function Xb(){return this.eat(et),fM}function hM(e){this.token(et,e.value)}const mM=Object.freeze(Object.defineProperty({__proto__:null,generate:hM,name:dM,parse:Xb,structure:pM},Symbol.toStringTag,{value:"Module"})),Jb=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:N1,Atrule:j1,AtrulePrelude:W1,AttributeSelector:eP,Block:aP,Brackets:fP,CDC:mP,CDO:_P,ClassSelector:CP,Combinator:PP,Comment:FP,Condition:HP,Declaration:oL,DeclarationList:cL,Dimension:pL,Feature:bL,FeatureFunction:SL,FeatureRange:OL,Function:NL,GeneralEnclosed:$L,Hash:HL,IdSelector:JL,Identifier:qL,Layer:nR,LayerList:iR,MediaQuery:uR,MediaQueryList:hR,NestingSelector:_R,Nth:SR,Number:TR,Operator:PR,Parentheses:MR,Percentage:UR,PseudoClassSelector:VR,PseudoElementSelector:YR,Ratio:ZR,Raw:oN,Rule:uN,Scope:hN,Selector:bN,SelectorList:SN,String:ON,StyleSheet:MN,SupportsDeclaration:UN,TypeSelector:VN,UnicodeRange:XN,Url:iM,Value:uM,WhiteSpace:mM},Symbol.toStringTag,{value:"Module"})),gM={generic:!0,cssWideKeywords:mu,...O1,node:Jb},yM=35,bM=42,jp=43,_M=45,vM=47,wM=117;function Qb(e){switch(this.tokenType){case Ve:return this.Hash();case jt:return this.Operator();case Ae:return this.Parentheses(this.readSequence,e.recognizer);case qt:return this.Brackets(this.readSequence,e.recognizer);case hn:return this.String();case we:return this.Dimension();case Qe:return this.Percentage();case de:return this.Number();case me:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case wt:return this.Url();case W:return this.cmpChar(this.tokenStart,wM)&&this.cmpChar(this.tokenStart+1,jp)?this.UnicodeRange():this.Identifier();case Ee:{const t=this.charCodeAt(this.tokenStart);if(t===vM||t===bM||t===jp||t===_M)return this.Operator();t===yM&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const EM={getNode:Qb},SM=35,CM=38,kM=42,xM=43,TM=47,zp=46,AM=62,OM=124,IM=126;function PM(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function LM(){switch(this.tokenType){case qt:return this.AttributeSelector();case Ve:return this.IdSelector();case kt:return this.lookupType(1)===kt?this.PseudoElementSelector():this.PseudoClassSelector();case W:return this.TypeSelector();case de:case Qe:return this.Percentage();case we:this.charCodeAt(this.tokenStart)===zp&&this.error("Identifier is expected",this.tokenStart+1);break;case Ee:{switch(this.charCodeAt(this.tokenStart)){case xM:case AM:case IM:case TM:return this.Combinator();case zp:return this.ClassSelector();case kM:case OM:return this.TypeSelector();case SM:return this.IdSelector();case CM:return this.NestingSelector()}break}}}const RM={onWhiteSpace:PM,getNode:LM};function NM(){return this.createSingleNodeList(this.Raw(null,!1))}function MM(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===jt){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===et){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Bp(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const DM={getNode:Qb,onWhiteSpace(e,t){Bp(e)&&(e.value=" "+e.value),Bp(t.last)&&(t.last.value+=" ")},expression:NM,var:MM},FM=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:EM,Selector:RM,Value:DM},Symbol.toStringTag,{value:"Module"})),$M=new Set(["none","and","not","or"]),UM={parse:{prelude(){const e=this.createList();if(this.tokenType===W){const t=this.substring(this.tokenStart,this.tokenEnd);$M.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},jM={parse:{prelude:null,block(){return this.Block(!0)}}};function wl(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==ce&&this.error()}},t||(()=>this.Raw(null,!0)))}const Hp={layer(){this.skipSC();const e=this.createList(),t=wl.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=wl.call(this,this.Declaration,()=>wl.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},zM={parse:{prelude(){const e=this.createList();switch(this.tokenType){case hn:e.push(this.String());break;case wt:case me:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===W&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Hp)),this.skipSC(),this.tokenType===me&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Hp)),(this.lookupNonWSType(0)===W||this.lookupNonWSType(0)===Ae)&&e.push(this.MediaQueryList()),e},block:null}},BM={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},HM={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},VM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},WM={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},GM={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},qM={parse:{prelude:null,block(e=!1){return this.Block(e)}}},KM={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},YM={container:UM,"font-face":jM,import:zM,layer:BM,media:HM,nest:VM,page:WM,scope:GM,"starting-style":qM,supports:KM};function XM(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case W:e.push(this.Identifier());break;case hn:e.push(this.String());break;case jt:e.push(this.Operator());break;case ce:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const _r={parse(){return this.createSingleNodeList(this.SelectorList())}},El={parse(){return this.createSingleNodeList(this.Selector())}},JM={parse(){return this.createSingleNodeList(this.Identifier())}},QM={parse:XM},qs={parse(){return this.createSingleNodeList(this.Nth())}},ZM={dir:JM,has:_r,lang:QM,matches:_r,is:_r,"-moz-any":_r,"-webkit-any":_r,where:_r,not:_r,"nth-child":qs,"nth-last-child":qs,"nth-last-of-type":qs,"nth-of-type":qs,slotted:El,host:El,"host-context":El},eD=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Ky,Atrule:Yy,AtrulePrelude:Xy,AttributeSelector:Qy,Block:eb,Brackets:tb,CDC:nb,CDO:rb,ClassSelector:ob,Combinator:sb,Comment:ib,Condition:ab,Declaration:cb,DeclarationList:ub,Dimension:fb,Feature:db,FeatureFunction:pb,FeatureRange:hb,Function:mb,GeneralEnclosed:gb,Hash:yb,IdSelector:_b,Identifier:bb,Layer:vb,LayerList:wb,MediaQuery:Eb,MediaQueryList:Sb,NestingSelector:Cb,Nth:kb,Number:xb,Operator:Tb,Parentheses:Ab,Percentage:Ob,PseudoClassSelector:Ib,PseudoElementSelector:Pb,Ratio:Lb,Raw:Rb,Rule:Nb,Scope:Mb,Selector:Db,SelectorList:Fb,String:jb,StyleSheet:zb,SupportsDeclaration:Bb,TypeSelector:Hb,UnicodeRange:Gb,Url:Kb,Value:Yb,WhiteSpace:Xb},Symbol.toStringTag,{value:"Module"})),tD={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:FM,atrule:YM,pseudo:ZM,node:eD},nD={node:Jb},rD=A1({...gM,...tD,...nD}),{tokenize:vU,parse:oD,generate:sD,lexer:wU,createLexer:EU,walk:iD,find:SU,findLast:CU,findAll:kU,toPlainObject:xU,fromPlainObject:TU,fork:AU}=rD;function aD(e,t,n){if(!e.includes("url("))return e;const r=oD(e,{positions:!1});return iD(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const a=new URL(s,t),l=n?.find(c=>a.href.endsWith(c.path));l?o.value=l.signedUrl:o.value=a.href}}}),sD(r)}function lD(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function cD(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}const Ec=(e,t)=>t.some(n=>e instanceof n);let Vp,Wp;function uD(){return Vp||(Vp=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function fD(){return Wp||(Wp=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Sc=new WeakMap,Sl=new WeakMap,ya=new WeakMap;function dD(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",i)},s=()=>{n(Ar(e.result)),o()},i=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",i)});return ya.set(t,e),t}function pD(e){if(Sc.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",i),e.removeEventListener("abort",i)},s=()=>{n(),o()},i=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",i),e.addEventListener("abort",i)});Sc.set(e,t)}let Cc={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Sc.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ar(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function Zb(e){Cc=e(Cc)}function hD(e){return fD().includes(e)?function(...t){return e.apply(kc(this),t),Ar(this.request)}:function(...t){return Ar(e.apply(kc(this),t))}}function mD(e){return typeof e=="function"?hD(e):(e instanceof IDBTransaction&&pD(e),Ec(e,uD())?new Proxy(e,Cc):e)}function Ar(e){if(e instanceof IDBRequest)return dD(e);if(Sl.has(e))return Sl.get(e);const t=mD(e);return t!==e&&(Sl.set(e,t),ya.set(t,e)),t}const kc=e=>ya.get(e);function gD(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const i=indexedDB.open(e,t),a=Ar(i);return r&&i.addEventListener("upgradeneeded",l=>{r(Ar(i.result),l.oldVersion,l.newVersion,Ar(i.transaction),l)}),n&&i.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),a.then(l=>{s&&l.addEventListener("close",()=>s()),o&&l.addEventListener("versionchange",c=>o(c.oldVersion,c.newVersion,c))}).catch(()=>{}),a}const yD=["get","getKey","getAll","getAllKeys","count"],bD=["put","add","delete","clear"],Cl=new Map;function Gp(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Cl.get(t))return Cl.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=bD.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||yD.includes(n)))return;const s=async function(i,...a){const l=this.transaction(i,o?"readwrite":"readonly");let c=l.store;return r&&(c=c.index(a.shift())),(await Promise.all([c[n](...a),o&&l.done]))[0]};return Cl.set(t,s),s}Zb(e=>({...e,get:(t,n,r)=>Gp(t,n)||e.get(t,n,r),has:(t,n)=>!!Gp(t,n)||e.has(t,n)}));const _D=["continue","continuePrimaryKey","advance"],qp={},xc=new WeakMap,e_=new WeakMap,vD={get(e,t){if(!_D.includes(t))return e[t];let n=qp[t];return n||(n=qp[t]=function(...r){xc.set(this,e_.get(this)[t](...r))}),n}};async function*wD(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,vD);for(e_.set(n,t),ya.set(n,kc(t));t;)yield n,t=await(xc.get(n)||t.continue()),xc.delete(n)}function Kp(e,t){return t===Symbol.asyncIterator&&Ec(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&Ec(e,[IDBIndex,IDBObjectStore])}Zb(e=>({...e,get(t,n,r){return Kp(t,n)?wD:e.get(t,n,r)},has(t,n){return Kp(t,n)||e.has(t,n)}}));let tr=null;const Yp=Wg("indexedDB",{actions:{async open(e=1){return tr||(tr=await gD(be.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(be.INDEX_DB_TABLE_NAME)||t.createObjectStore(be.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),tr)},async get(e,t){return(await this.open()).get(e,t)},async put(e,t){return(await this.open()).put(e,t)},async remove(e,t){return(await this.open()).delete(e,t)},close(){tr?.close(),tr=null},async deleteDatabase(){if(tr){const e=tr.name;this.close(),indexedDB.deleteDatabase(e)}}}});function t_(e,t){return function(){return e.apply(t,arguments)}}const{toString:ED}=Object.prototype,{getPrototypeOf:ba}=Object,{iterator:_a,toStringTag:n_}=Symbol,va=(e=>t=>{const n=ED.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mn=e=>(e=e.toLowerCase(),t=>va(t)===e),wa=e=>t=>typeof t===e,{isArray:Eo}=Array,mo=wa("undefined");function ws(e){return e!==null&&!mo(e)&&e.constructor!==null&&!mo(e.constructor)&&$t(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const r_=mn("ArrayBuffer");function SD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&r_(e.buffer),t}const CD=wa("string"),$t=wa("function"),o_=wa("number"),Es=e=>e!==null&&typeof e=="object",kD=e=>e===!0||e===!1,ii=e=>{if(va(e)!=="object")return!1;const t=ba(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(n_ in e)&&!(_a in e)},xD=e=>{if(!Es(e)||ws(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},TD=mn("Date"),AD=mn("File"),OD=e=>!!(e&&typeof e.uri<"u"),ID=e=>e&&typeof e.getParts<"u",PD=mn("Blob"),LD=mn("FileList"),RD=e=>Es(e)&&$t(e.pipe);function ND(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Xp=ND(),Jp=typeof Xp.FormData<"u"?Xp.FormData:void 0,MD=e=>{if(!e)return!1;if(Jp&&e instanceof Jp)return!0;const t=ba(e);if(!t||t===Object.prototype||!$t(e.append))return!1;const n=va(e);return n==="formdata"||n==="object"&&$t(e.toString)&&e.toString()==="[object FormData]"},DD=mn("URLSearchParams"),[FD,$D,UD,jD]=["ReadableStream","Request","Response","Headers"].map(mn),zD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ss(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Eo(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(ws(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function s_(e,t){if(ws(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const kr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,i_=e=>!mo(e)&&e!==kr;function Tc(){const{caseless:e,skipUndefined:t}=i_(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&s_(n,s)||s;ii(n[i])&&ii(o)?n[i]=Tc(n[i],o):ii(o)?n[i]=Tc({},o):Eo(o)?n[i]=o.slice():(!t||!mo(o))&&(n[i]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Ss(arguments[o],r);return n}const BD=(e,t,n,{allOwnKeys:r}={})=>(Ss(t,(o,s)=>{n&&$t(o)?Object.defineProperty(e,s,{value:t_(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),HD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),VD=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},WD=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&ba(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},GD=(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},qD=e=>{if(!e)return null;if(Eo(e))return e;let t=e.length;if(!o_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ba(Uint8Array)),YD=(e,t)=>{const r=(e&&e[_a]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},XD=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},JD=mn("HTMLFormElement"),QD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Qp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ZD=mn("RegExp"),a_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ss(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},eF=e=>{a_(e,(t,n)=>{if($t(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($t(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+"'")})}})},tF=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Eo(e)?r(e):r(String(e).split(t)),n},nF=()=>{},rF=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function oF(e){return!!(e&&$t(e.append)&&e[n_]==="FormData"&&e[_a])}const sF=e=>{const t=new Array(10),n=(r,o)=>{if(Es(r)){if(t.indexOf(r)>=0)return;if(ws(r))return r;if(!("toJSON"in r)){t[o]=r;const s=Eo(r)?[]:{};return Ss(r,(i,a)=>{const l=n(i,o+1);!mo(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},iF=mn("AsyncFunction"),aF=e=>e&&(Es(e)||$t(e))&&$t(e.then)&&$t(e.catch),l_=((e,t)=>e?setImmediate:t?((n,r)=>(kr.addEventListener("message",({source:o,data:s})=>{o===kr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),kr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$t(kr.postMessage)),lF=typeof queueMicrotask<"u"?queueMicrotask.bind(kr):typeof process<"u"&&process.nextTick||l_,cF=e=>e!=null&&$t(e[_a]),N={isArray:Eo,isArrayBuffer:r_,isBuffer:ws,isFormData:MD,isArrayBufferView:SD,isString:CD,isNumber:o_,isBoolean:kD,isObject:Es,isPlainObject:ii,isEmptyObject:xD,isReadableStream:FD,isRequest:$D,isResponse:UD,isHeaders:jD,isUndefined:mo,isDate:TD,isFile:AD,isReactNativeBlob:OD,isReactNative:ID,isBlob:PD,isRegExp:ZD,isFunction:$t,isStream:RD,isURLSearchParams:DD,isTypedArray:KD,isFileList:LD,forEach:Ss,merge:Tc,extend:BD,trim:zD,stripBOM:HD,inherits:VD,toFlatObject:WD,kindOf:va,kindOfTest:mn,endsWith:GD,toArray:qD,forEachEntry:YD,matchAll:XD,isHTMLForm:JD,hasOwnProperty:Qp,hasOwnProp:Qp,reduceDescriptors:a_,freezeMethods:eF,toObjectSet:tF,toCamelCase:QD,noop:nF,toFiniteNumber:rF,findKey:s_,global:kr,isContextDefined:i_,isSpecCompliantForm:oF,toJSONObject:sF,isAsyncFn:iF,isThenable:aF,setImmediate:l_,asap:lF,isIterable:cF};let ie=class c_ extends Error{static from(t,n,r,o,s,i){const a=new c_(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{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(){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:N.toJSONObject(this.config),code:this.code,status:this.status}}};ie.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ie.ERR_BAD_OPTION="ERR_BAD_OPTION";ie.ECONNABORTED="ECONNABORTED";ie.ETIMEDOUT="ETIMEDOUT";ie.ERR_NETWORK="ERR_NETWORK";ie.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ie.ERR_DEPRECATED="ERR_DEPRECATED";ie.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ie.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ie.ERR_CANCELED="ERR_CANCELED";ie.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ie.ERR_INVALID_URL="ERR_INVALID_URL";ie.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const uF=null;function Ac(e){return N.isPlainObject(e)||N.isArray(e)}function u_(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function kl(e,t,n){return e?e.concat(t).map(function(o,s){return o=u_(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function fF(e){return N.isArray(e)&&!e.some(Ac)}const dF=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Ea(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!N.isUndefined(y[b])});const r=n.metaTokens,o=n.visitor||f,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,c=a&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(N.isDate(m))return m.toISOString();if(N.isBoolean(m))return m.toString();if(!c&&N.isBlob(m))throw new ie("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(m)||N.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,b,y){let _=m;if(N.isReactNative(t)&&N.isReactNativeBlob(m))return t.append(kl(y,b,s),u(m)),!1;if(m&&!y&&typeof m=="object"){if(N.endsWith(b,"{}"))b=r?b:b.slice(0,-2),m=JSON.stringify(m);else if(N.isArray(m)&&fF(m)||(N.isFileList(m)||N.endsWith(b,"[]"))&&(_=N.toArray(m)))return b=u_(b),_.forEach(function(g,A){!(N.isUndefined(g)||g===null)&&t.append(i===!0?kl([b],A,s):i===null?b:b+"[]",u(g))}),!1}return Ac(m)?!0:(t.append(kl(y,b,s),u(m)),!1)}const d=[],p=Object.assign(dF,{defaultVisitor:f,convertValue:u,isVisitable:Ac});function h(m,b,y=0){if(!N.isUndefined(m)){if(y>l)throw new ie("Object is too deeply nested ("+y+" levels). Max depth: "+l,ie.ERR_FORM_DATA_DEPTH_EXCEEDED);if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(m),N.forEach(m,function(E,g){(!(N.isUndefined(E)||E===null)&&o.call(t,E,N.isString(g)?g.trim():g,b,p))===!0&&h(E,b?b.concat(g):[g],y+1)}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Zp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function Au(e,t){this._pairs=[],e&&Ea(e,this,t)}const f_=Au.prototype;f_.append=function(t,n){this._pairs.push([t,n])};f_.toString=function(t){const n=t?function(r){return t.call(this,r,Zp)}:Zp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function pF(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function d_(e,t,n){if(!t)return e;const r=n&&n.encode||pF,o=N.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=N.isURLSearchParams(t)?t.toString():new Au(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class eh{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){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ou={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},hF=typeof URLSearchParams<"u"?URLSearchParams:Au,mF=typeof FormData<"u"?FormData:null,gF=typeof Blob<"u"?Blob:null,yF={isBrowser:!0,classes:{URLSearchParams:hF,FormData:mF,Blob:gF},protocols:["http","https","file","blob","url","data"]},Iu=typeof window<"u"&&typeof document<"u",Oc=typeof navigator=="object"&&navigator||void 0,bF=Iu&&(!Oc||["ReactNative","NativeScript","NS"].indexOf(Oc.product)<0),_F=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vF=Iu&&window.location.href||"http://localhost",wF=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Iu,hasStandardBrowserEnv:bF,hasStandardBrowserWebWorkerEnv:_F,navigator:Oc,origin:vF},Symbol.toStringTag,{value:"Module"})),Ct={...wF,...yF};function EF(e,t){return Ea(e,new Ct.classes.URLSearchParams,{visitor:function(n,r,o,s){return Ct.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function SF(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function CF(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function p_(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&N.isArray(o)?o.length:i,l?(N.hasOwnProp(o,i)?o[i]=N.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&N.isArray(o[i])&&(o[i]=CF(o[i])),!a)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(SF(r),o,n,0)}),n}return null}const Hr=(e,t)=>e!=null&&N.hasOwnProp(e,t)?e[t]:void 0;function kF(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Cs={transitional:Ou,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=N.isObject(t);if(s&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o?JSON.stringify(p_(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Hr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return EF(t,l).toString();if((a=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=Hr(this,"env"),u=c&&c.FormData;return Ea(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),kF(t)):t}],transformResponse:[function(t){const n=Hr(this,"transitional")||Cs.transitional,r=n&&n.forcedJSONParsing,o=Hr(this,"responseType"),s=o==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Hr(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?ie.from(l,ie.ERR_BAD_RESPONSE,this,null,Hr(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ct.classes.FormData,Blob:Ct.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Cs.headers[e]={}});const xF=N.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"]),TF=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
29
|
+
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&xF[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},th=Symbol("internals"),AF=/[^\x09\x20-\x7E\x80-\xFF]/g;function OF(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){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 Lo(e){return e&&String(e).trim().toLowerCase()}function IF(e){return OF(e.replace(AF,""))}function ai(e){return e===!1||e==null?e:N.isArray(e)?e.map(ai):IF(String(e))}function PF(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 LF=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xl(e,t,n,r,o){if(N.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function RF(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function NF(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let Ut=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=Lo(l);if(!u)throw new Error("header name must be a non-empty string");const f=N.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=ai(a))}const i=(a,l)=>N.forEach(a,(c,u)=>s(c,u,l));if(N.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(N.isString(t)&&(t=t.trim())&&!LF(t))i(TF(t),n);else if(N.isObject(t)&&N.isIterable(t)){let a={},l,c;for(const u of t){if(!N.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?N.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=Lo(t),t){const r=N.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return PF(o);if(N.isFunction(n))return n.call(this,o,r);if(N.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Lo(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||xl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Lo(i),i){const a=N.findKey(r,i);a&&(!n||xl(r,r[a],a,n))&&(delete r[a],o=!0)}}return N.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||xl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return N.forEach(this,(o,s)=>{const i=N.findKey(r,s);if(i){n[i]=ai(o),delete n[s];return}const a=t?RF(s):String(s).trim();a!==s&&delete n[s],n[a]=ai(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&N.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(`
|
|
30
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[th]=this[th]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Lo(i);r[a]||(NF(o,i),r[a]=!0)}return N.isArray(t)?t.forEach(s):s(t),this}};Ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Ut.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(Ut);function Tl(e,t){const n=this||Cs,r=t||n,o=Ut.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function h_(e){return!!(e&&e.__CANCEL__)}let ks=class extends ie{constructor(t,n,r){super(t??"canceled",ie.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function m_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function MF(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function DF(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(d*1e3/p):void 0}}function FF(e,t){let n=0,r=1e3/t,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const Fi=(e,t,n=3)=>{let r=0;const o=DF(50,250);return FF(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,c=Math.max(0,l-r),u=o(c);r=Math.max(r,l);const f={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},nh=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},rh=e=>(...t)=>N.asap(()=>e(...t)),$F=Ct.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ct.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ct.origin),Ct.navigator&&/(msie|trident)/i.test(Ct.navigator.userAgent)):()=>!0,UF=Ct.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];N.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),N.isString(r)&&a.push(`path=${r}`),N.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),N.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function jF(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zF(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function g_(e,t,n){let r=!jF(t);return e&&(r||n===!1)?zF(e,t):t}const oh=e=>e instanceof Ut?{...e}:e;function Rr(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,u,f,d){return N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:d},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function o(c,u,f,d){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c,f,d)}else return r(c,u,f,d)}function s(c,u){if(!N.isUndefined(u))return r(void 0,u)}function i(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(N.hasOwnProp(t,f))return r(c,u);if(N.hasOwnProp(e,f))return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(c,u,f)=>o(oh(c),oh(u),f,!0)};return N.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=N.hasOwnProp(l,u)?l[u]:o,d=N.hasOwnProp(e,u)?e[u]:void 0,p=N.hasOwnProp(t,u)?t[u]:void 0,h=f(d,p,u);N.isUndefined(h)&&f!==a||(n[u]=h)}),n}const y_=e=>{const t=Rr({},e),n=d=>N.hasOwnProp(t,d)?t[d]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(t.headers=a=Ut.from(a),t.url=d_(g_(c,f,u),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),N.isFormData(r)){if(Ct.hasStandardBrowserEnv||Ct.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(N.isFunction(r.getHeaders)){const d=r.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([h,m])=>{p.includes(h.toLowerCase())&&a.set(h,m)})}}if(Ct.hasStandardBrowserEnv&&(N.isFunction(o)&&(o=o(t)),o===!0||o==null&&$F(t.url))){const p=s&&i&&UF.read(i);p&&a.set(s,p)}return t},BF=typeof XMLHttpRequest<"u",HF=BF&&function(e){return new Promise(function(n,r){const o=y_(e);let s=o.data;const i=Ut.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,f,d,p,h;function m(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function y(){if(!b)return;const E=Ut.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:E,config:e,request:b};m_(function(x){n(x),m()},function(x){r(x),m()},A),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(r(new ie("Request aborted",ie.ECONNABORTED,e,b)),b=null)},b.onerror=function(g){const A=g&&g.message?g.message:"Network Error",C=new ie(A,ie.ERR_NETWORK,e,b);C.event=g||null,r(C),b=null},b.ontimeout=function(){let g=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||Ou;o.timeoutErrorMessage&&(g=o.timeoutErrorMessage),r(new ie(g,A.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,b)),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&N.forEach(i.toJSON(),function(g,A){b.setRequestHeader(A,g)}),N.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([d,h]=Fi(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([f,p]=Fi(l),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(u=E=>{b&&(r(!E||E.type?new ks(null,e,b):E),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const _=MF(o.url);if(_&&Ct.protocols.indexOf(_)===-1){r(new ie("Unsupported protocol "+_+":",ie.ERR_BAD_REQUEST,e));return}b.send(s||null)})},VF=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ie?u:new ks(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,s(new ie(`timeout of ${t}ms exceeded`,ie.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>N.asap(a),l}},WF=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},GF=async function*(e,t){for await(const n of qF(e))yield*WF(n,t)},qF=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},sh=(e,t,n,r)=>{const o=GF(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let f=u.byteLength;if(n){let d=s+=f;n(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},ih=64*1024,{isFunction:Ks}=N,KF=(({Request:e,Response:t})=>({Request:e,Response:t}))(N.global),{ReadableStream:ah,TextEncoder:lh}=N.global,ch=(e,...t)=>{try{return!!e(...t)}catch{return!1}},YF=e=>{e=N.merge.call({skipUndefined:!0},KF,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ks(t):typeof fetch=="function",s=Ks(n),i=Ks(r);if(!o)return!1;const a=o&&Ks(ah),l=o&&(typeof lh=="function"?(h=>m=>h.encode(m))(new lh):async h=>new Uint8Array(await new n(h).arrayBuffer())),c=s&&a&&ch(()=>{let h=!1;const m=new n(Ct.origin,{body:new ah,method:"POST",get duplex(){return h=!0,"half"}}),b=m.headers.has("Content-Type");return m.body!=null&&m.body.cancel(),h&&!b}),u=i&&a&&ch(()=>N.isReadableStream(new r("").body)),f={stream:u&&(h=>h.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!f[h]&&(f[h]=(m,b)=>{let y=m&&m[h];if(y)return y.call(m);throw new ie(`Response type '${h}' is not supported`,ie.ERR_NOT_SUPPORT,b)})});const d=async h=>{if(h==null)return 0;if(N.isBlob(h))return h.size;if(N.isSpecCompliantForm(h))return(await new n(Ct.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(N.isArrayBufferView(h)||N.isArrayBuffer(h))return h.byteLength;if(N.isURLSearchParams(h)&&(h=h+""),N.isString(h))return(await l(h)).byteLength},p=async(h,m)=>{const b=N.toFiniteNumber(h.getContentLength());return b??d(m)};return async h=>{let{url:m,method:b,data:y,signal:_,cancelToken:E,timeout:g,onDownloadProgress:A,onUploadProgress:C,responseType:x,headers:w,withCredentials:O="same-origin",fetchOptions:F}=y_(h),M=t||fetch;x=x?(x+"").toLowerCase():"text";let Z=VF([_,E&&E.toAbortSignal()],g),se=null;const G=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let J;try{if(C&&c&&b!=="get"&&b!=="head"&&(J=await p(w,y))!==0){let Ie=new n(m,{method:"POST",body:y,duplex:"half"}),V;if(N.isFormData(y)&&(V=Ie.headers.get("content-type"))&&w.setContentType(V),Ie.body){const[ee,oe]=nh(J,Fi(rh(C)));y=sh(Ie.body,ih,ee,oe)}}N.isString(O)||(O=O?"include":"omit");const X=s&&"credentials"in n.prototype;if(N.isFormData(y)){const Ie=w.getContentType();Ie&&/^multipart\/form-data/i.test(Ie)&&!/boundary=/i.test(Ie)&&w.delete("content-type")}const re={...F,signal:Z,method:b.toUpperCase(),headers:w.normalize().toJSON(),body:y,duplex:"half",credentials:X?O:void 0};se=s&&new n(m,re);let pe=await(s?M(se,F):M(m,re));const Ge=u&&(x==="stream"||x==="response");if(u&&(A||Ge&&G)){const Ie={};["status","statusText","headers"].forEach(fe=>{Ie[fe]=pe[fe]});const V=N.toFiniteNumber(pe.headers.get("content-length")),[ee,oe]=A&&nh(V,Fi(rh(A),!0))||[];pe=new r(sh(pe.body,ih,ee,()=>{oe&&oe(),G&&G()}),Ie)}x=x||"text";let ht=await f[N.findKey(f,x)||"text"](pe,h);return!Ge&&G&&G(),await new Promise((Ie,V)=>{m_(Ie,V,{data:ht,headers:Ut.from(pe.headers),status:pe.status,statusText:pe.statusText,config:h,request:se})})}catch(X){throw G&&G(),X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,h,se,X&&X.response),{cause:X.cause||X}):ie.from(X,X&&X.code,h,se,X&&X.response)}}},XF=new Map,b_=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,c,u=XF;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:YF(t)),u=c;return c};b_();const Pu={http:uF,xhr:HF,fetch:{get:b_}};N.forEach(Pu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const uh=e=>`- ${e}`,JF=e=>N.isFunction(e)||e===null||e===!1;function QF(e,t){e=N.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!JF(r)&&(o=Pu[(a=String(r)).toLowerCase()],o===void 0))throw new ie(`Unknown adapter '${a}'`);if(o&&(N.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
|
|
31
|
+
`+i.map(uh).join(`
|
|
32
|
+
`):" "+uh(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const __={getAdapter:QF,adapters:Pu};function Al(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ks(null,e)}function fh(e){return Al(e),e.headers=Ut.from(e.headers),e.data=Tl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),__.getAdapter(e.adapter||Cs.adapter,e)(e).then(function(r){return Al(e),r.data=Tl.call(e,e.transformResponse,r),r.headers=Ut.from(r.headers),r},function(r){return h_(r)||(Al(e),r&&r.response&&(r.response.data=Tl.call(e,e.transformResponse,r.response),r.response.headers=Ut.from(r.response.headers))),Promise.reject(r)})}const v_="1.15.2",Sa={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Sa[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const dh={};Sa.transitional=function(t,n,r){function o(s,i){return"[Axios v"+v_+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new ie(o(i," has been removed"+(n?" in "+n:"")),ie.ERR_DEPRECATED);return n&&!dh[i]&&(dh[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};Sa.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function ZF(e,t,n){if(typeof e!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new ie("option "+s+" must be "+l,ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ie("Unknown option "+s,ie.ERR_BAD_OPTION)}}const li={assertOptions:ZF,validators:Sa},Yt=li.validators;let Or=class{constructor(t){this.defaults=t||{},this.interceptors={request:new eh,response:new eh}}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 i=o.stack.indexOf(`
|
|
33
|
+
`);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
|
|
34
|
+
`),a=i===-1?-1:s.indexOf(`
|
|
35
|
+
`,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
|
|
36
|
+
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&li.assertOptions(r,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},!1),o!=null&&(N.isFunction(o)?n.paramsSerializer={serialize:o}:li.assertOptions(o,{encode:Yt.function,serialize:Yt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),li.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&N.merge(s.common,s[n.method]);s&&N.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=Ut.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(n)===!1)return;l=l&&m.synchronous;const b=n.transitional||Ou;b&&b.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,d;if(!l){const h=[fh.bind(this),void 0];for(h.unshift(...a),h.push(...c),d=h.length,u=Promise.resolve(n);f<d;)u=u.then(h[f++],h[f++]);return u}d=a.length;let p=n;for(;f<d;){const h=a[f++],m=a[f++];try{p=h(p)}catch(b){m.call(this,b);break}}try{u=fh.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=Rr(this.defaults,t);const n=g_(t.baseURL,t.url,t.allowAbsoluteUrls);return d_(n,t.params,t.paramsSerializer)}};N.forEach(["delete","get","head","options"],function(t){Or.prototype[t]=function(n,r){return this.request(Rr(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(Rr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Or.prototype[t]=n(),Or.prototype[t+"Form"]=n(!0)});let e$=class w_{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{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 i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new ks(s,i,a),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 w_(function(o){t=o}),cancel:t}}};function t$(e){return function(n){return e.apply(null,n)}}function n$(e){return N.isObject(e)&&e.isAxiosError===!0}const Ic={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ic).forEach(([e,t])=>{Ic[t]=e});function E_(e){const t=new Or(e),n=t_(Or.prototype.request,t);return N.extend(n,Or.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return E_(Rr(e,o))},n}const ot=E_(Cs);ot.Axios=Or;ot.CanceledError=ks;ot.CancelToken=e$;ot.isCancel=h_;ot.VERSION=v_;ot.toFormData=Ea;ot.AxiosError=ie;ot.Cancel=ot.CanceledError;ot.all=function(t){return Promise.all(t)};ot.spread=t$;ot.isAxiosError=n$;ot.mergeConfig=Rr;ot.AxiosHeaders=Ut;ot.formToJSON=e=>p_(N.isHTMLForm(e)?new FormData(e):e);ot.getAdapter=__.getAdapter;ot.HttpStatusCode=Ic;ot.default=ot;const{Axios:LU,AxiosError:RU,CanceledError:NU,isCancel:MU,CancelToken:DU,VERSION:FU,all:$U,Cancel:UU,isAxiosError:jU,spread:zU,toFormData:BU,AxiosHeaders:HU,HttpStatusCode:VU,formToJSON:WU,getAdapter:GU,mergeConfig:qU}=ot,S_=new Map,r$={baseURL:"",timeout:1e4};function o$(e,t){const n=ot.create({...r$,...t});return S_.set(e,n),n}function s$(e="default"){const t=S_.get(e);if(!t)throw new Error(`Instance "${e}" not initialized. Call initInstance() first.`);return t}async function i$(e,t){const n=e.split("/")[0],r=s$(n);return e=e.replace(n,""),r.request({url:e,...t})}async function a$(e,t){return i$("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const l$=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:a$},Symbol.toStringTag,{value:"Module"})),ph={v1Preprocessing:l$},hh=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],c$=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o})=>{const s={moduleCache:e,pathResolve({refPath:i,relPath:a},l){if(a===".")return i;if(l.moduleCache[a])return a;const c=t[a];if(c)return pg.PREBUILD_MODULE_SKIP_EXT.some(u=>c.endsWith(u))?new URL(`${be.NODE_MODULES_LOAD_PREFIX}/${c}`,window.location.origin).href:new URL(`${be.MODULE_LOAD_PREFIX}/${c}`,window.location.origin).href;if(n?.length&&i){const{origin:u,pathname:f}=new URL(i),d=`${u}${f}`,p=new URL(a,d),h=n.find(m=>m.signedUrl.startsWith(p.href));if(h)return h.signedUrl}return String(new URL(a,i??window.location.href))},async getFile(i){const a=i.toString(),l=new URL(i).pathname;if(hh.some(u=>l.endsWith(u))){const u=await fetch(a);if(!u.ok)throw Object.assign(new Error(u.statusText+" "+i),{res:u});const f=await u.blob();return URL.createObjectURL(f)}const c=await fetch(a);if(!c.ok)throw Object.assign(new Error(c.statusText+" "+i),{res:c});return{type:lD(c.url),getContentData:u=>u?c.arrayBuffer():c.text()}},async addStyle(i,a,l){let c=i;l&&i&&(c=aD(i,l,n||[])),document.head.querySelector(`style#${a}`)?.remove();const f=Object.assign(document.createElement("style"),{textContent:c,...a?{id:a}:{}});document.head.appendChild(f)},async processStyles(i,a){if(i.trim()&&a){const c=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:i,precompilerType:a}),{preprocessedCode:u}=c.data;return u}return i},async handleModule(i,a,l){if(hh.includes(i))return await a(!1);switch(i){case".css":{const c=await a(!1);return typeof c=="string"&&await s.addStyle(c,void 0,l),null}case".less":case".scss":case".sass":{const c=await a(!1),f={".scss":"scss",".sass":"sass",".less":"less"}[i];if(typeof c=="string"){const d=c.trim();if(d){const p=await ph.v1Preprocessing.preprocessingcontrollerPreprocess({cssCode:d,precompilerType:f}),{preprocessedCode:h}=p.data;await s.addStyle(h,void 0,l)}}return null}}},compiledCache:{async set(i,a){try{await Yp().put(be.INDEX_DB_TABLE_NAME,{hash:i,code:a})}catch(l){console.error("将编译后的模块存储到IndexedDB失败",l)}},async get(i){try{return(await Yp().get(be.INDEX_DB_TABLE_NAME,i))?.code??void 0}catch(a){console.error("从IndexedDB获取编译后的模块失败",a),r?.(a);return}}},log(i,...a){i==="error"?r?.(new Error(a.join(`
|
|
37
|
+
`))):i==="warn"&&o?.(a.join(`
|
|
38
|
+
`))},createCJSModule(i,a,l){const{moduleCache:c,pathResolve:u,getResource:f}=l,d=function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`require(${JSON.stringify(y)}) failed. module not found in moduleCache`)},p=async function(b){const{id:y}=f({refPath:i,relPath:b},l);if(y in c)return c[y];throw new Error(`Dynamic import(${JSON.stringify(y)}) failed. module not found in moduleCache`)},h={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",a).call(h.exports,h.exports,d,h,i,u({refPath:i,relPath:"."},l),p),h}};return s};function Lu(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function u$(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${Lu(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function f$(e,t,n="hl"){if(!t?.trim())return e;const r=Lu(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function d$(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const C_=e=>e.replace(/[/\\]/g,"/"),p$=(e,t="/")=>e.replace(/[\\/]+/g,t);function h$(){return"#"+Gx(0,16777215).toString(16).padStart(6,"0")}const m$=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),k_=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Pc=e=>{if(Array.isArray(e))return e.map(n=>Pc(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=k_(n);t[r]=Pc(e[n])}return t};function g$(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function y$(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function x_(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
|
|
39
|
+
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function b$(e){return x_(e).valid}const _$=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Pc,escapeRegExp:Lu,findKeywordLineIndex:d$,generateNumberString:y$,highlightText:f$,isEmail:m$,isValidHash:b$,randomColor:h$,replaceBackslashWithSlash:C_,replaceSlashWithSpecifiedSeparator:p$,splitTextByKeyword:u$,toCamelCase:k_,validateCompName:g$,validateHash:x_},Symbol.toStringTag,{value:"Module"}));function v$(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=C_(n);return`${e.replace(be.FILE_MANAGER_DIRNAME,"")}${r}`}function w$(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const E$=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:v$,handleDepData:w$},Symbol.toStringTag,{value:"Module"})),mh=/^[\^~>=<]+/,T_=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function S$(e){return T_.test(e)}function Pn(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(mh),n=t?t[0]:"",r=e.replace(mh,"").match(T_);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",i="0",a]=r,l=parseInt(o,10),c=parseInt(s,10),u=parseInt(i,10);return{raw:e,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function C$(e,t){const n=Pn(e),r=Pn(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function k$(e){return Pn(e).majorVersion}function x$(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=Pn(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function Kr(e,t){const n=Pn(e),r=Pn(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:i}=be;return n.major!==r.major?n.major>r.major?i:s:n.minor!==r.minor?n.minor>r.minor?i:s:n.patch!==r.patch?n.patch>r.patch?i:s:o}function T$(e,t){const n=Pn(e),r=Pn(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return Kr(e,t.replace(">=",""))>=0;case">":return Kr(e,t.replace(">",""))>0;case"<=":return Kr(e,t.replace("<=",""))<=0;case"<":return Kr(e,t.replace("<",""))<0;case"=":case"":return Kr(e,t.replace("=",""))===0;default:return!1}}function A$(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=Pn(e),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${e})`);return a},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),i=r*1e6+o*1e3+s;if(!Number.isSafeInteger(i))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${i}(原始输入:${e})`);return i}const O$=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Kr,getMajorVersion:k$,isVersionEqual:C$,parseDependencies:x$,parseVersion:Pn,satisfiesRange:T$,validateVersion:S$,versionToNumber:A$},Symbol.toStringTag,{value:"Module"})),I$=["id","aria-label","aria-disabled"],P$=["onClick"],L$=["name","value","checked","disabled","onChange"],R$={class:"segmented__label"},N$=rt({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=_e(),s=_e({opacity:"0"}),i=Y(()=>n.segProps?.value||"value"),a=Y(()=>n.segProps?.label||"label"),l=Y(()=>n.segProps?.disabled||"disabled");function c(b){return typeof b=="object"&&b!==null?b[i.value]:b}function u(b){return typeof b=="object"&&b!==null?b[a.value]:b}function f(b){return n.disabled?!0:typeof b=="object"&&b!==null?!!b[l.value]:!1}const d=Y(()=>n.options.map(b=>typeof b=="object"&&b!==null?{...b,[i.value]:b[i.value],[a.value]:b[a.value],[l.value]:b[l.value]}:b));function p(b){return c(b)===n.modelValue}function h(b){if(f(b))return;const y=c(b);y!==n.modelValue&&(r("update:modelValue",y),r("change",y))}function m(){dr(()=>{const b=o.value?.parentElement;if(!b)return;const y=b.querySelectorAll(".segmented__item");let _=null;for(let A=0;A<y.length;A++){const C=y.item(A);if(C&&C.classList.contains("is-selected")){_=C;break}}if(!_){s.value={opacity:"0"};return}const E=b.getBoundingClientRect(),g=_.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateY(${g.top-E.top}px)`}:s.value={opacity:"1",width:`${g.width}px`,height:`${g.height}px`,transform:`translateX(${g.left-E.left}px)`}})}return Je(()=>n.modelValue,m),Je(()=>n.options,m),Je(()=>n.direction,m),Ln(m),(b,y)=>(ge(),je("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:We(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[qe("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Mt(s.value)},null,4),(ge(!0),je(it,null,bo(d.value,(_,E)=>(ge(),je("label",{key:c(_),class:We(["segmented__item",{"is-selected":p(_),"is-disabled":f(_)}]),onClick:g=>h(_)},[qe("input",{type:"radio",class:"segmented__input",name:e.name,value:c(_),checked:p(_),disabled:f(_),onChange:g=>h(_)},null,40,L$),qe("span",R$,[cr(b.$slots,"default",{item:_,index:E},()=>[_i(Gn(u(_)),1)],!0)])],10,P$))),128))],10,I$))}}),M$=tn(N$,[["__scopeId","data-v-652cb401"]]),D$={class:"ec-list"},F$={class:"ec-actions"},$$=rt({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),je("div",{class:We(["ec-outer",Me(n)?"ec-outer--dark":"ec-outer--light"])},[qe("div",{class:We(["ec-inner",Me(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=qe("div",{class:"ec-icon"},"🔧",-1)),qe("h4",{class:We(["ec-title",Me(n)?"ec-title--dark":"ec-title--light"])},Gn(Me(t)("comp.compileError")),3),qe("div",D$,[(ge(!0),je(it,null,bo(e.error,(s,i)=>(ge(),je("div",{key:i,class:We(["ec-item",Me(n)?"ec-item--dark":"ec-item--light"])},Gn(s),3))),128))]),qe("div",F$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U$=tn($$,[["__scopeId","data-v-50d3a8b1"]]),j$={class:"wc-list"},z$={class:"wc-actions"},B$=rt({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Mr(),n=Kc();return(r,o)=>(ge(),je("div",{class:We(["wc-outer",Me(n)?"wc-outer--dark":"wc-outer--light"])},[qe("div",{class:We(["wc-inner",Me(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=qe("div",{class:"wc-icon"},"⚠️",-1)),qe("h4",{class:We(["wc-title",Me(n)?"wc-title--dark":"wc-title--light"])},Gn(Me(t)("comp.compileWarn")),3),qe("div",j$,[(ge(!0),je(it,null,bo(e.warn,(s,i)=>(ge(),je("div",{key:i,class:We(["wc-item",Me(n)?"wc-item--dark":"wc-item--light"])},Gn(s),3))),128))]),qe("div",z$,[cr(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),H$=tn(B$,[["__scopeId","data-v-c171e829"]]),V$=rt({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e){return(t,n)=>(ge(),je("div",{class:We(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[t.$slots.header||e.header?(ge(),je("div",{key:0,class:We(["card__header",e.headerClass])},[cr(t.$slots,"header",{},()=>[_i(Gn(e.header),1)],!0)],2)):cn("",!0),qe("div",{class:We(["card__body",e.bodyClass]),style:Mt(e.bodyStyle)},[cr(t.$slots,"default",{},void 0,!0)],6),t.$slots.footer||e.footer?(ge(),je("div",{key:1,class:We(["card__footer",e.footerClass])},[cr(t.$slots,"footer",{},()=>[_i(Gn(e.footer),1)],!0)],2)):cn("",!0)],2))}}),A_=tn(V$,[["__scopeId","data-v-18822aad"]]),W$=rt({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=_e(r.initialIndex),i=_e(!1),a=_e(!1),l=_e(),c=_e([]);function u(G){c.value.push(G)}function f(G){const J=c.value.findIndex(X=>X.uid===G);J!==-1&&(c.value.splice(J,1),s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)))}const d=Y(()=>r.direction==="vertical"),p=Y(()=>r.type==="card"),h=Y(()=>r.cardScale);to("carousel",{items:c,addItem:u,removeItem:f,activeIndex:s,isVertical:d,isCard:p,cardScale:h,translating:Y(()=>i.value),animating:Y(()=>i.value),slideTo:A});const m=Y(()=>{const G={};return r.height&&r.height!=="auto"&&(G.height=r.height),G}),b=Y(()=>{if(p.value)return{};if(c.value.length===0)return{};const J=-s.value*100;return d.value?{transform:`translateY(${J}%)`}:{transform:`translateX(${J}%)`}}),y=Y(()=>r.trigger==="click"?"click":"mouseenter"),_=Y(()=>d.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),E=Y(()=>d.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function g(G){const J=c.value.length;return J===0?0:r.loop?(G%J+J)%J:Math.max(0,Math.min(G,J-1))}function A(G){if(c.value.length===0)return;const X=g(G);if(X===s.value)return;const re=s.value;s.value=X,i.value=!0,o("change",X,re),setTimeout(()=>{i.value=!1},400)}function C(){A(s.value+1)}function x(){A(s.value-1)}function w(G){if(typeof G=="number"){A(G);return}const J=c.value.findIndex(X=>X.name===G);J!==-1&&A(J)}let O=null;function F(){M(),!(!r.autoplay||c.value.length<=1)&&(O=setInterval(()=>{a.value&&r.pauseOnHover||C()},r.interval))}function M(){O!==null&&(clearInterval(O),O=null)}function Z(){a.value=!0}function se(){a.value=!1}return Je(()=>c.value.length,()=>{s.value>=c.value.length&&(s.value=Math.max(0,c.value.length-1)),r.autoplay&&F()}),Je(()=>r.autoplay,G=>{G?F():M()}),Je(()=>r.interval,()=>{r.autoplay&&F()}),Ln(()=>{r.autoplay&&F()}),Zi(()=>{M()}),t({activeIndex:s,setActiveItem:w,prev:x,next:C}),(G,J)=>(ge(),je("div",{ref_key:"carouselRef",ref:l,class:We(["carousel",[`carousel--${e.direction}`]]),style:Mt(m.value),onMouseenter:Z,onMouseleave:se},[qe("div",{class:We(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[qe("div",{class:We(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":i.value,"carousel__track--motion-blur":e.motionBlur&&i.value}]),style:Mt(b.value)},[cr(G.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&c.value.length>1?(ge(),je("button",{key:0,class:We(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Mt(_.value),onClick:df(x,["stop"])},[...J[0]||(J[0]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):cn("",!0),e.arrow!=="never"&&c.value.length>1?(ge(),je("button",{key:1,class:We(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Mt(E.value),onClick:df(C,["stop"])},[...J[1]||(J[1]=[qe("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):cn("",!0),c.value.length>1?(ge(),je("ul",{key:2,class:We(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(ge(!0),je(it,null,bo(c.value,(X,re)=>(ge(),je("li",io({key:X.uid,class:["carousel__indicator",{"carousel__indicator--active":re===s.value}]},{[Ys(y.value)]:pe=>w(re)}),[qe("span",null,Gn(X.label||""),1)],16))),128))],2)):cn("",!0)],38))}}),O_=tn(W$,[["__scopeId","data-v-99eabb22"]]),G$=rt({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=_e(!1),r=Dt("carousel"),o=_e(0);Ln(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Zi(()=>{r?.removeItem(o.value)});const s=Y(()=>r?.items.value??[]),i=Y(()=>r?.activeIndex.value??0),a=Y(()=>r?.isCard.value??!1),l=Y(()=>r?.cardScale.value??.83),c=Y(()=>s.value.findIndex(m=>m.uid===o.value)),u=Y(()=>c.value===i.value),f=Y(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value-1+m)%m}),d=Y(()=>{if(!a.value)return!1;const m=s.value.length;return m<=1?!1:c.value===(i.value+1)%m}),p=Y(()=>{if(a.value&&s.value.length>1){const m=l.value;return u.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:f.value?{transform:`translateX(-30%) scale(${m})`,zIndex:2,opacity:.6}:d.value?{transform:`translateX(30%) scale(${m})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${m})`,zIndex:1,opacity:0}}return{}});function h(){a.value&&(u.value||(f.value||d.value)&&r?.slideTo(c.value))}return(m,b)=>Zh((ge(),je("div",{class:We(["carousel-item",{"carousel-item--card":a.value,"carousel-item--active":u.value,"carousel-item--prev":f.value,"carousel-item--next":d.value}]),style:Mt(p.value),onClick:h},[cr(m.$slots,"default",{},void 0,!0)],6)),[[Dw,n.value]])}}),I_=tn(G$,[["__scopeId","data-v-9638f2b6"]]);var Ol,gh;function q$(){if(gh)return Ol;gh=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var i="",a=0,l=-1,c=0,u,f=0;f<=o.length;++f){if(f<o.length)u=o.charCodeAt(f);else{if(u===47)break;u=47}if(u===47){if(!(l===f-1||c===1))if(l!==f-1&&c===2){if(i.length<2||a!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var d=i.lastIndexOf("/");if(d!==i.length-1){d===-1?(i="",a=0):(i=i.slice(0,d),a=i.length-1-i.lastIndexOf("/")),l=f,c=0;continue}}else if(i.length===2||i.length===1){i="",a=0,l=f,c=0;continue}}s&&(i.length>0?i+="/..":i="..",a=2)}else i.length>0?i+="/"+o.slice(l+1,f):i=o.slice(l+1,f),a=f-l-1;l=f,c=0}else u===46&&c!==-1?++c:c=-1}return i}function n(o,s){var i=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return i?i===s.root?i+a:i+o+a:a}var r={resolve:function(){for(var s="",i=!1,a,l=arguments.length-1;l>=-1&&!i;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),e(c),c.length!==0&&(s=c+"/"+s,i=c.charCodeAt(0)===47)}return s=t(s,!i),i?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var i=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!i),s.length===0&&!i&&(s="."),s.length>0&&a&&(s+="/"),i?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,i=0;i<arguments.length;++i){var a=arguments[i];e(a),a.length>0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,i){if(e(s),e(i),s===i||(s=r.resolve(s),i=r.resolve(i),s===i))return"";for(var a=1;a<s.length&&s.charCodeAt(a)===47;++a);for(var l=s.length,c=l-a,u=1;u<i.length&&i.charCodeAt(u)===47;++u);for(var f=i.length,d=f-u,p=c<d?c:d,h=-1,m=0;m<=p;++m){if(m===p){if(d>p){if(i.charCodeAt(u+m)===47)return i.slice(u+m+1);if(m===0)return i.slice(u+m)}else c>p&&(s.charCodeAt(a+m)===47?h=m:m===0&&(h=0));break}var b=s.charCodeAt(a+m),y=i.charCodeAt(u+m);if(b!==y)break;b===47&&(h=m)}var _="";for(m=a+h+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+i.slice(u+h):(u+=h,i.charCodeAt(u)===47&&++u,i.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var i=s.charCodeAt(0),a=i===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(i=s.charCodeAt(u),i===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,l=-1,c=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i.length===s.length&&i===s)return"";var f=i.length-1,d=-1;for(u=s.length-1;u>=0;--u){var p=s.charCodeAt(u);if(p===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),f>=0&&(p===i.charCodeAt(f)?--f===-1&&(l=u):(f=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){e(s);for(var i=-1,a=0,l=-1,c=!0,u=0,f=s.length-1;f>=0;--f){var d=s.charCodeAt(f);if(d===47){if(!c){a=f+1;break}continue}l===-1&&(c=!1,l=f+1),d===46?i===-1?i=f:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;var a=s.charCodeAt(0),l=a===47,c;l?(i.root="/",c=1):c=0;for(var u=-1,f=0,d=-1,p=!0,h=s.length-1,m=0;h>=c;--h){if(a=s.charCodeAt(h),a===47){if(!p){f=h+1;break}continue}d===-1&&(p=!1,d=h+1),a===46?u===-1?u=h:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===f+1?d!==-1&&(f===0&&l?i.base=i.name=s.slice(1,d):i.base=i.name=s.slice(f,d)):(f===0&&l?(i.name=s.slice(1,u),i.base=s.slice(1,d)):(i.name=s.slice(f,u),i.base=s.slice(f,d)),i.ext=s.slice(u,d)),f>0?i.dir=s.slice(0,f-1):l&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Ol=r,Ol}var P_=q$();function K$(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}const Y$=Wg("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},async loadSfcLoader(e){const t=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(t)return t;const n=!1,{params:{isSfc:r}}=pr(),o=e==="vue3"?"vue3-sfc-loader":"vue2-sfc-loader",s=P_.join(`/${be.WEBSITE_PATH_CONTAINER}`,"js",`${o}.js`),a=r||n?window:window.parent;let l=a[o];return l||(await K$(s),l=a[o]),e==="vue3"?this.setVue3SfcLoader(l):this.setVue2SfcLoader(l),l}}}),X$={class:"async-comp-wrapper"},J$={key:0,class:"async-comp-error"},Q$={key:1,class:"async-comp-error"},Z$=rt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=Dt(jg);let r=()=>{},o=0;const s=Y$(),i=nm("compContainer"),{sendMessageToTop:a}=wo(),l=vo(),{params:{instanceUid:c}}=pr(),u=_e(!1),f=_e(""),d=_e(""),p=_e(""),h=_e(""),m=_e([]),b=_e(""),y=_e([]),_=Y(()=>({"async-comp-overflow-auto":t.panelType===be.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":t.panelType===be.COMP_EDIT_TAB_TYPE_MINI})),E=Y(()=>{const V=[...y.value,f.value,d.value,h.value,b.value].filter(Boolean);return[...new Set(V)]}),g=Y(()=>{const V=[p.value,...m.value].filter(Boolean);return[...new Set(V)]}),A=Y(()=>n?.value?.find(V=>V.name==="vue")?.version||""),C=V=>V instanceof Error?V.message:typeof V=="string"?V:"未知错误",x=()=>{f.value="",d.value="",p.value="",h.value="",m.value=[],b.value="",y.value=[]},w=new Set;let O=null;const F=()=>{const V=i.value;V&&w.forEach(({params:ee,callback:oe})=>{oe(Xa(V,ee.mode,ee.width,ee.height))})},M=()=>{O||!i.value||(O=new ResizeObserver(()=>F()),O.observe(i.value))},Z=V=>{V.$onScaleChange=(ee,oe)=>{const fe={params:ee,callback:oe};return w.add(fe),i.value&&oe(Xa(i.value,ee.mode,ee.width,ee.height)),()=>{w.delete(fe)}},V.$getScaleStyle=({mode:ee,width:oe,height:fe})=>Xa(i.value,ee,oe,fe)},se=()=>{const V={};(t.dep?.map(oe=>oe.name)||[]).forEach(oe=>{if(!t.depToFile[oe]){const fe=t.dep?.find($=>$.name===oe),le=fe?.parent?.name||fe?.name||oe;V[le]=`${le}${fe?.version||""}`}}),Object.keys(V).length&&(b.value=Object.values(V).map(oe=>`${oe} uninstalled`).join(", "))},G=async()=>{const V=[...t.dep];return V.sort((oe,fe)=>oe.name==="vue"?-1:fe.name==="vue"?1:0),await V.reduce(async(oe,fe)=>{const{name:le}=fe,$=await oe,q=t.depToFile[le];if(!q||pg.PREBUILD_MODULE_SKIP_EXT.find(te=>q.endsWith(te)))return $;try{const te=await cO(()=>import(`${be.MODULE_LOAD_PREFIX}/${q}`),[]);$[le]={...te.default,...te,__esModule:!0}}catch(te){console.warn(`[cacheModule] 模块 "${le}" 预加载失败,将交由 vue3-sfc-loader 处理:`,C(te))}return $},Promise.resolve({}))},J=async V=>{if(t.localCompRootPath){const ee=P_.join(t.localCompRootPath,be.COMP_ENTRY_FILE);await cD(ee)&&await V(ee)}else if(t.signedUrls?.length){const ee=t.signedUrls.find(oe=>oe.path===`/${be.COMP_ENTRY_FILE}`);ee&&await V(ee.signedUrl)}},X=async(V,ee,oe)=>{try{const fe=await s.loadSfcLoader(V),{loadModule:le}=fe,$=await le("vue",ee);return await oe(le,$)}catch(fe){console.error(fe);const le=C(fe);return console.error(`sfcLoaderError:${le}`),h.value=le,null}},re=async V=>X("vue3",V,async(ee,oe)=>{const{createApp:fe,defineAsyncComponent:le}=oe;if(!fe||!le)return f.value="createApp or defineAsyncComponent is not defined",null;const $=le({loader:async()=>await ee(t.finalEntryUrl,V),delay:100,timeout:2e4,onError:(H,te,ye)=>{if(console.error(`onError:${H.message}`),f.value=H.message,H)return ye()}}),q=fe({template:"<AsyncComp />"});return oe.app=q,await J(async H=>{await ee(H,V)}),q.component("AsyncComp",$),Z(q.config.globalProperties),q.config.errorHandler=H=>{console.error(H),console.error(`errorHandler:${H}`),d.value=H,u.value=!1},q.config.warnHandler=function(H){console.warn(H),console.warn(`warnHandler:${H}`),p.value=H,u.value=!1},q}),pe=async V=>X("vue2",V,async(ee,oe)=>{Z(oe.default.prototype),oe.default.config.errorHandler=function(le){console.error(le),console.error(`errorHandler:${le}`),d.value=le,u.value=!1},oe.default.config.warnHandler=function(le){console.warn(le),console.warn(`warnHandler:${le}`),p.value=le,u.value=!1},await J(async le=>{await ee(le,V)});const fe=await ee(t.finalEntryUrl,V);return new oe.default(fe)}),Ge=(V,ee)=>V.mount?(V.mount(ee),oe=>{console.log("vue3组件卸载"),V?.unmount(),ee.remove(),oe?.()}):(V.$mount(ee),oe=>{console.log("vue2组件卸载"),V?.$destroy(),ee.remove(),oe?.()}),ht=async()=>{u.value=!0,x();try{const V=A.value;if(console.log("当前vue版本",V),!V)throw new Error("vue版本不能为空");const ee=O$.getMajorVersion(V);if(se(),b.value)return null;const oe=await G(),fe=c$({moduleCache:oe,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:le=>{console.error(le);const $=C(le);console.error(`sfcLoaderError:${$}`),h.value=$},warnCallBack:le=>{console.warn(le),m.value=[...m.value,le]}});return ee==="3"?await re(fe):ee==="2"?await pe(fe):null}catch(V){console.error(V);const ee=C(V);return console.error(`loadAsyncComp error:${ee}`),h.value=ee,null}finally{u.value=!1}};async function Ie(){if(!i.value){console.error("组件挂载点不存在");return}o++;const V=o,ee=document.createElement("div");ee.style.height="100%",ee.style.width="100%",i.value.appendChild(ee);const oe=()=>{ee.parentNode&&ee.remove()};try{const fe=await ht();if(V!==o){fe?Ge(fe,ee)(()=>{}):oe();return}if(!fe){console.error("组件实例创建失败"),oe();return}r=Ge(fe,ee),M()}catch(fe){console.error(fe),console.error(`handleCompRender error:${C(fe)}`),oe()}}return Je(()=>t.finalEntryUrl,async V=>{console.log("卸载当前预览",V),r(()=>{i.value&&(i.value.innerHTML="")}),V&&(await dr(),await Ie())},{immediate:!0}),Je(()=>[E.value,g.value],([V,ee])=>{!V.length&&!ee.length||r(()=>{i.value&&(i.value.innerHTML="")})}),Je(()=>({hasError:E.value.length>0,hasWarn:g.value.length>0}),({hasError:V,hasWarn:ee})=>{console.log("comp render state",{hasError:V,hasWarn:ee}),a(Ce.COMP_RENDER_ERROR_SET,{hasError:V,hasWarn:ee},l,c)},{immediate:!0}),yo(()=>{r(()=>{i.value&&(i.value.innerHTML="")}),O?.disconnect(),O=null,w.clear()}),(V,ee)=>{const oe=Gv("loading");return Zh((ge(),je("div",X$,[qe("div",{ref:"compContainer",class:We(["async-comp-container",_.value])},null,2),E.value.length?(ge(),je("div",J$,[Ze(Me(U$),{error:E.value},null,8,["error"])])):cn("",!0),!E.value.length&&g.value.length?(ge(),je("div",Q$,[Ze(Me(H$),{warn:g.value},null,8,["warn"])])):cn("",!0)])),[[oe,u.value]])}}}),Ru=tn(Z$,[["__scopeId","data-v-0db0534e"]]),eU=rt({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:be.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""}},setup(e){const t=Kv(),n=e;return(r,o)=>(ge(),Pt(Me(O_),io({class:"comp-mini-carousel",trigger:"click",arrow:"never"},Me(t)),{default:Ir(()=>[(ge(!0),je(it,null,bo(e.previews,(s,i)=>(ge(),Pt(Me(I_),{key:i,class:"comp-mini-carousel-item"},{default:Ir(()=>[qe("div",{class:"comp-mini-carousel-slide",style:Mt({backgroundColor:n.bgColor})},[s.finalEntryUrl?(ge(),Pt(Ru,io({key:0,finalEntryUrl:s.finalEntryUrl},{ref_for:!0},n),null,16,["finalEntryUrl"])):cn("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ca=tn(eU,[["__scopeId","data-v-da931a53"]]);function L_(e=3,t=be.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=wo(),i=vo(),{addListener:a}=o(),l=_e(),c=Y(()=>l.value?.item),u=Y(()=>l.value?.dep??[]),f=Y(()=>l.value?.depToFile??{}),d=Y(()=>{if(!c.value)return[];const h=t===be.COMP_EDIT_TAB_TYPE_MINI;return c.value?.previewConfigs.filter(m=>h?m.miniPath?.length:m.fullPath?.length||m.miniPath?.length).slice(0,e).map(m=>{const b=h?m.miniPath:m.fullPath?.length?m.fullPath:m.miniPath,y=E$.getPreviewUrl(c.value.path,b);return{finalEntryUrl:`${be.COMP_PREVIEW_PREFIX_LOCAL}/${y}`}})}),p=Y(()=>({previews:d.value,dep:u.value,depToFile:f.value,localCompRootPath:c.value?.path.replace(be.FILE_MANAGER_DIRNAME,be.COMP_PREVIEW_PREFIX_LOCAL+"/")}));return a(Ce.ITEM_INIT_SET_LOCAL,h=>{l.value=h}),s(Ce.ITEM_INIT_GET_LOCAL,n,i,r),{compAttrs:c,carouselBind:p,localDep:u,depToFile:f}}const tU=rt({__name:"index",setup(e){const{carouselBind:t}=L_(3,be.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(ge(),Pt(Ca,hs(_o(Me(t))),null,16))}});function R_(e=3,t=be.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=pr(),{messageListener:o,sendMessageToTop:s}=wo(),i=vo(),{addListener:a}=o(),l=_e(),c=_e(),u=Y(()=>l.value?.item),f=Y(()=>l.value?.depEntryNameToFile),d=Y(()=>l.value?.versionToFileAccessPath),p=Y(()=>l.value?.item?.version??""),h=Y(()=>{if(!Object.keys(u.value??{}).length)return[];const _=d.value??[],E=new Map(_.map(({path:A,signedUrl:C})=>[A,C])),g=t===be.COMP_EDIT_TAB_TYPE_MINI;return u.value?.previewConfigs.filter(A=>g?A.miniPath?.length:A.fullPath?.length||A.miniPath?.length).slice(0,e).map(A=>{const C=g?A.miniPath:A.fullPath?.length?A.fullPath:A.miniPath,x=_$.replaceBackslashWithSlash(C?.at(-1)??"");return{finalEntryUrl:E.get(x)??""}})}),m=Y(()=>({previews:h.value??[],dep:u.value?.dep??[],signedUrls:d.value??[],depToFile:f.value??{},bgColor:c.value??u.value?.bgColor??""}));let b=()=>{};function y(_){b=_}return a(Ce.ITEM_INIT_SET,_=>{l.value=_}),a(Ce.BG_COLOR_SET,_=>{c.value=_}),s(Ce.ITEM_INIT_GET,n,i,r),s(Ce.BG_COLOR_GET,"",i,r),Je(()=>p.value,_=>{_&&b(_)},{once:!0}),{compAttrs:u,carouselBind:m,setInitVersion:y}}const nU=rt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=R_(3),r=_e(""),o=Y(()=>({...t.value,panelType:be.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,i)=>(ge(),Pt(Ca,hs(_o(o.value)),null,16))}}),rU={class:"panel-mini-wrapper"},oU=rt({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=Y(()=>({finalEntryUrl:t.miniEntryUrl,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:be.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:t.localCompRootPath}));return(r,o)=>(ge(),je("div",rU,[Ze(Me(A_),{"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Mt({backgroundColor:e.bg})},{default:Ir(()=>[Ze(Ru,hs(_o(n.value)),null,16)]),_:1},8,["style"])]))}}),sU=tn(oU,[["__scopeId","data-v-d25ab806"]]),iU=rt({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{}},setup(e){const t=e,n=Y(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:be.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Pt(Me(A_),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Mt({backgroundColor:e.bg})},{default:Ir(()=>[Ze(Ru,hs(_o(n.value)),null,16)]),_:1},8,["style"]))}}),aU=tn(iU,[["__scopeId","data-v-c0b89875"]]),lU={key:0,class:"edit-panel"},cU={class:"edit-panel__content"},uU={class:"edit-panel__tools"},fU=["onClick"],dU=rt({__name:"index",setup(e){const{t}=Mr(),{messageListener:n,sendMessageToTop:r}=wo(),{addListener:o}=n(),s=vo(),{params:{instanceUid:i}}=pr(),a=nm("carousel"),l=_e([]),c=_e({entryNameToFile:{},compDep:[]}),u=_e(),f=_e(!1),d=_e(!1),p=_e(!1),h=_e(""),m=Y(()=>[{label:t("comp.miniPanel"),value:be.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:be.COMP_EDIT_TAB_TYPE_FULL}]),b=Y(()=>c.value.compDep.length>0),y=Y(()=>Object.keys(u.value??{}).length>0?u.value?.path.replace(be.FILE_MANAGER_DIRNAME,be.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),_=Y(()=>({dep:c.value.compDep,depToFile:c.value.entryNameToFile,signedUrls:c.value.signedUrls,localCompRootPath:y.value,bg:h.value}));function E(C){return C===be.COMP_EDIT_TAB_TYPE_MINI?sU:aU}function g(C,x){if(!C._id)return;const w={...C,activeTab:x};r(Ce.COMP_EDIT_TAB_TYPE_SET,w,s,i)}function A(C){r(Ce.ACTION_REFRESH,C,s,i)}return o(Ce.COMP_PREVIEW_LIST_SET,C=>{l.value=C}),o(Ce.COMP_RENDER_INFO_SET,C=>{console.log("🚀 ~ data:",C),c.value=C}),o(Ce.SELECTED_FOLDER_SET,C=>{u.value=C}),o(Ce.SHOW_REFRESH_BTN_SET,C=>{f.value=C}),o(Ce.IS_ONLINE_UPDATE_SET,C=>{d.value=C}),o(Ce.IS_ADD_SET,C=>{p.value=C}),o(Ce.CAROUSEL_INDEX_SET,C=>{a.value?.setActiveItem(C)}),o(Ce.BG_COLOR_SET,C=>{h.value=C}),r(Ce.COMP_PREVIEW_LIST_GET,"",s,i),r(Ce.COMP_RENDER_INFO_GET,"",s,i),r(Ce.SELECTED_FOLDER_GET,"",s,i),r(Ce.SHOW_REFRESH_BTN_GET,"",s,i),r(Ce.IS_ONLINE_UPDATE_GET,"",s,i),r(Ce.IS_ADD_GET,"",s,i),r(Ce.CAROUSEL_INDEX_GET,"",s,i),r(Ce.BG_COLOR_GET,"",s,i),(C,x)=>{const w=im("Icon");return b.value?(ge(),je("div",lU,[Ze(Me(O_),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Ir(()=>[(ge(!0),je(it,null,bo(l.value,(O,F)=>(ge(),Pt(Me(I_),{key:F},{default:Ir(()=>[qe("div",cU,[qe("div",uU,[Ze(Me(M$),{options:m.value,"model-value":O.activeTab,onChange:M=>g(O,M)},null,8,["options","model-value","onChange"]),f.value?(ge(),je("span",{key:0,class:"edit-panel__refresh-btn",onClick:M=>A(O)},[Ze(w,{icon:"material-symbols:refresh-rounded"})],8,fU)):cn("",!0)]),(ge(),Pt(Nv,null,[(ge(),Pt(Wv(E(O.activeTab)),io({ref_for:!0},{miniEntryUrl:O.miniEntryUrl,fullEntryUrl:O.fullEntryUrl,..._.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):cn("",!0)}}}),pU=tn(dU,[["__scopeId","data-v-75604ea1"]]),hU=rt({__name:"index",setup(e){const{carouselBind:t}=L_(5,be.COMP_EDIT_TAB_TYPE_FULL),n=Y(()=>({...t.value,panelType:be.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(ge(),Pt(Ca,hs(_o(n.value)),null,16))}}),mU=rt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=R_(5,be.COMP_EDIT_TAB_TYPE_FULL),r=_e(""),o=Y(()=>({...t.value,panelType:be.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,i)=>(ge(),Pt(Ca,io(o.value,{"show-indicator":!0}),null,16))}}),gU={carouselLocal:tU,carouselRemote:nU,editPanel:pU,previewLocal:hU,previewRemote:mU};function yU(){const e=[],t=be.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=gU[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const bU=iO({history:$A(`/${be.WEBSITE_PATH_ITEM}/`),routes:yU()}),_U=o$(be.LOCAL_SERVICE_PREFIX,{baseURL:`/${be.LOCAL_SERVICE_PREFIX}`});_U.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const Nu=nE(c0);eA(Nu);Nu.use(bU);Nu.mount("#app");
|