@nuxt/devtools 1.6.2 → 1.6.4
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 +1 -1
- package/dist/chunks/vite-inspect.mjs +1 -7
- package/dist/client/200.html +14 -14
- package/dist/client/404.html +14 -14
- package/dist/client/_nuxt/__blank-lypl178u.js +1 -0
- package/dist/client/_nuxt/{analyze-build-d2osd716.js → analyze-build-m6hjy8b6.js} +1 -1
- package/dist/client/_nuxt/{assets-pajdwal2.js → assets-jkla6b4k.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/3a026b0b-3c88-4a7c-8ad7-043b5176a32e.json +1 -0
- package/dist/client/_nuxt/{client-h8sz7blv.js → client-iy54pzt5.js} +1 -1
- package/dist/client/_nuxt/{code-diff.vue-j8h39deo.js → code-diff.vue-lhj9gxzz.js} +1 -1
- package/dist/client/_nuxt/{code-snippets.vue-mco5rdxz.js → code-snippets.vue-jbtneucz.js} +1 -1
- package/dist/client/_nuxt/{components-nm7nx9s6.js → components-h2g43vc5.js} +1 -1
- package/dist/client/_nuxt/components-tree-iq3immmn.js +1 -0
- package/dist/client/_nuxt/{composable-item.vue-j1qhrvaa.js → composable-item.vue-glp5bo7t.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_-lntdakel.js → custom-_name_-m2razr0k.js} +1 -1
- package/dist/client/_nuxt/{default-luff469y.js → default-g9cho5c5.js} +1 -1
- package/dist/client/_nuxt/{duration-display.vue-eesjgxfp.js → duration-display.vue-oy3zq0wt.js} +1 -1
- package/dist/client/_nuxt/{entry.css-nccln8bf.css → entry.css-f054t818.css} +1 -1
- package/dist/client/_nuxt/{error-404-0yg9nh72.js → error-404-kpv9svhd.js} +1 -1
- package/dist/client/_nuxt/error-404.css-he1uoaye.css +1 -0
- package/dist/client/_nuxt/{error-500-d21y9gks.js → error-500-hs8gcksv.js} +1 -1
- package/dist/client/_nuxt/error-500.css-ojhe2u1c.css +1 -0
- package/dist/client/_nuxt/{error-cbciqqyo.js → error-kq6fdjd8.js} +1 -1
- package/dist/client/_nuxt/{filepath-item.vue-neqylx4p.js → filepath-item.vue-khcefxw1.js} +1 -1
- package/dist/client/_nuxt/full-h4bblsc2.js +1 -0
- package/dist/client/_nuxt/{help-fab.vue-7au2tllo.js → help-fab.vue-dsbe70oc.js} +1 -1
- package/dist/client/_nuxt/{hooks-naoy42bc.js → hooks-ntg8apv0.js} +1 -1
- package/dist/client/_nuxt/{imports-kiavx108.js → imports-oas5k4l1.js} +1 -1
- package/dist/client/_nuxt/{index-nfu8rqqj.js → index-cr2km0lm.js} +1 -1
- package/dist/client/_nuxt/index-kk6zx8yh.js +2 -0
- package/dist/client/_nuxt/jkwjqiby.js +17 -0
- package/dist/client/_nuxt/{launch-page.vue-e8wf8ys4.js → launch-page.vue-qpalyfg3.js} +1 -1
- package/dist/client/_nuxt/{modules-nrbs5krb.js → modules-djo3gmhk.js} +1 -1
- package/dist/client/_nuxt/nbadge-gvjrabwx.js +1 -0
- package/dist/client/_nuxt/{ncheckbox.vue-l2k1h6ve.js → ncheckbox.vue-cse1wr02.js} +1 -1
- package/dist/client/_nuxt/{ncode-block.vue-ljovji7o.js → ncode-block.vue-d0rio4gb.js} +1 -1
- package/dist/client/_nuxt/{ndrawer.vue-odr74t3a.js → ndrawer.vue-lv2j51sl.js} +1 -1
- package/dist/client/_nuxt/{ndropdown.vue-d8gjde8j.js → ndropdown.vue-nrkf5gj7.js} +1 -1
- package/dist/client/_nuxt/{nicon-title.vue-fq2kswl5.js → nicon-title.vue-jza46fsn.js} +1 -1
- package/dist/client/_nuxt/{nlink.vue-mu7v8hkl.js → nlink.vue-n7487xrt.js} +1 -1
- package/dist/client/_nuxt/{nmarkdown.vue-e812br8q.js → nmarkdown.vue-ly8z22rg.js} +1 -1
- package/dist/client/_nuxt/{nnavbar.vue-cui00yzn.js → nnavbar.vue-h0vrbdpc.js} +1 -1
- package/dist/client/_nuxt/none-o20iaxfc.js +1 -0
- package/dist/client/_nuxt/{nsection-block-by6a97rc.js → nsection-block-c30h9a7p.js} +1 -1
- package/dist/client/_nuxt/{nselect-tabs.vue-h57lk8oq.js → nselect-tabs.vue-kva09wsa.js} +1 -1
- package/dist/client/_nuxt/{nselect.vue-o9535zm9.js → nselect.vue-97v3ez5s.js} +1 -1
- package/dist/client/_nuxt/{open-graph-jfffgm0b.js → open-graph-oo7uwhvx.js} +1 -1
- package/dist/client/_nuxt/{overview-fr4lujbd.js → overview-myl8hwsb.js} +1 -1
- package/dist/client/_nuxt/{pages-v55al6iq.js → pages-b55hg92j.js} +1 -1
- package/dist/client/_nuxt/{payload-k23f9y5i.js → payload-i4d3og4m.js} +1 -1
- package/dist/client/_nuxt/pinia-d820aun4.js +1 -0
- package/dist/client/_nuxt/{plugins-i3nyy192.js → plugins-fyuck7jc.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs-htuinotq.js → runtime-configs-elwu7luj.js} +1 -1
- package/dist/client/_nuxt/{server-route-inputs.vue-jclohawt.js → server-route-inputs.vue-ot4rib01.js} +1 -1
- package/dist/client/_nuxt/{server-routes-nyupsiob.js → server-routes-egyll002.js} +1 -1
- package/dist/client/_nuxt/{server-tasks-d2nz3bwa.js → server-tasks-lubqj3k2.js} +1 -1
- package/dist/client/_nuxt/{settings-jsm8nj7g.js → settings-k355sbsm.js} +1 -1
- package/dist/client/_nuxt/{stacktrace-list.vue-oxan522f.js → stacktrace-list.vue-ojf2cyfb.js} +1 -1
- package/dist/client/_nuxt/{state-components-dv3dhu8a.js → state-components-i6bpejw5.js} +1 -1
- package/dist/client/_nuxt/{state-editor.vue-j11xh7fe.js → state-editor.vue-iy8ydlol.js} +1 -1
- package/dist/client/_nuxt/{state-modules-orutulfy.js → state-modules-g393ybfq.js} +1 -1
- package/dist/client/_nuxt/{storage-zp9xrqbk.js → storage-pbps5f8y.js} +1 -1
- package/dist/client/_nuxt/{terminals-dfrfpyoy.js → terminals-dmw85v8a.js} +1 -1
- package/dist/client/_nuxt/{timeline-ls3qb8s6.js → timeline-ilgburvu.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime-e1m6uiw9.js → unocss-runtime-dmm6yugz.js} +1 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-ivrsfd8a.js +3818 -0
- package/dist/client/_nuxt/vendor/{unocss-pcs99qrd.js → unocss-hwbthrao.js} +2 -2
- package/dist/client/_nuxt/{virtual-files-ds9qrugv.js → virtual-files-b7capdoa.js} +1 -1
- package/dist/client/_nuxt/{vue-virtual-scroller.esm-f2cudvpd.js → vue-virtual-scroller.esm-lq6f9fzq.js} +1 -1
- package/dist/client/index.html +14 -14
- package/dist/module.json +1 -1
- package/package.json +19 -20
- package/dist/client/_nuxt/__blank-de0hkpjk.js +0 -1
- package/dist/client/_nuxt/builds/meta/5003b743-079f-451a-b99c-cdb84514255f.json +0 -1
- package/dist/client/_nuxt/components-tree-i1mmqk7m.js +0 -1
- package/dist/client/_nuxt/error-404.css-jbmkerk1.css +0 -1
- package/dist/client/_nuxt/error-500.css-ey2nctyr.css +0 -1
- package/dist/client/_nuxt/full-7ba5ozdw.js +0 -1
- package/dist/client/_nuxt/ihidfc88.js +0 -17
- package/dist/client/_nuxt/index-h8fhwggc.js +0 -2
- package/dist/client/_nuxt/nbadge-m65yc08a.js +0 -1
- package/dist/client/_nuxt/none-dy0tdypp.js +0 -1
- package/dist/client/_nuxt/pinia-dpghhgu2.js +0 -1
- package/dist/client/_nuxt/vendor/json-editor-vue-nhjd65sz.js +0 -3818
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const Ye=/"(?:_|\\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*:/,Xe=/"(?: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*:/,Ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function et(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){tt(e);return}return t}function tt(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rt(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ye.test(e)||Xe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,et)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const nt=/#/g,st=/&/g,ot=/\//g,it=/=/g,ue=/\+/g,at=/%5e/gi,ct=/%60/gi,lt=/%7c/gi,ft=/%20/gi;function ut(e){return encodeURI(""+e).replace(lt,"|")}function ae(e){return ut(typeof e=="string"?e:JSON.stringify(e)).replace(ue,"%2B").replace(ft,"+").replace(nt,"%23").replace(st,"%26").replace(ct,"`").replace(at,"^").replace(ot,"%2F")}function te(e){return ae(e).replace(it,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ht(e){return Q(e.replace(ue," "))}function pt(e){return Q(e.replace(ue," "))}function dt(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=ht(n[1]);if(s==="__proto__"||s==="constructor")continue;const i=pt(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 mt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${te(e)}=${ae(r)}`).join("&"):`${te(e)}=${ae(t)}`:te(e)}function gt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>mt(t,e[t])).filter(Boolean).join("&")}const yt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,wt=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bt=/^([/\\]\s*){2,}[^/\\]/,St=/^[\s\0]*(blob|data|javascript|vbscript):$/i,vt=/\/$|\/\?|\/#/,_t=/^\.?\//;function he(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?yt.test(e):wt.test(e)||(t.acceptRelative?bt.test(e):!1)}function nn(e){return!!e&&St.test(e)}function ce(e="",t){return t?vt.test(e):e.endsWith("/")}function Le(e="",t){if(!t)return(ce(e)?e.slice(0,-1):e)||"/";if(!ce(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");s>=0&&(r=e.slice(0,s),n=e.slice(s));const[i,...l]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+n}function le(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ce(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");if(s>=0&&(r=e.slice(0,s),n=e.slice(s),!r))return n;const[i,...l]=r.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+n}function $t(e=""){return e.startsWith("/")}function me(e=""){return $t(e)?e:"/"+e}function Et(e,t){if(ke(t)||he(e))return e;const r=Le(t);return e.startsWith(r)?e:xt(r,e)}function sn(e,t){if(ke(t))return e;const r=Le(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function At(e,t){const r=Ot(e),n={...dt(r.search),...t};return r.search=gt(n),Rt(r)}function ke(e){return!e||e==="/"}function Ct(e){return e&&e!=="/"}function xt(e,...t){let r=e||"";for(const n of t.filter(s=>Ct(s)))if(r){const s=n.replace(_t,"");r=le(r)+s}else r=n;return r}function on(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let s=0;for(const l of r)if(!(!l||l==="/")){for(const[a,c]of l.split(t).entries())if(!(!c||c===".")){if(c===".."){if(n.length===1&&he(n[0]))continue;n.pop(),s--;continue}if(a===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+c;continue}n.push(c),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 an(e,t,r={}){return r.trailingSlash||(e=le(e),t=le(t)),r.leadingSlash||(e=me(e),t=me(t)),r.encoding||(e=Q(e),t=Q(t)),e===t}const Ie=Symbol.for("ufo:protocolRelative");function Ot(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,f,d=""]=r;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!he(e,{acceptRelative:!0}))return ge(e);const[,n="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:o}=ge(a);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:l,pathname:c,search:u,hash:o,[Ie]:!n}}function ge(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Rt(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[Ie]?(e.protocol||"")+"//":"")+s+i+t+r+n}class jt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Tt(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>",l=`${s}: ${i}${t?` ${t}`:""}`,a=new jt(l,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const Pt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ye(e="GET"){return Pt.has(e.toUpperCase())}function Mt(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 Lt=new Set(["image/svg","application/xml","application/xhtml","application/html"]),kt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function It(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return kt.test(t)?"json":Lt.has(t)||t.startsWith("text/")?"text":"blob"}function Nt(e,t,r,n){const s=Ft(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 Ft(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 W(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Dt=new Set([408,409,425,429,500,502,503,504]),zt=new Set([101,204,205,304]);function Ne(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let o;typeof a.options.retry=="number"?o=a.options.retry:o=ye(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Dt.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),i(a.request,{...a.options,retry:o-1})}}const u=Tt(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const o={request:c,options:Nt(c,u,e.defaults,r),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await W(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Et(o.request,o.options.baseURL)),o.options.query&&(o.request=At(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&&ye(o.options.method)&&(Mt(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 f;if(!o.options.signal&&o.options.timeout){const m=new n;f=setTimeout(()=>{const v=new Error("[TimeoutError]: The operation was aborted due to timeout");v.name="TimeoutError",v.code=23,m.abort(v)},o.options.timeout),o.options.signal=m.signal}try{o.response=await t(o.request,o.options)}catch(m){return o.error=m,o.options.onRequestError&&await W(o,o.options.onRequestError),await s(o)}finally{f&&clearTimeout(f)}if((o.response.body||o.response._bodyInit)&&!zt.has(o.response.status)&&o.options.method!=="HEAD"){const m=(o.options.parseResponse?"json":o.options.responseType)||It(o.response.headers.get("content-type")||"");switch(m){case"json":{const v=await o.response.text(),y=o.options.parseResponse||rt;o.response._data=y(v);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[m]()}}return o.options.onResponse&&await W(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await W(o,o.options.onResponseError),await s(o)):o.response},l=async function(c,u){return(await i(c,u))._data};return l.raw=i,l.native=(...a)=>t(...a),l.create=(a={},c={})=>Ne({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),l}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")}(),Vt=K.fetch?(...e)=>K.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Ut=K.Headers,Bt=K.AbortController,Wt=Ne({fetch:Vt,Headers:Ut,AbortController:Bt}),qt=Wt,G="default",fe="preflights",Ht="shortcuts",Gt="imports",Jt={[Gt]:-200,[fe]:-100,[Ht]:-10,[G]:0},Qt=/[\\:]?[\s'"`;{}]+/g;function Kt(e){return e.split(Qt)}const Yt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Kt(e)}};function M(e=[]){return Array.isArray(e)?e:[e]}function F(e){return Array.from(new Set(e))}function we(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function T(e){return typeof e=="string"}var Xt=Object.defineProperty,Zt=(e,t,r)=>t in e?Xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,er=(e,t,r)=>(Zt(e,t+"",r),r);class Fe extends Set{constructor(t){super(t),er(this,"_map"),this._map??(this._map=new Map)}add(t){return this._map??(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,r){return this._map.set(t,r),super.add(t)}}function re(e){return e instanceof Fe}function tr(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 ne=tr;function rr(e){return typeof e=="function"?{match:e}:e}function be(e){return e.length===3}function se(e){return e!=null}function nr(){}var sr=Object.defineProperty,or=(e,t,r)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t,r)=>(or(e,t+"",r),r);class ar{constructor(){ir(this,"_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 cr 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 U(e){return T(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function lr(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>U(t)):[e]:[U(e)]}function fr(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 oe(e){return e==null?"":fr(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function q(e){return e&&typeof e=="object"&&!Array.isArray(e)}function De(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 q(n)&&q(s)&&Object.keys(s).forEach(l=>{q(n[l])&&q(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?i[l]=De(n[l],s[l],r):Object.assign(i,{[l]:s[l]})}),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 ur(e){return T(e[0])}function hr(e){return T(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 dr(e,t=["-",":"],r=5){const n=pr(t);let s,i=e.toString();const l=new Set,a=new Map;do s=!1,i=i.replace(n,(u,o,f,d,m)=>{if(!t.includes(f))return u;s=!0,l.add(o+f);const v=m+o.length+f.length+1,y={length:u.length,items:[]};a.set(m,y);for(const g of[...d.matchAll(/\S+/g)]){const O=v+g.index;let S=a.get(O)?.items;S?a.delete(O):S=[{offset:O,length:g[0].length,className:g[0]}];for(const w of S)w.className=w.className==="~"?o:w.className.replace(/^(!?)(.*)/,`$1${o}${f}$2`),y.items.push(w)}return"$".repeat(u.length)}),r-=1;while(s&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[o,f]of a)c+=e.slice(u,o),c+=f.items.map(d=>d.className).join(" "),u=o+f.length;c+=e.slice(u)}else{c=e;for(const[u,o]of a)c.overwrite(u,u+o.length,o.items.map(f=>f.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:a,get expanded(){return c.toString()}}}function mr(e,t=["-",":"],r=5){const n=dr(e,t,r);return typeof e=="string"?n.expanded:e}const Se=new Set;function ze(e){Se.has(e)||(console.warn("[unocss]",e),Se.add(e))}function Ve(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ve="_uno_resolved";async function gr(e){let t=typeof e=="function"?await e():await e;if(ve in t)return t;t={...t},Object.defineProperty(t,ve,{value:!0,enumerable:!1});const r=t.shortcuts?Ve(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=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function Ue(e){const t=await gr(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(M).flatMap(Ue))).flat();return[t,...r]}function yr(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const s=[],i=[],l=[];for(const c of e){if(c.pipeline===!1){n=!0;break}else c.pipeline?.include&&t.push(c.pipeline.include),c.pipeline?.exclude&&r.push(c.pipeline.exclude);c.filesystem&&s.push(c.filesystem),c.inline&&i.push(c.inline),c.plain&&l.push(c.plain)}const a={pipeline:n?!1:{include:F($e(...t)),exclude:F($e(...r))}};return s.length&&(a.filesystem=F(s.flat())),i.length&&(a.inline=F(i.flat())),l.length&&(a.plain=F(l.flat())),a}async function _e(e={},t={}){const r=Object.assign({},t,e),n=we((await Promise.all((r.presets||[]).flatMap(M).flatMap(Ue))).flat(),(p,h)=>p.name===h.name),s=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=[...s,r],l=[...i].reverse(),a=Object.assign({},Jt,...i.map(p=>p.layers));function c(p){return F(i.flatMap(h=>M(h[p]||[])))}const u=c("extractors");let o=l.find(p=>p.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Yt),o&&!u.includes(o)&&u.unshift(o),u.sort((p,h)=>(p.order||0)-(h.order||0));const f=c("rules"),d={},m=f.length,v=f.filter(p=>ur(p)?(M(p[2]?.prefix||"").forEach(b=>{d[b+p[0]]=p}),!1):!0).reverse();let y=wr(i.map(p=>p.theme));const g=c("extendTheme");for(const p of g)y=p(y)||y;const O={templates:F(i.flatMap(p=>M(p.autocomplete?.templates))),extractors:i.flatMap(p=>M(p.autocomplete?.extractors)).sort((p,h)=>(p.order||0)-(h.order||0)),shorthands:br(i.map(p=>p.autocomplete?.shorthands||{}))};let S=c("separators");S.length||(S=[":","-"]);const w=c("content"),E=yr(w),A={mergeSelectors:!0,warn:!0,sortLayers:p=>p,...r,blocklist:c("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:y,rules:f,rulesSize:m,rulesDynamic:v,rulesStaticMap:d,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:O,variants:c("variants").map(rr).sort((p,h)=>(p.order||0)-(h.order||0)),shortcuts:Ve(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:S,details:r.details??r.envMode==="dev",content:E,transformers:we(c("transformers"),(p,h)=>p.name===h.name)};for(const p of i)p?.configResolved?.(A);return A}function wr(e){return e.map(t=>t?J(t):{}).reduce((t,r)=>De(t,r),{})}function br(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 $e(...e){return e.flatMap(Sr)}function Sr(e){return Array.isArray(e)?e:e?[e]:[]}const vr="0.65.0";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)}}}var $r=Object.defineProperty,Er=(e,t,r)=>t in e?$r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t,r)=>(Er(e,typeof t!="symbol"?t+"":t,r),r);const z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class pe{constructor(t={},r={}){this.userConfig=t,this.defaults=r,V(this,"version",vr),V(this,"_cache",new Map),V(this,"config"),V(this,"blocked",new Set),V(this,"parentOrders",new Map),V(this,"activatedRules",new Set),V(this,"events",_r())}static async create(t={},r={}){const n=new pe(t,r);return n.config=await _e(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 _e(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 l=await i.extract?.(s);if(l)if(re(l)&&re(n))for(const a of l)n.setCount(a,n.getCount(a)+l.getCount(a));else for(const a of l)n.add(a)}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);let s=t;for(const c of this.config.preprocess)s=c(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(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this._cache.set(n,null);return}const l=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const o=await this.expandShortcut(u.currentSelector,u);return o?await this.stringifyShortcuts(u.variantMatch,u,o[0],o[1]):(await this.parseUtil(u.variantMatch,u))?.map(d=>this.stringifyUtil(d,u)).filter(se)},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a?.length)return this._cache.set(n,a),a;this._cache.set(n,null)}async generate(t,r={}){const{id:n,scope:s,preflights:i=!0,safelist:l=!0,minify:a=!1,extendedInfo:c=!1}=r,u=T(t)?await this.applyExtractors(t,n,c?new Fe:new Set):Array.isArray(t)?new Set(t):t;if(l){const h={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(h):b).forEach(b=>{u.has(b)||u.add(b)})}const o=a?"":`
|
|
2
|
-
`,f=new Set([G]),d=c?new Map:new Set,m=new Map;let v={};const y=Array.from(u).map(async h=>{if(d.has(h))return;const b=await this.parseToken(h);if(b!=null){d instanceof Map?d.set(h,{data:b,count:re(u)?u.getCount(h):-1}):d.add(h);for(const $ of b){const L=$[3]||"",k=$[4]?.layer;m.has(L)||m.set(L,[]),m.get(L).push($),k&&f.add(k)}}});await Promise.all(y),await(async()=>{if(!i)return;const h={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:$=fe})=>{f.add($),b.add($)}),v=Object.fromEntries(await Promise.all(Array.from(b).map(async $=>{const k=(await Promise.all(this.config.preflights.filter(I=>(I.layer||fe)===$).map(async I=>await I.getCSS(h)))).filter(Boolean).join(o);return[$,k]})))})();const g=this.config.sortLayers(Array.from(f).sort((h,b)=>(this.config.layers[h]??0)-(this.config.layers[b]??0)||h.localeCompare(b))),O={},S=this.config.outputToCssLayers,w=h=>{let b=h;return typeof S=="object"&&(b=S.cssLayerName?.(h)),b===null?null:b??h},E=(h=G)=>{if(O[h])return O[h];let b=Array.from(m).sort((k,I)=>(this.parentOrders.get(k[0])??0)-(this.parentOrders.get(I[0])??0)||k[0]?.localeCompare(I[0]||"")||0).map(([k,I])=>{const _=I.length,x=I.filter(C=>(C[4]?.layer||G)===h).sort((C,P)=>C[0]-P[0]||(C[4]?.sort||0)-(P[4]?.sort||0)||C[5]?.currentSelector?.localeCompare(P[5]?.currentSelector??"")||C[1]?.localeCompare(P[1]||"")||C[2]?.localeCompare(P[2]||"")||0).map(([,C,P,,B,,Z])=>[[[(C&&xr(C,s))??"",B?.sort??0]],P,!!(Z??B?.noMerge)]);if(!x.length)return;const R=x.reverse().map(([C,P,B],Z)=>{if(!B&&this.config.mergeSelectors)for(let D=Z+1;D<_;D++){const N=x[D];if(N&&!N[2]&&(C&&N[0]||C==null&&N[0]==null)&&N[1]===P)return C&&N[0]&&N[0].push(...C),null}const ee=C?F(C.sort((D,N)=>D[1]-N[1]||D[0]?.localeCompare(N[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return ee.length?`${ee.join(`,${o}`)}{${P}}`:P}).filter(Boolean).reverse().join(o);if(!k)return R;const j=k.split(" $$ ");return`${j.join("{")}{${o}${R}${o}${"}".repeat(j.length)}`}).filter(Boolean).join(o);i&&(b=[v[h],b].filter(Boolean).join(o));let $;S&&b&&($=w(h),$!==null&&(b=`@layer ${$}{${o}${b}${o}}`));const L=a?"":`/* layer: ${h}${$&&$!==h?`, alias: ${$}`:""} */${o}`;return O[h]=b?L+b:""},A=(h=g,b)=>{const $=h.filter(L=>!b?.includes(L));return[S&&$.length>0?`@layer ${$.map(w).filter(se).join(", ")};`:void 0,...$.map(L=>E(L)||"")].filter(Boolean).join(o)};return{get css(){return A()},layers:g,matched:d,getLayers:A,getLayer:E,setLayer:async(h,b)=>{const $=await b(E(h));return O[h]=$,$}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let l=!0;const[,,a,c]=i;for(;l;){l=!1;const u=i[1];for(const o of this.config.variants){if(!o.multiPass&&c.has(o))continue;let f=await o.match(u,n);if(f){if(T(f)){if(f===u)continue;f={matcher:f}}if(Array.isArray(f)){if(!f.length)continue;if(f.length===1)f=f[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=f.map(m=>{const v=m.matcher??u,y=[m,...a],g=new Set(c);return g.add(o),[i[0],v,y,g]});return(await Promise.all(d.map(m=>s(m)))).flat()}}i[1]=f.matcher??u,a.unshift(f),c.add(o),l=!0;break}}if(!l)break;if(a.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((u,o)=>(u.order||0)-(o.order||0)).reduceRight((u,o)=>f=>{const d=o.body?.(f.entries)||f.entries,m=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??Rr)({...f,entries:d,selector:o.selector?.(f.selector,d)||f.selector,parent:m[0]||f.parent,parentOrder:m[1]||f.parentOrder,layer:o.layer||f.layer,sort:o.sort||f.sort},u)},u=>u)({prefix:"",selector:Or(n),pseudo:"",entries:t[2]}),{parent:l,parentOrder:a}=i;l!=null&&a!=null&&this.parentOrders.set(l,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:l,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const s=U(r);if(T(s))return s;const{selector:i,entries:l,parent:a}=this.applyVariants([0,n||t.rawSelector,s,void 0,t.variantHandlers]),c=`${i}{${oe(l)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,s){const i=T(t)?await this.matchVariants(t):[t],l=async([c,u,o])=>{this.config.details&&(r.rules=r.rules??[]);const f=this.config.rulesStaticMap[u];if(f&&f[1]&&(n||!f[2]?.internal)){r.generator.activatedRules.add(f),this.config.details&&r.rules.push(f);const m=this.config.rules.indexOf(f),v=U(f[1]),y=f[2];return T(v)?[[m,v,y]]:[[m,c,v,y,o]]}r.variantHandlers=o;const{rulesDynamic:d}=this.config;for(const m of d){const[v,y,g]=m;if(g?.internal&&!n)continue;let O=u;if(g?.prefix){const A=M(g.prefix);if(s){const p=M(s);if(!A.some(h=>p.includes(h)))continue}else{const p=A.find(h=>u.startsWith(h));if(p==null)continue;O=u.slice(p.length)}}const S=O.match(v);if(!S)continue;let w=await y(S,r);if(!w)continue;if(r.generator.activatedRules.add(m),this.config.details&&r.rules.push(m),typeof w!="string")if(Symbol.asyncIterator in w){const A=[];for await(const p of w)p&&A.push(p);w=A}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const E=lr(w).filter(A=>A.length);if(E.length){const A=this.config.rules.indexOf(m);return E.map(p=>{if(T(p))return[A,p,g];let h=o,b=g;for(const $ of p)$[0]===z.variants?h=[...M($[1]),...h]:$[0]===z.parent?h=[{parent:$[1]},...h]:$[0]===z.selector?h=[{selector:$[1]},...h]:$[0]===z.layer?h=[{layer:$[1]},...h]:$[0]===z.sort&&(b={...b,sort:$[1]});return[A,c,p,b,h]})}}},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(be(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:l,sort:a,noMerge:c}=this.applyVariants(t),u=oe(s);if(!u)return;const{layer:o,sort:f,...d}=t[3]??{},m={...d,layer:l??o,sort:a??f};return[t[0],n,u,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:nr;let i,l;for(const a of this.config.shortcuts){let c=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(f=>t.startsWith(f));if(o==null)continue;c=t.slice(o.length)}if(hr(a)){if(a[0]===c){i=i||a[2],l=a[1],s(a);break}}else{const u=c.match(a[0]);if(u&&(l=a[1](u,r)),l){i=i||a[2],s(a);break}}}if(l&&(l=M(l).map(a=>T(a)?mr(a.trim()).split(/\s+/g):a).flat()),!l){const a=T(t)?await this.matchVariants(t):[t];for(const c of a){const[u,o]=c;if(u!==o){const f=await this.expandShortcut(o,r,n-1);f&&(l=f[0].map(d=>T(d)?u.replace(o,d):d))}}}if(l)return[(await Promise.all(l.map(async a=>(T(a)?(await this.expandShortcut(a,r,n-1))?.[0]:void 0)||[a]))).flat(1).filter(a=>!!a),i]}async stringifyShortcuts(t,r,n,s={layer:this.config.shortcutsLayer}){const i=new cr,l=(await Promise.all(F(n).map(async o=>{const f=T(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",U(o),void 0,[]]];return!f&&this.config.warn&&ze(`unmatched utility "${o}" in shortcut "${t[1]}"`),f||[]}))).flat(1).filter(Boolean).sort((o,f)=>o[0]-f[0]),[a,,c]=t,u=[];for(const o of l){if(be(o)){u.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:f,entries:d,parent:m,sort:v,noMerge:y,layer:g}=this.applyVariants(o,[...o[4],...c],a);i.getFallback(g??s.layer,new ar).getFallback(f,m,[[],o[0]])[0].push([d,!!(y??o[3]?.noMerge),v??0])}return u.concat(i.flatMap((o,f)=>o.map(([d,m],v,y)=>{const g=(S,w,E)=>{const A=Math.max(...E.map(h=>h[1])),p=E.map(h=>h[0]);return(S?[p.flat(1)]:p).map(h=>{const b=oe(h);if(b)return[m,v,b,y,{...s,noMerge:w,sort:A,layer:f},r,void 0]})};return[[d.filter(([,S])=>S).map(([S,,w])=>[S,w]),!0],[d.filter(([,S])=>!S).map(([S,,w])=>[S,w]),!1]].map(([S,w])=>[...g(!1,w,S.filter(([E])=>E.some(A=>A[0]===z.shortcutsNoMerge))),...g(!0,w,S.filter(([E])=>E.every(A=>A[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):T(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):T(s)?s===t:s.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Ar(e,t){return await pe.create(e,t)}const Be=/\s\$\$\s+/g;function Cr(e){return Be.test(e)}function xr(e,t){return Cr(e)?e.replace(Be,t?` ${t} `:" "):t?`${t} ${e}`:e}const Ee=/^\[(.+?)(~?=)"(.*)"\]$/;function Or(e){return Ee.test(e)?e.replace(Ee,(t,r,n,s)=>`[${ne(r)}${n}"${ne(s)}"]`):`.${ne(e)}`}function Rr(e,t){return t(e)}var Ae={};const jr=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),We=Object.freeze({...jr,...Y}),Tr=Object.freeze({...We,body:"",hidden:!1}),Pr=Object.freeze({width:null,height:null}),qe=Object.freeze({...Pr,...Y});function Mr(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 Ce(e,t){const r=Mr(e,t);for(const n in Tr)n in Y?n in e&&!(n in r)&&(r[n]=Y[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Lr(e,t){const r=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);function i(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const a=n[l]&&n[l].parent,c=a&&i(a);c&&(s[l]=[a].concat(c))}return s[l]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function xe(e,t,r){const n=e.icons,s=e.aliases||Object.create(null);let i={};function l(a){i=Ce(n[a]||s[a],i)}return l(t),r.forEach(l),Ce(e,i)}function kr(e,t){if(e.icons[t])return xe(e,t,[]);const r=Lr(e,[t])[t];return r?xe(e,t,r):null}const Ir=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Nr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function X(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(Ir);if(n===null||!n.length)return e;const s=[];let i=n.shift(),l=Nr.test(i);for(;;){if(l){const a=parseFloat(i);isNaN(a)?s.push(i):s.push(Math.ceil(a*t*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");l=!l}}function Fr(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 l=e.indexOf(">",i);if(l===-1)break;r+=e.slice(s+1,i).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:r,content:e}}function Dr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function zr(e,t,r){const n=Fr(e);return Dr(n.defs,t+n.content+r)}const de=e=>e==="unset"||e==="undefined"||e==="none";function Vr(e,t){const r={...We,...e},n={...qe,...t},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(y=>{const g=[],O=y.hFlip,S=y.vFlip;let w=y.rotate;O?S?w+=2:(g.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),g.push("scale(-1 1)"),s.top=s.left=0):S&&(g.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),g.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,g.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:g.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:E=s.width/2+s.left,g.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)),g.length&&(i=zr(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const l=n.width,a=n.height,c=s.width,u=s.height;let o,f;l===null?(f=a===null?"1em":a==="auto"?u:a,o=X(f,c/u)):(o=l==="auto"?c:l,f=a===null?X(o,u/c):a==="auto"?u:a);const d={},m=(y,g)=>{de(g)||(d[y]=g.toString())};m("width",o),m("height",f);const v=[s.left,s.top,c,u];return d.viewBox=v.join(" "),{attributes:d,viewBox:v,body:i}}function Ur(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Oe(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" ')),Ur(t)}function Br(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 Wr=/\swidth\s*=\s*["']([\w.]+)["']/,qr=/\sheight\s*=\s*["']([\w.]+)["']/,ie=/<svg\s+/;function Hr(e,t,r){const n=e.slice(0,e.indexOf(">")),s=(i,l)=>{const a=l.exec(n),c=a!=null,u=t[i];return!u&&!de(u)&&(typeof r=="number"?r>0&&(t[i]=X(a?.[1]??"1em",r)):a&&(t[i]=a[1])),c};return[s("width",Wr),s("height",qr)]}async function He(e,t,r,n,s,i){const{scale:l,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:u}=n?.customizations??{},o=await s?.()??{};await u?.(t,r,o),Object.keys(c).forEach(y=>{const g=c[y];g!=null&&(o[y]=g)}),i?.(o);const[f,d]=Hr(e,o,l);a&&(!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 m=Object.keys(o).map(y=>y==="width"&&f||y==="height"&&d?null:`${y}="${o[y]}"`).filter(y=>y!=null);if(m.length&&(e=e.replace(ie,`<svg ${m.join(" ")} `)),n){const{defaultStyle:y,defaultClass:g}=n;g&&!e.includes("class=")&&(e=e.replace(ie,`<svg class="${g}" `)),y&&!e.includes("style=")&&(e=e.replace(ie,`<svg style="${y}" `))}const v=n?.usedProps;return v&&(Object.keys(c).forEach(y=>{const g=o[y];g!=null&&(v[y]=g)}),typeof o.width<"u"&&o.width!==null&&(v.width=o.width),typeof o.height<"u"&&o.height!==null&&(v.height=o.height)),e}async function Re(e,t,r,n){let s;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:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,t,r):s,s.startsWith("<svg")?await He(n?.customizations?.trimCustomSvg===!0?Br(s):s,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),s)}}async function Ge(e,t,r,n){let s;const{customize:i}=n?.customizations??{};for(const l of r)if(s=kr(e,l),s){let a={...qe};typeof i=="function"&&(s=Object.assign({},s),a=i(a,s,`${t}:${l}`)??a);const{attributes:{width:c,height:u,...o},body:f}=Vr(s,a),d=n?.scale;return await He(`<svg >${f}</svg>`,t,l,n,()=>({...o}),m=>{const v=(y,g)=>{const O=m[y];let S;if(!de(O)){if(O)return;typeof d=="number"?d&&(S=X(g??"1em",d)):S=g}S?m[y]=S:delete m[y]};v("width",c),v("height",u)})}}const Je=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 Re(()=>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 Ge(s,e,i,r)}}}else return await Re(n,e,t,r)};function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jr=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","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","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","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","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","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","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"];const Qe=Gr(Jr),Qr=3;function Kr(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,collections:l,extraProperties:a={},customizations:c={},autoInstall:u=!1,collectionsNodeResolvePath:o,layer:f="icons",unit:d,processor:m}=t,v=Yr(),y={addXmlNs:!0,scale:r,customCollections:l,autoInstall:u,cwd:o,warn:void 0,customizations:{...c,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(O,S,w){await c.iconCustomizer?.(O,S,w),d&&(w.width||(w.width=`${r}${d}`),w.height||(w.height=`${r}${d}`))}}};let g;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Oe,parseIconWithLoader:je},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async O=>{let[S,w,E=n]=O;g=g||await e(t);const A={},p=await je(w,g,{...y,usedProps:A});if(!p){i&&!v.isESLint&&ze(`failed to load icon "${S}"`);return}let h;const b=`url("data:image/svg+xml;utf8,${Oe(p.svg)}")`;return E==="auto"&&(E=p.svg.includes("currentColor")?"mask":"bg"),E==="mask"?h={"--un-icon":b,"-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",...A}:h={background:`${b} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...A},m?.(h,{...p,icon:p.name,mode:E}),h},{layer:f,prefix:s}]]}}}function Ke(e,t){const r=new Map;function n(s){if(Qe.includes(s))return r.has(s)||r.set(s,e(`${t}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,l)=>{let a=await Je(s,i,l);if(a)return a;const c=await n(s);if(c){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Ge(c,s,u,l)}return a}}function Yr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Ae.VSCODE_CWD,r=e&&!!Ae.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function je(e,t,r={}){let n="",s="",i;const l=[...Qe,...Object.keys(r.customCollections||{})];if(e.includes(":")){if([n,s]=e.split(":"),!l.includes(n))return;i=await t(n,s,r)}else{const a=e.split(/-/g);for(let c=Qr;c>=1&&(n=a.slice(0,c).join("-"),!(!!l.includes(n)&&(s=a.slice(c).join("-"),i=await t(n,s,r),i)));c--);}if(i)return{collection:n,name:s,svg:i}}function Xr(e){return Ke(qt,e)}const cn=Kr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ke(t,r):r?Xr(r):Je});function Zr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Te(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Pe(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Me=["Webkit","Moz","ms"];function en(e){const t={};function r(n){const s=t[n];if(s)return s;let i=Zr(n);if(i!=="filter"&&i in e)return t[n]=Pe(i);i=Te(i);for(let l=0;l<Me.length;l++){const a=`${Me[l]}${i}`;if(a in e)return t[n]=Pe(Te(a))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function tn(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function ln(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),l=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(l.postprocess=M(l.postprocess)).unshift(en(r.createElement("div").style)),i.configResolved?.(s,l);const c=await Ar(s,l),u=_=>i.inject?i.inject(_):n().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,f=new Map;let d=!0;const m=new Set;let v,y,g=[];const O=()=>new Promise(_=>{g.push(_),y!=null&&clearTimeout(y),y=setTimeout(()=>E().then(()=>{const x=g;g=[],x.forEach(R=>R())}),0)});function S(_,x=!1){if(_.nodeType!==1)return;const R=_;R.hasAttribute(a)&&R.removeAttribute(a),x&&R.querySelectorAll(`[${a}]`).forEach(j=>{j.removeAttribute(a)})}function w(_,x){let R=f.get(_);if(!R)if(R=r.createElement("style"),R.setAttribute("data-unocss-runtime-layer",_),f.set(_,R),x==null)u(R);else{const j=w(x),C=j.parentNode;C?C.insertBefore(R,j.nextSibling):u(R)}return R}async function E(){const _=[...m],x=await c.generate(_);return x.layers.reduce((j,C)=>(w(C,j).innerHTML=x.getLayer(C)??"",C),void 0),_.filter(j=>!x.matched.has(j)).forEach(j=>m.delete(j)),{...x,getStyleElement:j=>f.get(j),getStyleElements:()=>f}}async function A(_){const x=m.size;await c.applyExtractors(_,void 0,m),x!==m.size&&await O()}async function p(_=o()){const x=_&&_.outerHTML;x&&(await A(`${x} ${tn(x)}`),S(n()),S(_,!0))}const h=new MutationObserver(_=>{d||_.forEach(async x=>{if(x.target.nodeType!==1)return;const R=x.target;for(const j of f)if(R===j[1])return;if(x.type==="childList")x.addedNodes.forEach(async j=>{if(j.nodeType!==1)return;const C=j;v&&!v(C)||(await A(C.outerHTML),S(C))});else{if(v&&!v(R))return;if(x.attributeName!==a){const j=Array.from(R.attributes).map(P=>P.value?`${P.name}="${P.value}"`:P.name).join(" "),C=`<${R.tagName.toLowerCase()} ${j}>`;await A(C)}S(R)}})});let b=!1;function $(){if(b)return;const _=i.observer?.target?i.observer.target():o();_&&(h.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function L(){i.bypassDefined&&rn(c.blocked),p(),$()}function k(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",L):L()}const I=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(_){T(_)||(_.forEach(x=>m.add(x)),_=""),await A(_)},extractAll:p,inspect(_){v=_},toggleObserver(_){_===void 0?d=!d:d=!!_,!b&&!d&&k()},update:E,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(d=!1,k())}function rn(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{qt as $,xt as a,Le as b,sn as c,rt as d,an as e,le as f,ln as g,he as h,nn as i,on as j,cn as k,dt as p,At as w};
|
|
1
|
+
const Ye=/"(?:_|\\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*:/,Xe=/"(?: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*:/,Ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function et(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){tt(e);return}return t}function tt(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rt(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!Ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ye.test(e)||Xe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,et)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const nt=/#/g,st=/&/g,ot=/\//g,it=/=/g,ue=/\+/g,at=/%5e/gi,ct=/%60/gi,lt=/%7c/gi,ft=/%20/gi;function ut(e){return encodeURI(""+e).replace(lt,"|")}function ae(e){return ut(typeof e=="string"?e:JSON.stringify(e)).replace(ue,"%2B").replace(ft,"+").replace(nt,"%23").replace(st,"%26").replace(ct,"`").replace(at,"^").replace(ot,"%2F")}function te(e){return ae(e).replace(it,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ht(e){return Q(e.replace(ue," "))}function pt(e){return Q(e.replace(ue," "))}function dt(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=ht(n[1]);if(s==="__proto__"||s==="constructor")continue;const i=pt(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 mt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${te(e)}=${ae(r)}`).join("&"):`${te(e)}=${ae(t)}`:te(e)}function gt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>mt(t,e[t])).filter(Boolean).join("&")}const yt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,wt=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,bt=/^([/\\]\s*){2,}[^/\\]/,St=/^[\s\0]*(blob|data|javascript|vbscript):$/i,vt=/\/$|\/\?|\/#/,_t=/^\.?\//;function he(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?yt.test(e):wt.test(e)||(t.acceptRelative?bt.test(e):!1)}function nn(e){return!!e&&St.test(e)}function ce(e="",t){return t?vt.test(e):e.endsWith("/")}function Le(e="",t){if(!t)return(ce(e)?e.slice(0,-1):e)||"/";if(!ce(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");s>=0&&(r=e.slice(0,s),n=e.slice(s));const[i,...l]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+n}function le(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ce(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");if(s>=0&&(r=e.slice(0,s),n=e.slice(s),!r))return n;const[i,...l]=r.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+n}function $t(e=""){return e.startsWith("/")}function me(e=""){return $t(e)?e:"/"+e}function Et(e,t){if(ke(t)||he(e))return e;const r=Le(t);return e.startsWith(r)?e:xt(r,e)}function sn(e,t){if(ke(t))return e;const r=Le(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function At(e,t){const r=Ot(e),n={...dt(r.search),...t};return r.search=gt(n),Rt(r)}function ke(e){return!e||e==="/"}function Ct(e){return e&&e!=="/"}function xt(e,...t){let r=e||"";for(const n of t.filter(s=>Ct(s)))if(r){const s=n.replace(_t,"");r=le(r)+s}else r=n;return r}function on(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let s=0;for(const l of r)if(!(!l||l==="/")){for(const[a,c]of l.split(t).entries())if(!(!c||c===".")){if(c===".."){if(n.length===1&&he(n[0]))continue;n.pop(),s--;continue}if(a===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+c;continue}n.push(c),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 an(e,t,r={}){return r.trailingSlash||(e=le(e),t=le(t)),r.leadingSlash||(e=me(e),t=me(t)),r.encoding||(e=Q(e),t=Q(t)),e===t}const Ie=Symbol.for("ufo:protocolRelative");function Ot(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,f,d=""]=r;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!he(e,{acceptRelative:!0}))return ge(e);const[,n="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:o}=ge(a);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:l,pathname:c,search:u,hash:o,[Ie]:!n}}function ge(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Rt(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[Ie]?(e.protocol||"")+"//":"")+s+i+t+r+n}class jt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Tt(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>",l=`${s}: ${i}${t?` ${t}`:""}`,a=new jt(l,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const Pt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ye(e="GET"){return Pt.has(e.toUpperCase())}function Mt(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 Lt=new Set(["image/svg","application/xml","application/xhtml","application/html"]),kt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function It(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return kt.test(t)?"json":Lt.has(t)||t.startsWith("text/")?"text":"blob"}function Nt(e,t,r,n){const s=Ft(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 Ft(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 B(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Dt=new Set([408,409,425,429,500,502,503,504]),zt=new Set([101,204,205,304]);function Ne(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let o;typeof a.options.retry=="number"?o=a.options.retry:o=ye(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Dt.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(m=>setTimeout(m,d)),i(a.request,{...a.options,retry:o-1})}}const u=Tt(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const o={request:c,options:Nt(c,u,e.defaults,r),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await B(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Et(o.request,o.options.baseURL)),o.options.query&&(o.request=At(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&&ye(o.options.method)&&(Mt(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 f;if(!o.options.signal&&o.options.timeout){const m=new n;f=setTimeout(()=>{const v=new Error("[TimeoutError]: The operation was aborted due to timeout");v.name="TimeoutError",v.code=23,m.abort(v)},o.options.timeout),o.options.signal=m.signal}try{o.response=await t(o.request,o.options)}catch(m){return o.error=m,o.options.onRequestError&&await B(o,o.options.onRequestError),await s(o)}finally{f&&clearTimeout(f)}if((o.response.body||o.response._bodyInit)&&!zt.has(o.response.status)&&o.options.method!=="HEAD"){const m=(o.options.parseResponse?"json":o.options.responseType)||It(o.response.headers.get("content-type")||"");switch(m){case"json":{const v=await o.response.text(),y=o.options.parseResponse||rt;o.response._data=y(v);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[m]()}}return o.options.onResponse&&await B(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await B(o,o.options.onResponseError),await s(o)):o.response},l=async function(c,u){return(await i(c,u))._data};return l.raw=i,l.native=(...a)=>t(...a),l.create=(a={},c={})=>Ne({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),l}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")}(),Vt=K.fetch?(...e)=>K.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Ut=K.Headers,qt=K.AbortController,Bt=Ne({fetch:Vt,Headers:Ut,AbortController:qt}),Wt=Bt,G="default",fe="preflights",Ht="shortcuts",Gt="imports",Jt={[Gt]:-200,[fe]:-100,[Ht]:-10,[G]:0},Qt=/[\\:]?[\s'"`;{}]+/g;function Kt(e){return e.split(Qt)}const Yt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Kt(e)}};function M(e=[]){return Array.isArray(e)?e:[e]}function F(e){return Array.from(new Set(e))}function we(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function T(e){return typeof e=="string"}var Xt=Object.defineProperty,Zt=(e,t,r)=>t in e?Xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,er=(e,t,r)=>(Zt(e,t+"",r),r);class Fe extends Set{constructor(t){super(t),er(this,"_map"),this._map??(this._map=new Map)}add(t){return this._map??(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,r){return this._map.set(t,r),super.add(t)}}function re(e){return e instanceof Fe}function tr(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 ne=tr;function rr(e){return typeof e=="function"?{match:e}:e}function be(e){return e.length===3}function se(e){return e!=null}function nr(){}var sr=Object.defineProperty,or=(e,t,r)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t,r)=>(or(e,t+"",r),r);class ar{constructor(){ir(this,"_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 cr 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 U(e){return T(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function lr(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>U(t)):[e]:[U(e)]}function fr(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 oe(e){return e==null?"":fr(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 De(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(l=>{W(n[l])&&W(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?i[l]=De(n[l],s[l],r):Object.assign(i,{[l]:s[l]})}),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 ur(e){return T(e[0])}function hr(e){return T(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 dr(e,t=["-",":"],r=5){const n=pr(t);let s,i=e.toString();const l=new Set,a=new Map;do s=!1,i=i.replace(n,(u,o,f,d,m)=>{if(!t.includes(f))return u;s=!0,l.add(o+f);const v=m+o.length+f.length+1,y={length:u.length,items:[]};a.set(m,y);for(const g of[...d.matchAll(/\S+/g)]){const O=v+g.index;let S=a.get(O)?.items;S?a.delete(O):S=[{offset:O,length:g[0].length,className:g[0]}];for(const w of S)w.className=w.className==="~"?o:w.className.replace(/^(!?)(.*)/,`$1${o}${f}$2`),y.items.push(w)}return"$".repeat(u.length)}),r-=1;while(s&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[o,f]of a)c+=e.slice(u,o),c+=f.items.map(d=>d.className).join(" "),u=o+f.length;c+=e.slice(u)}else{c=e;for(const[u,o]of a)c.overwrite(u,u+o.length,o.items.map(f=>f.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:a,get expanded(){return c.toString()}}}function mr(e,t=["-",":"],r=5){const n=dr(e,t,r);return typeof e=="string"?n.expanded:e}const Se=new Set;function ze(e){Se.has(e)||(console.warn("[unocss]",e),Se.add(e))}function Ve(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ve="_uno_resolved";async function gr(e){let t=typeof e=="function"?await e():await e;if(ve in t)return t;t={...t},Object.defineProperty(t,ve,{value:!0,enumerable:!1});const r=t.shortcuts?Ve(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=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function Ue(e){const t=await gr(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(M).flatMap(Ue))).flat();return[t,...r]}function yr(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const s=[],i=[],l=[];for(const c of e){if(c.pipeline===!1){n=!0;break}else c.pipeline?.include&&t.push(c.pipeline.include),c.pipeline?.exclude&&r.push(c.pipeline.exclude);c.filesystem&&s.push(c.filesystem),c.inline&&i.push(c.inline),c.plain&&l.push(c.plain)}const a={pipeline:n?!1:{include:F($e(...t)),exclude:F($e(...r))}};return s.length&&(a.filesystem=F(s.flat())),i.length&&(a.inline=F(i.flat())),l.length&&(a.plain=F(l.flat())),a}async function _e(e={},t={}){const r=Object.assign({},t,e),n=we((await Promise.all((r.presets||[]).flatMap(M).flatMap(Ue))).flat(),(p,h)=>p.name===h.name),s=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=[...s,r],l=[...i].reverse(),a=Object.assign({},Jt,...i.map(p=>p.layers));function c(p){return F(i.flatMap(h=>M(h[p]||[])))}const u=c("extractors");let o=l.find(p=>p.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Yt),o&&!u.includes(o)&&u.unshift(o),u.sort((p,h)=>(p.order||0)-(h.order||0));const f=c("rules"),d={},m=f.length,v=f.filter(p=>ur(p)?(M(p[2]?.prefix||"").forEach(b=>{d[b+p[0]]=p}),!1):!0).reverse();let y=wr(i.map(p=>p.theme));const g=c("extendTheme");for(const p of g)y=p(y)||y;const O={templates:F(i.flatMap(p=>M(p.autocomplete?.templates))),extractors:i.flatMap(p=>M(p.autocomplete?.extractors)).sort((p,h)=>(p.order||0)-(h.order||0)),shorthands:br(i.map(p=>p.autocomplete?.shorthands||{}))};let S=c("separators");S.length||(S=[":","-"]);const w=c("content"),E=yr(w),A={mergeSelectors:!0,warn:!0,sortLayers:p=>p,...r,blocklist:c("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:y,rules:f,rulesSize:m,rulesDynamic:v,rulesStaticMap:d,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:O,variants:c("variants").map(rr).sort((p,h)=>(p.order||0)-(h.order||0)),shortcuts:Ve(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:S,details:r.details??r.envMode==="dev",content:E,transformers:we(c("transformers"),(p,h)=>p.name===h.name)};for(const p of i)p?.configResolved?.(A);return A}function wr(e){return e.map(t=>t?J(t):{}).reduce((t,r)=>De(t,r),{})}function br(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 $e(...e){return e.flatMap(Sr)}function Sr(e){return Array.isArray(e)?e:e?[e]:[]}const vr="0.65.1";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)}}}var $r=Object.defineProperty,Er=(e,t,r)=>t in e?$r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,V=(e,t,r)=>(Er(e,typeof t!="symbol"?t+"":t,r),r);const z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class pe{constructor(t={},r={}){this.userConfig=t,this.defaults=r,V(this,"version",vr),V(this,"_cache",new Map),V(this,"config"),V(this,"blocked",new Set),V(this,"parentOrders",new Map),V(this,"activatedRules",new Set),V(this,"events",_r())}static async create(t={},r={}){const n=new pe(t,r);return n.config=await _e(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 _e(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 l=await i.extract?.(s);if(l)if(re(l)&&re(n))for(const a of l)n.setCount(a,n.getCount(a)+l.getCount(a));else for(const a of l)n.add(a)}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);let s=t;for(const c of this.config.preprocess)s=c(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(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this._cache.set(n,null);return}const l=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const o=await this.expandShortcut(u.currentSelector,u);return o?await this.stringifyShortcuts(u.variantMatch,u,o[0],o[1]):(await this.parseUtil(u.variantMatch,u))?.map(d=>this.stringifyUtil(d,u)).filter(se)},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a?.length)return this._cache.set(n,a),a;this._cache.set(n,null)}async generate(t,r={}){const{id:n,scope:s,preflights:i=!0,safelist:l=!0,minify:a=!1,extendedInfo:c=!1}=r,u=T(t)?await this.applyExtractors(t,n,c?new Fe:new Set):Array.isArray(t)?new Set(t):t;if(l){const h={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(h):b).forEach(b=>{u.has(b)||u.add(b)})}const o=a?"":`
|
|
2
|
+
`,f=new Set([G]),d=c?new Map:new Set,m=new Map;let v={};const y=Array.from(u).map(async h=>{if(d.has(h))return;const b=await this.parseToken(h);if(b!=null){d instanceof Map?d.set(h,{data:b,count:re(u)?u.getCount(h):-1}):d.add(h);for(const $ of b){const L=$[3]||"",k=$[4]?.layer;m.has(L)||m.set(L,[]),m.get(L).push($),k&&f.add(k)}}});await Promise.all(y),await(async()=>{if(!i)return;const h={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:$=fe})=>{f.add($),b.add($)}),v=Object.fromEntries(await Promise.all(Array.from(b).map(async $=>{const k=(await Promise.all(this.config.preflights.filter(I=>(I.layer||fe)===$).map(async I=>await I.getCSS(h)))).filter(Boolean).join(o);return[$,k]})))})();const g=this.config.sortLayers(Array.from(f).sort((h,b)=>(this.config.layers[h]??0)-(this.config.layers[b]??0)||h.localeCompare(b))),O={},S=this.config.outputToCssLayers,w=h=>{let b=h;return typeof S=="object"&&(b=S.cssLayerName?.(h)),b===null?null:b??h},E=(h=G)=>{if(O[h])return O[h];let b=Array.from(m).sort((k,I)=>(this.parentOrders.get(k[0])??0)-(this.parentOrders.get(I[0])??0)||k[0]?.localeCompare(I[0]||"")||0).map(([k,I])=>{const _=I.length,x=I.filter(C=>(C[4]?.layer||G)===h).sort((C,P)=>C[0]-P[0]||(C[4]?.sort||0)-(P[4]?.sort||0)||C[5]?.currentSelector?.localeCompare(P[5]?.currentSelector??"")||C[1]?.localeCompare(P[1]||"")||C[2]?.localeCompare(P[2]||"")||0).map(([,C,P,,q,,Z])=>[[[(C&&xr(C,s))??"",q?.sort??0]],P,!!(Z??q?.noMerge)]);if(!x.length)return;const R=x.reverse().map(([C,P,q],Z)=>{if(!q&&this.config.mergeSelectors)for(let D=Z+1;D<_;D++){const N=x[D];if(N&&!N[2]&&(C&&N[0]||C==null&&N[0]==null)&&N[1]===P)return C&&N[0]&&N[0].push(...C),null}const ee=C?F(C.sort((D,N)=>D[1]-N[1]||D[0]?.localeCompare(N[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return ee.length?`${ee.join(`,${o}`)}{${P}}`:P}).filter(Boolean).reverse().join(o);if(!k)return R;const j=k.split(" $$ ");return`${j.join("{")}{${o}${R}${o}${"}".repeat(j.length)}`}).filter(Boolean).join(o);i&&(b=[v[h],b].filter(Boolean).join(o));let $;S&&b&&($=w(h),$!==null&&(b=`@layer ${$}{${o}${b}${o}}`));const L=a?"":`/* layer: ${h}${$&&$!==h?`, alias: ${$}`:""} */${o}`;return O[h]=b?L+b:""},A=(h=g,b)=>{const $=h.filter(L=>!b?.includes(L));return[S&&$.length>0?`@layer ${$.map(w).filter(se).join(", ")};`:void 0,...$.map(L=>E(L)||"")].filter(Boolean).join(o)};return{get css(){return A()},layers:g,matched:d,getLayers:A,getLayer:E,setLayer:async(h,b)=>{const $=await b(E(h));return O[h]=$,$}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let l=!0;const[,,a,c]=i;for(;l;){l=!1;const u=i[1];for(const o of this.config.variants){if(!o.multiPass&&c.has(o))continue;let f=await o.match(u,n);if(f){if(T(f)){if(f===u)continue;f={matcher:f}}if(Array.isArray(f)){if(!f.length)continue;if(f.length===1)f=f[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=f.map(m=>{const v=m.matcher??u,y=[m,...a],g=new Set(c);return g.add(o),[i[0],v,y,g]});return(await Promise.all(d.map(m=>s(m)))).flat()}}i[1]=f.matcher??u,a.unshift(f),c.add(o),l=!0;break}}if(!l)break;if(a.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((u,o)=>(u.order||0)-(o.order||0)).reduceRight((u,o)=>f=>{const d=o.body?.(f.entries)||f.entries,m=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??Rr)({...f,entries:d,selector:o.selector?.(f.selector,d)||f.selector,parent:m[0]||f.parent,parentOrder:m[1]||f.parentOrder,layer:o.layer||f.layer,sort:o.sort||f.sort},u)},u=>u)({prefix:"",selector:Or(n),pseudo:"",entries:t[2]}),{parent:l,parentOrder:a}=i;l!=null&&a!=null&&this.parentOrders.set(l,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:l,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const s=U(r);if(T(s))return s;const{selector:i,entries:l,parent:a}=this.applyVariants([0,n||t.rawSelector,s,void 0,t.variantHandlers]),c=`${i}{${oe(l)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,s){const i=T(t)?await this.matchVariants(t):[t],l=async([c,u,o])=>{this.config.details&&(r.rules=r.rules??[]);const f=this.config.rulesStaticMap[u];if(f&&f[1]&&(n||!f[2]?.internal)){r.generator.activatedRules.add(f),this.config.details&&r.rules.push(f);const m=this.config.rules.indexOf(f),v=U(f[1]),y=f[2];return T(v)?[[m,v,y]]:[[m,c,v,y,o]]}r.variantHandlers=o;const{rulesDynamic:d}=this.config;for(const m of d){const[v,y,g]=m;if(g?.internal&&!n)continue;let O=u;if(g?.prefix){const A=M(g.prefix);if(s){const p=M(s);if(!A.some(h=>p.includes(h)))continue}else{const p=A.find(h=>u.startsWith(h));if(p==null)continue;O=u.slice(p.length)}}const S=O.match(v);if(!S)continue;let w=await y(S,r);if(!w)continue;if(r.generator.activatedRules.add(m),this.config.details&&r.rules.push(m),typeof w!="string")if(Symbol.asyncIterator in w){const A=[];for await(const p of w)p&&A.push(p);w=A}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const E=lr(w).filter(A=>A.length);if(E.length){const A=this.config.rules.indexOf(m);return E.map(p=>{if(T(p))return[A,p,g];let h=o,b=g;for(const $ of p)$[0]===z.variants?h=[...M($[1]),...h]:$[0]===z.parent?h=[{parent:$[1]},...h]:$[0]===z.selector?h=[{selector:$[1]},...h]:$[0]===z.layer?h=[{layer:$[1]},...h]:$[0]===z.sort&&(b={...b,sort:$[1]});return[A,c,p,b,h]})}}},a=(await Promise.all(i.map(c=>l(c)))).flat().filter(c=>!!c);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(be(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:l,sort:a,noMerge:c}=this.applyVariants(t),u=oe(s);if(!u)return;const{layer:o,sort:f,...d}=t[3]??{},m={...d,layer:l??o,sort:a??f};return[t[0],n,u,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:nr;let i,l;for(const a of this.config.shortcuts){let c=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(f=>t.startsWith(f));if(o==null)continue;c=t.slice(o.length)}if(hr(a)){if(a[0]===c){i=i||a[2],l=a[1],s(a);break}}else{const u=c.match(a[0]);if(u&&(l=a[1](u,r)),l){i=i||a[2],s(a);break}}}if(l&&(l=M(l).map(a=>T(a)?mr(a.trim()).split(/\s+/g):a).flat()),!l){const a=T(t)?await this.matchVariants(t):[t];for(const c of a){const[u,o]=c;if(u!==o){const f=await this.expandShortcut(o,r,n-1);f&&(l=f[0].map(d=>T(d)?u.replace(o,d):d))}}}if(l)return[(await Promise.all(l.map(async a=>(T(a)?(await this.expandShortcut(a,r,n-1))?.[0]:void 0)||[a]))).flat(1).filter(a=>!!a),i]}async stringifyShortcuts(t,r,n,s={layer:this.config.shortcutsLayer}){const i=new cr,l=(await Promise.all(F(n).map(async o=>{const f=T(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",U(o),void 0,[]]];return!f&&this.config.warn&&ze(`unmatched utility "${o}" in shortcut "${t[1]}"`),f||[]}))).flat(1).filter(Boolean).sort((o,f)=>o[0]-f[0]),[a,,c]=t,u=[];for(const o of l){if(be(o)){u.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:f,entries:d,parent:m,sort:v,noMerge:y,layer:g}=this.applyVariants(o,[...o[4],...c],a);i.getFallback(g??s.layer,new ar).getFallback(f,m,[[],o[0]])[0].push([d,!!(y??o[3]?.noMerge),v??0])}return u.concat(i.flatMap((o,f)=>o.map(([d,m],v,y)=>{const g=(S,w,E)=>{const A=Math.max(...E.map(h=>h[1])),p=E.map(h=>h[0]);return(S?[p.flat(1)]:p).map(h=>{const b=oe(h);if(b)return[m,v,b,y,{...s,noMerge:w,sort:A,layer:f},r,void 0]})};return[[d.filter(([,S])=>S).map(([S,,w])=>[S,w]),!0],[d.filter(([,S])=>!S).map(([S,,w])=>[S,w]),!1]].map(([S,w])=>[...g(!1,w,S.filter(([E])=>E.some(A=>A[0]===z.shortcutsNoMerge))),...g(!0,w,S.filter(([E])=>E.every(A=>A[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):T(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):T(s)?s===t:s.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Ar(e,t){return await pe.create(e,t)}const qe=/\s\$\$\s+/g;function Cr(e){return qe.test(e)}function xr(e,t){return Cr(e)?e.replace(qe,t?` ${t} `:" "):t?`${t} ${e}`:e}const Ee=/^\[(.+?)(~?=)"(.*)"\]$/;function Or(e){return Ee.test(e)?e.replace(Ee,(t,r,n,s)=>`[${ne(r)}${n}"${ne(s)}"]`):`.${ne(e)}`}function Rr(e,t){return t(e)}var Ae={};const jr=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Be=Object.freeze({...jr,...Y}),Tr=Object.freeze({...Be,body:"",hidden:!1}),Pr=Object.freeze({width:null,height:null}),We=Object.freeze({...Pr,...Y});function Mr(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 Ce(e,t){const r=Mr(e,t);for(const n in Tr)n in Y?n in e&&!(n in r)&&(r[n]=Y[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Lr(e,t){const r=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);function i(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const a=n[l]&&n[l].parent,c=a&&i(a);c&&(s[l]=[a].concat(c))}return s[l]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function xe(e,t,r){const n=e.icons,s=e.aliases||Object.create(null);let i={};function l(a){i=Ce(n[a]||s[a],i)}return l(t),r.forEach(l),Ce(e,i)}function kr(e,t){if(e.icons[t])return xe(e,t,[]);const r=Lr(e,[t])[t];return r?xe(e,t,r):null}const Ir=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Nr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function X(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(Ir);if(n===null||!n.length)return e;const s=[];let i=n.shift(),l=Nr.test(i);for(;;){if(l){const a=parseFloat(i);isNaN(a)?s.push(i):s.push(Math.ceil(a*t*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");l=!l}}function Fr(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 l=e.indexOf(">",i);if(l===-1)break;r+=e.slice(s+1,i).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:r,content:e}}function Dr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function zr(e,t,r){const n=Fr(e);return Dr(n.defs,t+n.content+r)}const de=e=>e==="unset"||e==="undefined"||e==="none";function Vr(e,t){const r={...Be,...e},n={...We,...t},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(y=>{const g=[],O=y.hFlip,S=y.vFlip;let w=y.rotate;O?S?w+=2:(g.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),g.push("scale(-1 1)"),s.top=s.left=0):S&&(g.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),g.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,g.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:g.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:E=s.width/2+s.left,g.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)),g.length&&(i=zr(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const l=n.width,a=n.height,c=s.width,u=s.height;let o,f;l===null?(f=a===null?"1em":a==="auto"?u:a,o=X(f,c/u)):(o=l==="auto"?c:l,f=a===null?X(o,u/c):a==="auto"?u:a);const d={},m=(y,g)=>{de(g)||(d[y]=g.toString())};m("width",o),m("height",f);const v=[s.left,s.top,c,u];return d.viewBox=v.join(" "),{attributes:d,viewBox:v,body:i}}function Ur(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Oe(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" ')),Ur(t)}function qr(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 Br=/\swidth\s*=\s*["']([\w.]+)["']/,Wr=/\sheight\s*=\s*["']([\w.]+)["']/,ie=/<svg\s+/;function Hr(e,t,r){const n=e.slice(0,e.indexOf(">")),s=(i,l)=>{const a=l.exec(n),c=a!=null,u=t[i];return!u&&!de(u)&&(typeof r=="number"?r>0&&(t[i]=X(a?.[1]??"1em",r)):a&&(t[i]=a[1])),c};return[s("width",Br),s("height",Wr)]}async function He(e,t,r,n,s,i){const{scale:l,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:u}=n?.customizations??{},o=await s?.()??{};await u?.(t,r,o),Object.keys(c).forEach(y=>{const g=c[y];g!=null&&(o[y]=g)}),i?.(o);const[f,d]=Hr(e,o,l);a&&(!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 m=Object.keys(o).map(y=>y==="width"&&f||y==="height"&&d?null:`${y}="${o[y]}"`).filter(y=>y!=null);if(m.length&&(e=e.replace(ie,`<svg ${m.join(" ")} `)),n){const{defaultStyle:y,defaultClass:g}=n;g&&!e.includes("class=")&&(e=e.replace(ie,`<svg class="${g}" `)),y&&!e.includes("style=")&&(e=e.replace(ie,`<svg style="${y}" `))}const v=n?.usedProps;return v&&(Object.keys(c).forEach(y=>{const g=o[y];g!=null&&(v[y]=g)}),typeof o.width<"u"&&o.width!==null&&(v.width=o.width),typeof o.height<"u"&&o.height!==null&&(v.height=o.height)),e}async function Re(e,t,r,n){let s;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:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,t,r):s,s.startsWith("<svg")?await He(n?.customizations?.trimCustomSvg===!0?qr(s):s,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),s)}}async function Ge(e,t,r,n){let s;const{customize:i}=n?.customizations??{};for(const l of r)if(s=kr(e,l),s){let a={...We};typeof i=="function"&&(s=Object.assign({},s),a=i(a,s,`${t}:${l}`)??a);const{attributes:{width:c,height:u,...o},body:f}=Vr(s,a),d=n?.scale;return await He(`<svg >${f}</svg>`,t,l,n,()=>({...o}),m=>{const v=(y,g)=>{const O=m[y];let S;if(!de(O)){if(O)return;typeof d=="number"?d&&(S=X(g??"1em",d)):S=g}S?m[y]=S:delete m[y]};v("width",c),v("height",u)})}}const Je=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 Re(()=>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 Ge(s,e,i,r)}}}else return await Re(n,e,t,r)};function Gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jr=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","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","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","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"];const Qe=Gr(Jr),Qr=3;function Kr(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,collections:l,extraProperties:a={},customizations:c={},autoInstall:u=!1,collectionsNodeResolvePath:o,layer:f="icons",unit:d,processor:m}=t,v=Yr(),y={addXmlNs:!0,scale:r,customCollections:l,autoInstall:u,cwd:o,warn:void 0,customizations:{...c,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(O,S,w){await c.iconCustomizer?.(O,S,w),d&&(w.width||(w.width=`${r}${d}`),w.height||(w.height=`${r}${d}`))}}};let g;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Oe,parseIconWithLoader:je},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async O=>{let[S,w,E=n]=O;g=g||await e(t);const A={},p=await je(w,g,{...y,usedProps:A});if(!p){i&&!v.isESLint&&ze(`failed to load icon "${S}"`);return}let h;const b=`url("data:image/svg+xml;utf8,${Oe(p.svg)}")`;return E==="auto"&&(E=p.svg.includes("currentColor")?"mask":"bg"),E==="mask"?h={"--un-icon":b,"-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",...A}:h={background:`${b} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...A},m?.(h,{...p,icon:p.name,mode:E}),h},{layer:f,prefix:s}]]}}}function Ke(e,t){const r=new Map;function n(s){if(Qe.includes(s))return r.has(s)||r.set(s,e(`${t}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,l)=>{let a=await Je(s,i,l);if(a)return a;const c=await n(s);if(c){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Ge(c,s,u,l)}return a}}function Yr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Ae.VSCODE_CWD,r=e&&!!Ae.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function je(e,t,r={}){let n="",s="",i;const l=[...Qe,...Object.keys(r.customCollections||{})];if(e.includes(":")){if([n,s]=e.split(":"),!l.includes(n))return;i=await t(n,s,r)}else{const a=e.split(/-/g);for(let c=Qr;c>=1&&(n=a.slice(0,c).join("-"),!(!!l.includes(n)&&(s=a.slice(c).join("-"),i=await t(n,s,r),i)));c--);}if(i)return{collection:n,name:s,svg:i}}function Xr(e){return Ke(Wt,e)}const cn=Kr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ke(t,r):r?Xr(r):Je});function Zr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Te(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Pe(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Me=["Webkit","Moz","ms"];function en(e){const t={};function r(n){const s=t[n];if(s)return s;let i=Zr(n);if(i!=="filter"&&i in e)return t[n]=Pe(i);i=Te(i);for(let l=0;l<Me.length;l++){const a=`${Me[l]}${i}`;if(a in e)return t[n]=Pe(Te(a))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function tn(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function ln(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),l=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(l.postprocess=M(l.postprocess)).unshift(en(r.createElement("div").style)),i.configResolved?.(s,l);const c=await Ar(s,l),u=_=>i.inject?i.inject(_):n().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,f=new Map;let d=!0;const m=new Set;let v,y,g=[];const O=()=>new Promise(_=>{g.push(_),y!=null&&clearTimeout(y),y=setTimeout(()=>E().then(()=>{const x=g;g=[],x.forEach(R=>R())}),0)});function S(_,x=!1){if(_.nodeType!==1)return;const R=_;R.hasAttribute(a)&&R.removeAttribute(a),x&&R.querySelectorAll(`[${a}]`).forEach(j=>{j.removeAttribute(a)})}function w(_,x){let R=f.get(_);if(!R)if(R=r.createElement("style"),R.setAttribute("data-unocss-runtime-layer",_),f.set(_,R),x==null)u(R);else{const j=w(x),C=j.parentNode;C?C.insertBefore(R,j.nextSibling):u(R)}return R}async function E(){const _=[...m],x=await c.generate(_);return x.layers.reduce((j,C)=>(w(C,j).innerHTML=x.getLayer(C)??"",C),void 0),_.filter(j=>!x.matched.has(j)).forEach(j=>m.delete(j)),{...x,getStyleElement:j=>f.get(j),getStyleElements:()=>f}}async function A(_){const x=m.size;await c.applyExtractors(_,void 0,m),x!==m.size&&await O()}async function p(_=o()){const x=_&&_.outerHTML;x&&(await A(`${x} ${tn(x)}`),S(n()),S(_,!0))}const h=new MutationObserver(_=>{d||_.forEach(async x=>{if(x.target.nodeType!==1)return;const R=x.target;for(const j of f)if(R===j[1])return;if(x.type==="childList")x.addedNodes.forEach(async j=>{if(j.nodeType!==1)return;const C=j;v&&!v(C)||(await A(C.outerHTML),S(C))});else{if(v&&!v(R))return;if(x.attributeName!==a){const j=Array.from(R.attributes).map(P=>P.value?`${P.name}="${P.value}"`:P.name).join(" "),C=`<${R.tagName.toLowerCase()} ${j}>`;await A(C)}S(R)}})});let b=!1;function $(){if(b)return;const _=i.observer?.target?i.observer.target():o();_&&(h.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function L(){i.bypassDefined&&rn(c.blocked),p(),$()}function k(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",L):L()}const I=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(_){T(_)||(_.forEach(x=>m.add(x)),_=""),await A(_)},extractAll:p,inspect(_){v=_},toggleObserver(_){_===void 0?d=!d:d=!!_,!b&&!d&&k()},update:E,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(d=!1,k())}function rn(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{Wt as $,xt as a,Le as b,sn as c,rt as d,an as e,le as f,ln as g,he as h,nn as i,on as j,cn as k,dt as p,At as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as V}from"./nnavbar.vue-
|
|
1
|
+
import{_ as V}from"./nnavbar.vue-h0vrbdpc.js";import{_ as D}from"./ncode-block.vue-d0rio4gb.js";import{bk as S,bl as B,M as j,p as P,W as U,c as W}from"./jkwjqiby.js";import{Q as i,S as c,U as a,k as E,b as m,w as I,l as _,a0 as l,$ as u,F as d,ab as M,a5 as v,Y as z,M as G}from"./vendor/json-editor-vue-ivrsfd8a.js";import{_ as H}from"./help-fab.vue-dsbe70oc.js";import"./client-iy54pzt5.js";import"./vendor/unocss-hwbthrao.js";import"./vendor/shiki-enrzjv18.js";const L={class:"markdown-body"},Q={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",L,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},R=["onClick"],Y={key:0,"h-full":"","of-hidden":"",flex:"~ col"},q={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=E({__name:"virtual-files",setup(h){const r=m(""),n=S(),p=B(),o=m();I(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const f=_(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=_(()=>new j(f.value,{keys:["id","path"]})),k=_(()=>r.value?b.value.search(r.value).map(e=>e.item):f.value);return(e,t)=>{const y=V,g=D,C=U,$=W,F=P,N=Q,w=H;return i(),c(d,null,[l(F,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(d,null,M(k.value,s=>(i(),c(d,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:A=>p.value=s.id},v(x(s.id)),11,R),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",Y,[a("div",q,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),G($,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(w,null,{default:u(()=>[l(N)]),_:1})],64)}}});export{oe as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{O as re,P as ne,n as Q,Q as $,M as L,N as oe,at as le,s as ae,R as ue,ae as ce,a8 as de,S as M,V as A,W,$ as K,F as fe,ab as he,a7 as q,a1 as me,au as pe,X as ye,Y,a0 as ve}from"./vendor/json-editor-vue-
|
|
1
|
+
import{O as re,P as ne,n as Q,Q as $,M as L,N as oe,at as le,s as ae,R as ue,ae as ce,a8 as de,S as M,V as A,W,$ as K,F as fe,ab as he,a7 as q,a1 as me,au as pe,X as ye,Y,a0 as ve}from"./vendor/json-editor-vue-ivrsfd8a.js";function be(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let R;function H(){H.init||(H.init=!0,R=be()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){H(),Q(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",R&&this.$el.appendChild(e),e.data="about:blank",R||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!R&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ge=oe();re("data-v-b329ee4c");const Se={class:"resize-observer",tabindex:"-1"};ne();const ze=ge((e,t,i,s,r,a)=>($(),L("div",Se)));E.render=ze;E.__scopeId="data-v-b329ee4c";E.__file="src/components/ResizeObserver.vue";function C(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(t){return typeof t}:C=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(e)}function _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function Ie(e,t,i){return t&&we(e.prototype,t),e}function X(e){return $e(e)||Te(e)||Oe(e)||Ve()}function $e(e){if(Array.isArray(e))return N(e)}function Te(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Oe(e,t){if(e){if(typeof e=="string")return N(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return N(e,t)}}function N(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function Ve(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xe(e){var t;return typeof e=="function"?t={callback:e}:t=e,t}function ke(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,r,a,u=function(n){for(var d=arguments.length,p=new Array(d>1?d-1:0),S=1;S<d;S++)p[S-1]=arguments[S];if(a=p,!(s&&n===r)){var w=i.leading;typeof w=="function"&&(w=w(n,r)),(!s||n!==r)&&w&&e.apply(void 0,[n].concat(X(a))),r=n,clearTimeout(s),s=setTimeout(function(){e.apply(void 0,[n].concat(X(a))),s=0},t)}};return u._clear=function(){clearTimeout(s),s=null},u}function J(e,t){if(e===t)return!0;if(C(e)==="object"){for(var i in e)if(!J(e[i],t[i]))return!1;return!0}return!1}var Me=function(){function e(t,i,s){_e(this,e),this.el=t,this.observer=null,this.frozen=!1,this.createObserver(i,s)}return Ie(e,[{key:"createObserver",value:function(i,s){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=xe(i),this.callback=function(c,n){r.options.callback(c,n),c&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var a=this.options.throttleOptions||{},u=a.leading;this.callback=ke(this.callback,this.options.throttle,{leading:function(n){return u==="both"||u==="visible"&&n||u==="hidden"&&!n}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(c){var n=c[0];if(c.length>1){var d=c.find(function(S){return S.isIntersecting});d&&(n=d)}if(r.callback){var p=n.isIntersecting&&n.intersectionRatio>=r.threshold;if(p===r.oldResult)return;r.oldResult=p,r.callback(p,n)}},this.options.intersection),Q(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function Z(e,t,i){var s=t.value;if(s)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var r=new Me(e,s,i);e._vue_visibilityState=r}}function Ae(e,t,i){var s=t.value,r=t.oldValue;if(!J(s,r)){var a=e._vue_visibilityState;if(!s){ee(e);return}a?a.createObserver(s,i):Z(e,{value:s},i)}}function ee(e){var t=e._vue_visibilityState;t&&(t.destroyObserver(),delete e._vue_visibilityState)}var Re={beforeMount:Z,updated:Ae,unmounted:ee},Ce={itemsLimit:1e3},Ee=/(auto|scroll)/;function te(e,t){return e.parentNode===null?t:te(e.parentNode,t.concat([e]))}var P=function(t,i){return getComputedStyle(t,null).getPropertyValue(i)},Pe=function(t){return P(t,"overflow")+P(t,"overflow-y")+P(t,"overflow-x")},Le=function(t){return Ee.test(Pe(t))};function G(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var t=te(e.parentNode,[]),i=0;i<t.length;i+=1)if(Le(t[i]))return t[i];return document.scrollingElement||document.documentElement}}function j(e){"@babel/helpers - typeof";return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}var He={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"}};function Ne(){return this.items.length&&j(this.items[0])!=="object"}var B=!1;if(typeof window<"u"){B=!1;try{var je=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("test",null,je)}catch{}}let Be=0;var ie={name:"RecycleScroller",components:{ResizeObserver:E},directives:{ObserveVisibility:Re},props:{...He,itemSize:{type:Number,default:null},gridItems:{type:Number,default:void 0},itemSecondarySize:{type:Number,default:void 0},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1},updateInterval:{type:Number,default:0},skipHover:{type:Boolean,default:!1},listTag:{type:String,default:"div"},itemTag:{type:String,default:"div"},listClass:{type:[String,Object,Array],default:""},itemClass:{type:[String,Object,Array],default:""}},emits:["resize","visible","hidden","update","scroll-start","scroll-end"],data(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes(){if(this.itemSize===null){const e={"-1":{accumulator:0}},t=this.items,i=this.sizeField,s=this.minItemSize;let r=1e4,a=0,u;for(let c=0,n=t.length;c<n;c++)u=t[c][i]||s,u<r&&(r=u),a+=u,e[c]={accumulator:a,size:u};return this.$_computedMinItemSize=r,e}return[]},simpleArray:Ne,itemIndexByKey(){const{keyField:e,items:t}=this,i={};for(let s=0,r=t.length;s<r;s++)i[t[s][e]]=s;return i}},watch:{items(){this.updateVisibleItems(!0)},pageMode(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler(){this.updateVisibleItems(!1)},deep:!0},gridItems(){this.updateVisibleItems(!0)},itemSecondarySize(){this.updateVisibleItems(!0)}},created(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1)),this.gridItems&&!this.itemSize&&console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems")},mounted(){this.applyPageMode(),this.$nextTick(()=>{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const e=this.$_lastUpdateScrollPosition;typeof e=="number"&&this.$nextTick(()=>{this.scrollToPosition(e)})},beforeUnmount(){this.removeListeners()},methods:{addView(e,t,i,s,r){const a=le({id:Be++,index:t,used:!0,key:s,type:r}),u=ae({item:i,position:0,nr:a});return e.push(u),u},unuseView(e,t=!1){const i=this.$_unusedViews,s=e.nr.type;let r=i.get(s);r||(r=[],i.set(s,r)),r.push(e),t||(e.nr.used=!1,e.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(e){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const t=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:i}=this.updateVisibleItems(!1,!0);i||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});t(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&t()},this.updateInterval))}},handleVisibilityChange(e,t){this.ready&&(e||t.boundingClientRect.width!==0||t.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(e,t=!1){const i=this.itemSize,s=this.gridItems||1,r=this.itemSecondarySize||i,a=this.$_computedMinItemSize,u=this.typeField,c=this.simpleArray?null:this.keyField,n=this.items,d=n.length,p=this.sizes,S=this.$_views,w=this.$_unusedViews,V=this.pool,se=this.itemIndexByKey;let y,f,T,g,z;if(!d)y=f=g=z=T=0;else if(this.$_prerender)y=g=0,f=z=Math.min(this.prerender,n.length),T=null;else{const o=this.getScroll();if(t){let m=o.start-this.$_lastUpdateScrollPosition;if(m<0&&(m=-m),i===null&&m<a||m<i)return{continuous:!0}}this.$_lastUpdateScrollPosition=o.start;const v=this.buffer;o.start-=v,o.end+=v;let h=0;if(this.$refs.before&&(h=this.$refs.before.scrollHeight,o.start-=h),this.$refs.after){const m=this.$refs.after.scrollHeight;o.end+=m}if(i===null){let m,O=0,F=d-1,b=~~(d/2),U;do U=b,m=p[b].accumulator,m<o.start?O=b:b<d-1&&p[b+1].accumulator>o.start&&(F=b),b=~~((O+F)/2);while(b!==U);for(b<0&&(b=0),y=b,T=p[d-1].accumulator,f=b;f<d&&p[f].accumulator<o.end;f++);for(f===-1?f=n.length-1:(f++,f>d&&(f=d)),g=y;g<d&&h+p[g].accumulator<o.start;g++);for(z=g;z<d&&h+p[z].accumulator<o.end;z++);}else{y=~~(o.start/i*s);const m=y%s;y-=m,f=Math.ceil(o.end/i*s),g=Math.max(0,Math.floor((o.start-h)/i*s)),z=Math.floor((o.end-h)/i*s),y<0&&(y=0),f>d&&(f=d),g<0&&(g=0),z>d&&(z=d),T=Math.ceil(d/s)*i}}f-y>Ce.itemsLimit&&this.itemsLimitError(),this.totalSize=T;let l;const x=y<=this.$_endIndex&&f>=this.$_startIndex;if(x)for(let o=0,v=V.length;o<v;o++)l=V[o],l.nr.used&&(e&&(l.nr.index=se[l.item[c]]),(l.nr.index==null||l.nr.index<y||l.nr.index>=f)&&this.unuseView(l));const D=x?null:new Map;let I,_,k;for(let o=y;o<f;o++){I=n[o];const v=c?I[c]:I;if(v==null)throw new Error(`Key is ${v} on item (keyField is '${c}')`);if(l=S.get(v),!i&&!p[o].size){l&&this.unuseView(l);continue}_=I[u];let h=w.get(_),m=!1;if(!l)x?h&&h.length?l=h.pop():l=this.addView(V,o,I,v,_):(k=D.get(_)||0,(!h||k>=h.length)&&(l=this.addView(V,o,I,v,_),this.unuseView(l,!0),h=w.get(_)),l=h[k],D.set(_,k+1)),S.delete(l.nr.key),l.nr.used=!0,l.nr.index=o,l.nr.key=v,l.nr.type=_,S.set(v,l),m=!0;else if(!l.nr.used&&(l.nr.used=!0,m=!0,h)){const O=h.indexOf(l);O!==-1&&h.splice(O,1)}l.item=I,m&&(o===n.length-1&&this.$emit("scroll-end"),o===0&&this.$emit("scroll-start")),i===null?(l.position=p[o-1].accumulator,l.offset=0):(l.position=Math.floor(o/s)*i,l.offset=o%s*r)}return this.$_startIndex=y,this.$_endIndex=f,this.emitUpdate&&this.$emit("update",y,f,g,z),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:x}},getListenerTarget(){let e=G(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll(){const{$el:e,direction:t}=this,i=t==="vertical";let s;if(this.pageMode){const r=e.getBoundingClientRect(),a=i?r.height:r.width;let u=-(i?r.top:r.left),c=i?window.innerHeight:window.innerWidth;u<0&&(c+=u,u=0),u+c>a&&(c=a-u),s={start:u,end:u+c}}else i?s={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:s={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return s},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,B?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(e){let t;const i=this.gridItems||1;this.itemSize===null?t=e>0?this.sizes[e-1].accumulator:0:t=Math.floor(e/i)*this.itemSize,this.scrollToPosition(t)},scrollToPosition(e){const t=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let i,s,r;if(this.pageMode){const a=G(this.$el),u=a.tagName==="HTML"?0:a[t.scroll],c=a.getBoundingClientRect(),d=this.$el.getBoundingClientRect()[t.start]-c[t.start];i=a,s=t.scroll,r=e+u+d}else i=this.$el,s=t.scroll,r=e;i[s]=r},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((e,t)=>e.nr.index-t.nr.index)}}};const De={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Fe={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Ue(e,t,i,s,r,a){const u=ue("ResizeObserver"),c=ce("observe-visibility");return de(($(),M("div",{class:Y(["vue-recycle-scroller",{ready:r.ready,"page-mode":i.pageMode,[`direction-${e.direction}`]:!0}]),onScrollPassive:t[0]||(t[0]=(...n)=>a.handleScroll&&a.handleScroll(...n))},[e.$slots.before?($(),M("div",De,[A(e.$slots,"before")],512)):W("v-if",!0),($(),L(q(i.listTag),{ref:"wrapper",style:ye({[e.direction==="vertical"?"minHeight":"minWidth"]:r.totalSize+"px"}),class:Y(["vue-recycle-scroller__item-wrapper",i.listClass])},{default:K(()=>[($(!0),M(fe,null,he(r.pool,n=>($(),L(q(i.itemTag),me({key:n.nr.id,style:r.ready?{transform:`translate${e.direction==="vertical"?"Y":"X"}(${n.position}px) translate${e.direction==="vertical"?"X":"Y"}(${n.offset}px)`,width:i.gridItems?`${e.direction==="vertical"&&i.itemSecondarySize||i.itemSize}px`:void 0,height:i.gridItems?`${e.direction==="horizontal"&&i.itemSecondarySize||i.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[i.itemClass,{hover:!i.skipHover&&r.hoverKey===n.nr.key}]]},pe(i.skipHover?{}:{mouseenter:()=>{r.hoverKey=n.nr.key},mouseleave:()=>{r.hoverKey=null}})),{default:K(()=>[A(e.$slots,"default",{item:n.item,index:n.nr.index,active:n.nr.used})]),_:2},1040,["style","class"]))),128)),A(e.$slots,"empty")]),_:3},8,["style","class"])),e.$slots.after?($(),M("div",Fe,[A(e.$slots,"after")],512)):W("v-if",!0),ve(u,{onNotify:a.handleResize},null,8,["onNotify"])],34)),[[c,a.handleVisibilityChange]])}ie.render=Ue;ie.__file="src/components/RecycleScroller.vue";export{ie as s};
|
package/dist/client/index.html
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<!DOCTYPE html><html data-capo=""><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
-
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-
|
|
3
|
+
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-f054t818.css" crossorigin>
|
|
4
4
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-mqq5uooj.css" crossorigin>
|
|
5
5
|
<link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-mhvipxpl.css" crossorigin>
|
|
6
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
7
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-
|
|
8
|
-
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-
|
|
6
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/jkwjqiby.js">
|
|
7
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-ivrsfd8a.js">
|
|
8
|
+
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-hwbthrao.js">
|
|
9
9
|
<link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-enrzjv18.js">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/markdown-it-fvu08dbs.js">
|
|
11
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-
|
|
12
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-
|
|
13
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-
|
|
14
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-
|
|
15
|
-
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-
|
|
16
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-
|
|
17
|
-
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-
|
|
18
|
-
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-
|
|
19
|
-
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/
|
|
20
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"
|
|
11
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/default-g9cho5c5.js">
|
|
12
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/full-h4bblsc2.js">
|
|
13
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/none-o20iaxfc.js">
|
|
14
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/unocss-runtime-dmm6yugz.js">
|
|
15
|
+
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404.css-he1uoaye.css">
|
|
16
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-404-kpv9svhd.js">
|
|
17
|
+
<link rel="prefetch" as="style" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500.css-ojhe2u1c.css">
|
|
18
|
+
<link rel="prefetch" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/error-500-hs8gcksv.js">
|
|
19
|
+
<script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/jkwjqiby.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1734011311457,false]</script>
|
|
20
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"3a026b0b-3c88-4a7c-8ad7-043b5176a32e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.4",
|
|
5
5
|
"description": "The Nuxt DevTools gives you insights and transparency about your Nuxt App.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devtools.nuxt.com",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@antfu/utils": "^0.7.10",
|
|
36
36
|
"@nuxt/kit": "^3.14.1592",
|
|
37
|
-
"@vue/devtools-core": "7.6.
|
|
38
|
-
"@vue/devtools-kit": "7.6.
|
|
37
|
+
"@vue/devtools-core": "7.6.8",
|
|
38
|
+
"@vue/devtools-kit": "7.6.8",
|
|
39
39
|
"birpc": "^0.2.19",
|
|
40
40
|
"consola": "^3.2.3",
|
|
41
41
|
"cronstrue": "^2.52.0",
|
|
@@ -62,33 +62,32 @@
|
|
|
62
62
|
"simple-git": "^3.27.0",
|
|
63
63
|
"sirv": "^3.0.0",
|
|
64
64
|
"tinyglobby": "^0.2.10",
|
|
65
|
-
"unimport": "^3.14.
|
|
66
|
-
"vite-plugin-inspect": "
|
|
67
|
-
"vite-plugin-inspect-legacy": "npm:vite-plugin-inspect@0.8.8",
|
|
65
|
+
"unimport": "^3.14.5",
|
|
66
|
+
"vite-plugin-inspect": "~0.8.9",
|
|
68
67
|
"vite-plugin-vue-inspector": "5.1.3",
|
|
69
68
|
"which": "^3.0.1",
|
|
70
69
|
"ws": "^8.18.0",
|
|
71
|
-
"@nuxt/devtools-kit": "1.6.
|
|
72
|
-
"@nuxt/devtools-wizard": "1.6.
|
|
70
|
+
"@nuxt/devtools-kit": "1.6.4",
|
|
71
|
+
"@nuxt/devtools-wizard": "1.6.4"
|
|
73
72
|
},
|
|
74
73
|
"devDependencies": {
|
|
75
74
|
"@iconify-json/bxl": "^1.2.1",
|
|
76
75
|
"@iconify-json/carbon": "^1.2.4",
|
|
77
76
|
"@iconify-json/logos": "^1.2.3",
|
|
78
77
|
"@iconify-json/ri": "^1.2.3",
|
|
79
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
80
|
-
"@iconify-json/tabler": "^1.2.
|
|
78
|
+
"@iconify-json/simple-icons": "^1.2.15",
|
|
79
|
+
"@iconify-json/tabler": "^1.2.11",
|
|
81
80
|
"@nuxt/content": "^2.13.4",
|
|
82
|
-
"@nuxt/test-utils": "^3.
|
|
81
|
+
"@nuxt/test-utils": "^3.15.1",
|
|
83
82
|
"@parcel/watcher": "^2.5.0",
|
|
84
83
|
"@types/markdown-it-link-attributes": "^3.0.5",
|
|
85
84
|
"@types/ua-parser-js": "^0.7.39",
|
|
86
|
-
"@unocss/nuxt": "^0.65.
|
|
87
|
-
"@unocss/preset-icons": "^0.65.
|
|
88
|
-
"@unocss/preset-uno": "^0.65.
|
|
89
|
-
"@unocss/runtime": "^0.65.
|
|
85
|
+
"@unocss/nuxt": "^0.65.1",
|
|
86
|
+
"@unocss/preset-icons": "^0.65.1",
|
|
87
|
+
"@unocss/preset-uno": "^0.65.1",
|
|
88
|
+
"@unocss/runtime": "^0.65.1",
|
|
90
89
|
"@vitest/ui": "^2.1.8",
|
|
91
|
-
"@vue/devtools-applet": "7.6.
|
|
90
|
+
"@vue/devtools-applet": "7.6.8",
|
|
92
91
|
"@vueuse/nuxt": "^12.0.0",
|
|
93
92
|
"@xterm/addon-fit": "^0.10.0",
|
|
94
93
|
"@xterm/xterm": "^5.5.0",
|
|
@@ -103,17 +102,17 @@
|
|
|
103
102
|
"nuxt": "^3.14.1592",
|
|
104
103
|
"ofetch": "^1.4.1",
|
|
105
104
|
"quicktype-core": "^23.0.170",
|
|
106
|
-
"shiki": "^1.24.
|
|
105
|
+
"shiki": "^1.24.2",
|
|
107
106
|
"theme-vitesse": "^0.8.3",
|
|
108
107
|
"ua-parser-js": "^1.0.39",
|
|
109
|
-
"unocss": "^0.65.
|
|
108
|
+
"unocss": "^0.65.1",
|
|
110
109
|
"unplugin-vue-markdown": "^0.27.1",
|
|
111
|
-
"vanilla-jsoneditor": "^2.3.
|
|
110
|
+
"vanilla-jsoneditor": "^2.3.3",
|
|
112
111
|
"vis-data": "^7.1.9",
|
|
113
112
|
"vis-network": "^9.1.9",
|
|
114
113
|
"vue-tsc": "^2.1.10",
|
|
115
114
|
"vue-virtual-scroller": "2.0.0-beta.8",
|
|
116
|
-
"@nuxt/devtools": "1.6.
|
|
115
|
+
"@nuxt/devtools": "1.6.4"
|
|
117
116
|
},
|
|
118
117
|
"scripts": {
|
|
119
118
|
"build": "pnpm dev:prepare && pnpm build:module && pnpm build:client && esno scripts/prepare.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as e,S as n,Q as t}from"./vendor/json-editor-vue-nhjd65sz.js";const c={"h-screen":"","w-screen":"","bg-black":""},r=e({__name:"__blank",setup(o){return(s,_)=>(t(),n("div",c))}});export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"5003b743-079f-451a-b99c-cdb84514255f","timestamp":1733209787860,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as m,Q as u,J as d,R as f}from"./ihidfc88.js";import{c as _}from"./index-h8fhwggc.js";import{k as v,S as k,u as n,M as l,$ as C,Q as o,a6 as E}from"./vendor/json-editor-vue-nhjd65sz.js";import"./vendor/unocss-pcs99qrd.js";import"./vendor/shiki-enrzjv18.js";import"./vue-virtual-scroller.esm-f2cudvpd.js";const I={class:"h-full w-full"},y=v({__name:"components-tree",setup(x){const{connected:a}=m(),t=u(),p=d();function s(r){r?t.value.devtools.open():t.value.devtools.close()}return(r,e)=>{const i=f;return o(),k("div",I,[n(a)?(o(),l(n(_),{key:0,onOnInspectComponentStart:e[0]||(e[0]=c=>s(!1)),onOnInspectComponentEnd:e[1]||(e[1]=c=>s(!0)),onOpenInEditor:n(p)},null,8,["onOpenInEditor"])):(o(),l(i,{key:1},{default:C(()=>e[2]||(e[2]=[E(" Connecting.... ")])),_:1}))])}}});export{y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-f133305c]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-f133305c]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-f133305c]{background-color:#ffffff4d}.gradient-border[data-v-f133305c]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-f133305c]{background-color:#1414144d}.gradient-border[data-v-f133305c]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-f133305c]:before{background-size:400% auto;border-radius:.5rem;content:"";inset:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-f133305c]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-f133305c]{position:fixed}.left-0[data-v-f133305c]{left:0}.right-0[data-v-f133305c]{right:0}.z-10[data-v-f133305c]{z-index:10}.z-20[data-v-f133305c]{z-index:20}.grid[data-v-f133305c]{display:grid}.mb-16[data-v-f133305c]{margin-bottom:4rem}.mb-8[data-v-f133305c]{margin-bottom:2rem}.max-w-520px[data-v-f133305c]{max-width:520px}.min-h-screen[data-v-f133305c]{min-height:100vh}.w-full[data-v-f133305c]{width:100%}.flex[data-v-f133305c]{display:flex}.cursor-pointer[data-v-f133305c]{cursor:pointer}.place-content-center[data-v-f133305c]{place-content:center}.items-center[data-v-f133305c]{align-items:center}.justify-center[data-v-f133305c]{justify-content:center}.overflow-hidden[data-v-f133305c]{overflow:hidden}.bg-white[data-v-f133305c]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-f133305c]{padding-left:1rem;padding-right:1rem}.px-8[data-v-f133305c]{padding-left:2rem;padding-right:2rem}.py-2[data-v-f133305c]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-f133305c]{text-align:center}.text-8xl[data-v-f133305c]{font-size:6rem;line-height:1}.text-xl[data-v-f133305c]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-f133305c]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-f133305c]{font-weight:300}.font-medium[data-v-f133305c]{font-weight:500}.leading-tight[data-v-f133305c]{line-height:1.25}.font-sans[data-v-f133305c]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-f133305c]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-f133305c]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-f133305c]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-f133305c]{padding-left:0;padding-right:0}.sm\:px-6[data-v-f133305c]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-f133305c]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-f133305c]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-f133305c]{font-size:1.25rem;line-height:1.75rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-236d6885]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-236d6885]{position:fixed}.-bottom-1\/2[data-v-236d6885]{bottom:-50%}.left-0[data-v-236d6885]{left:0}.right-0[data-v-236d6885]{right:0}.grid[data-v-236d6885]{display:grid}.mb-16[data-v-236d6885]{margin-bottom:4rem}.mb-8[data-v-236d6885]{margin-bottom:2rem}.h-1\/2[data-v-236d6885]{height:50%}.max-w-520px[data-v-236d6885]{max-width:520px}.min-h-screen[data-v-236d6885]{min-height:100vh}.place-content-center[data-v-236d6885]{place-content:center}.overflow-hidden[data-v-236d6885]{overflow:hidden}.bg-white[data-v-236d6885]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-236d6885]{padding-left:2rem;padding-right:2rem}.text-center[data-v-236d6885]{text-align:center}.text-8xl[data-v-236d6885]{font-size:6rem;line-height:1}.text-xl[data-v-236d6885]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-236d6885]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-236d6885]{font-weight:300}.font-medium[data-v-236d6885]{font-weight:500}.leading-tight[data-v-236d6885]{line-height:1.25}.font-sans[data-v-236d6885]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-236d6885]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-236d6885]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-236d6885]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-236d6885]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-236d6885]{font-size:2.25rem;line-height:2.5rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t}from"./ihidfc88.js";import{Q as e,S as r,V as s}from"./vendor/json-editor-vue-nhjd65sz.js";import"./vendor/unocss-pcs99qrd.js";import"./vendor/shiki-enrzjv18.js";const c={},n={"h-full":"","of-auto":""};function a(o,f){return e(),r("div",n,[s(o.$slots,"default")])}const d=t(c,[["render",a]]);export{d as default};
|