import{d as Ut,r as Be,o as ie,i as we,b as X,c as Y,e as L,l as Ee,C as fi,a as pi,F as hi,y as vi,f as V,w as He,t as re,u as $e,D as gi,g as mi,A as _i}from"./entry.4a90497c.js";import{a as yi,_ as qe,u as bi}from"./composables.7753996a.js";const wi=""+new URL("moon.275e1fc7.svg",import.meta.url).href,Ei=""+new URL("sun.d3368bbf.svg",import.meta.url).href,xi={class:"w-5 h-5 flex items-center justify-center"},Li={key:0},ki=L("img",{src:wi,alt:"Dark theme",class:"h-full w-full"},null,-1),Ai=[ki],Oi={key:1},Ti=L("img",{src:Ei,alt:"Light theme",class:"invert h-full w-full"},null,-1),Ci=[Ti],Pi=Ut({__name:"ThemeSwitch",setup(i){const t=Be("");ie(()=>{t.value=we()});function e(){fi(),t.value=we(),pi(t.value)}return(r,n)=>(X(),Y("button",{class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700",onClick:e},[L("div",xi,[t.value==="light"?(X(),Y("div",Li,Ai)):Ee("",!0),t.value==="dark"?(X(),Y("div",Oi,Ci)):Ee("",!0)])]))}}),Si=""+new URL("globe.ab1f599e.svg",import.meta.url).href;var ji=function(){function i(t,e){e===void 0&&(e=[]),this._eventType=t,this._eventFunctions=e}return i.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(e){typeof window<"u"&&window.addEventListener(t._eventType,e)})},i}(),Ht=globalThis&&globalThis.__assign||function(){return Ht=Object.assign||function(i){for(var t,e=1,r=arguments.length;e"u")return!1;var t=D(i).ShadowRoot;return i instanceof t||i instanceof ShadowRoot}function Yi(i){var t=i.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];!I(o)||!R(o)||(Object.assign(o.style,r),Object.keys(n).forEach(function(s){var a=n[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Ki(i){var t=i.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(r){var n=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:e[r]),a=s.reduce(function(l,d){return l[d]="",l},{});!I(n)||!R(n)||(Object.assign(n.style,a),Object.keys(o).forEach(function(l){n.removeAttribute(l)}))})}}const Gi={name:"applyStyles",enabled:!0,phase:"write",fn:Yi,effect:Ki,requires:["computeStyles"]};function M(i){return i.split("-")[0]}var nt=Math.max,Rt=Math.min,ct=Math.round;function Qt(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(Qt())}function dt(i,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var r=i.getBoundingClientRect(),n=1,o=1;t&&I(i)&&(n=i.offsetWidth>0&&ct(r.width)/i.offsetWidth||1,o=i.offsetHeight>0&&ct(r.height)/i.offsetHeight||1);var s=ot(i)?D(i):window,a=s.visualViewport,l=!Ue()&&e,d=(r.left+(l&&a?a.offsetLeft:0))/n,c=(r.top+(l&&a?a.offsetTop:0))/o,v=r.width/n,_=r.height/o;return{width:v,height:_,top:c,right:d+v,bottom:c+_,left:d,x:d,y:c}}function se(i){var t=dt(i),e=i.offsetWidth,r=i.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:i.offsetLeft,y:i.offsetTop,width:e,height:r}}function Xe(i,t){var e=t.getRootNode&&t.getRootNode();if(i.contains(t))return!0;if(e&&oe(e)){var r=t;do{if(r&&i.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function z(i){return D(i).getComputedStyle(i)}function Ji(i){return["table","td","th"].indexOf(R(i))>=0}function K(i){return((ot(i)?i.ownerDocument:i.document)||window.document).documentElement}function Xt(i){return R(i)==="html"?i:i.assignedSlot||i.parentNode||(oe(i)?i.host:null)||K(i)}function Ae(i){return!I(i)||z(i).position==="fixed"?null:i.offsetParent}function Qi(i){var t=/firefox/i.test(Qt()),e=/Trident/i.test(Qt());if(e&&I(i)){var r=z(i);if(r.position==="fixed")return null}var n=Xt(i);for(oe(n)&&(n=n.host);I(n)&&["html","body"].indexOf(R(n))<0;){var o=z(n);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return n;n=n.parentNode}return null}function Et(i){for(var t=D(i),e=Ae(i);e&&Ji(e)&&z(e).position==="static";)e=Ae(e);return e&&(R(e)==="html"||R(e)==="body"&&z(e).position==="static")?t:e||Qi(i)||t}function ae(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function gt(i,t,e){return nt(i,Rt(t,e))}function Zi(i,t,e){var r=gt(i,t,e);return r>e?e:r}function Ye(){return{top:0,right:0,bottom:0,left:0}}function Ke(i){return Object.assign({},Ye(),i)}function Ge(i,t){return t.reduce(function(e,r){return e[r]=i,e},{})}var tr=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,Ke(typeof t!="number"?t:Ge(t,wt))};function er(i){var t,e=i.state,r=i.name,n=i.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=M(e.placement),l=ae(a),d=[S,H].indexOf(a)>=0,c=d?"height":"width";if(!(!o||!s)){var v=tr(n.padding,e),_=se(o),u=l==="y"?P:S,b=l==="y"?B:H,h=e.rects.reference[c]+e.rects.reference[l]-s[l]-e.rects.popper[c],p=s[l]-e.rects.reference[l],y=Et(o),E=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-p/2,f=v[u],g=E-_[c]-v[b],m=E/2-_[c]/2+x,w=gt(f,m,g),O=l;e.modifiersData[r]=(t={},t[O]=w,t.centerOffset=w-m,t)}}function ir(i){var t=i.state,e=i.options,r=e.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||Xe(t.elements.popper,n)&&(t.elements.arrow=n))}const rr={name:"arrow",enabled:!0,phase:"main",fn:er,effect:ir,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(i){return i.split("-")[1]}var nr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function or(i,t){var e=i.x,r=i.y,n=t.devicePixelRatio||1;return{x:ct(e*n)/n||0,y:ct(r*n)/n||0}}function Oe(i){var t,e=i.popper,r=i.popperRect,n=i.placement,o=i.variation,s=i.offsets,a=i.position,l=i.gpuAcceleration,d=i.adaptive,c=i.roundOffsets,v=i.isFixed,_=s.x,u=_===void 0?0:_,b=s.y,h=b===void 0?0:b,p=typeof c=="function"?c({x:u,y:h}):{x:u,y:h};u=p.x,h=p.y;var y=s.hasOwnProperty("x"),E=s.hasOwnProperty("y"),x=S,f=P,g=window;if(d){var m=Et(e),w="clientHeight",O="clientWidth";if(m===D(e)&&(m=K(e),z(m).position!=="static"&&a==="absolute"&&(w="scrollHeight",O="scrollWidth")),m=m,n===P||(n===S||n===H)&&o===yt){f=B;var A=v&&m===g&&g.visualViewport?g.visualViewport.height:m[w];h-=A-r.height,h*=l?1:-1}if(n===S||(n===P||n===B)&&o===yt){x=H;var k=v&&m===g&&g.visualViewport?g.visualViewport.width:m[O];u-=k-r.width,u*=l?1:-1}}var T=Object.assign({position:a},d&&nr),$=c===!0?or({x:u,y:h},D(e)):{x:u,y:h};if(u=$.x,h=$.y,l){var C;return Object.assign({},T,(C={},C[f]=E?"0":"",C[x]=y?"0":"",C.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",C))}return Object.assign({},T,(t={},t[f]=E?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function sr(i){var t=i.state,e=i.options,r=e.gpuAcceleration,n=r===void 0?!0:r,o=e.adaptive,s=o===void 0?!0:o,a=e.roundOffsets,l=a===void 0?!0:a,d={placement:M(t.placement),variation:ut(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Oe(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Oe(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ar={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sr,data:{}};var Tt={passive:!0};function lr(i){var t=i.state,e=i.instance,r=i.options,n=r.scroll,o=n===void 0?!0:n,s=r.resize,a=s===void 0?!0:s,l=D(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(c){c.addEventListener("scroll",e.update,Tt)}),a&&l.addEventListener("resize",e.update,Tt),function(){o&&d.forEach(function(c){c.removeEventListener("scroll",e.update,Tt)}),a&&l.removeEventListener("resize",e.update,Tt)}}const cr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lr,data:{}};var dr={left:"right",right:"left",bottom:"top",top:"bottom"};function Bt(i){return i.replace(/left|right|bottom|top/g,function(t){return dr[t]})}var ur={start:"end",end:"start"};function Te(i){return i.replace(/start|end/g,function(t){return ur[t]})}function le(i){var t=D(i),e=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:e,scrollTop:r}}function ce(i){return dt(K(i)).left+le(i).scrollLeft}function fr(i,t){var e=D(i),r=K(i),n=e.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(n){o=n.width,s=n.height;var d=Ue();(d||!d&&t==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:a+ce(i),y:l}}function pr(i){var t,e=K(i),r=le(i),n=(t=i.ownerDocument)==null?void 0:t.body,o=nt(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=nt(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-r.scrollLeft+ce(i),l=-r.scrollTop;return z(n||e).direction==="rtl"&&(a+=nt(e.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function de(i){var t=z(i),e=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+n+r)}function Je(i){return["html","body","#document"].indexOf(R(i))>=0?i.ownerDocument.body:I(i)&&de(i)?i:Je(Xt(i))}function mt(i,t){var e;t===void 0&&(t=[]);var r=Je(i),n=r===((e=i.ownerDocument)==null?void 0:e.body),o=D(r),s=n?[o].concat(o.visualViewport||[],de(r)?r:[]):r,a=t.concat(s);return n?a:a.concat(mt(Xt(s)))}function Zt(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function hr(i,t){var e=dt(i,!1,t==="fixed");return e.top=e.top+i.clientTop,e.left=e.left+i.clientLeft,e.bottom=e.top+i.clientHeight,e.right=e.left+i.clientWidth,e.width=i.clientWidth,e.height=i.clientHeight,e.x=e.left,e.y=e.top,e}function Ce(i,t,e){return t===We?Zt(fr(i,e)):ot(t)?hr(t,e):Zt(pr(K(i)))}function vr(i){var t=mt(Xt(i)),e=["absolute","fixed"].indexOf(z(i).position)>=0,r=e&&I(i)?Et(i):i;return ot(r)?t.filter(function(n){return ot(n)&&Xe(n,r)&&R(n)!=="body"}):[]}function gr(i,t,e,r){var n=t==="clippingParents"?vr(i):[].concat(t),o=[].concat(n,[e]),s=o[0],a=o.reduce(function(l,d){var c=Ce(i,d,r);return l.top=nt(c.top,l.top),l.right=Rt(c.right,l.right),l.bottom=Rt(c.bottom,l.bottom),l.left=nt(c.left,l.left),l},Ce(i,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Qe(i){var t=i.reference,e=i.element,r=i.placement,n=r?M(r):null,o=r?ut(r):null,s=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(n){case P:l={x:s,y:t.y-e.height};break;case B:l={x:s,y:t.y+t.height};break;case H:l={x:t.x+t.width,y:a};break;case S:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var d=n?ae(n):null;if(d!=null){var c=d==="y"?"height":"width";switch(o){case lt:l[d]=l[d]-(t[c]/2-e[c]/2);break;case yt:l[d]=l[d]+(t[c]/2-e[c]/2);break}}return l}function bt(i,t){t===void 0&&(t={});var e=t,r=e.placement,n=r===void 0?i.placement:r,o=e.strategy,s=o===void 0?i.strategy:o,a=e.boundary,l=a===void 0?Hi:a,d=e.rootBoundary,c=d===void 0?We:d,v=e.elementContext,_=v===void 0?ht:v,u=e.altBoundary,b=u===void 0?!1:u,h=e.padding,p=h===void 0?0:h,y=Ke(typeof p!="number"?p:Ge(p,wt)),E=_===ht?$i:ht,x=i.rects.popper,f=i.elements[b?E:_],g=gr(ot(f)?f:f.contextElement||K(i.elements.popper),l,c,s),m=dt(i.elements.reference),w=Qe({reference:m,element:x,strategy:"absolute",placement:n}),O=Zt(Object.assign({},x,w)),A=_===ht?O:m,k={top:g.top-A.top+y.top,bottom:A.bottom-g.bottom+y.bottom,left:g.left-A.left+y.left,right:A.right-g.right+y.right},T=i.modifiersData.offset;if(_===ht&&T){var $=T[n];Object.keys(k).forEach(function(C){var G=[H,B].indexOf(C)>=0?1:-1,J=[P,B].indexOf(C)>=0?"y":"x";k[C]+=$[J]*G})}return k}function mr(i,t){t===void 0&&(t={});var e=t,r=e.placement,n=e.boundary,o=e.rootBoundary,s=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,d=l===void 0?Fe:l,c=ut(r),v=c?a?ke:ke.filter(function(b){return ut(b)===c}):wt,_=v.filter(function(b){return d.indexOf(b)>=0});_.length===0&&(_=v);var u=_.reduce(function(b,h){return b[h]=bt(i,{placement:h,boundary:n,rootBoundary:o,padding:s})[M(h)],b},{});return Object.keys(u).sort(function(b,h){return u[b]-u[h]})}function _r(i){if(M(i)===ne)return[];var t=Bt(i);return[Te(i),t,Te(t)]}function yr(i){var t=i.state,e=i.options,r=i.name;if(!t.modifiersData[r]._skip){for(var n=e.mainAxis,o=n===void 0?!0:n,s=e.altAxis,a=s===void 0?!0:s,l=e.fallbackPlacements,d=e.padding,c=e.boundary,v=e.rootBoundary,_=e.altBoundary,u=e.flipVariations,b=u===void 0?!0:u,h=e.allowedAutoPlacements,p=t.options.placement,y=M(p),E=y===p,x=l||(E||!b?[Bt(p)]:_r(p)),f=[p].concat(x).reduce(function(st,N){return st.concat(M(N)===ne?mr(t,{placement:N,boundary:c,rootBoundary:v,padding:d,flipVariations:b,allowedAutoPlacements:h}):N)},[]),g=t.rects.reference,m=t.rects.popper,w=new Map,O=!0,A=f[0],k=0;k=0,J=G?"width":"height",j=bt(t,{placement:T,boundary:c,rootBoundary:v,altBoundary:_,padding:d}),q=G?C?H:S:C?B:P;g[J]>m[J]&&(q=Bt(q));var xt=Bt(q),Q=[];if(o&&Q.push(j[$]<=0),a&&Q.push(j[q]<=0,j[xt]<=0),Q.every(function(st){return st})){A=T,O=!1;break}w.set(T,Q)}if(O)for(var Lt=b?3:1,Yt=function(N){var pt=f.find(function(At){var Z=w.get(At);if(Z)return Z.slice(0,N).every(function(Kt){return Kt})});if(pt)return A=pt,"break"},ft=Lt;ft>0;ft--){var kt=Yt(ft);if(kt==="break")break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}}const br={name:"flip",enabled:!0,phase:"main",fn:yr,requiresIfExists:["offset"],data:{_skip:!1}};function Pe(i,t,e){return e===void 0&&(e={x:0,y:0}),{top:i.top-t.height-e.y,right:i.right-t.width+e.x,bottom:i.bottom-t.height+e.y,left:i.left-t.width-e.x}}function Se(i){return[P,H,B,S].some(function(t){return i[t]>=0})}function wr(i){var t=i.state,e=i.name,r=t.rects.reference,n=t.rects.popper,o=t.modifiersData.preventOverflow,s=bt(t,{elementContext:"reference"}),a=bt(t,{altBoundary:!0}),l=Pe(s,r),d=Pe(a,n,o),c=Se(l),v=Se(d);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}const Er={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wr};function xr(i,t,e){var r=M(i),n=[S,P].indexOf(r)>=0?-1:1,o=typeof e=="function"?e(Object.assign({},t,{placement:i})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*n,[S,H].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function Lr(i){var t=i.state,e=i.options,r=i.name,n=e.offset,o=n===void 0?[0,0]:n,s=Fe.reduce(function(c,v){return c[v]=xr(v,t.rects,o),c},{}),a=s[t.placement],l=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const kr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Lr};function Ar(i){var t=i.state,e=i.name;t.modifiersData[e]=Qe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Or={name:"popperOffsets",enabled:!0,phase:"read",fn:Ar,data:{}};function Tr(i){return i==="x"?"y":"x"}function Cr(i){var t=i.state,e=i.options,r=i.name,n=e.mainAxis,o=n===void 0?!0:n,s=e.altAxis,a=s===void 0?!1:s,l=e.boundary,d=e.rootBoundary,c=e.altBoundary,v=e.padding,_=e.tether,u=_===void 0?!0:_,b=e.tetherOffset,h=b===void 0?0:b,p=bt(t,{boundary:l,rootBoundary:d,padding:v,altBoundary:c}),y=M(t.placement),E=ut(t.placement),x=!E,f=ae(y),g=Tr(f),m=t.modifiersData.popperOffsets,w=t.rects.reference,O=t.rects.popper,A=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,k=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(m){if(o){var C,G=f==="y"?P:S,J=f==="y"?B:H,j=f==="y"?"height":"width",q=m[f],xt=q+p[G],Q=q-p[J],Lt=u?-O[j]/2:0,Yt=E===lt?w[j]:O[j],ft=E===lt?-O[j]:-w[j],kt=t.elements.arrow,st=u&&kt?se(kt):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ye(),pt=N[G],At=N[J],Z=gt(0,w[j],st[j]),Kt=x?w[j]/2-Lt-Z-pt-k.mainAxis:Yt-Z-pt-k.mainAxis,si=x?-w[j]/2+Lt+Z+At+k.mainAxis:ft+Z+At+k.mainAxis,Gt=t.elements.arrow&&Et(t.elements.arrow),ai=Gt?f==="y"?Gt.clientTop||0:Gt.clientLeft||0:0,fe=(C=T==null?void 0:T[f])!=null?C:0,li=q+Kt-fe-ai,ci=q+si-fe,pe=gt(u?Rt(xt,li):xt,q,u?nt(Q,ci):Q);m[f]=pe,$[f]=pe-q}if(a){var he,di=f==="x"?P:S,ui=f==="x"?B:H,tt=m[g],Ot=g==="y"?"height":"width",ve=tt+p[di],ge=tt-p[ui],Jt=[P,S].indexOf(y)!==-1,me=(he=T==null?void 0:T[g])!=null?he:0,_e=Jt?ve:tt-w[Ot]-O[Ot]-me+k.altAxis,ye=Jt?tt+w[Ot]+O[Ot]-me-k.altAxis:ge,be=u&&Jt?Zi(_e,tt,ye):gt(u?_e:ve,tt,u?ye:ge);m[g]=be,$[g]=be-tt}t.modifiersData[r]=$}}const Pr={name:"preventOverflow",enabled:!0,phase:"main",fn:Cr,requiresIfExists:["offset"]};function Sr(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function jr(i){return i===D(i)||!I(i)?le(i):Sr(i)}function Dr(i){var t=i.getBoundingClientRect(),e=ct(t.width)/i.offsetWidth||1,r=ct(t.height)/i.offsetHeight||1;return e!==1||r!==1}function Ir(i,t,e){e===void 0&&(e=!1);var r=I(t),n=I(t)&&Dr(t),o=K(t),s=dt(i,n,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!e)&&((R(t)!=="body"||de(o))&&(a=jr(t)),I(t)?(l=dt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=ce(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Br(i){var t=new Map,e=new Set,r=[];i.forEach(function(o){t.set(o.name,o)});function n(o){e.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&n(l)}}),r.push(o)}return i.forEach(function(o){e.has(o.name)||n(o)}),r}function Hr(i){var t=Br(i);return Xi.reduce(function(e,r){return e.concat(t.filter(function(n){return n.phase===r}))},[])}function $r(i){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(i())})})),t}}function qr(i){var t=i.reduce(function(e,r){var n=e[r.name];return e[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,e},{});return Object.keys(t).map(function(e){return t[e]})}var je={placement:"bottom",modifiers:[],strategy:"absolute"};function De(){for(var i=arguments.length,t=new Array(i),e=0;e