kubai-icons 0.6.0 → 0.7.0
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/icons/camp-stove.js +4 -0
- package/dist/cdn/icons/campfire.js +2 -2
- package/dist/cdn/icons/carabiner.js +1 -0
- package/dist/cdn/icons/cloud-drizzle.js +2 -2
- package/dist/cdn/icons/cloud-fog.js +1 -1
- package/dist/cdn/icons/cloud-hail.js +2 -2
- package/dist/cdn/icons/cloud-lightning.js +2 -2
- package/dist/cdn/icons/cloud-moon.js +2 -2
- package/dist/cdn/icons/cloud-rain.js +2 -2
- package/dist/cdn/icons/cloud-snow.js +2 -2
- package/dist/cdn/icons/cooler.js +3 -0
- package/dist/cdn/icons/flame.js +2 -2
- package/dist/cdn/icons/flower-tulip-heart.js +3 -3
- package/dist/cdn/icons/flower-tulip.js +3 -3
- package/dist/cdn/icons/hammock.js +3 -0
- package/dist/cdn/icons/jump-rope.js +2 -2
- package/dist/cdn/icons/lantern.js +6 -0
- package/dist/cdn/icons/leaf.js +1 -1
- package/dist/cdn/icons/matchbox.js +2 -0
- package/dist/cdn/icons/moon-clock.js +2 -2
- package/dist/cdn/icons/moon-star.js +3 -3
- package/dist/cdn/icons/moon.js +2 -2
- package/dist/cdn/icons/picnic-basket.js +3 -0
- package/dist/cdn/icons/sleeping-bag.js +3 -0
- package/dist/cdn/icons/snowflake.js +2 -2
- package/dist/cdn/icons/sprout.js +3 -3
- package/dist/cdn/icons/sunflower-heart.js +2 -2
- package/dist/cdn/icons/sunflower.js +2 -2
- package/dist/cdn/icons/thermos.js +3 -0
- package/dist/cdn/icons/tree-palm.js +2 -2
- package/dist/defs/_weather-nature.js +2 -2
- package/dist/defs/camp-stove.js +4 -0
- package/dist/defs/carabiner.js +1 -0
- package/dist/defs/cooler.js +3 -0
- package/dist/defs/flame.js +2 -2
- package/dist/defs/hammock.js +3 -0
- package/dist/defs/lantern.js +6 -0
- package/dist/defs/matchbox.js +2 -0
- package/dist/defs/picnic-basket.js +3 -0
- package/dist/defs/sleeping-bag.js +3 -0
- package/dist/defs/thermos.js +3 -0
- package/dist/dynamic.d.ts +9 -0
- package/dist/dynamic.js +9 -0
- package/dist/icons/camp-stove.js +1 -0
- package/dist/icons/carabiner.js +1 -0
- package/dist/icons/cooler.js +1 -0
- package/dist/icons/hammock.js +1 -0
- package/dist/icons/lantern.js +1 -0
- package/dist/icons/matchbox.js +1 -0
- package/dist/icons/picnic-basket.js +1 -0
- package/dist/icons/sleeping-bag.js +1 -0
- package/dist/icons/thermos.js +1 -0
- package/dist/icons.json +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{defineIcon as u,KR as g,f as $,OL as k,WHITES as Q,rp as m,rr as _,at as c,wave as L,clamp01 as M}from"../element.js";import{f as O,OL as p,rp as Z}from"../element.js";var n=(r,t,o,i,{sh:l=!0,hi:s=!0,extra:f=""}={})=>{let e=`<g data-n="${t}"><path d="${o}" fill="${i}"/></g>`;return s&&(e=`<g filter="${r.hi}">${e}</g>`),l&&(e=`<g filter="${r.sh}">${e}</g>`),`${e}<g data-n="${t}O"><path d="${o}" ${p}/>${f}</g>`};import{f as a,OL as G,rp as P,cloud as R,frontPiece as U,clamp01 as A}from"../element.js";var h=(r,t,o,i)=>`M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 ${a(o)} ${a(i)}C${a(o+.9)} ${a(i+2.6)} 11 12.6 12.6 13C12.2 8.8 ${a(r-3.4)} ${a(t+4.4)} ${a(r)} ${a(t)}C${a(r+1.4)} ${a(t+4.6)} 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z`;var y=_(9.2,14.4,12.6,9.6,g),v=_(13,10.8,5,2.6,1.2),x=m([[6.4,4.4],[8.8,4.4],[8.8,7.4],[22.2,7.4],[22.2,4.4],[24.6,4.4],[24.6,9.8],[6.4,9.8]],[1.2,1.2,.4,.4,1.2,1.2,1.2,1.2]),S=6.4,K=.3,d=u({name:"camp-stove",category:"travel",tags:["camping stove","gas stove","burner","cooking","camping","outdoor","fire"],svg:r=>`<g filter="${r.sh}"><g filter="${r.hi}"><path data-n="fl" fill="${r.loS}"/></g></g><path data-n="flO" stroke-linejoin="round" ${k}/>
|
|
2
|
+
${n(r,"v",v,r.upS,{sh:!1})}
|
|
3
|
+
${n(r,"c",y,r.loS,{extra:`<path d="M12.4 18.2H18.6" fill="none" stroke-width="1.6" stroke-linecap="round" ${Q}/>`})}
|
|
4
|
+
${n(r,"b",x,r.upS)}`,target:r=>({o:r?1:0}),draw(r,t){let o=M(r.o),i=f=>L(o,e=>(1-e)*Math.sin(3*Math.PI*e-f)),l=K*r.o,s=l<.01?{d:""}:{d:h(16.6+2.8*i(0),1.2,9+1.6*i(1.2),8.6),transform:`translate(15.5 ${S}) scale(${$(l)}) translate(-15.5 -23.8)`};c(t.fl,s),c(t.flO,s)}});import{icon as w}from"../element.js";var D=w("camp-stove",'<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="" 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="M13 12Q13 10.8 14.2 10.8L16.8 10.8Q18 10.8 18 12L18 12.2Q18 13.4 16.8 13.4L14.2 13.4Q13 13.4 13 12.2Z" 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="M9.2 16.6Q9.2 14.4 11.4 14.4L19.6 14.4Q21.8 14.4 21.8 16.6L21.8 21.8Q21.8 24 19.6 24L11.4 24Q9.2 24 9.2 21.8Z" fill="#000"/></mask><mask id="ol-__K__-3" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.4 5.6Q6.4 4.4 7.6 4.4L7.6 4.4Q8.8 4.4 8.8 5.6L8.8 7Q8.8 7.4 9.2 7.4L21.8 7.4Q22.2 7.4 22.2 7L22.2 5.6Q22.2 4.4 23.4 4.4L23.4 4.4Q24.6 4.4 24.6 5.6L24.6 8.6Q24.6 9.8 23.4 9.8L7.6 9.8Q6.4 9.8 6.4 8.6Z" fill="#000"/></mask></defs><path d="" fill="none" stroke-width="1" stroke-linejoin="round" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path data-n="fl" fill="url(#loS-__K__)" d="" data-over="0"/></g></g><path data-n="flO" stroke-linejoin="round" d="" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><g data-n="v"><path d="M13 12Q13 10.8 14.2 10.8L16.8 10.8Q18 10.8 18 12L18 12.2Q18 13.4 16.8 13.4L14.2 13.4Q13 13.4 13 12.2Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><path d="M13 12Q13 10.8 14.2 10.8L16.8 10.8Q18 10.8 18 12L18 12.2Q18 13.4 16.8 13.4L14.2 13.4Q13 13.4 13 12.2Z" fill="url(#upS-__K__)" data-over="1"/></g></g><g data-n="vO"><path d="M13 12Q13 10.8 14.2 10.8L16.8 10.8Q18 10.8 18 12L18 12.2Q18 13.4 16.8 13.4L14.2 13.4Q13 13.4 13 12.2Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="c"><path d="M9.2 16.6Q9.2 14.4 11.4 14.4L19.6 14.4Q21.8 14.4 21.8 16.6L21.8 21.8Q21.8 24 19.6 24L11.4 24Q9.2 24 9.2 21.8Z" fill="none" stroke-width="1" data-under="2" stroke="url(#loS-__K__)"/><path d="M9.2 16.6Q9.2 14.4 11.4 14.4L19.6 14.4Q21.8 14.4 21.8 16.6L21.8 21.8Q21.8 24 19.6 24L11.4 24Q9.2 24 9.2 21.8Z" fill="url(#loS-__K__)" data-over="2"/></g></g></g><g data-n="cO"><path d="M9.2 16.6Q9.2 14.4 11.4 14.4L19.6 14.4Q21.8 14.4 21.8 16.6L21.8 21.8Q21.8 24 19.6 24L11.4 24Q9.2 24 9.2 21.8Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M12.4 18.2H18.6" fill="none" stroke-width="1.6" stroke-linecap="round" style="stroke:var(--ki-w,#fff)"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="b"><path d="M6.4 5.6Q6.4 4.4 7.6 4.4L7.6 4.4Q8.8 4.4 8.8 5.6L8.8 7Q8.8 7.4 9.2 7.4L21.8 7.4Q22.2 7.4 22.2 7L22.2 5.6Q22.2 4.4 23.4 4.4L23.4 4.4Q24.6 4.4 24.6 5.6L24.6 8.6Q24.6 9.8 23.4 9.8L7.6 9.8Q6.4 9.8 6.4 8.6Z" fill="none" stroke-width="1" data-under="3" stroke="url(#upS-__K__)"/><path d="M6.4 5.6Q6.4 4.4 7.6 4.4L7.6 4.4Q8.8 4.4 8.8 5.6L8.8 7Q8.8 7.4 9.2 7.4L21.8 7.4Q22.2 7.4 22.2 7L22.2 5.6Q22.2 4.4 23.4 4.4L23.4 4.4Q24.6 4.4 24.6 5.6L24.6 8.6Q24.6 9.8 23.4 9.8L7.6 9.8Q6.4 9.8 6.4 8.6Z" fill="url(#upS-__K__)" data-over="3"/></g></g></g><g data-n="bO"><path d="M6.4 5.6Q6.4 4.4 7.6 4.4L7.6 4.4Q8.8 4.4 8.8 5.6L8.8 7Q8.8 7.4 9.2 7.4L21.8 7.4Q22.2 7.4 22.2 7L22.2 5.6Q22.2 4.4 23.4 4.4L23.4 4.4Q24.6 4.4 24.6 5.6L24.6 8.6Q24.6 9.8 23.4 9.8L7.6 9.8Q6.4 9.8 6.4 8.6Z" mask="url(#ol-__K__-3)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',d.target,d.draw,0);export{D as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{defineIcon as k,OL as M,clamp01 as C,at as
|
|
1
|
+
import{defineIcon as k,OL as M,clamp01 as C,at as d,wave as _}from"../element.js";import{f as p,OL as L,rp as u,cloud as Q,frontPiece as x,clamp01 as v}from"../element.js";function f(a,r,o,i,t){let e=Math.hypot(o-a,i-r)||1e-6,l=(i-r)/e*t/2,s=-(o-a)/e*t/2;return u([[a+l,r+s],[o+l,i+s],[o-l,i-s],[a-l,r-s]],t/2,!0)}function n(a,r,o,i=0){let t=s=>p(15.5+s),e=s=>p(a+s),l=i;return`M${t(0)} ${e(0)}C${t(-r*.57)} ${e(0)} ${t(-r)} ${e(-o*.15)} ${t(-r)} ${e(-o*.36)}C${t(-r)} ${e(-o*.6)} ${t(l-r*.42)} ${e(-o*.74)} ${t(l)} ${e(-o)}C${t(l+r*.24)} ${e(-o*.8)} ${t(r)} ${e(-o*.62)} ${t(r)} ${e(-o*.36)}C${t(r)} ${e(-o*.15)} ${t(r*.57)} ${e(0)} ${t(0)} ${e(0)}Z`}import{KR as g,f as Z,OL as $,circ as O,rr as m,poly as I,arrow as P,at as b,clamp01 as G}from"../element.js";var h=(a,r,o,i)=>`<g filter="${a.hi}"><path d="${r}" fill="${o}"${i?` data-n="${i}"`:""}/></g><path d="${r}" ${$}${i?` data-n="${i}O"`:""}/>`;var R=m(5.2,2.2,20.6,20.6,g);var c=k({name:"campfire",category:"travel",tags:["bonfire","camping","fire","outdoor","camp","warmth"],svg:a=>`<g filter="${a.sh}"><g filter="${a.hi}"><path data-n="fl" fill="${a.loS}"/></g></g><path data-n="flO" stroke-linejoin="round" ${M}/>
|
|
2
2
|
<g filter="${a.hi}"><path data-n="co" fill="${a.upS}"/></g>
|
|
3
3
|
${h(a,f(5.2,22,25.8,16.8,3.2),a.upS)}
|
|
4
|
-
${h(a,f(5.2,16.8,25.8,22,3.2),a.upS)}`,target:a=>({o:a?1:0}),draw(a,r){let o=C(a.o),i=l=>_(o,s=>(1-s)*Math.sin(3*Math.PI*s-l)),t=1.4*_(o,l=>(1-l)*Math.abs(Math.sin(3*Math.PI*l))),e=n(19.4,6.6,17.4+t,2.4*i(0));
|
|
4
|
+
${h(a,f(5.2,16.8,25.8,22,3.2),a.upS)}`,target:a=>({o:a?1:0}),draw(a,r){let o=C(a.o),i=l=>_(o,s=>(1-s)*Math.sin(3*Math.PI*s-l)),t=1.4*_(o,l=>(1-l)*Math.abs(Math.sin(3*Math.PI*l))),e=n(19.4,6.6,17.4+t,2.4*i(0));d(r.fl,{d:e}),d(r.flO,{d:e}),d(r.co,{d:n(19.4,3.4,9.4+t*.6,1.6*i(.8))})}});import{icon as y}from"../element.js";var N=y("campfire",'<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="M15.5 19.4C11.738 19.4 8.9 16.79 8.9 13.136C8.9 8.96 12.728 6.524 15.5 2C17.084 5.48 22.1 8.612 22.1 13.136C22.1 16.79 19.262 19.4 15.5 19.4Z" 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="M5.2 22Q4.808 20.449 6.36 20.057L23.857 15.64Q25.408 15.249 25.8 16.8L25.8 16.8Q26.192 18.351 24.64 18.743L7.143 23.16Q5.592 23.551 5.2 22Z" 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="M5.2 16.8Q5.592 15.249 7.143 15.64L24.64 20.057Q26.192 20.449 25.8 22L25.8 22Q25.408 23.551 23.857 23.16L6.36 18.743Q4.808 18.351 5.2 16.8Z" fill="#000"/></mask></defs><path d="M15.5 19.4C11.738 19.4 8.9 16.79 8.9 13.136C8.9 8.96 12.728 6.524 15.5 2C17.084 5.48 22.1 8.612 22.1 13.136C22.1 16.79 19.262 19.4 15.5 19.4Z" fill="none" stroke-width="1" stroke-linejoin="round" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path data-n="fl" fill="url(#loS-__K__)" d="M15.5 19.4C11.738 19.4 8.9 16.79 8.9 13.136C8.9 8.96 12.728 6.524 15.5 2C17.084 5.48 22.1 8.612 22.1 13.136C22.1 16.79 19.262 19.4 15.5 19.4Z" data-over="0"/></g></g><path data-n="flO" stroke-linejoin="round" d="M15.5 19.4C11.738 19.4 8.9 16.79 8.9 13.136C8.9 8.96 12.728 6.524 15.5 2C17.084 5.48 22.1 8.612 22.1 13.136C22.1 16.79 19.262 19.4 15.5 19.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><path data-n="co" fill="url(#upS-__K__)" d="M15.5 19.4C13.562 19.4 12.1 17.99 12.1 16.016C12.1 13.76 12.924 12.444 14.352 10C15.168 11.88 18.9 13.572 18.9 16.016C18.9 17.99 17.438 19.4 15.5 19.4Z"/></g><path d="M5.2 22Q4.808 20.449 6.36 20.057L23.857 15.64Q25.408 15.249 25.8 16.8L25.8 16.8Q26.192 18.351 24.64 18.743L7.143 23.16Q5.592 23.551 5.2 22Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M5.2 22Q4.808 20.449 6.36 20.057L23.857 15.64Q25.408 15.249 25.8 16.8L25.8 16.8Q26.192 18.351 24.64 18.743L7.143 23.16Q5.592 23.551 5.2 22Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M5.2 22Q4.808 20.449 6.36 20.057L23.857 15.64Q25.408 15.249 25.8 16.8L25.8 16.8Q26.192 18.351 24.64 18.743L7.143 23.16Q5.592 23.551 5.2 22Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M5.2 16.8Q5.592 15.249 7.143 15.64L24.64 20.057Q26.192 20.449 25.8 22L25.8 22Q25.408 23.551 23.857 23.16L6.36 18.743Q4.808 18.351 5.2 16.8Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M5.2 16.8Q5.592 15.249 7.143 15.64L24.64 20.057Q26.192 20.449 25.8 22L25.8 22Q25.408 23.551 23.857 23.16L6.36 18.743Q4.808 18.351 5.2 16.8Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M5.2 16.8Q5.592 15.249 7.143 15.64L24.64 20.057Q26.192 20.449 25.8 22L25.8 22Q25.408 23.551 23.857 23.16L6.36 18.743Q4.808 18.351 5.2 16.8Z" 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{N as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineIcon as c,f as p,rr as _}from"../element.js";import{f as V,OL as h,rp as y}from"../element.js";var i=(r,t,a,e,{sh:f=!0,hi:d=!0,extra:g=""}={})=>{let o=`<g data-n="${t}"><path d="${a}" fill="${e}"/></g>`;return d&&(o=`<g filter="${r.hi}">${o}</g>`),f&&(o=`<g filter="${r.sh}">${o}</g>`),`${o}<g data-n="${t}O"><path d="${a}" ${h}/>${g}</g>`},s=(r,t,a)=>t.forEach(e=>{r[e]&&r[e].setAttribute("transform",a),r[e+"O"]&&r[e+"O"].setAttribute("transform",a)});var u="M21.8 9V7.3A6.3 6.3 0 0 0 9.2 7.3V17.7A6.3 6.3 0 0 0 21.8 17.7V16H19.2V17.7A3.7 3.7 0 0 1 11.8 17.7V7.3A3.7 3.7 0 0 1 19.2 7.3V9Z",$=_(19.2,8.6,2.6,7.8,1.3),n=[20.5,9.9],l=c({name:"carabiner",category:"travel",tags:["carabiner","clip","climbing","hook","keyring","outdoor","gear"],svg:r=>`${i(r,"ring",u,r.loS)}${i(r,"g",$,r.upS,{sh:!1})}`,target:r=>({a:r?28:0}),draw(r,t){s(t,["g"],r.a?`rotate(${p(r.a)} ${n[0]} ${n[1]})`:"")}});import{icon as k}from"../element.js";var w=k("carabiner",'<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="M21.8 9V7.3A6.3 6.3 0 0 0 9.2 7.3V17.7A6.3 6.3 0 0 0 21.8 17.7V16H19.2V17.7A3.7 3.7 0 0 1 11.8 17.7V7.3A3.7 3.7 0 0 1 19.2 7.3V9Z" 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="M19.2 9.9Q19.2 8.6 20.5 8.6L20.5 8.6Q21.8 8.6 21.8 9.9L21.8 15.1Q21.8 16.4 20.5 16.4L20.5 16.4Q19.2 16.4 19.2 15.1Z" fill="#000"/></mask></defs><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="ring"><path d="M21.8 9V7.3A6.3 6.3 0 0 0 9.2 7.3V17.7A6.3 6.3 0 0 0 21.8 17.7V16H19.2V17.7A3.7 3.7 0 0 1 11.8 17.7V7.3A3.7 3.7 0 0 1 19.2 7.3V9Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><path d="M21.8 9V7.3A6.3 6.3 0 0 0 9.2 7.3V17.7A6.3 6.3 0 0 0 21.8 17.7V16H19.2V17.7A3.7 3.7 0 0 1 11.8 17.7V7.3A3.7 3.7 0 0 1 19.2 7.3V9Z" fill="url(#loS-__K__)" data-over="0"/></g></g></g><g data-n="ringO"><path d="M21.8 9V7.3A6.3 6.3 0 0 0 9.2 7.3V17.7A6.3 6.3 0 0 0 21.8 17.7V16H19.2V17.7A3.7 3.7 0 0 1 11.8 17.7V7.3A3.7 3.7 0 0 1 19.2 7.3V9Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#hi-__K__)"><g data-n="g" transform=""><path d="M19.2 9.9Q19.2 8.6 20.5 8.6L20.5 8.6Q21.8 8.6 21.8 9.9L21.8 15.1Q21.8 16.4 20.5 16.4L20.5 16.4Q19.2 16.4 19.2 15.1Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><path d="M19.2 9.9Q19.2 8.6 20.5 8.6L20.5 8.6Q21.8 8.6 21.8 9.9L21.8 15.1Q21.8 16.4 20.5 16.4L20.5 16.4Q19.2 16.4 19.2 15.1Z" fill="url(#upS-__K__)" data-over="1"/></g></g><g data-n="gO" transform=""><path d="M19.2 9.9Q19.2 8.6 20.5 8.6L20.5 8.6Q21.8 8.6 21.8 9.9L21.8 15.1Q21.8 16.4 20.5 16.4L20.5 16.4Q19.2 16.4 19.2 15.1Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',l.target,l.draw,0);export{w as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as m,f as s,DEEPS as
|
|
2
|
-
<g filter="${r.hi}"><path d="${
|
|
1
|
+
import{defineIcon as m,f as s,DEEPS as $,clamp01 as g,at as y}from"../element.js";import{f as C,OL as c,rp as v,cloud as u,frontPiece as _,clamp01 as k}from"../element.js";var i={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function d(r,o="",t=""){let a=u(i.L,i.T,i.Rc),e=_(i.L,i.Rc,i.chord,2);return`${o}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${a}" fill="${r.loS}"/></g></g><path d="${a}" ${c}/>
|
|
2
|
+
<g filter="${r.hi}"><path d="${e}" fill="${r.upS}"/></g><path d="${e}" ${c}/>${t}`}function h(r,o,t=12.4,a=3){let e=o+a-t,l=((o-t)/e+r)%1,f=t+l*e;return{dy:f-o,op:k(1-Math.max(0,f-o)/a)}}var p=[[10,20.8],[15.5,22.8],[21,20.8]],n=m({name:"cloud-drizzle",category:"weather",tags:["drizzle","light rain","shower","weather"],svg:r=>d(r,p.map(([o,t],a)=>`<path data-n="d${a}" d="M${s(o)} ${s(t-.6)}V${s(t+.6)}" fill="none" stroke-width="2.8" stroke-linecap="round" ${$}/>`).join("")),target:r=>({o:r?1:0}),draw(r,o){let t=g(r.o);p.forEach(([,a],e)=>{let l=h(t,a);y(o[`d${e}`],{transform:`translate(0 ${s(l.dy)})`,opacity:s(l.op)})})}});import{icon as M}from"../element.js";var L=M("cloud-drizzle",'<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="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" 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="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><path data-n="d0" d="M10 20.2V21.4" fill="none" stroke-width="2.8" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="d1" d="M15.5 22.2V23.4" fill="none" stroke-width="2.8" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="d2" d="M21 20.2V21.4" fill="none" stroke-width="2.8" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',n.target,n.draw,0);export{L as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{defineIcon as p,f as t,DEEPS as n,at as c}from"../element.js";import{f as g,OL as l,rp as m,cloud as h,frontPiece as u,clamp01 as
|
|
1
|
+
import{defineIcon as p,f as t,DEEPS as n,at as c}from"../element.js";import{f as g,OL as l,rp as m,cloud as h,frontPiece as u,clamp01 as $}from"../element.js";var o={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function f(r,e="",d=""){let i=h(o.L,o.T,o.Rc),s=u(o.L,o.Rc,o.chord,2);return`${e}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${i}" fill="${r.loS}"/></g></g><path d="${i}" ${l}/>
|
|
2
2
|
<g filter="${r.hi}"><path d="${s}" fill="${r.upS}"/></g><path d="${s}" ${l}/>${d}`}var a=p({name:"cloud-fog",category:"weather",tags:["fog","mist","haze","foggy","weather"],svg:r=>f(r,`<path data-n="f1" fill="none" stroke-width="2.8" stroke-linecap="round" ${n}/>
|
|
3
3
|
<path data-n="f2" fill="none" stroke-width="2.8" stroke-linecap="round" ${n}/>`),target:r=>({s:r?3.6:0}),draw(r,e){c(e.f1,{d:`M${t(5.4-r.s)} 20.8H${t(19.4-r.s)}`}),c(e.f2,{d:`M${t(11.6+r.s)} 24.8H${t(25.6+r.s)}`})}});import{icon as _}from"../element.js";var S=_("cloud-fog",'<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="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" 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="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><path data-n="f1" fill="none" stroke-width="2.8" stroke-linecap="round" d="M5.4 20.8H19.4" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="f2" fill="none" stroke-width="2.8" stroke-linecap="round" d="M11.6 24.8H25.6" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',a.target,a.draw,0);export{S as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as m,f as d,OL as A,circ as c,clamp01 as
|
|
2
|
-
<g filter="${r.hi}"><path d="${o}" fill="${r.upS}"/></g><path d="${o}" ${n}/>${a}`}function h(r,t,a=12.4,e=3){let o=t+e-a,l=((t-a)/o+r)%1,f=a+l*o;return{dy:f-t,op:g(1-Math.max(0,f-t)/e)}}var p=[[9.8,21.2],[15.5,23.6],[21.2,21.2]],s=m({name:"cloud-hail",category:"weather",tags:["hail","sleet","ice","storm","weather"],svg:r=>_(r,p.map(([t,a],e)=>`<g data-n="d${e}"><g filter="${r.hi}"><path d="${c(t,a,2.1)}" fill="${r.upS}"/></g><path d="${c(t,a,2.1)}" ${A}/></g>`).join("")),target:r=>({o:r?1:0}),draw(r,t){let a=
|
|
1
|
+
import{defineIcon as m,f as d,OL as A,circ as c,clamp01 as M,at as y}from"../element.js";import{f as K,OL as n,rp as S,cloud as u,frontPiece as k,clamp01 as g}from"../element.js";var i={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function _(r,t="",a=""){let e=u(i.L,i.T,i.Rc),o=k(i.L,i.Rc,i.chord,2);return`${t}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${e}" fill="${r.loS}"/></g></g><path d="${e}" ${n}/>
|
|
2
|
+
<g filter="${r.hi}"><path d="${o}" fill="${r.upS}"/></g><path d="${o}" ${n}/>${a}`}function h(r,t,a=12.4,e=3){let o=t+e-a,l=((t-a)/o+r)%1,f=a+l*o;return{dy:f-t,op:g(1-Math.max(0,f-t)/e)}}var p=[[9.8,21.2],[15.5,23.6],[21.2,21.2]],s=m({name:"cloud-hail",category:"weather",tags:["hail","sleet","ice","storm","weather"],svg:r=>_(r,p.map(([t,a],e)=>`<g data-n="d${e}"><g filter="${r.hi}"><path d="${c(t,a,2.1)}" fill="${r.upS}"/></g><path d="${c(t,a,2.1)}" ${A}/></g>`).join("")),target:r=>({o:r?1:0}),draw(r,t){let a=M(r.o);p.forEach(([,e],o)=>{let l=h(a,e);y(t[`d${o}`],{transform:`translate(0 ${d(l.dy)})`,opacity:d(l.op)})})}});import{icon as $}from"../element.js";var U=$("cloud-hail",'<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="M7.7 21.2A2.1 2.1 0 1 0 11.9 21.2A2.1 2.1 0 1 0 7.7 21.2Z" 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="M13.4 23.6A2.1 2.1 0 1 0 17.6 23.6A2.1 2.1 0 1 0 13.4 23.6Z" 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="M19.1 21.2A2.1 2.1 0 1 0 23.3 21.2A2.1 2.1 0 1 0 19.1 21.2Z" fill="#000"/></mask><mask id="ol-__K__-3" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="#000"/></mask><mask id="ol-__K__-4" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><g data-n="d0" transform="translate(0 0)" opacity="1"><path d="M7.7 21.2A2.1 2.1 0 1 0 11.9 21.2A2.1 2.1 0 1 0 7.7 21.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M7.7 21.2A2.1 2.1 0 1 0 11.9 21.2A2.1 2.1 0 1 0 7.7 21.2Z" fill="url(#upS-__K__)" data-over="0"/></g><path d="M7.7 21.2A2.1 2.1 0 1 0 11.9 21.2A2.1 2.1 0 1 0 7.7 21.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="d1" transform="translate(0 0)" opacity="1"><path d="M13.4 23.6A2.1 2.1 0 1 0 17.6 23.6A2.1 2.1 0 1 0 13.4 23.6Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M13.4 23.6A2.1 2.1 0 1 0 17.6 23.6A2.1 2.1 0 1 0 13.4 23.6Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M13.4 23.6A2.1 2.1 0 1 0 17.6 23.6A2.1 2.1 0 1 0 13.4 23.6Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="d2" transform="translate(0 0)" opacity="1"><path d="M19.1 21.2A2.1 2.1 0 1 0 23.3 21.2A2.1 2.1 0 1 0 19.1 21.2Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M19.1 21.2A2.1 2.1 0 1 0 23.3 21.2A2.1 2.1 0 1 0 19.1 21.2Z" fill="url(#upS-__K__)" data-over="2"/></g><path d="M19.1 21.2A2.1 2.1 0 1 0 23.3 21.2A2.1 2.1 0 1 0 19.1 21.2Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="3" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="3"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-3)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="4" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="4"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-4)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',s.target,s.draw,0);export{U as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as d,f as n,DEEP as p,rp as u,clamp01 as _,at as m,wave as g,bump as M}from"../element.js";import{f as x,OL as l,rp as
|
|
2
|
-
<g filter="${r.hi}"><path d="${t}" fill="${r.upS}"/></g><path d="${t}" ${l}/>${a}`}var
|
|
1
|
+
import{defineIcon as d,f as n,DEEP as p,rp as u,clamp01 as _,at as m,wave as g,bump as M}from"../element.js";import{f as x,OL as l,rp as C,cloud as c,frontPiece as h,clamp01 as A}from"../element.js";var o={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function f(r,i="",a=""){let e=c(o.L,o.T,o.Rc),t=h(o.L,o.Rc,o.chord,2);return`${i}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${e}" fill="${r.loS}"/></g></g><path d="${e}" ${l}/>
|
|
2
|
+
<g filter="${r.hi}"><path d="${t}" fill="${r.upS}"/></g><path d="${t}" ${l}/>${a}`}var $=u([[16.2,9.2],[9.6,18],[14.2,18],[12.2,26.2],[21.6,15],[16.8,15],[19.8,9.2]],[.5,.6,.4,.6,.6,.4,.5]),s=d({name:"cloud-lightning",category:"weather",tags:["thunder","storm","lightning","thunderstorm","weather"],svg:r=>f(r,"",`<path data-n="bolt" d="${$}" ${p}/>`),target:r=>({o:r?1:0}),draw(r,i){let a=_(r.o),e=g(a,t=>(1-t)*Math.abs(Math.sin(3*Math.PI*t)));m(i.bolt,{opacity:n(1-.85*e),transform:`translate(0 ${n(1.2*M(a))})`})}});import{icon as y}from"../element.js";var Z=y("cloud-lightning",'<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="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" 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="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path data-n="bolt" d="M16.7 9.2Q16.2 9.2 15.9 9.6L9.96 17.52Q9.6 18 10.2 18L13.8 18Q14.2 18 14.105 18.389L12.342 25.617Q12.2 26.2 12.586 25.74L21.214 15.46Q21.6 15 21 15L17.2 15Q16.8 15 16.984 14.645L19.57 9.644Q19.8 9.2 19.3 9.2Z" opacity="1" transform="translate(0 0)" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/>',s.target,s.draw,0);export{Z as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as
|
|
2
|
-
<g data-n="cl"><g filter="${r.sh}"><g filter="${r.hi}"><path d="${
|
|
1
|
+
import{defineIcon as y,f as h,OL as g,cloud as x,at as m}from"../element.js";import{f as s,OL as S,rp as v,cloud as K,frontPiece as w,clamp01 as Z}from"../element.js";var c=(r,o)=>Math.atan2(o[1]-r[1],o[0]-r[0]),u=(r,o)=>{let t=o-r;for(;t<0;)t+=Math.PI*2;for(;t>=Math.PI*2;)t-=Math.PI*2;return t};function _(r,o,t,i){let e=u(c(r,o),c(r,t)),a=u(c(r,o),c(r,i))<e?1:0,l=a?e:Math.PI*2-e;return`A${s(r[2])} ${s(r[2])} 0 ${l>Math.PI?1:0} ${a} ${s(t[0])} ${s(t[1])}`}function k(r,o){let t=o[0]-r[0],i=o[1]-r[1],e=Math.hypot(t,i),a=(r[2]*r[2]-o[2]*o[2]+e*e)/(2*e),l=Math.sqrt(Math.max(0,r[2]*r[2]-a*a)),n=r[0]+t*a/e,f=r[1]+i*a/e;return[[n+l*i/e,f-l*t/e],[n-l*i/e,f+l*t/e]]}function p(r,o){let[t,i]=k(r,o),e=Math.hypot(o[0]-r[0],o[1]-r[1]),a=(o[0]-r[0])/e,l=(o[1]-r[1])/e,n=[r[0]-a*r[2],r[1]-l*r[2]],f=[o[0]-a*o[2],o[1]-l*o[2]];return`M${s(t[0])} ${s(t[1])}${_(r,t,i,n)}${_(o,i,t,f)}Z`}var $=p([10.4,10,6.6],[14.6,6.2,5.6]),M=x([12.6,16.6,4.4],[18.2,12.6,5.8],[23,17,4]),d=y({name:"cloud-moon",category:"weather",tags:["night","cloudy night","partly cloudy","moon","cloud","weather"],svg:r=>`<g data-n="moon"><g filter="${r.sh}"><g filter="${r.hi}"><path d="${$}" fill="${r.loS}"/></g></g><path d="${$}" stroke-linejoin="round" ${g}/></g>
|
|
2
|
+
<g data-n="cl"><g filter="${r.sh}"><g filter="${r.hi}"><path d="${M}" fill="${r.upS}"/></g></g><path d="${M}" ${g}/></g>`,target:r=>({moon:r?[-1,-1.6]:[0,0],cl:r?1.2:0}),draw(r,o){m(o.moon,{transform:`translate(${h(r.moon[0])} ${h(r.moon[1])})`}),m(o.cl,{transform:`translate(${h(r.cl)} 0)`})}});import{icon as C}from"../element.js";var b=C("cloud-moon",'<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="M9.731 3.434A6.6 6.6 0 1 0 16.866 11.321A5.6 5.6 0 0 1 9.731 3.434Z" 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.6 21A4.4 4.4 0 0 1 12.414 12.204A5.8 5.8 0 1 1 23.977 13.121A4 4 0 0 1 23 21Z" fill="#000"/></mask></defs><g data-n="moon" transform="translate(0 0)"><path d="M9.731 3.434A6.6 6.6 0 1 0 16.866 11.321A5.6 5.6 0 0 1 9.731 3.434Z" fill="none" stroke-width="1" stroke-linejoin="round" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M9.731 3.434A6.6 6.6 0 1 0 16.866 11.321A5.6 5.6 0 0 1 9.731 3.434Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M9.731 3.434A6.6 6.6 0 1 0 16.866 11.321A5.6 5.6 0 0 1 9.731 3.434Z" stroke-linejoin="round" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g data-n="cl" transform="translate(0 0)"><path d="M12.6 21A4.4 4.4 0 0 1 12.414 12.204A5.8 5.8 0 1 1 23.977 13.121A4 4 0 0 1 23 21Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M12.6 21A4.4 4.4 0 0 1 12.414 12.204A5.8 5.8 0 1 1 23.977 13.121A4 4 0 0 1 23 21Z" fill="url(#upS-__K__)" data-over="1"/></g></g><path d="M12.6 21A4.4 4.4 0 0 1 12.414 12.204A5.8 5.8 0 1 1 23.977 13.121A4 4 0 0 1 23 21Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',d.target,d.draw,0);export{b as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as m,f as i,DEEPS as
|
|
2
|
-
<g filter="${r.hi}"><path d="${e}" fill="${r.upS}"/></g><path d="${e}" ${c}/>${
|
|
1
|
+
import{defineIcon as m,f as i,DEEPS as $,clamp01 as y,at as M}from"../element.js";import{f as C,OL as c,rp as v,cloud as u,frontPiece as _,clamp01 as k}from"../element.js";var s={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function d(r,o="",a=""){let t=u(s.L,s.T,s.Rc),e=_(s.L,s.Rc,s.chord,2);return`${o}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${t}" fill="${r.loS}"/></g></g><path d="${t}" ${c}/>
|
|
2
|
+
<g filter="${r.hi}"><path d="${e}" fill="${r.upS}"/></g><path d="${e}" ${c}/>${a}`}function h(r,o,a=12.4,t=3){let e=o+t-a,l=((o-a)/e+r)%1,f=a+l*e;return{dy:f-o,op:k(1-Math.max(0,f-o)/t)}}var p=[[10.2,21.6],[15.6,22.6],[21,21.6]],n=m({name:"cloud-rain",category:"weather",tags:["rain","rainy","shower","weather"],svg:r=>d(r,p.map(([o,a],t)=>`<path data-n="d${t}" d="M${i(o+1)} ${i(a-2.1)}L${i(o-1)} ${i(a+2.1)}" fill="none" stroke-width="2.6" stroke-linecap="round" ${$}/>`).join("")),target:r=>({o:r?1:0}),draw(r,o){let a=y(r.o);p.forEach(([,t],e)=>{let l=h(a,t);M(o[`d${e}`],{transform:`translate(${i(-.47*l.dy)} ${i(l.dy)})`,opacity:i(l.op)})})}});import{icon as g}from"../element.js";var G=g("cloud-rain",'<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="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" 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="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><path data-n="d0" d="M11.2 19.5L9.2 23.7" fill="none" stroke-width="2.6" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="d1" d="M16.6 20.5L14.6 24.7" fill="none" stroke-width="2.6" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path data-n="d2" d="M22 19.5L20 23.7" fill="none" stroke-width="2.6" stroke-linecap="round" transform="translate(0 0)" opacity="1" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',n.target,n.draw,0);export{G as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as y,f as l,DEEP as
|
|
2
|
-
<g filter="${r.hi}"><path d="${e}" fill="${r.upS}"/></g><path d="${e}" ${f}/>${
|
|
1
|
+
import{defineIcon as y,f as l,DEEP as $,clamp01 as g,at as k}from"../element.js";import{f as C,OL as f,rp as v,cloud as u,frontPiece as _,clamp01 as m}from"../element.js";var i={L:[8.8,11.4,4.8],T:[15.1,7.2,6.4],Rc:[22,11.8,4.4],chord:13.8};function d(r,o="",a=""){let t=u(i.L,i.T,i.Rc),e=_(i.L,i.Rc,i.chord,2);return`${o}<g filter="${r.sh}"><g filter="${r.hi}"><path d="${t}" fill="${r.loS}"/></g></g><path d="${t}" ${f}/>
|
|
2
|
+
<g filter="${r.hi}"><path d="${e}" fill="${r.upS}"/></g><path d="${e}" ${f}/>${a}`}function h(r,o,a=12.4,t=3){let e=o+t-a,s=((o-a)/e+r)%1,n=a+s*e;return{dy:n-o,op:m(1-Math.max(0,n-o)/t)}}var p=[[10,20.8],[15.5,23.4],[21,20.8]],c=y({name:"cloud-snow",category:"weather",tags:["snow","snowy","winter","weather"],svg:r=>d(r,p.map(([o,a],t)=>`<circle data-n="d${t}" cx="${o}" cy="${a}" r="1.9" ${$}/>`).join("")),target:r=>({o:r?1:0}),draw(r,o){let a=g(r.o);p.forEach(([,t],e)=>{let s=h(a,t);k(o[`d${e}`],{transform:`translate(${l(.9*Math.sin(s.dy*.9))} ${l(s.dy)})`,opacity:l(s.op)})})}});import{icon as M}from"../element.js";var L=M("cloud-snow",'<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="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" 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="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="#000"/></mask></defs><circle data-n="d0" cx="10" cy="20.8" r="1.9" transform="translate(0 0)" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><circle data-n="d1" cx="15.5" cy="23.4" r="1.9" transform="translate(0 0)" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><circle data-n="d2" cx="21" cy="20.8" r="1.9" transform="translate(0 0)" opacity="1" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M8.8 16.2A4.8 4.8 0 0 1 8.728 6.601A6.4 6.4 0 0 1 21.496 7.429A4.4 4.4 0 1 1 22 16.2Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="none" stroke-width="1" data-under="1" stroke="url(#upS-__K__)"/><g filter="url(#hi-__K__)"><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" fill="url(#upS-__K__)" data-over="1"/></g><path d="M6.643 13.8Q4.643 13.8 5.97 15.277A4.8 4.8 0 0 0 8.8 16.2L22 16.2A4.4 4.4 0 0 0 24.643 15.318Q25.919 13.8 23.919 13.8Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/>',c.target,c.draw,0);export{L as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{defineIcon as c,KR as p,CR as Q,f as u,OL as L,rr as l,clamp01 as k}from"../element.js";import{f as M,OL as g,rp as K}from"../element.js";var i=(t,e,r,a,{sh:d=!0,hi:h=!0,extra:_=""}={})=>{let o=`<g data-n="${e}"><path d="${r}" fill="${a}"/></g>`;return h&&(o=`<g filter="${t.hi}">${o}</g>`),d&&(o=`<g filter="${t.sh}">${o}</g>`),`${o}<g data-n="${e}O"><path d="${r}" ${g}/>${_}</g>`},f=(t,e,r)=>e.forEach(a=>{t[a]&&t[a].setAttribute("transform",r),t[a+"O"]&&t[a+"O"].setAttribute("transform",r)});var m=l(4.6,11,21.8,11.6,p),$=l(3.8,6.4,23.4,3.6,1.8),n=l(10.5,2,10,6.4,2.6)+l(12.5,4,6,6,1.2),v=l(9.6,14.2,11.8,5.2,Q),s=c({name:"cooler",category:"travel",tags:["cool box","ice chest","cooler box","picnic","camping","drinks","cold"],svg:t=>`<g data-n="h"><path d="${n}" fill-rule="evenodd" fill="${t.loS}"/></g><g data-n="hO"><path d="${n}" fill-rule="evenodd" ${L}/></g>
|
|
2
|
+
${i(t,"b",m,t.loS,{extra:`<path d="${v}" fill="#fff"/>`})}
|
|
3
|
+
${i(t,"l",$,t.upS)}`,target:t=>({o:t?1:0}),draw(t,e){let r=k(t.o);f(e,["l","h"],r?`rotate(${u(-14*r)} 27.2 10)`:"")}});import{icon as y}from"../element.js";var G=y("cooler",'<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="M10.5 4.6Q10.5 2 13.1 2L17.9 2Q20.5 2 20.5 4.6L20.5 5.8Q20.5 8.4 17.9 8.4L13.1 8.4Q10.5 8.4 10.5 5.8ZM12.5 5.2Q12.5 4 13.7 4L17.3 4Q18.5 4 18.5 5.2L18.5 8.8Q18.5 10 17.3 10L13.7 10Q12.5 10 12.5 8.8Z" fill="#000" fill-rule="evenodd"/></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="M4.6 13.2Q4.6 11 6.8 11L24.2 11Q26.4 11 26.4 13.2L26.4 20.4Q26.4 22.6 24.2 22.6L6.8 22.6Q4.6 22.6 4.6 20.4Z" 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="M3.8 8.2Q3.8 6.4 5.6 6.4L25.4 6.4Q27.2 6.4 27.2 8.2L27.2 8.2Q27.2 10 25.4 10L5.6 10Q3.8 10 3.8 8.2Z" fill="#000"/></mask></defs><g data-n="h" transform=""><path d="M10.5 4.6Q10.5 2 13.1 2L17.9 2Q20.5 2 20.5 4.6L20.5 5.8Q20.5 8.4 17.9 8.4L13.1 8.4Q10.5 8.4 10.5 5.8ZM12.5 5.2Q12.5 4 13.7 4L17.3 4Q18.5 4 18.5 5.2L18.5 8.8Q18.5 10 17.3 10L13.7 10Q12.5 10 12.5 8.8Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><path d="M10.5 4.6Q10.5 2 13.1 2L17.9 2Q20.5 2 20.5 4.6L20.5 5.8Q20.5 8.4 17.9 8.4L13.1 8.4Q10.5 8.4 10.5 5.8ZM12.5 5.2Q12.5 4 13.7 4L17.3 4Q18.5 4 18.5 5.2L18.5 8.8Q18.5 10 17.3 10L13.7 10Q12.5 10 12.5 8.8Z" fill-rule="evenodd" fill="url(#loS-__K__)" data-over="0"/></g><g data-n="hO" transform=""><path d="M10.5 4.6Q10.5 2 13.1 2L17.9 2Q20.5 2 20.5 4.6L20.5 5.8Q20.5 8.4 17.9 8.4L13.1 8.4Q10.5 8.4 10.5 5.8ZM12.5 5.2Q12.5 4 13.7 4L17.3 4Q18.5 4 18.5 5.2L18.5 8.8Q18.5 10 17.3 10L13.7 10Q12.5 10 12.5 8.8Z" fill-rule="evenodd" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="b"><path d="M4.6 13.2Q4.6 11 6.8 11L24.2 11Q26.4 11 26.4 13.2L26.4 20.4Q26.4 22.6 24.2 22.6L6.8 22.6Q4.6 22.6 4.6 20.4Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><path d="M4.6 13.2Q4.6 11 6.8 11L24.2 11Q26.4 11 26.4 13.2L26.4 20.4Q26.4 22.6 24.2 22.6L6.8 22.6Q4.6 22.6 4.6 20.4Z" fill="url(#loS-__K__)" data-over="1"/></g></g></g><g data-n="bO"><path d="M4.6 13.2Q4.6 11 6.8 11L24.2 11Q26.4 11 26.4 13.2L26.4 20.4Q26.4 22.6 24.2 22.6L6.8 22.6Q4.6 22.6 4.6 20.4Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><path d="M9.6 15.4Q9.6 14.2 10.8 14.2L20.2 14.2Q21.4 14.2 21.4 15.4L21.4 18.2Q21.4 19.4 20.2 19.4L10.8 19.4Q9.6 19.4 9.6 18.2Z" fill="#fff"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="l" transform=""><path d="M3.8 8.2Q3.8 6.4 5.6 6.4L25.4 6.4Q27.2 6.4 27.2 8.2L27.2 8.2Q27.2 10 25.4 10L5.6 10Q3.8 10 3.8 8.2Z" fill="none" stroke-width="1" data-under="2" stroke="url(#upS-__K__)"/><path d="M3.8 8.2Q3.8 6.4 5.6 6.4L25.4 6.4Q27.2 6.4 27.2 8.2L27.2 8.2Q27.2 10 25.4 10L5.6 10Q3.8 10 3.8 8.2Z" fill="url(#upS-__K__)" data-over="2"/></g></g></g><g data-n="lO" transform=""><path d="M3.8 8.2Q3.8 6.4 5.6 6.4L25.4 6.4Q27.2 6.4 27.2 8.2L27.2 8.2Q27.2 10 25.4 10L5.6 10Q3.8 10 3.8 8.2Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',s.target,s.draw,0);export{G as default};
|
package/dist/cdn/icons/flame.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineIcon as
|
|
2
|
-
<g filter="${e.hi}"><path data-n="co" fill="${e.upS}"/></g>`,target:e=>({o:e?1:0}),draw(e,r){let
|
|
1
|
+
import{defineIcon as p,OL as C,clamp01 as _,at as n,wave as u}from"../element.js";import{f as i,OL as $,rp as M,cloud as y,frontPiece as k,clamp01 as x}from"../element.js";function h(e,r,t,l=0){let o=f=>i(15.5+f),a=f=>i(e+f),s=l;return`M${o(0)} ${a(0)}C${o(-r*.57)} ${a(0)} ${o(-r)} ${a(-t*.15)} ${o(-r)} ${a(-t*.36)}C${o(-r)} ${a(-t*.6)} ${o(s-r*.42)} ${a(-t*.74)} ${o(s)} ${a(-t)}C${o(s+r*.24)} ${a(-t*.8)} ${o(r)} ${a(-t*.62)} ${o(r)} ${a(-t*.36)}C${o(r)} ${a(-t*.15)} ${o(r*.57)} ${a(0)} ${o(0)} ${a(0)}Z`}var d=(e,r,t,l)=>`M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 ${i(t)} ${i(l)}C${i(t+.9)} ${i(l+2.6)} 11 12.6 12.6 13C12.2 8.8 ${i(e-3.4)} ${i(r+4.4)} ${i(e)} ${i(r)}C${i(e+1.4)} ${i(r+4.6)} 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z`;var c=p({name:"flame",category:"nature",tags:["fire","hot","trending","popular","burn","streak"],svg:e=>`<g filter="${e.sh}"><g filter="${e.hi}"><path data-n="fl" fill="${e.loS}"/></g></g><path data-n="flO" stroke-linejoin="round" ${C}/>
|
|
2
|
+
<g filter="${e.hi}"><path data-n="co" fill="${e.upS}"/></g>`,target:e=>({o:e?1:0}),draw(e,r){let t=_(e.o),l=s=>u(t,f=>(1-f)*Math.sin(3*Math.PI*f-s)),o=1.4*u(t,s=>(1-s)*Math.abs(Math.sin(3*Math.PI*s))),a=d(16.6+2.8*l(0),1.2-o,9+1.6*l(1.2),8.6-o*.6);n(r.fl,{d:a}),n(r.flO,{d:a}),n(r.co,{d:h(21.6,4.4,9.6+o*.6,.4+1.8*l(.8))})}});import{icon as g}from"../element.js";var w=g("flame",'<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="M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 7.509 8.6C8.409 11.2 11 12.6 12.6 13C12.2 8.8 13.2 5.6 16.6 1.2C18 5.8 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z" fill="#000"/></mask></defs><path d="M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 7.509 8.6C8.409 11.2 11 12.6 12.6 13C12.2 8.8 13.2 5.6 16.6 1.2C18 5.8 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z" fill="none" stroke-width="1" stroke-linejoin="round" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path data-n="fl" fill="url(#loS-__K__)" d="M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 7.509 8.6C8.409 11.2 11 12.6 12.6 13C12.2 8.8 13.2 5.6 16.6 1.2C18 5.8 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z" data-over="0"/></g></g><path data-n="flO" stroke-linejoin="round" d="M15.5 23.8C10.8 23.8 7.2 20.4 7.2 16C7.2 13.2 8 10.8 7.509 8.6C8.409 11.2 11 12.6 12.6 13C12.2 8.8 13.2 5.6 16.6 1.2C18 5.8 23.8 9.6 23.8 16C23.8 20.4 20.2 23.8 15.5 23.8Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><path data-n="co" fill="url(#upS-__K__)" d="M15.5 21.6C12.992 21.6 11.1 20.16 11.1 18.144C11.1 15.84 12.761 14.496 14.609 12C15.665 13.92 19.9 15.648 19.9 18.144C19.9 20.16 18.008 21.6 15.5 21.6Z"/></g>',c.target,c.draw,0);export{w as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{defineIcon as x,f as c,DEEPS as v}from"../element.js";import{f as t,OL as U,rp as D,cloud as R,frontPiece as A,clamp01 as L}from"../element.js";var l=(r
|
|
2
|
-
<g transform="translate(16.2 23.4) rotate(52)">${e(
|
|
3
|
-
${e(
|
|
1
|
+
import{defineIcon as x,f as c,DEEPS as v}from"../element.js";import{f as t,OL as U,rp as D,cloud as R,frontPiece as A,clamp01 as L}from"../element.js";var l=(a,r)=>`M0 0C${t(-r*.62)} ${t(-a*.08)} ${t(-r*.66)} ${t(-a*.6)} 0 ${t(-a)}C${t(r*.66)} ${t(-a*.6)} ${t(r*.62)} ${t(-a*.08)} 0 0Z`;import{KR as T,OL as S,rp as E,at as d}from"../element.js";var e=(a,r,o,i,{sh:f=!0,extra:n=""}={})=>{let h=y=>i?` data-n="${i}${y}"`:"",M=`<g${h("")}><path d="${r}" fill="${o}"${n}/></g>`;return`${f?`<g filter="${a.sh}">`:""}<g filter="${a.hi}">${M}</g>${f?"</g>":""}<g${h("O")}><path d="${r}"${n} ${S}/></g>`},s=(a,r,o)=>{d(a[r],{transform:o}),d(a[`${r}O`],{transform:o})};var _=l(13.4,10.4),K=l(15,9.2),w=l(9,6),p=x({name:"flower-tulip",category:"nature",tags:["tulip","flower","bloom","spring","garden","gift"],variants:["heart"],svg:a=>`<path d="M15.5 14V23.6" fill="none" stroke-width="2.2" stroke-linecap="round" ${v}/>
|
|
2
|
+
<g transform="translate(16.2 23.4) rotate(52)">${e(a,w,a.loS)}</g>
|
|
3
|
+
${e(a,_,a.loS,"l")}${e(a,_,a.loS,"r")}${e(a,K,a.upS,"m")}`,target:a=>({a:a?38:27}),draw(a,r){s(r,"l",`translate(15.5 15.6) rotate(${c(-a.a)})`),s(r,"r",`translate(15.5 15.6) rotate(${c(a.a)})`),s(r,"m","translate(15.5 16.2)")}});import{defineBadge as b,at as $,f as O}from"../element.js";import{f as F}from"../element.js";var Z=5,g='fill="#FFFFFF"';var u=(a,r)=>`<g data-n="kbG"><circle r="${Z}" data-t="fill:#5393FF"/>${r}</g>`,m=a=>`scale(${F(a)})`;var G="M0 3C-1.7 1.8 -3.3 0.5 -3.3 -1C-3.3 -2.1 -2.5 -2.9 -1.5 -2.9C-0.9 -2.9 -0.3 -2.5 0 -2C0.3 -2.5 0.9 -2.9 1.5 -2.9C2.5 -2.9 3.3 -2.1 3.3 -1C3.3 0.5 1.7 1.8 0 3Z",k=b({name:"heart",tone:"#DB2777",tags:["like","love","favorite","heart"],svg:a=>u(a,`<path data-n="kbM" d="${G}" ${g}/>`),target:a=>({s:a?1.14:1,b:a?1.18:1}),draw(a,r){$(r.kbG,{transform:m(a.s)}),$(r.kbM,{transform:`translate(0 0.2) scale(${O(a.b)})`})}});import{withBadge as I}from"../element.js";import{icon as P}from"../element.js";var C=I(p,k),la=P("flower-tulip-heart",'<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="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" 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="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" 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="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="#000"/></mask><mask id="ol-__K__-3" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" 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__)"><path d="M15.5 14V23.6" fill="none" stroke-width="2.2" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g transform="translate(16.2 23.4) rotate(52)"><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" fill="url(#loS-__K__)" data-over="0"/></g></g></g><g><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="l" transform="translate(15.5 15.6) rotate(-27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="url(#loS-__K__)" data-over="1"/></g></g></g><g data-n="lO" transform="translate(15.5 15.6) rotate(-27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="r" transform="translate(15.5 15.6) rotate(27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="none" stroke-width="1" data-under="2" stroke="url(#loS-__K__)"/><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="url(#loS-__K__)" data-over="2"/></g></g></g><g data-n="rO" transform="translate(15.5 15.6) rotate(27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="m" transform="translate(15.5 16.2)"><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" fill="none" stroke-width="1" data-under="3" stroke="url(#upS-__K__)"/><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" fill="url(#upS-__K__)" data-over="3"/></g></g></g><g data-n="mO" transform="translate(15.5 16.2)"><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" mask="url(#ol-__K__-3)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g></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="M0 3C-1.7 1.8 -3.3 0.5 -3.3 -1C-3.3 -2.1 -2.5 -2.9 -1.5 -2.9C-0.9 -2.9 -0.3 -2.5 0 -2C0.3 -2.5 0.9 -2.9 1.5 -2.9C2.5 -2.9 3.3 -2.1 3.3 -1C3.3 0.5 1.7 1.8 0 3Z" fill="#FFFFFF" transform="translate(0 0.2) scale(1)"/></g></g>',C.target,C.draw,0,"#DB2777");export{la as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{defineIcon as
|
|
2
|
-
<g transform="translate(16.2 23.4) rotate(52)">${o(r,
|
|
3
|
-
${o(r,u,r.loS,"l")}${o(r,u,r.loS,"r")}${o(r,
|
|
1
|
+
import{defineIcon as m,f as c,DEEPS as k}from"../element.js";import{f as t,OL as x,rp as v,cloud as w,frontPiece as K,clamp01 as Z}from"../element.js";var l=(r,a)=>`M0 0C${t(-a*.62)} ${t(-r*.08)} ${t(-a*.66)} ${t(-r*.6)} 0 ${t(-r)}C${t(a*.66)} ${t(-r*.6)} ${t(a*.62)} ${t(-r*.08)} 0 0Z`;import{KR as I,OL as $,rp as G,at as _}from"../element.js";var o=(r,a,e,f,{sh:n=!0,extra:h=""}={})=>{let d=g=>f?` data-n="${f}${g}"`:"",p=`<g${d("")}><path d="${a}" fill="${e}"${h}/></g>`;return`${n?`<g filter="${r.sh}">`:""}<g filter="${r.hi}">${p}</g>${n?"</g>":""}<g${d("O")}><path d="${a}"${h} ${$}/></g>`},s=(r,a,e)=>{_(r[a],{transform:e}),_(r[`${a}O`],{transform:e})};var u=l(13.4,10.4),C=l(15,9.2),M=l(9,6),i=m({name:"flower-tulip",category:"nature",tags:["tulip","flower","bloom","spring","garden","gift"],variants:["heart"],svg:r=>`<path d="M15.5 14V23.6" fill="none" stroke-width="2.2" stroke-linecap="round" ${k}/>
|
|
2
|
+
<g transform="translate(16.2 23.4) rotate(52)">${o(r,M,r.loS)}</g>
|
|
3
|
+
${o(r,u,r.loS,"l")}${o(r,u,r.loS,"r")}${o(r,C,r.upS,"m")}`,target:r=>({a:r?38:27}),draw(r,a){s(a,"l",`translate(15.5 15.6) rotate(${c(-r.a)})`),s(a,"r",`translate(15.5 15.6) rotate(${c(r.a)})`),s(a,"m","translate(15.5 16.2)")}});import{icon as y}from"../element.js";var H=y("flower-tulip",'<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="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" 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="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" 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="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="#000"/></mask><mask id="ol-__K__-3" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" fill="#000"/></mask></defs><path d="M15.5 14V23.6" fill="none" stroke-width="2.2" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"/><g transform="translate(16.2 23.4) rotate(52)"><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" fill="url(#loS-__K__)" data-over="0"/></g></g></g><g><path d="M0 0C-3.72 -0.72 -3.96 -5.4 0 -9C3.96 -5.4 3.72 -0.72 0 0Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="l" transform="translate(15.5 15.6) rotate(-27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="url(#loS-__K__)" data-over="1"/></g></g></g><g data-n="lO" transform="translate(15.5 15.6) rotate(-27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="r" transform="translate(15.5 15.6) rotate(27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="none" stroke-width="1" data-under="2" stroke="url(#loS-__K__)"/><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" fill="url(#loS-__K__)" data-over="2"/></g></g></g><g data-n="rO" transform="translate(15.5 15.6) rotate(27)"><path d="M0 0C-6.448 -1.072 -6.864 -8.04 0 -13.4C6.864 -8.04 6.448 -1.072 0 0Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="m" transform="translate(15.5 16.2)"><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" fill="none" stroke-width="1" data-under="3" stroke="url(#upS-__K__)"/><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" fill="url(#upS-__K__)" data-over="3"/></g></g></g><g data-n="mO" transform="translate(15.5 16.2)"><path d="M0 0C-5.704 -1.2 -6.072 -9 0 -15C6.072 -9 5.704 -1.2 0 0Z" mask="url(#ol-__K__-3)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',i.target,i.draw,0);export{H as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{defineIcon as L,f as o,ACC as M,rr as g,at as y,rattle as v,clamp01 as x}from"../element.js";import{f as G,OL as Q,rp as U}from"../element.js";var d=(t,a,e,r,{sh:l=!0,hi:i=!0,extra:m=""}={})=>{let f=`<g data-n="${a}"><path d="${e}" fill="${r}"/></g>`;return i&&(f=`<g filter="${t.hi}">${f}</g>`),l&&(f=`<g filter="${t.sh}">${f}</g>`),`${f}<g data-n="${a}O"><path d="${e}" ${Q}/>${m}</g>`},c=(t,a,e)=>a.forEach(r=>{t[r]&&t[r].setAttribute("transform",e),t[r+"O"]&&t[r+"O"].setAttribute("transform",e)});var K=g(4.4,2.4,2.6,18,1.3),w=g(24,2.4,2.6,18,1.3),S=g(3.2,21.4,24.6,2.6,1.3),s=[9.4,10.6],h=[21.6,10.6],n=[15.5,2],$=t=>((h[0]-s[0])**2/4+t**2)/(2*t),u=$(5.4),k=$(3),A=`M${s[0]} ${s[1]}A${o(u)} ${o(u)} 0 0 0 ${h[0]} ${h[1]}A${o(k)} ${o(k)} 0 0 1 ${s[0]} ${s[1]}Z`,O=[s,h],_=[[7,4.2],[24,4.2]],Z=([t,a],e)=>{let r=e*Math.PI/180,l=t-n[0],i=a-n[1];return[n[0]+l*Math.cos(r)-i*Math.sin(r),n[1]+l*Math.sin(r)+i*Math.cos(r)]},p=L({name:"hammock",category:"travel",tags:["hammock","relax","rest","camping","garden","vacation","lazy"],svg:t=>`<path data-n="r" fill="none" stroke-width="1.6" stroke-linecap="round" ${M}/>
|
|
2
|
+
${d(t,"ft",S,t.upS)}${d(t,"pl",K,t.loS)}${d(t,"pr",w,t.loS)}
|
|
3
|
+
${d(t,"bd",A,t.upS)}`,target:t=>({o:t?1:0}),draw(t,a){let e=v(x(t.o),9,3);c(a,["bd"],Math.abs(e)<1e-4?"":`rotate(${o(e)} ${n[0]} ${n[1]})`);let[r,l]=O.map(i=>Z(i,e));y(a.r,{d:`M${_[0][0]} ${_[0][1]}L${o(r[0])} ${o(r[1])}M${_[1][0]} ${_[1][1]}L${o(l[0])} ${o(l[1])}`})}});import{icon as C}from"../element.js";var N=C("hammock",'<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="M3.2 22.7Q3.2 21.4 4.5 21.4L26.5 21.4Q27.8 21.4 27.8 22.7L27.8 22.7Q27.8 24 26.5 24L4.5 24Q3.2 24 3.2 22.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="M4.4 3.7Q4.4 2.4 5.7 2.4L5.7 2.4Q7 2.4 7 3.7L7 19.1Q7 20.4 5.7 20.4L5.7 20.4Q4.4 20.4 4.4 19.1Z" 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="M24 3.7Q24 2.4 25.3 2.4L25.3 2.4Q26.6 2.4 26.6 3.7L26.6 19.1Q26.6 20.4 25.3 20.4L25.3 20.4Q24 20.4 24 19.1Z" fill="#000"/></mask><mask id="ol-__K__-3" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M9.4 10.6A6.145 6.145 0 0 0 21.6 10.6A7.702 7.702 0 0 1 9.4 10.6Z" fill="#000"/></mask></defs><path data-n="r" fill="none" stroke-width="1.6" stroke-linecap="round" d="M7 4.2L9.4 10.6M24 4.2L21.6 10.6" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="ft"><path d="M3.2 22.7Q3.2 21.4 4.5 21.4L26.5 21.4Q27.8 21.4 27.8 22.7L27.8 22.7Q27.8 24 26.5 24L4.5 24Q3.2 24 3.2 22.7Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><path d="M3.2 22.7Q3.2 21.4 4.5 21.4L26.5 21.4Q27.8 21.4 27.8 22.7L27.8 22.7Q27.8 24 26.5 24L4.5 24Q3.2 24 3.2 22.7Z" fill="url(#upS-__K__)" data-over="0"/></g></g></g><g data-n="ftO"><path d="M3.2 22.7Q3.2 21.4 4.5 21.4L26.5 21.4Q27.8 21.4 27.8 22.7L27.8 22.7Q27.8 24 26.5 24L4.5 24Q3.2 24 3.2 22.7Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="pl"><path d="M4.4 3.7Q4.4 2.4 5.7 2.4L5.7 2.4Q7 2.4 7 3.7L7 19.1Q7 20.4 5.7 20.4L5.7 20.4Q4.4 20.4 4.4 19.1Z" fill="none" stroke-width="1" data-under="1" stroke="url(#loS-__K__)"/><path d="M4.4 3.7Q4.4 2.4 5.7 2.4L5.7 2.4Q7 2.4 7 3.7L7 19.1Q7 20.4 5.7 20.4L5.7 20.4Q4.4 20.4 4.4 19.1Z" fill="url(#loS-__K__)" data-over="1"/></g></g></g><g data-n="plO"><path d="M4.4 3.7Q4.4 2.4 5.7 2.4L5.7 2.4Q7 2.4 7 3.7L7 19.1Q7 20.4 5.7 20.4L5.7 20.4Q4.4 20.4 4.4 19.1Z" mask="url(#ol-__K__-1)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="pr"><path d="M24 3.7Q24 2.4 25.3 2.4L25.3 2.4Q26.6 2.4 26.6 3.7L26.6 19.1Q26.6 20.4 25.3 20.4L25.3 20.4Q24 20.4 24 19.1Z" fill="none" stroke-width="1" data-under="2" stroke="url(#loS-__K__)"/><path d="M24 3.7Q24 2.4 25.3 2.4L25.3 2.4Q26.6 2.4 26.6 3.7L26.6 19.1Q26.6 20.4 25.3 20.4L25.3 20.4Q24 20.4 24 19.1Z" fill="url(#loS-__K__)" data-over="2"/></g></g></g><g data-n="prO"><path d="M24 3.7Q24 2.4 25.3 2.4L25.3 2.4Q26.6 2.4 26.6 3.7L26.6 19.1Q26.6 20.4 25.3 20.4L25.3 20.4Q24 20.4 24 19.1Z" mask="url(#ol-__K__-2)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><g data-n="bd" transform=""><path d="M9.4 10.6A6.145 6.145 0 0 0 21.6 10.6A7.702 7.702 0 0 1 9.4 10.6Z" fill="none" stroke-width="1" data-under="3" stroke="url(#upS-__K__)"/><path d="M9.4 10.6A6.145 6.145 0 0 0 21.6 10.6A7.702 7.702 0 0 1 9.4 10.6Z" fill="url(#upS-__K__)" data-over="3"/></g></g></g><g data-n="bdO" transform=""><path d="M9.4 10.6A6.145 6.145 0 0 0 21.6 10.6A7.702 7.702 0 0 1 9.4 10.6Z" mask="url(#ol-__K__-3)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/></g>',p.target,p.draw,0);export{N as default};
|