youtuber-blog-frontend/build/client/_app/immutable/chunks/Icon.B73p7tCT.js
2024-05-29 21:16:25 +02:00

7 lines
3.2 KiB
JavaScript

import{s as j,c as H,y as g,G as q,F as k,H as B,f as F,i as c,I as v,k as N,l as P,u as w,g as D,a as J,C as K,E as S,z}from"./scheduler.ncJpckHt.js";import{S as L,i as M,t as O,a as Q}from"./index.DNKwBhZH.js";import{e as C}from"./each.C-Vm-bAH.js";import{g as G}from"./spread.CgU5AtxT.js";/**
* @license lucide-svelte v0.373.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R={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"},E=R;function I(n,e,o){const s=n.slice();return s[10]=e[o][0],s[11]=e[o][1],s}function b(n){let e,o=[n[11]],s={};for(let l=0;l<o.length;l+=1)s=g(s,o[l]);return{c(){e=q(n[10]),this.h()},l(l){e=B(l,n[10],{}),F(e).forEach(c),this.h()},h(){v(e,s)},m(l,a){N(l,e,a)},p(l,a){v(e,s=G(o,[a&32&&l[11]]))},d(l){l&&c(e)}}}function A(n){let e=n[10],o,s=n[10]&&b(n);return{c(){s&&s.c(),o=k()},l(l){s&&s.l(l),o=k()},m(l,a){s&&s.m(l,a),N(l,o,a)},p(l,a){l[10]?e?j(e,l[10])?(s.d(1),s=b(l),e=l[10],s.c(),s.m(o.parentNode,o)):s.p(l,a):(s=b(l),e=l[10],s.c(),s.m(o.parentNode,o)):e&&(s.d(1),s=null,e=l[10])},d(l){l&&c(o),s&&s.d(l)}}}function T(n){let e,o,s,l,a,f=C(n[5]),u=[];for(let t=0;t<f.length;t+=1)u[t]=A(I(n,f,t));const d=n[9].default,h=H(d,n,n[8],null);let m=[E,n[6],{width:n[2]},{height:n[2]},{stroke:n[1]},{"stroke-width":s=n[4]?Number(n[3])*24/Number(n[2]):n[3]},{class:l=`lucide-icon lucide lucide-${n[0]} ${n[7].class??""}`}],_={};for(let t=0;t<m.length;t+=1)_=g(_,m[t]);return{c(){e=q("svg");for(let t=0;t<u.length;t+=1)u[t].c();o=k(),h&&h.c(),this.h()},l(t){e=B(t,"svg",{width:!0,height:!0,stroke:!0,"stroke-width":!0,class:!0});var i=F(e);for(let r=0;r<u.length;r+=1)u[r].l(i);o=k(),h&&h.l(i),i.forEach(c),this.h()},h(){v(e,_)},m(t,i){N(t,e,i);for(let r=0;r<u.length;r+=1)u[r]&&u[r].m(e,null);P(e,o),h&&h.m(e,null),a=!0},p(t,[i]){if(i&32){f=C(t[5]);let r;for(r=0;r<f.length;r+=1){const W=I(t,f,r);u[r]?u[r].p(W,i):(u[r]=A(W),u[r].c(),u[r].m(e,o))}for(;r<u.length;r+=1)u[r].d(1);u.length=f.length}h&&h.p&&(!a||i&256)&&w(h,d,t,t[8],a?J(d,t[8],i,null):D(t[8]),null),v(e,_=G(m,[E,i&64&&t[6],(!a||i&4)&&{width:t[2]},(!a||i&4)&&{height:t[2]},(!a||i&2)&&{stroke:t[1]},(!a||i&28&&s!==(s=t[4]?Number(t[3])*24/Number(t[2]):t[3]))&&{"stroke-width":s},(!a||i&129&&l!==(l=`lucide-icon lucide lucide-${t[0]} ${t[7].class??""}`))&&{class:l}]))},i(t){a||(O(h,t),a=!0)},o(t){Q(h,t),a=!1},d(t){t&&c(e),K(u,t),h&&h.d(t)}}}function U(n,e,o){const s=["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"];let l=S(e,s),{$$slots:a={},$$scope:f}=e,{name:u}=e,{color:d="currentColor"}=e,{size:h=24}=e,{strokeWidth:m=2}=e,{absoluteStrokeWidth:_=!1}=e,{iconNode:t}=e;return n.$$set=i=>{o(7,e=g(g({},e),z(i))),o(6,l=S(e,s)),"name"in i&&o(0,u=i.name),"color"in i&&o(1,d=i.color),"size"in i&&o(2,h=i.size),"strokeWidth"in i&&o(3,m=i.strokeWidth),"absoluteStrokeWidth"in i&&o(4,_=i.absoluteStrokeWidth),"iconNode"in i&&o(5,t=i.iconNode),"$$scope"in i&&o(8,f=i.$$scope)},e=z(e),[u,d,h,m,_,t,l,e,f,a]}class y extends L{constructor(e){super(),M(this,e,U,T,j,{name:0,color:1,size:2,strokeWidth:3,absoluteStrokeWidth:4,iconNode:5})}}export{y as I};