@unocss/runtime 0.58.3 → 0.58.5
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/attributify.global.js +9 -9
- package/core.global.js +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/full.global.js +12 -12
- package/mini.global.js +7 -7
- package/package.json +4 -4
- package/preset-icons.global.js +4 -4
- package/preset-mini.global.js +5 -5
- package/preset-uno.global.js +8 -8
- package/preset-wind.global.js +8 -8
- package/uno.global.js +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.5",
|
|
4
4
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/core": "0.58.
|
|
39
|
-
"@unocss/preset-attributify": "0.58.
|
|
40
|
-
"@unocss/preset-uno": "0.58.
|
|
38
|
+
"@unocss/core": "0.58.5",
|
|
39
|
+
"@unocss/preset-attributify": "0.58.5",
|
|
40
|
+
"@unocss/preset-uno": "0.58.5"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm run build:node && pnpm run build:cdn && pnpm run build:presets",
|
package/preset-icons.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var We=Object.create;var le=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var H=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,t)=>(typeof require<"u"?require:o)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var I=(e,o)=>()=>(e&&(o=e(e=0)),o);var E=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ze=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of He(o))!Ye.call(e,r)&&r!==t&&le(e,r,{get:()=>o[r],enumerable:!(n=Ke(o,r))||n.enumerable});return e};var M=(e,o,t)=>(t=e!=null?We(Je(e)):{},Ze(o||!e||!e.__esModule?le(t,"default",{value:e,enumerable:!0}):t,e));var Xe,R,J,ue,D=I(()=>{"use strict";Xe=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),J=Object.freeze({...Xe,...R}),ue=Object.freeze({...J,body:"",hidden:!1})});var Qe,N,Y=I(()=>{"use strict";D();Qe=Object.freeze({width:null,height:null}),N=Object.freeze({...Qe,...R})});function fe(e,o){let t={};!e.hFlip!=!o.hFlip&&(t.hFlip=!0),!e.vFlip!=!o.vFlip&&(t.vFlip=!0);let n=((e.rotate||0)+(o.rotate||0))%4;return n&&(t.rotate=n),t}var pe=I(()=>{"use strict"});function Z(e,o){let t=fe(e,o);for(let n in ue)n in R?n in e&&!(n in t)&&(t[n]=R[n]):n in o?t[n]=o[n]:n in e&&(t[n]=e[n]);return t}var me=I(()=>{"use strict";D();pe()});function de(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(u){if(t[u])return r[u]=[];if(!(u in r)){r[u]=null;let f=n[u]&&n[u].parent,m=f&&s(f);m&&(r[u]=[f].concat(m))}return r[u]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var ge=I(()=>{"use strict"});function he(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function u(f){s=Z(n[f]||r[f],s)}return u(o),t.forEach(u),Z(e,s)}function Ce(e,o){if(e.icons[o])return he(e,o,[]);let t=de(e,[o])[o];return t?he(e,o,t):null}var we=I(()=>{"use strict";me();ge()});function X(e,o,t){if(o===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*o*t)/t;if(typeof e!="string")return e;let n=e.split(et);if(n===null||!n.length)return e;let r=[],s=n.shift(),u=tt.test(s);for(;;){if(u){let f=parseFloat(s);isNaN(f)?r.push(s):r.push(Math.ceil(f*o*t)/t)}else r.push(s);if(s=n.shift(),s===void 0)return r.join("");u=!u}}var et,tt,xe=I(()=>{"use strict";et=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function ot(e,o="defs"){let t="",n=e.indexOf("<"+o);for(;n>=0;){let r=e.indexOf(">",n),s=e.indexOf("</"+o);if(r===-1||s===-1)break;let u=e.indexOf(">",s);if(u===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(u+1)}return{defs:t,content:e}}function rt(e,o){return e?"<defs>"+e+"</defs>"+o:o}function ye(e,o,t){let n=ot(e);return rt(n.defs,o+n.content+t)}var be=I(()=>{"use strict"});function Fe(e,o){let t={...J,...e},n={...N,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(l=>{let c=[],x=l.hFlip,y=l.vFlip,b=l.rotate;x?y?b+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):y&&(c.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),c.push("scale(1 -1)"),r.top=r.left=0);let d;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:d=r.height/2+r.top,c.unshift("rotate(90 "+d.toString()+" "+d.toString()+")");break;case 2:c.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:d=r.width/2+r.left,c.unshift("rotate(-90 "+d.toString()+" "+d.toString()+")");break}b%2===1&&(r.left!==r.top&&(d=r.left,r.left=r.top,r.top=d),r.width!==r.height&&(d=r.width,r.width=r.height,r.height=d)),c.length&&(s=ye(s,'<g transform="'+c.join(" ")+'">',"</g>"))});let u=n.width,f=n.height,m=r.width,C=r.height,i,a;u===null?(a=f===null?"1em":f==="auto"?C:f,i=X(a,m/C)):(i=u==="auto"?m:u,a=f===null?X(i,C/m):f==="auto"?C:f);let p={},h=(l,c)=>{P(c)||(p[l]=c.toString())};h("width",i),h("height",a);let w=[r.left,r.top,m,C];return p.viewBox=w.join(" "),{attributes:p,viewBox:w,body:s}}var P,Q=I(()=>{"use strict";D();Y();xe();be();P=e=>e==="unset"||e==="undefined"||e==="none"});function Oe(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,'="').trim()}var Se=I(()=>{"use strict"});function st(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,u)=>{let f=u.exec(n),m=f!=null,C=o[s];return!C&&!P(C)&&(typeof t=="number"?t>0&&(o[s]=`${t}em`):f&&(o[s]=f[1])),m};return[r("width",nt),r("height",it)]}async function V(e,o,t,n,r,s){let{scale:u,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:C}=n?.customizations??{},i=await r?.()??{};await C?.(o,t,i),Object.keys(m).forEach(l=>{let c=m[l];c!=null&&(i[l]=c)}),s?.(i);let[a,p]=st(e,i,u);f&&(!e.includes("xmlns=")&&!i.xmlns&&(i.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!i["xmlns:xlink"]&&(i["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let h=Object.keys(i).map(l=>l==="width"&&a||l==="height"&&p?null:`${l}="${i[l]}"`).filter(l=>l!=null);if(h.length&&(e=e.replace(ee,`<svg ${h.join(" ")} `)),n){let{defaultStyle:l,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(ee,`<svg class="${c}" `)),l&&!e.includes("style=")&&(e=e.replace(ee,`<svg style="${l}" `))}let w=n?.usedProps;return w&&(Object.keys(m).forEach(l=>{let c=i[l];c!=null&&(w[l]=c)}),typeof i.width<"u"&&i.width!==null&&(w.width=i.width),typeof i.height<"u"&&i.height!==null&&(w.height=i.height)),e}var nt,it,ee,te=I(()=>{"use strict";Q();nt=/\swidth\s*=\s*["'](\w+)["']/,it=/\sheight\s*=\s*["'](\w+)["']/,ee=/<svg\s+/});var je=E((io,Ee)=>{"use strict";var $=1e3,L=$*60,A=L*60,j=A*24,ct=j*7,at=j*365.25;Ee.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return lt(e);if(t==="number"&&isFinite(e))return o.long?ft(e):ut(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function lt(e){if(e=String(e),!(e.length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var t=parseFloat(o[1]),n=(o[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*at;case"weeks":case"week":case"w":return t*ct;case"days":case"day":case"d":return t*j;case"hours":case"hour":case"hrs":case"hr":case"h":return t*A;case"minutes":case"minute":case"mins":case"min":case"m":return t*L;case"seconds":case"second":case"secs":case"sec":case"s":return t*$;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function ut(e){var o=Math.abs(e);return o>=j?Math.round(e/j)+"d":o>=A?Math.round(e/A)+"h":o>=L?Math.round(e/L)+"m":o>=$?Math.round(e/$)+"s":e+"ms"}function ft(e){var o=Math.abs(e);return o>=j?G(e,o,j,"day"):o>=A?G(e,o,A,"hour"):o>=L?G(e,o,L,"minute"):o>=$?G(e,o,$,"second"):e+" ms"}function G(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var oe=E((so,ke)=>{"use strict";function pt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=r,t.enabled=u,t.humanize=je(),t.destroy=C,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let a=0;for(let p=0;p<i.length;p++)a=(a<<5)-a+i.charCodeAt(p),a|=0;return t.colors[Math.abs(a)%t.colors.length]}t.selectColor=o;function t(i){let a,p=null,h,w;function l(...c){if(!l.enabled)return;let x=l,y=Number(new Date),b=y-(a||y);x.diff=b,x.prev=a,x.curr=y,a=y,c[0]=t.coerce(c[0]),typeof c[0]!="string"&&c.unshift("%O");let d=0;c[0]=c[0].replace(/%([a-zA-Z%])/g,(k,T)=>{if(k==="%%")return"%";d++;let ae=t.formatters[T];if(typeof ae=="function"){let Be=c[d];k=ae.call(x,Be),c.splice(d,1),d--}return k}),t.formatArgs.call(x,c),(x.log||t.log).apply(x,c)}return l.namespace=i,l.useColors=t.useColors(),l.color=t.selectColor(i),l.extend=n,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(h!==t.namespaces&&(h=t.namespaces,w=t.enabled(i)),w),set:c=>{p=c}}),typeof t.init=="function"&&t.init(l),l}function n(i,a){let p=t(this.namespace+(typeof a>"u"?":":a)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let a,p=(typeof i=="string"?i:"").split(/[\s,]+/),h=p.length;for(a=0;a<h;a++)p[a]&&(i=p[a].replace(/\*/g,".*?"),i[0]==="-"?t.skips.push(new RegExp("^"+i.slice(1)+"$")):t.names.push(new RegExp("^"+i+"$")))}function s(){let i=[...t.names.map(f),...t.skips.map(f).map(a=>"-"+a)].join(",");return t.enable(""),i}function u(i){if(i[i.length-1]==="*")return!0;let a,p;for(a=0,p=t.skips.length;a<p;a++)if(t.skips[a].test(i))return!1;for(a=0,p=t.names.length;a<p;a++)if(t.names[a].test(i))return!0;return!1}function f(i){return i.toString().substring(2,i.toString().length-2).replace(/\.\*\?$/,"*")}function m(i){return i instanceof Error?i.stack||i.message:i}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}ke.exports=pt});var Te=E((v,U)=>{"use strict";v.formatArgs=dt;v.save=gt;v.load=ht;v.useColors=mt;v.storage=Ct();v.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();v.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function mt(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function dt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+U.exports.humanize(this.diff),!this.useColors)return;let o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,n=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(t++,r==="%c"&&(n=t))}),e.splice(n,0,o)}v.log=console.debug||console.log||(()=>{});function gt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function ht(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Ct(){try{return localStorage}catch{}}U.exports=oe()(v);var{formatters:wt}=U.exports;wt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var $e=E((co,Re)=>{"use strict";Re.exports=(e,o)=>{o=o||process.argv;let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}});var Ae=E((ao,Le)=>{"use strict";var xt=H("os"),O=$e(),{env:g}=process,S;O("no-color")||O("no-colors")||O("color=false")||O("color=never")?S=0:(O("color")||O("colors")||O("color=true")||O("color=always"))&&(S=1);"FORCE_COLOR"in g&&(g.FORCE_COLOR===!0||g.FORCE_COLOR==="true"?S=1:g.FORCE_COLOR===!1||g.FORCE_COLOR==="false"?S=0:S=g.FORCE_COLOR.length===0?1:Math.min(parseInt(g.FORCE_COLOR,10),3));function yt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bt(e){if(S===0)return 0;if(O("color=16m")||O("color=full")||O("color=truecolor"))return 3;if(O("color=256"))return 2;if(e&&!e.isTTY&&S===void 0)return 0;let o=S||0;if(g.TERM==="dumb")return o;if(process.platform==="win32"){let t=xt.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in g)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in g)||g.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if(g.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in g){let t=parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(g.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)||"COLORTERM"in g?1:o}function re(e){let o=bt(e);return yt(o)}Le.exports={supportsColor:re,stdout:re(process.stdout),stderr:re(process.stderr)}});var ze=E((F,B)=>{"use strict";var Ft=H("tty"),q=H("util");F.init=kt;F.log=St;F.formatArgs=vt;F.save=Et;F.load=jt;F.useColors=It;F.destroy=q.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");F.colors=[6,2,3,4,5,1];try{let e=Ae();e&&(e.stderr||e).level>=2&&(F.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}F.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,o)=>{let t=o.substring(6).toLowerCase().replace(/_([a-z])/g,(r,s)=>s.toUpperCase()),n=process.env[o];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[t]=n,e},{});function It(){return"colors"in F.inspectOpts?!!F.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function vt(e){let{namespace:o,useColors:t}=this;if(t){let n=this.color,r="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${r};1m${o} \x1B[0m`;e[0]=s+e[0].split(`
|
|
1
|
+
"use strict";(()=>{var We=Object.create;var ue=Object.defineProperty;var Ke=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ze=Object.prototype.hasOwnProperty;var Z=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,t)=>(typeof require<"u"?require:o)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var I=(e,o)=>()=>(e&&(o=e(e=0)),o);var k=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ye=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of He(o))!Ze.call(e,r)&&r!==t&&ue(e,r,{get:()=>o[r],enumerable:!(n=Ke(o,r))||n.enumerable});return e};var V=(e,o,t)=>(t=e!=null?We(Je(e)):{},Ye(o||!e||!e.__esModule?ue(t,"default",{value:e,enumerable:!0}):t,e));var Xe,$,Y,fe,G=I(()=>{"use strict";Xe=Object.freeze({left:0,top:0,width:16,height:16}),$=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...Xe,...$}),fe=Object.freeze({...Y,body:"",hidden:!1})});var Qe,U,X=I(()=>{"use strict";G();Qe=Object.freeze({width:null,height:null}),U=Object.freeze({...Qe,...$})});function pe(e,o){let t={};!e.hFlip!=!o.hFlip&&(t.hFlip=!0),!e.vFlip!=!o.vFlip&&(t.vFlip=!0);let n=((e.rotate||0)+(o.rotate||0))%4;return n&&(t.rotate=n),t}var me=I(()=>{"use strict"});function Q(e,o){let t=pe(e,o);for(let n in fe)n in $?n in e&&!(n in t)&&(t[n]=$[n]):n in o?t[n]=o[n]:n in e&&(t[n]=e[n]);return t}var de=I(()=>{"use strict";G();me()});function ge(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function i(l){if(t[l])return r[l]=[];if(!(l in r)){r[l]=null;let f=n[l]&&n[l].parent,m=f&&i(f);m&&(r[l]=[f].concat(m))}return r[l]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(i),r}var he=I(()=>{"use strict"});function Ce(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),i={};function l(f){i=Q(n[f]||r[f],i)}return l(o),t.forEach(l),Q(e,i)}function we(e,o){if(e.icons[o])return Ce(e,o,[]);let t=ge(e,[o])[o];return t?Ce(e,o,t):null}var xe=I(()=>{"use strict";de();he()});function ee(e,o,t){if(o===1)return e;if(t=t||100,typeof e=="number")return Math.ceil(e*o*t)/t;if(typeof e!="string")return e;let n=e.split(et);if(n===null||!n.length)return e;let r=[],i=n.shift(),l=tt.test(i);for(;;){if(l){let f=parseFloat(i);isNaN(f)?r.push(i):r.push(Math.ceil(f*o*t)/t)}else r.push(i);if(i=n.shift(),i===void 0)return r.join("");l=!l}}var et,tt,ye=I(()=>{"use strict";et=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function ot(e,o="defs"){let t="",n=e.indexOf("<"+o);for(;n>=0;){let r=e.indexOf(">",n),i=e.indexOf("</"+o);if(r===-1||i===-1)break;let l=e.indexOf(">",i);if(l===-1)break;t+=e.slice(r+1,i).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:t,content:e}}function rt(e,o){return e?"<defs>"+e+"</defs>"+o:o}function be(e,o,t){let n=ot(e);return rt(n.defs,o+n.content+t)}var Fe=I(()=>{"use strict"});function Ie(e,o){let t={...Y,...e},n={...U,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},i=t.body;[t,n].forEach(a=>{let c=[],w=a.hFlip,d=a.vFlip,F=a.rotate;w?d?F+=2:(c.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),c.push("scale(-1 1)"),r.top=r.left=0):d&&(c.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),c.push("scale(1 -1)"),r.top=r.left=0);let g;switch(F<0&&(F-=Math.floor(F/4)*4),F=F%4,F){case 1:g=r.height/2+r.top,c.unshift("rotate(90 "+g.toString()+" "+g.toString()+")");break;case 2:c.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:g=r.width/2+r.left,c.unshift("rotate(-90 "+g.toString()+" "+g.toString()+")");break}F%2===1&&(r.left!==r.top&&(g=r.left,r.left=r.top,r.top=g),r.width!==r.height&&(g=r.width,r.width=r.height,r.height=g)),c.length&&(i=be(i,'<g transform="'+c.join(" ")+'">',"</g>"))});let l=n.width,f=n.height,m=r.width,C=r.height,s,u;l===null?(u=f===null?"1em":f==="auto"?C:f,s=ee(u,m/C)):(s=l==="auto"?m:l,u=f===null?ee(s,C/m):f==="auto"?C:f);let p={},y=(a,c)=>{_(c)||(p[a]=c.toString())};y("width",s),y("height",u);let b=[r.left,r.top,m,C];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:i}}var _,te=I(()=>{"use strict";G();X();ye();Fe();_=e=>e==="unset"||e==="undefined"||e==="none"});function Oe(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()}var Ee=I(()=>{"use strict"});function it(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(i,l)=>{let f=l.exec(n),m=f!=null,C=o[i];return!C&&!_(C)&&(typeof t=="number"?t>0&&(o[i]=`${t}em`):f&&(o[i]=f[1])),m};return[r("width",nt),r("height",st)]}async function q(e,o,t,n,r,i){let{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:C}=n?.customizations??{},s=await r?.()??{};await C?.(o,t,s),Object.keys(m).forEach(a=>{let c=m[a];c!=null&&(s[a]=c)}),i?.(s);let[u,p]=it(e,s,l);f&&(!e.includes("xmlns=")&&!s.xmlns&&(s.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!s["xmlns:xlink"]&&(s["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let y=Object.keys(s).map(a=>a==="width"&&u||a==="height"&&p?null:`${a}="${s[a]}"`).filter(a=>a!=null);if(y.length&&(e=e.replace(oe,`<svg ${y.join(" ")} `)),n){let{defaultStyle:a,defaultClass:c}=n;c&&!e.includes("class=")&&(e=e.replace(oe,`<svg class="${c}" `)),a&&!e.includes("style=")&&(e=e.replace(oe,`<svg style="${a}" `))}let b=n?.usedProps;return b&&(Object.keys(m).forEach(a=>{let c=s[a];c!=null&&(b[a]=c)}),typeof s.width<"u"&&s.width!==null&&(b.width=s.width),typeof s.height<"u"&&s.height!==null&&(b.height=s.height)),e}var nt,st,oe,re=I(()=>{"use strict";te();nt=/\swidth\s*=\s*["']([\w.]+)["']/,st=/\sheight\s*=\s*["']([\w.]+)["']/,oe=/<svg\s+/});var ke=k((io,je)=>{"use strict";var L=1e3,P=L*60,A=P*60,T=A*24,ct=T*7,at=T*365.25;je.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return lt(e);if(t==="number"&&isFinite(e))return o.long?ft(e):ut(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function lt(e){if(e=String(e),!(e.length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var t=parseFloat(o[1]),n=(o[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*at;case"weeks":case"week":case"w":return t*ct;case"days":case"day":case"d":return t*T;case"hours":case"hour":case"hrs":case"hr":case"h":return t*A;case"minutes":case"minute":case"mins":case"min":case"m":return t*P;case"seconds":case"second":case"secs":case"sec":case"s":return t*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function ut(e){var o=Math.abs(e);return o>=T?Math.round(e/T)+"d":o>=A?Math.round(e/A)+"h":o>=P?Math.round(e/P)+"m":o>=L?Math.round(e/L)+"s":e+"ms"}function ft(e){var o=Math.abs(e);return o>=T?B(e,o,T,"day"):o>=A?B(e,o,A,"hour"):o>=P?B(e,o,P,"minute"):o>=L?B(e,o,L,"second"):e+" ms"}function B(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ne=k((co,Te)=>{"use strict";function pt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=i,t.enable=r,t.enabled=l,t.humanize=ke(),t.destroy=C,Object.keys(e).forEach(s=>{t[s]=e[s]}),t.names=[],t.skips=[],t.formatters={};function o(s){let u=0;for(let p=0;p<s.length;p++)u=(u<<5)-u+s.charCodeAt(p),u|=0;return t.colors[Math.abs(u)%t.colors.length]}t.selectColor=o;function t(s){let u,p=null,y,b;function a(...c){if(!a.enabled)return;let w=a,d=Number(new Date),F=d-(u||d);w.diff=F,w.prev=u,w.curr=d,u=d,c[0]=t.coerce(c[0]),typeof c[0]!="string"&&c.unshift("%O");let g=0;c[0]=c[0].replace(/%([a-zA-Z%])/g,(O,M)=>{if(O==="%%")return"%";g++;let z=t.formatters[M];if(typeof z=="function"){let R=c[g];O=z.call(w,R),c.splice(g,1),g--}return O}),t.formatArgs.call(w,c),(w.log||t.log).apply(w,c)}return a.namespace=s,a.useColors=t.useColors(),a.color=t.selectColor(s),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(y!==t.namespaces&&(y=t.namespaces,b=t.enabled(s)),b),set:c=>{p=c}}),typeof t.init=="function"&&t.init(a),a}function n(s,u){let p=t(this.namespace+(typeof u>"u"?":":u)+s);return p.log=this.log,p}function r(s){t.save(s),t.namespaces=s,t.names=[],t.skips=[];let u,p=(typeof s=="string"?s:"").split(/[\s,]+/),y=p.length;for(u=0;u<y;u++)p[u]&&(s=p[u].replace(/\*/g,".*?"),s[0]==="-"?t.skips.push(new RegExp("^"+s.slice(1)+"$")):t.names.push(new RegExp("^"+s+"$")))}function i(){let s=[...t.names.map(f),...t.skips.map(f).map(u=>"-"+u)].join(",");return t.enable(""),s}function l(s){if(s[s.length-1]==="*")return!0;let u,p;for(u=0,p=t.skips.length;u<p;u++)if(t.skips[u].test(s))return!1;for(u=0,p=t.names.length;u<p;u++)if(t.names[u].test(s))return!0;return!1}function f(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}function m(s){return s instanceof Error?s.stack||s.message:s}function C(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}Te.exports=pt});var Re=k((v,W)=>{"use strict";v.formatArgs=dt;v.save=gt;v.load=ht;v.useColors=mt;v.storage=Ct();v.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();v.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function mt(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function dt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+W.exports.humanize(this.diff),!this.useColors)return;let o="color: "+this.color;e.splice(1,0,o,"color: inherit");let t=0,n=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(t++,r==="%c"&&(n=t))}),e.splice(n,0,o)}v.log=console.debug||console.log||(()=>{});function gt(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function ht(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Ct(){try{return localStorage}catch{}}W.exports=ne()(v);var{formatters:wt}=W.exports;wt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var Le=k((ao,$e)=>{"use strict";$e.exports=(e,o)=>{o=o||process.argv;let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}});var Ae=k((lo,Pe)=>{"use strict";var xt=Z("os"),S=Le(),{env:h}=process,E;S("no-color")||S("no-colors")||S("color=false")||S("color=never")?E=0:(S("color")||S("colors")||S("color=true")||S("color=always"))&&(E=1);"FORCE_COLOR"in h&&(h.FORCE_COLOR===!0||h.FORCE_COLOR==="true"?E=1:h.FORCE_COLOR===!1||h.FORCE_COLOR==="false"?E=0:E=h.FORCE_COLOR.length===0?1:Math.min(parseInt(h.FORCE_COLOR,10),3));function yt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bt(e){if(E===0)return 0;if(S("color=16m")||S("color=full")||S("color=truecolor"))return 3;if(S("color=256"))return 2;if(e&&!e.isTTY&&E===void 0)return 0;let o=E||0;if(h.TERM==="dumb")return o;if(process.platform==="win32"){let t=xt.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in h)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in h)||h.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in h)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(h.TEAMCITY_VERSION)?1:0;if(h.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in h){let t=parseInt((h.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(h.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(h.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(h.TERM)||"COLORTERM"in h?1:o}function se(e){let o=bt(e);return yt(o)}Pe.exports={supportsColor:se,stdout:se(process.stdout),stderr:se(process.stderr)}});var _e=k((x,H)=>{"use strict";var Ft=Z("tty"),K=Z("util");x.init=kt;x.log=Ot;x.formatArgs=vt;x.save=Et;x.load=jt;x.useColors=It;x.destroy=K.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");x.colors=[6,2,3,4,5,1];try{let e=Ae();e&&(e.stderr||e).level>=2&&(x.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}x.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,o)=>{let t=o.substring(6).toLowerCase().replace(/_([a-z])/g,(r,i)=>i.toUpperCase()),n=process.env[o];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[t]=n,e},{});function It(){return"colors"in x.inspectOpts?!!x.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function vt(e){let{namespace:o,useColors:t}=this;if(t){let n=this.color,r="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${r};1m${o} \x1B[0m`;e[0]=i+e[0].split(`
|
|
2
2
|
`).join(`
|
|
3
|
-
`+
|
|
4
|
-
`)}function Et(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function jt(){return process.env.DEBUG}function kt(e){e.inspectOpts={};let o=Object.keys(
|
|
5
|
-
`).map(o=>o.trim()).join(" ")};
|
|
3
|
+
`+i),e.push(r+"m+"+H.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=St()+o+" "+e[0]}function St(){return x.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Ot(...e){return process.stderr.write(K.format(...e)+`
|
|
4
|
+
`)}function Et(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function jt(){return process.env.DEBUG}function kt(e){e.inspectOpts={};let o=Object.keys(x.inspectOpts);for(let t=0;t<o.length;t++)e.inspectOpts[o[t]]=x.inspectOpts[o[t]]}H.exports=ne()(x);var{formatters:ze}=H.exports;ze.o=function(e){return this.inspectOpts.colors=this.useColors,K.inspect(e,this.inspectOpts).split(`
|
|
5
|
+
`).map(o=>o.trim()).join(" ")};ze.O=function(e){return this.inspectOpts.colors=this.useColors,K.inspect(e,this.inspectOpts)}});var N=k((uo,ie)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ie.exports=Re():ie.exports=_e()});async function ce(e,o,t,n){let r;Tt(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let i=e[t];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${t}" in "${o}":`,i);return}if(r){let i=r.indexOf("<svg");i>0&&(r=r.slice(i));let{transform:l}=n?.customizations??{};return r=typeof l=="function"?await l(r,o,t):r,r.startsWith("<svg")?await q(n?.customizations?.trimCustomSvg===!0?Oe(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Ne,Tt,De=I(()=>{"use strict";Ne=V(N(),1);re();Ee();Tt=(0,Ne.default)("@iconify-loader:custom")});async function J(e,o,t,n){let r,{customize:i}=n?.customizations??{};for(let l of t)if(r=we(e,l),r){Rt(`${o}:${l}`);let f={...U};typeof i=="function"&&(f=i(f));let{attributes:{width:m,height:C,...s},body:u}=Ie(r,f),p=n?.scale;return await q(`<svg >${u}</svg>`,o,l,n,()=>({...s}),y=>{let b=(a,c)=>{let w=y[a],d;if(!_(w)){if(w)return;typeof p=="number"?p&&(d=`${p}em`):d=c}d?y[a]=d:delete y[a]};b("width",m),b("height",C)})}}var Me,Rt,ae=I(()=>{"use strict";te();xe();re();Me=V(N(),1);X();Rt=(0,Me.default)("@iconify-loader:icon")});var Fo,D,le=I(()=>{"use strict";De();ae();Fo=V(N(),1),D=async(e,o,t)=>{let n=t?.customCollections?.[e];if(n)if(typeof n=="function"){let r;try{r=await n(o)}catch(i){console.warn(`Failed to load custom icon "${o}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await ce(()=>r,e,o,t);if("icons"in r){let i=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await J(r,e,i,t)}}}else return await ce(n,e,o,t)}});function ve(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Se(e){let o=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!o.includes(" xmlns:xlink=")&&o.includes(" xlink:")&&(o=o.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),o.includes(" xmlns=")||(o=o.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),ve(o)}le();var vo=V(N(),1);var Ve=new Set;function Ge(e){Ve.has(e)||(console.warn("[unocss]",e),Ve.add(e))}le();ae();var Ue=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","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-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","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","logos","ls","lucide","majesticons","maki","map","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","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var Lt=3;function qe(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:i=!1,collections:l,extraProperties:f={},customizations:m={},autoInstall:C=!1,collectionsNodeResolvePath:s,layer:u="icons",unit:p}=o,y=Pt(),b={addXmlNs:!0,scale:t,customCollections:l,autoInstall:C,cwd:s,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(c,w,d){await m.iconCustomizer?.(c,w,d),p&&(d.width||(d.width=`${t}${p}`),d.height||(d.height=`${t}${p}`))}}},a;return{name:"@unocss/preset-icons",enforce:"pre",options:o,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([c,w,d=n])=>{let F="",g="",j;a=a||await e(o);let O={};if(w.includes(":"))[F,g]=w.split(":"),j=await a(F,g,{...b,usedProps:O});else{let z=w.split(/-/g);for(let R=Lt;R>=1&&(F=z.slice(0,R).join("-"),g=z.slice(R).join("-"),j=await a(F,g,{...b,usedProps:O}),!j);R--);}if(!j){i&&!y.isESLint&&Ge(`failed to load icon "${c}"`);return}let M=`url("data:image/svg+xml;utf8,${Se(j)}")`;return d==="auto"&&(d=j.includes("currentColor")?"mask":"bg"),d==="mask"?{"--un-icon":M,"-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",...O}:{background:`${M} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...O}},{layer:u,prefix:r}]]}}}function Be(e,o){let t=new Map;function n(r){if(Ue.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,i,l)=>{let f=await D(r,i,l);if(f)return f;let m=await n(r);if(m){let C=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];f=await J(m,r,C,l)}return f}}function Pt(){let e=typeof process<"u"&&process.stdout&&!process.versions.deno,o=e&&!!process.env.VSCODE_CWD,t=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:o,isESLint:t}}window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=qe(async o=>{let t=o?.customFetch??(r=>fetch(r).then(i=>i.json())),n=o?.cdn;return n?Be(t,n):D});return{presetIcons:o=>e(o)}})());})();
|