13 lines
378 KiB
JavaScript
13 lines
378 KiB
JavaScript
|
|
/**
|
||
|
|
* @license lucide v0.562.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/
|
||
|
|
|
||
|
|
(function(a,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(a=typeof globalThis<"u"?globalThis:a||self,n(a.lucide={}))})(this,(function(a){"use strict";const n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},Sa=([t,h,d])=>{const c=document.createElementNS("http://www.w3.org/2000/svg",t);return Object.keys(h).forEach(M=>{c.setAttribute(M,String(h[M]))}),d?.length&&d.forEach(M=>{const p=Sa(M);c.appendChild(p)}),c},La=(t,h={})=>{const d={...n,...h};return Sa(["svg",d,t])},ru=t=>Array.from(t.attributes).reduce((h,d)=>(h[d.name]=d.value,h),{}),ou=t=>typeof t=="string"?t:!t||!t.class?"":t.class&&typeof t.class=="string"?t.class.split(" "):t.class&&Array.isArray(t.class)?t.class:"",vu=t=>t.flatMap(ou).map(h=>h.trim()).filter(Boolean).filter((h,d,c)=>c.indexOf(h)===d).join(" "),$u=t=>t.replace(/(\w)(\w*)(_|-|\s*)/g,(h,d,c)=>d.toUpperCase()+c.toLowerCase()),fa=(t,{nameAttr:h,icons:d,attrs:c})=>{const M=t.getAttribute(h);if(M==null)return;const p=$u(M),Va=d[p];if(!Va)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const nu=ru(t),lu={...n,"data-lucide":M,...c,...nu},eu=vu(["lucide",`lucide-${M}`,nu,c]);eu&&Object.assign(lu,{class:eu});const mu=La(Va,lu);return t.parentNode?.replaceChild(mu,t)},ka=[["path",{d:"m14 12 4 4 4-4"}],["path",{d:"M18 16V7"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],Pa=[["path",{d:"m14 11 4-4 4 4"}],["path",{d:"M18 16V7"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],Ba=[["path",{d:"m15 16 2.536-7.328a1.02 1.02 1 0 1 1.928 0L22 16"}],["path",{d:"M15.697 14h5.606"}],["path",{d:"m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16"}],["path",{d:"M3.304 13h6.392"}]],za=[["circle",{cx:"16",cy:"4",r:"1"}],["path",{d:"m18 19 1-7-6 1"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6"}]],Fa=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]],Da=[["path",{d:"M18 17.5a2.5 2.5 0 1 1-4 2.03V12"}],["path",{d:"M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"}],["path",{d:"M6 8h12"}],["path",{d:"M6.6 15.572A2 2 0 1 0 10 17v-5"}]],s=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"m9 13 2 2 4-4"}]],ba=[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"}],["path",{d:"m12 15 5 6H7Z"}]],g=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"M9 13h6"}]],Ra=[["path",{d:"M6.87 6.87a8 8 0 1 0 11.26 11.26"}],["path",{d:"M19.9 14.25a8 8 0 0 0-9.15-9.15"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.26 18.67 4 21"}],["path",{d:"m2 2 20 20"}],["path",{d:"M4 4 2 6"}]],C=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}],["path",{d:"M12 10v6"}],["path",{d:"M9 13h6"}]],Ta=[["circle",{cx:"12",cy:"13",r:"8"}],["path",{d:"M12 9v4l2 2"}],["path",{d:"M5 3 2 6"}],["path",{d:"m22 6-3-3"}],["path",{d:"M6.38 18.7 4 21"}],["path",{d:"M17.64 18.67 20 21"}]],qa=[["path",{d:"M11 21c0-2.5 2-2.5 2-5"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5"}],["path",{d:"m19 8-.8 3a1.25 1.25 0 0 1-1.2 1H7a1.25 1.25 0 0 1-1.2-1L5 8"}],["path",{d:"M21 3a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a1 1 0 0 1 1-1z"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5"}]],Ua=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}],["polyline",{points:"11 3 11 11 14 8 17 11 17 3"}]],Oa=[["path",{d:"M2 12h20"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4"}],["path",{d:"M20
|
||
|
|
If you want to use all the icons you can import it like:
|
||
|
|
\`import { createIcons, icons } from 'lucide';
|
||
|
|
lucide.createIcons({icons});\``);if(typeof c>"u")throw new Error("`createIcons()` only works in a browser environment.");if(Array.from(c.querySelectorAll(`[${h}]`)).forEach(p=>fa(p,{nameAttr:h,icons:t,attrs:d})),M&&Array.from(c.querySelectorAll("template")).forEach(p=>iu({icons:t,nameAttr:h,attrs:d,root:p.content,inTemplates:M})),h==="data-lucide"){const p=c.querySelectorAll("[icon-name]");p.length>0&&(console.warn("[Lucide] Some icons were found with the now deprecated icon-name attribute. These will still be replaced for backwards compatibility, but will no longer be supported in v1.0 and you should switch to data-lucide"),Array.from(p).forEach(Va=>fa(Va,{nameAttr:"icon-name",icons:t,attrs:d})))}};a.AArrowDown=ka,a.AArrowUp=Pa,a.ALargeSmall=Ba,a.Accessibility=za,a.Activity=Fa,a.ActivitySquare=d0,a.AirVent=Da,a.Airplay=ba,a.AlarmCheck=s,a.AlarmClock=Ta,a.AlarmClockCheck=s,a.AlarmClockMinus=g,a.AlarmClockOff=Ra,a.AlarmClockPlus=C,a.AlarmMinus=g,a.AlarmPlus=C,a.AlarmSmoke=qa,a.Album=Ua,a.AlertCircle=K,a.AlertOctagon=F2,a.AlertTriangle=ea,a.AlignCenter=ha,a.AlignCenterHorizontal=Oa,a.AlignCenterVertical=Za,a.AlignEndHorizontal=Ga,a.AlignEndVertical=Wa,a.AlignHorizontalDistributeCenter=Ia,a.AlignHorizontalDistributeEnd=Xa,a.AlignHorizontalDistributeStart=Ea,a.AlignHorizontalJustifyCenter=ja,a.AlignHorizontalJustifyEnd=Na,a.AlignHorizontalJustifyStart=Ka,a.AlignHorizontalSpaceAround=Qa,a.AlignHorizontalSpaceBetween=Ja,a.AlignJustify=ca,a.AlignLeft=y,a.AlignRight=da,a.AlignStartHorizontal=Ya,a.AlignStartVertical=_a,a.AlignVerticalDistributeCenter=xa,a.AlignVerticalDistributeEnd=at,a.AlignVerticalDistributeStart=tt,a.AlignVerticalJustifyCenter=ht,a.AlignVerticalJustifyEnd=dt,a.AlignVerticalJustifyStart=ct,a.AlignVerticalSpaceAround=Mt,a.AlignVerticalSpaceBetween=pt,a.Ambulance=it,a.Ampersand=nt,a.Ampersands=lt,a.Amphora=et,a.Anchor=rt,a.Angry=ot,a.Annoyed=vt,a.Antenna=$t,a.Anvil=mt,a.Aperture=yt,a.AppWindow=gt,a.AppWindowMac=st,a.Apple=Ct,a.Archive=At,a.ArchiveRestore=ut,a.ArchiveX=Ht,a.AreaChart=b,a.Armchair=wt,a.ArrowBigDown=St,a.ArrowBigDownDash=Vt,a.ArrowBigLeft=ft,a.ArrowBigLeftDash=Lt,a.ArrowBigRight=Pt,a.ArrowBigRightDash=kt,a.ArrowBigUp=zt,a.ArrowBigUpDash=Bt,a.ArrowDown=Gt,a.ArrowDown01=Ft,a.ArrowDown10=Dt,a.ArrowDownAZ=u,a.ArrowDownAz=u,a.ArrowDownCircle=Q,a.ArrowDownFromLine=bt,a.ArrowDownLeft=Rt,a.ArrowDownLeftFromCircle=Y,a.ArrowDownLeftFromSquare=n0,a.ArrowDownLeftSquare=c0,a.ArrowDownNarrowWide=Ut,a.ArrowDownRight=Tt,a.ArrowDownRightFromCircle=_,a.ArrowDownRightFromSquare=l0,a.ArrowDownRightSquare=M0,a.ArrowDownSquare=p0,a.ArrowDownToDot=qt,a.ArrowDownToLine=Ot,a.ArrowDownUp=Zt,a.ArrowDownWideNarrow=H,a.ArrowDownZA=A,a.ArrowDownZa=A,a.ArrowLeft=Xt,a.ArrowLeftCircle=J,a.ArrowLeftFromLine=It,a.ArrowLeftRight=Wt,a.ArrowLeftSquare=i0,a.ArrowLeftToLine=Et,a.ArrowRight=Qt,a.ArrowRightCircle=t1,a.ArrowRightFromLine=jt,a.ArrowRightLeft=Nt,a.ArrowRightSquare=o0,a.ArrowRightToLine=Kt,a.ArrowUp=Mh,a.ArrowUp01=Jt,a.ArrowUp10=Yt,a.ArrowUpAZ=w,a.ArrowUpAz=w,a.ArrowUpCircle=h1,a.ArrowUpDown=_t,a.ArrowUpFromDot=xt,a.ArrowUpFromLine=ah,a.ArrowUpLeft=th,a.ArrowUpLeftFromCircle=x,a.ArrowUpLeftFromSquare=e0,a.ArrowUpLeftSquare=v0,a.ArrowUpNarrowWide=V,a.ArrowUpRight=hh,a.ArrowUpRightFromCircle=a1,a.ArrowUpRightFromSquare=r0,a.ArrowUpRightSquare=$0,a.ArrowUpSquare=m0,a.ArrowUpToLine=dh,a.ArrowUpWideNarrow=ch,a.ArrowUpZA=S,a.ArrowUpZa=S,a.ArrowsUpFromLine=ph,a.Asterisk=ih,a.AsteriskSquare=y0,a.AtSign=nh,a.Atom=lh,a.AudioLines=eh,a.AudioWaveform=oh,a.Award=rh,a.Axe=vh,a.Axis3D=L,a.Axis3d=L,a.Baby=$h,a.Backpack=mh,a.Badge=zh,a.BadgeAlert=yh,a.BadgeCent=sh,a.BadgeCheck=f,a.BadgeDollarSign=gh,a.BadgeEuro=Ch,a.BadgeHelp=k,a.BadgeIndianRupee=uh,a.BadgeInfo=Hh,a.BadgeJapaneseYen=Ah,a.BadgeMinus=wh,a.BadgePercent=Vh,a.BadgePlus=Sh,a.BadgePoundSterling=Lh,a.BadgeQuestionMark=k,a.BadgeRussianRuble=fh,a.BadgeSwissFranc=kh,a.BadgeTurkishLira=Ph,a.BadgeX=Bh,a.BaggageClaim=Fh,a.Balloon=Dh,a.Ban=bh,a.Banana=Rh,a.Bandage=Th,a.Banknote=Zh,a.BanknoteArrowDown=qh,a.BanknoteArrowUp=Uh,a.BanknoteX=Oh,a.BarChart=W,a.BarChart2=I,a.BarChart3=Z,a.BarChart4=
|
||
|
|
//# sourceMappingURL=lucide.min.js.map
|