import{b8 as x,b9 as c,x as w,ba as $,ah as g,j as v,bb as e,am as z,bc as q,bd as l,d as t,v as u,s as d,v as h,o as m,c as f,b as v,r as g,u as i}from"./et3mnfcx.js";import{b as q,d as k,a as j,_ as x,w as y}from"./xqb8qclc.js";function o(e){var t;const s=$(e);return(t=s==null?void 0:s.$el)!=null?t:s}const y=z?window:void 0,z=z?window.document:void 0;function b(...e){let t,s,n,o;if(x(e[0])||array.isarray(e[0])?([s,n,o]=e,t=y):[t,s,n,o]=e,!t)return c;array.isarray(s)||(s=[s]),array.isarray(n)||(n=[n]);const f=[],a=()=>{f.foreach(c=>c()),f.length=0},u=(c,d,r,i)=>(c.addeventlistener(d,r,i),()=>c.removeeventlistener(d,r,i)),l=w(()=>[o(t),$(o)],([c,d])=>{a(),c&&f.push(...s.flatmap(r=>n.map(i=>u(c,r,i,d))))},{immediate:!0,flush:"post"}),m=()=>{l(),a()};return g(m),m}let p=!1;function he(e,t,s={}){const{window:n=y,ignore:o=[],capture:f=!0,detectiframe:a=!1}=s;if(!n)return;l&&!p&&(p=!0,array.from(n.document.body.children).foreach(r=>r.addeventlistener("click",c)));let u=!0;const l=r=>o.some(i=>{if(typeof i=="string")return array.from(n.document.queryselectorall(i)).some(p=>p===r.target||r.composedpath().includes(p));{const p=o(i);return p&&(r.target===p||r.composedpath().includes(p))}}),c=[b(n,"click",r=>{const i=o(e);if(!(!i||i===r.target||r.composedpath().includes(i))){if(r.detail===0&&(u=!l(r)),!u){u=!0;return}t(r)}},{passive:!0,capture:f}),b(n,"pointerdown",r=>{const i=o(e);i&&(u=!r.composedpath().includes(i)&&!l(r))},{passive:!0}),a&&b(n,"blur",r=>{var i;const p=o(e);((i=n.document.activeelement)==null?void 0:i.tagname)==="iframe"&&!(p!=null&&p.contains(n.document.activeelement))&&t(r)})].filter(boolean);return()=>c.foreach(r=>r())}function k(e,t=!1){const s=v(),n=()=>s.value=!!e();return n(),e(n,t),s}const s=typeof globalthis<"u"?globalthis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a="__vueuse_ssr_handlers__";s[a]=s[a]||{};function ye({document:e=z}={}){if(!e)return v("visible");const t=v(e.visibilitystate);return b(e,"visibilitychange",()=>{t.value=e.visibilitystate}),t}var n=object.getownpropertysymbols,ee=object.prototype.hasownproperty,te=object.prototype.propertyisenumerable,ne=(e,t)=>{var s={};for(var n in e)ee.call(e,n)&&t.indexof(n)<0&&(s[n]=e[n]);if(e!=null&&n)for(var n of n(e))t.indexof(n)<0&&te.call(e,n)&&(s[n]=e[n]);return s};function se(e,t,s={}){const n=s,{window:o=y}=n,f=ne(n,["window"]);let a;const u=k(()=>o&&"resizeobserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},m=w(()=>o(e),d=>{l(),u.value&&o&&d&&(a=new resizeobserver(t),a.observe(d,f))},{immediate:!0,flush:"post"}),c=()=>{l(),m()};return g(c),{issupported:u,stop:c}}function _e(e,t={}){const{reset:s=!0,windowresize:n=!0,windowscroll:o=!0,immediate:f=!0}=t,a=v(0),u=v(0),l=v(0),m=v(0),c=v(0),d=v(0),r=v(0),i=v(0);function p(){const _=o(e);if(!_){s&&(a.value=0,u.value=0,l.value=0,m.value=0,c.value=0,d.value=0,r.value=0,i.value=0);return}const h=_.getboundingclientrect();a.value=h.height,u.value=h.bottom,l.value=h.left,m.value=h.right,c.value=h.top,d.value=h.width,r.value=h.x,i.value=h.y}return se(e,p),w(()=>o(e),_=>!_&&p()),o&&b("scroll",p,{capture:!0,passive:!0}),n&&b("resize",p,{passive:!0}),e(()=>{f&&p()}),{height:a,bottom:u,left:l,right:m,top:c,width:d,x:r,y:i,update:p}}var r=object.getownpropertysymbols,re=object.prototype.hasownproperty,oe=object.prototype.propertyisenumerable,ae=(e,t)=>{var s={};for(var n in e)re.call(e,n)&&t.indexof(n)<0&&(s[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexof(n)<0&&oe.call(e,n)&&(s[n]=e[n]);return s};function we(e,t,s={}){const n=s,{window:o=y}=n,f=ae(n,["window"]);let a;const u=k(()=>o&&"mutationobserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},m=w(()=>o(e),d=>{l(),u.value&&o&&d&&(a=new mutationobserver(t),a.observe(d,f))},{immediate:!0}),c=()=>{l(),m()};return g(c),{issupported:u,stop:c}}var w;(function(e){e.up="up",e.right="right",e.down="down",e.left="left",e.none="none"})(w||(w={}));var ie=object.defineproperty,j=object.getownpropertysymbols,ue=object.prototype.hasownproperty,le=object.prototype.propertyisenumerable,b=(e,t,s)=>t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ce=(e,t)=>{for(var s in t||(t={}))ue.call(t,s)&&b(e,s,t[s]);if(j)for(var s of j(t))le.call(t,s)&&b(e,s,t[s]);return e};const fe={easeinsine:[.12,0,.39,0],easeoutsine:[.61,1,.88,1],easeinoutsine:[.37,0,.63,1],easeinquad:[.11,0,.5,0],easeoutquad:[.5,1,.89,1],easeinoutquad:[.45,0,.55,1],easeincubic:[.32,0,.67,0],easeoutcubic:[.33,1,.68,1],easeinoutcubic:[.65,0,.35,1],easeinquart:[.5,0,.75,0],easeoutquart:[.25,1,.5,1],easeinoutquart:[.76,0,.24,1],easeinquint:[.64,0,.78,0],easeoutquint:[.22,1,.36,1],easeinoutquint:[.83,0,.17,1],easeinexpo:[.7,0,.84,0],easeoutexpo:[.16,1,.3,1],easeinoutexpo:[.87,0,.13,1],easeincirc:[.55,0,1,.45],easeoutcirc:[0,.55,.45,1],easeinoutcirc:[.85,0,.15,1],easeinback:[.36,0,.66,-.56],easeoutback:[.34,1.56,.64,1],easeinoutback:[.68,-.6,.32,1.6]};ce({linear:q},fe);function ge({window:e=y}={}){if(!e)return v(!1);const t=v(e.document.hasfocus());return b(e,"blur",()=>{t.value=!1}),b(e,"focus",()=>{t.value=!0}),t}function ee(e={}){const{window:t=y,initialwidth:s=1/0,initialheight:n=1/0,listenorientation:o=!0,includescrollbar:f=!0}=e,a=v(s),u=v(n),l=()=>{t&&(f?(a.value=t.innerwidth,u.value=t.innerheight):(a.value=t.document.documentelement.clientwidth,u.value=t.document.documentelement.clientheight))};return l(),e(l),b("resize",l,{passive:!0}),o&&b("orientationchange",l,{passive:!0}),{width:a,height:u}}const ie={tab:"tab",enter:"enter",space:"space",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown",esc:"escape",delete:"delete",backspace:"backspace",numpadenter:"numpadenter",pageup:"pageup",pagedown:"pagedown",home:"home",end:"end"},pe=q({size:{type:k([number,string])},color:{type:string}}),de=t({name:"elicon",inheritattrs:!1}),ve=t({...de,props:pe,setup(e){const t=e,s=u("icon"),n=d(()=>{const{size:o,color:f}=t;return!o&&!f?{}:{fontsize:h(o)?void 0:j(o),"--color":f}});return(o,f)=>(m(),f("i",g({class:i(s).b(),style:i(n)},o.$attrs),[v(o.$slots,"default")],16))}});var me=x(ve,[["__file","icon.vue"]]);const pe=y(me);export{pe as e,ie as a,b,we as c,ee as d,_e as e,o as f,ye as g,ge as h,he as o,se as u};