@nuxt/devtools-nightly 2.6.2-29262790.e0897e3 → 2.6.3-29263722.27f80d0
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/dist/chunks/module-main.mjs +4 -1
- package/dist/client/200.html +23 -23
- package/dist/client/404.html +23 -23
- package/dist/client/_nuxt/__blank-h7gh4972.js +1 -0
- package/dist/client/_nuxt/analyze-build-eaofwqs6.js +1 -0
- package/dist/client/_nuxt/assets-li4rvm9c.js +16 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/2e955c77-8350-48e7-ae84-3f37556746f9.json +1 -0
- package/dist/client/_nuxt/{client-oeqdl4pb.js → client-hkqvtzyx.js} +1 -1
- package/dist/client/_nuxt/code-diff.vue-fg6nyny1.js +8 -0
- package/dist/client/_nuxt/code-snippets.vue-ipuvag1k.js +1 -0
- package/dist/client/_nuxt/components-s0i4nz6i.js +1 -0
- package/dist/client/_nuxt/composable-item.vue-gbbt7qe8.js +1 -0
- package/dist/client/_nuxt/custom-_name_-d6jrpxhp.js +1 -0
- package/dist/client/_nuxt/data-schema-button.vue-bbu4gevd.js +1 -0
- package/dist/client/_nuxt/data-schema-drawer-kqj8jzub.js +2 -0
- package/dist/client/_nuxt/debug-cq9xlqgi.js +1 -0
- package/dist/client/_nuxt/{default-cd1e72op.js → default-c7jjv6zt.js} +1 -1
- package/dist/client/_nuxt/duration-display.vue-l0zz5iex.js +1 -0
- package/dist/client/_nuxt/{entry.css-mloq4mxl.css → entry.css-ebiz9nsw.css} +1 -1
- package/dist/client/_nuxt/error-404-0t3z1j8h.js +1 -0
- package/dist/client/_nuxt/error-404.css-z2gtwy9t.css +1 -0
- package/dist/client/_nuxt/{error-500-j0vg9v2z.js → error-500-ljshxmt4.js} +1 -1
- package/dist/client/_nuxt/error-500.css-liy0brxy.css +1 -0
- package/dist/client/_nuxt/{error-ic0ozysy.js → error-j4fy24bh.js} +5 -5
- package/dist/client/_nuxt/filepath-item.vue-hpcppu31.js +1 -0
- package/dist/client/_nuxt/full-owt5pl3t.js +1 -0
- package/dist/client/_nuxt/help-fab.vue-ig58rbwh.js +1 -0
- package/dist/client/_nuxt/hooks-hx28mu5s.js +1 -0
- package/dist/client/_nuxt/imports-omkymdgh.js +1 -0
- package/dist/client/_nuxt/index-uadsdn3e.js +1 -0
- package/dist/client/_nuxt/launch-page.vue-gbw3zxny.js +1 -0
- package/dist/client/_nuxt/modules-ip19b63u.js +1 -0
- package/dist/client/_nuxt/nbadge-ouy9nnut.js +1 -0
- package/dist/client/_nuxt/ncheckbox.vue-d8axpf9c.js +1 -0
- package/dist/client/_nuxt/ncode-block.vue-j1bpwykw.js +2 -0
- package/dist/client/_nuxt/ndrawer.vue-jzawtilq.js +1 -0
- package/dist/client/_nuxt/ndropdown.vue-f1lydger.js +1 -0
- package/dist/client/_nuxt/nicon-title.vue-mr03t3pg.js +1 -0
- package/dist/client/_nuxt/nlink.vue-lp3vn3wc.js +1 -0
- package/dist/client/_nuxt/nmarkdown.vue-n5lhcplj.js +1 -0
- package/dist/client/_nuxt/nnavbar.vue-i0ef5lnu.js +1 -0
- package/dist/client/_nuxt/none-i2ql0vw5.js +1 -0
- package/dist/client/_nuxt/nsection-block-dh0zlwt7.js +1 -0
- package/dist/client/_nuxt/nselect-tabs.vue-y188tsi8.js +1 -0
- package/dist/client/_nuxt/nselect.vue-ehwgo50w.js +1 -0
- package/dist/client/_nuxt/nswitch.vue-ihk2zmam.js +1 -0
- package/dist/client/_nuxt/odmgfr63.js +15 -0
- package/dist/client/_nuxt/open-graph-hbrfi9uf.js +3 -0
- package/dist/client/_nuxt/overview-liwfgxss.js +1 -0
- package/dist/client/_nuxt/pages-m5a5ne1h.js +1 -0
- package/dist/client/_nuxt/payload-cfcg3mx9.js +1 -0
- package/dist/client/_nuxt/pinia-b14w6pnq.js +1 -0
- package/dist/client/_nuxt/plugins-fiyqxx03.js +1 -0
- package/dist/client/_nuxt/render-tree-nu1ty4hn.js +1 -0
- package/dist/client/_nuxt/runtime-configs-m83wocch.js +1 -0
- package/dist/client/_nuxt/server-discovery-hub44mua.js +1 -0
- package/dist/client/_nuxt/server-route-inputs.vue-imb8tsh1.js +1 -0
- package/dist/client/_nuxt/server-routes-mc7uz8ae.js +9 -0
- package/dist/client/_nuxt/server-tasks-lsedd4hw.js +1 -0
- package/dist/client/_nuxt/settings-n90odpuz.js +1 -0
- package/dist/client/_nuxt/stacktrace-list.vue-npicjfex.js +1 -0
- package/dist/client/_nuxt/{state-components-fmip3o43.js → state-components-hr8hl4ox.js} +1 -1
- package/dist/client/_nuxt/state-editor.vue-o8zm8c0k.js +1 -0
- package/dist/client/_nuxt/state-modules-rzxgoz7b.js +1 -0
- package/dist/client/_nuxt/storage-bwff5wn4.js +1 -0
- package/dist/client/_nuxt/terminals-iputu54o.js +1 -0
- package/dist/client/_nuxt/timeline-mwamimms.js +31 -0
- package/dist/client/_nuxt/{unocss-runtime-cdytntxi.js → unocss-runtime-j2igqy12.js} +1 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-nstwj98r.js +3857 -0
- package/dist/client/_nuxt/vendor/quicktype-core-o057hwfl.js +1007 -0
- package/dist/client/_nuxt/vendor/{shiki-imfwxqoq.js → shiki-jxvjmls6.js} +10 -10
- package/dist/client/_nuxt/vendor/unocss-bo8tyd39.js +3 -0
- package/dist/client/_nuxt/vendor/vis-je6lvt05.js +132 -0
- package/dist/client/_nuxt/vendor/xterm-elw8536o.js +9 -0
- package/dist/client/_nuxt/virtual-files-fmegnkwa.js +1 -0
- package/dist/client/_nuxt/{vue-devtools-e1zi4cxv.js → vue-devtools-of66adw7.js} +1 -1
- package/dist/client/_nuxt/vue-virtual-scroller.esm-kqx3l34g.js +2 -0
- package/dist/client/discovery/index.html +9 -9
- package/dist/client/index.html +23 -23
- package/dist/module.json +3 -3
- package/dist/webcomponents/index.d.mts +2 -1
- package/dist/webcomponents/index.mjs +15 -12
- package/package.json +37 -37
- package/dist/client/_nuxt/__blank-n1wcnoye.js +0 -1
- package/dist/client/_nuxt/analyze-build-fh5wjd0q.js +0 -1
- package/dist/client/_nuxt/assets-bzxr3w72.js +0 -16
- package/dist/client/_nuxt/builds/meta/63896340-9d78-4e9c-84bd-699e1a845f90.json +0 -1
- package/dist/client/_nuxt/code-diff.vue-fiw237cr.js +0 -8
- package/dist/client/_nuxt/code-snippets.vue-j4pkblda.js +0 -1
- package/dist/client/_nuxt/components-j3lttcpl.js +0 -1
- package/dist/client/_nuxt/composable-item.vue-i02l2pm0.js +0 -1
- package/dist/client/_nuxt/custom-_name_-l6ts2roa.js +0 -1
- package/dist/client/_nuxt/data-schema-button.vue-iijut474.js +0 -1
- package/dist/client/_nuxt/data-schema-drawer-lt93lwpm.js +0 -2
- package/dist/client/_nuxt/debug-fwygqk9h.js +0 -1
- package/dist/client/_nuxt/duration-display.vue-mr4ha0rw.js +0 -1
- package/dist/client/_nuxt/error-404-e0s0g25b.js +0 -1
- package/dist/client/_nuxt/error-404.css-kgnrxm6x.css +0 -1
- package/dist/client/_nuxt/error-500.css-bay4acf7.css +0 -1
- package/dist/client/_nuxt/exr9a447.js +0 -15
- package/dist/client/_nuxt/filepath-item.vue-d1242mwo.js +0 -1
- package/dist/client/_nuxt/full-bfioidtn.js +0 -1
- package/dist/client/_nuxt/help-fab.vue-ixaulkxo.js +0 -1
- package/dist/client/_nuxt/hooks-kptnjvf4.js +0 -1
- package/dist/client/_nuxt/imports-dtfxammr.js +0 -1
- package/dist/client/_nuxt/index-j70msn1o.js +0 -1
- package/dist/client/_nuxt/launch-page.vue-l4yiouqj.js +0 -1
- package/dist/client/_nuxt/modules-otw5avhb.js +0 -1
- package/dist/client/_nuxt/nbadge-n6knum9m.js +0 -1
- package/dist/client/_nuxt/ncheckbox.vue-eky8wwbi.js +0 -1
- package/dist/client/_nuxt/ncode-block.vue-ctkw4rc7.js +0 -2
- package/dist/client/_nuxt/ndrawer.vue-eoa1ezod.js +0 -1
- package/dist/client/_nuxt/ndropdown.vue-eqlurxkg.js +0 -1
- package/dist/client/_nuxt/nicon-title.vue-ejocqf9t.js +0 -1
- package/dist/client/_nuxt/nlink.vue-ei9z0suh.js +0 -1
- package/dist/client/_nuxt/nmarkdown.vue-mk2gi3ky.js +0 -1
- package/dist/client/_nuxt/nnavbar.vue-f2sp4ze2.js +0 -1
- package/dist/client/_nuxt/none-kmovzp4i.js +0 -1
- package/dist/client/_nuxt/nsection-block-k7wumoo5.js +0 -1
- package/dist/client/_nuxt/nselect-tabs.vue-nesot227.js +0 -1
- package/dist/client/_nuxt/nselect.vue-gfxwax16.js +0 -1
- package/dist/client/_nuxt/nswitch.vue-bpoo3j7g.js +0 -1
- package/dist/client/_nuxt/open-graph-be6rqypz.js +0 -3
- package/dist/client/_nuxt/overview-jr1m1hiu.js +0 -1
- package/dist/client/_nuxt/pages-h1izipi5.js +0 -1
- package/dist/client/_nuxt/payload-i762mjgr.js +0 -1
- package/dist/client/_nuxt/pinia-gvd7c6wo.js +0 -1
- package/dist/client/_nuxt/plugins-n08ssy4p.js +0 -1
- package/dist/client/_nuxt/render-tree-o669vj2r.js +0 -1
- package/dist/client/_nuxt/runtime-configs-gugrk4qi.js +0 -1
- package/dist/client/_nuxt/server-discovery-nvtt0ywx.js +0 -1
- package/dist/client/_nuxt/server-route-inputs.vue-k1tky4fi.js +0 -1
- package/dist/client/_nuxt/server-routes-cplspg0l.js +0 -9
- package/dist/client/_nuxt/server-tasks-npdtysm9.js +0 -1
- package/dist/client/_nuxt/settings-bcilmyyp.js +0 -1
- package/dist/client/_nuxt/stacktrace-list.vue-nx0wt00p.js +0 -1
- package/dist/client/_nuxt/state-editor.vue-jnq3txny.js +0 -1
- package/dist/client/_nuxt/state-modules-cw76405z.js +0 -1
- package/dist/client/_nuxt/storage-oc19wzm6.js +0 -1
- package/dist/client/_nuxt/terminals-bld5blwh.js +0 -1
- package/dist/client/_nuxt/timeline-lsjuoisa.js +0 -31
- package/dist/client/_nuxt/vendor/json-editor-vue-m9gzt21j.js +0 -3869
- package/dist/client/_nuxt/vendor/quicktype-core-dsrweb93.js +0 -1007
- package/dist/client/_nuxt/vendor/unocss-oyl7opas.js +0 -2
- package/dist/client/_nuxt/vendor/vis-n7jjo36l.js +0 -89
- package/dist/client/_nuxt/vendor/xterm-dbpzgj7s.js +0 -9
- package/dist/client/_nuxt/virtual-files-n7quks4q.js +0 -1
- package/dist/client/_nuxt/vue-virtual-scroller.esm-k5helfir.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as rt}from"./json-editor-vue-m9gzt21j.js";const nt=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,st=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ot=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function it(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){at(e);return}return t}function at(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ct(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!ot.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(nt.test(e)||st.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,it)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const lt=/#/g,ft=/&/g,ut=/\//g,ht=/=/g,pe=/\+/g,dt=/%5e/gi,pt=/%60/gi,mt=/%7c/gi,gt=/%20/gi;function yt(e){return encodeURI(""+e).replace(mt,"|")}function ue(e){return yt(typeof e=="string"?e:JSON.stringify(e)).replace(pe,"%2B").replace(gt,"+").replace(lt,"%23").replace(ft,"%26").replace(pt,"`").replace(dt,"^").replace(ut,"%2F")}function ne(e){return ue(e).replace(ht,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function wt(e){return Q(e.replace(pe," "))}function Ct(e){return Q(e.replace(pe," "))}function bt(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=wt(n[1]);if(s==="__proto__"||s==="constructor")continue;const i=Ct(n[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function vt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${ne(e)}=${ue(r)}`).join("&"):`${ne(e)}=${ue(t)}`:ne(e)}function St(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>vt(t,e[t])).filter(Boolean).join("&")}const Et=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,$t=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,At=/^([/\\]\s*){2,}[^/\\]/,xt=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Ft=/\/$|\/\?|\/#/,_t=/^\.?\//;function me(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Et.test(e):$t.test(e)||(t.acceptRelative?At.test(e):!1)}function an(e){return!!e&&xt.test(e)}function he(e="",t){return t?Ft.test(e):e.endsWith("/")}function K(e="",t){if(!t)return(he(e)?e.slice(0,-1):e)||"/";if(!he(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");s!==-1&&(r=e.slice(0,s),n=e.slice(s));const[i,...u]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(u.length>0?`?${u.join("?")}`:"")+n}function Rt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(he(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");if(s!==-1&&(r=e.slice(0,s),n=e.slice(s),!r))return n;const[i,...u]=r.split("?");return i+"/"+(u.length>0?`?${u.join("?")}`:"")+n}function Ot(e,t){if(De(t)||me(e))return e;const r=K(t);return e.startsWith(r)?e:Tt(r,e)}function cn(e,t){if(De(t))return e;const r=K(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function jt(e,t){const r=Mt(e),n={...bt(r.search),...t};return r.search=St(n),Lt(r)}function De(e){return!e||e==="/"}function kt(e){return e&&e!=="/"}function Tt(e,...t){let r=e||"";for(const n of t.filter(s=>kt(s)))if(r){const s=n.replace(_t,"");r=Rt(r)+s}else r=n;return r}function ln(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let s=0;for(const u of r)if(!(!u||u==="/")){for(const[f,l]of u.split(t).entries())if(!(!l||l===".")){if(l===".."){if(n.length===1&&me(n[0]))continue;n.pop(),s--;continue}if(f===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+l;continue}n.push(l),s++}}let i=n.join("/");return s>=0?r[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:r[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,r[r.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function fn(e,t){return Q(K(e))===Q(K(t))}const ze=Symbol.for("ufo:protocolRelative");function Mt(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,c,h=""]=r;return{protocol:c.toLowerCase(),pathname:h,href:c+h,auth:"",host:"",search:"",hash:""}}if(!me(e,{acceptRelative:!0}))return we(e);const[,n="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",f=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(f=f.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:a,hash:o}=we(f);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:u,pathname:l,search:a,hash:o,[ze]:!n}}function we(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Lt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ze]?(e.protocol||"")+"//":"")+s+i+t+r+n}class It extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Pt(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",s=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",u=`${s}: ${i}${t?` ${t}`:""}`,f=new It(u,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(f,l,{get(){return e[l]}});for(const[l,a]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(f,l,{get(){return e.response&&e.response[a]}});return f}const Nt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ce(e="GET"){return Nt.has(e.toUpperCase())}function Dt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const zt=new Set(["image/svg","application/xml","application/xhtml","application/html"]),qt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return qt.test(t)?"json":zt.has(t)||t.startsWith("text/")?"text":"blob"}function Ut(e,t,r,n){const s=Vt(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:s}}function Vt(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(s,i);return n}async function U(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Wt=new Set([408,409,425,429,500,502,503,504]),Ht=new Set([101,204,205,304]);function qe(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function s(f){const l=f.error&&f.error.name==="AbortError"&&!f.options.timeout||!1;if(f.options.retry!==!1&&!l){let o;typeof f.options.retry=="number"?o=f.options.retry:o=Ce(f.options.method)?0:1;const c=f.response&&f.response.status||500;if(o>0&&(Array.isArray(f.options.retryStatusCodes)?f.options.retryStatusCodes.includes(c):Wt.has(c))){const h=typeof f.options.retryDelay=="function"?f.options.retryDelay(f):f.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),i(f.request,{...f.options,retry:o-1})}}const a=Pt(f);throw Error.captureStackTrace&&Error.captureStackTrace(a,i),a}const i=async function(l,a={}){const o={request:l,options:Ut(l,a,e.defaults,r),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await U(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Ot(o.request,o.options.baseURL)),o.options.query&&(o.request=jt(o.request,o.options.query),delete o.options.query),"query"in o.options&&delete o.options.query,"params"in o.options&&delete o.options.params),o.options.body&&Ce(o.options.method)&&(Dt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let c;if(!o.options.signal&&o.options.timeout){const d=new n;c=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,d.abort(g)},o.options.timeout),o.options.signal=d.signal}try{o.response=await t(o.request,o.options)}catch(d){return o.error=d,o.options.onRequestError&&await U(o,o.options.onRequestError),await s(o)}finally{c&&clearTimeout(c)}if((o.response.body||o.response._bodyInit)&&!Ht.has(o.response.status)&&o.options.method!=="HEAD"){const d=(o.options.parseResponse?"json":o.options.responseType)||Bt(o.response.headers.get("content-type")||"");switch(d){case"json":{const g=await o.response.text(),y=o.options.parseResponse||ct;o.response._data=y(g);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[d]()}}return o.options.onResponse&&await U(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await U(o,o.options.onResponseError),await s(o)):o.response},u=async function(l,a){return(await i(l,a))._data};return u.raw=i,u.native=(...f)=>t(...f),u.create=(f={},l={})=>qe({...e,...l,defaults:{...e.defaults,...l.defaults,...f}}),u}const Y=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Gt=Y.fetch?(...e)=>Y.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Jt=Y.Headers,Qt=Y.AbortController,Kt=qe({fetch:Gt,Headers:Jt,AbortController:Qt}),Yt=Kt,Xt=Object.freeze({left:0,top:0,width:16,height:16}),X=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Be=Object.freeze({...Xt,...X}),Zt=Object.freeze({...Be,body:"",hidden:!1}),er=Object.freeze({width:null,height:null}),Ue=Object.freeze({...er,...X});function tr(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function be(e,t){const r=tr(e,t);for(const n in Zt)n in X?n in e&&!(n in r)&&(r[n]=X[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function rr(e,t){const r=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);function i(u){if(r[u])return s[u]=[];if(!(u in s)){s[u]=null;const f=n[u]&&n[u].parent,l=f&&i(f);l&&(s[u]=[f].concat(l))}return s[u]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function ve(e,t,r){const n=e.icons,s=e.aliases||Object.create(null);let i={};function u(f){i=be(n[f]||s[f],i)}return u(t),r.forEach(u),be(e,i)}function nr(e,t){if(e.icons[t])return ve(e,t,[]);const r=rr(e,[t])[t];return r?ve(e,t,r):null}const sr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,or=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(sr);if(n===null||!n.length)return e;const s=[];let i=n.shift(),u=or.test(i);for(;;){if(u){const f=parseFloat(i);isNaN(f)?s.push(i):s.push(Math.ceil(f*t*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");u=!u}}function ir(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const s=e.indexOf(">",n),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const u=e.indexOf(">",i);if(u===-1)break;r+=e.slice(s+1,i).trim(),e=e.slice(0,n).trim()+e.slice(u+1)}return{defs:r,content:e}}function ar(e,t){return e?"<defs>"+e+"</defs>"+t:t}function cr(e,t,r){const n=ir(e);return ar(n.defs,t+n.content+r)}const ge=e=>e==="unset"||e==="undefined"||e==="none";function lr(e,t){const r={...Be,...e},n={...Ue,...t},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(y=>{const p=[],S=y.hFlip,b=y.vFlip;let w=y.rotate;S?b?w+=2:(p.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),p.push("scale(-1 1)"),s.top=s.left=0):b&&(p.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),p.push("scale(1 -1)"),s.top=s.left=0);let E;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:E=s.height/2+s.top,p.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:p.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:E=s.width/2+s.left,p.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}w%2===1&&(s.left!==s.top&&(E=s.left,s.left=s.top,s.top=E),s.width!==s.height&&(E=s.width,s.width=s.height,s.height=E)),p.length&&(i=cr(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const u=n.width,f=n.height,l=s.width,a=s.height;let o,c;u===null?(c=f===null?"1em":f==="auto"?a:f,o=Z(c,l/a)):(o=u==="auto"?l:u,c=f===null?Z(o,a/l):f==="auto"?a:f);const h={},d=(y,p)=>{ge(p)||(h[y]=p.toString())};d("width",o),d("height",c);const g=[s.left,s.top,l,a];return h.viewBox=g.join(" "),{attributes:h,viewBox:g,body:i}}function fr(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Se(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),fr(t)}function ur(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const hr=/\swidth\s*=\s*["']([\w.]+)["']/,dr=/\sheight\s*=\s*["']([\w.]+)["']/,se=/<svg\s+/;function pr(e,t,r){const n=e.slice(0,e.indexOf(">")),s=(i,u)=>{const f=u.exec(n),l=f!=null,a=t[i];return!a&&!ge(a)&&(typeof r=="number"?r>0&&(t[i]=Z(f?.[1]??"1em",r)):f&&(t[i]=f[1])),l};return[s("width",hr),s("height",dr)]}async function Ve(e,t,r,n,s,i){const{scale:u,addXmlNs:f=!1}=n??{},{additionalProps:l={},iconCustomizer:a}=n?.customizations??{},o=await s?.()??{};await a?.(t,r,o),Object.keys(l).forEach(y=>{const p=l[y];p!=null&&(o[y]=p)}),i?.(o);const[c,h]=pr(e,o,u);f&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(o).map(y=>y==="width"&&c||y==="height"&&h?null:`${y}="${o[y]}"`).filter(y=>y!=null);if(d.length&&(e=e.replace(se,`<svg ${d.join(" ")} `)),n){const{defaultStyle:y,defaultClass:p}=n;p&&!e.includes("class=")&&(e=e.replace(se,`<svg class="${p}" `)),y&&!e.includes("style=")&&(e=e.replace(se,`<svg style="${y}" `))}const g=n?.usedProps;return g&&(Object.keys(l).forEach(y=>{const p=o[y];p!=null&&(g[y]=p)}),typeof o.width<"u"&&o.width!==null&&(g.width=o.width),typeof o.height<"u"&&o.height!==null&&(g.height=o.height)),e}var V={exports:{}},oe,Ee;function mr(){if(Ee)return oe;Ee=1;var e=1e3,t=e*60,r=t*60,n=r*24,s=n*7,i=n*365.25;oe=function(o,c){c=c||{};var h=typeof o;if(h==="string"&&o.length>0)return u(o);if(h==="number"&&isFinite(o))return c.long?l(o):f(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function u(o){if(o=String(o),!(o.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(c){var h=parseFloat(c[1]),d=(c[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return h*i;case"weeks":case"week":case"w":return h*s;case"days":case"day":case"d":return h*n;case"hours":case"hour":case"hrs":case"hr":case"h":return h*r;case"minutes":case"minute":case"mins":case"min":case"m":return h*t;case"seconds":case"second":case"secs":case"sec":case"s":return h*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function f(o){var c=Math.abs(o);return c>=n?Math.round(o/n)+"d":c>=r?Math.round(o/r)+"h":c>=t?Math.round(o/t)+"m":c>=e?Math.round(o/e)+"s":o+"ms"}function l(o){var c=Math.abs(o);return c>=n?a(o,c,n,"day"):c>=r?a(o,c,r,"hour"):c>=t?a(o,c,t,"minute"):c>=e?a(o,c,e,"second"):o+" ms"}function a(o,c,h,d){var g=c>=h*1.5;return Math.round(o/h)+" "+d+(g?"s":"")}return oe}var ie,$e;function gr(){if($e)return ie;$e=1;function e(t){n.debug=n,n.default=n,n.coerce=a,n.disable=f,n.enable=i,n.enabled=l,n.humanize=mr(),n.destroy=o,Object.keys(t).forEach(c=>{n[c]=t[c]}),n.names=[],n.skips=[],n.formatters={};function r(c){let h=0;for(let d=0;d<c.length;d++)h=(h<<5)-h+c.charCodeAt(d),h|=0;return n.colors[Math.abs(h)%n.colors.length]}n.selectColor=r;function n(c){let h,d=null,g,y;function p(...S){if(!p.enabled)return;const b=p,w=Number(new Date),E=w-(h||w);b.diff=E,b.prev=h,b.curr=w,h=w,S[0]=n.coerce(S[0]),typeof S[0]!="string"&&S.unshift("%O");let m=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";m++;const A=n.formatters[v];if(typeof A=="function"){const T=S[m];C=A.call(b,T),S.splice(m,1),m--}return C}),n.formatArgs.call(b,S),(b.log||n.log).apply(b,S)}return p.namespace=c,p.useColors=n.useColors(),p.color=n.selectColor(c),p.extend=s,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(g!==n.namespaces&&(g=n.namespaces,y=n.enabled(c)),y),set:S=>{d=S}}),typeof n.init=="function"&&n.init(p),p}function s(c,h){const d=n(this.namespace+(typeof h>"u"?":":h)+c);return d.log=this.log,d}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];const h=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const d of h)d[0]==="-"?n.skips.push(d.slice(1)):n.names.push(d)}function u(c,h){let d=0,g=0,y=-1,p=0;for(;d<c.length;)if(g<h.length&&(h[g]===c[d]||h[g]==="*"))h[g]==="*"?(y=g,p=d,g++):(d++,g++);else if(y!==-1)g=y+1,p++,d=p;else return!1;for(;g<h.length&&h[g]==="*";)g++;return g===h.length}function f(){const c=[...n.names,...n.skips.map(h=>"-"+h)].join(",");return n.enable(""),c}function l(c){for(const h of n.skips)if(u(c,h))return!1;for(const h of n.names)if(u(c,h))return!0;return!1}function a(c){return c instanceof Error?c.stack||c.message:c}function o(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return ie=e,ie}var Ae;function yr(){return Ae||(Ae=1,function(e,t){var r={};t.formatArgs=s,t.save=i,t.load=u,t.useColors=n,t.storage=f(),t.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;a.splice(1,0,o,"color: inherit");let c=0,h=0;a[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(c++,d==="%c"&&(h=c))}),a.splice(h,0,o)}t.log=console.debug||console.log||(()=>{});function i(a){try{a?t.storage.setItem("debug",a):t.storage.removeItem("debug")}catch{}}function u(){let a;try{a=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=r.DEBUG),a}function f(){try{return localStorage}catch{}}e.exports=gr()(t);const{formatters:l}=e.exports;l.j=function(a){try{return JSON.stringify(a)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}}(V,V.exports)),V.exports}var wr=yr();const We=rt(wr),Cr=We("@iconify-loader:custom");async function xe(e,t,r,n){let s;Cr(`${t}:${r}`);try{if(typeof e=="function")s=await e(r);else{const i=e[r];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:u}=n?.customizations??{};return s=typeof u=="function"?await u(s,t,r):s,s.startsWith("<svg")?await Ve(n?.customizations?.trimCustomSvg===!0?ur(s):s,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),s)}}const br=We("@iconify-loader:icon");async function He(e,t,r,n){let s;const{customize:i}=n?.customizations??{};for(const u of r)if(s=nr(e,u),s){br(`${t}:${u}`);let f={...Ue};typeof i=="function"&&(s=Object.assign({},s),f=i(f,s,`${t}:${u}`)??f);const{attributes:{width:l,height:a,...o},body:c}=lr(s,f),h=n?.scale;return await Ve(`<svg >${c}</svg>`,t,u,n,()=>({...o}),d=>{const g=(y,p)=>{const S=d[y];let b;if(!ge(S)){if(S)return;typeof h=="number"?h&&(b=Z(p??"1em",h)):b=p}b?d[y]=b:delete d[y]};g("width",l),g("height",a)})}}const Ge=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let s;try{s=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(s){if(typeof s=="string")return await xe(()=>s,e,t,r);if("icons"in s){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await He(s,e,i,r)}}}else return await xe(n,e,t,r)},G="default",de="preflights",vr="shortcuts",Sr="imports",Er={[Sr]:-200,[de]:-100,[vr]:-10,[G]:0},$r=/[\\:]?[\s'"`;{}]+/g;function Ar(e){return e.split($r)}const xr={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Ar(e)}};function k(e=[]){return Array.isArray(e)?e:[e]}function D(e){return Array.from(new Set(e))}function Fe(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function j(e){return typeof e=="string"}class Je extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function ae(e){return e instanceof Je}function Fr(e){const t=e.length;let r=-1,n,s="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){s+="�";continue}if(n===37){s+="\\%";continue}if(n===44){s+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){s+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){s+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=e.charAt(r);continue}s+=`\\${e.charAt(r)}`}return s}const ce=Fr;function _r(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function Rr(e){return typeof e=="function"?{match:e}:e}function _e(e){return e.length===3}function le(e){return e!=null}function Or(){}class jr{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(r)||s.set(r,n),s.get(r)}set(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,i])=>t(i,r,s)))}}class kr extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,s)=>{r.push(t(n,s))}),r}flatMap(t){const r=[];return this.forEach((n,s)=>{r.push(...t(n,s))}),r}}function ee(e){return j(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Tr(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>ee(t)):[e]:[ee(e)]}function Mr(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(e[s][0]===t&&e[s][1]===r)return!1;return!0})}function fe(e){return e==null?"":Mr(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function W(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Qe(e,t,r=!1){const n=e,s=t;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const i={...n};return W(n)&&W(s)&&Object.keys(s).forEach(u=>{W(n[u])&&W(s[u])||Array.isArray(n[u])&&Array.isArray(s[u])?i[u]=Qe(n[u],s[u],r):Object.assign(i,{[u]:s[u]})}),i}function J(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:J(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}return e}function Lr(e){return j(e[0])}function Ir(e){return j(e[0])}const H={};function Pr(e=["-",":"]){const t=e.join("|");return H[t]||(H[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),H[t].lastIndex=0,H[t]}function Nr(e,t=["-",":"],r=5){const n=Pr(t);let s,i=e.toString();const u=new Set,f=new Map;do s=!1,i=i.replace(n,(a,o,c,h,d)=>{if(!t.includes(c))return a;s=!0,u.add(o+c);const g=d+o.length+c.length+1,y={length:a.length,items:[]};f.set(d,y);for(const p of[...h.matchAll(/\S+/g)]){const S=g+p.index;let b=f.get(S)?.items;b?f.delete(S):b=[{offset:S,length:p[0].length,className:p[0]}];for(const w of b)w.className=w.className==="~"?o:w.className.replace(/^(!?)(.*)/,`$1${o}${c}$2`),y.items.push(w)}return"$".repeat(a.length)}),r-=1;while(s&&r);let l;if(typeof e=="string"){l="";let a=0;for(const[o,c]of f)l+=e.slice(a,o),l+=c.items.map(h=>h.className).join(" "),a=o+c.length;l+=e.slice(a)}else{l=e;for(const[a,o]of f)l.overwrite(a,a+o.length,o.items.map(c=>c.className).join(" "))}return{prefixes:Array.from(u),hasChanged:s,groupsByOffset:f,get expanded(){return l.toString()}}}function Dr(e,t=["-",":"],r=5){const n=Nr(e,t,r);return typeof e=="string"?n.expanded:e}const Re=new Set;function Ke(e){Re.has(e)||(console.warn("[unocss]",e),Re.add(e))}function Ye(e){return k(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const Oe="_uno_resolved";async function zr(e){let t=typeof e=="function"?await e():await e;if(Oe in t)return t;t={...t},Object.defineProperty(t,Oe,{value:!0,enumerable:!1});const r=t.shortcuts?Ye(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=s=>{s[2]||(s[2]={});const i=s[2];i.prefix==null&&t.prefix&&(i.prefix=k(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function Xe(e){const t=await zr(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(k).flatMap(Xe))).flat();return[t,...r]}function qr(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const s=[],i=[],u=[];for(const l of e){if(l.pipeline===!1){n=!0;break}else l.pipeline?.include&&t.push(l.pipeline.include),l.pipeline?.exclude&&r.push(l.pipeline.exclude);l.filesystem&&s.push(l.filesystem),l.inline&&i.push(l.inline),l.plain&&u.push(l.plain)}const f={pipeline:n?!1:{include:D(ke(...t)),exclude:D(ke(...r))}};return s.length&&(f.filesystem=D(s.flat())),i.length&&(f.inline=D(i.flat())),u.length&&(f.plain=D(u.flat())),f}async function je(e={},t={}){const r=Object.assign({},t,e),n=Fe((await Promise.all((r.presets||[]).flatMap(k).flatMap(Xe))).flat(),(m,x)=>m.name===x.name),s=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],i=[...s,r],u=[...i].reverse(),f=Object.assign({},Er,...i.map(m=>m.layers));function l(m){return D(i.flatMap(x=>k(x[m]||[])))}const a=l("extractors");let o=u.find(m=>m.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=xr),o&&!a.includes(o)&&a.unshift(o),a.sort((m,x)=>(m.order||0)-(x.order||0));const c=l("rules"),h={},d=c.length,g=c.filter(m=>Lr(m)?(k(m[2]?.prefix||"").forEach(C=>{h[C+m[0]]=m}),!1):!0).reverse(),y={templates:D(i.flatMap(m=>k(m.autocomplete?.templates))),extractors:i.flatMap(m=>k(m.autocomplete?.extractors)).sort((m,x)=>(m.order||0)-(x.order||0)),shorthands:Ur(i.map(m=>m.autocomplete?.shorthands||{}))};let p=l("separators");p.length||(p=[":","-"]);const S=l("content"),b=qr(S),w={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:l("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:f,theme:Br(i.map(m=>m.theme)),rules:c,rulesSize:d,rulesDynamic:g,rulesStaticMap:h,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:y,variants:l("variants").map(Rr).sort((m,x)=>(m.order||0)-(x.order||0)),shortcuts:Ye(l("shortcuts")).reverse(),extractors:a,safelist:l("safelist"),separators:p,details:r.details??r.envMode==="dev",content:b,transformers:Fe(l("transformers"),(m,x)=>m.name===x.name)},E=l("extendTheme");for(const m of E)w.theme=m(w.theme,w)||w.theme;for(const m of i)m?.configResolved?.(w);return w}function Br(e){return e.map(t=>t?J(t):{}).reduce((t,r)=>Qe(t,r),{})}function Ur(e){return e.reduce((t,r)=>{const n={};for(const s in r){const i=r[s];Array.isArray(i)?n[s]=`(${i.join("|")})`:n[s]=i}return{...t,...n}},{})}function ke(...e){return e.flatMap(Vr)}function Vr(e){return Array.isArray(e)?e:e?[e]:[]}const Wr="66.3.2",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class ye{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=Wr;events=_r();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new ye(t,r);return n.config=await je(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await je(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const s={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const u=await i.extract?.(s);if(u)if(ae(u)&&ae(n))for(const f of u)n.setCount(f,n.getCount(f)+u.getCount(f));else for(const f of u)n.add(f)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:z,variantHandlers:r[2],constructCSS:(...s)=>this.constructCustomCSS(n,...s),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const s=this.config.preprocess.reduce((l,a)=>a(l)??l,t);if(this.isBlocked(s)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,s);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(n,null);return}const u=async l=>{const a=this.makeContext(t,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(a.variants=[...l[3]]);const o=await this.expandShortcut(a.currentSelector,a);return o?await this.stringifyShortcuts(a.variantMatch,a,o[0],o[1]):(await this.parseUtil(a.variantMatch,a))?.map(h=>this.stringifyUtil(h,a)).filter(le)},f=(await Promise.all(i.map(l=>u(l)))).flat().filter(l=>!!l);if(f?.length)return this.cache.set(n,f),f;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:s,preflights:i=!0,safelist:u=!0,minify:f=!1,extendedInfo:l=!1}=r,a=j(t)?await this.applyExtractors(t,n,l?new Je:new Set):Array.isArray(t)?new Set(t):t;if(u){const C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(C):v).forEach(v=>{const A=v.trim();A&&!a.has(A)&&a.add(A)})}const o=f?"":`
|
|
2
|
-
`,c=new Set([G]),h=l?new Map:new Set,d=new Map;let g={};const y=Array.from(a).map(async C=>{if(h.has(C))return;const v=await this.parseToken(C);if(v!=null){h instanceof Map?h.set(C,{data:v,count:ae(a)?a.getCount(C):-1}):h.add(C);for(const A of v){const T=A[3]||"",L=A[4]?.layer;d.has(T)||d.set(T,[]),d.get(T).push(A),L&&c.add(L)}}});await Promise.all(y),await(async()=>{if(!i)return;const C={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=de})=>{c.add(A),v.add(A)}),g=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const L=(await Promise.all(this.config.preflights.filter(I=>(I.layer||de)===A).map(async I=>await I.getCSS(C)))).filter(Boolean).join(o);return[A,L]})))})();const p=this.config.sortLayers(Array.from(c).sort((C,v)=>(this.config.layers[C]??0)-(this.config.layers[v]??0)||C.localeCompare(v))),S={},b=this.config.outputToCssLayers,w=C=>{let v=C;return typeof b=="object"&&(v=b.cssLayerName?.(C)),v===null?null:v??C},E=(C=G)=>{if(S[C])return S[C];let v=Array.from(d).sort((L,I)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(I[0])??0)||L[0]?.localeCompare(I[0]||"")||0).map(([L,I])=>{const $=I.length,F=I.filter(R=>(R[4]?.layer||G)===C).sort((R,P)=>R[0]-P[0]||(R[4]?.sort||0)-(P[4]?.sort||0)||R[5]?.currentSelector?.localeCompare(P[5]?.currentSelector??"")||R[1]?.localeCompare(P[1]||"")||R[2]?.localeCompare(P[2]||"")||0).map(([,R,P,,B,,te])=>[[[(R&&Jr(R,s))??"",B?.sort??0]],P,!!(te??B?.noMerge)]);if(!F.length)return;const _=F.reverse().map(([R,P,B],te)=>{if(!B&&this.config.mergeSelectors)for(let q=te+1;q<$;q++){const N=F[q];if(N&&!N[2]&&(R&&N[0]||R==null&&N[0]==null)&&N[1]===P)return R&&N[0]&&N[0].push(...R),null}const re=R?D(R.sort((q,N)=>q[1]-N[1]||q[0]?.localeCompare(N[0]||"")||0).map(q=>q[0]).filter(Boolean)):[];return re.length?`${re.join(`,${o}`)}{${P}}`:P}).filter(Boolean),O=Array.from(new Set(_)).reverse().join(o);if(!L)return O;const M=L.split(" $$ ");return`${M.join("{")}{${o}${O}${o}${"}".repeat(M.length)}`}).filter(Boolean).join(o);i&&(v=[g[C],v].filter(Boolean).join(o));let A;b&&v&&(A=w(C),A!==null&&(v=`@layer ${A}{${o}${v}${o}}`));const T=f?"":`/* layer: ${C}${A&&A!==C?`, alias: ${A}`:""} */${o}`;return S[C]=v?T+v:""},m=(C=p,v)=>{const A=C.filter(T=>!v?.includes(T));return[b&&A.length>0?`@layer ${A.map(w).filter(le).join(", ")};`:void 0,...A.map(T=>E(T)||"")].filter(Boolean).join(o)};return{get css(){return m()},layers:p,matched:h,getLayers:m,getLayer:E,setLayer:async(C,v)=>{const A=await v(E(C));return S[C]=A,A}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let u=!0;const[,,f,l]=i;for(;u;){u=!1;const a=i[1];for(const o of this.config.variants){if(!o.multiPass&&l.has(o))continue;let c=await o.match(a,n);if(c){if(j(c)){if(c===a)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const h=c.map(d=>{const g=d.matcher??a,y=[d,...f],p=new Set(l);return p.add(o),[i[0],g,y,p]});return(await Promise.all(h.map(d=>s(d)))).flat()}}i[1]=c.matcher??a,f.unshift(c),l.add(o),u=!0;break}}if(!u)break;if(f.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await s([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((a,o)=>(a.order||0)-(o.order||0)).reduceRight((a,o)=>c=>{const h=o.body?.(c.entries)||c.entries,d=Array.isArray(o.parent)?o.parent:[o.parent,void 0],g=o.selector?.(c.selector,h);return(o.handle??Kr)({...c,entries:h,selector:g||c.selector,parent:d[0]||c.parent,parentOrder:d[1]||c.parentOrder,layer:o.layer||c.layer,sort:o.sort||c.sort},a)},a=>a)({prefix:"",selector:Qr(n),pseudo:"",entries:t[2]}),{parent:u,parentOrder:f}=i;u!=null&&f!=null&&this.parentOrders.set(u,f);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:u,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const a of this.config.postprocess)a(l);return l}constructCustomCSS(t,r,n){const s=ee(r);if(j(s))return s;const{selector:i,entries:u,parent:f}=this.applyVariants([0,n||t.rawSelector,s,void 0,t.variantHandlers]),l=`${i}{${fe(u)}}`;return f?`${f}{${l}}`:l}async parseUtil(t,r,n=!1,s){const i=j(t)?await this.matchVariants(t):[t],u=async([l,a,o])=>{this.config.details&&(r.rules=r.rules??[]);const c={...r,variantHandlers:o},h=this.config.rulesStaticMap[a];if(h&&h[1]&&(n||!h[2]?.internal))return this.resolveCSSResult(l,h[1],h,c);for(const d of this.config.rulesDynamic){const[g,y,p]=d;if(p?.internal&&!n)continue;let S=a;if(p?.prefix){const m=k(p.prefix);if(s){const x=k(s);if(!m.some(C=>x.includes(C)))continue}else{const x=m.find(C=>a.startsWith(C));if(x==null)continue;S=a.slice(x.length)}}const b=S.match(g);if(!b)continue;let w=await y(b,c);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){const m=[];for await(const x of w)x&&m.push(x);w=m}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(le));const E=this.resolveCSSResult(l,w,d,c);if(E)return E}},f=(await Promise.all(i.map(l=>u(l)))).flat().filter(l=>!!l);if(f.length)return f}resolveCSSResult=(t,r,n,s)=>{const i=Tr(r).filter(u=>u.length);if(i.length){this.config.details&&s.rules.push(n),s.generator.activatedRules.add(n);const u=s.generator.config.rules.indexOf(n),f=n[2];return i.map(l=>{if(j(l))return[u,l,f];let a=s.variantHandlers,o=f;for(const c of l)c[0]===z.variants?typeof c[1]=="function"?a=c[1](a)||a:a=[...k(c[1]),...a]:c[0]===z.parent?a=[{parent:c[1]},...a]:c[0]===z.selector?a=[{selector:c[1]},...a]:c[0]===z.layer?a=[{layer:c[1]},...a]:c[0]===z.sort?o={...o,sort:c[1]}:c[0]===z.noMerge&&(o={...o,noMerge:c[1]});return[u,t,l,o,a]})}};stringifyUtil(t,r){if(!t)return;if(_e(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:i,layer:u,sort:f,noMerge:l}=this.applyVariants(t),a=fe(s);if(!a)return;const{layer:o,sort:c,...h}=t[3]??{},d={...h,layer:u??o,sort:f??c};return[t[0],n,a,i,d,this.config.details?r:void 0,l]}async expandShortcut(t,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:Or;let i,u,f,l;for(const a of this.config.shortcuts){let o=t;if(a[2]?.prefix){const h=k(a[2].prefix).find(d=>t.startsWith(d));if(h==null)continue;o=t.slice(h.length)}if(Ir(a)){if(a[0]===o){i=i||a[2],u=a[1],s(a);break}}else{const c=o.match(a[0]);if(c&&(u=a[1](c,r)),u){i=i||a[2],s(a);break}}}if(u&&(f=D(k(u).filter(j).map(a=>Dr(a.trim()).split(/\s+/g)).flat()),l=k(u).filter(a=>!j(a)).map(a=>({handles:[],value:a}))),!u){const a=j(t)?await this.matchVariants(t):[t];for(const o of a){const[c,h,d]=o;if(c!==h){const g=await this.expandShortcut(h,r,n-1);g&&(f=g[0].filter(j).map(y=>c.replace(h,y)),l=g[0].filter(y=>!j(y)).map(y=>({handles:[...y.handles,...d],value:y.value})))}}}if(!(!f?.length&&!l?.length))return[[await Promise.all(k(f).map(async a=>(await this.expandShortcut(a,r,n-1))?.[0]||[a])),l].flat(2).filter(a=>!!a),i]}async stringifyShortcuts(t,r,n,s={layer:this.config.shortcutsLayer}){const i=new kr,u=(await Promise.all(D(n).map(async o=>{const c=j(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ee(o.value),void 0,o.handles]];return!c&&this.config.warn&&Ke(`unmatched utility "${o}" in shortcut "${t[1]}"`),c||[]}))).flat(1).filter(Boolean).sort((o,c)=>o[0]-c[0]),[f,,l]=t,a=[];for(const o of u){if(_e(o)){a.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:c,entries:h,parent:d,sort:g,noMerge:y,layer:p}=this.applyVariants(o,[...o[4],...l],f);i.getFallback(p??s.layer,new jr).getFallback(c,d,[[],o[0]])[0].push([h,!!(y??o[3]?.noMerge),g??0])}return a.concat(i.flatMap((o,c)=>o.map(([h,d],g,y)=>{const p=(b,w,E)=>{const m=Math.max(...E.map(C=>C[1])),x=E.map(C=>C[0]);return(b?[x.flat(1)]:x).map(C=>{const v=fe(C);if(v)return[d,g,v,y,{...s,noMerge:w,sort:m,layer:c},r,void 0]})};return[[h.filter(([,b])=>b).map(([b,,w])=>[b,w]),!0],[h.filter(([,b])=>!b).map(([b,,w])=>[b,w]),!1]].map(([b,w])=>[...p(!1,w,b.filter(([E])=>E.some(m=>m[0]===z.shortcutsNoMerge))),...p(!0,w,b.filter(([E])=>E.every(m=>m[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):j(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(t):j(s)?s===t:s.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Hr(e,t){return await ye.create(e,t)}const Ze=/\s\$\$\s+/g;function Gr(e){return Ze.test(e)}function Jr(e,t){return Gr(e)?e.replace(Ze,t?` ${t} `:" "):t?`${t} ${e}`:e}const Te=/^\[(.+?)(~?=)"(.*)"\]$/;function Qr(e){return Te.test(e)?e.replace(Te,(t,r,n,s)=>`[${ce(r)}${n}"${ce(s)}"]`):`.${ce(e)}`}function Kr(e,t){return t(e)}var Me={};const et=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],Yr=3;function Xr(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:u,collections:f,extraProperties:l={},customizations:a={},autoInstall:o=!1,collectionsNodeResolvePath:c,layer:h="icons",unit:d,processor:g}=t,y=Zr(),p={addXmlNs:!0,scale:r,customCollections:f,autoInstall:o,cwd:c,warn:void 0,customizations:{...a,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(b,w,E){await a.iconCustomizer?.(b,w,E),d&&(E.width||(E.width=`${r}${d}`),E.height||(E.height=`${r}${d}`))}}};let S;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Se,parseIconWithLoader:Le},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[w,E,m=n]=b;S=S||await e(t);const x={},C=await Le(E,S,{...p,usedProps:x},u);if(!C){i&&!y.isESLint&&Ke(`failed to load icon "${w}"`);return}let v;const A=`url("data:image/svg+xml;utf8,${Se(C.svg)}")`;return m==="auto"&&(m=C.svg.includes("currentColor")?"mask":"bg"),m==="mask"?v={"--un-icon":A,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...x}:v={background:`${A} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...x},g?.(v,{...C,icon:C.name,mode:m}),v},{layer:h,prefix:s}]]}}}function tt(e,t,r=new Map){function n(s){if(et.includes(s))return r.has(s)||r.set(s,e(`${t}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,u)=>{let f=await Ge(s,i,u);if(f)return f;const l=await n(s);if(l){const a=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];f=await He(l,s,a,u)}return f}}function Zr(){const e=typeof process<"u"&&process.stdout,t=e&&!!Me.VSCODE_CWD,r=e&&!!Me.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function Le(e,t,r={},n=[]){let s="",i="",u;const f=new Set([...et,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!f.has(s))return;u=await t(s,i,r)}else{const l=e.split(/-/g);for(let a=Yr;a>=1&&(s=l.slice(0,a).join("-"),!(!!f.has(s)&&(i=l.slice(a).join("-"),u=await t(s,i,r),u)));a--);}if(u)return{collection:s,name:i,svg:u}}function en(e){return tt(Yt,e)}const un=Xr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?tt(t,r):r?en(r):Ge});function tn(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Pe(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ne=["Webkit","Moz","ms"];function rn(e){const t={};function r(n){const s=t[n];if(s)return s;let i=tn(n);if(i!=="filter"&&i in e)return t[n]=Pe(i);i=Ie(i);for(let u=0;u<Ne.length;u++){const f=`${Ne[u]}${i}`;if(f in e)return t[n]=Pe(Ie(f))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function nn(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function hn(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,s=t.__unocss||{},i=Object.assign({},e,s.runtime),u=i.defaults||{},f=i.cloakAttribute??"un-cloak";i.autoPrefix&&(u.postprocess=k(u.postprocess)).unshift(rn(r.createElement("div").style)),i.configResolved?.(s,u);const l=await Hr(s,u),a=$=>i.inject?i.inject($):n().prepend($),o=()=>i.rootElement?i.rootElement():r.body,c=new Map;let h=!0;const d=new Set;let g,y,p=[];const S=()=>new Promise($=>{p.push($),y!=null&&clearTimeout(y),y=setTimeout(()=>E().then(()=>{const F=p;p=[],F.forEach(_=>_())}),0)});function b($,F=!1){if($.nodeType!==1)return;const _=$;_.hasAttribute(f)&&_.removeAttribute(f),F&&_.querySelectorAll(`[${f}]`).forEach(O=>{O.removeAttribute(f)})}function w($,F){let _=c.get($);if(!_)if(_=r.createElement("style"),_.setAttribute("data-unocss-runtime-layer",$),c.set($,_),F==null)a(_);else{const O=w(F),M=O.parentNode;M?M.insertBefore(_,O.nextSibling):a(_)}return _}async function E(){const $=[...d],F=await l.generate($);return F.layers.reduce((O,M)=>(w(M,O).innerHTML=F.getLayer(M)??"",M),void 0),$.filter(O=>!F.matched.has(O)).forEach(O=>d.delete(O)),{...F,getStyleElement:O=>c.get(O),getStyleElements:()=>c}}async function m($){const F=d.size;await l.applyExtractors($,void 0,d),F!==d.size&&await S()}async function x($=o()){const F=$&&$.outerHTML;F&&(await m(`${F} ${nn(F)}`),b(n()),b($,!0))}const C=new MutationObserver($=>{h||$.forEach(async F=>{if(F.target.nodeType!==1)return;const _=F.target;for(const O of c)if(_===O[1])return;if(F.type==="childList")F.addedNodes.forEach(async O=>{if(O.nodeType!==1)return;const M=O;g&&!g(M)||(await m(M.outerHTML),b(M))});else{if(g&&!g(_))return;if(F.attributeName!==f){const O=Array.from(_.attributes).map(R=>R.value?`${R.name}="${R.value}"`:R.name).join(" "),M=`<${_.tagName.toLowerCase()} ${O}>`;await m(M)}b(_)}})});let v=!1;function A(){if(v)return;const $=i.observer?.target?i.observer.target():o();$&&(C.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),v=!0)}function T(){i.bypassDefined&&sn(l.blocked),x(),A()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",T):T()}const I=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract($){j($)||($.forEach(F=>d.add(F)),$=""),await m($)},extractAll:x,inspect($){g=$},toggleObserver($){$===void 0?h=!h:h=!!$,!v&&!h&&L()},update:E,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(h=!1,L())}function sn(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(s=>s.selectorText?.split(/,/g)||[]).forEach(s=>{s&&(s=s.trim(),s.startsWith(".")&&(s=s.slice(1)),e.add(s))})}catch{continue}}return e}export{Yt as $,bt as a,K as b,Tt as c,ct as d,cn as e,fn as f,Rt as g,me as h,an as i,ln as j,hn as k,un as l,Mt as p,jt as w};
|