kubai-icons 0.18.0 → 0.18.2
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/element.js +1 -1
- package/dist/cdn/icons/angry.js +3 -3
- package/dist/cdn/icons/frown.js +2 -2
- package/dist/cdn/icons/laugh.js +3 -3
- package/dist/cdn/icons/link-2-check.js +2 -2
- package/dist/cdn/icons/link-2-plus.js +2 -2
- package/dist/cdn/icons/link-2-x.js +2 -2
- package/dist/cdn/icons/link-2.js +2 -2
- package/dist/cdn/icons/megaphone-off.js +3 -3
- package/dist/cdn/icons/megaphone.js +3 -3
- package/dist/cdn/icons/meh.js +2 -2
- package/dist/cdn/icons/paperclip.js +1 -1
- package/dist/cdn/icons/phone-call.js +3 -4
- package/dist/cdn/icons/phone-clock.js +2 -3
- package/dist/cdn/icons/phone-lock.js +2 -3
- package/dist/cdn/icons/phone-plus.js +1 -2
- package/dist/cdn/icons/phone-right.js +1 -2
- package/dist/cdn/icons/phone-x.js +1 -2
- package/dist/cdn/icons/phone.js +1 -2
- package/dist/cdn/icons/plunger.js +1 -1
- package/dist/cdn/icons/school-bell.js +4 -5
- package/dist/cdn/icons/smile.js +2 -2
- package/dist/cdn/icons/strikethrough.js +1 -1
- package/dist/cdn/icons/thumbs-down.js +3 -3
- package/dist/cdn/icons/thumbs-up.js +3 -3
- package/dist/cdn/icons/underline.js +1 -1
- package/dist/cdn/icons/user-group-alert.js +4 -4
- package/dist/cdn/icons/user-group-check.js +4 -4
- package/dist/cdn/icons/user-group-cog.js +4 -4
- package/dist/cdn/icons/user-group-heart.js +4 -4
- package/dist/cdn/icons/user-group-info.js +4 -4
- package/dist/cdn/icons/user-group-lock.js +5 -5
- package/dist/cdn/icons/user-group-minus.js +4 -4
- package/dist/cdn/icons/user-group-plus.js +4 -4
- package/dist/cdn/icons/user-group-search.js +5 -5
- package/dist/cdn/icons/user-group-star.js +4 -4
- package/dist/cdn/icons/user-group-sync.js +4 -4
- package/dist/cdn/icons/user-group-x.js +4 -4
- package/dist/cdn/icons/user-group.js +4 -4
- package/dist/cdn/icons/users-alert.js +4 -4
- package/dist/cdn/icons/users-check.js +4 -4
- package/dist/cdn/icons/users-clock.js +5 -5
- package/dist/cdn/icons/users-cog.js +4 -4
- package/dist/cdn/icons/users-heart.js +4 -4
- package/dist/cdn/icons/users-info.js +4 -4
- package/dist/cdn/icons/users-lock.js +5 -5
- package/dist/cdn/icons/users-minus.js +4 -4
- package/dist/cdn/icons/users-plus.js +4 -4
- package/dist/cdn/icons/users-right.js +4 -4
- package/dist/cdn/icons/users-search.js +5 -5
- package/dist/cdn/icons/users-star.js +4 -4
- package/dist/cdn/icons/users-sync.js +4 -4
- package/dist/cdn/icons/users-x.js +4 -4
- package/dist/cdn/icons/users.js +4 -4
- package/dist/cdn/icons/video-check.js +3 -3
- package/dist/cdn/icons/video-lock.js +4 -4
- package/dist/cdn/icons/video-off.js +4 -4
- package/dist/cdn/icons/video-plus.js +3 -3
- package/dist/cdn/icons/video-sparkle.js +3 -3
- package/dist/cdn/icons/video-x.js +3 -3
- package/dist/cdn/icons/video.js +3 -3
- package/dist/cdn/icons/whistle.js +4 -5
- package/dist/cdn/icons/wink.js +3 -3
- package/dist/defs/_comm-people.js +1 -1
- package/dist/defs/_w2-interface.js +1 -1
- package/dist/defs/megaphone.js +2 -2
- package/dist/defs/paperclip.js +1 -1
- package/dist/defs/phone-call.js +3 -4
- package/dist/defs/phone.js +1 -2
- package/dist/defs/plunger.js +1 -1
- package/dist/defs/school-bell.js +4 -5
- package/dist/defs/video.js +3 -3
- package/dist/defs/whistle.js +5 -6
- package/dist/icons/link-2-check.js +1 -1
- package/dist/icons/link-2-plus.js +1 -1
- package/dist/icons/link-2-x.js +1 -1
- package/dist/icons/link-2.js +1 -1
- package/dist/icons/megaphone-off.js +1 -1
- package/dist/icons/megaphone.js +1 -1
- package/dist/icons/paperclip.js +1 -1
- package/dist/icons/phone-call.js +1 -1
- package/dist/icons/phone-clock.js +1 -1
- package/dist/icons/phone-lock.js +1 -1
- package/dist/icons/phone-plus.js +1 -1
- package/dist/icons/phone-right.js +1 -1
- package/dist/icons/phone-x.js +1 -1
- package/dist/icons/phone.js +1 -1
- package/dist/icons/plunger.js +1 -1
- package/dist/icons/school-bell.js +1 -1
- package/dist/icons/video-check.js +1 -1
- package/dist/icons/video-lock.js +1 -1
- package/dist/icons/video-off.js +1 -1
- package/dist/icons/video-plus.js +1 -1
- package/dist/icons/video-sparkle.js +1 -1
- package/dist/icons/video-x.js +1 -1
- package/dist/icons/video.js +1 -1
- package/dist/icons/whistle.js +1 -1
- package/dist/line-motion.js +1 -1
- package/dist/line.js +1 -1
- package/package.json +1 -1
package/dist/cdn/element.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Qt=Object.defineProperty;var Xt=(t,e,n)=>e in t?Qt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var wt=(t,e,n)=>Xt(t,typeof e!="symbol"?e+"":e,n);var At={color:{"--ki-c":"initial","--ki-e":"initial","--ki-w":"initial","--ki-l":"initial"},soft:{"--ki-c":"color-mix(in srgb,currentColor 90%,#fff)","--ki-e":"color-mix(in srgb,currentColor 84%,#000)","--ki-w":"color-mix(in srgb,currentColor 65%,#000)","--ki-l":"72%"}};var Y=Math.PI*2,N=(t,e=0,n=1)=>Math.min(n,Math.max(e,t)),L=t=>+t.toFixed(3);function it(t,e=1.8,n=.42){if(t<=0)return 0;let o=Y*e,r=o*Math.sqrt(1-n*n),i=Math.atan(r/(n*o))/r,s=Math.exp(-n*o*i)*Math.sin(r*i);return Math.exp(-n*o*t)*Math.sin(r*t)/s}function at(t,e=2.2,n=.55){if(t<=0)return 1;let o=Y*e,r=o*Math.sqrt(1-n*n);return Math.exp(-n*o*t)*(Math.cos(r*t)+n*o/r*Math.sin(r*t))}var nt=t=>1-Math.pow(1-N(t),3),G=t=>(t=N(t),t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2);function Jt(t,e=1,n=1,o=12,r=12){let i=t.match(/[a-z]|-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi)||[],s={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},a=(y,p)=>L(p?y*e:o+(y-o)*e),c=(y,p)=>L(p?y*n:r+(y-r)*n),l="",h="",m=0;for(;m<i.length;){if(/[a-z]/i.test(i[m])&&(h=i[m++],l+=h,!s[h.toLowerCase()]))continue;let y=h.toLowerCase(),p=h!==h.toUpperCase(),d=i.slice(m,m+s[y]).map(Number);m+=s[y];let k;y==="h"?k=[a(d[0],p)]:y==="v"?k=[c(d[0],p)]:y==="a"?k=[L(Math.abs(d[0]*e)),L(Math.abs(d[1]*n)),d[2],d[3],e*n<0?1-d[4]:d[4],a(d[5],p),c(d[6],p)]:k=d.map((A,M)=>M%2?c(A,p):a(A,p)),l+=(/[a-z]$/i.test(l)?"":" ")+k.join(" ")}return l}var ct={x:0,y:0,r:0,s:1,sx:1,sy:1,gx:1,gy:1,a:1,w:1},St=150,lt=.42,te={bounce:{len:(t,e)=>720+(t.by?(e-1)*(t.stagger??90):0),pose(t,e,n){let o=(e-(t.by?n*(t.stagger??90):0))/1e3,r=t.amp??1.6,i=it(o-.07,1.9,.45),s=o>0&&o<.07?Math.sin(Math.PI*o/.07):0,a=it(o-.07,3.8,.5);return{y:t.dir==="down"?r*i:-r*Math.max(i,-.35),sy:1-.07*s+.03*Math.max(a,-.6),sx:1+.04*s}}},beat:{len:()=>760,pose(t,e){let n=r=>{let i=(e-r)/200;return i>0&&i<1?Math.sin(Math.PI*i)**2:0},o=it((e-420)/1e3,3,.5);return{s:1+(t.amp??.12)*n(0)+(t.amp??.12)*.7*n(240)+.015*Math.max(0,o)}}},wiggle:{len:t=>1e3+(t.delay??0),pose(t,e){let n=(e-(t.delay??0))/1e3;if(n<=0)return{};let o=t.hz??3,r=Math.exp(-n*3.6)*N(n/.05);return{r:(t.deg??10)*r*Math.sin(Y*o*n)}}},shake:{len:t=>t.ms??520,pose(t,e){let n=t.ms??520,o=e/n;return{x:(t.x??.7)*Math.sin(Y*7*o)*Math.sin(Math.PI*N(o))}}},rotate:{len:t=>Math.abs(t.deg??360)>=180?1050:820,pose(t,e){let n=e/1e3,o=t.deg??360,r=Math.abs(o)>=180,i=r?1050:820,s={r:o*(1-at(n,r?1.25:1.9,r?.62:.5))};return t.dip&&(s.s=1-t.dip*N(e/50)*N((i-e)/260)),s}},flip:{len:t=>820*(t.turns??1),pose(t,e){let n=820*(t.turns??1);return{sx:Math.cos(Y*(t.turns??1)*G(e/n))}}},orbit:{len:t=>700*(t.turns??1),pose(t,e){let n=700*(t.turns??1),o=Y*(t.turns??1)*G(e/n),r=t.R??.9;return{x:r*Math.sin(o),y:r*(Math.cos(o)-1)*.9}}},draw:{len:(t,e)=>380+(e-1)*(t.stagger??150)+40,pose(t,e,n){let o=(e-n*(t.stagger??150))/380;return{w:nt(o)}}},variable:{loop:!0,len:(t,e)=>120+e*(t.step??160)+460,pose(t,e,n,o){let r=t.step??160,i=120+o*r+460,s=e%i,a=.25,c=y=>N(y/120);if(s<120)return{a:1-(1-a)*c(s)};let l=s-120-n*r;if(t.mode!=="iterative")return{a:l<0?a:a+(1-a)*c(l)};let h=l<0?0:l<r*1.5?c(l):1-c(l-r*1.5),m=i-140;return{a:a+(1-a)*Math.max(h,s>m?c(s-m):0)}}},from:{len:(t,e)=>760+(t.delay??0)+(t.by?(e-1)*(t.stagger??80):0),pose(t,e,n){let o=(e-(t.delay??0)-(t.by?n*(t.stagger??80):0))/1e3,r=at(Math.max(o,0),t.hz??2.2,t.z??.55),i={};for(let s of["x","y","r","s","sx","sy","gx","gy"])t[s]!=null&&(i[s]=ct[s]+(t[s]-ct[s])*r);return t.a!=null&&(i.a=t.a+(1-t.a)*nt(o/.18)),i}},keys:{len(t){return t.ms?t.ms+lt*1e3:190+(Math.max(1,...["x","y","r","s","sx","sy","gx","gy","a"].map(n=>Array.isArray(t[n])?t[n].length:0))-1)*St+lt*1e3+(t.by?70:0)},pose(t,e,n){let o=["x","y","r","s","sx","sy","gx","gy","a"].filter(a=>t[a]!=null),r=Math.max(1,...o.map(a=>[].concat(t[a]).length));e-=t.by?n*(t.stagger??70):0;let i={},s=t.ms?t.ms:190+(r-1)*St;for(let a of o){let c=[].concat(t[a]),l=ct[a],h=a==="a"&&t.ghost?0:l,m=[h,...c],y=c[c.length-1];if(e<=0){i[a]=h;continue}if(e<s){let p=s/c.length,d=E=>Math.sign(m[E+1]-m[E]),k=Math.min(c.length-1,Math.floor(e/p)),A=k+1,M=d(k);if(M){for(;k>0&&d(k-1)===M;)k--;for(;A<c.length&&d(A)===M;)A++}let S=(e-k*p)/((A-k)*p);i[a]=m[k]+(m[A]-m[k])*(k===0?nt(S):G(S))}else i[a]=a==="a"?y+(h-y)*nt((e-s)/(lt*600)):l+(y-l)*at((e-s)/1e3)}return i}},turn:{loop:!0,len:t=>t.ms??1100,pose(t,e,n){let o=t.ms??1100,r=Math.PI/180,i=t.at[n],s=i+t.step*(e%o/o),[a,c]=t.edge??[70,90],l=Math.abs((s+540)%360-180);return{gx:Math.sin(s*r)/Math.sin(i*r),a:1-N((l-a)/(c-a))}}},leaf:{len:(t,e)=>(t.ms??560)+(e-1)*(t.stagger??200),pose(t,e,n){let o=(e-n*(t.stagger??200))/(t.ms??560);return o<=0||o>=1?{a:0}:{[t.axis==="y"?"gy":"gx"]:Math.cos(Math.PI*G(o)),a:1}}},scan:{len:t=>2*(t.ms??460)+(t.hold??200)+120,pose(t,e,n){let o=t.ms??460,r=t.hold??200,i=90,s=t.axis==="y",a=(s?t.y0:t.x0)??3,c=(s?t.y1:t.x1)??21,l=e>=o+r,h=l?(e-o-r)/o:e/o,m=e<o?c+(a-c)*G(h):l?a+(c-a)*G(h):a;if(n>0)return s?{clipY:m}:{clip:m};let y=l?N((e-o-r)/i)*(1-N((e-2*o-r)/120)):N(e/60)*(1-N((e-o+i)/i));return{[s?"y":"x"]:m-12,a:y}}}},ee=(t,e)=>({x:(t.x??0)+(e.x??0),y:(t.y??0)+(e.y??0),r:(t.r??0)+(e.r??0),s:(t.s??1)*(e.s??1),sx:(t.sx??1)*(e.sx??1),sy:(t.sy??1)*(e.sy??1),a:t.a==null?e.a:e.a==null?t.a:t.a*e.a,w:t.w==null?e.w:e.w==null?t.w:Math.min(t.w,e.w),gx:t.gx==null?e.gx:e.gx==null?t.gx:t.gx*e.gx,gy:t.gy==null?e.gy:e.gy==null?t.gy:t.gy*e.gy,clip:t.clip==null?e.clip:e.clip==null?t.clip:Math.min(t.clip,e.clip),clipY:t.clipY==null?e.clipY:e.clipY==null?t.clipY:Math.min(t.clipY,e.clipY),o:e.o??t.o});function ne(t){let[e,n]=t.o||[12,12],o=t.s??1,r=o*(t.sx??1),i=o*(t.sy??1);return`translate(${L((t.x??0)+e)} ${L((t.y??0)+n)}) rotate(${L(t.r??0)}) scale(${L(r)} ${L(i)}) translate(${-e} ${-n})`}function oe(t){if(t.on==="all"||!t.on)return[["all"]];let e=t.on.map(n=>[].concat(n));return t.by||["draw","variable","turn","leaf","scan"].includes(t.t)?e:[e.flat()]}function vt(t,e){let n=[].concat(e||[]),o=globalThis.requestAnimationFrame||(b=>setTimeout(()=>b(performance.now()),16)),r=globalThis.cancelAnimationFrame||clearTimeout,i=t.getAttribute("data-variant")==="fill",s=!1;try{s=matchMedia("(prefers-reduced-motion: reduce)").matches}catch{}let a=b=>[...t.querySelectorAll(`[data-l="${b}"]`)],c=b=>b.tagName==="path"?[b]:[...b.querySelectorAll("path")],l=b=>{let u={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},$=1/0,w=1/0,x=-1/0,g=-1/0,v=(T,_)=>{T<$&&($=T),T>x&&(x=T),_<w&&(w=_),_>g&&(g=_)};for(let T of c(b)){let _=(T.getAttribute("d")||"").match(/[a-z]|-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi)||[],I="",F=0,O=0,P=0,yt=0,kt=0;for(;F<_.length;){if(/[a-z]/i.test(_[F])&&(I=_[F++],I.toLowerCase()==="z")){O=yt,P=kt;continue}let Q=I.toLowerCase(),R=I!==I.toUpperCase(),X=u[Q];if(!X)break;let D=_.slice(F,F+X).map(Number);if(F+=X,Q==="h")O=R?O+D[0]:D[0],v(O,P);else if(Q==="v")P=R?P+D[0]:D[0],v(O,P);else if(Q==="a")O=R?O+D[5]:D[5],P=R?P+D[6]:D[6],v(O,P);else{for(let H=0;H<X;H+=2){let Mt=R?O+D[H]:D[H],bt=R?P+D[H+1]:D[H+1];v(Mt,bt),H===X-2&&(O=Mt,P=bt)}Q==="m"&&(yt=O,kt=P,I=R?"l":"L")}}}return $<=x?[L(($+x)/2),L((w+g)/2)]:[12,12]},h=b=>{let u=a(b),$=u.find(g=>!g.closest("mask"));if($&&$.getBBox)try{let g=$.getBBox();if(g.width||g.height)return[g.x+g.width/2,g.y+g.height/2]}catch{}let w=u.find(g=>g.closest("mask")),x=$||w;return x?l(x):[12,12]},m=n.map(b=>{let u=i&&b.fill?{...b,...b.fill}:b,$=oe(u),w=te[u.t];if(!w)throw new Error(`Unknown effect ${u.t}`);return{spec:u,gs:$,E:w,len:w.len(u,$.length),o:u.oBadge?h($[0][0]):u.o}}),y=[...new Set(m.flatMap(b=>b.gs.flat()))],p=Object.fromEntries(y.map(b=>[b,a(b)])),d=Object.fromEntries(y.map(b=>[b,p[b].some(u=>u.getAttribute("opacity")==="0")])),k=m.some(b=>b.E.loop),A=Math.max(...m.map(b=>b.len)),M=new Map,S=null,E=(b,u)=>{if(!S){let $="http://www.w3.org/2000/svg",w=t.ownerDocument,x=w.createElementNS($,"clipPath");x.setAttribute("id",`kl-clip-${Math.random().toString(36).slice(2,10)}`),x.setAttribute("clipPathUnits","userSpaceOnUse"),S=w.createElementNS($,"rect");for(let[v,T]of[["x",-6],["y",-6]])S.setAttribute(v,T);x.appendChild(S);let g=t.querySelector("defs");g||(g=w.createElementNS($,"defs"),t.insertBefore(g,t.firstChild)),g.appendChild(x)}return S.setAttribute("width",b==null?36:L(Math.max(0,b+6))),S.setAttribute("height",u==null?36:L(Math.max(0,u+6))),S.parentNode.getAttribute("id")};function C(b,u){let $={};for(let w of m)w.gs.forEach((x,g)=>{let v=u?{}:w.E.pose(w.spec,b,g,w.gs.length)||{};v.w!=null&&i&&(v={a:v.w,s:.7+.3*v.w});for(let T of x)$[T]=ee($[T]||{},{...v,o:w.o})});for(let w of y){let x=$[w]||{};for(let g of p[w]){g.setAttribute("transform",ne(x)),x.a!=null||d[w]?g.setAttribute("opacity",L(N(x.a??0))):g.removeAttribute("opacity"),x.w!=null&&!i?(g.setAttribute("stroke-dasharray",`${L(N(x.w))} 2`),g.setAttribute("stroke-opacity",x.w<.01?0:1)):(g.removeAttribute("stroke-dasharray"),g.removeAttribute("stroke-opacity"));let v=x.gx??1,T=x.gy??1,_=Math.abs(v-1)>1e-6||Math.abs(T-1)>1e-6;if(_||M.size)for(let I of c(g)){if(!_&&!M.has(I))continue;M.has(I)||M.set(I,I.getAttribute("d"));let[F,O]=x.o||[12,12],P=_?Jt(M.get(I),v,T,F,O):M.get(I);I.getAttribute("d")!==P&&I.setAttribute("d",P)}x.clip!=null||x.clipY!=null?g.setAttribute("clip-path",`url(#${E(x.clip,x.clipY)})`):g.removeAttribute("clip-path")}}}let j=0,U=0,q=!1,B=!1,Z=()=>{r(j),q=!1,C(0,!0)},K=b=>{let u=b-U;if(k){let $=A;if(!B&&u>=Math.ceil(Math.max(u,1)/$)*$-16){Z();return}C(u,!1)}else{if(u>=A){Z();return}C(u,!1)}j=o(K)};return{play(){s||!m.length||q&&k||(r(j),q=!0,U=performance.now(),j=o(K))},hover(b){B=!!b,B&&this.play()},at(b){b>=A&&!k?C(0,!0):C(b,!1)},get length(){return A},get loops(){return k}}}var re="0 0 24 24",se=["outline","line-duo","fill","solid-tint"],ut={min:.25,max:3,step:.25,regular:2},V=t=>+(+t).toFixed(3),ie=t=>V(.5*t+.75),Et="var(--kl-bg, #FFFFFF)",ae=`var(--kl-light, color-mix(in srgb, currentColor 42%, ${Et}))`,ce=`var(--kl-fill, color-mix(in srgb, currentColor 20%, ${Et}))`;function le(t){let e=Number(t);return Number.isFinite(e)&&e>0?V(e):ut.regular}var ft=t=>se.includes(t)?t:"outline";function _t(t,{s:e=ut.regular,variant:n="outline",colors:o}={}){e=le(e),n=ft(n);let i=Object.keys(t.w).map(Number).reduce((u,$)=>Math.abs($-e)<Math.abs(u-e)?$:u),s=t.w[String(i)],a=n==="fill",c=n==="solid-tint",l=n==="line-duo",h=a?s.f:s.o,m=o?.dark??"currentColor",y=o?.light??ae,p=o?.fill??ce,d=u=>{let $=l&&u.lit?y:m;return u.key!=="badge"?$:o?o.badge??$:`var(--ki-b, ${$})`},k={};for(let u of h)/^\d+$/.test(u.key)||(k[u.key]=u);let A=(u,$)=>{if(!a)return null;let w=0,x=u;for(;x&&x.on&&w<8;)if(w++,x=k[x.on],x===$)return w;return null},M=u=>u.k==="solid"||u.k==="shell"&&a,S=(u,$,w=0,x=M(u))=>{let g=u.tf?` transform="${u.tf}"`:"",v=V((e+w)/(u.sc??1)),T=u.cap==="butt"&&!w?"butt":"round";if(!x)return`<path d="${u.d}" fill="none" stroke="${$}" stroke-width="${v}" stroke-linecap="${T}" stroke-linejoin="round" pathLength="1"${g}/>`;if(u.k==="solid"&&!w)return`<path d="${u.d}" fill="${$}"${g}/>`;let _=u.k==="solid"?V(w/(u.sc??1)):v;return`<path d="${u.d}" fill="${$}" stroke="${$}" stroke-width="${_}" stroke-linejoin="round" pathLength="1"${g}/>`},E=(u,$)=>`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}>${$}</g>`,C='maskUnits="userSpaceOnUse" x="-6" y="-6" width="36" height="36"><rect x="-6" y="-6" width="36" height="36" fill="#fff"/>',j={};for(let u of h)j[u.key]=u;let U=(u,$)=>{let w=h[u],x=[];return h.forEach((g,v)=>{v<=u||g.part===w.part||A(g,w)||(g.cutD?x.push(E(g,`<path d="${g.cutD}" fill="${$}"${g.tf?` transform="${g.tf}"`:""}/>`)):g.cut?x.push(E(g,`<path d="${g.cut.d}" fill="none" stroke="${$}" stroke-width="${V(g.cut.w)}" stroke-linecap="round" pathLength="1"/>`)):(g.gap||g.occ)&&x.push(E(g,S(g,$,2*ie(e),g.occ?!0:M(g)))))}),x},q=([u,$,w])=>{let x=j[u],g=x.tf?` transform="${x.tf}"`:"";if($==="strip")return E(x,`<path d="${w}" fill="#000"${g}/>`)+U(h.indexOf(x),"#fff").join("");let v=$==="in"?x.d:$==="out"?`M-12 -12H36V36H-12Z${x.d}`:w;return E(x,`<path d="${x.d}" fill="none" stroke="#000" stroke-width="${V((2*e+.5)/(x.sc??1))}" stroke-linecap="round" stroke-linejoin="round"${g}/>`)+E(x,`<path d="${v}" fill="#fff" fill-rule="evenodd"${g}/>`)+U(h.indexOf(x),"#fff").join("")},B=[],Z=[],K=[],b=[];if(h.forEach((u,$)=>{let w=d(u),x=a&&u.on?k[u.on]:null,g=x&&d(x)===w,v=[];if(h.forEach((_,I)=>{if(I<=$)return;let F=A(_,u);F&&v.push(E(_,S(_,F%2?"#000":"#fff")))}),v.push(...U($,"#000")),g)return;if(c&&u.tint){let _=h.filter((F,O)=>O>$&&F.on===u.key&&F.k!=="line").map(F=>E(F,S(F,"#000",0,!0))),I=`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}><path d="${u.d}" fill="${p}"${u.tf?` transform="${u.tf}"`:""}/></g>`;(v.length||_.length)&&(B.push(`<mask id="__K__-t${$}" ${C}${v.join("")}${_.join("")}</mask>`),I=`<g mask="url(#__K__-t${$})">${I}</g>`),K.push(I)}let T=`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}${u.vc!=null?` data-vc="${u.vc}"`:""}>${S(u,w)}</g>`;v.length&&(B.push(`<mask id="__K__-m${$}" ${C}${v.join("")}</mask>`),T=`<g mask="url(#__K__-m${$})">${T}</g>`),l&&u.lit&&u.clip&&u.clip.forEach((_,I)=>{B.push(`<mask id="__K__-c${$}-${I}" ${C}${q(_)}</mask>`),T=`<g mask="url(#__K__-c${$}-${I})">${T}</g>`}),(l&&u.lit?b:Z).push(T)}),c)for(let u of[...s.x||[],...s.a||[]])K.push(`<g data-l="${u.key}"><path d="${u.d}" fill="${p}"${u.tf?` transform="${u.tf}"`:""}/></g>`);return(B.length?`<defs>${B.join("")}</defs>`:"")+`<g data-l="all">${K.join("")}${b.join("")}${Z.join("")}</g>`}var ue=(t,e)=>({name:t,viewBox:re,style:"line",line:e,markup:_t(e),tap:!1,...e.tone?{tone:e.tone}:{}}),It=(t,{strokeWidth:e,variant:n}={})=>e==null&&(n==null||ft(n)==="outline")?t.markup:_t(t.line,{s:e??ut.regular,variant:n});function Tt(t,e,{variant:n}={}){t.setAttribute("data-variant",ft(n));let o=vt(t,e.line.fx),r=!1;return{hover(i){let s=!!i;s!==r&&(r=s,o.hover(s))},state(){},get hovered(){return r},get active(){return!1},svg:t,destroy(){o.hover(!1),o.at(1e9)}}}var fe="0 -3 31 31",he=/__K__/g,pe=(t,e,n,o,r,i)=>({name:t,markup:e,target:n,draw:o,tap:!!r,...i?{tone:i}:{}}),de=(t,e)=>{let n=e==="semantic"?t.tone:e;return n?{"--ki-b":n}:{}},ht=Symbol.for("kubai-icons.uid"),me=typeof document>"u"?"s":"",ge=()=>(globalThis[ht]=(globalThis[ht]||0)+1,`ki${me}${globalThis[ht].toString(36)}`),Ct=t=>String(t).replace(/&/g,"&").replace(/</g,"<").replace(/"/g,"""),$e=t=>Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";");function Ft(t,{size:e=24,color:n,variant:o,badgeColor:r,strokeWidth:i,title:s,className:a,id:c=ge(),attrs:l={}}={}){let h=t.style==="line",y={...t.style==="duotone"||h?{}:At[o]||{},...n?{color:n}:{},...de(t,r)},p={xmlns:"http://www.w3.org/2000/svg",viewBox:t.viewBox||fe,width:e,height:e,fill:"none",overflow:"visible",class:["kubai-icon",t.style==="duotone"&&"kubai-duotone",h&&"kubai-line",`kubai-icon-${t.name}`,a].filter(Boolean).join(" "),...s?{role:"img"}:{"aria-hidden":"true"},...Object.keys(y).length?{style:$e(y)}:{},...l},d=Object.entries(p).map(([A,M])=>` ${A}="${Ct(M)}"`).join(""),k=h?It(t,{strokeWidth:i,variant:o}):t.markup;return`<svg${d}>${s?`<title>${Ct(s)}</title>`:""}${k.replace(he,c)}</svg>`}function xe(t,e,n,o){let r=3*t,i=3*(n-t)-r,s=1-r-i,a=3*e,c=3*(o-e)-a,l=1-a-c,h=p=>((s*p+i)*p+r)*p,m=p=>((l*p+c)*p+a)*p,y=p=>(3*s*p+2*i)*p+r;return p=>{if(p<=0)return 0;if(p>=1)return 1;let d=p;for(let k=0;k<8;k++){let A=h(d)-p;if(Math.abs(A)<1e-5)break;let M=y(d);if(Math.abs(M)<1e-6)break;d-=A/M}return m(d)}}var pt=xe(.22,1,.36,1),dt=460;function ot(t,e,n){if(typeof e=="number")return typeof t=="number"?t+(e-t)*n:e;if(Array.isArray(e))return e.map((o,r)=>ot(t?t[r]:o,o,n));if(e&&typeof e=="object"){let o={};for(let r in e)o[r]=ot(t?t[r]:void 0,e[r],n);return o}return e}var z;function rt(t){if(t<=0)return 0;if(t>=1)return 1;z=z||Array.from({length:129},(o,r)=>pt(r/128));let e=0,n=128;for(;n-e>1;){let o=e+n>>1;z[o]<t?e=o:n=o}return(e+(t-z[e])/(z[n]-z[e]))/128}var J=Symbol.for("kubai-icons.phase");var ye="0 0 16 16";var W=t=>+t.toFixed(3);var ke=(t,e,n,o,r)=>({name:t,markup:e,viewBox:ye,style:"duotone",moves:n,...o?{ms:o}:{},...r?{tone:r}:{},tap:!1}),Me=480,be=110,we=360;function Bt(t,e,n,o){let r=3*t,i=3*(n-t)-r,s=1-r-i,a=3*e,c=3*(o-e)-a,l=1-a-c,h=p=>((s*p+i)*p+r)*p,m=p=>((l*p+c)*p+a)*p,y=p=>(3*s*p+2*i)*p+r;return p=>{if(p<=0)return 0;if(p>=1)return 1;let d=p;for(let k=0;k<8;k++){let A=h(d)-p;if(Math.abs(A)<1e-5)break;let M=y(d);if(Math.abs(M)<1e-6)break;d-=A/M}return m(d)}}var Ae=Bt(.34,1.56,.64,1),Se=Bt(.33,1,.68,1),gt={x:0,y:0,r:0,s:1,sx:1,sy:1,a:1,w:1},Dt=Object.keys(gt),ve=t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,Ut=t=>({...gt,...t.rest||{}});function Ee(t,e,n,o){let r=[t,...Array.isArray(e)?e:[e]],i=r.length-1;if(i===1)return t+(r[1]-t)*o(n);let s=Math.min(i-1e-9,Math.max(0,n*i)),a=y=>Math.sign(r[y+1]-r[y]),c=Math.floor(s),l=c+1,h=a(c);if(h){for(;c>0&&a(c-1)===h;)c--;for(;l<i&&a(l)===h;)l++}let m=(s-c)/(l-c);return r[c]+(r[l]-r[c])*(l===i?o(m):ve(m))}var _e=t=>Math.max(1,...Dt.filter(e=>Array.isArray(t[e])).map(e=>t[e].length)),Ie=t=>t.ms??Me+be*(Math.max(1,...Object.values(t.moves||{}).map(_e))-1);function Ot(t,e,n,o){let r=Ut(t),i={};for(let s of Dt)(s in t||t.rest&&s in t.rest)&&(i[s]=Ee((n||r)[s]??r[s],o&&s in t?t[s]:r[s],e,o?Ae:Se));return i}var Lt=t=>W(Math.min(1,Math.max(0,t)));function Te(t,e){let n=s=>s in e?e[s]:gt[s],[o,r]=t.o||[8,8],i=n("s");return`translate(${W(n("x")+o)} ${W(n("y")+r)}) rotate(${W(n("r"))}) scale(${W(i*n("sx"))} ${W(i*n("sy"))}) translate(${-o} ${-r})`}var mt=null;try{mt=matchMedia("(prefers-reduced-motion: reduce)")}catch{}var Ce=()=>!!(mt&&mt.matches),jt=t=>typeof requestAnimationFrame=="function"?requestAnimationFrame(t):setTimeout(()=>t(Date.now()),16),Pt=t=>typeof cancelAnimationFrame=="function"?cancelAnimationFrame(t):clearTimeout(t),Nt=()=>typeof performance<"u"?performance.now():Date.now();function qt(t,e){let n=Object.keys(e.moves||{}).map(l=>({p:e.moves[l],list:[...t.querySelectorAll(`[data-l="${l}"]`)],cur:Ut(e.moves[l])})),o=Ie(e),r=!1,i=0,s=!1,a=l=>{let h=Te(l.p,l.cur);for(let m of l.list)m.setAttribute("transform",h),("a"in l.p||l.p.rest?.a!==void 0)&&m.setAttribute("opacity",Lt(l.cur.a)),"w"in l.p&&(m.setAttribute("stroke-dasharray",`${Lt(l.cur.w)} 2`),m.setAttribute("stroke-opacity",l.cur.w<.01?0:1))};for(let l of n)l.p.rest&&a(l);let c=l=>{Pt(i);let h=n.map(d=>({...d.cur}));if(l||Ce()){n.forEach((d,k)=>{d.cur={...d.cur,...Ot(d.p,1,h[k],r)},a(d)});return}let m=r?o:we,y=Nt(),p=d=>{if(s)return;let k=Math.min(1,Math.max(0,((typeof d=="number"?d:Nt())-y)/m));n.forEach((A,M)=>{A.cur={...A.cur,...Ot(A.p,k,h[M],r)},a(A)}),k<1&&(i=jt(p))};i=jt(p)};return{hover(l,h){!!l!==r&&n.length&&(r=!!l,c(h))},state(){},get hovered(){return r},get active(){return!1},svg:t,destroy(){s=!0,Pt(i)}}}var $t=null;try{$t=matchMedia("(prefers-reduced-motion: reduce)")}catch{}var Fe=()=>!!($t&&$t.matches),Rt=typeof requestAnimationFrame=="function"?requestAnimationFrame:t=>setTimeout(()=>t(Date.now()),16),Ht=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:clearTimeout,Kt=()=>typeof performance<"u"?performance.now():Date.now();function Gt(t,e,{state:n={},variant:o}={}){if(e.style==="duotone")return qt(t,e);if(e.style==="line")return Tt(t,e,{variant:o});let r={};for(let M of t.querySelectorAll("[data-n]"))r[M.getAttribute("data-n")]=M;let i=[];for(let M of t.querySelectorAll("[mask]")){let S=(M.getAttribute("mask").match(/url\(#([^)]+)\)/)||[])[1],E=S&&t.querySelector(`mask[id="${S}"] path`);E&&E.getAttribute("d")===M.getAttribute("d")&&i.push([M,E])}let s=[];for(let M of t.querySelectorAll("[data-under]")){let S=t.querySelector(`[data-over="${M.getAttribute("data-under")}"]`);S&&s.push([S,M])}let a=!1,c={...n},l=0,h=!1,m=e.target(!1,c),y=t.style,p=y?y.willChange:"",d=M=>{y&&(y.willChange=M?"transform":p)},k=M=>{globalThis[J]=M,e.draw(m,r,{}),globalThis[J]=void 0;for(let[S,E]of i){let C=S.getAttribute("d");C&&E.getAttribute("d")!==C&&E.setAttribute("d",C)}for(let[S,E]of s)for(let C of["d","transform"]){let j=S.getAttribute(C);j!==E.getAttribute(C)&&(j===null?E.removeAttribute(C):E.setAttribute(C,j))}},A=M=>{let S=e.target(a,c);if(Ht(l),M||Fe()){m=S,k(),d(!1);return}let E=m,C=Kt();d(!0);let j=U=>{if(h)return;let q=Math.min(1,Math.max(0,((typeof U=="number"?U:Kt())-C)/dt)),B=pt(q);m=ot(E,S,B),k({out:!a,e:B}),q<1?l=Rt(j):d(!1)};l=Rt(j)};return Object.keys(c).length&&A(!0),{hover(M,S){!!M!==a&&(a=!!M,A(S))},state(M,S){c={...c,...M},A(S)},get hovered(){return a},get active(){return!!c.active},svg:t,destroy(){h=!0,Ht(l),d(!1)}}}function Yt(t,e,n,o){let r=0,i=d=>{(!d.pointerType||d.pointerType==="mouse")&&(r++,e.hover(!0))},s=d=>{(!d.pointerType||d.pointerType==="mouse")&&(r=Math.max(0,r-1),r||e.hover(!1))},a=!1,m={pointerenter:i,pointerleave:s,focusin:d=>{let k=!0;try{k=d.target.matches(":focus-visible")}catch{}!k||a||(a=!0,r++,e.hover(!0))},focusout:()=>{a&&(a=!1,r=Math.max(0,r-1),r||e.hover(!1))},click:d=>{if(n.tap){let k=!e.active;o?o(k):e.state({active:k});return}d.pointerType&&d.pointerType!=="mouse"&&(e.hover(!0),setTimeout(()=>e.hover(!1),dt+240))}},y=()=>{for(let d in m)t.removeEventListener(d,p)},p=d=>{e.svg&&!e.svg.isConnected?y():m[d.type](d)};for(let d in m)t.addEventListener(d,p);return y}var st=new Map,Oe=(t,e)=>{if(!/^[a-z0-9-]+$/.test(t))return Promise.reject(new Error(`Bad icon name: ${t}`));let n=e==="duotone"?"./duotone/icons":e==="line"?"./line/icons":"./icons",o=`${n}/${t}`;return st.has(o)||st.set(o,import(new URL(`${o}.js`,import.meta.url).href).then(r=>r.default,r=>{throw st.delete(o),r})),st.get(o)},Le=typeof HTMLElement>"u"?class{}:HTMLElement,tt=class extends Le{connectedCallback(){this.render()}disconnectedCallback(){this.token=null,this.unbind()}attributeChangedCallback(){this.isConnected&&this.render()}unbind(){this.cleanup?.(),this.cleanup=null}async render(){let e=this.getAttribute("name"),n=this.token={},o=Number(this.getAttribute("size"))||24;this.style.display||(this.style.display="inline-block"),this.style.width=this.style.height=`${o}px`,this.style.lineHeight="0";let r=null;if(e)try{r=await Oe(e,this.getAttribute("icon-style"))}catch{}if(n!==this.token)return;if(this.unbind(),!r){this.textContent="";return}let i=this.getAttribute("variant")||void 0,s=this.getAttribute("stroke-width");this.innerHTML=Ft(r,{size:o,color:this.getAttribute("color")||void 0,variant:i,badgeColor:this.getAttribute("badge-color")||void 0,strokeWidth:s?Number(s):void 0,title:this.getAttribute("label")||void 0});let a=this.getAttribute("trigger")||"hover";if(a==="none")return;let c=Gt(this.firstElementChild,r,{variant:i}),l=a==="parent"?this.closest("[data-kubai-trigger]")||this.parentElement||this:this,h=Yt(l,c,r);this.cleanup=()=>{h(),c.destroy()}}};wt(tt,"observedAttributes",["name","size","color","variant","badge-color","trigger","label","icon-style","stroke-width"]);typeof customElements<"u"&&!customElements.get("kubai-icon")&&customElements.define("kubai-icon",tt);var un=2.2,fn=1.2,hn=608,f=t=>+t.toFixed(3),pn=t=>Math.max(0,Math.min(1,t)),dn='class="ol" data-t="stroke:#5393FF"',mn='class="ln" data-t="stroke:#D3E2FC"',gn='class="ln" data-t="stroke:#5393FF"',$n='data-t="fill:#2F6FE0"',xn='data-t="stroke:#2F6FE0"',yn='data-t="fill:#89B5FF"',kn='data-t="stroke:#89B5FF"',Mn='fill="#fff" data-w="fill"',bn='stroke="#fff" data-w="stroke"',je=(t,e,n,o)=>[[t,e],[t+n,e],[t+n,e+o],[t,e+o]];function et(t,e,n){let o=t.length,r="";for(let i=0;i<o;i++){let s=t[i],a=t[(i+o-1)%o],c=t[(i+1)%o],l=Array.isArray(e)?e[i]:e,h=Math.hypot(a[0]-s[0],a[1]-s[1])||1e-6,m=Math.hypot(c[0]-s[0],c[1]-s[1])||1e-6,y=n?1:.5,p=Math.min(l,h*y)/h,d=Math.min(l,m*y)/m;r+=(i?"L":"M")+f(s[0]+(a[0]-s[0])*p)+" "+f(s[1]+(a[1]-s[1])*p)+"Q"+f(s[0])+" "+f(s[1])+" "+f(s[0]+(c[0]-s[0])*d)+" "+f(s[1]+(c[1]-s[1])*d)}return r+"Z"}var Vt=(t,e,n,o,r)=>et(je(t,e,n,o),r),wn=(t,e,n)=>`M${f(t-n)} ${f(e)}A${f(n)} ${f(n)} 0 1 0 ${f(t+n)} ${f(e)}A${f(n)} ${f(n)} 0 1 0 ${f(t-n)} ${f(e)}Z`,An=(t,e,n,o)=>`M${f(t-n)} ${f(e)}A${f(n)} ${f(o)} 0 1 0 ${f(t+n)} ${f(e)}A${f(n)} ${f(o)} 0 1 0 ${f(t-n)} ${f(e)}Z`,Sn=t=>"M"+t.map(e=>f(e[0])+" "+f(e[1])).join("L"),vn=(t,e,n)=>n.map((o,r)=>`M${f(t)} ${f(e+r*3)}H${f(t+o)}`).join("");function En(t,e,n=5){let o=[];for(let r=0;r<n*2;r++){let i=-Math.PI/2+r*Math.PI/n,s=r%2?e:t;o.push([Math.cos(i)*s,Math.sin(i)*s])}return et(o,.2)}function _n(t,e,n,o=15.5,r=12.5){let i=[],s=360/t,a=c=>c*Math.PI/180;for(let c=0;c<t;c++){let l=c*s;[[n,l-s*.3],[e,l-s*.17],[e,l+s*.17],[n,l+s*.3]].forEach(([h,m])=>{i.push([o+h*Math.sin(a(m)),r-h*Math.cos(a(m))])})}return et(i,.8)}function zt(t,e){let n=e[0]-t[0],o=e[1]-t[1],r=Math.hypot(n,o),i=(t[2]*t[2]-e[2]*e[2]+r*r)/(2*r),s=Math.sqrt(Math.max(0,t[2]*t[2]-i*i)),a=t[0]+n*i/r,c=t[1]+o*i/r,l=[a+s*o/r,c-s*n/r],h=[a-s*o/r,c+s*n/r];return l[1]<h[1]?l:h}function xt(t,e,n){let o=Math.atan2(n[1]-t[1],n[0]-t[0])-Math.atan2(e[1]-t[1],e[0]-t[0]);for(;o<0;)o+=Math.PI*2;return`A${f(t[2])} ${f(t[2])} 0 ${o>Math.PI?1:0} 1 ${f(n[0])} ${f(n[1])}`}function In(t,e,n){let o=[t[0],t[1]+t[2]],r=zt(t,e),i=zt(e,n),s=[n[0],n[1]+n[2]];return`M${f(o[0])} ${f(o[1])}${xt(t,o,r)}${xt(e,r,i)}${xt(n,i,s)}Z`}function Tn(t,e,n,o){let r=t[0]-Math.sqrt(t[2]**2-(n-t[1])**2),i=e[0]+Math.sqrt(e[2]**2-(n-e[1])**2),s=Math.atan2(n-t[1],r-t[0])-o/t[2],a=Math.atan2(n-e[1],i-e[0])+o/e[2],c=[t[0]+t[2]*Math.cos(s),t[1]+t[2]*Math.sin(s)],l=[e[0]+e[2]*Math.cos(a),e[1]+e[2]*Math.sin(a)];return`M${f(r+o)} ${f(n)}Q${f(r)} ${f(n)} ${f(c[0])} ${f(c[1])}A${f(t[2])} ${f(t[2])} 0 0 0 ${f(t[0])} ${f(t[1]+t[2])}L${f(e[0])} ${f(e[1]+e[2])}A${f(e[2])} ${f(e[2])} 0 0 0 ${f(l[0])} ${f(l[1])}Q${f(i)} ${f(n)} ${f(i-o)} ${f(n)}Z`}function Cn(t,e,n,o=15.5,r=12.5){let i=c=>[o+n*Math.sin(c*Math.PI/180),r-n*Math.cos(c*Math.PI/180)],s=i(t),a=i(t+e);return`M${f(o)} ${f(r)}L${f(s[0])} ${f(s[1])}A${n} ${n} 0 ${e>180?1:0} 1 ${f(a[0])} ${f(a[1])}Z`}var Fn=(t,e,n)=>Vt(-t/2,-e/2,t,e,e/2)+Vt(-t/2+n,-e/2+n,t-2*n,e-2*n,(e-2*n)/2);function On(t,e,n,o=2.5,r=3){let i=p=>p*Math.PI/180,s=p=>[n*Math.cos(i(p)),n*Math.sin(i(p))],a=s(t),c=s(e),l=[-Math.sin(i(e)),Math.cos(i(e))],h=[Math.cos(i(e)),Math.sin(i(e))],m=[c[0]+l[0]*r,c[1]+l[1]*r],y=et([[c[0]+h[0]*o,c[1]+h[1]*o],m,[c[0]-h[0]*o,c[1]-h[1]*o]],.5);return{arc:`M${f(a[0])} ${f(a[1])}A${n} ${n} 0 ${Math.abs(e-t)>180?1:0} 1 ${f(c[0])} ${f(c[1])}`,head:y}}function Ln(t,e,n,o,r=3.4,i=2.9){let s=Math.hypot(n-t,o-e)||1e-6,a=(n-t)/s,c=(o-e)/s,l=n-a*r,h=o-c*r,m=et([[l-c*i,h+a*i],[n,o],[l+c*i,h-a*i]],[.5,.6,.5]);return{shaft:`M${f(t)} ${f(e)}L${f(l+a*.6)} ${f(h+c*.6)}`,head:m}}var jn=(t,e)=>{if(t)for(let n in e)t.setAttribute(n,e[n])},Pn=(t,e,n,o=t)=>`translate(${f(e)} ${f(n)}) scale(${f(t)} ${f(o)}) translate(${f(-e)} ${f(-n)})`;function Wt(t,e){let n=globalThis[J];if(!n)return e(rt(t));if(n.out){let o=1-n.e;return e(o>1e-4?rt(Math.min(1,t/o)):1)*o+e(0)*n.e}return e(rt(t>n.e+.001?n.e:t))}var Pe=.75,Ne=3,Nn=(t,e,n=3)=>Wt(t,o=>e*Pe*(1-o)*Math.sin(Math.min(n,Ne)*Math.PI*o*o*(3-2*o))),Be=t=>{if(t<=.5)return t;let e=Math.min(t,1)-.5;return .5+e+2*e*e-4*e*e*e},Bn=t=>Wt(t,e=>Math.sin(Math.PI*Be(e)));function Dn(t){return t}function Un(t){return t}var De=[22.6,18.4],Ue="#33363D",Zt=6.4;function qe(t,e,n={}){let[o,r]=t.badgeAt||De;return{...n,name:`${t.name}-${e.name}`,base:t.name,badge:e.name,tone:e.tone,tap:t.tap,svg:i=>{let s=i.id("kbk");return`<mask id="${s}" 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="${o}" cy="${r}" r="${Zt}" fill="#000"/></mask><g mask="url(#${s})">${t.svg(i)}</g><g data-badge="${Ue}" transform="translate(${o} ${r})">${e.svg(i)}</g>`},target:(i,s)=>({...t.target(i,s),kb:e.target(i,s)}),draw(i,s,a){t.draw(i,s,a),e.draw(i.kb,s,a),s.kbK&&s.kbK.setAttribute("r",f(Zt*(i.kb.s||1)))}}}function Re(t,e,n={}){return{...n,name:`${t.name}-off`,base:t.name,badge:"off",svg:o=>`${t.svg(o)}${e.svg(o)}`,target:(o,r)=>({...t.target(!1,r),kb:e.target(o,r)}),draw(o,r,i){t.draw(o,r,i),e.draw(o.kb,r,i)}}}export{gn as ACC,hn as CLOCK_MINUTES,fn as CR,$n as DEEP,xn as DEEPS,un as KR,tt as KubaiIconElement,mn as LINE,dn as OL,je as R,yn as SOFT,kn as SOFTS,Mn as WHITE,bn as WHITES,xt as arc,On as arcArrow,Ln as arrow,jn as at,Bn as bump,Fn as capsuleRing,wn as circ,pn as clamp01,In as cloud,zt as cross,Un as defineBadge,Dn as defineIcon,ke as duo,An as ellipse,f,Tn as frontPiece,_n as gear,pe as icon,ue as line,vn as lines,Sn as poly,Nn as rattle,et as rp,Vt as rr,Pn as scaleAt,Cn as sector,Be as settle,En as star,Wt as wave,qe as withBadge,Re as withSlash};
|
|
1
|
+
var Qt=Object.defineProperty;var Xt=(t,e,n)=>e in t?Qt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var wt=(t,e,n)=>Xt(t,typeof e!="symbol"?e+"":e,n);var At={color:{"--ki-c":"initial","--ki-e":"initial","--ki-w":"initial","--ki-l":"initial"},soft:{"--ki-c":"color-mix(in srgb,currentColor 90%,#fff)","--ki-e":"color-mix(in srgb,currentColor 84%,#000)","--ki-w":"color-mix(in srgb,currentColor 65%,#000)","--ki-l":"72%"}};var V=Math.PI*2,N=(t,e=0,n=1)=>Math.min(n,Math.max(e,t)),L=t=>+t.toFixed(3);function it(t,e=1.8,n=.42){if(t<=0)return 0;let o=V*e,r=o*Math.sqrt(1-n*n),i=Math.atan(r/(n*o))/r,s=Math.exp(-n*o*i)*Math.sin(r*i);return Math.exp(-n*o*t)*Math.sin(r*t)/s}function at(t,e=2.2,n=.55){if(t<=0)return 1;let o=V*e,r=o*Math.sqrt(1-n*n);return Math.exp(-n*o*t)*(Math.cos(r*t)+n*o/r*Math.sin(r*t))}var nt=t=>1-Math.pow(1-N(t),3),Y=t=>(t=N(t),t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2);function Jt(t,e=1,n=1,o=12,r=12){let i=t.match(/[a-z]|-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi)||[],s={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},a=(y,p)=>L(p?y*e:o+(y-o)*e),c=(y,p)=>L(p?y*n:r+(y-r)*n),l="",h="",m=0;for(;m<i.length;){if(/[a-z]/i.test(i[m])&&(h=i[m++],l+=h,!s[h.toLowerCase()]))continue;let y=h.toLowerCase(),p=h!==h.toUpperCase(),d=i.slice(m,m+s[y]).map(Number);m+=s[y];let k;y==="h"?k=[a(d[0],p)]:y==="v"?k=[c(d[0],p)]:y==="a"?k=[L(Math.abs(d[0]*e)),L(Math.abs(d[1]*n)),d[2],d[3],e*n<0?1-d[4]:d[4],a(d[5],p),c(d[6],p)]:k=d.map((A,M)=>M%2?c(A,p):a(A,p)),l+=(/[a-z]$/i.test(l)?"":" ")+k.join(" ")}return l}var ct={x:0,y:0,r:0,s:1,sx:1,sy:1,gx:1,gy:1,a:1,w:1},St=150,lt=.42,te={bounce:{len:(t,e)=>720+(t.by?(e-1)*(t.stagger??90):0),pose(t,e,n){let o=(e-(t.by?n*(t.stagger??90):0))/1e3,r=t.amp??1.6,i=it(o-.07,1.9,.45),s=o>0&&o<.07?Math.sin(Math.PI*o/.07):0,a=it(o-.07,3.8,.5);return{y:t.dir==="down"?r*i:-r*Math.max(i,-.35),sy:1-.07*s+.03*Math.max(a,-.6),sx:1+.04*s}}},beat:{len:()=>760,pose(t,e){let n=r=>{let i=(e-r)/200;return i>0&&i<1?Math.sin(Math.PI*i)**2:0},o=it((e-420)/1e3,3,.5);return{s:1+(t.amp??.12)*n(0)+(t.amp??.12)*.7*n(240)+.015*Math.max(0,o)}}},wiggle:{len:t=>1e3+(t.delay??0),pose(t,e){let n=(e-(t.delay??0))/1e3;if(n<=0)return{};let o=t.hz??3,r=Math.exp(-n*3.6)*N(n/.05);return{r:(t.deg??10)*r*Math.sin(V*o*n)}}},shake:{len:t=>t.ms??520,pose(t,e){let n=t.ms??520,o=e/n;return{x:(t.x??.7)*Math.sin(V*7*o)*Math.sin(Math.PI*N(o))}}},rotate:{len:t=>Math.abs(t.deg??360)>=180?1050:820,pose(t,e){let n=e/1e3,o=t.deg??360,r=Math.abs(o)>=180,i=r?1050:820,s={r:o*(1-at(n,r?1.25:1.9,r?.62:.5))};return t.dip&&(s.s=1-t.dip*N(e/50)*N((i-e)/260)),s}},flip:{len:t=>820*(t.turns??1),pose(t,e){let n=820*(t.turns??1);return{sx:Math.cos(V*(t.turns??1)*Y(e/n))}}},orbit:{len:t=>700*(t.turns??1),pose(t,e){let n=700*(t.turns??1),o=V*(t.turns??1)*Y(e/n),r=t.R??.9;return{x:r*Math.sin(o),y:r*(Math.cos(o)-1)*.9}}},draw:{len:(t,e)=>380+(e-1)*(t.stagger??150)+40,pose(t,e,n){let o=(e-n*(t.stagger??150))/380;return{w:nt(o)}}},variable:{loop:!0,len:(t,e)=>120+e*(t.step??160)+460,pose(t,e,n,o){let r=t.step??160,i=120+o*r+460,s=e%i,a=.25,c=y=>N(y/120);if(s<120)return{a:1-(1-a)*c(s)};let l=s-120-n*r;if(t.mode!=="iterative")return{a:l<0?a:a+(1-a)*c(l)};let h=l<0?0:l<r*1.5?c(l):1-c(l-r*1.5),m=i-140;return{a:a+(1-a)*Math.max(h,s>m?c(s-m):0)}}},from:{len:(t,e)=>760+(t.delay??0)+(t.by?(e-1)*(t.stagger??80):0),pose(t,e,n){let o=(e-(t.delay??0)-(t.by?n*(t.stagger??80):0))/1e3,r=at(Math.max(o,0),t.hz??2.2,t.z??.55),i={};for(let s of["x","y","r","s","sx","sy","gx","gy"])t[s]!=null&&(i[s]=ct[s]+(t[s]-ct[s])*r);return t.a!=null&&(i.a=t.a+(1-t.a)*nt(o/.18)),i}},keys:{len(t){return t.ms?t.ms+lt*1e3:190+(Math.max(1,...["x","y","r","s","sx","sy","gx","gy","a"].map(n=>Array.isArray(t[n])?t[n].length:0))-1)*St+lt*1e3+(t.by?70:0)},pose(t,e,n){let o=["x","y","r","s","sx","sy","gx","gy","a"].filter(a=>t[a]!=null),r=Math.max(1,...o.map(a=>[].concat(t[a]).length));e-=t.by?n*(t.stagger??70):0;let i={},s=t.ms?t.ms:190+(r-1)*St;for(let a of o){let c=[].concat(t[a]),l=ct[a],h=a==="a"&&t.ghost?0:l,m=[h,...c],y=c[c.length-1];if(e<=0){i[a]=h;continue}if(e<s){let p=s/c.length,d=E=>Math.sign(m[E+1]-m[E]),k=Math.min(c.length-1,Math.floor(e/p)),A=k+1,M=d(k);if(M){for(;k>0&&d(k-1)===M;)k--;for(;A<c.length&&d(A)===M;)A++}let S=(e-k*p)/((A-k)*p);i[a]=m[k]+(m[A]-m[k])*(k===0?nt(S):Y(S))}else i[a]=a==="a"?y+(h-y)*nt((e-s)/(lt*600)):l+(y-l)*at((e-s)/1e3)}return i}},turn:{loop:!0,len:t=>t.ms??1100,pose(t,e,n){let o=t.ms??1100,r=Math.PI/180,i=t.at[n],s=i+t.step*(e%o/o),[a,c]=t.edge??[70,90],l=Math.abs((s+540)%360-180);return{gx:Math.sin(s*r)/Math.sin(i*r),a:1-N((l-a)/(c-a))}}},leaf:{len:(t,e)=>(t.ms??560)+(e-1)*(t.stagger??200),pose(t,e,n){let o=(e-n*(t.stagger??200))/(t.ms??560);return o<=0||o>=1?{a:0}:{[t.axis==="y"?"gy":"gx"]:Math.cos(Math.PI*Y(o)),a:1}}},scan:{len:t=>2*(t.ms??460)+(t.hold??200)+120,pose(t,e,n){let o=t.ms??460,r=t.hold??200,i=90,s=t.axis==="y",a=(s?t.y0:t.x0)??3,c=(s?t.y1:t.x1)??21,l=e>=o+r,h=l?(e-o-r)/o:e/o,m=e<o?c+(a-c)*Y(h):l?a+(c-a)*Y(h):a;if(n>0)return s?{clipY:m}:{clip:m};let y=l?N((e-o-r)/i)*(1-N((e-2*o-r)/120)):N(e/60)*(1-N((e-o+i)/i));return{[s?"y":"x"]:m-12,a:y}}}},ee=(t,e)=>({x:(t.x??0)+(e.x??0),y:(t.y??0)+(e.y??0),r:(t.r??0)+(e.r??0),s:(t.s??1)*(e.s??1),sx:(t.sx??1)*(e.sx??1),sy:(t.sy??1)*(e.sy??1),a:t.a==null?e.a:e.a==null?t.a:t.a*e.a,w:t.w==null?e.w:e.w==null?t.w:Math.min(t.w,e.w),gx:t.gx==null?e.gx:e.gx==null?t.gx:t.gx*e.gx,gy:t.gy==null?e.gy:e.gy==null?t.gy:t.gy*e.gy,clip:t.clip==null?e.clip:e.clip==null?t.clip:Math.min(t.clip,e.clip),clipY:t.clipY==null?e.clipY:e.clipY==null?t.clipY:Math.min(t.clipY,e.clipY),o:e.o??t.o});function ne(t){let[e,n]=t.o||[12,12],o=t.s??1,r=o*(t.sx??1),i=o*(t.sy??1);return`translate(${L((t.x??0)+e)} ${L((t.y??0)+n)}) rotate(${L(t.r??0)}) scale(${L(r)} ${L(i)}) translate(${-e} ${-n})`}function oe(t){if(t.on==="all"||!t.on)return[["all"]];let e=t.on.map(n=>[].concat(n));return t.by||["draw","variable","turn","leaf","scan"].includes(t.t)?e:[e.flat()]}function vt(t,e){let n=[].concat(e||[]),o=globalThis.requestAnimationFrame||(b=>setTimeout(()=>b(performance.now()),16)),r=globalThis.cancelAnimationFrame||clearTimeout,i=t.getAttribute("data-variant")==="fill",s=!1;try{s=matchMedia("(prefers-reduced-motion: reduce)").matches}catch{}let a=b=>[...t.querySelectorAll(`[data-l="${b}"]`)],c=b=>b.tagName==="path"?[b]:[...b.querySelectorAll("path")],l=b=>{let u={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},$=1/0,w=1/0,x=-1/0,g=-1/0,v=(T,_)=>{T<$&&($=T),T>x&&(x=T),_<w&&(w=_),_>g&&(g=_)};for(let T of c(b)){let _=(T.getAttribute("d")||"").match(/[a-z]|-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?/gi)||[],I="",F=0,O=0,P=0,yt=0,kt=0;for(;F<_.length;){if(/[a-z]/i.test(_[F])&&(I=_[F++],I.toLowerCase()==="z")){O=yt,P=kt;continue}let Q=I.toLowerCase(),R=I!==I.toUpperCase(),X=u[Q];if(!X)break;let D=_.slice(F,F+X).map(Number);if(F+=X,Q==="h")O=R?O+D[0]:D[0],v(O,P);else if(Q==="v")P=R?P+D[0]:D[0],v(O,P);else if(Q==="a")O=R?O+D[5]:D[5],P=R?P+D[6]:D[6],v(O,P);else{for(let H=0;H<X;H+=2){let Mt=R?O+D[H]:D[H],bt=R?P+D[H+1]:D[H+1];v(Mt,bt),H===X-2&&(O=Mt,P=bt)}Q==="m"&&(yt=O,kt=P,I=R?"l":"L")}}}return $<=x?[L(($+x)/2),L((w+g)/2)]:[12,12]},h=b=>{let u=a(b),$=u.find(g=>!g.closest("mask"));if($&&$.getBBox)try{let g=$.getBBox();if(g.width||g.height)return[g.x+g.width/2,g.y+g.height/2]}catch{}let w=u.find(g=>g.closest("mask")),x=$||w;return x?l(x):[12,12]},m=n.map(b=>{let u=i&&b.fill?{...b,...b.fill}:b,$=oe(u),w=te[u.t];if(!w)throw new Error(`Unknown effect ${u.t}`);return{spec:u,gs:$,E:w,len:w.len(u,$.length),o:u.oBadge?h($[0][0]):u.o}}),y=[...new Set(m.flatMap(b=>b.gs.flat()))],p=Object.fromEntries(y.map(b=>[b,a(b)])),d=Object.fromEntries(y.map(b=>[b,p[b].some(u=>u.getAttribute("opacity")==="0")])),k=m.some(b=>b.E.loop),A=Math.max(...m.map(b=>b.len)),M=new Map,S=null,E=(b,u)=>{if(!S){let $="http://www.w3.org/2000/svg",w=t.ownerDocument,x=w.createElementNS($,"clipPath");x.setAttribute("id",`kl-clip-${Math.random().toString(36).slice(2,10)}`),x.setAttribute("clipPathUnits","userSpaceOnUse"),S=w.createElementNS($,"rect");for(let[v,T]of[["x",-6],["y",-6]])S.setAttribute(v,T);x.appendChild(S);let g=t.querySelector("defs");g||(g=w.createElementNS($,"defs"),t.insertBefore(g,t.firstChild)),g.appendChild(x)}return S.setAttribute("width",b==null?36:L(Math.max(0,b+6))),S.setAttribute("height",u==null?36:L(Math.max(0,u+6))),S.parentNode.getAttribute("id")};function C(b,u){let $={};for(let w of m)w.gs.forEach((x,g)=>{let v=u?{}:w.E.pose(w.spec,b,g,w.gs.length)||{};v.w!=null&&i&&(v={a:v.w,s:.7+.3*v.w});for(let T of x)$[T]=ee($[T]||{},{...v,o:w.o})});for(let w of y){let x=$[w]||{};for(let g of p[w]){g.setAttribute("transform",ne(x)),x.a!=null||d[w]?g.setAttribute("opacity",L(N(x.a??0))):g.removeAttribute("opacity"),x.w!=null&&!i?(g.setAttribute("stroke-dasharray",`${L(N(x.w))} 2`),g.setAttribute("stroke-opacity",x.w<.01?0:1)):(g.removeAttribute("stroke-dasharray"),g.removeAttribute("stroke-opacity"));let v=x.gx??1,T=x.gy??1,_=Math.abs(v-1)>1e-6||Math.abs(T-1)>1e-6;if(_||M.size)for(let I of c(g)){if(!_&&!M.has(I))continue;M.has(I)||M.set(I,I.getAttribute("d"));let[F,O]=x.o||[12,12],P=_?Jt(M.get(I),v,T,F,O):M.get(I);I.getAttribute("d")!==P&&I.setAttribute("d",P)}x.clip!=null||x.clipY!=null?g.setAttribute("clip-path",`url(#${E(x.clip,x.clipY)})`):g.removeAttribute("clip-path")}}}let j=0,U=0,q=!1,B=!1,K=()=>{r(j),q=!1,C(0,!0)},G=b=>{let u=b-U;if(k){let $=A;if(!B&&u>=Math.ceil(Math.max(u,1)/$)*$-16){K();return}C(u,!1)}else{if(u>=A){K();return}C(u,!1)}j=o(G)};return{play(){s||!m.length||q&&k||(r(j),q=!0,U=performance.now(),j=o(G))},hover(b){B=!!b,B&&this.play()},at(b){b>=A&&!k?C(0,!0):C(b,!1)},rest:K,get length(){return A},get loops(){return k}}}var re="0 0 24 24",se=["outline","line-duo","fill","solid-tint"],ut={min:.25,max:3,step:.25,regular:2},z=t=>+(+t).toFixed(3),ie=t=>z(.5*t+.75),Et="var(--kl-bg, #FFFFFF)",ae=`var(--kl-light, color-mix(in srgb, currentColor 42%, ${Et}))`,ce=`var(--kl-fill, color-mix(in srgb, currentColor 20%, ${Et}))`;function le(t){let e=Number(t);return Number.isFinite(e)&&e>0?z(e):ut.regular}var ft=t=>se.includes(t)?t:"outline";function _t(t,{s:e=ut.regular,variant:n="outline",colors:o}={}){e=le(e),n=ft(n);let i=Object.keys(t.w).map(Number).reduce((u,$)=>Math.abs($-e)<Math.abs(u-e)?$:u),s=t.w[String(i)],a=n==="fill",c=n==="solid-tint",l=n==="line-duo",h=a?s.f:s.o,m=o?.dark??"currentColor",y=o?.light??ae,p=o?.fill??ce,d=u=>{let $=l&&u.lit?y:m;return u.key!=="badge"?$:o?o.badge??$:`var(--ki-b, ${$})`},k={};for(let u of h)/^\d+$/.test(u.key)||(k[u.key]=u);let A=(u,$)=>{if(!a)return null;let w=0,x=u;for(;x&&x.on&&w<8;)if(w++,x=k[x.on],x===$)return w;return null},M=u=>u.k==="solid"||u.k==="shell"&&a,S=(u,$,w=0,x=M(u))=>{let g=u.tf?` transform="${u.tf}"`:"",v=z((e+w)/(u.sc??1)),T=u.cap==="butt"&&!w?"butt":"round";if(!x)return`<path d="${u.d}" fill="none" stroke="${$}" stroke-width="${v}" stroke-linecap="${T}" stroke-linejoin="round" pathLength="1"${g}/>`;if(u.k==="solid"&&!w)return`<path d="${u.d}" fill="${$}"${g}/>`;let _=u.k==="solid"?z(w/(u.sc??1)):v;return`<path d="${u.d}" fill="${$}" stroke="${$}" stroke-width="${_}" stroke-linejoin="round" pathLength="1"${g}/>`},E=(u,$)=>`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}>${$}</g>`,C='maskUnits="userSpaceOnUse" x="-6" y="-6" width="36" height="36"><rect x="-6" y="-6" width="36" height="36" fill="#fff"/>',j={};for(let u of h)j[u.key]=u;let U=(u,$)=>{let w=h[u],x=[];return h.forEach((g,v)=>{v<=u||g.part===w.part||A(g,w)||(g.cutD?x.push(E(g,`<path d="${g.cutD}" fill="${$}"${g.tf?` transform="${g.tf}"`:""}/>`)):g.cut?x.push(E(g,`<path d="${g.cut.d}" fill="none" stroke="${$}" stroke-width="${z(g.cut.w)}" stroke-linecap="round" pathLength="1"/>`)):(g.gap||g.occ)&&x.push(E(g,S(g,$,2*ie(e),g.occ?!0:M(g)))))}),x},q=([u,$,w])=>{let x=j[u],g=x.tf?` transform="${x.tf}"`:"";if($==="strip")return E(x,`<path d="${w}" fill="#000"${g}/>`)+U(h.indexOf(x),"#fff").join("");let v=$==="in"?x.d:$==="out"?`M-12 -12H36V36H-12Z${x.d}`:w;return E(x,`<path d="${x.d}" fill="none" stroke="#000" stroke-width="${z((2*e+.5)/(x.sc??1))}" stroke-linecap="round" stroke-linejoin="round"${g}/>`)+E(x,`<path d="${v}" fill="#fff" fill-rule="evenodd"${g}/>`)+U(h.indexOf(x),"#fff").join("")},B=[],K=[],G=[],b=[];if(h.forEach((u,$)=>{let w=d(u),x=a&&u.on?k[u.on]:null,g=x&&d(x)===w,v=[];if(h.forEach((_,I)=>{if(I<=$)return;let F=A(_,u);F&&v.push(E(_,S(_,F%2?"#000":"#fff")))}),v.push(...U($,"#000")),g)return;if(c&&u.tint){let _=h.filter((F,O)=>O>$&&F.on===u.key&&F.k!=="line").map(F=>E(F,S(F,"#000",0,!0))),I=`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}><path d="${u.d}" fill="${p}"${u.tf?` transform="${u.tf}"`:""}/></g>`;(v.length||_.length)&&(B.push(`<mask id="__K__-t${$}" ${C}${v.join("")}${_.join("")}</mask>`),I=`<g mask="url(#__K__-t${$})">${I}</g>`),G.push(I)}let T=`<g data-l="${u.key}"${u.ghost?' opacity="0"':""}${u.vc!=null?` data-vc="${u.vc}"`:""}>${S(u,w)}</g>`;v.length&&(B.push(`<mask id="__K__-m${$}" ${C}${v.join("")}</mask>`),T=`<g mask="url(#__K__-m${$})">${T}</g>`),l&&u.lit&&u.clip&&u.clip.forEach((_,I)=>{B.push(`<mask id="__K__-c${$}-${I}" ${C}${q(_)}</mask>`),T=`<g mask="url(#__K__-c${$}-${I})">${T}</g>`}),(l&&u.lit?b:K).push(T)}),c)for(let u of[...s.x||[],...s.a||[]])G.push(`<g data-l="${u.key}"><path d="${u.d}" fill="${p}"${u.tf?` transform="${u.tf}"`:""}/></g>`);return(B.length?`<defs>${B.join("")}</defs>`:"")+`<g data-l="all">${G.join("")}${b.join("")}${K.join("")}</g>`}var ue=(t,e)=>({name:t,viewBox:re,style:"line",line:e,markup:_t(e),tap:!1,...e.tone?{tone:e.tone}:{}}),It=(t,{strokeWidth:e,variant:n}={})=>e==null&&(n==null||ft(n)==="outline")?t.markup:_t(t.line,{s:e??ut.regular,variant:n});function Tt(t,e,{variant:n}={}){t.setAttribute("data-variant",ft(n));let o=vt(t,e.line.fx),r=!1;return{hover(i){let s=!!i;s!==r&&(r=s,o.hover(s))},state(){},get hovered(){return r},get active(){return!1},svg:t,destroy(){o.hover(!1),o.rest()}}}var fe="0 -3 31 31",he=/__K__/g,pe=(t,e,n,o,r,i)=>({name:t,markup:e,target:n,draw:o,tap:!!r,...i?{tone:i}:{}}),de=(t,e)=>{let n=e==="semantic"?t.tone:e;return n?{"--ki-b":n}:{}},ht=Symbol.for("kubai-icons.uid"),me=typeof document>"u"?"s":"",ge=()=>(globalThis[ht]=(globalThis[ht]||0)+1,`ki${me}${globalThis[ht].toString(36)}`),Ct=t=>String(t).replace(/&/g,"&").replace(/</g,"<").replace(/"/g,"""),$e=t=>Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";");function Ft(t,{size:e=24,color:n,variant:o,badgeColor:r,strokeWidth:i,title:s,className:a,id:c=ge(),attrs:l={}}={}){let h=t.style==="line",y={...t.style==="duotone"||h?{}:At[o]||{},...n?{color:n}:{},...de(t,r)},p={xmlns:"http://www.w3.org/2000/svg",viewBox:t.viewBox||fe,width:e,height:e,fill:"none",overflow:"visible",class:["kubai-icon",t.style==="duotone"&&"kubai-duotone",h&&"kubai-line",`kubai-icon-${t.name}`,a].filter(Boolean).join(" "),...s?{role:"img"}:{"aria-hidden":"true"},...Object.keys(y).length?{style:$e(y)}:{},...l},d=Object.entries(p).map(([A,M])=>` ${A}="${Ct(M)}"`).join(""),k=h?It(t,{strokeWidth:i,variant:o}):t.markup;return`<svg${d}>${s?`<title>${Ct(s)}</title>`:""}${k.replace(he,c)}</svg>`}function xe(t,e,n,o){let r=3*t,i=3*(n-t)-r,s=1-r-i,a=3*e,c=3*(o-e)-a,l=1-a-c,h=p=>((s*p+i)*p+r)*p,m=p=>((l*p+c)*p+a)*p,y=p=>(3*s*p+2*i)*p+r;return p=>{if(p<=0)return 0;if(p>=1)return 1;let d=p;for(let k=0;k<8;k++){let A=h(d)-p;if(Math.abs(A)<1e-5)break;let M=y(d);if(Math.abs(M)<1e-6)break;d-=A/M}return m(d)}}var pt=xe(.22,1,.36,1),dt=460;function ot(t,e,n){if(typeof e=="number")return typeof t=="number"?t+(e-t)*n:e;if(Array.isArray(e))return e.map((o,r)=>ot(t?t[r]:o,o,n));if(e&&typeof e=="object"){let o={};for(let r in e)o[r]=ot(t?t[r]:void 0,e[r],n);return o}return e}var W;function rt(t){if(t<=0)return 0;if(t>=1)return 1;W=W||Array.from({length:129},(o,r)=>pt(r/128));let e=0,n=128;for(;n-e>1;){let o=e+n>>1;W[o]<t?e=o:n=o}return(e+(t-W[e])/(W[n]-W[e]))/128}var J=Symbol.for("kubai-icons.phase");var ye="0 0 16 16";var Z=t=>+t.toFixed(3);var ke=(t,e,n,o,r)=>({name:t,markup:e,viewBox:ye,style:"duotone",moves:n,...o?{ms:o}:{},...r?{tone:r}:{},tap:!1}),Me=480,be=110,we=360;function Bt(t,e,n,o){let r=3*t,i=3*(n-t)-r,s=1-r-i,a=3*e,c=3*(o-e)-a,l=1-a-c,h=p=>((s*p+i)*p+r)*p,m=p=>((l*p+c)*p+a)*p,y=p=>(3*s*p+2*i)*p+r;return p=>{if(p<=0)return 0;if(p>=1)return 1;let d=p;for(let k=0;k<8;k++){let A=h(d)-p;if(Math.abs(A)<1e-5)break;let M=y(d);if(Math.abs(M)<1e-6)break;d-=A/M}return m(d)}}var Ae=Bt(.34,1.56,.64,1),Se=Bt(.33,1,.68,1),gt={x:0,y:0,r:0,s:1,sx:1,sy:1,a:1,w:1},Dt=Object.keys(gt),ve=t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,Ut=t=>({...gt,...t.rest||{}});function Ee(t,e,n,o){let r=[t,...Array.isArray(e)?e:[e]],i=r.length-1;if(i===1)return t+(r[1]-t)*o(n);let s=Math.min(i-1e-9,Math.max(0,n*i)),a=y=>Math.sign(r[y+1]-r[y]),c=Math.floor(s),l=c+1,h=a(c);if(h){for(;c>0&&a(c-1)===h;)c--;for(;l<i&&a(l)===h;)l++}let m=(s-c)/(l-c);return r[c]+(r[l]-r[c])*(l===i?o(m):ve(m))}var _e=t=>Math.max(1,...Dt.filter(e=>Array.isArray(t[e])).map(e=>t[e].length)),Ie=t=>t.ms??Me+be*(Math.max(1,...Object.values(t.moves||{}).map(_e))-1);function Ot(t,e,n,o){let r=Ut(t),i={};for(let s of Dt)(s in t||t.rest&&s in t.rest)&&(i[s]=Ee((n||r)[s]??r[s],o&&s in t?t[s]:r[s],e,o?Ae:Se));return i}var Lt=t=>Z(Math.min(1,Math.max(0,t)));function Te(t,e){let n=s=>s in e?e[s]:gt[s],[o,r]=t.o||[8,8],i=n("s");return`translate(${Z(n("x")+o)} ${Z(n("y")+r)}) rotate(${Z(n("r"))}) scale(${Z(i*n("sx"))} ${Z(i*n("sy"))}) translate(${-o} ${-r})`}var mt=null;try{mt=matchMedia("(prefers-reduced-motion: reduce)")}catch{}var Ce=()=>!!(mt&&mt.matches),jt=t=>typeof requestAnimationFrame=="function"?requestAnimationFrame(t):setTimeout(()=>t(Date.now()),16),Pt=t=>typeof cancelAnimationFrame=="function"?cancelAnimationFrame(t):clearTimeout(t),Nt=()=>typeof performance<"u"?performance.now():Date.now();function qt(t,e){let n=Object.keys(e.moves||{}).map(l=>({p:e.moves[l],list:[...t.querySelectorAll(`[data-l="${l}"]`)],cur:Ut(e.moves[l])})),o=Ie(e),r=!1,i=0,s=!1,a=l=>{let h=Te(l.p,l.cur);for(let m of l.list)m.setAttribute("transform",h),("a"in l.p||l.p.rest?.a!==void 0)&&m.setAttribute("opacity",Lt(l.cur.a)),"w"in l.p&&(m.setAttribute("stroke-dasharray",`${Lt(l.cur.w)} 2`),m.setAttribute("stroke-opacity",l.cur.w<.01?0:1))};for(let l of n)l.p.rest&&a(l);let c=l=>{Pt(i);let h=n.map(d=>({...d.cur}));if(l||Ce()){n.forEach((d,k)=>{d.cur={...d.cur,...Ot(d.p,1,h[k],r)},a(d)});return}let m=r?o:we,y=Nt(),p=d=>{if(s)return;let k=Math.min(1,Math.max(0,((typeof d=="number"?d:Nt())-y)/m));n.forEach((A,M)=>{A.cur={...A.cur,...Ot(A.p,k,h[M],r)},a(A)}),k<1&&(i=jt(p))};i=jt(p)};return{hover(l,h){!!l!==r&&n.length&&(r=!!l,c(h))},state(){},get hovered(){return r},get active(){return!1},svg:t,destroy(){s=!0,Pt(i)}}}var $t=null;try{$t=matchMedia("(prefers-reduced-motion: reduce)")}catch{}var Fe=()=>!!($t&&$t.matches),Rt=typeof requestAnimationFrame=="function"?requestAnimationFrame:t=>setTimeout(()=>t(Date.now()),16),Ht=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:clearTimeout,Kt=()=>typeof performance<"u"?performance.now():Date.now();function Gt(t,e,{state:n={},variant:o}={}){if(e.style==="duotone")return qt(t,e);if(e.style==="line")return Tt(t,e,{variant:o});let r={};for(let M of t.querySelectorAll("[data-n]"))r[M.getAttribute("data-n")]=M;let i=[];for(let M of t.querySelectorAll("[mask]")){let S=(M.getAttribute("mask").match(/url\(#([^)]+)\)/)||[])[1],E=S&&t.querySelector(`mask[id="${S}"] path`);E&&E.getAttribute("d")===M.getAttribute("d")&&i.push([M,E])}let s=[];for(let M of t.querySelectorAll("[data-under]")){let S=t.querySelector(`[data-over="${M.getAttribute("data-under")}"]`);S&&s.push([S,M])}let a=!1,c={...n},l=0,h=!1,m=e.target(!1,c),y=t.style,p=y?y.willChange:"",d=M=>{y&&(y.willChange=M?"transform":p)},k=M=>{globalThis[J]=M,e.draw(m,r,{}),globalThis[J]=void 0;for(let[S,E]of i){let C=S.getAttribute("d");C&&E.getAttribute("d")!==C&&E.setAttribute("d",C)}for(let[S,E]of s)for(let C of["d","transform"]){let j=S.getAttribute(C);j!==E.getAttribute(C)&&(j===null?E.removeAttribute(C):E.setAttribute(C,j))}},A=M=>{let S=e.target(a,c);if(Ht(l),M||Fe()){m=S,k(),d(!1);return}let E=m,C=Kt();d(!0);let j=U=>{if(h)return;let q=Math.min(1,Math.max(0,((typeof U=="number"?U:Kt())-C)/dt)),B=pt(q);m=ot(E,S,B),k({out:!a,e:B}),q<1?l=Rt(j):d(!1)};l=Rt(j)};return Object.keys(c).length&&A(!0),{hover(M,S){!!M!==a&&(a=!!M,A(S))},state(M,S){c={...c,...M},A(S)},get hovered(){return a},get active(){return!!c.active},svg:t,destroy(){h=!0,Ht(l),d(!1)}}}function Yt(t,e,n,o){let r=0,i=d=>{(!d.pointerType||d.pointerType==="mouse")&&(r++,e.hover(!0))},s=d=>{(!d.pointerType||d.pointerType==="mouse")&&(r=Math.max(0,r-1),r||e.hover(!1))},a=!1,m={pointerenter:i,pointerleave:s,focusin:d=>{let k=!0;try{k=d.target.matches(":focus-visible")}catch{}!k||a||(a=!0,r++,e.hover(!0))},focusout:()=>{a&&(a=!1,r=Math.max(0,r-1),r||e.hover(!1))},click:d=>{if(n.tap){let k=!e.active;o?o(k):e.state({active:k});return}d.pointerType&&d.pointerType!=="mouse"&&(e.hover(!0),setTimeout(()=>e.hover(!1),dt+240))}},y=()=>{for(let d in m)t.removeEventListener(d,p)},p=d=>{e.svg&&!e.svg.isConnected?y():m[d.type](d)};for(let d in m)t.addEventListener(d,p);return y}var st=new Map,Oe=(t,e)=>{if(!/^[a-z0-9-]+$/.test(t))return Promise.reject(new Error(`Bad icon name: ${t}`));let n=e==="duotone"?"./duotone/icons":e==="line"?"./line/icons":"./icons",o=`${n}/${t}`;return st.has(o)||st.set(o,import(new URL(`${o}.js`,import.meta.url).href).then(r=>r.default,r=>{throw st.delete(o),r})),st.get(o)},Le=typeof HTMLElement>"u"?class{}:HTMLElement,tt=class extends Le{connectedCallback(){this.render()}disconnectedCallback(){this.token=null,this.unbind()}attributeChangedCallback(){this.isConnected&&this.render()}unbind(){this.cleanup?.(),this.cleanup=null}async render(){let e=this.getAttribute("name"),n=this.token={},o=Number(this.getAttribute("size"))||24;this.style.display||(this.style.display="inline-block"),this.style.width=this.style.height=`${o}px`,this.style.lineHeight="0";let r=null;if(e)try{r=await Oe(e,this.getAttribute("icon-style"))}catch{}if(n!==this.token)return;if(this.unbind(),!r){this.textContent="";return}let i=this.getAttribute("variant")||void 0,s=this.getAttribute("stroke-width");this.innerHTML=Ft(r,{size:o,color:this.getAttribute("color")||void 0,variant:i,badgeColor:this.getAttribute("badge-color")||void 0,strokeWidth:s?Number(s):void 0,title:this.getAttribute("label")||void 0});let a=this.getAttribute("trigger")||"hover";if(a==="none")return;let c=Gt(this.firstElementChild,r,{variant:i}),l=a==="parent"?this.closest("[data-kubai-trigger]")||this.parentElement||this:this,h=Yt(l,c,r);this.cleanup=()=>{h(),c.destroy()}}};wt(tt,"observedAttributes",["name","size","color","variant","badge-color","trigger","label","icon-style","stroke-width"]);typeof customElements<"u"&&!customElements.get("kubai-icon")&&customElements.define("kubai-icon",tt);var un=2.2,fn=1.2,hn=608,f=t=>+t.toFixed(3),pn=t=>Math.max(0,Math.min(1,t)),dn='class="ol" data-t="stroke:#5393FF"',mn='class="ln" data-t="stroke:#D3E2FC"',gn='class="ln" data-t="stroke:#5393FF"',$n='data-t="fill:#2F6FE0"',xn='data-t="stroke:#2F6FE0"',yn='data-t="fill:#89B5FF"',kn='data-t="stroke:#89B5FF"',Mn='fill="#fff" data-w="fill"',bn='stroke="#fff" data-w="stroke"',je=(t,e,n,o)=>[[t,e],[t+n,e],[t+n,e+o],[t,e+o]];function et(t,e,n){let o=t.length,r="";for(let i=0;i<o;i++){let s=t[i],a=t[(i+o-1)%o],c=t[(i+1)%o],l=Array.isArray(e)?e[i]:e,h=Math.hypot(a[0]-s[0],a[1]-s[1])||1e-6,m=Math.hypot(c[0]-s[0],c[1]-s[1])||1e-6,y=n?1:.5,p=Math.min(l,h*y)/h,d=Math.min(l,m*y)/m;r+=(i?"L":"M")+f(s[0]+(a[0]-s[0])*p)+" "+f(s[1]+(a[1]-s[1])*p)+"Q"+f(s[0])+" "+f(s[1])+" "+f(s[0]+(c[0]-s[0])*d)+" "+f(s[1]+(c[1]-s[1])*d)}return r+"Z"}var Vt=(t,e,n,o,r)=>et(je(t,e,n,o),r),wn=(t,e,n)=>`M${f(t-n)} ${f(e)}A${f(n)} ${f(n)} 0 1 0 ${f(t+n)} ${f(e)}A${f(n)} ${f(n)} 0 1 0 ${f(t-n)} ${f(e)}Z`,An=(t,e,n,o)=>`M${f(t-n)} ${f(e)}A${f(n)} ${f(o)} 0 1 0 ${f(t+n)} ${f(e)}A${f(n)} ${f(o)} 0 1 0 ${f(t-n)} ${f(e)}Z`,Sn=t=>"M"+t.map(e=>f(e[0])+" "+f(e[1])).join("L"),vn=(t,e,n)=>n.map((o,r)=>`M${f(t)} ${f(e+r*3)}H${f(t+o)}`).join("");function En(t,e,n=5){let o=[];for(let r=0;r<n*2;r++){let i=-Math.PI/2+r*Math.PI/n,s=r%2?e:t;o.push([Math.cos(i)*s,Math.sin(i)*s])}return et(o,.2)}function _n(t,e,n,o=15.5,r=12.5){let i=[],s=360/t,a=c=>c*Math.PI/180;for(let c=0;c<t;c++){let l=c*s;[[n,l-s*.3],[e,l-s*.17],[e,l+s*.17],[n,l+s*.3]].forEach(([h,m])=>{i.push([o+h*Math.sin(a(m)),r-h*Math.cos(a(m))])})}return et(i,.8)}function zt(t,e){let n=e[0]-t[0],o=e[1]-t[1],r=Math.hypot(n,o),i=(t[2]*t[2]-e[2]*e[2]+r*r)/(2*r),s=Math.sqrt(Math.max(0,t[2]*t[2]-i*i)),a=t[0]+n*i/r,c=t[1]+o*i/r,l=[a+s*o/r,c-s*n/r],h=[a-s*o/r,c+s*n/r];return l[1]<h[1]?l:h}function xt(t,e,n){let o=Math.atan2(n[1]-t[1],n[0]-t[0])-Math.atan2(e[1]-t[1],e[0]-t[0]);for(;o<0;)o+=Math.PI*2;return`A${f(t[2])} ${f(t[2])} 0 ${o>Math.PI?1:0} 1 ${f(n[0])} ${f(n[1])}`}function In(t,e,n){let o=[t[0],t[1]+t[2]],r=zt(t,e),i=zt(e,n),s=[n[0],n[1]+n[2]];return`M${f(o[0])} ${f(o[1])}${xt(t,o,r)}${xt(e,r,i)}${xt(n,i,s)}Z`}function Tn(t,e,n,o){let r=t[0]-Math.sqrt(t[2]**2-(n-t[1])**2),i=e[0]+Math.sqrt(e[2]**2-(n-e[1])**2),s=Math.atan2(n-t[1],r-t[0])-o/t[2],a=Math.atan2(n-e[1],i-e[0])+o/e[2],c=[t[0]+t[2]*Math.cos(s),t[1]+t[2]*Math.sin(s)],l=[e[0]+e[2]*Math.cos(a),e[1]+e[2]*Math.sin(a)];return`M${f(r+o)} ${f(n)}Q${f(r)} ${f(n)} ${f(c[0])} ${f(c[1])}A${f(t[2])} ${f(t[2])} 0 0 0 ${f(t[0])} ${f(t[1]+t[2])}L${f(e[0])} ${f(e[1]+e[2])}A${f(e[2])} ${f(e[2])} 0 0 0 ${f(l[0])} ${f(l[1])}Q${f(i)} ${f(n)} ${f(i-o)} ${f(n)}Z`}function Cn(t,e,n,o=15.5,r=12.5){let i=c=>[o+n*Math.sin(c*Math.PI/180),r-n*Math.cos(c*Math.PI/180)],s=i(t),a=i(t+e);return`M${f(o)} ${f(r)}L${f(s[0])} ${f(s[1])}A${n} ${n} 0 ${e>180?1:0} 1 ${f(a[0])} ${f(a[1])}Z`}var Fn=(t,e,n)=>Vt(-t/2,-e/2,t,e,e/2)+Vt(-t/2+n,-e/2+n,t-2*n,e-2*n,(e-2*n)/2);function On(t,e,n,o=2.5,r=3){let i=p=>p*Math.PI/180,s=p=>[n*Math.cos(i(p)),n*Math.sin(i(p))],a=s(t),c=s(e),l=[-Math.sin(i(e)),Math.cos(i(e))],h=[Math.cos(i(e)),Math.sin(i(e))],m=[c[0]+l[0]*r,c[1]+l[1]*r],y=et([[c[0]+h[0]*o,c[1]+h[1]*o],m,[c[0]-h[0]*o,c[1]-h[1]*o]],.5);return{arc:`M${f(a[0])} ${f(a[1])}A${n} ${n} 0 ${Math.abs(e-t)>180?1:0} 1 ${f(c[0])} ${f(c[1])}`,head:y}}function Ln(t,e,n,o,r=3.4,i=2.9){let s=Math.hypot(n-t,o-e)||1e-6,a=(n-t)/s,c=(o-e)/s,l=n-a*r,h=o-c*r,m=et([[l-c*i,h+a*i],[n,o],[l+c*i,h-a*i]],[.5,.6,.5]);return{shaft:`M${f(t)} ${f(e)}L${f(l+a*.6)} ${f(h+c*.6)}`,head:m}}var jn=(t,e)=>{if(t)for(let n in e)t.setAttribute(n,e[n])},Pn=(t,e,n,o=t)=>`translate(${f(e)} ${f(n)}) scale(${f(t)} ${f(o)}) translate(${f(-e)} ${f(-n)})`;function Wt(t,e){let n=globalThis[J];if(!n)return e(rt(t));if(n.out){let o=1-n.e;return e(o>1e-4?rt(Math.min(1,t/o)):1)*o+e(0)*n.e}return e(rt(t>n.e+.001?n.e:t))}var Pe=.75,Ne=3,Nn=(t,e,n=3)=>Wt(t,o=>e*Pe*(1-o)*Math.sin(Math.min(n,Ne)*Math.PI*o*o*(3-2*o))),Be=t=>{if(t<=.5)return t;let e=Math.min(t,1)-.5;return .5+e+2*e*e-4*e*e*e},Bn=t=>Wt(t,e=>Math.sin(Math.PI*Be(e)));function Dn(t){return t}function Un(t){return t}var De=[22.6,18.4],Ue="#33363D",Zt=6.4;function qe(t,e,n={}){let[o,r]=t.badgeAt||De;return{...n,name:`${t.name}-${e.name}`,base:t.name,badge:e.name,tone:e.tone,tap:t.tap,svg:i=>{let s=i.id("kbk");return`<mask id="${s}" 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="${o}" cy="${r}" r="${Zt}" fill="#000"/></mask><g mask="url(#${s})">${t.svg(i)}</g><g data-badge="${Ue}" transform="translate(${o} ${r})">${e.svg(i)}</g>`},target:(i,s)=>({...t.target(i,s),kb:e.target(i,s)}),draw(i,s,a){t.draw(i,s,a),e.draw(i.kb,s,a),s.kbK&&s.kbK.setAttribute("r",f(Zt*(i.kb.s||1)))}}}function Re(t,e,n={}){return{...n,name:`${t.name}-off`,base:t.name,badge:"off",svg:o=>`${t.svg(o)}${e.svg(o)}`,target:(o,r)=>({...t.target(!1,r),kb:e.target(o,r)}),draw(o,r,i){t.draw(o,r,i),e.draw(o.kb,r,i)}}}export{gn as ACC,hn as CLOCK_MINUTES,fn as CR,$n as DEEP,xn as DEEPS,un as KR,tt as KubaiIconElement,mn as LINE,dn as OL,je as R,yn as SOFT,kn as SOFTS,Mn as WHITE,bn as WHITES,xt as arc,On as arcArrow,Ln as arrow,jn as at,Bn as bump,Fn as capsuleRing,wn as circ,pn as clamp01,In as cloud,zt as cross,Un as defineBadge,Dn as defineIcon,ke as duo,An as ellipse,f,Tn as frontPiece,_n as gear,pe as icon,ue as line,vn as lines,Sn as poly,Nn as rattle,et as rp,Vt as rr,Pn as scaleAt,Cn as sector,Be as settle,En as star,Wt as wave,qe as withBadge,Re as withSlash};
|
package/dist/cdn/icons/angry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{defineIcon as
|
|
2
|
-
<g data-n="fo"><path d="${
|
|
1
|
+
import{defineIcon as w,f as o,OL as A,clamp01 as C,rattle as G,at as l}from"../element.js";import{KR as B,f as L,R as P,rp as R,circ as b}from"../element.js";var O=(()=>{let t=[6,-6],i=12,a=8.8,s=3.6,d=-.4,p=.4,K=(r,e)=>[t[0]+e*Math.cos(r*Math.PI/180),t[1]+e*Math.sin(r*Math.PI/180)],h=(r,e,f,v)=>Array.from({length:v+1},(I,$)=>K(r+(e-r)*$/v,f)),m=([r,e])=>Math.atan2(e-t[1],r-t[0])*180/Math.PI,g=(r,{x:e,y:f})=>e!==void 0?[e,t[1]+Math.sqrt(r*r-(e-t[0])**2)]:[t[0]-Math.sqrt(r*r-(f-t[1])**2),f],u=-6+s,_=6-s,y=g(a,{y:u}),M=g(a,{x:_}),k=h(m(y),m(M),a,6).slice(1,-1),x=h(90,180,i,12).slice(1,-1);return{pts:[[-6,-6],[d,-6],[d,u],y,...k,M,[_,p],[6,p],[6,6],...x],r:["K","K","J","J",...k.map(()=>0),"J","J","K","K",...x.map(()=>0)]}})();var n=b(15.5,12.5,11.5);var c=w({name:"angry",category:"people",tags:["face","angry","mad","annoyed","emoji","emotion","feedback"],svg:t=>`<g filter="${t.sh}"><g filter="${t.hi}"><g data-n="f"><path d="${n}" fill="${t.loS}"/></g></g></g>
|
|
2
|
+
<g data-n="fo"><path d="${n}" ${A}/>
|
|
3
3
|
<g fill="#fff" data-w="fill"><circle cx="11.4" cy="11.4" r="1.7"/><circle cx="19.6" cy="11.4" r="1.7"/></g>
|
|
4
|
-
<g fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#fff" data-w="stroke"><path data-n="b"/><path data-n="m"/></g></g>`,target:
|
|
4
|
+
<g fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#fff" data-w="stroke"><path data-n="b"/><path data-n="m"/></g></g>`,target:t=>({o:t?1:0,b:t?1.2:0}),draw(t,i){let a=t.b;l(i.b,{d:`M8.6 ${o(6.6+a*.4)}L13.2 ${o(8.4+a)}M22.4 ${o(6.6+a*.4)}L17.8 ${o(8.4+a)}`}),l(i.m,{d:`M11 ${o(18.6)}Q15.5 ${o(15.2-a*.4)} 20 18.6`});let s=`translate(${o(G(C(t.o),.9,3))} 0)`;l(i.f,{transform:s}),l(i.fo,{transform:s})}});import{icon as S}from"../element.js";var N=S("angry",'<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><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="f" transform="translate(0 0)"><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__)"/><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></g><g data-n="fo" transform="translate(0 0)"><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))"/><g style="fill:var(--ki-w,#fff)"><circle cx="11.4" cy="11.4" r="1.7"/><circle cx="19.6" cy="11.4" r="1.7"/></g><g fill="none" stroke-width="2.2" stroke-linecap="round" style="stroke:var(--ki-w,#fff)"><path data-n="b" d="M8.6 6.6L13.2 8.4M22.4 6.6L17.8 8.4"/><path data-n="m" d="M11 18.6Q15.5 15.2 20 18.6"/></g></g>',c.target,c.draw,0);export{N as default};
|
package/dist/cdn/icons/frown.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{defineIcon as
|
|
1
|
+
import{defineIcon as A,f as a,OL as C,at as n}from"../element.js";import{KR as I,f as J,R as B,rp as P,circ as $}from"../element.js";var R=(()=>{let r=[6,-6],o=12,i=8.8,s=3.6,l=-.4,p=.4,K=(t,e)=>[r[0]+e*Math.cos(t*Math.PI/180),r[1]+e*Math.sin(t*Math.PI/180)],h=(t,e,f,v)=>Array.from({length:v+1},(G,w)=>K(t+(e-t)*w/v,f)),m=([t,e])=>Math.atan2(e-r[1],t-r[0])*180/Math.PI,u=(t,{x:e,y:f})=>e!==void 0?[e,r[1]+Math.sqrt(t*t-(e-r[0])**2)]:[r[0]-Math.sqrt(t*t-(f-r[1])**2),f],_=-6+s,g=6-s,y=u(i,{y:_}),M=u(i,{x:g}),k=h(m(y),m(M),i,6).slice(1,-1),x=h(90,180,o,12).slice(1,-1);return{pts:[[-6,-6],[l,-6],[l,_],y,...k,M,[g,p],[6,p],[6,6],...x],r:["K","K","J","J",...k.map(()=>0),"J","J","K","K",...x.map(()=>0)]}})();var c=$(15.5,12.5,11.5);var d=A({name:"frown",category:"people",tags:["face","sad","unhappy","emoji","emotion","feedback","bad"],svg:r=>`<g data-n="g"><g filter="${r.sh}"><g filter="${r.hi}"><path d="${c}" fill="${r.loS}"/></g></g><path d="${c}" ${C}/>
|
|
2
2
|
<g fill="#fff" data-w="fill"><circle data-n="e1" cx="11.4" r="1.7"/><circle data-n="e2" cx="19.6" r="1.7"/></g>
|
|
3
|
-
<path data-n="m" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#fff" data-w="stroke"/></g>`,target:r=>({m:r?[10.6,19.4,13.6]:[11,18.2,14.6],ey:r?10.4:9.8,y:r?.6:0}),draw(r,
|
|
3
|
+
<path data-n="m" fill="none" stroke-width="2.2" stroke-linecap="round" stroke="#fff" data-w="stroke"/></g>`,target:r=>({m:r?[10.6,19.4,13.6]:[11,18.2,14.6],ey:r?10.4:9.8,y:r?.6:0}),draw(r,o){let[i,s,l]=r.m;n(o.m,{d:`M${a(i)} ${a(s)}Q15.5 ${a(l)} ${a(31-i)} ${a(s)}`}),n(o.e1,{cy:a(r.ey)}),n(o.e2,{cy:a(r.ey)}),n(o.g,{transform:`translate(0 ${a(r.y)})`})}});import{icon as b}from"../element.js";var D=b("frown",'<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><g data-n="g" transform="translate(0 0)"><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))"/><g style="fill:var(--ki-w,#fff)"><circle data-n="e1" cx="11.4" r="1.7" cy="9.8"/><circle data-n="e2" cx="19.6" r="1.7" cy="9.8"/></g><path data-n="m" fill="none" stroke-width="2.2" stroke-linecap="round" d="M11 18.2Q15.5 14.6 20 18.2" style="stroke:var(--ki-w,#fff)"/></g>',d.target,d.draw,0);export{D as default};
|
package/dist/cdn/icons/laugh.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{defineIcon as
|
|
2
|
-
<g data-n="fo"><path d="${
|
|
1
|
+
import{defineIcon as $,f,OL as C,clamp01 as Q,rattle as G,at as n}from"../element.js";import{KR as J,f as Z,R as B,rp as H,circ as A}from"../element.js";var P=(()=>{let t=[6,-6],a=12,e=8.8,i=3.6,c=-.4,p=.4,K=(r,o)=>[t[0]+o*Math.cos(r*Math.PI/180),t[1]+o*Math.sin(r*Math.PI/180)],h=(r,o,s,v)=>Array.from({length:v+1},(b,w)=>K(r+(o-r)*w/v,s)),m=([r,o])=>Math.atan2(o-t[1],r-t[0])*180/Math.PI,u=(r,{x:o,y:s})=>o!==void 0?[o,t[1]+Math.sqrt(r*r-(o-t[0])**2)]:[t[0]-Math.sqrt(r*r-(s-t[1])**2),s],g=-6+i,_=6-i,M=u(e,{y:g}),y=u(e,{x:_}),k=h(m(M),m(y),e,6).slice(1,-1),x=h(90,180,a,12).slice(1,-1);return{pts:[[-6,-6],[c,-6],[c,g],M,...k,y,[_,p],[6,p],[6,6],...x],r:["K","K","J","J",...k.map(()=>0),"J","J","K","K",...x.map(()=>0)]}})();var l=A(15.5,12.5,11.5);var d=$({name:"laugh",category:"people",tags:["face","laughing","joy","funny","emoji","emotion"],svg:t=>`<g filter="${t.sh}"><g filter="${t.hi}"><g data-n="f"><path d="${l}" fill="${t.loS}"/></g></g></g>
|
|
2
|
+
<g data-n="fo"><path d="${l}" ${C}/>
|
|
3
3
|
<path d="M9.4 10.4Q11.4 7.4 13.4 10.4M17.6 10.4Q19.6 7.4 21.6 10.4" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" stroke="#fff" data-w="stroke"/>
|
|
4
|
-
<path data-n="m" fill="#fff" data-w="fill"/></g>`,target:
|
|
4
|
+
<path data-n="m" fill="#fff" data-w="fill"/></g>`,target:t=>({o:t?1:0,open:t?21:19.6}),draw(t,a){let e=t.open;n(a.m,{d:`M10.2 13.4H20.8Q22 13.4 21.7 14.6Q20.4 ${f(e)} 15.5 ${f(e)}Q10.6 ${f(e)} 9.3 14.6Q9 13.4 10.2 13.4Z`});let i=`rotate(${f(G(Q(t.o),8,3))} 15.5 21)`;n(a.f,{transform:i}),n(a.fo,{transform:i})}});import{icon as S}from"../element.js";var D=S("laugh",'<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><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="f" transform="rotate(0 15.5 21)"><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__)"/><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></g><g data-n="fo" transform="rotate(0 15.5 21)"><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 d="M9.4 10.4Q11.4 7.4 13.4 10.4M17.6 10.4Q19.6 7.4 21.6 10.4" fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" style="stroke:var(--ki-w,#fff)"/><path data-n="m" d="M10.2 13.4H20.8Q22 13.4 21.7 14.6Q20.4 19.6 15.5 19.6Q10.6 19.6 9.3 14.6Q9 13.4 10.2 13.4Z" style="fill:var(--ki-w,#fff)"/></g>',d.target,d.draw,0);export{D as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as O,f as v,rr as U,at as b}from"../element.js";import{KR as g,OL as $,WHITES as j,f as V,circ as B,rr as M,rp as X}from"../element.js";var q=B(15.5,12.5,11.5),z=M(5.2,2.2,20.6,20.6,g),J=M(4,3.3,23,18.4,g),c=(L,r,a=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${a}"/></g></g><path d="${r}" ${$}/>`,y=(L,r,a=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${a}"/></g><path d="${r}" ${$}/>`,Y=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${j}`;import{f,rp as r1,WHITE as a1}from"../element.js";function x(L,r,a=!1){let e=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let d=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-d[0],_=h[1]-d[1],k=Math.hypot(p,_)||1e-6,u=-_/k*e,m=p/k*e;o.push([L[t][0]+u,L[t][1]+m]),i.push([L[t][0]-u,L[t][1]-m])}let s=t=>`${f(t[0])} ${f(t[1])}`,n=t=>a?`A${f(e)} ${f(e)} 0 0
|
|
2
|
-
${y(L,U(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){b(r.l,{transform:`translate(${v(L.d)} 0)`}),b(r.r,{transform:`translate(${v(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as D,at as C,f as E,clamp01 as R}from"../element.js";import{f as H}from"../element.js";var N=5;var S='stroke="#FFFFFF"',F=(L,r)=>`<g data-n="kbG"><circle r="${N}" data-t="fill:#5393FF"/>${r}</g>`,Q=L=>`scale(${H(L)})`;var G=8.2,Z=D({name:"check",tone:"#16A34A",tags:["done","complete","check","success","verified","ok"],svg:L=>F(L,`<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}" ${S}/>`),target:L=>({s:L?1.14:1,o:L?1:0}),draw(L,r){let a=R(L.o),e=a<.25?1-a/.25:(a-.25)/.75;C(r.kbG,{transform:Q(L.s)}),C(r.kbM,{"stroke-dashoffset":E(G*(1-e))})}});import{withBadge as T}from"../element.js";import{icon as W}from"../element.js";var I=T(w,Z),m1=W("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0
|
|
1
|
+
import{defineIcon as O,f as v,rr as U,at as b}from"../element.js";import{KR as g,OL as $,WHITES as j,f as V,circ as B,rr as M,rp as X}from"../element.js";var q=B(15.5,12.5,11.5),z=M(5.2,2.2,20.6,20.6,g),J=M(4,3.3,23,18.4,g),c=(L,r,a=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${a}"/></g></g><path d="${r}" ${$}/>`,y=(L,r,a=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${a}"/></g><path d="${r}" ${$}/>`,Y=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${j}`;import{f,rp as r1,WHITE as a1}from"../element.js";function x(L,r,a=!1){let e=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let d=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-d[0],_=h[1]-d[1],k=Math.hypot(p,_)||1e-6,u=-_/k*e,m=p/k*e;o.push([L[t][0]+u,L[t][1]+m]),i.push([L[t][0]-u,L[t][1]-m])}let s=t=>`${f(t[0])} ${f(t[1])}`,n=t=>a?`A${f(e)} ${f(e)} 0 0 0 ${s(t)}`:`L${s(t)}`;return`M${s(o[0])}`+o.slice(1).map(t=>`L${s(t)}`).join("")+n(i[l-1])+i.slice(0,-1).reverse().map(t=>`L${s(t)}`).join("")+n(o[0])+"Z"}function K(L,r,a,e,l,o=16){let i=[];for(let s=0;s<=o;s++){let n=(e+(l-e)*s/o)*Math.PI/180;i.push([L+a*Math.cos(n),r+a*Math.sin(n)])}return i}var A=x([[12.4,8],...K(9.4,12.5,4.5,-90,-270,20),[12.4,17]],2.6,!0),w=O({name:"link-2",category:"interface",tags:["link","url","hyperlink","chain","connect","attach"],variants:["plus","x","check"],svg:L=>`<g data-n="l">${c(L,A)}</g><g data-n="r">${c(L,A)}</g>
|
|
2
|
+
${y(L,U(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){b(r.l,{transform:`translate(${v(L.d)} 0)`}),b(r.r,{transform:`translate(${v(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as D,at as C,f as E,clamp01 as R}from"../element.js";import{f as H}from"../element.js";var N=5;var S='stroke="#FFFFFF"',F=(L,r)=>`<g data-n="kbG"><circle r="${N}" data-t="fill:#5393FF"/>${r}</g>`,Q=L=>`scale(${H(L)})`;var G=8.2,Z=D({name:"check",tone:"#16A34A",tags:["done","complete","check","success","verified","ok"],svg:L=>F(L,`<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}" ${S}/>`),target:L=>({s:L?1.14:1,o:L?1:0}),draw(L,r){let a=R(L.o),e=a<.25?1-a/.25:(a-.25)/.75;C(r.kbG,{transform:Q(L.s)}),C(r.kbM,{"stroke-dashoffset":E(G*(1-e))})}});import{withBadge as T}from"../element.js";import{icon as W}from"../element.js";var I=T(w,Z),m1=W("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 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__)"><g data-n="l" transform="translate(0 0)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="r" transform="translate(31 0) scale(-1 1)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></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>',I.target,I.draw,0,"#16A34A");export{m1 as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as H,f as b,rr as O,at as v}from"../element.js";import{KR as g,OL as $,WHITES as I,f as W,circ as B,rr as M,rp as P}from"../element.js";var V=B(15.5,12.5,11.5),X=M(5.2,2.2,20.6,20.6,g),q=M(4,3.3,23,18.4,g),d=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${$}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${$}/>`,z=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${I}`;import{f,rp as L1,WHITE as t1}from"../element.js";function y(L,r,e=!1){let s=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let c=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-c[0],_=h[1]-c[1],u=Math.hypot(p,_)||1e-6,k=-_/u*s,m=p/u*s;o.push([L[t][0]+k,L[t][1]+m]),i.push([L[t][0]-k,L[t][1]-m])}let a=t=>`${f(t[0])} ${f(t[1])}`,n=t=>e?`A${f(s)} ${f(s)} 0 0
|
|
2
|
-
${x(L,O(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){v(r.l,{transform:`translate(${b(L.d)} 0)`}),v(r.r,{transform:`translate(${b(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as N,at as C,f as D}from"../element.js";import{f as U}from"../element.js";var j=5;var S='stroke="#FFFFFF"',F=(L,r)=>`<g data-n="kbG"><circle r="${j}" data-t="fill:#5393FF"/>${r}</g>`,Q=L=>`scale(${U(L)})`;var G=N({name:"plus",tone:"#16A34A",tags:["add","new","create","plus"],svg:L=>F(L,`<path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" ${S}/>`),target:L=>({s:L?1.14:1,k:L?1.15:1}),draw(L,r){C(r.kbG,{transform:Q(L.s)}),C(r.kbM,{transform:`scale(${D(L.k)})`})}});import{withBadge as E}from"../element.js";import{icon as R}from"../element.js";var Z=E(A,G),u1=R("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0
|
|
1
|
+
import{defineIcon as H,f as b,rr as O,at as v}from"../element.js";import{KR as g,OL as $,WHITES as I,f as W,circ as B,rr as M,rp as P}from"../element.js";var V=B(15.5,12.5,11.5),X=M(5.2,2.2,20.6,20.6,g),q=M(4,3.3,23,18.4,g),d=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${$}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${$}/>`,z=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${I}`;import{f,rp as L1,WHITE as t1}from"../element.js";function y(L,r,e=!1){let s=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let c=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-c[0],_=h[1]-c[1],u=Math.hypot(p,_)||1e-6,k=-_/u*s,m=p/u*s;o.push([L[t][0]+k,L[t][1]+m]),i.push([L[t][0]-k,L[t][1]-m])}let a=t=>`${f(t[0])} ${f(t[1])}`,n=t=>e?`A${f(s)} ${f(s)} 0 0 0 ${a(t)}`:`L${a(t)}`;return`M${a(o[0])}`+o.slice(1).map(t=>`L${a(t)}`).join("")+n(i[l-1])+i.slice(0,-1).reverse().map(t=>`L${a(t)}`).join("")+n(o[0])+"Z"}function K(L,r,e,s,l,o=16){let i=[];for(let a=0;a<=o;a++){let n=(s+(l-s)*a/o)*Math.PI/180;i.push([L+e*Math.cos(n),r+e*Math.sin(n)])}return i}var w=y([[12.4,8],...K(9.4,12.5,4.5,-90,-270,20),[12.4,17]],2.6,!0),A=H({name:"link-2",category:"interface",tags:["link","url","hyperlink","chain","connect","attach"],variants:["plus","x","check"],svg:L=>`<g data-n="l">${d(L,w)}</g><g data-n="r">${d(L,w)}</g>
|
|
2
|
+
${x(L,O(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){v(r.l,{transform:`translate(${b(L.d)} 0)`}),v(r.r,{transform:`translate(${b(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as N,at as C,f as D}from"../element.js";import{f as U}from"../element.js";var j=5;var S='stroke="#FFFFFF"',F=(L,r)=>`<g data-n="kbG"><circle r="${j}" data-t="fill:#5393FF"/>${r}</g>`,Q=L=>`scale(${U(L)})`;var G=N({name:"plus",tone:"#16A34A",tags:["add","new","create","plus"],svg:L=>F(L,`<path data-n="kbM" d="M-2.5 0H2.5M0 -2.5V2.5" fill="none" stroke-width="2.2" stroke-linecap="round" ${S}/>`),target:L=>({s:L?1.14:1,k:L?1.15:1}),draw(L,r){C(r.kbG,{transform:Q(L.s)}),C(r.kbM,{transform:`scale(${D(L.k)})`})}});import{withBadge as E}from"../element.js";import{icon as R}from"../element.js";var Z=E(A,G),u1=R("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 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__)"><g data-n="l" transform="translate(0 0)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="r" transform="translate(31 0) scale(-1 1)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></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>',Z.target,Z.draw,0,"#16A34A");export{u1 as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as O,f as v,rr as U,at as b}from"../element.js";import{KR as g,OL as $,WHITES as I,f as V,circ as B,rr as M,rp as X}from"../element.js";var q=B(15.5,12.5,11.5),z=M(5.2,2.2,20.6,20.6,g),J=M(4,3.3,23,18.4,g),c=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${$}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${$}/>`,Y=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${I}`;import{f,rp as r1,WHITE as a1}from"../element.js";function y(L,r,e=!1){let s=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let d=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-d[0],_=h[1]-d[1],m=Math.hypot(p,_)||1e-6,u=-_/m*s,k=p/m*s;o.push([L[t][0]+u,L[t][1]+k]),i.push([L[t][0]-u,L[t][1]-k])}let a=t=>`${f(t[0])} ${f(t[1])}`,n=t=>e?`A${f(s)} ${f(s)} 0 0
|
|
2
|
-
${x(L,U(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){b(r.l,{transform:`translate(${v(L.d)} 0)`}),b(r.r,{transform:`translate(${v(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as H,at as Q,f as N,clamp01 as E,rattle as R}from"../element.js";import{f as D}from"../element.js";var j=5;var F='stroke="#FFFFFF"',A=(L,r)=>`<g data-n="kbG"><circle r="${j}" data-t="fill:#5393FF"/>${r}</g>`,C=L=>`scale(${D(L)})`;var G=H({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:L=>A(L,`<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:L=>({s:L?1.14:1,o:L?1:0}),draw(L,r){Q(r.kbG,{transform:C(L.s)}),Q(r.kbM,{transform:`rotate(${N(R(E(L.o),18,3))})`})}});import{withBadge as T}from"../element.js";import{icon as W}from"../element.js";var Z=T(S,G),k1=W("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0
|
|
1
|
+
import{defineIcon as O,f as v,rr as U,at as b}from"../element.js";import{KR as g,OL as $,WHITES as I,f as V,circ as B,rr as M,rp as X}from"../element.js";var q=B(15.5,12.5,11.5),z=M(5.2,2.2,20.6,20.6,g),J=M(4,3.3,23,18.4,g),c=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${$}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${$}/>`,Y=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${I}`;import{f,rp as r1,WHITE as a1}from"../element.js";function y(L,r,e=!1){let s=r/2,l=L.length,o=[],i=[];for(let t=0;t<l;t++){let d=L[Math.max(0,t-1)],h=L[Math.min(l-1,t+1)],p=h[0]-d[0],_=h[1]-d[1],m=Math.hypot(p,_)||1e-6,u=-_/m*s,k=p/m*s;o.push([L[t][0]+u,L[t][1]+k]),i.push([L[t][0]-u,L[t][1]-k])}let a=t=>`${f(t[0])} ${f(t[1])}`,n=t=>e?`A${f(s)} ${f(s)} 0 0 0 ${a(t)}`:`L${a(t)}`;return`M${a(o[0])}`+o.slice(1).map(t=>`L${a(t)}`).join("")+n(i[l-1])+i.slice(0,-1).reverse().map(t=>`L${a(t)}`).join("")+n(o[0])+"Z"}function K(L,r,e,s,l,o=16){let i=[];for(let a=0;a<=o;a++){let n=(s+(l-s)*a/o)*Math.PI/180;i.push([L+e*Math.cos(n),r+e*Math.sin(n)])}return i}var w=y([[12.4,8],...K(9.4,12.5,4.5,-90,-270,20),[12.4,17]],2.6,!0),S=O({name:"link-2",category:"interface",tags:["link","url","hyperlink","chain","connect","attach"],variants:["plus","x","check"],svg:L=>`<g data-n="l">${c(L,w)}</g><g data-n="r">${c(L,w)}</g>
|
|
2
|
+
${x(L,U(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){b(r.l,{transform:`translate(${v(L.d)} 0)`}),b(r.r,{transform:`translate(${v(31-L.d)} 0) scale(-1 1)`})}});import{defineBadge as H,at as Q,f as N,clamp01 as E,rattle as R}from"../element.js";import{f as D}from"../element.js";var j=5;var F='stroke="#FFFFFF"',A=(L,r)=>`<g data-n="kbG"><circle r="${j}" data-t="fill:#5393FF"/>${r}</g>`,C=L=>`scale(${D(L)})`;var G=H({name:"x",tone:"#DC2626",tags:["close","cancel","remove","error","x","delete"],svg:L=>A(L,`<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:L=>({s:L?1.14:1,o:L?1:0}),draw(L,r){Q(r.kbG,{transform:C(L.s)}),Q(r.kbM,{transform:`rotate(${N(R(E(L.o),18,3))})`})}});import{withBadge as T}from"../element.js";import{icon as W}from"../element.js";var Z=T(S,G),k1=W("link-2-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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 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__)"><g data-n="l" transform="translate(0 0)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="r" transform="translate(31 0) scale(-1 1)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></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>',Z.target,Z.draw,0,"#DC2626");export{k1 as default};
|
package/dist/cdn/icons/link-2.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as b,f as A,rr as Z,at as S}from"../element.js";import{KR as $,OL as M,WHITES as Q,f as O,circ as C,rr as y,rp as j}from"../element.js";var H=C(15.5,12.5,11.5),U=y(5.2,2.2,20.6,20.6,$),B=y(4,3.3,23,18.4,$),h=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${M}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${M}/>`,T=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${Q}`;import{f as n,rp as P,WHITE as R}from"../element.js";function v(L,r,e=!1){let o=r/2,l=L.length,i=[],s=[];for(let t=0;t<l;t++){let _=L[Math.max(0,t-1)],d=L[Math.min(l-1,t+1)],p=d[0]-_[0],u=d[1]-_[1],g=Math.hypot(p,u)||1e-6,m=-u/g*o,k=p/g*o;i.push([L[t][0]+m,L[t][1]+k]),s.push([L[t][0]-m,L[t][1]-k])}let a=t=>`${n(t[0])} ${n(t[1])}`,f=t=>e?`A${n(o)} ${n(o)} 0 0
|
|
2
|
-
${x(L,Z(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){S(r.l,{transform:`translate(${A(L.d)} 0)`}),S(r.r,{transform:`translate(${A(31-L.d)} 0) scale(-1 1)`})}});import{icon as G}from"../element.js";var J=G("link-2",'<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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0
|
|
1
|
+
import{defineIcon as b,f as A,rr as Z,at as S}from"../element.js";import{KR as $,OL as M,WHITES as Q,f as O,circ as C,rr as y,rp as j}from"../element.js";var H=C(15.5,12.5,11.5),U=y(5.2,2.2,20.6,20.6,$),B=y(4,3.3,23,18.4,$),h=(L,r,e=L.loS)=>`<g filter="${L.sh}"><g filter="${L.hi}"><path d="${r}" fill="${e}"/></g></g><path d="${r}" ${M}/>`,x=(L,r,e=L.upS)=>`<g filter="${L.hi}"><path d="${r}" fill="${e}"/></g><path d="${r}" ${M}/>`,T=`fill="none" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" ${Q}`;import{f as n,rp as P,WHITE as R}from"../element.js";function v(L,r,e=!1){let o=r/2,l=L.length,i=[],s=[];for(let t=0;t<l;t++){let _=L[Math.max(0,t-1)],d=L[Math.min(l-1,t+1)],p=d[0]-_[0],u=d[1]-_[1],g=Math.hypot(p,u)||1e-6,m=-u/g*o,k=p/g*o;i.push([L[t][0]+m,L[t][1]+k]),s.push([L[t][0]-m,L[t][1]-k])}let a=t=>`${n(t[0])} ${n(t[1])}`,f=t=>e?`A${n(o)} ${n(o)} 0 0 0 ${a(t)}`:`L${a(t)}`;return`M${a(i[0])}`+i.slice(1).map(t=>`L${a(t)}`).join("")+f(s[l-1])+s.slice(0,-1).reverse().map(t=>`L${a(t)}`).join("")+f(i[0])+"Z"}function K(L,r,e,o,l,i=16){let s=[];for(let a=0;a<=i;a++){let f=(o+(l-o)*a/i)*Math.PI/180;s.push([L+e*Math.cos(f),r+e*Math.sin(f)])}return s}var w=v([[12.4,8],...K(9.4,12.5,4.5,-90,-270,20),[12.4,17]],2.6,!0),c=b({name:"link-2",category:"interface",tags:["link","url","hyperlink","chain","connect","attach"],variants:["plus","x","check"],svg:L=>`<g data-n="l">${h(L,w)}</g><g data-n="r">${h(L,w)}</g>
|
|
2
|
+
${x(L,Z(10.9,11.3,9.2,2.4,1.2))}`,target:L=>({d:L?.9:0}),draw(L,r){S(r.l,{transform:`translate(${A(L.d)} 0)`}),S(r.r,{transform:`translate(${A(31-L.d)} 0) scale(-1 1)`})}});import{icon as G}from"../element.js";var J=G("link-2",'<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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" 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="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="#000"/></mask></defs><g data-n="l" transform="translate(0 0)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="r" transform="translate(31 0) scale(-1 1)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" fill="url(#loS-__K__)" data-over="1"/></g></g><path d="M12.4 6.7L9.381 6.7L8.493 6.771L7.608 6.984L6.767 7.332L5.991 7.808L5.299 8.399L4.708 9.091L4.232 9.867L3.884 10.708L3.671 11.593L3.6 12.5L3.671 13.407L3.884 14.292L4.232 15.133L4.708 15.909L5.299 16.601L5.991 17.192L6.767 17.668L7.608 18.016L8.493 18.229L9.381 18.3L12.4 18.3A1.3 1.3 0 0 0 12.4 15.7L9.419 15.7L8.899 15.661L8.411 15.543L7.947 15.351L7.519 15.089L7.137 14.763L6.811 14.381L6.549 13.953L6.357 13.489L6.239 13.001L6.2 12.5L6.239 11.999L6.357 11.511L6.549 11.047L6.811 10.619L7.137 10.237L7.519 9.911L7.947 9.649L8.411 9.457L8.899 9.339L9.419 9.3L12.4 9.3A1.3 1.3 0 0 0 12.4 6.7Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M10.9 12.5Q10.9 11.3 12.1 11.3L18.9 11.3Q20.1 11.3 20.1 12.5L20.1 12.5Q20.1 13.7 18.9 13.7L12.1 13.7Q10.9 13.7 10.9 12.5Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',c.target,c.draw,0);export{J as default};
|