13 lines
305 KiB
JavaScript
13 lines
305 KiB
JavaScript
|
/**
|
||
|
* @license lucide v0.331.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=(t,d,c=[])=>{const p=document.createElementNS("http://www.w3.org/2000/svg",t);return Object.keys(d).forEach(M=>{p.setAttribute(M,String(d[M]))}),c.length&&c.forEach(M=>{const i=n(...M);p.appendChild(i)}),p};var f1=([t,d,c])=>n(t,d,c);const qr=t=>Array.from(t.attributes).reduce((d,c)=>(d[c.name]=c.value,d),{}),Or=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:"",Gr=t=>t.flatMap(Or).map(d=>d.trim()).filter(Boolean).filter((d,c,p)=>p.indexOf(d)===c).join(" "),Wr=t=>t.replace(/(\w)(\w*)(_|-|\s*)/g,(d,c,p)=>c.toUpperCase()+p.toLowerCase()),x1=(t,{nameAttr:d,icons:c,attrs:p})=>{const M=t.getAttribute(d);if(M==null)return;const i=Wr(M),Tr=c[i];if(!Tr)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const br=qr(t),[Ir,Xr,Nr]=Tr,zr={...Xr,"data-lucide":M,...p,...br},Ur=Gr(["lucide",`lucide-${M}`,br,p]);Ur&&Object.assign(zr,{class:Ur});const Kr=f1([Ir,zr,Nr]);return t.parentNode?.replaceChild(Kr,t)},h={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"},k1=["svg",h,[["path",{d:"M3.5 13h6"}],["path",{d:"m2 16 4.5-9 4.5 9"}],["path",{d:"M18 7v9"}],["path",{d:"m14 12 4 4 4-4"}]]],Z1=["svg",h,[["path",{d:"M3.5 13h6"}],["path",{d:"m2 16 4.5-9 4.5 9"}],["path",{d:"M18 16V7"}],["path",{d:"m14 11 4-4 4 4"}]]],P1=["svg",h,[["path",{d:"M21 14h-5"}],["path",{d:"M16 16v-3.5a2.5 2.5 0 0 1 5 0V16"}],["path",{d:"M4.5 13h6"}],["path",{d:"m3 16 4.5-9 4.5 9"}]]],F1=["svg",h,[["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"}]]],B1=["svg",h,[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M17 12h-2l-2 5-2-10-2 5H7"}]]],D1=["svg",h,[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2"}]]],R1=["svg",h,[["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:"M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12"}],["path",{d:"M6.6 15.6A2 2 0 1 0 10 17v-5"}]]],T1=["svg",h,[["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"}],["polygon",{points:"12 15 17 21 7 21 12 15"}]]],o=["svg",h,[["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"}]]],s=["svg",h,[["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"}]]],b1=["svg",h,[["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"}]]],g=["svg",h,[["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"}]]],z1=["svg",h,[["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"}]]],U1=["svg",h,[["path",{d:"M4 8a2 2 0 0 1-2-2V3h20v3a2 2 0 0 1-2 2Z"}],["path",{d:"m19 8-.8 3c-.1.6-.6 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L5 8"}],["path",{d:"M16 21c0-2.5 2-2.5 2-5"}],["path",{d:"M11 21c0-2.5 2-2.5 2-5"}],["path",{d:"M6 21c0-2.5 2-2.5 2-5"}]]],q1=["svg",h,[["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"}]]],O1=["svg",h,[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12"}],["line",{x1:"12",x2:"
|
||
|
If you want to use all the icons you can import it like:
|
||
|
\`import { createIcons, icons } from 'lucide';
|
||
|
lucide.createIcons({icons});\``);if(typeof document>"u")throw new Error("`createIcons()` only works in a browser environment.");const p=document.querySelectorAll(`[${d}]`);if(Array.from(p).forEach(M=>x1(M,{nameAttr:d,icons:t,attrs:c})),d==="data-lucide"){const M=document.querySelectorAll("[icon-name]");M.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(M).forEach(i=>x1(i,{nameAttr:"icon-name",icons:t,attrs:c})))}};a.AArrowDown=k1,a.AArrowUp=Z1,a.ALargeSmall=P1,a.Accessibility=F1,a.Activity=D1,a.ActivitySquare=B1,a.AirVent=R1,a.Airplay=T1,a.AlarmClock=z1,a.AlarmClockCheck=o,a.AlarmClockMinus=s,a.AlarmClockOff=b1,a.AlarmClockPlus=g,a.AlarmSmoke=U1,a.Album=q1,a.AlertCircle=O1,a.AlertOctagon=G1,a.AlertTriangle=W1,a.AlignCenter=X1,a.AlignCenterHorizontal=E1,a.AlignCenterVertical=I1,a.AlignEndHorizontal=N1,a.AlignEndVertical=K1,a.AlignHorizontalDistributeCenter=J1,a.AlignHorizontalDistributeEnd=Q1,a.AlignHorizontalDistributeStart=j1,a.AlignHorizontalJustifyCenter=Y1,a.AlignHorizontalJustifyEnd=_1,a.AlignHorizontalJustifyStart=a2,a.AlignHorizontalSpaceAround=h2,a.AlignHorizontalSpaceBetween=t2,a.AlignJustify=d2,a.AlignLeft=c2,a.AlignRight=M2,a.AlignStartHorizontal=p2,a.AlignStartVertical=n2,a.AlignVerticalDistributeCenter=e2,a.AlignVerticalDistributeEnd=i2,a.AlignVerticalDistributeStart=l2,a.AlignVerticalJustifyCenter=v2,a.AlignVerticalJustifyEnd=o2,a.AlignVerticalJustifyStart=s2,a.AlignVerticalSpaceAround=g2,a.AlignVerticalSpaceBetween=r2,a.Ambulance=y2,a.Ampersand=$2,a.Ampersands=m2,a.Anchor=H2,a.Angry=u2,a.Annoyed=C2,a.Antenna=V2,a.Anvil=w2,a.Aperture=S2,a.AppWindow=A2,a.Apple=L2,a.Archive=k2,a.ArchiveRestore=f2,a.ArchiveX=x2,a.AreaChart=Z2,a.Armchair=P2,a.ArrowBigDown=B2,a.ArrowBigDownDash=F2,a.ArrowBigLeft=R2,a.ArrowBigLeftDash=D2,a.ArrowBigRight=b2,a.ArrowBigRightDash=T2,a.ArrowBigUp=U2,a.ArrowBigUpDash=z2,a.ArrowDown=d0,a.ArrowDown01=q2,a.ArrowDown10=O2,a.ArrowDownAZ=r,a.ArrowDownCircle=G2,a.ArrowDownFromLine=W2,a.ArrowDownLeft=N2,a.ArrowDownLeftFromCircle=E2,a.ArrowDownLeftFromSquare=I2,a.ArrowDownLeftSquare=X2,a.ArrowDownNarrowWide=K2,a.ArrowDownRight=Y2,a.ArrowDownRightFromCircle=J2,a.ArrowDownRightFromSquare=Q2,a.ArrowDownRightSquare=j2,a.ArrowDownSquare=_2,a.ArrowDownToDot=a0,a.ArrowDownToLine=h0,a.ArrowDownUp=t0,a.ArrowDownWideNarrow=y,a.ArrowDownZA=$,a.ArrowLeft=i0,a.ArrowLeftCircle=c0,a.ArrowLeftFromLine=M0,a.ArrowLeftRight=p0,a.ArrowLeftSquare=n0,a.ArrowLeftToLine=e0,a.ArrowRight=r0,a.ArrowRightCircle=l0,a.ArrowRightFromLine=v0,a.ArrowRightLeft=o0,a.ArrowRightSquare=s0,a.ArrowRightToLine=g0,a.ArrowUp=B0,a.ArrowUp01=y0,a.ArrowUp10=$0,a.ArrowUpAZ=m,a.ArrowUpCircle=m0,a.ArrowUpDown=H0,a.ArrowUpFromDot=u0,a.ArrowUpFromLine=C0,a.ArrowUpLeft=A0,a.ArrowUpLeftFromCircle=V0,a.ArrowUpLeftFromSquare=w0,a.ArrowUpLeftSquare=S0,a.ArrowUpNarrowWide=H,a.ArrowUpRight=k0,a.ArrowUpRightFromCircle=L0,a.ArrowUpRightFromSquare=f0,a.ArrowUpRightSquare=x0,a.ArrowUpSquare=Z0,a.ArrowUpToLine=P0,a.ArrowUpWideNarrow=F0,a.ArrowUpZA=u,a.ArrowsUpFromLine=D0,a.Asterisk=R0,a.AsteriskSquare=C,a.AtSign=T0,a.Atom=b0,a.AudioLines=z0,a.AudioWaveform=U0,a.Award=q0,a.Axe=O0,a.Axis3d=V,a.Baby=G0,a.Backpack=W0,a.Badge=Ma,a.BadgeAlert=E0,a.BadgeCent=I0,a.BadgeCheck=w,a.BadgeDollarSign=X0,a.BadgeEuro=N0,a.BadgeHelp=K0,a.BadgeIndianRupee=J0,a.BadgeInfo=Q0,a.BadgeJapaneseYen=j0,a.BadgeMinus=Y0,a.BadgePercent=_0,a.BadgePlus=aa,a.BadgePoundSterling=ha,a.BadgeRussianRuble=ta,a.BadgeSwissFranc=da,a.BadgeX=ca,a.BaggageClaim=pa,a.Ban=na,a.Banana=ea,a.Banknote=ia,a.BarChart=ya,a.BarChart2=la,a.BarChart3=va,a.BarChart4=oa,a.BarChartBig=sa,a.BarChartHorizontal=ra,a.BarChartHorizontalBig=ga,a.Barcode=$a,a.Baseline=ma,a.Bath=Ha,a.Battery=Aa,a.BatteryCharging=ua,a.BatteryFull=Ca,a.BatteryLow=Va,a.BatteryMedium=wa,a.BatteryWarning=Sa,a.Beaker=La,a.Bean=xa,a.BeanOff=fa,a.Bed=Pa,a.BedDouble=ka,a.BedSingle=Za,a.Beef=Fa,a.Beer=Ba,a.Bell=qa,a.BellDot=Da,a.BellElectric=Ra,a.Bell
|
||
|
//# sourceMappingURL=lucide.min.js.map
|