@autoafleveren/ui 0.15.0 → 0.15.1
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/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/package.json +1 -1
package/dist/ui.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* (c) 2023
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/var cn="top",In="bottom",Pn="right",dn="left",lc="auto",gi=[cn,In,Pn,dn],Ja="start",ni="end",Lb="clippingParents",Dh="viewport",Do="popper",Vb="reference",Ud=gi.reduce(function(e,t){return e.concat([t+"-"+Ja,t+"-"+ni])},[]),Mh=[].concat(gi,[lc]).reduce(function(e,t){return e.concat([t,t+"-"+Ja,t+"-"+ni])},[]),Fb="beforeRead",Hb="read",zb="afterRead",Ub="beforeMain",jb="main",Wb="afterMain",qb="beforeWrite",Yb="write",Gb="afterWrite",Kb=[Fb,Hb,zb,Ub,jb,Wb,qb,Yb,Gb];function sr(e){return e?(e.nodeName||"").toLowerCase():null}function zn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Za(e){var t=zn(e).Element;return e instanceof t||e instanceof Element}function Tn(e){var t=zn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bh(e){if(typeof ShadowRoot>"u")return!1;var t=zn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Xb(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Tn(i)||!sr(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var l=o[s];l===!1?i.removeAttribute(s):i.setAttribute(s,l===!0?"":l)}))})}function Jb(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=s.reduce(function(u,c){return u[c]="",u},{});!Tn(o)||!sr(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var Ah={name:"applyStyles",enabled:!0,phase:"write",fn:Xb,effect:Jb,requires:["computeStyles"]};function or(e){return e.split("-")[0]}var fa=Math.max,us=Math.min,Qa=Math.round;function eo(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Tn(e)&&t){var i=e.offsetHeight,s=e.offsetWidth;s>0&&(r=Qa(n.width)/s||1),i>0&&(o=Qa(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function uc(e){var t=eo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Rh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function lr(e){return zn(e).getComputedStyle(e)}function Zb(e){return["table","td","th"].indexOf(sr(e))>=0}function qr(e){return((Za(e)?e.ownerDocument:e.document)||window.document).documentElement}function Us(e){return sr(e)==="html"?e:e.assignedSlot||e.parentNode||(Bh(e)?e.host:null)||qr(e)}function jd(e){return!Tn(e)||lr(e).position==="fixed"?null:e.offsetParent}function Qb(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Tn(e)){var r=lr(e);if(r.position==="fixed")return null}for(var o=Us(e);Tn(o)&&["html","body"].indexOf(sr(o))<0;){var i=lr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function yi(e){for(var t=zn(e),n=jd(e);n&&Zb(n)&&lr(n).position==="static";)n=jd(n);return n&&(sr(n)==="html"||sr(n)==="body"&&lr(n).position==="static")?t:n||Qb(e)||t}function cc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Uo(e,t,n){return fa(e,us(t,n))}function e_(e,t,n){var r=Uo(e,t,n);return r>n?n:r}function $h(){return{top:0,right:0,bottom:0,left:0}}function Lh(e){return Object.assign({},$h(),e)}function Vh(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var t_=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Lh(typeof t!="number"?t:Vh(t,gi))};function n_(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,l=or(n.placement),u=cc(l),c=[dn,Pn].indexOf(l)>=0,d=c?"height":"width";if(!(!i||!s)){var p=t_(o.padding,n),h=uc(i),m=u==="y"?cn:dn,y=u==="y"?In:Pn,_=n.rects.reference[d]+n.rects.reference[u]-s[u]-n.rects.popper[d],k=s[u]-n.rects.reference[u],w=yi(i),I=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,S=_/2-k/2,b=p[m],O=I-h[d]-p[y],x=I/2-h[d]/2+S,P=Uo(b,x,O),L=u;n.modifiersData[r]=(t={},t[L]=P,t.centerOffset=P-x,t)}}function r_(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Rh(t.elements.popper,o)&&(t.elements.arrow=o))}var a_={name:"arrow",enabled:!0,phase:"main",fn:n_,effect:r_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function to(e){return e.split("-")[1]}var o_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i_(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:Qa(t*o)/o||0,y:Qa(n*o)/o||0}}function Wd(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=d===!0?i_(s):typeof d=="function"?d(s):s,m=h.x,y=m===void 0?0:m,_=h.y,k=_===void 0?0:_,w=s.hasOwnProperty("x"),I=s.hasOwnProperty("y"),S=dn,b=cn,O=window;if(c){var x=yi(n),P="clientHeight",L="clientWidth";if(x===zn(n)&&(x=qr(n),lr(x).position!=="static"&&l==="absolute"&&(P="scrollHeight",L="scrollWidth")),x=x,o===cn||(o===dn||o===Pn)&&i===ni){b=In;var q=p&&O.visualViewport?O.visualViewport.height:x[P];k-=q-r.height,k*=u?1:-1}if(o===dn||(o===cn||o===In)&&i===ni){S=Pn;var j=p&&O.visualViewport?O.visualViewport.width:x[L];y-=j-r.width,y*=u?1:-1}}var M=Object.assign({position:l},c&&o_);if(u){var D;return Object.assign({},M,(D={},D[b]=I?"0":"",D[S]=w?"0":"",D.transform=(O.devicePixelRatio||1)<=1?"translate("+y+"px, "+k+"px)":"translate3d("+y+"px, "+k+"px, 0)",D))}return Object.assign({},M,(t={},t[b]=I?k+"px":"",t[S]=w?y+"px":"",t.transform="",t))}function s_(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,c={placement:or(t.placement),variation:to(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Wd(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wd(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var l_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:s_,data:{}},Mi={passive:!0};function u_(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,l=s===void 0?!0:s,u=zn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",n.update,Mi)}),l&&u.addEventListener("resize",n.update,Mi),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Mi)}),l&&u.removeEventListener("resize",n.update,Mi)}}var c_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u_,data:{}},d_={left:"right",right:"left",bottom:"top",top:"bottom"};function ts(e){return e.replace(/left|right|bottom|top/g,function(t){return d_[t]})}var f_={start:"end",end:"start"};function qd(e){return e.replace(/start|end/g,function(t){return f_[t]})}function dc(e){var t=zn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function fc(e){return eo(qr(e)).left+dc(e).scrollLeft}function p_(e){var t=zn(e),n=qr(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,l=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,l=r.offsetTop)),{width:o,height:i,x:s+fc(e),y:l}}function h_(e){var t,n=qr(e),r=dc(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=fa(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=fa(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+fc(e),u=-r.scrollTop;return lr(o||n).direction==="rtl"&&(l+=fa(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:l,y:u}}function pc(e){var t=lr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fh(e){return["html","body","#document"].indexOf(sr(e))>=0?e.ownerDocument.body:Tn(e)&&pc(e)?e:Fh(Us(e))}function jo(e,t){var n;t===void 0&&(t=[]);var r=Fh(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=zn(r),s=o?[i].concat(i.visualViewport||[],pc(r)?r:[]):r,l=t.concat(s);return o?l:l.concat(jo(Us(s)))}function du(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function m_(e){var t=eo(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Yd(e,t){return t===Dh?du(p_(e)):Za(t)?m_(t):du(h_(qr(e)))}function v_(e){var t=jo(Us(e)),n=["absolute","fixed"].indexOf(lr(e).position)>=0,r=n&&Tn(e)?yi(e):e;return Za(r)?t.filter(function(o){return Za(o)&&Rh(o,r)&&sr(o)!=="body"&&(n?lr(o).position!=="static":!0)}):[]}function g_(e,t,n){var r=t==="clippingParents"?v_(e):[].concat(t),o=[].concat(r,[n]),i=o[0],s=o.reduce(function(l,u){var c=Yd(e,u);return l.top=fa(c.top,l.top),l.right=us(c.right,l.right),l.bottom=us(c.bottom,l.bottom),l.left=fa(c.left,l.left),l},Yd(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Hh(e){var t=e.reference,n=e.element,r=e.placement,o=r?or(r):null,i=r?to(r):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,u;switch(o){case cn:u={x:s,y:t.y-n.height};break;case In:u={x:s,y:t.y+t.height};break;case Pn:u={x:t.x+t.width,y:l};break;case dn:u={x:t.x-n.width,y:l};break;default:u={x:t.x,y:t.y}}var c=o?cc(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Ja:u[c]=u[c]-(t[d]/2-n[d]/2);break;case ni:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function ri(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.boundary,s=i===void 0?Lb:i,l=n.rootBoundary,u=l===void 0?Dh:l,c=n.elementContext,d=c===void 0?Do:c,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,y=m===void 0?0:m,_=Lh(typeof y!="number"?y:Vh(y,gi)),k=d===Do?Vb:Do,w=e.rects.popper,I=e.elements[h?k:d],S=g_(Za(I)?I:I.contextElement||qr(e.elements.popper),s,u),b=eo(e.elements.reference),O=Hh({reference:b,element:w,strategy:"absolute",placement:o}),x=du(Object.assign({},w,O)),P=d===Do?x:b,L={top:S.top-P.top+_.top,bottom:P.bottom-S.bottom+_.bottom,left:S.left-P.left+_.left,right:P.right-S.right+_.right},q=e.modifiersData.offset;if(d===Do&&q){var j=q[o];Object.keys(L).forEach(function(M){var D=[Pn,In].indexOf(M)>=0?1:-1,R=[cn,In].indexOf(M)>=0?"y":"x";L[M]+=j[R]*D})}return L}function y_(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?Mh:u,d=to(r),p=d?l?Ud:Ud.filter(function(y){return to(y)===d}):gi,h=p.filter(function(y){return c.indexOf(y)>=0});h.length===0&&(h=p);var m=h.reduce(function(y,_){return y[_]=ri(e,{placement:_,boundary:o,rootBoundary:i,padding:s})[or(_)],y},{});return Object.keys(m).sort(function(y,_){return m[y]-m[_]})}function b_(e){if(or(e)===lc)return[];var t=ts(e);return[qd(e),t,qd(t)]}function __(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,l=s===void 0?!0:s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,p=n.rootBoundary,h=n.altBoundary,m=n.flipVariations,y=m===void 0?!0:m,_=n.allowedAutoPlacements,k=t.options.placement,w=or(k),I=w===k,S=u||(I||!y?[ts(k)]:b_(k)),b=[k].concat(S).reduce(function(T,E){return T.concat(or(E)===lc?y_(t,{placement:E,boundary:d,rootBoundary:p,padding:c,flipVariations:y,allowedAutoPlacements:_}):E)},[]),O=t.rects.reference,x=t.rects.popper,P=new Map,L=!0,q=b[0],j=0;j<b.length;j++){var M=b[j],D=or(M),R=to(M)===Ja,K=[cn,In].indexOf(D)>=0,G=K?"width":"height",Y=ri(t,{placement:M,boundary:d,rootBoundary:p,altBoundary:h,padding:c}),U=K?R?Pn:dn:R?In:cn;O[G]>x[G]&&(U=ts(U));var H=ts(U),C=[];if(i&&C.push(Y[D]<=0),l&&C.push(Y[U]<=0,Y[H]<=0),C.every(function(T){return T})){q=M,L=!1;break}P.set(M,C)}if(L)for(var z=y?3:1,te=function(E){var B=b.find(function(Z){var de=P.get(Z);if(de)return de.slice(0,E).every(function(fe){return fe})});if(B)return q=B,"break"},X=z;X>0;X--){var V=te(X);if(V==="break")break}t.placement!==q&&(t.modifiersData[r]._skip=!0,t.placement=q,t.reset=!0)}}var w_={name:"flip",enabled:!0,phase:"main",fn:__,requiresIfExists:["offset"],data:{_skip:!1}};function Gd(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Kd(e){return[cn,Pn,In,dn].some(function(t){return e[t]>=0})}function k_(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=ri(t,{elementContext:"reference"}),l=ri(t,{altBoundary:!0}),u=Gd(s,r),c=Gd(l,o,i),d=Kd(u),p=Kd(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}var S_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:k_};function C_(e,t,n){var r=or(e),o=[dn,cn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],l=i[1];return s=s||0,l=(l||0)*o,[dn,Pn].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function T_(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=Mh.reduce(function(d,p){return d[p]=C_(p,t.rects,i),d},{}),l=s[t.placement],u=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var E_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:T_};function x_(e){var t=e.state,n=e.name;t.modifiersData[n]=Hh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var I_={name:"popperOffsets",enabled:!0,phase:"read",fn:x_,data:{}};function P_(e){return e==="x"?"y":"x"}function N_(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,l=s===void 0?!1:s,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,p=n.padding,h=n.tether,m=h===void 0?!0:h,y=n.tetherOffset,_=y===void 0?0:y,k=ri(t,{boundary:u,rootBoundary:c,padding:p,altBoundary:d}),w=or(t.placement),I=to(t.placement),S=!I,b=cc(w),O=P_(b),x=t.modifiersData.popperOffsets,P=t.rects.reference,L=t.rects.popper,q=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,j=typeof q=="number"?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(i){var R,K=b==="y"?cn:dn,G=b==="y"?In:Pn,Y=b==="y"?"height":"width",U=x[b],H=U+k[K],C=U-k[G],z=m?-L[Y]/2:0,te=I===Ja?P[Y]:L[Y],X=I===Ja?-L[Y]:-P[Y],V=t.elements.arrow,T=m&&V?uc(V):{width:0,height:0},E=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$h(),B=E[K],Z=E[G],de=Uo(0,P[Y],T[Y]),fe=S?P[Y]/2-z-de-B-j.mainAxis:te-de-B-j.mainAxis,De=S?-P[Y]/2+z+de+Z+j.mainAxis:X+de+Z+j.mainAxis,Ne=t.elements.arrow&&yi(t.elements.arrow),pe=Ne?b==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,Oe=(R=M==null?void 0:M[b])!=null?R:0,qe=U+fe-Oe-pe,Le=U+De-Oe,at=Uo(m?us(H,qe):H,U,m?fa(C,Le):C);x[b]=at,D[b]=at-U}if(l){var Je,Ye=b==="x"?cn:dn,ge=b==="x"?In:Pn,Ie=x[O],re=O==="y"?"height":"width",le=Ie+k[Ye],ie=Ie-k[ge],Ue=[cn,dn].indexOf(w)!==-1,Ee=(Je=M==null?void 0:M[O])!=null?Je:0,xt=Ue?le:Ie-P[re]-L[re]-Ee+j.altAxis,_t=Ue?Ie+P[re]+L[re]-Ee-j.altAxis:ie,Bt=m&&Ue?e_(xt,Ie,_t):Uo(m?xt:le,Ie,m?_t:ie);x[O]=Bt,D[O]=Bt-Ie}t.modifiersData[r]=D}}var O_={name:"preventOverflow",enabled:!0,phase:"main",fn:N_,requiresIfExists:["offset"]};function D_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function M_(e){return e===zn(e)||!Tn(e)?dc(e):D_(e)}function B_(e){var t=e.getBoundingClientRect(),n=Qa(t.width)/e.offsetWidth||1,r=Qa(t.height)/e.offsetHeight||1;return n!==1||r!==1}function A_(e,t,n){n===void 0&&(n=!1);var r=Tn(t),o=Tn(t)&&B_(t),i=qr(t),s=eo(e,o),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((sr(t)!=="body"||pc(i))&&(l=M_(t)),Tn(t)?(u=eo(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=fc(i))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function R_(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var u=t.get(l);u&&o(u)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function $_(e){var t=R_(e);return Kb.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function L_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function V_(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Xd={placement:"bottom",modifiers:[],strategy:"absolute"};function Jd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function F_(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?Xd:o;return function(l,u,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xd,i),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},p=[],h=!1,m={state:d,setOptions:function(w){var I=typeof w=="function"?w(d.options):w;_(),d.options=Object.assign({},i,d.options,I),d.scrollParents={reference:Za(l)?jo(l):l.contextElement?jo(l.contextElement):[],popper:jo(u)};var S=$_(V_([].concat(r,d.options.modifiers)));return d.orderedModifiers=S.filter(function(b){return b.enabled}),y(),m.update()},forceUpdate:function(){if(!h){var w=d.elements,I=w.reference,S=w.popper;if(Jd(I,S)){d.rects={reference:A_(I,yi(S),d.options.strategy==="fixed"),popper:uc(S)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(j){return d.modifiersData[j.name]=Object.assign({},j.data)});for(var b=0;b<d.orderedModifiers.length;b++){if(d.reset===!0){d.reset=!1,b=-1;continue}var O=d.orderedModifiers[b],x=O.fn,P=O.options,L=P===void 0?{}:P,q=O.name;typeof x=="function"&&(d=x({state:d,options:L,name:q,instance:m})||d)}}}},update:L_(function(){return new Promise(function(k){m.forceUpdate(),k(d)})}),destroy:function(){_(),h=!0}};if(!Jd(l,u))return m;m.setOptions(c).then(function(k){!h&&c.onFirstUpdate&&c.onFirstUpdate(k)});function y(){d.orderedModifiers.forEach(function(k){var w=k.name,I=k.options,S=I===void 0?{}:I,b=k.effect;if(typeof b=="function"){var O=b({state:d,name:w,instance:m,options:S}),x=function(){};p.push(O||x)}})}function _(){p.forEach(function(k){return k()}),p=[]}return m}}var H_=[c_,I_,l_,Ah,E_,w_,O_,a_,S_],z_=F_({defaultModifiers:H_}),U_="tippy-box",zh="tippy-content",Uh="tippy-backdrop",jh="tippy-arrow",Wh="tippy-svg-arrow",aa={passive:!0,capture:!0},qh=function(){return document.body};function Pl(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function hc(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Yh(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Zd(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function j_(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function W_(e){return e.split(/\s+/).filter(Boolean)}function ia(e){return[].concat(e)}function Qd(e,t){e.indexOf(t)===-1&&e.push(t)}function q_(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Gh(e){return e.split("-")[0]}function no(e){return[].slice.call(e)}function ef(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function pa(){return document.createElement("div")}function js(e){return["Element","Fragment"].some(function(t){return hc(e,t)})}function Y_(e){return hc(e,"NodeList")}function mc(e){return hc(e,"MouseEvent")}function G_(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function K_(e){return js(e)?[e]:Y_(e)?no(e):Array.isArray(e)?e:no(document.querySelectorAll(e))}function Nl(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function ai(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Kh(e){var t,n=ia(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function X_(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var i=o.popperRect,s=o.popperState,l=o.props,u=l.interactiveBorder,c=Gh(s.placement),d=s.modifiersData.offset;if(!d)return!0;var p=c==="bottom"?d.top.y:0,h=c==="top"?d.bottom.y:0,m=c==="right"?d.left.x:0,y=c==="left"?d.right.x:0,_=i.top-r+p>u,k=r-i.bottom-h>u,w=i.left-n+m>u,I=n-i.right-y>u;return _||k||w||I})}function Ol(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function tf(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Yn={isTouch:!1},nf=0;function J_(){Yn.isTouch||(Yn.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xh))}function Xh(){var e=performance.now();e-nf<20&&(Yn.isTouch=!1,document.removeEventListener("mousemove",Xh)),nf=e}function Z_(){var e=document.activeElement;if(G_(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Q_(){document.addEventListener("touchstart",J_,aa),window.addEventListener("blur",Z_)}var ew=typeof window<"u"&&typeof document<"u",tw=ew?!!window.msCrypto:!1,nw={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},rw={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ln=Object.assign({appendTo:qh,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},nw,rw),aw=Object.keys(Ln),ow=function(t){var n=Object.keys(t);n.forEach(function(r){Ln[r]=t[r]})};function Jh(e){var t=e.plugins||[],n=t.reduce(function(r,o){var i=o.name,s=o.defaultValue;if(i){var l;r[i]=e[i]!==void 0?e[i]:(l=Ln[i])!=null?l:s}return r},{});return Object.assign({},e,n)}function iw(e,t){var n=t?Object.keys(Jh(Object.assign({},Ln,{plugins:t}))):aw,r=n.reduce(function(o,i){var s=(e.getAttribute("data-tippy-"+i)||"").trim();if(!s)return o;if(i==="content")o[i]=s;else try{o[i]=JSON.parse(s)}catch{o[i]=s}return o},{});return r}function rf(e,t){var n=Object.assign({},t,{content:Yh(t.content,[e])},t.ignoreAttributes?{}:iw(e,t.plugins));return n.aria=Object.assign({},Ln.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var sw=function(){return"innerHTML"};function fu(e,t){e[sw()]=t}function af(e){var t=pa();return e===!0?t.className=jh:(t.className=Wh,js(e)?t.appendChild(e):fu(t,e)),t}function of(e,t){js(t.content)?(fu(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?fu(e,t.content):e.textContent=t.content)}function cs(e){var t=e.firstElementChild,n=no(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(zh)}),arrow:n.find(function(r){return r.classList.contains(jh)||r.classList.contains(Wh)}),backdrop:n.find(function(r){return r.classList.contains(Uh)})}}function Zh(e){var t=pa(),n=pa();n.className=U_,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=pa();r.className=zh,r.setAttribute("data-state","hidden"),of(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(i,s){var l=cs(t),u=l.box,c=l.content,d=l.arrow;s.theme?u.setAttribute("data-theme",s.theme):u.removeAttribute("data-theme"),typeof s.animation=="string"?u.setAttribute("data-animation",s.animation):u.removeAttribute("data-animation"),s.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?u.setAttribute("role",s.role):u.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&of(c,e.props),s.arrow?d?i.arrow!==s.arrow&&(u.removeChild(d),u.appendChild(af(s.arrow))):u.appendChild(af(s.arrow)):d&&u.removeChild(d)}return{popper:t,onUpdate:o}}Zh.$$tippy=!0;var lw=1,Bi=[],Dl=[];function uw(e,t){var n=rf(e,Object.assign({},Ln,Jh(ef(t)))),r,o,i,s=!1,l=!1,u=!1,c=!1,d,p,h,m=[],y=Zd(qe,n.interactiveDebounce),_,k=lw++,w=null,I=q_(n.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},b={id:k,reference:e,popper:pa(),popperInstance:w,props:n,state:S,plugins:I,clearDelayTimeouts:xt,setProps:_t,setContent:Bt,show:Wt,hide:hn,hideWithInteractivity:On,enable:Ue,disable:Ee,unmount:Dt,destroy:F};if(!n.render)return b;var O=n.render(b),x=O.popper,P=O.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var L=I.map(function(A){return A.fn(b)}),q=e.hasAttribute("aria-expanded");return Ne(),z(),U(),H("onCreate",[b]),n.showOnCreate&&le(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&K().addEventListener("mousemove",y)}),b;function j(){var A=b.props.touch;return Array.isArray(A)?A:[A,0]}function M(){return j()[0]==="hold"}function D(){var A;return!!((A=b.props.render)!=null&&A.$$tippy)}function R(){return _||e}function K(){var A=R().parentNode;return A?Kh(A):document}function G(){return cs(x)}function Y(A){return b.state.isMounted&&!b.state.isVisible||Yn.isTouch||d&&d.type==="focus"?0:Pl(b.props.delay,A?0:1,Ln.delay)}function U(A){A===void 0&&(A=!1),x.style.pointerEvents=b.props.interactive&&!A?"":"none",x.style.zIndex=""+b.props.zIndex}function H(A,ee,ae){if(ae===void 0&&(ae=!0),L.forEach(function(we){we[A]&&we[A].apply(we,ee)}),ae){var ye;(ye=b.props)[A].apply(ye,ee)}}function C(){var A=b.props.aria;if(A.content){var ee="aria-"+A.content,ae=x.id,ye=ia(b.props.triggerTarget||e);ye.forEach(function(we){var He=we.getAttribute(ee);if(b.state.isVisible)we.setAttribute(ee,He?He+" "+ae:ae);else{var J=He&&He.replace(ae,"").trim();J?we.setAttribute(ee,J):we.removeAttribute(ee)}})}}function z(){if(!(q||!b.props.aria.expanded)){var A=ia(b.props.triggerTarget||e);A.forEach(function(ee){b.props.interactive?ee.setAttribute("aria-expanded",b.state.isVisible&&ee===R()?"true":"false"):ee.removeAttribute("aria-expanded")})}}function te(){K().removeEventListener("mousemove",y),Bi=Bi.filter(function(A){return A!==y})}function X(A){if(!(Yn.isTouch&&(u||A.type==="mousedown"))){var ee=A.composedPath&&A.composedPath()[0]||A.target;if(!(b.props.interactive&&tf(x,ee))){if(ia(b.props.triggerTarget||e).some(function(ae){return tf(ae,ee)})){if(Yn.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else H("onClickOutside",[b,A]);b.props.hideOnClick===!0&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||B())}}}function V(){u=!0}function T(){u=!1}function E(){var A=K();A.addEventListener("mousedown",X,!0),A.addEventListener("touchend",X,aa),A.addEventListener("touchstart",T,aa),A.addEventListener("touchmove",V,aa)}function B(){var A=K();A.removeEventListener("mousedown",X,!0),A.removeEventListener("touchend",X,aa),A.removeEventListener("touchstart",T,aa),A.removeEventListener("touchmove",V,aa)}function Z(A,ee){fe(A,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&ee()})}function de(A,ee){fe(A,ee)}function fe(A,ee){var ae=G().box;function ye(we){we.target===ae&&(Ol(ae,"remove",ye),ee())}if(A===0)return ee();Ol(ae,"remove",p),Ol(ae,"add",ye),p=ye}function De(A,ee,ae){ae===void 0&&(ae=!1);var ye=ia(b.props.triggerTarget||e);ye.forEach(function(we){we.addEventListener(A,ee,ae),m.push({node:we,eventType:A,handler:ee,options:ae})})}function Ne(){M()&&(De("touchstart",Oe,{passive:!0}),De("touchend",Le,{passive:!0})),W_(b.props.trigger).forEach(function(A){if(A!=="manual")switch(De(A,Oe),A){case"mouseenter":De("mouseleave",Le);break;case"focus":De(tw?"focusout":"blur",at);break;case"focusin":De("focusout",at);break}})}function pe(){m.forEach(function(A){var ee=A.node,ae=A.eventType,ye=A.handler,we=A.options;ee.removeEventListener(ae,ye,we)}),m=[]}function Oe(A){var ee,ae=!1;if(!(!b.state.isEnabled||Je(A)||l)){var ye=((ee=d)==null?void 0:ee.type)==="focus";d=A,_=A.currentTarget,z(),!b.state.isVisible&&mc(A)&&Bi.forEach(function(we){return we(A)}),A.type==="click"&&(b.props.trigger.indexOf("mouseenter")<0||s)&&b.props.hideOnClick!==!1&&b.state.isVisible?ae=!0:le(A),A.type==="click"&&(s=!ae),ae&&!ye&&ie(A)}}function qe(A){var ee=A.target,ae=R().contains(ee)||x.contains(ee);if(!(A.type==="mousemove"&&ae)){var ye=re().concat(x).map(function(we){var He,J=we._tippy,ue=(He=J.popperInstance)==null?void 0:He.state;return ue?{popperRect:we.getBoundingClientRect(),popperState:ue,props:n}:null}).filter(Boolean);X_(ye,A)&&(te(),ie(A))}}function Le(A){var ee=Je(A)||b.props.trigger.indexOf("click")>=0&&s;if(!ee){if(b.props.interactive){b.hideWithInteractivity(A);return}ie(A)}}function at(A){b.props.trigger.indexOf("focusin")<0&&A.target!==R()||b.props.interactive&&A.relatedTarget&&x.contains(A.relatedTarget)||ie(A)}function Je(A){return Yn.isTouch?M()!==A.type.indexOf("touch")>=0:!1}function Ye(){ge();var A=b.props,ee=A.popperOptions,ae=A.placement,ye=A.offset,we=A.getReferenceClientRect,He=A.moveTransition,J=D()?cs(x).arrow:null,ue=we?{getBoundingClientRect:we,contextElement:we.contextElement||R()}:e,je={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(he){var dt=he.state;if(D()){var Me=G(),sn=Me.box;["placement","reference-hidden","escaped"].forEach(function(Kt){Kt==="placement"?sn.setAttribute("data-placement",dt.placement):dt.attributes.popper["data-popper-"+Kt]?sn.setAttribute("data-"+Kt,""):sn.removeAttribute("data-"+Kt)}),dt.attributes.popper={}}}},Be=[{name:"offset",options:{offset:ye}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!He}},je];D()&&J&&Be.push({name:"arrow",options:{element:J,padding:3}}),Be.push.apply(Be,(ee==null?void 0:ee.modifiers)||[]),b.popperInstance=z_(ue,x,Object.assign({},ee,{placement:ae,onFirstUpdate:h,modifiers:Be}))}function ge(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Ie(){var A=b.props.appendTo,ee,ae=R();b.props.interactive&&A===qh||A==="parent"?ee=ae.parentNode:ee=Yh(A,[ae]),ee.contains(x)||ee.appendChild(x),b.state.isMounted=!0,Ye()}function re(){return no(x.querySelectorAll("[data-tippy-root]"))}function le(A){b.clearDelayTimeouts(),A&&H("onTrigger",[b,A]),E();var ee=Y(!0),ae=j(),ye=ae[0],we=ae[1];Yn.isTouch&&ye==="hold"&&we&&(ee=we),ee?r=setTimeout(function(){b.show()},ee):b.show()}function ie(A){if(b.clearDelayTimeouts(),H("onUntrigger",[b,A]),!b.state.isVisible){B();return}if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(A.type)>=0&&s)){var ee=Y(!1);ee?o=setTimeout(function(){b.state.isVisible&&b.hide()},ee):i=requestAnimationFrame(function(){b.hide()})}}function Ue(){b.state.isEnabled=!0}function Ee(){b.hide(),b.state.isEnabled=!1}function xt(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function _t(A){if(!b.state.isDestroyed){H("onBeforeUpdate",[b,A]),pe();var ee=b.props,ae=rf(e,Object.assign({},ee,ef(A),{ignoreAttributes:!0}));b.props=ae,Ne(),ee.interactiveDebounce!==ae.interactiveDebounce&&(te(),y=Zd(qe,ae.interactiveDebounce)),ee.triggerTarget&&!ae.triggerTarget?ia(ee.triggerTarget).forEach(function(ye){ye.removeAttribute("aria-expanded")}):ae.triggerTarget&&e.removeAttribute("aria-expanded"),z(),U(),P&&P(ee,ae),b.popperInstance&&(Ye(),re().forEach(function(ye){requestAnimationFrame(ye._tippy.popperInstance.forceUpdate)})),H("onAfterUpdate",[b,A])}}function Bt(A){b.setProps({content:A})}function Wt(){var A=b.state.isVisible,ee=b.state.isDestroyed,ae=!b.state.isEnabled,ye=Yn.isTouch&&!b.props.touch,we=Pl(b.props.duration,0,Ln.duration);if(!(A||ee||ae||ye)&&!R().hasAttribute("disabled")&&(H("onShow",[b],!1),b.props.onShow(b)!==!1)){if(b.state.isVisible=!0,D()&&(x.style.visibility="visible"),U(),E(),b.state.isMounted||(x.style.transition="none"),D()){var He=G(),J=He.box,ue=He.content;Nl([J,ue],0)}h=function(){var Be;if(!(!b.state.isVisible||c)){if(c=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var Qe=G(),he=Qe.box,dt=Qe.content;Nl([he,dt],we),ai([he,dt],"visible")}C(),z(),Qd(Dl,b),(Be=b.popperInstance)==null||Be.forceUpdate(),H("onMount",[b]),b.props.animation&&D()&&de(we,function(){b.state.isShown=!0,H("onShown",[b])})}},Ie()}}function hn(){var A=!b.state.isVisible,ee=b.state.isDestroyed,ae=!b.state.isEnabled,ye=Pl(b.props.duration,1,Ln.duration);if(!(A||ee||ae)&&(H("onHide",[b],!1),b.props.onHide(b)!==!1)){if(b.state.isVisible=!1,b.state.isShown=!1,c=!1,s=!1,D()&&(x.style.visibility="hidden"),te(),B(),U(!0),D()){var we=G(),He=we.box,J=we.content;b.props.animation&&(Nl([He,J],ye),ai([He,J],"hidden"))}C(),z(),b.props.animation?D()&&Z(ye,b.unmount):b.unmount()}}function On(A){K().addEventListener("mousemove",y),Qd(Bi,y),y(A)}function Dt(){b.state.isVisible&&b.hide(),b.state.isMounted&&(ge(),re().forEach(function(A){A._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),Dl=Dl.filter(function(A){return A!==b}),b.state.isMounted=!1,H("onHidden",[b]))}function F(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),pe(),delete e._tippy,b.state.isDestroyed=!0,H("onDestroy",[b]))}}function Ce(e,t){t===void 0&&(t={});var n=Ln.plugins.concat(t.plugins||[]);Q_();var r=Object.assign({},t,{plugins:n}),o=K_(e),i=o.reduce(function(s,l){var u=l&&uw(l,r);return u&&s.push(u),s},[]);return js(e)?i[0]:i}Ce.defaultProps=Ln;Ce.setDefaultProps=ow;Ce.currentInput=Yn;var cw=Object.assign({},Ah,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),dw=function(t,n){var r;n===void 0&&(n={});var o=t,i=[],s=[],l,u=n.overrides,c=[],d=!1;function p(){s=o.map(function(b){return ia(b.props.triggerTarget||b.reference)}).reduce(function(b,O){return b.concat(O)},[])}function h(){i=o.map(function(b){return b.reference})}function m(b){o.forEach(function(O){b?O.enable():O.disable()})}function y(b){return o.map(function(O){var x=O.setProps;return O.setProps=function(P){x(P),O.reference===l&&b.setProps(P)},function(){O.setProps=x}})}function _(b,O){var x=s.indexOf(O);if(O!==l){l=O;var P=(u||[]).concat("content").reduce(function(L,q){return L[q]=o[x].props[q],L},{});b.setProps(Object.assign({},P,{getReferenceClientRect:typeof P.getReferenceClientRect=="function"?P.getReferenceClientRect:function(){var L;return(L=i[x])==null?void 0:L.getBoundingClientRect()}}))}}m(!1),h(),p();var k={fn:function(){return{onDestroy:function(){m(!0)},onHidden:function(){l=null},onClickOutside:function(x){x.props.showOnCreate&&!d&&(d=!0,l=null)},onShow:function(x){x.props.showOnCreate&&!d&&(d=!0,_(x,i[0]))},onTrigger:function(x,P){_(x,P.currentTarget)}}}},w=Ce(pa(),Object.assign({},j_(n,["overrides"]),{plugins:[k].concat(n.plugins||[]),triggerTarget:s,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[cw])})})),I=w.show;w.show=function(b){if(I(),!l&&b==null)return _(w,i[0]);if(!(l&&b==null)){if(typeof b=="number")return i[b]&&_(w,i[b]);if(o.indexOf(b)>=0){var O=b.reference;return _(w,O)}if(i.indexOf(b)>=0)return _(w,b)}},w.showNext=function(){var b=i[0];if(!l)return w.show(0);var O=i.indexOf(l);w.show(i[O+1]||b)},w.showPrevious=function(){var b=i[i.length-1];if(!l)return w.show(b);var O=i.indexOf(l),x=i[O-1]||b;w.show(x)};var S=w.setProps;return w.setProps=function(b){u=b.overrides||u,S(b)},w.setInstances=function(b){m(!0),c.forEach(function(O){return O()}),o=b,m(!1),h(),p(),c=y(w),w.setProps({triggerTarget:s})},c=y(w),w},fw={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var r=cs(t.popper),o=r.box,i=r.content,s=t.props.animateFill?pw():null;return{onCreate:function(){s&&(o.insertBefore(s,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var u=o.style.transitionDuration,c=Number(u.replace("ms",""));i.style.transitionDelay=Math.round(c/10)+"ms",s.style.transitionDuration=u,ai([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&ai([s],"hidden")}}}};function pw(){var e=pa();return e.className=Uh,ai([e],"hidden"),e}var pu={clientX:0,clientY:0},Ai=[];function Qh(e){var t=e.clientX,n=e.clientY;pu={clientX:t,clientY:n}}function hw(e){e.addEventListener("mousemove",Qh)}function mw(e){e.removeEventListener("mousemove",Qh)}var vw={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=Kh(t.props.triggerTarget||n),o=!1,i=!1,s=!0,l=t.props;function u(){return t.props.followCursor==="initial"&&t.state.isVisible}function c(){r.addEventListener("mousemove",h)}function d(){r.removeEventListener("mousemove",h)}function p(){o=!0,t.setProps({getReferenceClientRect:null}),o=!1}function h(_){var k=_.target?n.contains(_.target):!0,w=t.props.followCursor,I=_.clientX,S=_.clientY,b=n.getBoundingClientRect(),O=I-b.left,x=S-b.top;(k||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var L=n.getBoundingClientRect(),q=I,j=S;w==="initial"&&(q=L.left+O,j=L.top+x);var M=w==="horizontal"?L.top:j,D=w==="vertical"?L.right:q,R=w==="horizontal"?L.bottom:j,K=w==="vertical"?L.left:q;return{width:D-K,height:R-M,top:M,right:D,bottom:R,left:K}}})}function m(){t.props.followCursor&&(Ai.push({instance:t,doc:r}),hw(r))}function y(){Ai=Ai.filter(function(_){return _.instance!==t}),Ai.filter(function(_){return _.doc===r}).length===0&&mw(r)}return{onCreate:m,onDestroy:y,onBeforeUpdate:function(){l=t.props},onAfterUpdate:function(k,w){var I=w.followCursor;o||I!==void 0&&l.followCursor!==I&&(y(),I?(m(),t.state.isMounted&&!i&&!u()&&c()):(d(),p()))},onMount:function(){t.props.followCursor&&!i&&(s&&(h(pu),s=!1),u()||c())},onTrigger:function(k,w){mc(w)&&(pu={clientX:w.clientX,clientY:w.clientY}),i=w.type==="focus"},onHidden:function(){t.props.followCursor&&(p(),d(),s=!0)}}}};function gw(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var o=r.name;return o!==t.name}),[t])})}}var yw={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function r(){return!!t.props.inlinePositioning}var o,i=-1,s=!1,l=[],u={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(m){var y=m.state;r()&&(l.indexOf(y.placement)!==-1&&(l=[]),o!==y.placement&&l.indexOf(y.placement)===-1&&(l.push(y.placement),t.setProps({getReferenceClientRect:function(){return c(y.placement)}})),o=y.placement)}};function c(h){return bw(Gh(h),n.getBoundingClientRect(),no(n.getClientRects()),i)}function d(h){s=!0,t.setProps(h),s=!1}function p(){s||d(gw(t.props,u))}return{onCreate:p,onAfterUpdate:p,onTrigger:function(m,y){if(mc(y)){var _=no(t.reference.getClientRects()),k=_.find(function(I){return I.left-2<=y.clientX&&I.right+2>=y.clientX&&I.top-2<=y.clientY&&I.bottom+2>=y.clientY}),w=_.indexOf(k);i=w>-1?w:i}},onHidden:function(){i=-1}}}};function bw(e,t,n,r){if(n.length<2||e===null)return t;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":{var o=n[0],i=n[n.length-1],s=e==="top",l=o.top,u=i.bottom,c=s?o.left:i.left,d=s?o.right:i.right,p=d-c,h=u-l;return{top:l,bottom:u,left:c,right:d,width:p,height:h}}case"left":case"right":{var m=Math.min.apply(Math,n.map(function(x){return x.left})),y=Math.max.apply(Math,n.map(function(x){return x.right})),_=n.filter(function(x){return e==="left"?x.left===m:x.right===y}),k=_[0].top,w=_[_.length-1].bottom,I=m,S=y,b=S-I,O=w-k;return{top:k,bottom:w,left:I,right:S,width:b,height:O}}default:return t}}var _w={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function i(c){return t.props.sticky===!0||t.props.sticky===c}var s=null,l=null;function u(){var c=i("reference")?o().getBoundingClientRect():null,d=i("popper")?r.getBoundingClientRect():null;(c&&sf(s,c)||d&&sf(l,d))&&t.popperInstance&&t.popperInstance.update(),s=c,l=d,t.state.isMounted&&requestAnimationFrame(u)}return{onMount:function(){t.props.sticky&&u()}}}};function sf(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ce.setDefaultProps({render:Zh});Ce.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});function vc(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=a.getCurrentInstance(),o=a.ref(),i=a.ref({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=a.shallowRef();let l=null;const u=()=>l||(l=document.createDocumentFragment(),l),c=P=>{let L,q=a.isRef(P)?P.value:P;return a.isVNode(q)?(s.value||(s.value=a.createApp({name:n.appName,setup:()=>()=>a.isRef(P)?P.value:P}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(u())),L=()=>u()):typeof q=="object"?(s.value||(s.value=a.createApp({name:n.appName,setup:()=>()=>a.h(a.isRef(P)?P.value:P)}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(u())),L=()=>u()):L=q,L},d=P=>{let L={};return a.isRef(P)?L=P.value||{}:a.isReactive(P)?L={...P}:L={...P},L.content&&(L.content=c(L.content)),L.triggerTarget&&(L.triggerTarget=a.isRef(L.triggerTarget)?L.triggerTarget.value:L.triggerTarget),(!L.plugins||!Array.isArray(L.plugins))&&(L.plugins=[]),L.plugins=L.plugins.filter(q=>q.name!=="vueTippyReactiveState"),L.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){i.value.isEnabled=!0},onMount(){i.value.isMounted=!0},onShow(){i.value.isMounted=!0,i.value.isVisible=!0},onShown(){i.value.isShown=!0},onHide(){i.value.isMounted=!1,i.value.isVisible=!1},onHidden(){i.value.isShown=!1},onUnmounted(){i.value.isMounted=!1},onDestroy(){i.value.isDestroyed=!0}})}),L},p=()=>{o.value&&o.value.setProps(d(t))},h=()=>{!o.value||!t.content||o.value.setContent(c(t.content))},m=P=>{var L;(L=o.value)===null||L===void 0||L.setContent(c(P))},y=P=>{var L;(L=o.value)===null||L===void 0||L.setProps(d(P))},_=()=>{var P;o.value&&(o.value.destroy(),o.value=void 0),l=null,(P=s.value)===null||P===void 0||P.unmount(),s.value=void 0},k=()=>{var P;(P=o.value)===null||P===void 0||P.show()},w=()=>{var P;(P=o.value)===null||P===void 0||P.hide()},I=()=>{var P;(P=o.value)===null||P===void 0||P.disable(),i.value.isEnabled=!1},S=()=>{var P;(P=o.value)===null||P===void 0||P.enable(),i.value.isEnabled=!0},b=()=>{var P;(P=o.value)===null||P===void 0||P.unmount()},O=()=>{if(!e)return;let P=a.isRef(e)?e.value:e;typeof P=="function"&&(P=P()),P&&(o.value=Ce(P,d(t)),P.$tippy=x)},x={tippy:o,refresh:p,refreshContent:h,setContent:m,setProps:y,destroy:_,hide:w,show:k,disable:I,enable:S,unmount:b,mount:O,state:i};return n.mount&&(r?r.isMounted?O():a.onMounted(O):O()),r&&a.onUnmounted(()=>{_()}),a.isRef(t)||a.isReactive(t)?a.watch(t,p,{immediate:!1}):a.isRef(t.content)&&a.watch(t.content,h,{immediate:!1}),x}function ww(e,t){const n=a.ref();return a.onMounted(()=>{const o=(Array.isArray(e)?e.map(i=>i.value):typeof e=="function"?e():e.value).map(i=>i instanceof Element?i._tippy:i).filter(Boolean);n.value=dw(o,t?{allowHTML:!0,...t}:{allowHTML:!0})}),{singleton:n}}function kw(e){return typeof e=="function"?e():a.unref(e)}function Sw(e){var t,n;const r=kw(e);return(n=(t=r)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:r}const Cw=a.defineComponent({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Ce.defaultProps.appendTo},aria:{default:()=>Ce.defaultProps.aria},delay:{default:()=>Ce.defaultProps.delay},duration:{default:()=>Ce.defaultProps.duration},getReferenceClientRect:{default:()=>Ce.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Ce.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Ce.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Ce.defaultProps.interactive},interactiveBorder:{default:()=>Ce.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Ce.defaultProps.interactiveDebounce},moveTransition:{default:()=>Ce.defaultProps.moveTransition},offset:{default:()=>Ce.defaultProps.offset},onAfterUpdate:{default:()=>Ce.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Ce.defaultProps.onBeforeUpdate},onCreate:{default:()=>Ce.defaultProps.onCreate},onDestroy:{default:()=>Ce.defaultProps.onDestroy},onHidden:{default:()=>Ce.defaultProps.onHidden},onHide:{default:()=>Ce.defaultProps.onHide},onMount:{default:()=>Ce.defaultProps.onMount},onShow:{default:()=>Ce.defaultProps.onShow},onShown:{default:()=>Ce.defaultProps.onShown},onTrigger:{default:()=>Ce.defaultProps.onTrigger},onUntrigger:{default:()=>Ce.defaultProps.onUntrigger},onClickOutside:{default:()=>Ce.defaultProps.onClickOutside},placement:{default:()=>Ce.defaultProps.placement},plugins:{default:()=>Ce.defaultProps.plugins},popperOptions:{default:()=>Ce.defaultProps.popperOptions},render:{default:()=>Ce.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Ce.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Ce.defaultProps.touch},trigger:{default:()=>Ce.defaultProps.trigger},triggerTarget:{default:()=>Ce.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Ce.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Ce.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Ce.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Ce.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Ce.defaultProps.allowHTML},animation:{default:()=>Ce.defaultProps.animation},arrow:{default:()=>Ce.defaultProps.arrow},content:{default:()=>Ce.defaultProps.content},inertia:{default:()=>Ce.defaultProps.inertia},maxWidth:{default:()=>Ce.defaultProps.maxWidth},role:{default:()=>Ce.defaultProps.role},theme:{default:()=>Ce.defaultProps.theme},zIndex:{default:()=>Ce.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const o=a.ref(),i=a.ref(),s=a.ref(),l=a.ref(!1),u=()=>{let m={...e};for(const y of["to","tag","contentTag","contentClass"])m.hasOwnProperty(y)&&delete m[y];return m};let c=()=>Sw(o);e.to&&(typeof Element<"u"&&e.to instanceof Element?c=()=>e.to:e.to==="parent"?c=()=>{let m=o.value;return m||(m=o.value=i.value.parentElement),m}:(typeof e.to=="string"||e.to instanceof String)&&(c=()=>document.querySelector(e.to)));const d=vc(c,u());let p=t.content;!p&&e.to==="parent"&&(p=t.default),a.onMounted(()=>{l.value=!0,a.nextTick(()=>{p&&d.setContent(()=>s.value)})}),a.watch(d.state,()=>{n("state",a.unref(d.state))},{immediate:!0,deep:!0}),a.watch(()=>e,()=>{d.setProps(u()),p&&d.setContent(()=>s.value)},{deep:!0});let h=a.reactive({elem:o,contentElem:s,mounted:l,...d});return r(h),()=>{const m=(typeof e.contentTag=="string",e.contentTag),y=p?a.h(m,{ref:s,style:{display:l.value?"inherit":"none"},class:e.contentClass},p(h)):null;if(e.to==="parent"){const w=[];if(!o.value){const I=a.h("span",{ref:i,"data-v-tippy":"",style:{display:"none"}});w.push(I)}return y&&w.push(y),w}const _=t.default?t.default(h):[];if(!e.tag){const w=a.h(_[0],{ref:o,"data-v-tippy":""});return y?[w,y]:w}const k=(typeof e.tag=="string",e.tag);return a.h(k,{ref:o,"data-v-tippy":""},y?[_,y]:_)}}}),Tw=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let hu={};Object.keys(Ce.defaultProps).forEach(e=>{Tw.includes(e)?hu[e]={type:Boolean,default:function(){return Ce.defaultProps[e]}}:hu[e]={default:function(){return Ce.defaultProps[e]}}});const Ew=a.defineComponent({props:hu,setup(e){const t=a.ref([]),{singleton:n}=ww(t,e);return{instances:t,singleton:n}},mounted(){var e;const n=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map(r=>r._tippy).filter(Boolean),(e=this.singleton)===null||e===void 0||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return a.h(()=>e)}}),xw={mounted(e,t,n){const r=typeof t.value=="string"?{content:t.value}:t.value||{},o=Object.keys(t.modifiers||{}),i=o.find(l=>l!=="arrow"),s=o.findIndex(l=>l==="arrow")!==-1;i&&(r.placement=r.placement||i),s&&(r.arrow=r.arrow!==void 0?r.arrow:!0),n.props&&n.props.onTippyShow&&(r.onShow=function(...l){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyShow(...l)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...l){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyShown(...l)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...l){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyHidden(...l)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...l){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyHide(...l)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...l){var u;return(u=n.props)===null||u===void 0?void 0:u.onTippyMount(...l)}),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),vc(e,r)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},Iw={install(e,t={}){Ce.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",xw),e.component(t.component||"tippy",Cw),e.component(t.componentSingleton||"tippy-singleton",Ew)}},Pw=Ce.setDefaultProps;Pw({ignoreAttributes:!0,plugins:[_w,yw,vw,fw]});const un={navigationItems:a.shallowRef([]),mainMenuOpen:a.shallowRef(!1),mobileMenuOpen:a.shallowRef(!1),mobileMenuOpenTransition:a.shallowRef(!1),navigationComponent:a.shallowRef("a"),logo:a.shallowRef(null),avatar:a.shallowRef(null),contactRoute:a.shallowRef(),contactIcon:a.shallowRef("?")};function _o(){function e(d){un.navigationItems.value=a.isRef(d)?d==null?void 0:d.value:d}function t(d){un.navigationComponent.value=d}function n(d){un.logo.value=d}function r(d){un.avatar.value=d}function o(){un.mainMenuOpen.value=!0}function i(){un.mainMenuOpen.value=!1}function s(){un.mainMenuOpen.value=!un.mainMenuOpen.value}function l(){un.mobileMenuOpen.value=!0,un.mobileMenuOpenTransition.value=!0}function u(){un.mobileMenuOpen.value=!1,setTimeout(()=>{un.mobileMenuOpenTransition.value=!1},100)}function c(){return un.mobileMenuOpen.value?u():l()}return{...un,setNavigationItems:e,setNavigationComponent:t,setLogo:n,setAvatar:r,openMainMenu:o,closeMainMenu:i,toggleMainMenu:s,openMobileMenu:l,closeMobileMenu:u,toggleMobileMenu:c}}function Ml(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Nw(e){return`#${Ml(e[0])}${Ml(e[1])}${Ml(e[2])}`}function Ho(e,t=!1){const n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return t?`${n} ${r} ${o}`:[n,r,o]}const Na={layoutImage:a.ref(null),colors:{primaryColor:a.ref("#47A6DC"),primaryColorActive:a.ref("#3094CD"),secondaryColor:a.ref("#27272A"),secondaryColorActive:a.ref("#202023")}};function gc(){function e(r){Na.layoutImage.value=r}function t(r,o){Na.colors.primaryColor.value=r,Na.colors.primaryColorActive.value=o,document.documentElement.style.setProperty("--color-primary",Ho(r,!0)),document.documentElement.style.setProperty("--color-primary-active",Ho(o,!0))}function n(r,o){Na.colors.secondaryColor.value=r,Na.colors.secondaryColorActive.value=o,document.documentElement.style.setProperty("--color-secondary",Ho(r,!0)),document.documentElement.style.setProperty("--color-secondary-active",Ho(o,!0))}return{...Na,setLayoutImage:e,setPrimaryColors:t,setSecondaryColors:n}}function Ow(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(d){try{c(r.next(d))}catch(p){s(p)}}function u(d){try{c(r.throw(d))}catch(p){s(p)}}function c(d){d.done?i(d.value):o(d.value).then(l,u)}c((r=r.apply(e,[])).next())})}function Dw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mw=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n},Bw=Dw(Mw);const lf="__googleMapsScriptId";var La;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(La||(La={}));class sa{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:o,id:i=lf,language:s,libraries:l=[],mapIds:u,nonce:c,region:d,retries:p=3,url:h="https://maps.googleapis.com/maps/api/js",version:m}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=o,this.id=i||lf,this.language=s,this.libraries=l,this.mapIds=u,this.nonce=c,this.region=d,this.retries=p,this.url=h,this.version=m,sa.instance){if(!Bw(this.options,sa.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(sa.instance.options)}`);return sa.instance}sa.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?La.FAILURE:this.done?La.SUCCESS:this.loading?La.LOADING:La.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(i=>{let s,l,u,c="The Google Maps JavaScript API",d="google",p="importLibrary",h="__ib__",m=document,y=window;y=y[d]||(y[d]={});const _=y.maps||(y.maps={}),k=new Set,w=new URLSearchParams,I=()=>s||(s=new Promise((S,b)=>Ow(this,void 0,void 0,function*(){var O;yield l=m.createElement("script"),l.id=this.id,w.set("libraries",[...k]+"");for(u in i)w.set(u.replace(/[A-Z]/g,x=>"_"+x[0].toLowerCase()),i[u]);w.set("callback",d+".maps."+h),l.src=this.url+"?"+w,_[h]=S,l.onerror=()=>s=b(Error(c+" could not load.")),l.nonce=this.nonce||((O=m.querySelector("script[nonce]"))===null||O===void 0?void 0:O.nonce)||"",m.head.append(l)})));_[p]?console.warn(c+" only loads once. Ignoring:",i):_[p]=(S,...b)=>k.add(S)&&I().then(()=>_[p](S,...b))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const s=new ErrorEvent("error",{error:i});this.loadErrorCallback(s)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}const Bl={loaded:a.ref(!1)};function Aw(){async function e(t){Bl.loaded&&(await new sa({apiKey:t,version:"weekly"}).load(),Bl.loaded.value=!0)}return{...Bl,load:e}}const Un=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Rw={},$w={width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Lw=a.createElementVNode("circle",{r:"10",cy:"12",cx:"12.0269",fill:"#22C55E"},null,-1),Vw=a.createElementVNode("path",{stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 12.8571L10.5714 15.4286L17 9"},null,-1),Fw=[Lw,Vw];function Hw(e,t){return a.openBlock(),a.createElementBlock("svg",$w,Fw)}const em=Un(Rw,[["render",Hw]]),zw={},Uw={width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},jw=a.createElementVNode("path",{fill:"#EAB308",stroke:"#EAB308","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:`M2.31804 17.4787C1.41423 19.0442 2.54451 21 4.35109 21H19.7033C21.5089 21 22.6391 19.0442
|
|
6
|
-
21.7364 17.4787L14.0613 4.17412C13.1575 2.60863 10.8969 2.60863 9.99311 4.17412L2.31804 17.4787Z`},null,-1),Ww=a.createElementVNode("path",{stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8V13.549M12 17.9882H12.0104V18H12V17.9882Z"},null,-1),qw=[jw,Ww];function Yw(e,t){return a.openBlock(),a.createElementBlock("svg",Uw,qw)}const tm=Un(zw,[["render",Yw]]),Gw={},Kw={width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Xw=a.createElementVNode("circle",{r:"10",cy:"12",cx:"12.0269",fill:"#DC2626"},null,-1),Jw=a.createElementVNode("path",{stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:"M12.0269 7V12.549M12.0269 16.9882H12.0372V17H12.0269V16.9882Z"},null,-1),Zw=[Xw,Jw];function Qw(e,t){return a.openBlock(),a.createElementBlock("svg",Kw,Zw)}const nm=Un(Gw,[["render",Qw]]),e1={success:["bg-green-100"],warning:["bg-yellow-100"],error:["bg-red-100"]},rm={success:em,warning:tm,error:nm},t1={class:"flex items-center font-bold"},n1={key:0,class:"mr-2"},r1={"data-test-title":""},a1={key:0,class:"mt-1 text-zinc-700","data-test-description":""},am=a.defineComponent({__name:"AppAlert",props:{type:{},title:{default:void 0},description:{default:void 0},withIcon:{type:Boolean,default:!0}},setup(e){const t=a.useSlots();return(n,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([a.unref(e1)[n.type],"app-alert inline-flex max-w-[410px] flex-col rounded-lg px-
|
|
6
|
+
21.7364 17.4787L14.0613 4.17412C13.1575 2.60863 10.8969 2.60863 9.99311 4.17412L2.31804 17.4787Z`},null,-1),Ww=a.createElementVNode("path",{stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8V13.549M12 17.9882H12.0104V18H12V17.9882Z"},null,-1),qw=[jw,Ww];function Yw(e,t){return a.openBlock(),a.createElementBlock("svg",Uw,qw)}const tm=Un(zw,[["render",Yw]]),Gw={},Kw={width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Xw=a.createElementVNode("circle",{r:"10",cy:"12",cx:"12.0269",fill:"#DC2626"},null,-1),Jw=a.createElementVNode("path",{stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",d:"M12.0269 7V12.549M12.0269 16.9882H12.0372V17H12.0269V16.9882Z"},null,-1),Zw=[Xw,Jw];function Qw(e,t){return a.openBlock(),a.createElementBlock("svg",Kw,Zw)}const nm=Un(Gw,[["render",Qw]]),e1={success:["bg-green-100"],warning:["bg-yellow-100"],error:["bg-red-100"]},rm={success:em,warning:tm,error:nm},t1={class:"flex items-center font-bold"},n1={key:0,class:"mr-2"},r1={"data-test-title":""},a1={key:0,class:"mt-1 text-zinc-700","data-test-description":""},am=a.defineComponent({__name:"AppAlert",props:{type:{},title:{default:void 0},description:{default:void 0},withIcon:{type:Boolean,default:!0}},setup(e){const t=a.useSlots();return(n,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass([a.unref(e1)[n.type],"app-alert inline-flex max-w-[410px] flex-col rounded-lg px-4 py-2 text-sm text-zinc-900"])},[a.createElementVNode("div",t1,[n.withIcon?(a.openBlock(),a.createElementBlock("span",n1,[a.renderSlot(n.$slots,"icon",{type:n.type},()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(rm)[n.type]),{class:"size-5"}))])])):a.createCommentVNode("",!0),a.createElementVNode("span",r1,[a.renderSlot(n.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(n.title),1)])])]),n.description||a.unref(t).description?(a.openBlock(),a.createElementBlock("div",a1,[a.renderSlot(n.$slots,"description",{},()=>[a.createTextVNode(a.toDisplayString(n.description),1)])])):a.createCommentVNode("",!0)],2))}}),o1={small:["w-7 h-7"],medium:["w-10 h-10"],large:["w-12 h-12"]},i1={width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s1=a.createElementVNode("mask",{id:"mask0_928_1872",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"39",height:"39"},[a.createElementVNode("circle",{cx:"19.5",cy:"19.5",r:"19.5",fill:"#D9D9D9"})],-1),l1={mask:"url(#mask0_928_1872)"},u1=a.createElementVNode("circle",{cx:"19.5",cy:"19.5",r:"19.5",fill:"#E4E4E7"},null,-1),c1=a.createElementVNode("path",{d:`M22.1755 30.7083C21.0239 32.4573 21.339 35.344 21.339 35.344C21.339 35.344 23.0323 34.3422 23.1456
|
|
7
7
|
32.6631C23.2588 30.984 22.1755 30.7083 22.1755 30.7083Z`,fill:"#EBEFF2"},null,-1),d1=["fill"],f1=a.createStaticVNode(`<path d="M28.9482 30.3374C28.9564 30.4399 28.8581 30.617 28.6812 30.8453C27.6784 32.1493 24.1454 35.1328 23.3724
|
|
8
8
|
35.5308C22.4628 35.9993 23.2503 32.6818 22.2268 30.5188C22.7132 30.5487 26.6922 28.6152 27.933 28.4082C28.0986
|
|
9
9
|
28.3804 28.2155 28.3836 28.2683 28.4252C28.7226 28.7859 28.8954 29.6513 28.9482 30.3364V30.3374Z" fill="white"></path><path d="M14.0829 3.72947C10.4355 3.03851 8.76582 6.04253 9.26737 8.87937C9.76786 11.7162 15.3706 12.932 16.0383
|
package/dist/ui.js
CHANGED
|
@@ -3451,7 +3451,7 @@ const nv = /* @__PURE__ */ yr(oS, [["render", fS]]), pS = {
|
|
|
3451
3451
|
setup(e) {
|
|
3452
3452
|
const t = Ur();
|
|
3453
3453
|
return (n, r) => (k(), N("div", {
|
|
3454
|
-
class: ie([E(pS)[n.type], "app-alert inline-flex max-w-[410px] flex-col rounded-lg px-
|
|
3454
|
+
class: ie([E(pS)[n.type], "app-alert inline-flex max-w-[410px] flex-col rounded-lg px-4 py-2 text-sm text-zinc-900"])
|
|
3455
3455
|
}, [
|
|
3456
3456
|
j("div", hS, [
|
|
3457
3457
|
n.withIcon ? (k(), N("span", mS, [
|