kubai-icons 0.3.1 → 0.4.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/dist/cdn/icons/bomb-alert.js +5 -0
- package/dist/cdn/icons/bomb-x.js +5 -0
- package/dist/cdn/icons/bomb.js +5 -0
- package/dist/cdn/icons/dock.js +4 -0
- package/dist/cdn/icons/eject.js +3 -0
- package/dist/cdn/icons/item-tracker-alert.js +5 -0
- package/dist/cdn/icons/item-tracker-check.js +5 -0
- package/dist/cdn/icons/item-tracker-plus.js +5 -0
- package/dist/cdn/icons/item-tracker-search.js +6 -0
- package/dist/cdn/icons/item-tracker-x.js +5 -0
- package/dist/cdn/icons/item-tracker.js +5 -0
- package/dist/cdn/icons/option.js +3 -0
- package/dist/cdn/icons/retro-computer-alert.js +6 -0
- package/dist/cdn/icons/retro-computer-check.js +6 -0
- package/dist/cdn/icons/retro-computer-heart.js +6 -0
- package/dist/cdn/icons/retro-computer-plus.js +6 -0
- package/dist/cdn/icons/retro-computer-x.js +6 -0
- package/dist/cdn/icons/retro-computer.js +6 -0
- package/dist/cdn/icons/usb-c-port-alert.js +5 -0
- package/dist/cdn/icons/usb-c-port-check.js +5 -0
- package/dist/cdn/icons/usb-c-port-x.js +5 -0
- package/dist/cdn/icons/usb-c-port.js +5 -0
- package/dist/cdn/icons/wireless-charger-alert.js +6 -0
- package/dist/cdn/icons/wireless-charger-check.js +6 -0
- package/dist/cdn/icons/wireless-charger-x.js +6 -0
- package/dist/cdn/icons/wireless-charger.js +6 -0
- package/dist/cdn/icons/wristwatch-alert.js +8 -0
- package/dist/cdn/icons/wristwatch-check.js +8 -0
- package/dist/cdn/icons/wristwatch-x.js +8 -0
- package/dist/cdn/icons/wristwatch.js +8 -0
- package/dist/defs/bomb.js +5 -0
- package/dist/defs/dock.js +4 -0
- package/dist/defs/eject.js +3 -0
- package/dist/defs/item-tracker.js +5 -0
- package/dist/defs/option.js +3 -0
- package/dist/defs/retro-computer.js +6 -0
- package/dist/defs/usb-c-port.js +5 -0
- package/dist/defs/wireless-charger.js +6 -0
- package/dist/defs/wristwatch.js +8 -0
- package/dist/dynamic.d.ts +30 -0
- package/dist/dynamic.js +30 -0
- package/dist/icons/bomb-alert.js +1 -0
- package/dist/icons/bomb-x.js +1 -0
- package/dist/icons/bomb.js +1 -0
- package/dist/icons/dock.js +1 -0
- package/dist/icons/eject.js +1 -0
- package/dist/icons/item-tracker-alert.js +1 -0
- package/dist/icons/item-tracker-check.js +1 -0
- package/dist/icons/item-tracker-plus.js +1 -0
- package/dist/icons/item-tracker-search.js +1 -0
- package/dist/icons/item-tracker-x.js +1 -0
- package/dist/icons/item-tracker.js +1 -0
- package/dist/icons/option.js +1 -0
- package/dist/icons/retro-computer-alert.js +1 -0
- package/dist/icons/retro-computer-check.js +1 -0
- package/dist/icons/retro-computer-heart.js +1 -0
- package/dist/icons/retro-computer-plus.js +1 -0
- package/dist/icons/retro-computer-x.js +1 -0
- package/dist/icons/retro-computer.js +1 -0
- package/dist/icons/usb-c-port-alert.js +1 -0
- package/dist/icons/usb-c-port-check.js +1 -0
- package/dist/icons/usb-c-port-x.js +1 -0
- package/dist/icons/usb-c-port.js +1 -0
- package/dist/icons/wireless-charger-alert.js +1 -0
- package/dist/icons/wireless-charger-check.js +1 -0
- package/dist/icons/wireless-charger-x.js +1 -0
- package/dist/icons/wireless-charger.js +1 -0
- package/dist/icons/wristwatch-alert.js +1 -0
- package/dist/icons/wristwatch-check.js +1 -0
- package/dist/icons/wristwatch-x.js +1 -0
- package/dist/icons/wristwatch.js +1 -0
- package/dist/icons.json +1 -1
- package/dist/index.d.ts +60 -0
- package/dist/index.js +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as S,f as l,OL as F,DEEPS as C,WHITES as A,rp as Z,circ as G,at as m,bump as I,clamp01 as O}from"../element.js";import{OL as b,f as q}from"../element.js";function d(t,a,r,{sh:s=!0,hi:e=!0,rule:i}={}){let n=i?` fill-rule="${i}"`:"",o=`<path d="${a}" fill="${r}"${n}/>`;return e&&(o=`<g filter="${t.hi}">${o}</g>`),s&&(o=`<g filter="${t.sh}">${o}</g>`),`${o}<path d="${a}"${n} ${b}/>`}import{f as t0,rp as K,WHITE as r0}from"../element.js";function u(t,a=.2){let r=t*a,s=[],e=[],i=[[0,-t],[t,0],[0,t],[-t,0]];for(let n=0;n<4;n++){let o=i[n],c=i[(n+1)%4],_=[Math.sign(o[0]+c[0])*r,Math.sign(o[1]+c[1])*r];for(let h=0;h<6;h++){let f=h/6,Q=1-f;s.push([Q*Q*o[0]+2*Q*f*_[0]+f*f*c[0],Q*Q*o[1]+2*Q*f*_[1]+f*f*c[1]]),e.push(h===0?.5:.01)}}return K(s,e)}var L=[20.4,7.8],k=[21.6,3.4],B=[24.8,3.6],p=(t,a,r)=>[t[0]+(a[0]-t[0])*r,t[1]+(a[1]-t[1])*r],P=t=>{let a=p(L,k,t),r=p(a,p(k,B,t),t);return{d:`M${L[0]} ${L[1]}Q${l(a[0])} ${l(a[1])} ${l(r[0])} ${l(r[1])}`,e:r}},U=(t,a,r,s)=>s.map(([e,i])=>[t+e*Math.cos(r)-i*Math.sin(r),a+e*Math.sin(r)+i*Math.cos(r)]),D=Z(U(18.9,9.3,-Math.PI/4,[[-2.2,-2.6],[2.2,-2.6],[2.2,2.6],[-2.2,2.6]]),1),$=u(2.8),g=S({name:"bomb",category:"interface",tags:["crash","error","fatal","explode","boom","danger","cartoon bomb"],variants:["x","alert"],svg:t=>`<path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" ${C}/>
|
|
2
|
+
${d(t,G(13,15.2,8.2),t.loS)}
|
|
3
|
+
${d(t,D,t.upS,{sh:!1})}
|
|
4
|
+
<path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" ${A} stroke-opacity=".8"/>
|
|
5
|
+
<g data-n="sp"><g filter="${t.hi}"><path d="${$}" fill="${t.upS}"/></g><path d="${$}" ${F}/></g>`,target:t=>({o:t?1:0}),draw(t,a){let r=O(t.o),{d:s,e}=P(1-.45*r);m(a.fz,{d:s}),m(a.sp,{transform:`translate(${l(e[0])} ${l(e[1])}) rotate(${l(45*r)}) scale(${l(1+.45*I(r))})`})}});import{defineBadge as H,at as N,f as y,rr as W,circ as T,clamp01 as j,rattle as z}from"../element.js";import{f as n0}from"../element.js";var E=5,M='fill="#FFFFFF"';var x=(t,a)=>`<g data-n="kbG"><circle r="${E}" data-t="fill:#5393FF"/>${a}</g>`;var v=H({name:"alert",tone:"#D97706",tags:["warning","alert","attention","error","exclamation"],svg:t=>x(t,`<path d="${W(-1.1,-3.2,2.2,4,1.1)+T(0,2.4,1.2)}" ${M}/>`),target:t=>({s:t?1.14:1,o:t?1:0}),draw(t,a){let r=j(t.o);N(a.kbG,{transform:`rotate(${y(z(r,18,3))}) scale(${y(t.s)})`})}});import{withBadge as R}from"../element.js";import{icon as V}from"../element.js";var w=R(g,v),u0=V("bomb-alert",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="#000"/></mask><mask id="ol-__K__-2" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" d="M20.4 7.8Q21.6 3.4 24.8 3.6" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" stroke-opacity=".8" style="stroke:var(--ki-w,#fff)"/><g data-n="sp" transform="translate(24.8 3.6) rotate(0) scale(1)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="rotate(0) scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path d="M-1.1 -2.1Q-1.1 -3.2 0 -3.2L0 -3.2Q1.1 -3.2 1.1 -2.1L1.1 -0.3Q1.1 0.8 0 0.8L0 0.8Q-1.1 0.8 -1.1 -0.3ZM-1.2 2.4A1.2 1.2 0 1 0 1.2 2.4A1.2 1.2 0 1 0 -1.2 2.4Z" fill="#FFFFFF"/></g></g>',w.target,w.draw,0,"#D97706");export{u0 as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as C,f as l,OL as F,DEEPS as A,WHITES as G,rp as Z,circ as I,at as m,bump as O,clamp01 as B}from"../element.js";import{OL as K,f as q}from"../element.js";function Q(t,r,a,{sh:s=!0,hi:e=!0,rule:i}={}){let n=i?` fill-rule="${i}"`:"",o=`<path d="${r}" fill="${a}"${n}/>`;return e&&(o=`<g filter="${t.hi}">${o}</g>`),s&&(o=`<g filter="${t.sh}">${o}</g>`),`${o}<path d="${r}"${n} ${K}/>`}import{f as t0,rp as S,WHITE as r0}from"../element.js";function u(t,r=.2){let a=t*r,s=[],e=[],i=[[0,-t],[t,0],[0,t],[-t,0]];for(let n=0;n<4;n++){let o=i[n],c=i[(n+1)%4],_=[Math.sign(o[0]+c[0])*a,Math.sign(o[1]+c[1])*a];for(let h=0;h<6;h++){let f=h/6,d=1-f;s.push([d*d*o[0]+2*d*f*_[0]+f*f*c[0],d*d*o[1]+2*d*f*_[1]+f*f*c[1]]),e.push(h===0?.5:.01)}}return S(s,e)}var L=[20.4,7.8],k=[21.6,3.4],P=[24.8,3.6],p=(t,r,a)=>[t[0]+(r[0]-t[0])*a,t[1]+(r[1]-t[1])*a],U=t=>{let r=p(L,k,t),a=p(r,p(k,P,t),t);return{d:`M${L[0]} ${L[1]}Q${l(r[0])} ${l(r[1])} ${l(a[0])} ${l(a[1])}`,e:a}},D=(t,r,a,s)=>s.map(([e,i])=>[t+e*Math.cos(a)-i*Math.sin(a),r+e*Math.sin(a)+i*Math.cos(a)]),E=Z(D(18.9,9.3,-Math.PI/4,[[-2.2,-2.6],[2.2,-2.6],[2.2,2.6],[-2.2,2.6]]),1),$=u(2.8),g=C({name:"bomb",category:"interface",tags:["crash","error","fatal","explode","boom","danger","cartoon bomb"],variants:["x","alert"],svg:t=>`<path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" ${A}/>
|
|
2
|
+
${Q(t,I(13,15.2,8.2),t.loS)}
|
|
3
|
+
${Q(t,E,t.upS,{sh:!1})}
|
|
4
|
+
<path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" ${G} stroke-opacity=".8"/>
|
|
5
|
+
<g data-n="sp"><g filter="${t.hi}"><path d="${$}" fill="${t.upS}"/></g><path d="${$}" ${F}/></g>`,target:t=>({o:t?1:0}),draw(t,r){let a=B(t.o),{d:s,e}=U(1-.45*a);m(r.fz,{d:s}),m(r.sp,{transform:`translate(${l(e[0])} ${l(e[1])}) rotate(${l(45*a)}) scale(${l(1+.45*O(a))})`})}});import{defineBadge as W,at as v,f as T,clamp01 as j,rattle as z}from"../element.js";import{f as H}from"../element.js";var N=5;var M='stroke="#FFFFFF"',x=(t,r)=>`<g data-n="kbG"><circle r="${N}" data-t="fill:#5393FF"/>${r}</g>`,y=t=>`scale(${H(t)})`;var b=W({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:t=>x(t,`<path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" ${M}/>`),target:t=>({s:t?1.14:1,o:t?1:0}),draw(t,r){v(r.kbG,{transform:y(t.s)}),v(r.kbM,{transform:`rotate(${T(z(j(t.o),18,3))})`})}});import{withBadge as R}from"../element.js";import{icon as V}from"../element.js";var w=R(g,b),_0=V("bomb-x",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="#000"/></mask><mask id="ol-__K__-2" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" d="M20.4 7.8Q21.6 3.4 24.8 3.6" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" stroke-opacity=".8" style="stroke:var(--ki-w,#fff)"/><g data-n="sp" transform="translate(24.8 3.6) rotate(0) scale(1)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="rotate(0)"/></g></g>',w.target,w.draw,0,"#DC2626");export{_0 as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as x,f as l,OL as v,DEEPS as w,WHITES as S,rp as C,circ as K,at as m,bump as b,clamp01 as A}from"../element.js";import{OL as g,f as B}from"../element.js";function d(t,e,r,{sh:i=!0,hi:a=!0,rule:s}={}){let n=s?` fill-rule="${s}"`:"",o=`<path d="${e}" fill="${r}"${n}/>`;return a&&(o=`<g filter="${t.hi}">${o}</g>`),i&&(o=`<g filter="${t.sh}">${o}</g>`),`${o}<path d="${e}"${n} ${g}/>`}import{f as E,rp as y,WHITE as T}from"../element.js";function $(t,e=.2){let r=t*e,i=[],a=[],s=[[0,-t],[t,0],[0,t],[-t,0]];for(let n=0;n<4;n++){let o=s[n],L=s[(n+1)%4],u=[Math.sign(o[0]+L[0])*r,Math.sign(o[1]+L[1])*r];for(let h=0;h<6;h++){let f=h/6,Q=1-f;i.push([Q*Q*o[0]+2*Q*f*u[0]+f*f*L[0],Q*Q*o[1]+2*Q*f*u[1]+f*f*L[1]]),a.push(h===0?.5:.01)}}return y(i,a)}var c=[20.4,7.8],k=[21.6,3.4],Z=[24.8,3.6],p=(t,e,r)=>[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r],G=t=>{let e=p(c,k,t),r=p(e,p(k,Z,t),t);return{d:`M${c[0]} ${c[1]}Q${l(e[0])} ${l(e[1])} ${l(r[0])} ${l(r[1])}`,e:r}},I=(t,e,r,i)=>i.map(([a,s])=>[t+a*Math.cos(r)-s*Math.sin(r),e+a*Math.sin(r)+s*Math.cos(r)]),O=C(I(18.9,9.3,-Math.PI/4,[[-2.2,-2.6],[2.2,-2.6],[2.2,2.6],[-2.2,2.6]]),1),M=$(2.8),_=x({name:"bomb",category:"interface",tags:["crash","error","fatal","explode","boom","danger","cartoon bomb"],variants:["x","alert"],svg:t=>`<path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" ${w}/>
|
|
2
|
+
${d(t,K(13,15.2,8.2),t.loS)}
|
|
3
|
+
${d(t,O,t.upS,{sh:!1})}
|
|
4
|
+
<path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" ${S} stroke-opacity=".8"/>
|
|
5
|
+
<g data-n="sp"><g filter="${t.hi}"><path d="${M}" fill="${t.upS}"/></g><path d="${M}" ${v}/></g>`,target:t=>({o:t?1:0}),draw(t,e){let r=A(t.o),{d:i,e:a}=G(1-.45*r);m(e.fz,{d:i}),m(e.sp,{transform:`translate(${l(a[0])} ${l(a[1])}) rotate(${l(45*r)}) scale(${l(1+.45*b(r))})`})}});import{icon as P}from"../element.js";var X=P("bomb",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="#000"/></mask><mask id="ol-__K__-2" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="#000"/></mask></defs><path data-n="fz" fill="none" stroke-width="2.2" stroke-linecap="round" d="M20.4 7.8Q21.6 3.4 24.8 3.6" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M4.8 15.2A8.2 8.2 0 1 0 21.2 15.2A8.2 8.2 0 1 0 4.8 15.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M16.213 9.724Q15.506 9.017 16.213 8.31L17.91 6.613Q18.617 5.906 19.324 6.613L21.587 8.876Q22.294 9.583 21.587 10.29L19.89 11.987Q19.183 12.694 18.476 11.987Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.4 14.2C8.6 12.4 9.6 11.2 11.2 10.6" fill="none" stroke-width="1.6" stroke-linecap="round" stroke-opacity=".8" style="stroke:var(--ki-w,#fff)"/><g data-n="sp" transform="translate(24.8 3.6) rotate(0) scale(1)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M-0.117 -2.45Q0 -2.8 0.117 -2.45L0.23 -2.109Q0.233 -2.1 0.238 -2.091L0.555 -1.502Q0.56 -1.493 0.566 -1.486L0.974 -0.988Q0.98 -0.98 0.988 -0.974L1.486 -0.566Q1.493 -0.56 1.502 -0.555L2.091 -0.238Q2.1 -0.233 2.109 -0.23L2.45 -0.117Q2.8 0 2.45 0.117L2.109 0.23Q2.1 0.233 2.091 0.238L1.502 0.555Q1.493 0.56 1.486 0.566L0.988 0.974Q0.98 0.98 0.974 0.988L0.566 1.486Q0.56 1.493 0.555 1.502L0.238 2.091Q0.233 2.1 0.23 2.109L0.117 2.45Q0 2.8 -0.117 2.45L-0.23 2.109Q-0.233 2.1 -0.238 2.091L-0.555 1.502Q-0.56 1.493 -0.566 1.486L-0.974 0.988Q-0.98 0.98 -0.988 0.974L-1.486 0.566Q-1.493 0.56 -1.502 0.555L-2.091 0.238Q-2.1 0.233 -2.109 0.23L-2.45 0.117Q-2.8 0 -2.45 -0.117L-2.109 -0.23Q-2.1 -0.233 -2.091 -0.238L-1.502 -0.555Q-1.493 -0.56 -1.486 -0.566L-0.988 -0.974Q-0.98 -0.98 -0.974 -0.988L-0.566 -1.486Q-0.56 -1.493 -0.555 -1.502L-0.238 -2.091Q-0.233 -2.1 -0.23 -2.109Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',_.target,_.draw,0);export{X as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{defineIcon as k,DEEP as u,rr as a,at as m,wave as L}from"../element.js";import{KR as n,OL as c,WHITES as Q,f as y,circ as g,rr as d,rp as x}from"../element.js";var v=g(15.5,12.5,11.5),S=d(5.2,2.2,20.6,20.6,n),p=d(4,3.3,23,18.4,n),h=(r,t,e=r.loS)=>`<g filter="${r.sh}"><g filter="${r.hi}"><path d="${t}" fill="${e}"/></g></g><path d="${t}" ${c}/>`,_=(r,t,e=r.upS)=>`<g filter="${r.hi}"><path d="${t}" fill="${e}"/></g><path d="${t}" ${c}/>`,b=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${Q}`;var i=[8.2,13.4,18.6],l=13.2,o=4.2,s=k({name:"dock",category:"layout",tags:["app dock","taskbar","launcher","apps","desktop","mac","Dock"],svg:r=>`${h(r,p)}
|
|
2
|
+
${_(r,a(7,12,17,6.6,1.8))}
|
|
3
|
+
<path d="${a(i[0],l,o,o,1)+a(i[2],l,o,o,1)}" ${u}/>
|
|
4
|
+
<path data-n="t" d="${a(i[1],l,o,o,1)}" ${u}/>`,target:r=>({o:r?1:0}),draw(r,t){let e=L(r.o,f=>-6.2*(1-f)*Math.abs(Math.sin(2*Math.PI*f)));m(t.t,{d:a(i[1],l+e,o,o,1)})}});import{icon as $}from"../element.js";var B=$("dock",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M4 5.5Q4 3.3 6.2 3.3L24.8 3.3Q27 3.3 27 5.5L27 19.5Q27 21.7 24.8 21.7L6.2 21.7Q4 21.7 4 19.5Z" fill="#000"/></mask></defs><path d="M4 5.5Q4 3.3 6.2 3.3L24.8 3.3Q27 3.3 27 5.5L27 19.5Q27 21.7 24.8 21.7L6.2 21.7Q4 21.7 4 19.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M4 5.5Q4 3.3 6.2 3.3L24.8 3.3Q27 3.3 27 5.5L27 19.5Q27 21.7 24.8 21.7L6.2 21.7Q4 21.7 4 19.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M4 5.5Q4 3.3 6.2 3.3L24.8 3.3Q27 3.3 27 5.5L27 19.5Q27 21.7 24.8 21.7L6.2 21.7Q4 21.7 4 19.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><path d="M7 13.8Q7 12 8.8 12L22.2 12Q24 12 24 13.8L24 16.8Q24 18.6 22.2 18.6L8.8 18.6Q7 18.6 7 16.8Z" fill="url(#upS-__K__)"/></g><path d="M7 13.8Q7 12 8.8 12L22.2 12Q24 12 24 13.8L24 16.8Q24 18.6 22.2 18.6L8.8 18.6Q7 18.6 7 16.8Z" fill="none"/><path d="M8.2 14.2Q8.2 13.2 9.2 13.2L11.4 13.2Q12.4 13.2 12.4 14.2L12.4 16.4Q12.4 17.4 11.4 17.4L9.2 17.4Q8.2 17.4 8.2 16.4ZM18.6 14.2Q18.6 13.2 19.6 13.2L21.8 13.2Q22.8 13.2 22.8 14.2L22.8 16.4Q22.8 17.4 21.8 17.4L19.6 17.4Q18.6 17.4 18.6 16.4Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="t" d="M13.4 14.2Q13.4 13.2 14.4 13.2L16.6 13.2Q17.6 13.2 17.6 14.2L17.6 16.4Q17.6 17.4 16.6 17.4L14.4 17.4Q13.4 17.4 13.4 16.4Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/>',s.target,s.draw,0);export{B as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{defineIcon as a,OL as l,WHITE as t,rp as f,rr as s,circ as o,at as d}from"../element.js";var n=e=>f([[15.5,6.6+e],[21.6,13.2+e],[9.4,13.2+e]],.8),r=a({name:"eject",category:"media",tags:["eject","unmount","remove disk","disc","media key"],svg:e=>`<g filter="${e.sh}"><g filter="${e.hi}"><path d="${o(15.5,12.5,11.5)}" fill="${e.loS}"/></g></g>
|
|
2
|
+
<path d="${o(15.5,12.5,11.5)}" ${l}/>
|
|
3
|
+
<path data-n="t" ${t}/><path d="${s(9.4,15.6,12.2,2.6,1)}" ${t}/>`,target:e=>({y:e?-1.6:0}),draw(e,i){d(i.t,{d:n(e.y)})}});import{icon as c}from"../element.js";var g=c("eject",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M4 12.5A11.5 11.5 0 1 0 27 12.5A11.5 11.5 0 1 0 4 12.5Z" fill="#000"/></mask></defs><path d="M4 12.5A11.5 11.5 0 1 0 27 12.5A11.5 11.5 0 1 0 4 12.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M4 12.5A11.5 11.5 0 1 0 27 12.5A11.5 11.5 0 1 0 4 12.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M4 12.5A11.5 11.5 0 1 0 27 12.5A11.5 11.5 0 1 0 4 12.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="t" d="M14.957 7.188Q15.5 6.6 16.043 7.188L21.057 12.612Q21.6 13.2 20.8 13.2L10.2 13.2Q9.4 13.2 9.943 12.612Z" style="fill:var(--ki-w,#fff)"/><path d="M9.4 16.6Q9.4 15.6 10.4 15.6L20.6 15.6Q21.6 15.6 21.6 16.6L21.6 17.2Q21.6 18.2 20.6 18.2L10.4 18.2Q9.4 18.2 9.4 17.2Z" style="fill:var(--ki-w,#fff)"/>',r.target,r.draw,0);export{g as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as x,f as s,ACC as v,DEEP as F,DEEPS as M,circ as d,at as p,rattle as w,clamp01 as A}from"../element.js";import{OL as $,f as N}from"../element.js";function f(r,t,a,{sh:o=!0,hi:y=!0,rule:l}={}){let c=l?` fill-rule="${l}"`:"",i=`<path d="${t}" fill="${a}"${c}/>`;return y&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${c} ${$}/>`}var n=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var e=[15.5,15.4],h=x({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${M}/>
|
|
2
|
+
<g data-n="g">${f(r,d(e[0],e[1],8.4),r.loS)}
|
|
3
|
+
<path d="${d(e[0],e[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${e[0]}" cy="${e[1]}" r="1.3" fill="none" ${v} opacity="0"/>
|
|
5
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="1.3" ${F}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let a=A(r.o),o=n(a,.05,.85);p(t.g,{transform:`rotate(${s(w(a,22,3))} 15.5 8.2)`}),p(t.wv,{r:s(1.3+3.5*o),opacity:s(o>0&&o<1?1-o:0)})}});import{defineBadge as K,at as b,f as _,rr as G,circ as S,clamp01 as B,rattle as D}from"../element.js";import{f as R}from"../element.js";var C=5,m='fill="#FFFFFF"';var g=(r,t)=>`<g data-n="kbG"><circle r="${C}" data-t="fill:#5393FF"/>${t}</g>`;var k=K({name:"alert",tone:"#D97706",tags:["warning","alert","attention","error","exclamation"],svg:r=>g(r,`<path d="${G(-1.1,-3.2,2.2,4,1.1)+S(0,2.4,1.2)}" ${m}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){let a=B(r.o);b(t.kbG,{transform:`rotate(${_(D(a,18,3))}) scale(${_(r.s)})`})}});import{withBadge as Z}from"../element.js";import{icon as I}from"../element.js";var u=Z(h,k),X=I("item-tracker-alert",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="rotate(0) scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path d="M-1.1 -2.1Q-1.1 -3.2 0 -3.2L0 -3.2Q1.1 -3.2 1.1 -2.1L1.1 -0.3Q1.1 0.8 0 0.8L0 0.8Q-1.1 0.8 -1.1 -0.3ZM-1.2 2.4A1.2 1.2 0 1 0 1.2 2.4A1.2 1.2 0 1 0 -1.2 2.4Z" fill="#FFFFFF"/></g></g>',u.target,u.draw,0,"#D97706");export{X as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as M,f as s,ACC as F,DEEP as w,DEEPS as A,circ as d,at as h,rattle as b,clamp01 as C}from"../element.js";import{OL as v,f as L}from"../element.js";function n(r,t,e,{sh:o=!0,hi:x=!0,rule:l}={}){let c=l?` fill-rule="${l}"`:"",i=`<path d="${t}" fill="${e}"${c}/>`;return x&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${c} ${v}/>`}var f=(r,t,e)=>Math.max(0,Math.min(1,(r-t)/(e-t)));var a=[15.5,15.4],k=M({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${A}/>
|
|
2
|
+
<g data-n="g">${n(r,d(a[0],a[1],8.4),r.loS)}
|
|
3
|
+
<path d="${d(a[0],a[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${a[0]}" cy="${a[1]}" r="1.3" fill="none" ${F} opacity="0"/>
|
|
5
|
+
<circle cx="${a[0]}" cy="${a[1]}" r="1.3" ${w}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let e=C(r.o),o=f(e,.05,.85);h(t.g,{transform:`rotate(${s(b(e,22,3))} 15.5 8.2)`}),h(t.wv,{r:s(1.3+3.5*o),opacity:s(o>0&&o<1?1-o:0)})}});import{defineBadge as S,at as _,f as B,clamp01 as D}from"../element.js";import{f as K}from"../element.js";var G=5;var p='stroke="#FFFFFF"',m=(r,t)=>`<g data-n="kbG"><circle r="${G}" data-t="fill:#5393FF"/>${t}</g>`,g=r=>`scale(${K(r)})`;var u=8.2,y=S({name:"check",tone:"#16A34A",tags:["done","complete","check","success","verified","ok"],svg:r=>m(r,`<path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="${u}" ${p}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){let e=D(r.o),o=e<.25?1-e/.25:(e-.25)/.75;_(t.kbG,{transform:g(r.s)}),_(t.kbM,{"stroke-dashoffset":B(u*(1-o))})}});import{withBadge as I}from"../element.js";import{icon as Z}from"../element.js";var $=I(k,y),V=Z("item-tracker-check",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8.2" stroke="#FFFFFF" stroke-dashoffset="0"/></g></g>',$.target,$.draw,0,"#16A34A");export{V as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as v,f as s,ACC as M,DEEP as w,DEEPS as F,circ as d,at as p,rattle as A,clamp01 as b}from"../element.js";import{OL as x,f as Z}from"../element.js";function f(r,t,a,{sh:o=!0,hi:$=!0,rule:l}={}){let c=l?` fill-rule="${l}"`:"",i=`<path d="${t}" fill="${a}"${c}/>`;return $&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${c} ${x}/>`}var n=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var e=[15.5,15.4],h=v({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${F}/>
|
|
2
|
+
<g data-n="g">${f(r,d(e[0],e[1],8.4),r.loS)}
|
|
3
|
+
<path d="${d(e[0],e[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${e[0]}" cy="${e[1]}" r="1.3" fill="none" ${M} opacity="0"/>
|
|
5
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="1.3" ${w}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let a=b(r.o),o=n(a,.05,.85);p(t.g,{transform:`rotate(${s(A(a,22,3))} 15.5 8.2)`}),p(t.wv,{r:s(1.3+3.5*o),opacity:s(o>0&&o<1?1-o:0)})}});import{defineBadge as G,at as _,f as S}from"../element.js";import{f as C}from"../element.js";var K=5;var k='stroke="#FFFFFF"',m=(r,t)=>`<g data-n="kbG"><circle r="${K}" data-t="fill:#5393FF"/>${t}</g>`,g=r=>`scale(${C(r)})`;var u=G({name:"plus",tone:"#16A34A",tags:["add","new","create","plus"],svg:r=>m(r,`<path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" ${k}/>`),target:r=>({s:r?1.14:1,k:r?1.15:1}),draw(r,t){_(t.kbG,{transform:g(r.s)}),_(t.kbM,{transform:`scale(${S(r.k)})`})}});import{withBadge as B}from"../element.js";import{icon as D}from"../element.js";var y=B(h,u),J=D("item-tracker-plus",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="scale(1)"/></g></g>',y.target,y.draw,0,"#16A34A");export{J as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as F,f as s,ACC as M,DEEP as w,DEEPS as b,circ as h,at as p,rattle as A,clamp01 as C}from"../element.js";import{OL as v,f as Z}from"../element.js";function f(r,t,a,{sh:o=!0,hi:$=!0,rule:c}={}){let n=c?` fill-rule="${c}"`:"",i=`<path d="${t}" fill="${a}"${n}/>`;return $&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${n} ${v}/>`}var d=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var e=[15.5,15.4],k=F({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${b}/>
|
|
2
|
+
<g data-n="g">${f(r,h(e[0],e[1],8.4),r.loS)}
|
|
3
|
+
<path d="${h(e[0],e[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${e[0]}" cy="${e[1]}" r="1.3" fill="none" ${M} opacity="0"/>
|
|
5
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="1.3" ${w}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let a=C(r.o),o=d(a,.05,.85);p(t.g,{transform:`rotate(${s(A(a,22,3))} 15.5 8.2)`}),p(t.wv,{r:s(1.3+3.5*o),opacity:s(o>0&&o<1?1-o:0)})}});import{defineBadge as S,at as _,f as u}from"../element.js";import{f as K}from"../element.js";var G=5;var l='stroke="#FFFFFF"',g=(r,t)=>`<g data-n="kbG"><circle r="${G}" data-t="fill:#5393FF"/>${t}</g>`,m=r=>`scale(${K(r)})`;var x=S({name:"search",tone:"#475569",tags:["search","find","lookup","zoom","magnifier"],svg:r=>g(r,`<g data-n="kbM"><circle cx="-0.7" cy="-0.7" r="1.9" fill="none" stroke-width="1.6" ${l}/>
|
|
6
|
+
<path d="M0.8 0.8L2.4 2.4" fill="none" stroke-width="1.8" stroke-linecap="round" ${l}/></g>`),target:r=>({s:r?1.14:1,x:r?-.8:0}),draw(r,t){_(t.kbG,{transform:m(r.s)}),_(t.kbM,{transform:`translate(${u(r.x)} ${u(r.x)})`})}});import{withBadge as B}from"../element.js";import{icon as D}from"../element.js";var y=B(k,x),Q=D("item-tracker-search",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><g data-n="kbM" transform="translate(0 0)"><circle cx="-0.7" cy="-0.7" r="1.9" fill="none" stroke-width="1.6" stroke="#FFFFFF"/><path d="M0.8 0.8L2.4 2.4" fill="none" stroke-width="1.8" stroke-linecap="round" stroke="#FFFFFF"/></g></g></g>',y.target,y.draw,0,"#475569");export{Q as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as v,f as s,ACC as M,DEEP as F,DEEPS as w,circ as d,at as p,rattle as b,clamp01 as C}from"../element.js";import{OL as $,f as L}from"../element.js";function f(r,t,a,{sh:o=!0,hi:y=!0,rule:l}={}){let c=l?` fill-rule="${l}"`:"",i=`<path d="${t}" fill="${a}"${c}/>`;return y&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${c} ${$}/>`}var n=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var e=[15.5,15.4],h=v({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${w}/>
|
|
2
|
+
<g data-n="g">${f(r,d(e[0],e[1],8.4),r.loS)}
|
|
3
|
+
<path d="${d(e[0],e[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${e[0]}" cy="${e[1]}" r="1.3" fill="none" ${M} opacity="0"/>
|
|
5
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="1.3" ${F}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let a=C(r.o),o=n(a,.05,.85);p(t.g,{transform:`rotate(${s(b(a,22,3))} 15.5 8.2)`}),p(t.wv,{r:s(1.3+3.5*o),opacity:s(o>0&&o<1?1-o:0)})}});import{defineBadge as G,at as _,f as S,clamp01 as B,rattle as D}from"../element.js";import{f as A}from"../element.js";var K=5;var m='stroke="#FFFFFF"',k=(r,t)=>`<g data-n="kbG"><circle r="${K}" data-t="fill:#5393FF"/>${t}</g>`,g=r=>`scale(${A(r)})`;var u=G({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:r=>k(r,`<path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" ${m}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){_(t.kbG,{transform:g(r.s)}),_(t.kbM,{transform:`rotate(${S(D(B(r.o),18,3))})`})}});import{withBadge as I}from"../element.js";import{icon as Z}from"../element.js";var x=I(h,u),V=Z("item-tracker-x",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="rotate(0)"/></g></g>',x.target,x.draw,0,"#DC2626");export{V as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as g,f as l,ACC as m,DEEP as k,DEEPS as y,circ as h,at as p,rattle as $,clamp01 as x}from"../element.js";import{OL as _,f as A}from"../element.js";function n(r,t,o,{sh:i=!0,hi:u=!0,rule:c}={}){let f=c?` fill-rule="${c}"`:"",a=`<path d="${t}" fill="${o}"${f}/>`;return u&&(a=`<g filter="${r.hi}">${a}</g>`),i&&(a=`<g filter="${r.sh}">${a}</g>`),`${a}<path d="${t}"${f} ${_}/>`}var d=(r,t,o)=>Math.max(0,Math.min(1,(r-t)/(o-t)));var e=[15.5,15.4],s=g({name:"item-tracker",category:"devices",tags:["airtag","tracker","tag","find","lost","keys","locate"],variants:["plus","check","x","alert","search"],svg:r=>`<circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" ${y}/>
|
|
2
|
+
<g data-n="g">${n(r,h(e[0],e[1],8.4),r.loS)}
|
|
3
|
+
<path d="${h(e[0],e[1],5.8)}" fill="#fff"/>
|
|
4
|
+
<circle data-n="wv" cx="${e[0]}" cy="${e[1]}" r="1.3" fill="none" ${m} opacity="0"/>
|
|
5
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="1.3" ${k}/></g>`,target:r=>({o:r?1:0}),draw(r,t){let o=x(r.o),i=d(o,.05,.85);p(t.g,{transform:`rotate(${l($(o,22,3))} 15.5 8.2)`}),p(t.wv,{r:l(1.3+3.5*i),opacity:l(i>0&&i<1?1-i:0)})}});import{icon as v}from"../element.js";var Z=v("item-tracker",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="#000"/></mask></defs><circle cx="15.5" cy="5" r="3.2" fill="none" stroke-width="2.2" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g data-n="g" transform="rotate(0 15.5 8.2)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.1 15.4A8.4 8.4 0 1 0 23.9 15.4A8.4 8.4 0 1 0 7.1 15.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.7 15.4A5.8 5.8 0 1 0 21.3 15.4A5.8 5.8 0 1 0 9.7 15.4Z" fill="#fff"/><circle data-n="wv" cx="15.5" cy="15.4" r="1.3" fill="none" opacity="0" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="15.4" r="1.3" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g>',s.target,s.draw,0);export{Z as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{defineIcon as _,KR as f,f as e,DEEPS as u,rr as d,at as a}from"../element.js";import{KR as s,OL as c,WHITES as p,f as k,circ as h,rr as l,rp as y}from"../element.js";var L=h(15.5,12.5,11.5),M=l(5.2,2.2,20.6,20.6,s),Q=l(4,3.3,23,18.4,s);var n=(r,t,o=r.upS)=>`<g filter="${r.hi}"><path d="${t}" fill="${o}"/></g><path d="${t}" ${c}/>`,x=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${p}`;var $=(r,t)=>`M${e(r-4.8)} ${e(t-2.6)}H${e(r-2)}L${e(r+2)} ${e(t+2.6)}H${e(r+4.8)}M${e(r+1.6)} ${e(t-2.6)}H${e(r+4.8)}`,i=_({name:"option",category:"interface",tags:["option","alt","opt","key","modifier","shortcut","keyboard","mac"],svg:r=>`<path data-n="base" fill="${r.loS}" filter="${r.sh}"/><path data-n="baseO" class="ol" data-t="stroke:#5393FF"/>
|
|
2
|
+
<g data-n="cap">${n(r,d(5.2,2.2,20.6,16.2,f))}
|
|
3
|
+
<path d="${$(15.5,10.3)}" class="ln" stroke-linejoin="round" ${u}/></g>`,target:r=>({d:r?1.4:0}),draw(r,t){let o=d(5.2,2.2+r.d,20.6,20.6-r.d,f);a(t.base,{d:o}),a(t.baseO,{d:o}),a(t.cap,{transform:`translate(0 ${e(r.d)})`})}});import{icon as m}from"../element.js";var G=m("option",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 20.6Q25.8 22.8 23.6 22.8L7.4 22.8Q5.2 22.8 5.2 20.6Z" fill="#000"/></mask></defs><path d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 20.6Q25.8 22.8 23.6 22.8L7.4 22.8Q5.2 22.8 5.2 20.6Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><path data-n="base" fill="url(#loS-__K__)" filter="url(#sh-__K__)" d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 20.6Q25.8 22.8 23.6 22.8L7.4 22.8Q5.2 22.8 5.2 20.6Z" data-over="0"/><path data-n="baseO" d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 20.6Q25.8 22.8 23.6 22.8L7.4 22.8Q5.2 22.8 5.2 20.6Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g data-n="cap" transform="translate(0 0)"><g filter="url(#hi-__K__)"><path d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 16.2Q25.8 18.4 23.6 18.4L7.4 18.4Q5.2 18.4 5.2 16.2Z" fill="url(#upS-__K__)"/></g><path d="M5.2 4.4Q5.2 2.2 7.4 2.2L23.6 2.2Q25.8 2.2 25.8 4.4L25.8 16.2Q25.8 18.4 23.6 18.4L7.4 18.4Q5.2 18.4 5.2 16.2Z" fill="none"/><path d="M10.7 7.7H13.5L17.5 12.9H20.3M17.1 7.7H20.3" stroke-linejoin="round" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g>',i.target,i.draw,0);export{G as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as L,KR as y,CR as x,f as s,ACC as v,DEEP as M,DEEPS as K,rr as f,at as d}from"../element.js";import{OL as $,f as I}from"../element.js";function l(r,t,a,{sh:o=!0,hi:Q=!0,rule:n}={}){let c=n?` fill-rule="${n}"`:"",e=`<path d="${t}" fill="${a}"${c}/>`;return Q&&(e=`<g filter="${r.hi}">${e}</g>`),o&&(e=`<g filter="${r.sh}">${e}</g>`),`${e}<path d="${t}"${c} ${$}/>`}var i=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var h=f(8.8,3.4,13.4,10.2,x),p=L({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${l(r,f(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${l(r,f(6.3,1,18.4,20,y),r.loS)}
|
|
3
|
+
<path d="${h}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${v}/>
|
|
5
|
+
<path data-n="off" d="${h}" ${M}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${K}/>`,target:r=>({o:r?1:0}),draw(r,t){d(t.off,{opacity:s(1-i(r.o,0,.35))});let a=i(r.o,.25,.65),o=i(r.o,.5,.95);d(t.ln,{d:(a>0?`M11.2 6.8H${s(11.2+7.8*a)}`:"")+(o>0?`M11.2 10H${s(11.2+5*o)}`:"")})}});import{defineBadge as w,at as C,f as u,rr as S,circ as b,clamp01 as G,rattle as Z}from"../element.js";import{f as R}from"../element.js";var F=5,_='fill="#FFFFFF"';var m=(r,t)=>`<g data-n="kbG"><circle r="${F}" data-t="fill:#5393FF"/>${t}</g>`;var k=w({name:"alert",tone:"#D97706",tags:["warning","alert","attention","error","exclamation"],svg:r=>m(r,`<path d="${S(-1.1,-3.2,2.2,4,1.1)+b(0,2.4,1.2)}" ${_}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){let a=G(r.o);C(t.kbG,{transform:`rotate(${u(Z(a,18,3))}) scale(${u(r.s)})`})}});import{withBadge as A}from"../element.js";import{icon as B}from"../element.js";var g=A(p,k),X=B("retro-computer-alert",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="rotate(0) scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path d="M-1.1 -2.1Q-1.1 -3.2 0 -3.2L0 -3.2Q1.1 -3.2 1.1 -2.1L1.1 -0.3Q1.1 0.8 0 0.8L0 0.8Q-1.1 0.8 -1.1 -0.3ZM-1.2 2.4A1.2 1.2 0 1 0 1.2 2.4A1.2 1.2 0 1 0 -1.2 2.4Z" fill="#FFFFFF"/></g></g>',g.target,g.draw,0,"#D97706");export{X as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as M,KR as v,CR as x,f as l,ACC as K,DEEP as F,DEEPS as w,rr as n,at as d}from"../element.js";import{OL as $,f as I}from"../element.js";function s(r,t,e,{sh:o=!0,hi:L=!0,rule:f}={}){let c=f?` fill-rule="${f}"`:"",a=`<path d="${t}" fill="${e}"${c}/>`;return L&&(a=`<g filter="${r.hi}">${a}</g>`),o&&(a=`<g filter="${r.sh}">${a}</g>`),`${a}<path d="${t}"${c} ${$}/>`}var i=(r,t,e)=>Math.max(0,Math.min(1,(r-t)/(e-t)));var h=n(8.8,3.4,13.4,10.2,x),p=M({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${s(r,n(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${s(r,n(6.3,1,18.4,20,v),r.loS)}
|
|
3
|
+
<path d="${h}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${K}/>
|
|
5
|
+
<path data-n="off" d="${h}" ${F}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${w}/>`,target:r=>({o:r?1:0}),draw(r,t){d(t.off,{opacity:l(1-i(r.o,0,.35))});let e=i(r.o,.25,.65),o=i(r.o,.5,.95);d(t.ln,{d:(e>0?`M11.2 6.8H${l(11.2+7.8*e)}`:"")+(o>0?`M11.2 10H${l(11.2+5*o)}`:"")})}});import{defineBadge as S,at as m,f as G,clamp01 as A}from"../element.js";import{f as b}from"../element.js";var C=5;var k='stroke="#FFFFFF"',_=(r,t)=>`<g data-n="kbG"><circle r="${C}" data-t="fill:#5393FF"/>${t}</g>`,u=r=>`scale(${b(r)})`;var g=8.2,Q=S({name:"check",tone:"#16A34A",tags:["done","complete","check","success","verified","ok"],svg:r=>_(r,`<path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="${g}" ${k}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){let e=A(r.o),o=e<.25?1-e/.25:(e-.25)/.75;m(t.kbG,{transform:u(r.s)}),m(t.kbM,{"stroke-dashoffset":G(g*(1-o))})}});import{withBadge as Z}from"../element.js";import{icon as B}from"../element.js";var y=Z(p,Q),V=B("retro-computer-check",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8.2" stroke="#FFFFFF" stroke-dashoffset="0"/></g></g>',y.target,y.draw,0,"#16A34A");export{V as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as v,KR as y,CR as x,f as l,ACC as C,DEEP as L,DEEPS as K,rr as f,at as d}from"../element.js";import{OL as M,f as A}from"../element.js";function s(r,t,a,{sh:o=!0,hi:$=!0,rule:n}={}){let c=n?` fill-rule="${n}"`:"",e=`<path d="${t}" fill="${a}"${c}/>`;return $&&(e=`<g filter="${r.hi}">${e}</g>`),o&&(e=`<g filter="${r.sh}">${e}</g>`),`${e}<path d="${t}"${c} ${M}/>`}var i=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));var h=f(8.8,3.4,13.4,10.2,x),p=v({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${s(r,f(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${s(r,f(6.3,1,18.4,20,y),r.loS)}
|
|
3
|
+
<path d="${h}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${C}/>
|
|
5
|
+
<path data-n="off" d="${h}" ${L}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${K}/>`,target:r=>({o:r?1:0}),draw(r,t){d(t.off,{opacity:l(1-i(r.o,0,.35))});let a=i(r.o,.25,.65),o=i(r.o,.5,.95);d(t.ln,{d:(a>0?`M11.2 6.8H${l(11.2+7.8*a)}`:"")+(o>0?`M11.2 10H${l(11.2+5*o)}`:"")})}});import{defineBadge as w,at as u,f as S}from"../element.js";import{f as F}from"../element.js";var b=5,_='fill="#FFFFFF"';var m=(r,t)=>`<g data-n="kbG"><circle r="${b}" data-t="fill:#5393FF"/>${t}</g>`,k=r=>`scale(${F(r)})`;var G="M0 3C-1.7 1.8 -3.3 0.5 -3.3 -1C-3.3 -2.1 -2.5 -2.9 -1.5 -2.9C-0.9 -2.9 -0.3 -2.5 0 -2C0.3 -2.5 0.9 -2.9 1.5 -2.9C2.5 -2.9 3.3 -2.1 3.3 -1C3.3 0.5 1.7 1.8 0 3Z",g=w({name:"heart",tone:"#DB2777",tags:["like","love","favorite","heart"],svg:r=>m(r,`<path data-n="kbM" d="${G}" ${_}/>`),target:r=>({s:r?1.14:1,b:r?1.18:1}),draw(r,t){u(t.kbG,{transform:k(r.s)}),u(t.kbM,{transform:`translate(0 0.2) scale(${S(r.b)})`})}});import{withBadge as Z}from"../element.js";import{icon as B}from"../element.js";var Q=Z(p,g),T=B("retro-computer-heart",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M0 3C-1.7 1.8 -3.3 0.5 -3.3 -1C-3.3 -2.1 -2.5 -2.9 -1.5 -2.9C-0.9 -2.9 -0.3 -2.5 0 -2C0.3 -2.5 0.9 -2.9 1.5 -2.9C2.5 -2.9 3.3 -2.1 3.3 -1C3.3 0.5 1.7 1.8 0 3Z" fill="#FFFFFF" transform="translate(0 0.2) scale(1)"/></g></g>',Q.target,Q.draw,0,"#DB2777");export{T as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as y,KR as v,CR as x,f as l,ACC as L,DEEP as K,DEEPS as w,rr as f,at as d}from"../element.js";import{OL as $,f as B}from"../element.js";function s(r,t,e,{sh:o=!0,hi:M=!0,rule:n}={}){let c=n?` fill-rule="${n}"`:"",a=`<path d="${t}" fill="${e}"${c}/>`;return M&&(a=`<g filter="${r.hi}">${a}</g>`),o&&(a=`<g filter="${r.sh}">${a}</g>`),`${a}<path d="${t}"${c} ${$}/>`}var i=(r,t,e)=>Math.max(0,Math.min(1,(r-t)/(e-t)));var p=f(8.8,3.4,13.4,10.2,x),h=y({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${s(r,f(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${s(r,f(6.3,1,18.4,20,v),r.loS)}
|
|
3
|
+
<path d="${p}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${L}/>
|
|
5
|
+
<path data-n="off" d="${p}" ${K}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${w}/>`,target:r=>({o:r?1:0}),draw(r,t){d(t.off,{opacity:l(1-i(r.o,0,.35))});let e=i(r.o,.25,.65),o=i(r.o,.5,.95);d(t.ln,{d:(e>0?`M11.2 6.8H${l(11.2+7.8*e)}`:"")+(o>0?`M11.2 10H${l(11.2+5*o)}`:"")})}});import{defineBadge as C,at as m,f as S}from"../element.js";import{f as F}from"../element.js";var b=5;var _='stroke="#FFFFFF"',k=(r,t)=>`<g data-n="kbG"><circle r="${b}" data-t="fill:#5393FF"/>${t}</g>`,u=r=>`scale(${F(r)})`;var g=C({name:"plus",tone:"#16A34A",tags:["add","new","create","plus"],svg:r=>k(r,`<path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" ${_}/>`),target:r=>({s:r?1.14:1,k:r?1.15:1}),draw(r,t){m(t.kbG,{transform:u(r.s)}),m(t.kbM,{transform:`scale(${S(r.k)})`})}});import{withBadge as G}from"../element.js";import{icon as A}from"../element.js";var Q=G(h,g),z=A("retro-computer-plus",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="scale(1)"/></g></g>',Q.target,Q.draw,0,"#16A34A");export{z as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as $,KR as x,CR as y,f as l,ACC as v,DEEP as K,DEEPS as F,rr as f,at as d}from"../element.js";import{OL as L,f as I}from"../element.js";function s(r,t,e,{sh:a=!0,hi:M=!0,rule:n}={}){let c=n?` fill-rule="${n}"`:"",o=`<path d="${t}" fill="${e}"${c}/>`;return M&&(o=`<g filter="${r.hi}">${o}</g>`),a&&(o=`<g filter="${r.sh}">${o}</g>`),`${o}<path d="${t}"${c} ${L}/>`}var i=(r,t,e)=>Math.max(0,Math.min(1,(r-t)/(e-t)));var p=f(8.8,3.4,13.4,10.2,y),h=$({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${s(r,f(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${s(r,f(6.3,1,18.4,20,x),r.loS)}
|
|
3
|
+
<path d="${p}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${v}/>
|
|
5
|
+
<path data-n="off" d="${p}" ${K}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${F}/>`,target:r=>({o:r?1:0}),draw(r,t){d(t.off,{opacity:l(1-i(r.o,0,.35))});let e=i(r.o,.25,.65),a=i(r.o,.5,.95);d(t.ln,{d:(e>0?`M11.2 6.8H${l(11.2+7.8*e)}`:"")+(a>0?`M11.2 10H${l(11.2+5*a)}`:"")})}});import{defineBadge as b,at as u,f as S,clamp01 as G,rattle as Z}from"../element.js";import{f as w}from"../element.js";var C=5;var _='stroke="#FFFFFF"',m=(r,t)=>`<g data-n="kbG"><circle r="${C}" data-t="fill:#5393FF"/>${t}</g>`,k=r=>`scale(${w(r)})`;var g=b({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:r=>m(r,`<path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" ${_}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){u(t.kbG,{transform:k(r.s)}),u(t.kbM,{transform:`rotate(${S(Z(G(r.o),18,3))})`})}});import{withBadge as B}from"../element.js";import{icon as D}from"../element.js";var Q=B(h,g),V=D("retro-computer-x",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="rotate(0)"/></g></g>',Q.target,Q.draw,0,"#DC2626");export{V as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as m,KR as k,CR as Q,f as s,ACC as g,DEEP as L,DEEPS as $,rr as f,at as h}from"../element.js";import{OL as u,f as v}from"../element.js";function l(r,t,o,{sh:i=!0,hi:_=!0,rule:c}={}){let d=c?` fill-rule="${c}"`:"",e=`<path d="${t}" fill="${o}"${d}/>`;return _&&(e=`<g filter="${r.hi}">${e}</g>`),i&&(e=`<g filter="${r.sh}">${e}</g>`),`${e}<path d="${t}"${d} ${u}/>`}var a=(r,t,o)=>Math.max(0,Math.min(1,(r-t)/(o-t)));var p=f(8.8,3.4,13.4,10.2,Q),n=m({name:"retro-computer",category:"devices",tags:["macintosh","compact computer","all-in-one","vintage","classic mac","80s"],variants:["plus","check","x","alert","heart"],svg:r=>`${l(r,f(8.2,18.4,14.6,5.2,1.2),r.upS)}
|
|
2
|
+
${l(r,f(6.3,1,18.4,20,k),r.loS)}
|
|
3
|
+
<path d="${p}" fill="#fff"/>
|
|
4
|
+
<path data-n="ln" ${g}/>
|
|
5
|
+
<path data-n="off" d="${p}" ${L}/>
|
|
6
|
+
<path d="M16.4 17H21.4" class="ln" ${$}/>`,target:r=>({o:r?1:0}),draw(r,t){h(t.off,{opacity:s(1-a(r.o,0,.35))});let o=a(r.o,.25,.65),i=a(r.o,.5,.95);h(t.ln,{d:(o>0?`M11.2 6.8H${s(11.2+7.8*o)}`:"")+(i>0?`M11.2 10H${s(11.2+5*i)}`:"")})}});import{icon as y}from"../element.js";var G=y("retro-computer",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="#000"/></mask></defs><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M8.2 19.6Q8.2 18.4 9.4 18.4L21.6 18.4Q22.8 18.4 22.8 19.6L22.8 22.4Q22.8 23.6 21.6 23.6L9.4 23.6Q8.2 23.6 8.2 22.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.3 3.2Q6.3 1 8.5 1L22.5 1Q24.7 1 24.7 3.2L24.7 18.8Q24.7 21 22.5 21L8.5 21Q6.3 21 6.3 18.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" fill="#fff"/><path data-n="ln" d="" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="off" d="M8.8 4.6Q8.8 3.4 10 3.4L21 3.4Q22.2 3.4 22.2 4.6L22.2 12.4Q22.2 13.6 21 13.6L10 13.6Q8.8 13.6 8.8 12.4Z" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M16.4 17H21.4" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/>',n.target,n.draw,0);export{G as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as k,DEEP as Q,rp as y,rr as o,at as $,wave as x}from"../element.js";import{KR as h,OL as g,DEEP as E,R as _,rp as m,rr as u}from"../element.js";var i=(t,a,r=t.loS,e="")=>`<g filter="${t.sh}"><g filter="${t.hi}"><path d="${a}" fill="${r}"${e?` data-n="${e}"`:""}/></g></g><path d="${a}" ${g}${e?` data-n="${e}O"`:""}/>`;var Z=u(3.6,6.4,21.6,12.2,h),O=m(_(24.6,10,2.8,5),[0,1.2,1.2,0]);var L=o(3.8,5.4,23.4,14.2,7.1),v=o(6.4,8,18.2,9,4.5),l=o(9.6,11.3,11.8,2.4,1.2),s=k({name:"usb-c-port",category:"devices",tags:["usb-c","type-c","thunderbolt","port","connector","charging port","Type-C"],variants:["check","x","alert"],svg:t=>`${i(t,L)}
|
|
2
|
+
<path d="${v}" fill="#fff"/>
|
|
3
|
+
<path d="${l}" ${Q}/>
|
|
4
|
+
<clipPath id="${t.id("tg")}"><path d="${l}"/></clipPath>
|
|
5
|
+
<g clip-path="url(#${t.id("tg")})"><path data-n="gl" fill="#fff" opacity=".85"/></g>`,target:t=>({o:t?1:0}),draw(t,a){let r=x(t.o,e=>5+19*e);$(a.gl,{d:y([[r,11],[r+4,11],[r+3,14],[r-1,14]],0)})}});import{defineBadge as F,at as K,f as n,rr as M,circ as w,clamp01 as G,rattle as B}from"../element.js";import{f as U}from"../element.js";var b=5,f='fill="#FFFFFF"';var c=(t,a)=>`<g data-n="kbG"><circle r="${b}" data-t="fill:#5393FF"/>${a}</g>`;var d=F({name:"alert",tone:"#D97706",tags:["warning","alert","attention","error","exclamation"],svg:t=>c(t,`<path d="${M(-1.1,-3.2,2.2,4,1.1)+w(0,2.4,1.2)}" ${f}/>`),target:t=>({s:t?1.14:1,o:t?1:0}),draw(t,a){let r=G(t.o);K(a.kbG,{transform:`rotate(${n(B(r,18,3))}) scale(${n(t.s)})`})}});import{withBadge as S}from"../element.js";import{icon as C}from"../element.js";var p=S(s,d),W=C("usb-c-port-alert",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.4 12.5Q6.4 8 10.9 8L20.1 8Q24.6 8 24.6 12.5L24.6 12.5Q24.6 17 20.1 17L10.9 17Q6.4 17 6.4 12.5Z" fill="#fff"/><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><clipPath id="tg-__K__"><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z"/></clipPath><g clip-path="url(#tg-__K__)"><path data-n="gl" fill="#fff" opacity=".85" d="M5 11Q5 11 5 11L9 11Q9 11 9 11L8 14Q8 14 8 14L4 14Q4 14 4 14Z"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="rotate(0) scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path d="M-1.1 -2.1Q-1.1 -3.2 0 -3.2L0 -3.2Q1.1 -3.2 1.1 -2.1L1.1 -0.3Q1.1 0.8 0 0.8L0 0.8Q-1.1 0.8 -1.1 -0.3ZM-1.2 2.4A1.2 1.2 0 1 0 1.2 2.4A1.2 1.2 0 1 0 -1.2 2.4Z" fill="#FFFFFF"/></g></g>',p.target,p.draw,0,"#D97706");export{W as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as Q,DEEP as L,rp as x,rr as o,at as $,wave as b}from"../element.js";import{KR as _,OL as k,DEEP as A,R as m,rp as u,rr as y}from"../element.js";var i=(t,a,r=t.loS,e="")=>`<g filter="${t.sh}"><g filter="${t.hi}"><path d="${a}" fill="${r}"${e?` data-n="${e}"`:""}/></g></g><path d="${a}" ${k}${e?` data-n="${e}O"`:""}/>`;var D=y(3.6,6.4,21.6,12.2,_),O=u(m(24.6,10,2.8,5),[0,1.2,1.2,0]);var v=o(3.8,5.4,23.4,14.2,7.1),F=o(6.4,8,18.2,9,4.5),s=o(9.6,11.3,11.8,2.4,1.2),l=Q({name:"usb-c-port",category:"devices",tags:["usb-c","type-c","thunderbolt","port","connector","charging port","Type-C"],variants:["check","x","alert"],svg:t=>`${i(t,v)}
|
|
2
|
+
<path d="${F}" fill="#fff"/>
|
|
3
|
+
<path d="${s}" ${L}/>
|
|
4
|
+
<clipPath id="${t.id("tg")}"><path d="${s}"/></clipPath>
|
|
5
|
+
<g clip-path="url(#${t.id("tg")})"><path data-n="gl" fill="#fff" opacity=".85"/></g>`,target:t=>({o:t?1:0}),draw(t,a){let r=b(t.o,e=>5+19*e);$(a.gl,{d:x([[r,11],[r+4,11],[r+3,14],[r-1,14]],0)})}});import{defineBadge as w,at as c,f as G,clamp01 as S}from"../element.js";import{f as K}from"../element.js";var M=5;var f='stroke="#FFFFFF"',n=(t,a)=>`<g data-n="kbG"><circle r="${M}" data-t="fill:#5393FF"/>${a}</g>`,d=t=>`scale(${K(t)})`;var p=8.2,h=w({name:"check",tone:"#16A34A",tags:["done","complete","check","success","verified","ok"],svg:t=>n(t,`<path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="${p}" ${f}/>`),target:t=>({s:t?1.14:1,o:t?1:0}),draw(t,a){let r=S(t.o),e=r<.25?1-r/.25:(r-.25)/.75;c(a.kbG,{transform:d(t.s)}),c(a.kbM,{"stroke-dashoffset":G(p*(1-e))})}});import{withBadge as B}from"../element.js";import{icon as C}from"../element.js";var g=B(l,h),V=C("usb-c-port-check",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.4 12.5Q6.4 8 10.9 8L20.1 8Q24.6 8 24.6 12.5L24.6 12.5Q24.6 17 20.1 17L10.9 17Q6.4 17 6.4 12.5Z" fill="#fff"/><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><clipPath id="tg-__K__"><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z"/></clipPath><g clip-path="url(#tg-__K__)"><path data-n="gl" fill="#fff" opacity=".85" d="M5 11Q5 11 5 11L9 11Q9 11 9 11L8 14Q8 14 8 14L4 14Q4 14 4 14Z"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-2.6 0.1L-0.8 1.9L2.6 -1.7" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="8.2" stroke="#FFFFFF" stroke-dashoffset="0"/></g></g>',g.target,g.draw,0,"#16A34A");export{V as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as Q,DEEP as x,rp as y,rr as o,at as L,wave as $}from"../element.js";import{KR as g,OL as _,DEEP as E,R as m,rp as k,rr as u}from"../element.js";var i=(t,r,a=t.loS,e="")=>`<g filter="${t.sh}"><g filter="${t.hi}"><path d="${r}" fill="${a}"${e?` data-n="${e}"`:""}/></g></g><path d="${r}" ${_}${e?` data-n="${e}O"`:""}/>`;var O=u(3.6,6.4,21.6,12.2,g),Z=k(m(24.6,10,2.8,5),[0,1.2,1.2,0]);var b=o(3.8,5.4,23.4,14.2,7.1),v=o(6.4,8,18.2,9,4.5),l=o(9.6,11.3,11.8,2.4,1.2),s=Q({name:"usb-c-port",category:"devices",tags:["usb-c","type-c","thunderbolt","port","connector","charging port","Type-C"],variants:["check","x","alert"],svg:t=>`${i(t,b)}
|
|
2
|
+
<path d="${v}" fill="#fff"/>
|
|
3
|
+
<path d="${l}" ${x}/>
|
|
4
|
+
<clipPath id="${t.id("tg")}"><path d="${l}"/></clipPath>
|
|
5
|
+
<g clip-path="url(#${t.id("tg")})"><path data-n="gl" fill="#fff" opacity=".85"/></g>`,target:t=>({o:t?1:0}),draw(t,r){let a=$(t.o,e=>5+19*e);L(r.gl,{d:y([[a,11],[a+4,11],[a+3,14],[a-1,14]],0)})}});import{defineBadge as K,at as p,f as w,clamp01 as C,rattle as G}from"../element.js";import{f as F}from"../element.js";var M=5;var f='stroke="#FFFFFF"',n=(t,r)=>`<g data-n="kbG"><circle r="${M}" data-t="fill:#5393FF"/>${r}</g>`,d=t=>`scale(${F(t)})`;var c=K({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:t=>n(t,`<path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" ${f}/>`),target:t=>({s:t?1.14:1,o:t?1:0}),draw(t,r){p(r.kbG,{transform:d(t.s)}),p(r.kbM,{transform:`rotate(${w(G(C(t.o),18,3))})`})}});import{withBadge as S}from"../element.js";import{icon as B}from"../element.js";var h=S(s,c),V=B("usb-c-port-x",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.4 12.5Q6.4 8 10.9 8L20.1 8Q24.6 8 24.6 12.5L24.6 12.5Q24.6 17 20.1 17L10.9 17Q6.4 17 6.4 12.5Z" fill="#fff"/><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><clipPath id="tg-__K__"><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z"/></clipPath><g clip-path="url(#tg-__K__)"><path data-n="gl" fill="#fff" opacity=".85" d="M5 11Q5 11 5 11L9 11Q9 11 9 11L8 14Q8 14 8 14L4 14Q4 14 4 14Z"/></g></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path data-n="kbM" d="M-1.9 -1.9L1.9 1.9M1.9 -1.9L-1.9 1.9" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#FFFFFF" transform="rotate(0)"/></g></g>',h.target,h.draw,0,"#DC2626");export{V as default};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{defineIcon as h,DEEP as _,rp as g,rr as e,at as u,wave as Q}from"../element.js";import{KR as s,OL as p,DEEP as $,R as d,rp as n,rr as c}from"../element.js";var l=(t,o,r=t.loS,a="")=>`<g filter="${t.sh}"><g filter="${t.hi}"><path d="${o}" fill="${r}"${a?` data-n="${a}"`:""}/></g></g><path d="${o}" ${p}${a?` data-n="${a}O"`:""}/>`;var k=c(3.6,6.4,21.6,12.2,s),v=n(d(24.6,10,2.8,5),[0,1.2,1.2,0]);var m=e(3.8,5.4,23.4,14.2,7.1),y=e(6.4,8,18.2,9,4.5),f=e(9.6,11.3,11.8,2.4,1.2),i=h({name:"usb-c-port",category:"devices",tags:["usb-c","type-c","thunderbolt","port","connector","charging port","Type-C"],variants:["check","x","alert"],svg:t=>`${l(t,m)}
|
|
2
|
+
<path d="${y}" fill="#fff"/>
|
|
3
|
+
<path d="${f}" ${_}/>
|
|
4
|
+
<clipPath id="${t.id("tg")}"><path d="${f}"/></clipPath>
|
|
5
|
+
<g clip-path="url(#${t.id("tg")})"><path data-n="gl" fill="#fff" opacity=".85"/></g>`,target:t=>({o:t?1:0}),draw(t,o){let r=Q(t.o,a=>5+19*a);u(o.gl,{d:g([[r,11],[r+4,11],[r+3,14],[r-1,14]],0)})}});import{icon as L}from"../element.js";var G=L("usb-c-port",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="#000"/></mask></defs><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M3.8 12.5Q3.8 5.4 10.9 5.4L20.1 5.4Q27.2 5.4 27.2 12.5L27.2 12.5Q27.2 19.6 20.1 19.6L10.9 19.6Q3.8 19.6 3.8 12.5Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.4 12.5Q6.4 8 10.9 8L20.1 8Q24.6 8 24.6 12.5L24.6 12.5Q24.6 17 20.1 17L10.9 17Q6.4 17 6.4 12.5Z" fill="#fff"/><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><clipPath id="tg-__K__"><path d="M9.6 12.5Q9.6 11.3 10.8 11.3L20.2 11.3Q21.4 11.3 21.4 12.5L21.4 12.5Q21.4 13.7 20.2 13.7L10.8 13.7Q9.6 13.7 9.6 12.5Z"/></clipPath><g clip-path="url(#tg-__K__)"><path data-n="gl" fill="#fff" opacity=".85" d="M5 11Q5 11 5 11L9 11Q9 11 9 11L8 14Q8 14 8 14L4 14Q4 14 4 14Z"/></g>',i.target,i.draw,0);export{G as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineIcon as A,f,DEEPS as S,WHITE as G,WHITES as g,rr as B,circ as C,at as k,scaleAt as E}from"../element.js";import{OL as Q,f as Y}from"../element.js";function h(r,t,a,{sh:o=!0,hi:l=!0,rule:c}={}){let d=c?` fill-rule="${c}"`:"",i=`<path d="${t}" fill="${a}"${d}/>`;return l&&(i=`<g filter="${r.hi}">${i}</g>`),o&&(i=`<g filter="${r.sh}">${i}</g>`),`${i}<path d="${t}"${d} ${Q}/>`}var s=(r,t,a)=>Math.max(0,Math.min(1,(r-t)/(a-t)));import{KR as F,OL as K,DEEP as q,R as L,rp as p,rr as b}from"../element.js";var _=(r,t,a=r.upS,o="")=>`<g filter="${r.hi}"><path d="${t}" fill="${a}"${o?` data-n="${o}"`:""}/></g><path d="${t}" ${K}${o?` data-n="${o}O"`:""}/>`,j=b(3.6,6.4,21.6,12.2,F),z=p(L(24.6,10,2.8,5),[0,1.2,1.2,0]);var m=(r,t,a=1)=>p([[3.8,0],[0,4],[2.4,4],[1.6,6.8],[5.4,2.8],[3,2.8]].map(([o,l])=>[r+o*a,t+l*a]),.4);var e=[15.5,10.4],n=6.2,$=2*Math.PI*n,u=A({name:"wireless-charger",category:"devices",tags:["magsafe","charging pad","qi","magnetic charger","charge"],variants:["check","x","alert"],svg:r=>`<path d="M15.5 21V24" fill="none" stroke-width="2.2" stroke-linecap="round" ${S}/>
|
|
2
|
+
${_(r,B(13.2,16.8,4.6,4.8,1.2))}
|
|
3
|
+
${h(r,C(e[0],e[1],9),r.loS)}
|
|
4
|
+
<circle cx="${e[0]}" cy="${e[1]}" r="${n}" fill="none" stroke-width="1.6" ${g} opacity=".4"/>
|
|
5
|
+
<circle data-n="arc" cx="${e[0]}" cy="${e[1]}" r="${n}" fill="none" stroke-width="1.6" stroke-linecap="round" ${g} transform="rotate(-90 ${e[0]} ${e[1]})"/>
|
|
6
|
+
<path data-n="b" d="${m(e[0]-2.7,e[1]-3.4)}" ${G}/>`,target:r=>({o:r?1:0}),draw(r,t){let a=s(r.o,0,.75);k(t.arc,{"stroke-dasharray":`${f($*a)} ${f($+1)}`,opacity:f(s(r.o,0,.08))}),k(t.b,{transform:E(1+.24*Math.sin(Math.PI*s(r.o,.55,1)),e[0],e[1])})}});import{defineBadge as D,at as I,f as M,rr as O,circ as P,clamp01 as R,rattle as U}from"../element.js";import{f as o1}from"../element.js";var Z=5,y='fill="#FFFFFF"';var x=(r,t)=>`<g data-n="kbG"><circle r="${Z}" data-t="fill:#5393FF"/>${t}</g>`;var v=D({name:"alert",tone:"#D97706",tags:["warning","alert","attention","error","exclamation"],svg:r=>x(r,`<path d="${O(-1.1,-3.2,2.2,4,1.1)+P(0,2.4,1.2)}" ${y}/>`),target:r=>({s:r?1.14:1,o:r?1:0}),draw(r,t){let a=R(r.o);I(t.kbG,{transform:`rotate(${M(U(a,18,3))}) scale(${M(r.s)})`})}});import{withBadge as N}from"../element.js";import{icon as T}from"../element.js";var w=N(u,v),p1=T("wireless-charger-alert",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M13.2 18Q13.2 16.8 14.4 16.8L16.6 16.8Q17.8 16.8 17.8 18L17.8 20.4Q17.8 21.6 16.6 21.6L14.4 21.6Q13.2 21.6 13.2 20.4Z" fill="#000"/></mask><mask id="ol-__K__-1" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.5 10.4A9 9 0 1 0 24.5 10.4A9 9 0 1 0 6.5 10.4Z" fill="#000"/></mask></defs><mask id="kbk-__K__" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><circle data-n="kbK" cx="22.6" cy="18.4" r="6.4" fill="#000"/></mask><g mask="url(#kbk-__K__)"><path d="M15.5 21V24" fill="none" stroke-width="2.2" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M13.2 18Q13.2 16.8 14.4 16.8L16.6 16.8Q17.8 16.8 17.8 18L17.8 20.4Q17.8 21.6 16.6 21.6L14.4 21.6Q13.2 21.6 13.2 20.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M13.2 18Q13.2 16.8 14.4 16.8L16.6 16.8Q17.8 16.8 17.8 18L17.8 20.4Q17.8 21.6 16.6 21.6L14.4 21.6Q13.2 21.6 13.2 20.4Z" fill="url(#upS-__K__)" data-over="0"/></g><path d="M13.2 18Q13.2 16.8 14.4 16.8L16.6 16.8Q17.8 16.8 17.8 18L17.8 20.4Q17.8 21.6 16.6 21.6L14.4 21.6Q13.2 21.6 13.2 20.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.5 10.4A9 9 0 1 0 24.5 10.4A9 9 0 1 0 6.5 10.4Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M6.5 10.4A9 9 0 1 0 24.5 10.4A9 9 0 1 0 6.5 10.4Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M6.5 10.4A9 9 0 1 0 24.5 10.4A9 9 0 1 0 6.5 10.4Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><circle cx="15.5" cy="10.4" r="6.2" fill="none" stroke-width="1.6" opacity=".4" style="stroke:var(--ki-w,#fff)"/><circle data-n="arc" cx="15.5" cy="10.4" r="6.2" fill="none" stroke-width="1.6" stroke-linecap="round" transform="rotate(-90 15.5 10.4)" stroke-dasharray="0 39.956" opacity="0" style="stroke:var(--ki-w,#fff)"/><path data-n="b" d="M16.49 7.385Q16.6 7 16.325 7.29L13.075 10.71Q12.8 11 13.2 11L14.8 11Q15.2 11 15.09 11.385L14.51 13.415Q14.4 13.8 14.675 13.51L17.925 10.09Q18.2 9.8 17.8 9.8L16.2 9.8Q15.8 9.8 15.91 9.415Z" transform="translate(15.5 10.4) scale(1 1) translate(-15.5 -10.4)" style="fill:var(--ki-w,#fff)"/></g><g transform="translate(22.6 18.4)"><g data-n="kbG" transform="rotate(0) scale(1)"><circle r="5" style="fill:var(--ki-b,#33363D)"/><path d="M-1.1 -2.1Q-1.1 -3.2 0 -3.2L0 -3.2Q1.1 -3.2 1.1 -2.1L1.1 -0.3Q1.1 0.8 0 0.8L0 0.8Q-1.1 0.8 -1.1 -0.3ZM-1.2 2.4A1.2 1.2 0 1 0 1.2 2.4A1.2 1.2 0 1 0 -1.2 2.4Z" fill="#FFFFFF"/></g></g>',w.target,w.draw,0,"#D97706");export{p1 as default};
|