@nuxt/devtools-nightly 0.0.0 → 2.0.0-28994861.d6e2583
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/.discoveryrc.cjs +13 -0
- package/LICENSE +21 -0
- package/README.md +129 -0
- package/cli.mjs +2 -0
- package/dist/chunks/analyze-build.mjs +58 -0
- package/dist/chunks/module-main.mjs +18278 -0
- package/dist/chunks/plugin-metrics.mjs +68 -0
- package/dist/chunks/timeline.mjs +73 -0
- package/dist/chunks/vite-inspect.mjs +61 -0
- package/dist/chunks/vscode.mjs +202 -0
- package/dist/chunks/vue-devtools.mjs +18 -0
- package/dist/chunks/vue-inspector.mjs +15 -0
- package/dist/client/200.html +29 -0
- package/dist/client/404.html +29 -0
- package/dist/client/_nuxt/__blank-ld6vcstp.js +1 -0
- package/dist/client/_nuxt/acad01t0.js +17 -0
- package/dist/client/_nuxt/analyze-build-fqlgmp0b.js +1 -0
- package/dist/client/_nuxt/assets-cbko7l2l.js +16 -0
- package/dist/client/_nuxt/assets.css-hmxl533k.css +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -0
- package/dist/client/_nuxt/builds/meta/1b7ac8d3-8a5e-4fdc-9d27-275eda520648.json +1 -0
- package/dist/client/_nuxt/client-edufhzwa.js +1 -0
- package/dist/client/_nuxt/code-diff.vue-f9cnbhzc.js +8 -0
- package/dist/client/_nuxt/code-snippets.vue-lrwojb4h.js +1 -0
- package/dist/client/_nuxt/components-h5b91akq.js +1 -0
- package/dist/client/_nuxt/composable-item.vue-fdcr7ss7.js +1 -0
- package/dist/client/_nuxt/constants-b32h69zq.js +1 -0
- package/dist/client/_nuxt/custom-_name_-km7litcg.js +1 -0
- package/dist/client/_nuxt/data-schema-button.vue-mtwh5suc.js +1 -0
- package/dist/client/_nuxt/data-schema-drawer-du5ak03s.js +2 -0
- package/dist/client/_nuxt/default-jkfq6jr9.js +1 -0
- package/dist/client/_nuxt/duration-display.vue-gu7el5x3.js +1 -0
- package/dist/client/_nuxt/entry.css-jfo9gib8.css +1 -0
- package/dist/client/_nuxt/error-404-m6fhf98f.js +1 -0
- package/dist/client/_nuxt/error-404.css-fhr5m6vx.css +1 -0
- package/dist/client/_nuxt/error-500-mnjkar2r.js +1 -0
- package/dist/client/_nuxt/error-500.css-cx0169ub.css +1 -0
- package/dist/client/_nuxt/error-ljlxlkq6.js +9 -0
- package/dist/client/_nuxt/filepath-item.vue-jteqhbym.js +1 -0
- package/dist/client/_nuxt/full-fmvt90u3.js +1 -0
- package/dist/client/_nuxt/help-fab.css-ms50khsu.css +1 -0
- package/dist/client/_nuxt/help-fab.vue-l8z6nz69.js +1 -0
- package/dist/client/_nuxt/hooks-l6hy41d5.js +1 -0
- package/dist/client/_nuxt/imports-djs3fv7k.js +1 -0
- package/dist/client/_nuxt/index-isy4x1zk.js +1 -0
- package/dist/client/_nuxt/index-obsucz0g.js +1 -0
- package/dist/client/_nuxt/launch-page.vue-m36wh07r.js +1 -0
- package/dist/client/_nuxt/modules-eqx4mvkj.js +1 -0
- package/dist/client/_nuxt/nbadge-iie5ebea.js +1 -0
- package/dist/client/_nuxt/ncheckbox.vue-hsio0xo0.js +1 -0
- package/dist/client/_nuxt/ncode-block.css-lvdc77tw.css +1 -0
- package/dist/client/_nuxt/ncode-block.vue-msaaoy71.js +2 -0
- package/dist/client/_nuxt/ndrawer.vue-lxe9449e.js +1 -0
- package/dist/client/_nuxt/ndropdown.vue-fg4qqvpn.js +1 -0
- package/dist/client/_nuxt/nicon-title.vue-j1ceohu1.js +1 -0
- package/dist/client/_nuxt/nlink.vue-h4d6zo87.js +1 -0
- package/dist/client/_nuxt/nmarkdown.vue-oxfi26vk.js +1 -0
- package/dist/client/_nuxt/nnavbar.vue-m6cf24fa.js +1 -0
- package/dist/client/_nuxt/none-w92i5kpk.js +1 -0
- package/dist/client/_nuxt/nsection-block-j4awv0k4.js +1 -0
- package/dist/client/_nuxt/nsection-block.css-e7kbjm7k.css +1 -0
- package/dist/client/_nuxt/nselect-tabs.vue-m7y9xr5j.js +1 -0
- package/dist/client/_nuxt/nselect.vue-ns9nms6j.js +1 -0
- package/dist/client/_nuxt/nswitch.vue-l8xqfho0.js +1 -0
- package/dist/client/_nuxt/open-graph-kkdf0nia.js +3 -0
- package/dist/client/_nuxt/open-graph.css-e21qzmvj.css +1 -0
- package/dist/client/_nuxt/overview-hdsksmkk.js +1 -0
- package/dist/client/_nuxt/pages-ksiceycf.js +1 -0
- package/dist/client/_nuxt/payload-lv00tqsw.js +1 -0
- package/dist/client/_nuxt/pinia-ixzbsb3t.js +1 -0
- package/dist/client/_nuxt/plugins-mpy2qpq3.js +1 -0
- package/dist/client/_nuxt/render-tree-ci9wg23h.js +1 -0
- package/dist/client/_nuxt/runtime-configs-nrwa1kqq.js +1 -0
- package/dist/client/_nuxt/server-discovery-nynjnb91.js +1 -0
- package/dist/client/_nuxt/server-route-inputs.vue-hjq5i7um.js +1 -0
- package/dist/client/_nuxt/server-routes-ni4dketr.js +9 -0
- package/dist/client/_nuxt/server-tasks-h63b0d8g.js +1 -0
- package/dist/client/_nuxt/settings-pd1b5hup.js +1 -0
- package/dist/client/_nuxt/stacktrace-list.vue-i09nx4tx.js +1 -0
- package/dist/client/_nuxt/state-components-krs67u9s.js +1 -0
- package/dist/client/_nuxt/state-editor.vue-ji5p8iwi.js +1 -0
- package/dist/client/_nuxt/state-modules-jr1gc8aq.js +1 -0
- package/dist/client/_nuxt/storage-o8ue9npr.js +1 -0
- package/dist/client/_nuxt/terminals-n14qkg4d.js +1 -0
- package/dist/client/_nuxt/terminals.css-mejv43xm.css +1 -0
- package/dist/client/_nuxt/timeline-fhd8y3t4.js +31 -0
- package/dist/client/_nuxt/timeline.css-lhkpu01p.css +1 -0
- package/dist/client/_nuxt/unocss-runtime-gc1hqonm.js +1 -0
- package/dist/client/_nuxt/vendor/json-editor-vue-npezbdce.js +3818 -0
- package/dist/client/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css +1 -0
- package/dist/client/_nuxt/vendor/markdown-it-fvu08dbs.js +16 -0
- package/dist/client/_nuxt/vendor/quicktype-core-i8ym98gu.js +1006 -0
- package/dist/client/_nuxt/vendor/shiki-du3ou1on.js +282 -0
- package/dist/client/_nuxt/vendor/unocss-hjqyvvq7.js +2 -0
- package/dist/client/_nuxt/vendor/unocss.css-mhvipxpl.css +1 -0
- package/dist/client/_nuxt/vendor/vis-fzckz0r6.js +98 -0
- package/dist/client/_nuxt/vendor/xterm-b1jefe3j.js +9 -0
- package/dist/client/_nuxt/vendor/xterm.css-egmhki83.css +32 -0
- package/dist/client/_nuxt/virtual-files-co0rkquj.js +1 -0
- package/dist/client/_nuxt/virtual-files.css-gqpg2wnb.css +1 -0
- package/dist/client/_nuxt/vue-devtools-hmost1g2.js +2 -0
- package/dist/client/_nuxt/vue-virtual-scroller.esm-guzt9iin.js +2 -0
- package/dist/client/discovery/index.html +611 -0
- package/dist/client/index.html +29 -0
- package/dist/client/nuxt.svg +3 -0
- package/dist/dirs.d.mts +7 -0
- package/dist/dirs.d.ts +7 -0
- package/dist/dirs.mjs +28 -0
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +9 -0
- package/dist/module.d.ts +9 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +6 -0
- package/dist/runtime/auth/index.html +76 -0
- package/dist/runtime/function-metrics-helpers.d.ts +3 -0
- package/dist/runtime/function-metrics-helpers.js +69 -0
- package/dist/runtime/nitro/inline.d.ts +3 -0
- package/dist/runtime/nitro/inline.js +6 -0
- package/dist/runtime/plugins/devtools.client.d.ts +2 -0
- package/dist/runtime/plugins/devtools.client.js +56 -0
- package/dist/runtime/plugins/devtools.server.d.ts +2 -0
- package/dist/runtime/plugins/devtools.server.js +7 -0
- package/dist/runtime/plugins/view/FrameBox.vue +167 -0
- package/dist/runtime/plugins/view/Main.vue +415 -0
- package/dist/runtime/plugins/view/client.d.ts +12 -0
- package/dist/runtime/plugins/view/client.js +335 -0
- package/dist/runtime/plugins/view/state.d.ts +5 -0
- package/dist/runtime/plugins/view/state.js +17 -0
- package/dist/runtime/plugins/view/utils.d.ts +31 -0
- package/dist/runtime/plugins/view/utils.js +156 -0
- package/dist/runtime/settings.d.ts +4 -0
- package/dist/runtime/settings.js +2 -0
- package/dist/runtime/shared/hooks.d.ts +2 -0
- package/dist/runtime/shared/hooks.js +33 -0
- package/dist/runtime/use-nuxt-devtools.d.ts +8 -0
- package/dist/runtime/use-nuxt-devtools.js +23 -0
- package/dist/runtime/vue-devtools-client.d.ts +2 -0
- package/dist/runtime/vue-devtools-client.js +8 -0
- package/dist/shared/devtools-nightly.2e078e30.d.mts +66 -0
- package/dist/shared/devtools-nightly.2e078e30.d.ts +66 -0
- package/dist/shared/devtools-nightly.60b2ba4d.mjs +122 -0
- package/dist/types.d.mts +42 -0
- package/dist/types.d.ts +42 -0
- package/dist/types.mjs +1 -0
- package/package.json +128 -2
- package/types.d.ts +1 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as ot}from"./json-editor-vue-npezbdce.js";const it=/"(?:_|\\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*:/,at=/"(?: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*:/,ct=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function lt(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ft(e);return}return t}function ft(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ut(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!ct.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(it.test(e)||at.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,lt)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const dt=/#/g,ht=/&/g,pt=/\//g,mt=/=/g,pe=/\+/g,gt=/%5e/gi,yt=/%60/gi,wt=/%7c/gi,Ct=/%20/gi;function bt(e){return encodeURI(""+e).replace(wt,"|")}function fe(e){return bt(typeof e=="string"?e:JSON.stringify(e)).replace(pe,"%2B").replace(Ct,"+").replace(dt,"%23").replace(ht,"%26").replace(yt,"`").replace(gt,"^").replace(pt,"%2F")}function te(e){return fe(e).replace(mt,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function St(e){return Q(e.replace(pe," "))}function vt(e){return Q(e.replace(pe," "))}function Et(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=St(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=vt(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function $t(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${te(e)}=${fe(n)}`).join("&"):`${te(e)}=${fe(t)}`:te(e)}function At(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>$t(t,e[t])).filter(Boolean).join("&")}const xt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ft=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_t=/^([/\\]\s*){2,}[^/\\]/,Ot=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rt=/\/$|\/\?|\/#/,jt=/^\.?\//;function me(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xt.test(e):Ft.test(e)||(t.acceptRelative?_t.test(e):!1)}function hr(e){return!!e&&Ot.test(e)}function ue(e="",t){return t?Rt.test(e):e.endsWith("/")}function qe(e="",t){if(!t)return(ue(e)?e.slice(0,-1):e)||"/";if(!ue(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[i,...u]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(u.length>0?`?${u.join("?")}`:"")+r}function de(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ue(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...u]=n.split("?");return i+"/"+(u.length>0?`?${u.join("?")}`:"")+r}function Tt(e=""){return e.startsWith("/")}function we(e=""){return Tt(e)?e:"/"+e}function kt(e,t){if(Be(t)||me(e))return e;const n=qe(t);return e.startsWith(n)?e:It(n,e)}function pr(e,t){if(Be(t))return e;const n=qe(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Mt(e,t){const n=Pt(e),r={...Et(n.search),...t};return n.search=At(r),Nt(n)}function Be(e){return!e||e==="/"}function Lt(e){return e&&e!=="/"}function It(e,...t){let n=e||"";for(const r of t.filter(s=>Lt(s)))if(n){const s=r.replace(jt,"");n=de(n)+s}else n=r;return n}function mr(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[l,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(r.length===1&&me(r[0]))continue;r.pop(),s--;continue}if(l===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+f;continue}r.push(f),s++}}let i=r.join("/");return s>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function gr(e,t,n={}){return n.trailingSlash||(e=de(e),t=de(t)),n.leadingSlash||(e=we(e),t=we(t)),n.encoding||(e=Q(e),t=Q(t)),e===t}const Ue=Symbol.for("ufo:protocolRelative");function Pt(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,a,d=""]=n;return{protocol:a.toLowerCase(),pathname:d,href:a+d,auth:"",host:"",search:"",hash:""}}if(!me(e,{acceptRelative:!0}))return Ce(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:f,search:c,hash:o}=Ce(l);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:u,pathname:f,search:c,hash:o,[Ue]:!r}}function Ce(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Nt(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Ue]?(e.protocol||"")+"//":"")+s+i+t+n+r}class Dt extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function zt(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",u=`${s}: ${i}${t?` ${t}`:""}`,l=new Dt(u,e.error?{cause:e.error}:void 0);for(const f of["request","options","response"])Object.defineProperty(l,f,{get(){return e[f]}});for(const[f,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,f,{get(){return e.response&&e.response[c]}});return l}const qt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function be(e="GET"){return qt.has(e.toUpperCase())}function Bt(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 Ut=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Wt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vt.test(t)?"json":Ut.has(t)||t.startsWith("text/")?"text":"blob"}function Ht(e,t,n,r){const s=Gt(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:s}}function Gt(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,i);return r}async function U(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Jt=new Set([408,409,425,429,500,502,503,504]),Qt=new Set([101,204,205,304]);function Ve(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(l){const f=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!f){let o;typeof l.options.retry=="number"?o=l.options.retry:o=be(l.options.method)?0:1;const a=l.response&&l.response.status||500;if(o>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(a):Jt.has(a))){const d=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(l.request,{...l.options,retry:o-1})}}const c=zt(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(f,c={}){const o={request:f,options:Ht(f,c,e.defaults,n),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=kt(o.request,o.options.baseURL)),o.options.query&&(o.request=Mt(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&&be(o.options.method)&&(Bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new n(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 a;if(!o.options.signal&&o.options.timeout){const h=new r;a=setTimeout(()=>{const y=new Error("[TimeoutError]: The operation was aborted due to timeout");y.name="TimeoutError",y.code=23,h.abort(y)},o.options.timeout),o.options.signal=h.signal}try{o.response=await t(o.request,o.options)}catch(h){return o.error=h,o.options.onRequestError&&await U(o,o.options.onRequestError),await s(o)}finally{a&&clearTimeout(a)}if((o.response.body||o.response._bodyInit)&&!Qt.has(o.response.status)&&o.options.method!=="HEAD"){const h=(o.options.parseResponse?"json":o.options.responseType)||Wt(o.response.headers.get("content-type")||"");switch(h){case"json":{const y=await o.response.text(),g=o.options.parseResponse||ut;o.response._data=g(y);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[h]()}}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(f,c){return(await i(f,c))._data};return u.raw=i,u.native=(...l)=>t(...l),u.create=(l={},f={})=>Ve({...e,...f,defaults:{...e.defaults,...f.defaults,...l}}),u}const K=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")}(),Kt=K.fetch?(...e)=>K.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Yt=K.Headers,Xt=K.AbortController,Zt=Ve({fetch:Kt,Headers:Yt,AbortController:Xt}),en=Zt,tn=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),We=Object.freeze({...tn,...Y}),nn=Object.freeze({...We,body:"",hidden:!1}),rn=Object.freeze({width:null,height:null}),He=Object.freeze({...rn,...Y});function sn(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 Se(e,t){const n=sn(e,t);for(const r in nn)r in Y?r in e&&!(r in n)&&(n[r]=Y[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function on(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function i(u){if(n[u])return s[u]=[];if(!(u in s)){s[u]=null;const l=r[u]&&r[u].parent,f=l&&i(l);f&&(s[u]=[l].concat(f))}return s[u]}return t.forEach(i),s}function ve(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let i={};function u(l){i=Se(r[l]||s[l],i)}return u(t),n.forEach(u),Se(e,i)}function an(e,t){if(e.icons[t])return ve(e,t,[]);const n=on(e,[t])[t];return n?ve(e,t,n):null}const cn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ln=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function X(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(cn);if(r===null||!r.length)return e;const s=[];let i=r.shift(),u=ln.test(i);for(;;){if(u){const l=parseFloat(i);isNaN(l)?s.push(i):s.push(Math.ceil(l*t*n)/n)}else s.push(i);if(i=r.shift(),i===void 0)return s.join("");u=!u}}function fn(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const u=e.indexOf(">",i);if(u===-1)break;n+=e.slice(s+1,i).trim(),e=e.slice(0,r).trim()+e.slice(u+1)}return{defs:n,content:e}}function un(e,t){return e?"<defs>"+e+"</defs>"+t:t}function dn(e,t,n){const r=fn(e);return un(r.defs,t+r.content+n)}const ge=e=>e==="unset"||e==="undefined"||e==="none";function hn(e,t){const n={...We,...e},r={...He,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(g=>{const m=[],E=g.hFlip,C=g.vFlip;let S=g.rotate;E?C?S+=2:(m.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),m.push("scale(-1 1)"),s.top=s.left=0):C&&(m.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),m.push("scale(1 -1)"),s.top=s.left=0);let $;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:$=s.height/2+s.top,m.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:m.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:$=s.width/2+s.left,m.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}S%2===1&&(s.left!==s.top&&($=s.left,s.left=s.top,s.top=$),s.width!==s.height&&($=s.width,s.width=s.height,s.height=$)),m.length&&(i=dn(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const u=r.width,l=r.height,f=s.width,c=s.height;let o,a;u===null?(a=l===null?"1em":l==="auto"?c:l,o=X(a,f/c)):(o=u==="auto"?f:u,a=l===null?X(o,c/f):l==="auto"?c:l);const d={},h=(g,m)=>{ge(m)||(d[g]=m.toString())};h("width",o),h("height",a);const y=[s.left,s.top,f,c];return d.viewBox=y.join(" "),{attributes:d,viewBox:y,body:i}}function pn(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ee(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" ')),pn(t)}function mn(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 gn=/\swidth\s*=\s*["']([\w.]+)["']/,yn=/\sheight\s*=\s*["']([\w.]+)["']/,ne=/<svg\s+/;function wn(e,t,n){const r=e.slice(0,e.indexOf(">")),s=(i,u)=>{const l=u.exec(r),f=l!=null,c=t[i];return!c&&!ge(c)&&(typeof n=="number"?n>0&&(t[i]=X(l?.[1]??"1em",n)):l&&(t[i]=l[1])),f};return[s("width",gn),s("height",yn)]}async function Ge(e,t,n,r,s,i){const{scale:u,addXmlNs:l=!1}=r??{},{additionalProps:f={},iconCustomizer:c}=r?.customizations??{},o=await s?.()??{};await c?.(t,n,o),Object.keys(f).forEach(g=>{const m=f[g];m!=null&&(o[g]=m)}),i?.(o);const[a,d]=wn(e,o,u);l&&(!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 h=Object.keys(o).map(g=>g==="width"&&a||g==="height"&&d?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(h.length&&(e=e.replace(ne,`<svg ${h.join(" ")} `)),r){const{defaultStyle:g,defaultClass:m}=r;m&&!e.includes("class=")&&(e=e.replace(ne,`<svg class="${m}" `)),g&&!e.includes("style=")&&(e=e.replace(ne,`<svg style="${g}" `))}const y=r?.usedProps;return y&&(Object.keys(f).forEach(g=>{const m=o[g];m!=null&&(y[g]=m)}),typeof o.width<"u"&&o.width!==null&&(y.width=o.width),typeof o.height<"u"&&o.height!==null&&(y.height=o.height)),e}var V={exports:{}},re,$e;function Cn(){if($e)return re;$e=1;var e=1e3,t=e*60,n=t*60,r=n*24,s=r*7,i=r*365.25;re=function(o,a){a=a||{};var d=typeof o;if(d==="string"&&o.length>0)return u(o);if(d==="number"&&isFinite(o))return a.long?f(o):l(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 a=/^(-?(?:\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(a){var d=parseFloat(a[1]),h=(a[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*r;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function l(o){var a=Math.abs(o);return a>=r?Math.round(o/r)+"d":a>=n?Math.round(o/n)+"h":a>=t?Math.round(o/t)+"m":a>=e?Math.round(o/e)+"s":o+"ms"}function f(o){var a=Math.abs(o);return a>=r?c(o,a,r,"day"):a>=n?c(o,a,n,"hour"):a>=t?c(o,a,t,"minute"):a>=e?c(o,a,e,"second"):o+" ms"}function c(o,a,d,h){var y=a>=d*1.5;return Math.round(o/d)+" "+h+(y?"s":"")}return re}var se,Ae;function bn(){if(Ae)return se;Ae=1;function e(t){r.debug=r,r.default=r,r.coerce=c,r.disable=l,r.enable=i,r.enabled=f,r.humanize=Cn(),r.destroy=o,Object.keys(t).forEach(a=>{r[a]=t[a]}),r.names=[],r.skips=[],r.formatters={};function n(a){let d=0;for(let h=0;h<a.length;h++)d=(d<<5)-d+a.charCodeAt(h),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=n;function r(a){let d,h=null,y,g;function m(...E){if(!m.enabled)return;const C=m,S=Number(new Date),$=S-(d||S);C.diff=$,C.prev=d,C.curr=S,d=S,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let x=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(p,b)=>{if(p==="%%")return"%";x++;const v=r.formatters[b];if(typeof v=="function"){const M=E[x];p=v.call(C,M),E.splice(x,1),x--}return p}),r.formatArgs.call(C,E),(C.log||r.log).apply(C,E)}return m.namespace=a,m.useColors=r.useColors(),m.color=r.selectColor(a),m.extend=s,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==r.namespaces&&(y=r.namespaces,g=r.enabled(a)),g),set:E=>{h=E}}),typeof r.init=="function"&&r.init(m),m}function s(a,d){const h=r(this.namespace+(typeof d>"u"?":":d)+a);return h.log=this.log,h}function i(a){r.save(a),r.namespaces=a,r.names=[],r.skips=[];const d=(typeof a=="string"?a:"").trim().replace(" ",",").split(",").filter(Boolean);for(const h of d)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}function u(a,d){let h=0,y=0,g=-1,m=0;for(;h<a.length;)if(y<d.length&&(d[y]===a[h]||d[y]==="*"))d[y]==="*"?(g=y,m=h,y++):(h++,y++);else if(g!==-1)y=g+1,m++,h=m;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}function l(){const a=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),a}function f(a){for(const d of r.skips)if(u(a,d))return!1;for(const d of r.names)if(u(a,d))return!0;return!1}function c(a){return a instanceof Error?a.stack||a.message:a}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 r.enable(r.load()),r}return se=e,se}var xe;function Sn(){return xe||(xe=1,function(e,t){var n={};t.formatArgs=s,t.save=i,t.load=u,t.useColors=r,t.storage=l(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!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 r(){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 c;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&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;c.splice(1,0,o,"color: inherit");let a=0,d=0;c[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(a++,h==="%c"&&(d=a))}),c.splice(d,0,o)}t.log=console.debug||console.log||(()=>{});function i(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function u(){let c;try{c=t.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=n.DEBUG),c}function l(){try{return localStorage}catch{}}e.exports=bn()(t);const{formatters:f}=e.exports;f.j=function(c){try{return JSON.stringify(c)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}}(V,V.exports)),V.exports}var vn=Sn();const Je=ot(vn),En=Je("@iconify-loader:custom");async function Fe(e,t,n,r){let s;En(`${t}:${n}`);try{if(typeof e=="function")s=await e(n);else{const i=e[n];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${n}" in "${t}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:u}=r?.customizations??{};return s=typeof u=="function"?await u(s,t,n):s,s.startsWith("<svg")?await Ge(r?.customizations?.trimCustomSvg===!0?mn(s):s,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),s)}}const $n=Je("@iconify-loader:icon");async function Qe(e,t,n,r){let s;const{customize:i}=r?.customizations??{};for(const u of n)if(s=an(e,u),s){$n(`${t}:${u}`);let l={...He};typeof i=="function"&&(s=Object.assign({},s),l=i(l,s,`${t}:${u}`)??l);const{attributes:{width:f,height:c,...o},body:a}=hn(s,l),d=r?.scale;return await Ge(`<svg >${a}</svg>`,t,u,r,()=>({...o}),h=>{const y=(g,m)=>{const E=h[g];let C;if(!ge(E)){if(E)return;typeof d=="number"?d&&(C=X(m??"1em",d)):C=m}C?h[g]=C:delete h[g]};y("width",f),y("height",c)})}}const Ke=async(e,t,n)=>{const r=n?.customCollections?.[e];if(r)if(typeof r=="function"){let s;try{s=await r(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(s){if(typeof s=="string")return await Fe(()=>s,e,t,n);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 Qe(s,e,i,n)}}}else return await Fe(r,e,t,n)},G="default",he="preflights",An="shortcuts",xn="imports",Fn={[xn]:-200,[he]:-100,[An]:-10,[G]:0},_n=/[\\:]?[\s'"`;{}]+/g;function On(e){return e.split(_n)}const Rn={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return On(e)}};function k(e=[]){return Array.isArray(e)?e:[e]}function N(e){return Array.from(new Set(e))}function _e(e,t){return e.reduce((n,r)=>(n.findIndex(i=>t(r,i))===-1&&n.push(r),n),[])}function j(e){return typeof e=="string"}class Ye extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,n){return this._map.set(t,n),super.add(t)}}function oe(e){return e instanceof Ye}function jn(e){const t=e.length;let n=-1,r,s="";const i=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){s+="�";continue}if(r===37){s+="\\%";continue}if(r===44){s+="\\,";continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&i===45){s+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){s+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){s+=e.charAt(n);continue}s+=`\\${e.charAt(n)}`}return s}const ie=jn;function Tn(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(n=>n(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(n=>n!==t)}}}function kn(e){return typeof e=="function"?{match:e}:e}function Oe(e){return e.length===3}function ae(e){return e!=null}function Mn(){}class Ln{_map=new Map;get(t,n){const r=this._map.get(t);if(r)return r.get(n)}getFallback(t,n,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(n)||s.set(n,r),s.get(n)}set(t,n,r){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(n,r),this}has(t,n){return this._map.get(t)?.has(n)}delete(t,n){return this._map.get(t)?.delete(n)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([n,r])=>Array.from(r.entries()).map(([s,i])=>t(i,n,s)))}}class In extends Map{getFallback(t,n){const r=this.get(t);return r===void 0?(this.set(t,n),n):r}map(t){const n=[];return this.forEach((r,s)=>{n.push(t(r,s))}),n}flatMap(t){const n=[];return this.forEach((r,s)=>{n.push(...t(r,s))}),n}}function q(e){return j(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function Nn(e){return e.filter(([t,n],r)=>{if(t.startsWith("$$"))return!1;for(let s=r-1;s>=0;s--)if(e[s][0]===t&&e[s][1]===n)return!1;return!0})}function ce(e){return e==null?"":Nn(e).map(([t,n])=>n!=null&&typeof n!="function"?`${t}:${n};`:void 0).filter(Boolean).join("")}function W(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Xe(e,t,n=!1){const r=e,s=t;if(Array.isArray(s))return n&&Array.isArray(s)?[...r,...s]:[...s];const i={...r};return W(r)&&W(s)&&Object.keys(s).forEach(u=>{W(r[u])&&W(s[u])||Array.isArray(r[u])&&Array.isArray(s[u])?i[u]=Xe(r[u],s[u],n):Object.assign(i,{[u]:s[u]})}),i}function J(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r=="object"?J(r):r;return n}if(Object.prototype.toString.call(e)==="[object Object]"){n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:J(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r=="object"?J(r):r;return n}return e}function Dn(e){return j(e[0])}function zn(e){return j(e[0])}const H={};function qn(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 Bn(e,t=["-",":"],n=5){const r=qn(t);let s,i=e.toString();const u=new Set,l=new Map;do s=!1,i=i.replace(r,(c,o,a,d,h)=>{if(!t.includes(a))return c;s=!0,u.add(o+a);const y=h+o.length+a.length+1,g={length:c.length,items:[]};l.set(h,g);for(const m of[...d.matchAll(/\S+/g)]){const E=y+m.index;let C=l.get(E)?.items;C?l.delete(E):C=[{offset:E,length:m[0].length,className:m[0]}];for(const S of C)S.className=S.className==="~"?o:S.className.replace(/^(!?)(.*)/,`$1${o}${a}$2`),g.items.push(S)}return"$".repeat(c.length)}),n-=1;while(s&&n);let f;if(typeof e=="string"){f="";let c=0;for(const[o,a]of l)f+=e.slice(c,o),f+=a.items.map(d=>d.className).join(" "),c=o+a.length;f+=e.slice(c)}else{f=e;for(const[c,o]of l)f.overwrite(c,c+o.length,o.items.map(a=>a.className).join(" "))}return{prefixes:Array.from(u),hasChanged:s,groupsByOffset:l,get expanded(){return f.toString()}}}function Un(e,t=["-",":"],n=5){const r=Bn(e,t,n);return typeof e=="string"?r.expanded:e}const Re=new Set;function Ze(e){Re.has(e)||(console.warn("[unocss]",e),Re.add(e))}function et(e){return k(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const je="_uno_resolved";async function Vn(e){let t=typeof e=="function"?await e():await e;if(je in t)return t;t={...t},Object.defineProperty(t,je,{value:!0,enumerable:!1});const n=t.shortcuts?et(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const r=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)};n?.forEach(r),t.rules?.forEach(r)}return t}async function tt(e){const t=await Vn(e);if(!t.presets)return[t];const n=(await Promise.all((t.presets||[]).flatMap(k).flatMap(tt))).flat();return[t,...n]}function Wn(e){if(e.length===0)return{};const t=[],n=[];let r=!1;const s=[],i=[],u=[];for(const f of e){if(f.pipeline===!1){r=!0;break}else f.pipeline?.include&&t.push(f.pipeline.include),f.pipeline?.exclude&&n.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&i.push(f.inline),f.plain&&u.push(f.plain)}const l={pipeline:r?!1:{include:N(ke(...t)),exclude:N(ke(...n))}};return s.length&&(l.filesystem=N(s.flat())),i.length&&(l.inline=N(i.flat())),u.length&&(l.plain=N(u.flat())),l}async function Te(e={},t={}){const n=Object.assign({},t,e),r=_e((await Promise.all((n.presets||[]).flatMap(k).flatMap(tt))).flat(),(w,p)=>w.name===p.name),s=[...r.filter(w=>w.enforce==="pre"),...r.filter(w=>!w.enforce),...r.filter(w=>w.enforce==="post")],i=[...s,n],u=[...i].reverse(),l=Object.assign({},Fn,...i.map(w=>w.layers));function f(w){return N(i.flatMap(p=>k(p[w]||[])))}const c=f("extractors");let o=u.find(w=>w.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Rn),o&&!c.includes(o)&&c.unshift(o),c.sort((w,p)=>(w.order||0)-(p.order||0));const a=f("rules"),d={},h=a.length,y=a.filter(w=>Dn(w)?(k(w[2]?.prefix||"").forEach(b=>{d[b+w[0]]=w}),!1):!0).reverse();let g=Hn(i.map(w=>w.theme));const m=f("extendTheme");for(const w of m)g=w(g)||g;const E={templates:N(i.flatMap(w=>k(w.autocomplete?.templates))),extractors:i.flatMap(w=>k(w.autocomplete?.extractors)).sort((w,p)=>(w.order||0)-(p.order||0)),shorthands:Gn(i.map(w=>w.autocomplete?.shorthands||{}))};let C=f("separators");C.length||(C=[":","-"]);const S=f("content"),$=Wn(S),x={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...n,blocklist:f("blocklist"),presets:s,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:l,theme:g,rules:a,rulesSize:h,rulesDynamic:y,rulesStaticMap:d,preprocess:f("preprocess"),postprocess:f("postprocess"),preflights:f("preflights"),autocomplete:E,variants:f("variants").map(kn).sort((w,p)=>(w.order||0)-(p.order||0)),shortcuts:et(f("shortcuts")).reverse(),extractors:c,safelist:f("safelist"),separators:C,details:n.details??n.envMode==="dev",content:$,transformers:_e(f("transformers"),(w,p)=>w.name===p.name)};for(const w of i)w?.configResolved?.(x);return x}function Hn(e){return e.map(t=>t?J(t):{}).reduce((t,n)=>Xe(t,n),{})}function Gn(e){return e.reduce((t,n)=>{const r={};for(const s in n){const i=n[s];Array.isArray(i)?r[s]=`(${i.join("|")})`:r[s]=i}return{...t,...r}},{})}function ke(...e){return e.flatMap(Jn)}function Jn(e){return Array.isArray(e)?e:e?[e]:[]}const Qn="65.5.0",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class ye{constructor(t={},n={}){this.userConfig=t,this.defaults=n}version=Qn;events=Tn();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},n={}){const r=new ye(t,n);return r.config=await Te(r.userConfig,r.defaults),r.events.emit("config",r.config),r}async setConfig(t,n){t&&(n&&(this.defaults=n),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Te(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,n,r=new Set){const s={original:t,code:t,id:n,extracted:r,envMode:this.config.envMode};for(const i of this.config.extractors){const u=await i.extract?.(s);if(u)if(oe(u)&&oe(r))for(const l of u)r.setCount(l,r.getCount(l)+u.getCount(l));else for(const l of u)r.add(l)}return r}makeContext(t,n){const r={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:z,variantHandlers:n[2],constructCSS:(...s)=>this.constructCustomCSS(r,...s),variantMatch:n};return r}async parseToken(t,n){if(this.blocked.has(t))return;const r=`${t}${n?` ${n}`:""}`;if(this.cache.has(r))return this.cache.get(r);let s=t;for(const f of this.config.preprocess)s=f(t);if(this.isBlocked(s)){this.blocked.add(t),this.cache.set(r,null);return}const i=await this.matchVariants(t,s);if(i.every(f=>!f||this.isBlocked(f[1]))){this.blocked.add(t),this.cache.set(r,null);return}const u=async f=>{const c=this.makeContext(t,[n||f[0],f[1],f[2],f[3]]);this.config.details&&(c.variants=[...f[3]]);const o=await this.expandShortcut(c.currentSelector,c);return o?await this.stringifyShortcuts(c.variantMatch,c,o[0],o[1]):(await this.parseUtil(c.variantMatch,c))?.map(d=>this.stringifyUtil(d,c)).filter(ae)},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l?.length)return this.cache.set(r,l),l;this.cache.set(r,null)}async generate(t,n={}){const{id:r,scope:s,preflights:i=!0,safelist:u=!0,minify:l=!1,extendedInfo:f=!1}=n,c=j(t)?await this.applyExtractors(t,r,f?new Ye:new Set):Array.isArray(t)?new Set(t):t;if(u){const p={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(p):b).forEach(b=>{c.has(b)||c.add(b)})}const o=l?"":`
|
|
2
|
+
`,a=new Set([G]),d=f?new Map:new Set,h=new Map;let y={};const g=Array.from(c).map(async p=>{if(d.has(p))return;const b=await this.parseToken(p);if(b!=null){d instanceof Map?d.set(p,{data:b,count:oe(c)?c.getCount(p):-1}):d.add(p);for(const v of b){const M=v[3]||"",L=v[4]?.layer;h.has(M)||h.set(M,[]),h.get(M).push(v),L&&a.add(L)}}});await Promise.all(g),await(async()=>{if(!i)return;const p={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:v=he})=>{a.add(v),b.add(v)}),y=Object.fromEntries(await Promise.all(Array.from(b).map(async v=>{const L=(await Promise.all(this.config.preflights.filter(I=>(I.layer||he)===v).map(async I=>await I.getCSS(p)))).filter(Boolean).join(o);return[v,L]})))})();const m=this.config.sortLayers(Array.from(a).sort((p,b)=>(this.config.layers[p]??0)-(this.config.layers[b]??0)||p.localeCompare(b))),E={},C=this.config.outputToCssLayers,S=p=>{let b=p;return typeof C=="object"&&(b=C.cssLayerName?.(p)),b===null?null:b??p},$=(p=G)=>{if(E[p])return E[p];let b=Array.from(h).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 A=I.length,_=I.filter(F=>(F[4]?.layer||G)===p).sort((F,T)=>F[0]-T[0]||(F[4]?.sort||0)-(T[4]?.sort||0)||F[5]?.currentSelector?.localeCompare(T[5]?.currentSelector??"")||F[1]?.localeCompare(T[1]||"")||F[2]?.localeCompare(T[2]||"")||0).map(([,F,T,,B,,Z])=>[[[(F&&Xn(F,s))??"",B?.sort??0]],T,!!(Z??B?.noMerge)]);if(!_.length)return;const O=_.reverse().map(([F,T,B],Z)=>{if(!B&&this.config.mergeSelectors)for(let D=Z+1;D<A;D++){const P=_[D];if(P&&!P[2]&&(F&&P[0]||F==null&&P[0]==null)&&P[1]===T)return F&&P[0]&&P[0].push(...F),null}const ee=F?N(F.sort((D,P)=>D[1]-P[1]||D[0]?.localeCompare(P[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return ee.length?`${ee.join(`,${o}`)}{${T}}`:T}).filter(Boolean).reverse().join(o);if(!L)return O;const R=L.split(" $$ ");return`${R.join("{")}{${o}${O}${o}${"}".repeat(R.length)}`}).filter(Boolean).join(o);i&&(b=[y[p],b].filter(Boolean).join(o));let v;C&&b&&(v=S(p),v!==null&&(b=`@layer ${v}{${o}${b}${o}}`));const M=l?"":`/* layer: ${p}${v&&v!==p?`, alias: ${v}`:""} */${o}`;return E[p]=b?M+b:""},x=(p=m,b)=>{const v=p.filter(M=>!b?.includes(M));return[C&&v.length>0?`@layer ${v.map(S).filter(ae).join(", ")};`:void 0,...v.map(M=>$(M)||"")].filter(Boolean).join(o)};return{get css(){return x()},layers:m,matched:d,getLayers:x,getLayer:$,setLayer:async(p,b)=>{const v=await b($(p));return E[p]=v,v}}}async matchVariants(t,n){const r={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let u=!0;const[,,l,f]=i;for(;u;){u=!1;const c=i[1];for(const o of this.config.variants){if(!o.multiPass&&f.has(o))continue;let a=await o.match(c,r);if(a){if(j(a)){if(a===c)continue;a={matcher:a}}if(Array.isArray(a)){if(!a.length)continue;if(a.length===1)a=a[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=a.map(h=>{const y=h.matcher??c,g=[h,...l],m=new Set(f);return m.add(o),[i[0],y,g,m]});return(await Promise.all(d.map(h=>s(h)))).flat()}}i[1]=a.matcher??c,l.unshift(a),f.add(o),u=!0;break}}if(!u)break;if(l.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await s([t,n||t,[],new Set])}applyVariants(t,n=t[4],r=t[1]){const i=n.slice().sort((c,o)=>(c.order||0)-(o.order||0)).reduceRight((c,o)=>a=>{const d=o.body?.(a.entries)||a.entries,h=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??er)({...a,entries:d,selector:o.selector?.(a.selector,d)||a.selector,parent:h[0]||a.parent,parentOrder:h[1]||a.parentOrder,layer:o.layer||a.layer,sort:o.sort||a.sort},c)},c=>c)({prefix:"",selector:Zn(r),pseudo:"",entries:t[2]}),{parent:u,parentOrder:l}=i;u!=null&&l!=null&&this.parentOrders.set(u,l);const f={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:u,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const c of this.config.postprocess)c(f);return f}constructCustomCSS(t,n,r){const s=q(n);if(j(s))return s;const{selector:i,entries:u,parent:l}=this.applyVariants([0,r||t.rawSelector,s,void 0,t.variantHandlers]),f=`${i}{${ce(u)}}`;return l?`${l}{${f}}`:f}async parseUtil(t,n,r=!1,s){const i=j(t)?await this.matchVariants(t):[t],u=async([f,c,o])=>{this.config.details&&(n.rules=n.rules??[]);const a=this.config.rulesStaticMap[c];if(a&&a[1]&&(r||!a[2]?.internal)){n.generator.activatedRules.add(a),this.config.details&&n.rules.push(a);const h=this.config.rules.indexOf(a),y=q(a[1]),g=a[2];return j(y)?[[h,y,g]]:[[h,f,y,g,o]]}n.variantHandlers=o;const{rulesDynamic:d}=this.config;for(const h of d){const[y,g,m]=h;if(m?.internal&&!r)continue;let E=c;if(m?.prefix){const x=k(m.prefix);if(s){const w=k(s);if(!x.some(p=>w.includes(p)))continue}else{const w=x.find(p=>c.startsWith(p));if(w==null)continue;E=c.slice(w.length)}}const C=E.match(y);if(!C)continue;let S=await g(C,n);if(!S)continue;if(n.generator.activatedRules.add(h),this.config.details&&n.rules.push(h),typeof S!="string")if(Symbol.asyncIterator in S){const x=[];for await(const w of S)w&&x.push(w);S=x}else Symbol.iterator in S&&!Array.isArray(S)&&(S=Array.from(S).filter(ae));const $=Pn(S).filter(x=>x.length);if($.length){const x=this.config.rules.indexOf(h);return $.map(w=>{if(j(w))return[x,w,m];let p=o,b=m;for(const v of w)v[0]===z.variants?p=[...k(v[1]),...p]:v[0]===z.parent?p=[{parent:v[1]},...p]:v[0]===z.selector?p=[{selector:v[1]},...p]:v[0]===z.layer?p=[{layer:v[1]},...p]:v[0]===z.sort&&(b={...b,sort:v[1]});return[x,f,w,b,p]})}}},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l.length)return l}stringifyUtil(t,n){if(!t)return;if(Oe(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?n:void 0,void 0];const{selector:r,entries:s,parent:i,layer:u,sort:l,noMerge:f}=this.applyVariants(t),c=ce(s);if(!c)return;const{layer:o,sort:a,...d}=t[3]??{},h={...d,layer:u??o,sort:l??a};return[t[0],r,c,i,h,this.config.details?n:void 0,f]}async expandShortcut(t,n,r=5){if(r===0)return;const s=this.config.details?c=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(c)}:Mn;let i,u,l,f;for(const c of this.config.shortcuts){let o=t;if(c[2]?.prefix){const d=k(c[2].prefix).find(h=>t.startsWith(h));if(d==null)continue;o=t.slice(d.length)}if(zn(c)){if(c[0]===o){i=i||c[2],u=c[1],s(c);break}}else{const a=o.match(c[0]);if(a&&(u=c[1](a,n)),u){i=i||c[2],s(c);break}}}if(u&&(l=N(k(u).filter(j).map(c=>Un(c.trim()).split(/\s+/g)).flat()),f=k(u).filter(c=>!j(c)).map(c=>({handles:[],value:c}))),!u){const c=j(t)?await this.matchVariants(t):[t];for(const o of c){const[a,d,h]=o;if(a!==d){const y=await this.expandShortcut(d,n,r-1);y&&(l=y[0].filter(j).map(g=>a.replace(d,g)),f=y[0].filter(g=>!j(g)).map(g=>({handles:[...g.handles,...h],value:g.value})))}}}if(!(!l?.length&&!f?.length))return[[await Promise.all(k(l).map(async c=>(await this.expandShortcut(c,n,r-1))?.[0]||[c])),f].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,n,r,s={layer:this.config.shortcutsLayer}){const i=new In,u=(await Promise.all(N(r).map(async o=>{const a=j(o)?await this.parseUtil(o,n,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",q(o.value),void 0,o.handles]];return!a&&this.config.warn&&Ze(`unmatched utility "${o}" in shortcut "${t[1]}"`),a||[]}))).flat(1).filter(Boolean).sort((o,a)=>o[0]-a[0]),[l,,f]=t,c=[];for(const o of u){if(Oe(o)){c.push([o[0],void 0,o[1],void 0,o[2],n,void 0]);continue}const{selector:a,entries:d,parent:h,sort:y,noMerge:g,layer:m}=this.applyVariants(o,[...o[4],...f],l);i.getFallback(m??s.layer,new Ln).getFallback(a,h,[[],o[0]])[0].push([d,!!(g??o[3]?.noMerge),y??0])}return c.concat(i.flatMap((o,a)=>o.map(([d,h],y,g)=>{const m=(C,S,$)=>{const x=Math.max(...$.map(p=>p[1])),w=$.map(p=>p[0]);return(C?[w.flat(1)]:w).map(p=>{const b=ce(p);if(b)return[h,y,b,g,{...s,noMerge:S,sort:x,layer:a},n,void 0]})};return[[d.filter(([,C])=>C).map(([C,,S])=>[C,S]),!0],[d.filter(([,C])=>!C).map(([C,,S])=>[C,S]),!1]].map(([C,S])=>[...m(!1,S,C.filter(([$])=>$.some(x=>x[0]===z.shortcutsNoMerge))),...m(!0,S,C.filter(([$])=>$.every(x=>x[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(n=>Array.isArray(n)?n[0]:n).some(n=>typeof n=="function"?n(t):j(n)?n===t:n.test(t))}getBlocked(t){const n=this.config.blocklist.find(r=>{const s=Array.isArray(r)?r[0]:r;return typeof s=="function"?s(t):j(s)?s===t:s.test(t)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function Kn(e,t){return await ye.create(e,t)}const nt=/\s\$\$\s+/g;function Yn(e){return nt.test(e)}function Xn(e,t){return Yn(e)?e.replace(nt,t?` ${t} `:" "):t?`${t} ${e}`:e}const Me=/^\[(.+?)(~?=)"(.*)"\]$/;function Zn(e){return Me.test(e)?e.replace(Me,(t,n,r,s)=>`[${ie(n)}${r}"${ie(s)}"]`):`.${ie(e)}`}function er(e,t){return t(e)}var Le={};function tr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le,Ie;function nr(){return Ie||(Ie=1,le=["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","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-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","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-emojis","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"]),le}var rr=nr();const rt=tr(rr),sr=3;function or(e){return(t={})=>{const{scale:n=1,mode:r="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:u,collections:l,extraProperties:f={},customizations:c={},autoInstall:o=!1,collectionsNodeResolvePath:a,layer:d="icons",unit:h,processor:y}=t,g=ir(),m={addXmlNs:!0,scale:n,customCollections:l,autoInstall:o,cwd:a,warn:void 0,customizations:{...c,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(C,S,$){await c.iconCustomizer?.(C,S,$),h&&($.width||($.width=`${n}${h}`),$.height||($.height=`${n}${h}`))}}};let E;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Ee,parseIconWithLoader:Pe},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async C=>{let[S,$,x=r]=C;E=E||await e(t);const w={},p=await Pe($,E,{...m,usedProps:w},u);if(!p){i&&!g.isESLint&&Ze(`failed to load icon "${S}"`);return}let b;const v=`url("data:image/svg+xml;utf8,${Ee(p.svg)}")`;return x==="auto"&&(x=p.svg.includes("currentColor")?"mask":"bg"),x==="mask"?b={"--un-icon":v,"-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",...w}:b={background:`${v} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...w},y?.(b,{...p,icon:p.name,mode:x}),b},{layer:d,prefix:s}]]}}}function st(e,t){const n=new Map;function r(s){if(rt.includes(s))return n.has(s)||n.set(s,e(`${t}@iconify-json/${s}/icons.json`)),n.get(s)}return async(s,i,u)=>{let l=await Ke(s,i,u);if(l)return l;const f=await r(s);if(f){const c=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];l=await Qe(f,s,c,u)}return l}}function ir(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Le.VSCODE_CWD,n=e&&!!Le.ESLINT;return{isNode:e,isVSCode:t,isESLint:n}}async function Pe(e,t,n={},r=[]){let s="",i="",u;const l=new Set([...rt,...r,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!l.has(s))return;u=await t(s,i,n)}else{const f=e.split(/-/g);for(let c=sr;c>=1&&(s=f.slice(0,c).join("-"),!(!!l.has(s)&&(i=f.slice(c).join("-"),u=await t(s,i,n),u)));c--);}if(u)return{collection:s,name:i,svg:u}}function ar(e){return st(en,e)}const yr=or(async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?st(t,n):n?ar(n):Ke});function cr(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function Ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}function De(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ze=["Webkit","Moz","ms"];function lr(e){const t={};function n(r){const s=t[r];if(s)return s;let i=cr(r);if(i!=="filter"&&i in e)return t[r]=De(i);i=Ne(i);for(let u=0;u<ze.length;u++){const l=`${ze[u]}${i}`;if(l in e)return t[r]=De(Ne(l))}return r}return({entries:r})=>r.forEach(s=>{s[0].startsWith("--")||(s[0]=n(s[0]))})}function fr(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function wr(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,n=window.document,r=()=>n.documentElement,s=t.__unocss||{},i=Object.assign({},e,s.runtime),u=i.defaults||{},l=i.cloakAttribute??"un-cloak";i.autoPrefix&&(u.postprocess=k(u.postprocess)).unshift(lr(n.createElement("div").style)),i.configResolved?.(s,u);const f=await Kn(s,u),c=A=>i.inject?i.inject(A):r().prepend(A),o=()=>i.rootElement?i.rootElement():n.body,a=new Map;let d=!0;const h=new Set;let y,g,m=[];const E=()=>new Promise(A=>{m.push(A),g!=null&&clearTimeout(g),g=setTimeout(()=>$().then(()=>{const _=m;m=[],_.forEach(O=>O())}),0)});function C(A,_=!1){if(A.nodeType!==1)return;const O=A;O.hasAttribute(l)&&O.removeAttribute(l),_&&O.querySelectorAll(`[${l}]`).forEach(R=>{R.removeAttribute(l)})}function S(A,_){let O=a.get(A);if(!O)if(O=n.createElement("style"),O.setAttribute("data-unocss-runtime-layer",A),a.set(A,O),_==null)c(O);else{const R=S(_),F=R.parentNode;F?F.insertBefore(O,R.nextSibling):c(O)}return O}async function $(){const A=[...h],_=await f.generate(A);return _.layers.reduce((R,F)=>(S(F,R).innerHTML=_.getLayer(F)??"",F),void 0),A.filter(R=>!_.matched.has(R)).forEach(R=>h.delete(R)),{..._,getStyleElement:R=>a.get(R),getStyleElements:()=>a}}async function x(A){const _=h.size;await f.applyExtractors(A,void 0,h),_!==h.size&&await E()}async function w(A=o()){const _=A&&A.outerHTML;_&&(await x(`${_} ${fr(_)}`),C(r()),C(A,!0))}const p=new MutationObserver(A=>{d||A.forEach(async _=>{if(_.target.nodeType!==1)return;const O=_.target;for(const R of a)if(O===R[1])return;if(_.type==="childList")_.addedNodes.forEach(async R=>{if(R.nodeType!==1)return;const F=R;y&&!y(F)||(await x(F.outerHTML),C(F))});else{if(y&&!y(O))return;if(_.attributeName!==l){const R=Array.from(O.attributes).map(T=>T.value?`${T.name}="${T.value}"`:T.name).join(" "),F=`<${O.tagName.toLowerCase()} ${R}>`;await x(F)}C(O)}})});let b=!1;function v(){if(b)return;const A=i.observer?.target?i.observer.target():o();A&&(p.observe(A,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function M(){i.bypassDefined&&ur(f.blocked),w(),v()}function L(){n.readyState==="loading"?t.addEventListener("DOMContentLoaded",M):M()}const I=t.__unocss_runtime=t.__unocss_runtime={version:f.version,uno:f,async extract(A){j(A)||(A.forEach(_=>h.add(_)),A=""),await x(A)},extractAll:w,inspect(A){y=A},toggleObserver(A){A===void 0?d=!d:d=!!A,!b&&!d&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(d=!1,L())}function ur(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];let r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).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{en as $,It as a,qe as b,pr as c,ut as d,gr as e,de as f,wr as g,me as h,hr as i,mr as j,yr as k,Et as p,Mt as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{border-color:var(--un-default-border-color, #e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content: ""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}
|