@unocss/runtime 0.58.9 → 0.59.0
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 +3 -3
- package/core.global.js +2 -2
- package/dist/index.js +7 -28
- package/full.global.js +3 -3
- package/mini.global.js +3 -3
- package/package.json +8 -8
- package/preset-icons.global.js +4 -4
- package/preset-mini.global.js +2 -2
- package/preset-uno.global.js +2 -2
- package/preset-wind.global.js +2 -2
- package/uno.global.js +3 -3
- package/dist/index.d.mts +0 -126
- package/dist/index.mjs +0 -249
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.59.0",
|
|
4
5
|
"description": "CSS-in-JS Runtime for UnoCSS",
|
|
5
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
7
|
"license": "MIT",
|
|
@@ -21,12 +22,11 @@
|
|
|
21
22
|
"exports": {
|
|
22
23
|
".": {
|
|
23
24
|
"types": "./dist/index.d.ts",
|
|
24
|
-
"
|
|
25
|
-
"require": "./dist/index.js"
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"main": "./dist/index.js",
|
|
29
|
-
"module": "./dist/index.
|
|
29
|
+
"module": "./dist/index.js",
|
|
30
30
|
"unpkg": "./uno.global.js",
|
|
31
31
|
"jsdelivr": "./uno.global.js",
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/
|
|
39
|
-
"@unocss/preset-uno": "0.
|
|
40
|
-
"@unocss/
|
|
38
|
+
"@unocss/core": "0.59.0",
|
|
39
|
+
"@unocss/preset-uno": "0.59.0",
|
|
40
|
+
"@unocss/preset-attributify": "0.59.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm run build:node && pnpm run build:cdn && pnpm run build:presets",
|
|
44
44
|
"build:cdn": "tsup src/cdn/*.ts --format iife --minify --out-dir .",
|
|
45
|
-
"build:node": "tsup
|
|
45
|
+
"build:node": "tsup --config tsup.node-config.ts",
|
|
46
46
|
"build:presets": "tsup src/presets/*.ts --format iife --minify --out-dir .",
|
|
47
47
|
"watch": "tsup src/cdn/*.ts --format iife --watch src --out-dir .",
|
|
48
48
|
"dev": "nr watch & live-server --open=/play"
|
package/preset-icons.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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(`
|
|
1
|
+
"use strict";(()=>{var He=Object.create;var fe=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Ye=Object.getPrototypeOf,Xe=Object.prototype.hasOwnProperty;var V=(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 F=(e,o)=>()=>(e&&(o=e(e=0)),o);var k=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Qe=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of Ze(o))!Xe.call(e,r)&&r!==t&&fe(e,r,{get:()=>o[r],enumerable:!(n=Je(o,r))||n.enumerable});return e};var U=(e,o,t)=>(t=e!=null?He(Ye(e)):{},Qe(o||!e||!e.__esModule?fe(t,"default",{value:e,enumerable:!0}):t,e));var et,R,Y,pe,G=F(()=>{"use strict";et=Object.freeze({left:0,top:0,width:16,height:16}),R=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Y=Object.freeze({...et,...R}),pe=Object.freeze({...Y,body:"",hidden:!1})});var tt,q,X=F(()=>{"use strict";G();tt=Object.freeze({width:null,height:null}),q=Object.freeze({...tt,...R})});function me(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 de=F(()=>{"use strict"});function Q(e,o){let t=me(e,o);for(let n in pe)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 ge=F(()=>{"use strict";G();de()});function he(e,o){let t=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);function s(l){if(t[l])return r[l]=[];if(!(l in r)){r[l]=null;let f=n[l]&&n[l].parent,m=f&&s(f);m&&(r[l]=[f].concat(m))}return r[l]}return(o||Object.keys(t).concat(Object.keys(n))).forEach(s),r}var Ce=F(()=>{"use strict"});function we(e,o,t){let n=e.icons,r=e.aliases||Object.create(null),s={};function l(f){s=Q(n[f]||r[f],s)}return l(o),t.forEach(l),Q(e,s)}function xe(e,o){if(e.icons[o])return we(e,o,[]);let t=he(e,[o])[o];return t?we(e,o,t):null}var ye=F(()=>{"use strict";ge();Ce()});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(ot);if(n===null||!n.length)return e;let r=[],s=n.shift(),l=rt.test(s);for(;;){if(l){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("");l=!l}}var ot,rt,be=F(()=>{"use strict";ot=/(-?[0-9.]*[0-9]+[0-9.]*)/g,rt=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function nt(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 l=e.indexOf(">",s);if(l===-1)break;t+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(l+1)}return{defs:t,content:e}}function it(e,o){return e?"<defs>"+e+"</defs>"+o:o}function Ie(e,o,t){let n=nt(e);return it(n.defs,o+n.content+t)}var Fe=F(()=>{"use strict"});function ve(e,o){let t={...Y,...e},n={...q,...o},r={left:t.left,top:t.top,width:t.width,height:t.height},s=t.body;[t,n].forEach(a=>{let c=[],C=a.hFlip,d=a.vFlip,I=a.rotate;C?d?I+=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(I<0&&(I-=Math.floor(I/4)*4),I=I%4,I){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}I%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&&(s=Ie(s,'<g transform="'+c.join(" ")+'">',"</g>"))});let l=n.width,f=n.height,m=r.width,h=r.height,i,u;l===null?(u=f===null?"1em":f==="auto"?h:f,i=ee(u,m/h)):(i=l==="auto"?m:l,u=f===null?ee(i,h/m):f==="auto"?h:f);let p={},y=(a,c)=>{_(c)||(p[a]=c.toString())};y("width",i),y("height",u);let b=[r.left,r.top,m,h];return p.viewBox=b.join(" "),{attributes:p,viewBox:b,body:s}}var _,te=F(()=>{"use strict";G();X();be();Fe();_=e=>e==="unset"||e==="undefined"||e==="none"});function Ee(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 je=F(()=>{"use strict"});function at(e,o,t){let n=e.slice(0,e.indexOf(">")),r=(s,l)=>{let f=l.exec(n),m=f!=null,h=o[s];return!h&&!_(h)&&(typeof t=="number"?t>0&&(o[s]=`${t}em`):f&&(o[s]=f[1])),m};return[r("width",st),r("height",ct)]}async function B(e,o,t,n,r,s){let{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:m={},iconCustomizer:h}=n?.customizations??{},i=await r?.()??{};await h?.(o,t,i),Object.keys(m).forEach(a=>{let c=m[a];c!=null&&(i[a]=c)}),s?.(i);let[u,p]=at(e,i,l);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 y=Object.keys(i).map(a=>a==="width"&&u||a==="height"&&p?null:`${a}="${i[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=i[a];c!=null&&(b[a]=c)}),typeof i.width<"u"&&i.width!==null&&(b.width=i.width),typeof i.height<"u"&&i.height!==null&&(b.height=i.height)),e}var st,ct,oe,re=F(()=>{"use strict";te();st=/\swidth\s*=\s*["']([\w.]+)["']/,ct=/\sheight\s*=\s*["']([\w.]+)["']/,oe=/<svg\s+/});var Te=k((co,ke)=>{"use strict";var L=1e3,A=L*60,P=A*60,T=P*24,lt=T*7,ut=T*365.25;ke.exports=function(e,o){o=o||{};var t=typeof e;if(t==="string"&&e.length>0)return ft(e);if(t==="number"&&isFinite(e))return o.long?mt(e):pt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ft(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*ut;case"weeks":case"week":case"w":return t*lt;case"days":case"day":case"d":return t*T;case"hours":case"hour":case"hrs":case"hr":case"h":return t*P;case"minutes":case"minute":case"mins":case"min":case"m":return t*A;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 pt(e){var o=Math.abs(e);return o>=T?Math.round(e/T)+"d":o>=P?Math.round(e/P)+"h":o>=A?Math.round(e/A)+"m":o>=L?Math.round(e/L)+"s":e+"ms"}function mt(e){var o=Math.abs(e);return o>=T?W(e,o,T,"day"):o>=P?W(e,o,P,"hour"):o>=A?W(e,o,A,"minute"):o>=L?W(e,o,L,"second"):e+" ms"}function W(e,o,t,n){var r=o>=t*1.5;return Math.round(e/t)+" "+n+(r?"s":"")}});var ne=k((ao,$e)=>{"use strict";function dt(e){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=r,t.enabled=l,t.humanize=Te(),t.destroy=h,Object.keys(e).forEach(i=>{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={};function o(i){let u=0;for(let p=0;p<i.length;p++)u=(u<<5)-u+i.charCodeAt(p),u|=0;return t.colors[Math.abs(u)%t.colors.length]}t.selectColor=o;function t(i){let u,p=null,y,b;function a(...c){if(!a.enabled)return;let C=a,d=Number(new Date),I=d-(u||d);C.diff=I,C.prev=u,C.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 $=c[g];O=z.call(C,$),c.splice(g,1),g--}return O}),t.formatArgs.call(C,c),(C.log||t.log).apply(C,c)}return a.namespace=i,a.useColors=t.useColors(),a.color=t.selectColor(i),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(i)),b),set:c=>{p=c}}),typeof t.init=="function"&&t.init(a),a}function n(i,u){let p=t(this.namespace+(typeof u>"u"?":":u)+i);return p.log=this.log,p}function r(i){t.save(i),t.namespaces=i,t.names=[],t.skips=[];let u,p=(typeof i=="string"?i:"").split(/[\s,]+/),y=p.length;for(u=0;u<y;u++)p[u]&&(i=p[u].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(u=>"-"+u)].join(",");return t.enable(""),i}function l(i){if(i[i.length-1]==="*")return!0;let u,p;for(u=0,p=t.skips.length;u<p;u++)if(t.skips[u].test(i))return!1;for(u=0,p=t.names.length;u<p;u++)if(t.names[u].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 h(){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}$e.exports=dt});var Re=k((v,K)=>{"use strict";v.formatArgs=ht;v.save=Ct;v.load=wt;v.useColors=gt;v.storage=xt();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 gt(){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 ht(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+K.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 Ct(e){try{e?v.storage.setItem("debug",e):v.storage.removeItem("debug")}catch{}}function wt(){let e;try{e=v.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function xt(){try{return localStorage}catch{}}K.exports=ne()(v);var{formatters:yt}=K.exports;yt.j=function(e){try{return JSON.stringify(e)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}});var Ae=k((lo,Le)=>{"use strict";Le.exports=(e,o=process.argv)=>{let t=e.startsWith("-")?"":e.length===1?"-":"--",n=o.indexOf(t+e),r=o.indexOf("--");return n!==-1&&(r===-1||n<r)}});var _e=k((uo,ze)=>{"use strict";var bt=V("os"),Pe=V("tty"),S=Ae(),{env:w}=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 w&&(w.FORCE_COLOR==="true"?E=1:w.FORCE_COLOR==="false"?E=0:E=w.FORCE_COLOR.length===0?1:Math.min(parseInt(w.FORCE_COLOR,10),3));function ie(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function se(e,o){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&&!o&&E===void 0)return 0;let t=E||0;if(w.TERM==="dumb")return t;if(process.platform==="win32"){let n=bt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in w)||w.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let n=parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:t}function It(e){let o=se(e,e&&e.isTTY);return ie(o)}ze.exports={supportsColor:It,stdout:ie(se(!0,Pe.isatty(1))),stderr:ie(se(!0,Pe.isatty(2)))}});var De=k((x,J)=>{"use strict";var Ft=V("tty"),H=V("util");x.init=Tt;x.log=Et;x.formatArgs=St;x.save=jt;x.load=kt;x.useColors=vt;x.destroy=H.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=_e();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,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 vt(){return"colors"in x.inspectOpts?!!x.inspectOpts.colors:Ft.isatty(process.stderr.fd)}function St(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(`
|
|
2
2
|
`).join(`
|
|
3
|
-
`+
|
|
4
|
-
`)}function
|
|
5
|
-
`).map(o=>o.trim()).join(" ")};
|
|
3
|
+
`+s),e.push(r+"m+"+J.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Ot()+o+" "+e[0]}function Ot(){return x.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Et(...e){return process.stderr.write(H.format(...e)+`
|
|
4
|
+
`)}function jt(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function kt(){return process.env.DEBUG}function Tt(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]]}J.exports=ne()(x);var{formatters:Ne}=J.exports;Ne.o=function(e){return this.inspectOpts.colors=this.useColors,H.inspect(e,this.inspectOpts).split(`
|
|
5
|
+
`).map(o=>o.trim()).join(" ")};Ne.O=function(e){return this.inspectOpts.colors=this.useColors,H.inspect(e,this.inspectOpts)}});var N=k((fo,ce)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ce.exports=Re():ce.exports=De()});async function ae(e,o,t,n){let r;$t(`${o}:${t}`);try{if(typeof e=="function")r=await e(t);else{let s=e[t];r=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${t}" in "${o}":`,s);return}if(r){let s=r.indexOf("<svg");s>0&&(r=r.slice(s));let{transform:l}=n?.customizations??{};return r=typeof l=="function"?await l(r,o,t):r,r.startsWith("<svg")?await B(n?.customizations?.trimCustomSvg===!0?Ee(r):r,o,t,n,void 0):(console.warn(`Custom icon "${t}" in "${o}" is not a valid SVG`),r)}}var Me,$t,Ve=F(()=>{"use strict";Me=U(N(),1);re();je();$t=(0,Me.default)("@iconify-loader:custom")});async function Z(e,o,t,n){let r,{customize:s}=n?.customizations??{};for(let l of t)if(r=xe(e,l),r){Rt(`${o}:${l}`);let f={...q};typeof s=="function"&&(f=s(f));let{attributes:{width:m,height:h,...i},body:u}=ve(r,f),p=n?.scale;return await B(`<svg >${u}</svg>`,o,l,n,()=>({...i}),y=>{let b=(a,c)=>{let C=y[a],d;if(!_(C)){if(C)return;typeof p=="number"?p&&(d=`${p}em`):d=c}d?y[a]=d:delete y[a]};b("width",m),b("height",h)})}}var Ue,Rt,le=F(()=>{"use strict";te();ye();re();Ue=U(N(),1);X();Rt=(0,Ue.default)("@iconify-loader:icon")});var Fo,D,ue=F(()=>{"use strict";Ve();le();Fo=U(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(s){console.warn(`Failed to load custom icon "${o}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await ae(()=>r,e,o,t);if("icons"in r){let s=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];return await Z(r,e,s,t)}}}else return await ae(n,e,o,t)}});function Se(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Oe(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" ')),Se(o)}ue();var So=U(N(),1);var Ge=new Set;function qe(e){Ge.has(e)||(console.warn("[unocss]",e),Ge.add(e))}ue();le();var Be=["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","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","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","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];var At=3;function We(e){return(o={})=>{let{scale:t=1,mode:n="auto",prefix:r="i-",warn:s=!1,collections:l,extraProperties:f={},customizations:m={},autoInstall:h=!1,collectionsNodeResolvePath:i,layer:u="icons",unit:p}=o,y=Pt(),b={addXmlNs:!0,scale:t,customCollections:l,autoInstall:h,cwd:i,warn:void 0,customizations:{...m,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(c,C,d){await m.iconCustomizer?.(c,C,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,C,d=n])=>{let I="",g="",j;a=a||await e(o);let O={};if(C.includes(":"))[I,g]=C.split(":"),j=await a(I,g,{...b,usedProps:O});else{let z=C.split(/-/g);for(let $=At;$>=1&&(I=z.slice(0,$).join("-"),g=z.slice($).join("-"),j=await a(I,g,{...b,usedProps:O}),!j);$--);}if(!j){s&&!y.isESLint&&qe(`failed to load icon "${c}"`);return}let M=`url("data:image/svg+xml;utf8,${Oe(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 Ke(e,o){let t=new Map;function n(r){if(Be.includes(r))return t.has(r)||t.set(r,e(`${o}@iconify-json/${r}/icons.json`)),t.get(r)}return async(r,s,l)=>{let f=await D(r,s,l);if(f)return f;let m=await n(r);if(m){let h=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Z(m,r,h,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=We(async o=>{let t=o?.customFetch??(r=>fetch(r).then(s=>s.json())),n=o?.cdn;return n?Ke(t,n):D});return{presetIcons:o=>e(o)}})());})();
|