@yuktishaalaa/yuktai 5.3.3 → 5.3.4
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/README.md +6 -3
- package/dist/chunk-7BGINZ5U.mjs +1 -0
- package/dist/icons.d.mts +94 -1
- package/dist/icons.d.ts +94 -1
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +52 -52
- package/dist/index.mjs +24 -24
- package/package.json +1 -1
- package/vanilla/index.js +33 -1
- package/vanilla/index.min.js +19 -19
- package/dist/chunk-VA6D6ILU.mjs +0 -1
package/dist/chunk-VA6D6ILU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var D="[data-yuktai-panel]";function L(){return typeof window<"u"&&typeof document<"u"}function At(o){return typeof o=="object"&&o!==null&&o.nodeType===9}function St(o){return o||(L()?document:null)}function Lt(o,e,c={}){return Array.from(o.querySelectorAll(e)).filter(a=>!a.closest(D)&&(c.includeHidden||_(a)))}function _(o){if(!L()||o.closest("[hidden],[aria-hidden='true']"))return!1;let e=o;for(;e;){let c=window.getComputedStyle(e);if(c.display==="none"||c.visibility==="hidden")return!1;e=e.parentElement}return!0}function I(o){return(o??"").replace(/\s+/g," ").trim()}function Rt(o,e=60){let c=I(o);return c.length>e?`${c.slice(0,e-1)}\u2026`:c}function Bt(o){let e=[],c=o;for(;c&&c.nodeType===1&&e.length<4;){let a=c.tagName.toLowerCase();if(c.id&&/^[A-Za-z][\w-]*$/.test(c.id)){e.unshift(`${a}#${c.id}`);break}let r=c.parentElement;if(!r){e.unshift(a);break}let s=Array.from(r.children).filter(i=>i.tagName===c.tagName);e.unshift(s.length>1?`${a}:nth-of-type(${s.indexOf(c)+1})`:a),c=r}return e.join(" > ")}function U(o,e){return o.split(/\s+/).map(c=>I(e.getElementById(c)?.textContent)).filter(Boolean).join(" ")}function Ot(o){let e=o.ownerDocument,c=o.getAttribute("aria-labelledby");if(c){let s=U(c,e);if(s)return s}let a=I(o.getAttribute("aria-label"));if(a)return a;let r=o.tagName.toLowerCase();if(r==="input"||r==="select"||r==="textarea"){let s=o.getAttribute("id");if(s){let h=e.querySelector(`label[for="${W(s)}"]`),u=I(h?.textContent);if(u)return u}let i=o.closest("label");if(i){let h=I(i.textContent);if(h)return h}let p=(o.getAttribute("type")??"").toLowerCase();if(p==="submit"||p==="button"||p==="reset")return I(o.getAttribute("value"))||(p==="submit"?"Submit":"");if(p==="image")return I(o.getAttribute("alt"))}if(r==="img")return I(o.getAttribute("alt"));if(r==="button"||r==="a"||o.getAttribute("role")){let s=I(o.textContent);if(s)return s;let i=Array.from(o.querySelectorAll("img[alt], svg[aria-label]")).map(p=>I(p.getAttribute("alt")??p.getAttribute("aria-label"))).filter(Boolean).join(" ");if(i)return i}return I(o.getAttribute("title"))}function W(o){return typeof CSS<"u"&&typeof CSS.escape=="function"?CSS.escape(o):o.replace(/["\\]/g,"\\$&")}function y(o){if(!o)return null;let e=o.trim().toLowerCase();if(e==="transparent")return{r:0,g:0,b:0,a:0};let c=e.match(/^rgba?\(([^)]+)\)$/);if(c){let r=c[1].split(/[\s,/]+/).filter(Boolean),[s,i,p]=r.slice(0,3).map(Number),h=r[3],u=h===void 0?1:h.endsWith("%")?Number(h.slice(0,-1))/100:Number(h);return[s,i,p,u].some(m=>!Number.isFinite(m))?null:{r:s,g:i,b:p,a:u}}let a=e.match(/^#([0-9a-f]{3,8})$/);if(a){let r=a[1];return(r.length===3||r.length===4)&&(r=r.split("").map(s=>s+s).join("")),r.length!==6&&r.length!==8?null:{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16),a:r.length===8?parseInt(r.slice(6,8),16)/255:1}}return null}function b(o,e){let c=o.a+e.a*(1-o.a);if(c===0)return{r:0,g:0,b:0,a:0};let a=(r,s)=>(r*o.a+s*e.a*(1-o.a))/c;return{r:a(o.r,e.r),g:a(o.g,e.g),b:a(o.b,e.b),a:c}}function S(o){let e=c=>{let a=c/255;return a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)};return .2126*e(o.r)+.7152*e(o.g)+.0722*e(o.b)}function R(o,e){let c=e.a<1?b(e,{r:255,g:255,b:255,a:1}):e,a=o.a<1?b(o,c):o,r=S(a),s=S(c),[i,p]=r>s?[r,s]:[s,r];return Math.round((i+.05)/(p+.05)*100)/100}function zt(o){let e=[],c=o;for(;c;){let r=window.getComputedStyle(c);if(r.backgroundImage&&r.backgroundImage!=="none")return null;let s=y(r.backgroundColor);if(s&&s.a>0&&(e.push(s),s.a>=1))break;c=c.parentElement}let a={r:255,g:255,b:255,a:1};for(let r=e.length-1;r>=0;r--)a=b(e[r],a);return a}function Ht(o){let e=window.getComputedStyle(o),c=parseFloat(e.fontSize)||16,a=parseInt(e.fontWeight,10)||400;return c>=24||c>=18.66&&a>=700}function Vt(o){return Array.from(o.childNodes).some(e=>e.nodeType===3&&I(e.textContent).length>0)}var Nt="a[href],button,input:not([type='hidden']),select,textarea,summary,[tabindex]:not([tabindex='-1']),[contenteditable='true']",Et="a[href],button,input:not([type='hidden']),select,textarea,summary,[role='button'],[role='link'],[role='checkbox'],[role='tab'],[role='menuitem']";var x={accessibility:'<circle cx="12" cy="4" r="2"/><path d="M4 8l8-1 8 1M12 7v5m-5 9 5-8 5 8M7 12l-2 5m12-5 2 5"/>',contrast:'<circle cx="12" cy="12" r="9"/><path d="M12 3a9 9 0 0 0 0 18z"/>',moon:'<path d="M20 14.5A8.5 8.5 0 0 1 9.5 4 8.5 8.5 0 1 0 20 14.5z"/>',motion:'<path d="M4 12h12m-5-5 5 5-5 5M20 5v14"/>',reading:'<path d="M4 5h16M4 10h12M4 15h16M4 20h10"/>',target:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4"/>',speaker:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"/>',palette:'<circle cx="12" cy="12" r="9"/><circle cx="8" cy="10" r="1.3"/><circle cx="12" cy="7.5" r="1.3"/><circle cx="16" cy="10" r="1.3"/><path d="M12 21a3 3 0 0 1 0-6h2"/>',skip:'<path d="M5 5l7 7-7 7M13 5l7 7-7 7"/>',close:'<path d="m18 6-12 12M6 6l12 12"/>',plus:'<path d="M12 5v14M5 12h14"/>',minus:'<path d="M5 12h14"/>',reset:'<path d="M3 12a9 9 0 1 0 3-6.7L3 8"/><path d="M3 3v5h5"/>',search:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5"/>',sort:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',sortUp:'<path d="m6 15 6-6 6 6"/>',sortDown:'<path d="m6 9 6 6 6-6"/>',chevrons:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',grid:'<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/>',cards:'<rect x="3" y="4" width="18" height="7" rx="1.5"/><rect x="3" y="13" width="18" height="7" rx="1.5"/>',chat:'<path d="M21 11.5a8.5 8.5 0 0 1-8.5 8.5 9 9 0 0 1-4-.9L3 21l1.9-5.5a9 9 0 0 1-.9-4A8.5 8.5 0 0 1 12.5 3H13a8.5 8.5 0 0 1 8 8z"/>',mic:'<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10a7 7 0 0 0 14 0M12 17v5m-4 0h8"/>',stop:'<rect x="6" y="6" width="12" height="12" rx="2"/>',download:'<path d="M12 3v12m-5-5 5 5 5-5M4 21h16"/>',copy:'<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/>',filter:'<path d="M4 5h16l-6 7v6l-4 2v-8z"/>',check:'<path d="m5 12 4 4L19 6"/>',left:'<path d="m15 18-6-6 6-6"/>',right:'<path d="m9 18 6-6-6-6"/>',first:'<path d="m11 18-6-6 6-6M19 18l-6-6 6-6"/>',last:'<path d="m13 18 6-6-6-6M5 18l6-6-6-6"/>',spark:'<path d="m12 3 1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2zM19 14l1.2 2.8L23 18l-2.8 1.2L19 22l-1.2-2.8L15 18l2.8-1.2z"/>',alert:'<path d="m12 3 10 18H2L12 3z"/><path d="M12 9v5m0 3h.01"/>',info:'<circle cx="12" cy="12" r="9"/><path d="M12 11v6m0-9h.01"/>',form:'<rect x="5" y="3" width="14" height="18" rx="2"/><path d="M9 8h6M9 12h6M9 16h3"/>',eye:'<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/>',layout:'<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/>',wand:'<path d="m15 4 5 5L9 20H4v-5z"/><path d="m13 6 5 5"/>',undo:'<path d="M9 14 4 9l5-5"/><path d="M4 9h10a6 6 0 0 1 0 12h-3"/>',tools:'<path d="M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z"/>',plug:'<path d="M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4"/>',home:'<path d="M3 11 12 4l9 7"/><path d="M5 10v10h5v-6h4v6h5V10"/>',menu:'<path d="M4 6h16M4 12h16M4 18h16"/>',book:'<path d="M12 6c-2-1.5-5-2-8-2v14c3 0 6 .5 8 2 2-1.5 5-2 8-2V4c-3 0-6 .5-8 2zM12 6v14"/>',calendar:'<rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4M7.5 14h2M14.5 14h2M7.5 17.5h2"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',person:'<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>',users:'<circle cx="9" cy="8" r="3.5"/><path d="M2 20a7 7 0 0 1 14 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 13.5a7 7 0 0 1 4 6.5"/>',globe:'<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/>',lamp:'<path d="M12 3c2 2.6 3 4.3 3 6a3 3 0 0 1-6 0c0-1.7 1-3.4 3-6z"/><path d="M3 14h18c0 3.5-4 6-9 6s-9-2.5-9-6z"/><path d="M12 12v2"/>',play:'<circle cx="12" cy="12" r="9"/><path d="M10 8.5v7l6-3.5z"/>',pause:'<circle cx="12" cy="12" r="9"/><path d="M10 9v6M14 9v6"/>',send:'<path d="M21 3 3 10.5l7 3 3 7.5z"/><path d="m10 13.5 4.5-4.5"/>',share:'<circle cx="18" cy="5" r="2.5"/><circle cx="6" cy="12" r="2.5"/><circle cx="18" cy="19" r="2.5"/><path d="m8.2 10.8 7.6-4.6M8.2 13.2l7.6 4.6"/>',gift:'<rect x="3" y="8" width="18" height="4" rx="1"/><path d="M5 12v9h14v-9M12 8v13M12 8C10.5 5 7 4 7 6.5S10 8 12 8zm0 0c1.5-3 5-4 5-1.5S14 8 12 8z"/>',image:'<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="m21 15-5-5-10 10"/>',file:'<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5M9 13h6M9 17h6"/>',external:'<path d="M14 4h6v6M20 4l-9 9"/><path d="M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>',arrowUp:'<path d="M12 19V5m-6 6 6-6 6 6"/>',arrowLeft:'<path d="M19 12H5m6-6-6 6 6 6"/>',arrowRight:'<path d="M5 12h14m-6-6 6 6-6 6"/>',headphones:'<path d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect x="3" y="14" width="4" height="7" rx="1.5"/><rect x="17" y="14" width="4" height="7" rx="1.5"/>',music:'<path d="M9 18V5l11-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="17" cy="16" r="3"/>',pin:'<path d="M12 21s7-6.2 7-11.5a7 7 0 0 0-14 0C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/>',map:'<path d="M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z"/><path d="M9 3v15M15 6v15"/>',pen:'<path d="M12 3 6 9l1.5 8h9L18 9z"/><path d="M12 3v7.5"/><circle cx="12" cy="12" r="1.5"/><path d="M8 21h8"/>',wallet:'<rect x="3" y="7" width="18" height="13" rx="2"/><path d="M16 13.5h2M6 7l9-4 2 4"/>',install:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M12 6v8m-3-3 3 3 3-3M10 18h4"/>',help:'<circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/>',temple:'<path d="M12 2v2M10 4h4l1 3H9zM8 7h8l1.5 4h-11zM6.5 11h11L19 15H5zM4 15h16v6H4z"/><path d="M10 21v-3a2 2 0 0 1 4 0v3"/>',meditate:'<circle cx="12" cy="4.5" r="2.2"/><path d="M12 8c-2.2 0-3.3 1.3-3.7 3.2L7.5 16M12 8c2.2 0 3.3 1.3 3.7 3.2l.8 4.8"/><path d="M4 18c3 2 5.5 2.4 8 1.2 2.5 1.2 5 .8 8-1.2"/><path d="M7.5 16c1.4 1.4 3 2 4.5 2s3.1-.6 4.5-2"/>',trophy:'<path d="M8 4h8v5a4 4 0 0 1-8 0z"/><path d="M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 21h8M9 17h6"/>',bulb:'<path d="M9 18h6M10 21h4"/><path d="M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z"/>',sun:'<circle cx="12" cy="12" r="4"/><path d="M12 2v2.5M12 19.5V22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2 12h2.5M19.5 12H22M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8"/>',delete:'<path d="M4 7h16M10 11v6M14 11v6M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13M9 7V4h6v3"/>',robot:'<rect x="4" y="8" width="16" height="12" rx="3"/><path d="M12 8V4M9.5 4h5M2 13v3M22 13v3"/><circle cx="9" cy="14" r="1.3"/><circle cx="15" cy="14" r="1.3"/>',heart:'<path d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',heartFilled:'<path fill="currentColor" d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',hub:'<circle cx="12" cy="12" r="3"/><circle cx="5" cy="5" r="2"/><circle cx="19" cy="5" r="2"/><circle cx="5" cy="19" r="2"/><circle cx="19" cy="19" r="2"/><path d="m6.5 6.5 3.4 3.4M17.5 6.5l-3.4 3.4M6.5 17.5l3.4-3.4M17.5 17.5l-3.4-3.4"/>',code:'<path d="m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16"/>',text:'<path d="M3 7V5h11v2M8.5 5v14M6.5 19h4M14 12v-1.5h7V12M17.5 10.5V19M16 19h3"/>',bold:'<path d="M7 4h6a4 4 0 0 1 0 8H7zM7 12h7a4 4 0 0 1 0 8H7z"/>',italic:'<path d="M10 4h9M5 20h9M15 4 9 20"/>',underline:'<path d="M7 4v7a5 5 0 0 0 10 0V4M5 21h14"/>',alignLeft:'<path d="M4 5h16M4 9.5h9M4 14h16M4 18.5h9"/>',alignCenter:'<path d="M4 5h16M7.5 9.5h9M4 14h16M7.5 18.5h9"/>',alignRight:'<path d="M4 5h16M11 9.5h9M4 14h16M11 18.5h9"/>',alignJustify:'<path d="M4 5h16M4 9.5h16M4 14h16M4 18.5h16"/>',quote:'<path d="M4 18v-6.5A6.5 6.5 0 0 1 10.5 5M4 12h5.5v6H4zM13.5 18v-6.5A6.5 6.5 0 0 1 20 5M13.5 12H19v6h-5.5z"/>',title:'<path d="M5 6V4h14v2M12 4v16M9 20h6"/>',font:'<rect x="3" y="3" width="18" height="18" rx="3"/><path d="m8 17 4-10 4 10M9.4 13.5h5.2"/>',spellcheck:'<path d="m3 14 4-10 4 10M4.6 10.5h4.8M11 17l3 3 7-7"/>',abc:'<path d="m2 16 2.5-8L7 16M3 13.5h3M9.5 8v8h2.5a2 2 0 0 0 0-4H9.5h2a2 2 0 0 0 0-4H9.5M21 9.4a3.1 3.1 0 1 0 0 5.2"/>',pageBreak:'<path d="M6 3v5h12V3M6 21v-5h12v5M3 12h3M9 12h6M18 12h3"/>',link:'<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>',style:'<rect x="3" y="3" width="7" height="18" rx="2"/><path d="m10 7.5 4.4-2.6a2 2 0 0 1 2.7.7l3.2 5.6a2 2 0 0 1-.7 2.7L10 19"/><circle cx="6.5" cy="17" r="1"/>',lock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3M12 15v2"/>',unlock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 7.6-1.8M12 15v2"/>',key:'<circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M17 6l3 3M14.5 8.5l2 2"/>',redo:'<path d="m15 14 5-5-5-5"/><path d="M20 9H10a6 6 0 0 0 0 12h3"/>',swap:'<path d="M7 4 3 8l4 4M3 8h14M17 12l4 4-4 4M21 16H7"/>',shuffle:'<path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>',fullscreen:'<path d="M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5"/>',fullscreenExit:'<path d="M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5"/>',merge:'<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="12" r="2"/><path d="M6 7v10M6 7c0 4 4 5 10 5"/>',join:'<circle cx="9" cy="12" r="6"/><circle cx="15" cy="12" r="6"/>',touch:'<path d="M9 11V5a1.5 1.5 0 0 1 3 0v6M12 10a1.5 1.5 0 0 1 3 0v1M15 11a1.5 1.5 0 0 1 3 0v3c0 4-2.5 7-6 7-2.5 0-4-1-5.5-3.5L4.6 14a1.5 1.5 0 0 1 2.5-1.6L9 15"/>',volumeOff:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="m16.5 9.5 5 5M21.5 9.5l-5 5"/>',musicOff:'<path d="M9 13v5M9 7V5l11-2v9"/><circle cx="6" cy="18" r="3"/><path d="M3 3l18 18"/>',musicVideo:'<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M10.5 15V8.5l5-1V13"/><circle cx="9" cy="15" r="1.5"/><circle cx="14" cy="13" r="1.5"/>',movie:'<rect x="3" y="9" width="18" height="11" rx="2"/><path d="m3.5 9-.6-3 16.6-3.4.6 3L3.5 9zM8.5 4.8l1.8 2.9M13.8 3.7l1.8 2.9"/>',slideshow:'<rect x="3" y="4" width="18" height="13" rx="2"/><path d="M10 8v5l4-2.5zM8 21h8M12 17v4"/>',storage:'<ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/>',api:'<path d="M3 17v-6a2.5 2.5 0 0 1 5 0v6M3 14h5M11 17V7h2.5a2.5 2.5 0 0 1 0 5H11M18 7h3M19.5 7v10M18 17h3"/>',dataObject:'<path d="M8 4H7a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-1"/>',computer:'<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>',phone:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10.5 18.5h3"/>',cloud:'<path d="M7 19a5 5 0 0 1-.6-10A6.5 6.5 0 0 1 18.6 9.5 4.8 4.8 0 0 1 17.5 19z"/>',wifi:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01"/>',wifiOff:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01M3 3l18 18"/>',searchOff:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8.7 8.7l4.6 4.6M13.3 8.7l-4.6 4.6"/>',eyeOff:'<path d="M10.6 5.1A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-2.2 3.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7a9.7 9.7 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18"/>',bookmark:'<path d="M6 3h12v18l-6-4-6 4z"/>',school:'<path d="m2 9 10-5 10 5-10 5z"/><path d="M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5M22 9v6"/>',gavel:'<path d="m13 3.5 7.5 7.5M10 6.5l7.5 7.5M11.5 5l7 7-3 3-7-7zM10 11.5 3.5 18a1.4 1.4 0 0 0 2 2L12 13.5M13 21h8"/>',architecture:'<circle cx="12" cy="5" r="2"/><path d="M12 3V2M11 7 5.5 21M13 7l5.5 14M8 15h8"/>',brain:'<path d="M11 5.5A3 3 0 0 0 5.6 7 3 3 0 0 0 4 12a3 3 0 0 0 1.6 5A3 3 0 0 0 11 18.5zM13 5.5A3 3 0 0 1 18.4 7 3 3 0 0 1 20 12a3 3 0 0 1-1.6 5 3 3 0 0 1-5.4 1.5z"/><path d="M8 10h3M13 14h3"/>',volunteer:'<path d="M12 11s-3.5-2.2-3.5-4.6a1.8 1.8 0 0 1 3.5-.7 1.8 1.8 0 0 1 3.5.7C15.5 8.8 12 11 12 11z"/><path d="M2 15h3l3.5 1.5H13a1.5 1.5 0 0 1 0 3H9.5M5 21l1.5-1.5H14l5.5-4a1.6 1.6 0 0 0-2-2.4L14 15.6"/>',radio:'<circle cx="12" cy="12" r="9"/>',radioChecked:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4" fill="currentColor"/>',upload:'<path d="M12 15V3m-5 5 5-5 5 5M4 21h16"/>',arrowDown:'<path d="M12 5v14m-6-6 6 6 6-6"/>'},q=Object.keys(x);var z=3,w="#ffffff",B="#111827";function P(o,e){let c=y(o),a=y(e);return c&&a?R(c,a):null}function H(o){let e=P(w,o),c=P(B,o);return e===null||c===null||e>=c?w:B}var O=new Set;function Y(o,e){O.has(o)||(O.add(o),typeof console<"u"&&console.warn(`[yuktai icons] ${e}`))}function v(o={}){let e=o.variant==="filled"?"filled":"outline",c=o.color||"currentColor";if(e==="outline")return{variant:e,color:c,glyph:c,contrast:null};let a=o.glyphColor||H(c),r=P(a,c);return r!==null&&r<z&&Y(`${a}|${c}`,`glyph ${a} on ${c} is ${r}:1. WCAG 1.4.11 needs at least 3:1 for icons.`),{variant:e,color:c,glyph:a,contrast:r}}var C="translate(3.6 3.6) scale(0.7)",k="@media (forced-colors: active){.yi-bg{fill:CanvasText}.yi-glyph{stroke:Canvas;color:Canvas}}",M=o=>String(o).replace(/[&<>"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e]);function J(o,e={}){let c=x[o]??x.spark,a=e.size??20,{variant:r,color:s,glyph:i}=v(e),p=e.strokeWidth??(r==="filled"?2.4:1.9),u=`<svg xmlns="http://www.w3.org/2000/svg" ${e.label?`role="img" aria-label="${M(e.label)}"`:'aria-hidden="true"'} focusable="false" width="${M(a)}" height="${M(a)}" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round" data-variant="${r}">`;if(r==="outline")return`${u}<g stroke="${M(s)}" stroke-width="${p}">${c}</g></svg>`;let m=e.shape==="circle"?`<circle class="yi-bg" cx="12" cy="12" r="12" fill="${M(s)}"/>`:`<rect class="yi-bg" width="24" height="24" rx="6" fill="${M(s)}"/>`;return`${u}<style>${k}</style>${m}<g class="yi-glyph" color="${M(i)}" stroke="${M(i)}" stroke-width="${p}" transform="${C}">${c}</g></svg>`}import{Fragment as j,jsx as f,jsxs as K}from"react/jsx-runtime";function l({size:o=20,color:e,strokeWidth:c,label:a,variant:r,glyphColor:s,shape:i,children:p,...h}){let u=!a,m=v({variant:r,color:e,glyphColor:s,shape:i}),g=m.variant==="filled",A=c??(g?2.6:2.5);return f("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:g?void 0:m.color,strokeWidth:g?void 0:A,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":u?"true":void 0,"aria-label":a,role:a?"img":void 0,focusable:"false","data-variant":m.variant,...h,children:g?K(j,{children:[f("style",{children:k}),i==="circle"?f("circle",{className:"yi-bg",cx:"12",cy:"12",r:"12",fill:m.color}):f("rect",{className:"yi-bg",width:"24",height:"24",rx:"6",fill:m.color}),f("g",{className:"yi-glyph",color:m.glyph,stroke:m.glyph,strokeWidth:A,transform:C,children:p})]}):p})}import{jsx as V,jsxs as Z}from"react/jsx-runtime";function Q(o){return Z(l,{...o,children:[V("circle",{cx:"11",cy:"11",r:"7"}),V("path",{d:"m20 20-4-4"})]})}import{jsx as N,jsxs as oo}from"react/jsx-runtime";function X(o){return oo(l,{...o,children:[N("path",{d:"M12 19V5"}),N("path",{d:"m5 12 7-7 7 7"})]})}import{jsx as E,jsxs as to}from"react/jsx-runtime";function no(o){return to(l,{...o,children:[E("path",{d:"M12 5v14"}),E("path",{d:"m5 12 7 7 7-7"})]})}import{jsx as T}from"react/jsx-runtime";function eo(o){return T(l,{...o,children:T("path",{d:"m15 18-6-6 6-6"})})}import{jsx as $}from"react/jsx-runtime";function co(o){return $(l,{...o,children:$("path",{d:"m9 18 6-6-6-6"})})}import{jsx as F}from"react/jsx-runtime";function ro(o){return F(l,{...o,children:F("path",{d:"M5 12.5 10 17.5 19.5 7"})})}import{jsx as G,jsxs as so}from"react/jsx-runtime";function ao(o){return so(l,{...o,children:[G("path",{d:"M18 6 6 18"}),G("path",{d:"m6 6 12 12"})]})}import{jsx as n}from"react/jsx-runtime";function t({name:o,...e}){let c=x[o]??x.spark;return n(l,{...e,children:n("g",{dangerouslySetInnerHTML:{__html:c}})})}var po=o=>n(t,{...o,name:"accessibility"}),io=o=>n(t,{...o,name:"contrast"}),lo=o=>n(t,{...o,name:"moon"}),ho=o=>n(t,{...o,name:"motion"}),Io=o=>n(t,{...o,name:"reading"}),mo=o=>n(t,{...o,name:"target"}),uo=o=>n(t,{...o,name:"speaker"}),xo=o=>n(t,{...o,name:"palette"}),Mo=o=>n(t,{...o,name:"skip"}),fo=o=>n(t,{...o,name:"plus"}),go=o=>n(t,{...o,name:"minus"}),yo=o=>n(t,{...o,name:"reset"}),Po=o=>n(t,{...o,name:"sort"}),vo=o=>n(t,{...o,name:"chevrons"}),bo=o=>n(t,{...o,name:"grid"}),wo=o=>n(t,{...o,name:"cards"}),Co=o=>n(t,{...o,name:"chat"}),ko=o=>n(t,{...o,name:"mic"}),Ao=o=>n(t,{...o,name:"stop"}),So=o=>n(t,{...o,name:"download"}),Lo=o=>n(t,{...o,name:"copy"}),Ro=o=>n(t,{...o,name:"filter"}),Bo=o=>n(t,{...o,name:"first"}),Oo=o=>n(t,{...o,name:"last"}),zo=o=>n(t,{...o,name:"spark"}),Ho=o=>n(t,{...o,name:"alert"}),Vo=o=>n(t,{...o,name:"info"}),No=o=>n(t,{...o,name:"form"}),Eo=o=>n(t,{...o,name:"eye"}),To=o=>n(t,{...o,name:"layout"}),$o=o=>n(t,{...o,name:"wand"}),Fo=o=>n(t,{...o,name:"undo"}),Go=o=>n(t,{...o,name:"tools"}),Do=o=>n(t,{...o,name:"plug"}),_o=o=>n(t,{...o,name:"home"}),Uo=o=>n(t,{...o,name:"menu"}),Wo=o=>n(t,{...o,name:"book"}),qo=o=>n(t,{...o,name:"calendar"}),Yo=o=>n(t,{...o,name:"clock"}),Jo=o=>n(t,{...o,name:"person"}),jo=o=>n(t,{...o,name:"users"}),Ko=o=>n(t,{...o,name:"globe"}),Qo=o=>n(t,{...o,name:"lamp"}),Zo=o=>n(t,{...o,name:"play"}),Xo=o=>n(t,{...o,name:"pause"}),on=o=>n(t,{...o,name:"send"}),nn=o=>n(t,{...o,name:"share"}),tn=o=>n(t,{...o,name:"gift"}),en=o=>n(t,{...o,name:"image"}),cn=o=>n(t,{...o,name:"file"}),rn=o=>n(t,{...o,name:"external"}),an=o=>n(t,{...o,name:"arrowUp"}),sn=o=>n(t,{...o,name:"arrowLeft"}),pn=o=>n(t,{...o,name:"arrowRight"}),ln=o=>n(t,{...o,name:"headphones"}),hn=o=>n(t,{...o,name:"music"}),In=o=>n(t,{...o,name:"pin"}),dn=o=>n(t,{...o,name:"map"}),mn=o=>n(t,{...o,name:"pen"}),un=o=>n(t,{...o,name:"wallet"}),xn=o=>n(t,{...o,name:"install"}),Mn=o=>n(t,{...o,name:"help"}),fn=o=>n(t,{...o,name:"temple"}),gn=o=>n(t,{...o,name:"meditate"}),yn=o=>n(t,{...o,name:"trophy"}),Pn=o=>n(t,{...o,name:"bulb"}),vn=o=>n(t,{...o,name:"sun"}),bn=o=>n(t,{...o,name:"delete"}),wn=o=>n(t,{...o,name:"robot"}),Cn=o=>n(t,{...o,name:"heart"}),kn=o=>n(t,{...o,name:"heartFilled"}),An=o=>n(t,{...o,name:"hub"}),Sn=o=>n(t,{...o,name:"code"}),Ln=o=>n(t,{...o,name:"text"}),Rn=o=>n(t,{...o,name:"bold"}),Bn=o=>n(t,{...o,name:"italic"}),On=o=>n(t,{...o,name:"underline"}),zn=o=>n(t,{...o,name:"alignLeft"}),Hn=o=>n(t,{...o,name:"alignCenter"}),Vn=o=>n(t,{...o,name:"alignRight"}),Nn=o=>n(t,{...o,name:"alignJustify"}),En=o=>n(t,{...o,name:"quote"}),Tn=o=>n(t,{...o,name:"title"}),$n=o=>n(t,{...o,name:"font"}),Fn=o=>n(t,{...o,name:"spellcheck"}),Gn=o=>n(t,{...o,name:"abc"}),Dn=o=>n(t,{...o,name:"pageBreak"}),_n=o=>n(t,{...o,name:"link"}),Un=o=>n(t,{...o,name:"style"}),Wn=o=>n(t,{...o,name:"lock"}),qn=o=>n(t,{...o,name:"unlock"}),Yn=o=>n(t,{...o,name:"key"}),Jn=o=>n(t,{...o,name:"redo"}),jn=o=>n(t,{...o,name:"swap"}),Kn=o=>n(t,{...o,name:"shuffle"}),Qn=o=>n(t,{...o,name:"fullscreen"}),Zn=o=>n(t,{...o,name:"fullscreenExit"}),Xn=o=>n(t,{...o,name:"merge"}),ot=o=>n(t,{...o,name:"join"}),nt=o=>n(t,{...o,name:"touch"}),tt=o=>n(t,{...o,name:"volumeOff"}),et=o=>n(t,{...o,name:"musicOff"}),ct=o=>n(t,{...o,name:"musicVideo"}),rt=o=>n(t,{...o,name:"movie"}),at=o=>n(t,{...o,name:"slideshow"}),st=o=>n(t,{...o,name:"storage"}),pt=o=>n(t,{...o,name:"api"}),it=o=>n(t,{...o,name:"dataObject"}),lt=o=>n(t,{...o,name:"computer"}),ht=o=>n(t,{...o,name:"phone"}),It=o=>n(t,{...o,name:"cloud"}),dt=o=>n(t,{...o,name:"wifi"}),mt=o=>n(t,{...o,name:"wifiOff"}),ut=o=>n(t,{...o,name:"searchOff"}),xt=o=>n(t,{...o,name:"eyeOff"}),Mt=o=>n(t,{...o,name:"bookmark"}),ft=o=>n(t,{...o,name:"school"}),gt=o=>n(t,{...o,name:"gavel"}),yt=o=>n(t,{...o,name:"architecture"}),Pt=o=>n(t,{...o,name:"brain"}),vt=o=>n(t,{...o,name:"volunteer"}),bt=o=>n(t,{...o,name:"radio"}),wt=o=>n(t,{...o,name:"radioChecked"}),Ct=o=>n(t,{...o,name:"upload"}),kt=o=>n(t,{...o,name:"arrowDown"});export{L as a,At as b,St as c,Lt as d,I as e,Rt as f,Bt as g,Ot as h,y as i,S as j,R as k,zt as l,Ht as m,Vt as n,Nt as o,Et as p,x as q,q as r,z as s,P as t,H as u,v,J as w,l as x,Q as y,X as z,no as A,eo as B,co as C,ro as D,ao as E,t as F,po as G,io as H,lo as I,ho as J,Io as K,mo as L,uo as M,xo as N,Mo as O,fo as P,go as Q,yo as R,Po as S,vo as T,bo as U,wo as V,Co as W,ko as X,Ao as Y,So as Z,Lo as _,Ro as $,Bo as aa,Oo as ba,zo as ca,Ho as da,Vo as ea,No as fa,Eo as ga,To as ha,$o as ia,Fo as ja,Go as ka,Do as la,_o as ma,Uo as na,Wo as oa,qo as pa,Yo as qa,Jo as ra,jo as sa,Ko as ta,Qo as ua,Zo as va,Xo as wa,on as xa,nn as ya,tn as za,en as Aa,cn as Ba,rn as Ca,an as Da,sn as Ea,pn as Fa,ln as Ga,hn as Ha,In as Ia,dn as Ja,mn as Ka,un as La,xn as Ma,Mn as Na,fn as Oa,gn as Pa,yn as Qa,Pn as Ra,vn as Sa,bn as Ta,wn as Ua,Cn as Va,kn as Wa,An as Xa,Sn as Ya,Ln as Za,Rn as _a,Bn as $a,On as ab,zn as bb,Hn as cb,Vn as db,Nn as eb,En as fb,Tn as gb,$n as hb,Fn as ib,Gn as jb,Dn as kb,_n as lb,Un as mb,Wn as nb,qn as ob,Yn as pb,Jn as qb,jn as rb,Kn as sb,Qn as tb,Zn as ub,Xn as vb,ot as wb,nt as xb,tt as yb,et as zb,ct as Ab,rt as Bb,at as Cb,st as Db,pt as Eb,it as Fb,lt as Gb,ht as Hb,It as Ib,dt as Jb,mt as Kb,ut as Lb,xt as Mb,Mt as Nb,ft as Ob,gt as Pb,yt as Qb,Pt as Rb,vt as Sb,bt as Tb,wt as Ub,Ct as Vb,kt as Wb};
|