1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-07 06:43:20 -04:00
pkg-proxy/internal/server/static/vendor/lucide.min.js

12 lines
365 KiB
JavaScript
Raw Permalink Normal View History

/**
* @license lucide v0.545.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"},la=([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 i=la(M);c.appendChild(i)}),c},ea=(t,h={})=>{const d={...n,...h};return la(["svg",d,t])},Ru=t=>Array.from(t.attributes).reduce((h,d)=>(h[d.name]=d.value,h),{}),Tu=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:"",qu=t=>t.flatMap(Tu).map(h=>h.trim()).filter(Boolean).filter((h,d,c)=>c.indexOf(h)===d).join(" "),Uu=t=>t.replace(/(\w)(\w*)(_|-|\s*)/g,(h,d,c)=>d.toUpperCase()+c.toLowerCase()),ra=(t,{nameAttr:h,icons:d,attrs:c})=>{const M=t.getAttribute(h);if(M==null)return;const i=Uu(M),na=d[i];if(!na)return console.warn(`${t.outerHTML} icon name was not found in the provided icons object.`);const Fu=Ru(t),zu={...n,"data-lucide":M,...c,...Fu},bu=qu(["lucide",`lucide-${M}`,Fu,c]);bu&&Object.assign(zu,{class:bu});const Zu=ea(na,zu);return t.parentNode?.replaceChild(Zu,t)},oa=[["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"}]],va=[["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"}]],$a=[["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"}]],ma=[["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"}]],ya=[["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"}]],sa=[["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"}]],ga=[["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"}]],y=[["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=[["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"}]],ua=[["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=[["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"}]],Ca=[["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"}]],Ha=[["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"}]],Aa=[["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"}]],wa=[["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.");const M=c.querySelectorAll(`[${h}]`);if(Array.from(M).forEach(i=>ra(i,{nameAttr:h,icons:t,attrs:d})),h==="data-lucide"){const i=c.querySelectorAll("[icon-name]");i.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(i).forEach(na=>ra(na,{nameAttr:"icon-name",icons:t,attrs:d})))}};a.AArrowDown=oa,a.AArrowUp=va,a.ALargeSmall=$a,a.Accessibility=ma,a.Activity=ya,a.ActivitySquare=G2,a.AirVent=sa,a.Airplay=ga,a.AlarmCheck=y,a.AlarmClock=Ca,a.AlarmClockCheck=y,a.AlarmClockMinus=s,a.AlarmClockOff=ua,a.AlarmClockPlus=g,a.AlarmMinus=s,a.AlarmPlus=g,a.AlarmSmoke=Ha,a.Album=Aa,a.AlertCircle=N,a.AlertOctagon=y2,a.AlertTriangle=K0,a.AlignCenter=Z0,a.AlignCenterHorizontal=wa,a.AlignCenterVertical=Va,a.AlignEndHorizontal=Sa,a.AlignEndVertical=La,a.AlignHorizontalDistributeCenter=fa,a.AlignHorizontalDistributeEnd=ka,a.AlignHorizontalDistributeStart=Pa,a.AlignHorizontalJustifyCenter=Ba,a.AlignHorizontalJustifyEnd=Da,a.AlignHorizontalJustifyStart=Fa,a.AlignHorizontalSpaceAround=za,a.AlignHorizontalSpaceBetween=ba,a.AlignJustify=I0,a.AlignLeft=m,a.AlignRight=G0,a.AlignStartHorizontal=Ra,a.AlignStartVertical=Ta,a.AlignVerticalDistributeCenter=qa,a.AlignVerticalDistributeEnd=Ua,a.AlignVerticalDistributeStart=Oa,a.AlignVerticalJustifyCenter=Za,a.AlignVerticalJustifyEnd=Ga,a.AlignVerticalJustifyStart=Ia,a.AlignVerticalSpaceAround=Wa,a.AlignVerticalSpaceBetween=Ea,a.Ambulance=ja,a.Ampersand=Xa,a.Ampersands=Na,a.Amphora=Ka,a.Anchor=Qa,a.Angry=Ja,a.Annoyed=Ya,a.Antenna=_a,a.Anvil=xa,a.Aperture=at,a.AppWindow=ht,a.AppWindowMac=tt,a.Apple=dt,a.Archive=pt,a.ArchiveRestore=ct,a.ArchiveX=Mt,a.AreaChart=z,a.Armchair=it,a.ArrowBigDown=lt,a.ArrowBigDownDash=nt,a.ArrowBigLeft=rt,a.ArrowBigLeftDash=et,a.ArrowBigRight=vt,a.ArrowBigRightDash=ot,a.ArrowBigUp=st,a.ArrowBigUpDash=$t,a.ArrowDown=St,a.ArrowDown01=mt,a.ArrowDown10=yt,a.ArrowDownAZ=u,a.ArrowDownAz=u,a.ArrowDownCircle=K,a.ArrowDownFromLine=gt,a.ArrowDownLeft=Ct,a.ArrowDownLeftFromCircle=J,a.ArrowDownLeftFromSquare=j2,a.ArrowDownLeftSquare=I2,a.ArrowDownNarrowWide=ut,a.ArrowDownRight=At,a.ArrowDownRightFromCircle=_,a.ArrowDownRightFromSquare=N2,a.ArrowDownRightSquare=W2,a.ArrowDownSquare=E2,a.ArrowDownToDot=Ht,a.ArrowDownToLine=wt,a.ArrowDownUp=Vt,a.ArrowDownWideNarrow=C,a.ArrowDownZA=H,a.ArrowDownZa=H,a.ArrowLeft=Pt,a.ArrowLeftCircle=Q,a.ArrowLeftFromLine=Lt,a.ArrowLeftRight=ft,a.ArrowLeftSquare=X2,a.ArrowLeftToLine=kt,a.ArrowRight=zt,a.ArrowRightCircle=a1,a.ArrowRightFromLine=Bt,a.ArrowRightLeft=Ft,a.ArrowRightSquare=J2,a.ArrowRightToLine=Dt,a.ArrowUp=Wt,a.ArrowUp01=bt,a.ArrowUp10=Rt,a.ArrowUpAZ=A,a.ArrowUpAz=A,a.ArrowUpCircle=t1,a.ArrowUpDown=Tt,a.ArrowUpFromDot=Ut,a.ArrowUpFromLine=qt,a.ArrowUpLeft=Ot,a.ArrowUpLeftFromCircle=Y,a.ArrowUpLeftFromSquare=K2,a.ArrowUpLeftSquare=Y2,a.ArrowUpNarrowWide=w,a.ArrowUpRight=Zt,a.ArrowUpRightFromCircle=x,a.ArrowUpRightFromSquare=Q2,a.ArrowUpRightSquare=_2,a.ArrowUpSquare=x2,a.ArrowUpToLine=It,a.ArrowUpWideNarrow=Gt,a.ArrowUpZA=V,a.ArrowUpZa=V,a.ArrowsUpFromLine=Et,a.Asterisk=Xt,a.AsteriskSquare=a0,a.AtSign=jt,a.Atom=Qt,a.AudioLines=Nt,a.AudioWaveform=Kt,a.Award=Jt,a.Axe=Yt,a.Axis3D=S,a.Axis3d=S,a.Baby=_t,a.Backpack=xt,a.Badge=mh,a.BadgeAlert=ah,a.BadgeCent=th,a.BadgeCheck=L,a.BadgeDollarSign=hh,a.BadgeEuro=dh,a.BadgeHelp=f,a.BadgeIndianRupee=ch,a.BadgeInfo=Mh,a.BadgeJapaneseYen=ph,a.BadgeMinus=ih,a.BadgePercent=nh,a.BadgePlus=lh,a.BadgePoundSterling=eh,a.BadgeQuestionMark=f,a.BadgeRussianRuble=rh,a.BadgeSwissFranc=oh,a.BadgeTurkishLira=vh,a.BadgeX=$h,a.BaggageClaim=yh,a.Ban=sh,a.Banana=gh,a.Bandage=uh,a.Banknote=wh,a.BanknoteArrowDown=Ch,a.BanknoteArrowUp=Hh,a.BanknoteX=Ah,a.BarChart=G,a.BarChart2=I,a.BarChart3=O,a.BarChart4=U,a.BarChartBig=q,a.BarChartHorizontal=T,a.BarChartHorizontalBig=b,a.Barcode=Vh,a.Barrel=Sh,a.Baseline=Lh,a.Bath=fh,a.Batter
//# sourceMappingURL=lucide.min.js.map