UNPKG

@blueking/app-select

Version:

基于蓝鲸 Magicbox 和 Vue 的前端业务组件

21 lines (13 loc) 80.2 kB
(function(L,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(L=typeof globalThis<"u"?globalThis:L||self,l(L.index={},L.vue))})(this,function(L,l){"use strict";var k="top",Z="bottom",X="right",j="left",Ht="auto",We=[k,Z,X,j],Be="start",Ke="end",ha="clippingParents",Or="viewport",ze="popper",ga="reference",wr=We.reduce(function(e,t){return e.concat([t+"-"+Be,t+"-"+Ke])},[]),Ir=[].concat(We,[Ht]).reduce(function(e,t){return e.concat([t,t+"-"+Be,t+"-"+Ke])},[]),ma="beforeRead",ya="read",Aa="afterRead",Ea="beforeMain",ba="main",Na="afterMain",Oa="beforeWrite",wa="write",Ia="afterWrite",Ca=[ma,ya,Aa,Ea,ba,Na,Oa,wa,Ia];function Q(e){return e?(e.nodeName||"").toLowerCase():null}function V(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function be(e){var t=V(e).Element;return e instanceof t||e instanceof Element}function Y(e){var t=V(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Lt(e){if(typeof ShadowRoot>"u")return!1;var t=V(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ta(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Y(i)||!Q(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(u){var s=a[u];s===!1?i.removeAttribute(u):i.setAttribute(u,s===!0?"":s)}))})}function xa(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},u=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=u.reduce(function(c,f){return c[f]="",c},{});!Y(a)||!Q(a)||(Object.assign(a.style,s),Object.keys(i).forEach(function(c){a.removeAttribute(c)}))})}}const Cr={name:"applyStyles",enabled:!0,phase:"write",fn:Ta,effect:xa,requires:["computeStyles"]};function ee(e){return e.split("-")[0]}var Ne=Math.max,dt=Math.min,Ue=Math.round;function Rt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Tr(){return!/^((?!chrome|android).)*safari/i.test(Rt())}function Pe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&Y(e)&&(a=e.offsetWidth>0&&Ue(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ue(n.height)/e.offsetHeight||1);var u=be(e)?V(e):window,s=u.visualViewport,c=!Tr()&&r,f=(n.left+(c&&s?s.offsetLeft:0))/a,d=(n.top+(c&&s?s.offsetTop:0))/i,g=n.width/a,m=n.height/i;return{width:g,height:m,top:d,right:f+g,bottom:d+m,left:f,x:f,y:d}}function $t(e){var t=Pe(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function xr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Lt(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ue(e){return V(e).getComputedStyle(e)}function Sa(e){return["table","td","th"].indexOf(Q(e))>=0}function ge(e){return((be(e)?e.ownerDocument:e.document)||window.document).documentElement}function pt(e){return Q(e)==="html"?e:e.assignedSlot||e.parentNode||(Lt(e)?e.host:null)||ge(e)}function Sr(e){return!Y(e)||ue(e).position==="fixed"?null:e.offsetParent}function Da(e){var t=/firefox/i.test(Rt()),r=/Trident/i.test(Rt());if(r&&Y(e)){var n=ue(e);if(n.position==="fixed")return null}var a=pt(e);for(Lt(a)&&(a=a.host);Y(a)&&["html","body"].indexOf(Q(a))<0;){var i=ue(a);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 a;a=a.parentNode}return null}function Ze(e){for(var t=V(e),r=Sr(e);r&&Sa(r)&&ue(r).position==="static";)r=Sr(r);return r&&(Q(r)==="html"||Q(r)==="body"&&ue(r).position==="static")?t:r||Da(e)||t}function Gt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xe(e,t,r){return Ne(e,dt(t,r))}function Ba(e,t,r){var n=Xe(e,t,r);return n>r?r:n}function Dr(){return{top:0,right:0,bottom:0,left:0}}function Br(e){return Object.assign({},Dr(),e)}function Ur(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Ua=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Br(typeof t!="number"?t:Ur(t,We))};function Pa(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,u=r.modifiersData.popperOffsets,s=ee(r.placement),c=Gt(s),f=[j,X].indexOf(s)>=0,d=f?"height":"width";if(!(!i||!u)){var g=Ua(a.padding,r),m=$t(i),v=c==="y"?k:j,y=c==="y"?Z:X,N=r.rects.reference[d]+r.rects.reference[c]-u[c]-r.rects.popper[d],E=u[c]-r.rects.reference[c],A=Ze(i),w=A?c==="y"?A.clientHeight||0:A.clientWidth||0:0,C=N/2-E/2,o=g[v],O=w-m[d]-g[y],h=w/2-m[d]/2+C,x=Xe(o,h,O),T=c;r.modifiersData[n]=(t={},t[T]=x,t.centerOffset=x-h,t)}}function Fa(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||xr(t.elements.popper,a)&&(t.elements.arrow=a))}const _a={name:"arrow",enabled:!0,phase:"main",fn:Pa,effect:Fa,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fe(e){return e.split("-")[1]}var Ma={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ha(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Ue(r*a)/a||0,y:Ue(n*a)/a||0}}function Pr(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,u=e.offsets,s=e.position,c=e.gpuAcceleration,f=e.adaptive,d=e.roundOffsets,g=e.isFixed,m=u.x,v=m===void 0?0:m,y=u.y,N=y===void 0?0:y,E=typeof d=="function"?d({x:v,y:N}):{x:v,y:N};v=E.x,N=E.y;var A=u.hasOwnProperty("x"),w=u.hasOwnProperty("y"),C=j,o=k,O=window;if(f){var h=Ze(r),x="clientHeight",T="clientWidth";if(h===V(r)&&(h=ge(r),ue(h).position!=="static"&&s==="absolute"&&(x="scrollHeight",T="scrollWidth")),h=h,a===k||(a===j||a===X)&&i===Ke){o=Z;var U=g&&h===O&&O.visualViewport?O.visualViewport.height:h[x];N-=U-n.height,N*=c?1:-1}if(a===j||(a===k||a===Z)&&i===Ke){C=X;var F=g&&h===O&&O.visualViewport?O.visualViewport.width:h[T];v-=F-n.width,v*=c?1:-1}}var M=Object.assign({position:s},f&&Ma),_=d===!0?Ha({x:v,y:N},V(r)):{x:v,y:N};if(v=_.x,N=_.y,c){var P;return Object.assign({},M,(P={},P[o]=w?"0":"",P[C]=A?"0":"",P.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+N+"px)":"translate3d("+v+"px, "+N+"px, 0)",P))}return Object.assign({},M,(t={},t[o]=w?N+"px":"",t[C]=A?v+"px":"",t.transform="",t))}function La(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,u=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,f={placement:ee(t.placement),variation:Fe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Pr(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pr(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ra={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:La,data:{}};var vt={passive:!0};function $a(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,u=n.resize,s=u===void 0?!0:u,c=V(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach(function(d){d.addEventListener("scroll",r.update,vt)}),s&&c.addEventListener("resize",r.update,vt),function(){i&&f.forEach(function(d){d.removeEventListener("scroll",r.update,vt)}),s&&c.removeEventListener("resize",r.update,vt)}}const Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$a,data:{}};var ka={left:"right",right:"left",bottom:"top",top:"bottom"};function ht(e){return e.replace(/left|right|bottom|top/g,function(t){return ka[t]})}var ja={start:"end",end:"start"};function Fr(e){return e.replace(/start|end/g,function(t){return ja[t]})}function kt(e){var t=V(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function jt(e){return Pe(ge(e)).left+kt(e).scrollLeft}function Va(e,t){var r=V(e),n=ge(e),a=r.visualViewport,i=n.clientWidth,u=n.clientHeight,s=0,c=0;if(a){i=a.width,u=a.height;var f=Tr();(f||!f&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:i,height:u,x:s+jt(e),y:c}}function Wa(e){var t,r=ge(e),n=kt(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=Ne(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),u=Ne(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+jt(e),c=-n.scrollTop;return ue(a||r).direction==="rtl"&&(s+=Ne(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:u,x:s,y:c}}function Vt(e){var t=ue(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function _r(e){return["html","body","#document"].indexOf(Q(e))>=0?e.ownerDocument.body:Y(e)&&Vt(e)?e:_r(pt(e))}function Ye(e,t){var r;t===void 0&&(t=[]);var n=_r(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=V(n),u=a?[i].concat(i.visualViewport||[],Vt(n)?n:[]):n,s=t.concat(u);return a?s:s.concat(Ye(pt(u)))}function Wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ka(e,t){var r=Pe(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Mr(e,t,r){return t===Or?Wt(Va(e,r)):be(t)?Ka(t,r):Wt(Wa(ge(e)))}function za(e){var t=Ye(pt(e)),r=["absolute","fixed"].indexOf(ue(e).position)>=0,n=r&&Y(e)?Ze(e):e;return be(n)?t.filter(function(a){return be(a)&&xr(a,n)&&Q(a)!=="body"}):[]}function Za(e,t,r,n){var a=t==="clippingParents"?za(e):[].concat(t),i=[].concat(a,[r]),u=i[0],s=i.reduce(function(c,f){var d=Mr(e,f,n);return c.top=Ne(d.top,c.top),c.right=dt(d.right,c.right),c.bottom=dt(d.bottom,c.bottom),c.left=Ne(d.left,c.left),c},Mr(e,u,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Hr(e){var t=e.reference,r=e.element,n=e.placement,a=n?ee(n):null,i=n?Fe(n):null,u=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case k:c={x:u,y:t.y-r.height};break;case Z:c={x:u,y:t.y+t.height};break;case X:c={x:t.x+t.width,y:s};break;case j:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var f=a?Gt(a):null;if(f!=null){var d=f==="y"?"height":"width";switch(i){case Be:c[f]=c[f]-(t[d]/2-r[d]/2);break;case Ke:c[f]=c[f]+(t[d]/2-r[d]/2);break}}return c}function qe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.strategy,u=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?ha:s,f=r.rootBoundary,d=f===void 0?Or:f,g=r.elementContext,m=g===void 0?ze:g,v=r.altBoundary,y=v===void 0?!1:v,N=r.padding,E=N===void 0?0:N,A=Br(typeof E!="number"?E:Ur(E,We)),w=m===ze?ga:ze,C=e.rects.popper,o=e.elements[y?w:m],O=Za(be(o)?o:o.contextElement||ge(e.elements.popper),c,d,u),h=Pe(e.elements.reference),x=Hr({reference:h,element:C,placement:a}),T=Wt(Object.assign({},C,x)),U=m===ze?T:h,F={top:O.top-U.top+A.top,bottom:U.bottom-O.bottom+A.bottom,left:O.left-U.left+A.left,right:U.right-O.right+A.right},M=e.modifiersData.offset;if(m===ze&&M){var _=M[a];Object.keys(F).forEach(function(P){var K=[X,Z].indexOf(P)>=0?1:-1,z=[k,Z].indexOf(P)>=0?"y":"x";F[P]+=_[z]*K})}return F}function Xa(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,u=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,f=c===void 0?Ir:c,d=Fe(n),g=d?s?wr:wr.filter(function(y){return Fe(y)===d}):We,m=g.filter(function(y){return f.indexOf(y)>=0});m.length===0&&(m=g);var v=m.reduce(function(y,N){return y[N]=qe(e,{placement:N,boundary:a,rootBoundary:i,padding:u})[ee(N)],y},{});return Object.keys(v).sort(function(y,N){return v[y]-v[N]})}function Ya(e){if(ee(e)===Ht)return[];var t=ht(e);return[Fr(e),t,Fr(t)]}function qa(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,u=r.altAxis,s=u===void 0?!0:u,c=r.fallbackPlacements,f=r.padding,d=r.boundary,g=r.rootBoundary,m=r.altBoundary,v=r.flipVariations,y=v===void 0?!0:v,N=r.allowedAutoPlacements,E=t.options.placement,A=ee(E),w=A===E,C=c||(w||!y?[ht(E)]:Ya(E)),o=[E].concat(C).reduce(function(de,J){return de.concat(ee(J)===Ht?Xa(t,{placement:J,boundary:d,rootBoundary:g,padding:f,flipVariations:y,allowedAutoPlacements:N}):J)},[]),O=t.rects.reference,h=t.rects.popper,x=new Map,T=!0,U=o[0],F=0;F<o.length;F++){var M=o[F],_=ee(M),P=Fe(M)===Be,K=[k,Z].indexOf(_)>=0,z=K?"width":"height",R=qe(t,{placement:M,boundary:d,rootBoundary:g,altBoundary:m,padding:f}),$=K?P?X:j:P?Z:k;O[z]>h[z]&&($=ht($));var H=ht($),ae=[];if(i&&ae.push(R[_]<=0),s&&ae.push(R[$]<=0,R[H]<=0),ae.every(function(de){return de})){U=M,T=!1;break}x.set(M,ae)}if(T)for(var ie=y?3:1,Te=function(J){var pe=o.find(function($e){var ve=x.get($e);if(ve)return ve.slice(0,J).every(function(Ge){return Ge})});if(pe)return U=pe,"break"},oe=ie;oe>0;oe--){var xe=Te(oe);if(xe==="break")break}t.placement!==U&&(t.modifiersData[n]._skip=!0,t.placement=U,t.reset=!0)}}const Ja={name:"flip",enabled:!0,phase:"main",fn:qa,requiresIfExists:["offset"],data:{_skip:!1}};function Lr(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Rr(e){return[k,X,Z,j].some(function(t){return e[t]>=0})}function Qa(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,u=qe(t,{elementContext:"reference"}),s=qe(t,{altBoundary:!0}),c=Lr(u,n),f=Lr(s,a,i),d=Rr(c),g=Rr(f);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":g})}const ei={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Qa};function ti(e,t,r){var n=ee(e),a=[j,k].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,u=i[0],s=i[1];return u=u||0,s=(s||0)*a,[j,X].indexOf(n)>=0?{x:s,y:u}:{x:u,y:s}}function ri(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,u=Ir.reduce(function(d,g){return d[g]=ti(g,t.rects,i),d},{}),s=u[t.placement],c=s.x,f=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=f),t.modifiersData[n]=u}const ni={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ri};function ai(e){var t=e.state,r=e.name;t.modifiersData[r]=Hr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const ii={name:"popperOffsets",enabled:!0,phase:"read",fn:ai,data:{}};function oi(e){return e==="x"?"y":"x"}function ui(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,u=r.altAxis,s=u===void 0?!1:u,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,g=r.padding,m=r.tether,v=m===void 0?!0:m,y=r.tetherOffset,N=y===void 0?0:y,E=qe(t,{boundary:c,rootBoundary:f,padding:g,altBoundary:d}),A=ee(t.placement),w=Fe(t.placement),C=!w,o=Gt(A),O=oi(o),h=t.modifiersData.popperOffsets,x=t.rects.reference,T=t.rects.popper,U=typeof N=="function"?N(Object.assign({},t.rects,{placement:t.placement})):N,F=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(h){if(i){var P,K=o==="y"?k:j,z=o==="y"?Z:X,R=o==="y"?"height":"width",$=h[o],H=$+E[K],ae=$-E[z],ie=v?-T[R]/2:0,Te=w===Be?x[R]:T[R],oe=w===Be?-T[R]:-x[R],xe=t.elements.arrow,de=v&&xe?$t(xe):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Dr(),pe=J[K],$e=J[z],ve=Xe(0,x[R],de[R]),Ge=C?x[R]/2-ie-ve-pe-F.mainAxis:Te-ve-pe-F.mainAxis,Ae=C?-x[R]/2+ie+ve+$e+F.mainAxis:oe+ve+$e+F.mainAxis,ke=t.elements.arrow&&Ze(t.elements.arrow),Ct=ke?o==="y"?ke.clientTop||0:ke.clientLeft||0:0,ut=(P=M?.[o])!=null?P:0,Tt=$+Ge-ut-Ct,xt=$+Ae-ut,st=Xe(v?dt(H,Tt):H,$,v?Ne(ae,xt):ae);h[o]=st,_[o]=st-$}if(s){var ct,St=o==="x"?k:j,Dt=o==="x"?Z:X,he=h[O],Ee=O==="y"?"height":"width",lt=he+E[St],Se=he-E[Dt],ft=[k,j].indexOf(A)!==-1,Bt=(ct=M?.[O])!=null?ct:0,Ut=ft?lt:he-x[Ee]-T[Ee]-Bt+F.altAxis,Pt=ft?he+x[Ee]+T[Ee]-Bt-F.altAxis:Se,Ft=v&&ft?Ba(Ut,he,Pt):Xe(v?Ut:lt,he,v?Pt:Se);h[O]=Ft,_[O]=Ft-he}t.modifiersData[n]=_}}const si={name:"preventOverflow",enabled:!0,phase:"main",fn:ui,requiresIfExists:["offset"]};function ci(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function li(e){return e===V(e)||!Y(e)?kt(e):ci(e)}function fi(e){var t=e.getBoundingClientRect(),r=Ue(t.width)/e.offsetWidth||1,n=Ue(t.height)/e.offsetHeight||1;return r!==1||n!==1}function di(e,t,r){r===void 0&&(r=!1);var n=Y(t),a=Y(t)&&fi(t),i=ge(t),u=Pe(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Q(t)!=="body"||Vt(i))&&(s=li(t)),Y(t)?(c=Pe(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=jt(i))),{x:u.left+s.scrollLeft-c.x,y:u.top+s.scrollTop-c.y,width:u.width,height:u.height}}function pi(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var u=[].concat(i.requires||[],i.requiresIfExists||[]);u.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function vi(e){var t=pi(e);return Ca.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function hi(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gi(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $r={placement:"bottom",modifiers:[],strategy:"absolute"};function Gr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function mi(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?$r:a;return function(s,c,f){f===void 0&&(f=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},$r,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},g=[],m=!1,v={state:d,setOptions:function(A){var w=typeof A=="function"?A(d.options):A;N(),d.options=Object.assign({},i,d.options,w),d.scrollParents={reference:be(s)?Ye(s):s.contextElement?Ye(s.contextElement):[],popper:Ye(c)};var C=vi(gi([].concat(n,d.options.modifiers)));return d.orderedModifiers=C.filter(function(o){return o.enabled}),y(),v.update()},forceUpdate:function(){if(!m){var A=d.elements,w=A.reference,C=A.popper;if(Gr(w,C)){d.rects={reference:di(w,Ze(C),d.options.strategy==="fixed"),popper:$t(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var o=0;o<d.orderedModifiers.length;o++){if(d.reset===!0){d.reset=!1,o=-1;continue}var O=d.orderedModifiers[o],h=O.fn,x=O.options,T=x===void 0?{}:x,U=O.name;typeof h=="function"&&(d=h({state:d,options:T,name:U,instance:v})||d)}}}},update:hi(function(){return new Promise(function(E){v.forceUpdate(),E(d)})}),destroy:function(){N(),m=!0}};if(!Gr(s,c))return v;v.setOptions(f).then(function(E){!m&&f.onFirstUpdate&&f.onFirstUpdate(E)});function y(){d.orderedModifiers.forEach(function(E){var A=E.name,w=E.options,C=w===void 0?{}:w,o=E.effect;if(typeof o=="function"){var O=o({state:d,name:A,instance:v,options:C}),h=function(){};g.push(O||h)}})}function N(){g.forEach(function(E){return E()}),g=[]}return v}}var yi=[Ga,ii,Ra,Cr,ni,Ja,si,_a,ei],Ai=mi({defaultModifiers:yi}),Ei="tippy-box",kr="tippy-content",bi="tippy-backdrop",jr="tippy-arrow",Vr="tippy-svg-arrow",Oe={passive:!0,capture:!0},Wr=function(){return document.body};function Ni(e,t){return{}.hasOwnProperty.call(e,t)}function Kt(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function zt(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Kr(e,t){return typeof e=="function"?e.apply(void 0,t):e}function zr(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function Oi(e,t){var r=Object.assign({},e);return t.forEach(function(n){delete r[n]}),r}function wi(e){return e.split(/\s+/).filter(Boolean)}function _e(e){return[].concat(e)}function Zr(e,t){e.indexOf(t)===-1&&e.push(t)}function Ii(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Ci(e){return e.split("-")[0]}function gt(e){return[].slice.call(e)}function Xr(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Je(){return document.createElement("div")}function Qe(e){return["Element","Fragment"].some(function(t){return zt(e,t)})}function Ti(e){return zt(e,"NodeList")}function xi(e){return zt(e,"MouseEvent")}function Si(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Di(e){return Qe(e)?[e]:Ti(e)?gt(e):Array.isArray(e)?e:gt(document.querySelectorAll(e))}function Zt(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Yr(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Bi(e){var t,r=_e(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function Ui(e,t){var r=t.clientX,n=t.clientY;return e.every(function(a){var i=a.popperRect,u=a.popperState,s=a.props,c=s.interactiveBorder,f=Ci(u.placement),d=u.modifiersData.offset;if(!d)return!0;var g=f==="bottom"?d.top.y:0,m=f==="top"?d.bottom.y:0,v=f==="right"?d.left.x:0,y=f==="left"?d.right.x:0,N=i.top-n+g>c,E=n-i.bottom-m>c,A=i.left-r+v>c,w=r-i.right-y>c;return N||E||A||w})}function Xt(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[n](a,r)})}function qr(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var te={isTouch:!1},Jr=0;function Pi(){te.isTouch||(te.isTouch=!0,window.performance&&document.addEventListener("mousemove",Qr))}function Qr(){var e=performance.now();e-Jr<20&&(te.isTouch=!1,document.removeEventListener("mousemove",Qr)),Jr=e}function Fi(){var e=document.activeElement;if(Si(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function _i(){document.addEventListener("touchstart",Pi,Oe),window.addEventListener("blur",Fi)}var Mi=typeof window<"u"&&typeof document<"u",Hi=Mi?!!window.msCrypto:!1;function Me(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function en(e){var t=/[ \t]{2,}/g,r=/^[ \t]*/gm;return e.replace(t," ").replace(r,"").trim()}function Li(e){return en(` %ctippy.js %c`+en(e)+` %c👷‍ This is a development-only message. It will be removed in production. `)}function tn(e){return[Li(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var et;process.env.NODE_ENV!=="production"&&Ri();function Ri(){et=new Set}function se(e,t){if(e&&!et.has(t)){var r;et.add(t),(r=console).warn.apply(r,tn(t))}}function Yt(e,t){if(e&&!et.has(t)){var r;et.add(t),(r=console).error.apply(r,tn(t))}}function $i(e){var t=!e,r=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Yt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Yt(r,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var rn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Gi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},W=Object.assign({appendTo:Wr,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},rn,Gi),ki=Object.keys(W),ji=function(t){process.env.NODE_ENV!=="production"&&on(t,[]);var r=Object.keys(t);r.forEach(function(n){W[n]=t[n]})};function nn(e){var t=e.plugins||[],r=t.reduce(function(n,a){var i=a.name,u=a.defaultValue;if(i){var s;n[i]=e[i]!==void 0?e[i]:(s=W[i])!=null?s:u}return n},{});return Object.assign({},e,r)}function Vi(e,t){var r=t?Object.keys(nn(Object.assign({},W,{plugins:t}))):ki,n=r.reduce(function(a,i){var u=(e.getAttribute("data-tippy-"+i)||"").trim();if(!u)return a;if(i==="content")a[i]=u;else try{a[i]=JSON.parse(u)}catch{a[i]=u}return a},{});return n}function an(e,t){var r=Object.assign({},t,{content:Kr(t.content,[e])},t.ignoreAttributes?{}:Vi(e,t.plugins));return r.aria=Object.assign({},W.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}function on(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var r=Object.keys(e);r.forEach(function(n){var a=Oi(W,Object.keys(rn)),i=!Ni(a,n);i&&(i=t.filter(function(u){return u.name===n}).length===0),se(i,["`"+n+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var Wi=function(){return"innerHTML"};function qt(e,t){e[Wi()]=t}function un(e){var t=Je();return e===!0?t.className=jr:(t.className=Vr,Qe(e)?t.appendChild(e):qt(t,e)),t}function sn(e,t){Qe(t.content)?(qt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?qt(e,t.content):e.textContent=t.content)}function Jt(e){var t=e.firstElementChild,r=gt(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(kr)}),arrow:r.find(function(n){return n.classList.contains(jr)||n.classList.contains(Vr)}),backdrop:r.find(function(n){return n.classList.contains(bi)})}}function cn(e){var t=Je(),r=Je();r.className=Ei,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Je();n.className=kr,n.setAttribute("data-state","hidden"),sn(n,e.props),t.appendChild(r),r.appendChild(n),a(e.props,e.props);function a(i,u){var s=Jt(t),c=s.box,f=s.content,d=s.arrow;u.theme?c.setAttribute("data-theme",u.theme):c.removeAttribute("data-theme"),typeof u.animation=="string"?c.setAttribute("data-animation",u.animation):c.removeAttribute("data-animation"),u.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof u.maxWidth=="number"?u.maxWidth+"px":u.maxWidth,u.role?c.setAttribute("role",u.role):c.removeAttribute("role"),(i.content!==u.content||i.allowHTML!==u.allowHTML)&&sn(f,e.props),u.arrow?d?i.arrow!==u.arrow&&(c.removeChild(d),c.appendChild(un(u.arrow))):c.appendChild(un(u.arrow)):d&&c.removeChild(d)}return{popper:t,onUpdate:a}}cn.$$tippy=!0;var Ki=1,mt=[],Qt=[];function zi(e,t){var r=an(e,Object.assign({},W,nn(Xr(t)))),n,a,i,u=!1,s=!1,c=!1,f=!1,d,g,m,v=[],y=zr(Tt,r.interactiveDebounce),N,E=Ki++,A=null,w=Ii(r.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},o={id:E,reference:e,popper:Je(),popperInstance:A,props:r,state:C,plugins:w,clearDelayTimeouts:Ut,setProps:Pt,setContent:Ft,show:Fl,hide:_l,hideWithInteractivity:Ml,enable:ft,disable:Bt,unmount:Hl,destroy:Ll};if(!r.render)return process.env.NODE_ENV!=="production"&&Yt(!0,"render() function has not been supplied."),o;var O=r.render(o),h=O.popper,x=O.onUpdate;h.setAttribute("data-tippy-root",""),h.id="tippy-"+o.id,o.popper=h,e._tippy=o,h._tippy=o;var T=w.map(function(p){return p.fn(o)}),U=e.hasAttribute("aria-expanded");return ke(),ie(),$(),H("onCreate",[o]),r.showOnCreate&&lt(),h.addEventListener("mouseenter",function(){o.props.interactive&&o.state.isVisible&&o.clearDelayTimeouts()}),h.addEventListener("mouseleave",function(){o.props.interactive&&o.props.trigger.indexOf("mouseenter")>=0&&K().addEventListener("mousemove",y)}),o;function F(){var p=o.props.touch;return Array.isArray(p)?p:[p,0]}function M(){return F()[0]==="hold"}function _(){var p;return!!((p=o.props.render)!=null&&p.$$tippy)}function P(){return N||e}function K(){var p=P().parentNode;return p?Bi(p):document}function z(){return Jt(h)}function R(p){return o.state.isMounted&&!o.state.isVisible||te.isTouch||d&&d.type==="focus"?0:Kt(o.props.delay,p?0:1,W.delay)}function $(p){p===void 0&&(p=!1),h.style.pointerEvents=o.props.interactive&&!p?"":"none",h.style.zIndex=""+o.props.zIndex}function H(p,b,I){if(I===void 0&&(I=!0),T.forEach(function(S){S[p]&&S[p].apply(S,b)}),I){var D;(D=o.props)[p].apply(D,b)}}function ae(){var p=o.props.aria;if(p.content){var b="aria-"+p.content,I=h.id,D=_e(o.props.triggerTarget||e);D.forEach(function(S){var G=S.getAttribute(b);if(o.state.isVisible)S.setAttribute(b,G?G+" "+I:I);else{var q=G&&G.replace(I,"").trim();q?S.setAttribute(b,q):S.removeAttribute(b)}})}}function ie(){if(!(U||!o.props.aria.expanded)){var p=_e(o.props.triggerTarget||e);p.forEach(function(b){o.props.interactive?b.setAttribute("aria-expanded",o.state.isVisible&&b===P()?"true":"false"):b.removeAttribute("aria-expanded")})}}function Te(){K().removeEventListener("mousemove",y),mt=mt.filter(function(p){return p!==y})}function oe(p){if(!(te.isTouch&&(c||p.type==="mousedown"))){var b=p.composedPath&&p.composedPath()[0]||p.target;if(!(o.props.interactive&&qr(h,b))){if(_e(o.props.triggerTarget||e).some(function(I){return qr(I,b)})){if(te.isTouch||o.state.isVisible&&o.props.trigger.indexOf("click")>=0)return}else H("onClickOutside",[o,p]);o.props.hideOnClick===!0&&(o.clearDelayTimeouts(),o.hide(),s=!0,setTimeout(function(){s=!1}),o.state.isMounted||pe())}}}function xe(){c=!0}function de(){c=!1}function J(){var p=K();p.addEventListener("mousedown",oe,!0),p.addEventListener("touchend",oe,Oe),p.addEventListener("touchstart",de,Oe),p.addEventListener("touchmove",xe,Oe)}function pe(){var p=K();p.removeEventListener("mousedown",oe,!0),p.removeEventListener("touchend",oe,Oe),p.removeEventListener("touchstart",de,Oe),p.removeEventListener("touchmove",xe,Oe)}function $e(p,b){Ge(p,function(){!o.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&b()})}function ve(p,b){Ge(p,b)}function Ge(p,b){var I=z().box;function D(S){S.target===I&&(Xt(I,"remove",D),b())}if(p===0)return b();Xt(I,"remove",g),Xt(I,"add",D),g=D}function Ae(p,b,I){I===void 0&&(I=!1);var D=_e(o.props.triggerTarget||e);D.forEach(function(S){S.addEventListener(p,b,I),v.push({node:S,eventType:p,handler:b,options:I})})}function ke(){M()&&(Ae("touchstart",ut,{passive:!0}),Ae("touchend",xt,{passive:!0})),wi(o.props.trigger).forEach(function(p){if(p!=="manual")switch(Ae(p,ut),p){case"mouseenter":Ae("mouseleave",xt);break;case"focus":Ae(Hi?"focusout":"blur",st);break;case"focusin":Ae("focusout",st);break}})}function Ct(){v.forEach(function(p){var b=p.node,I=p.eventType,D=p.handler,S=p.options;b.removeEventListener(I,D,S)}),v=[]}function ut(p){var b,I=!1;if(!(!o.state.isEnabled||ct(p)||s)){var D=((b=d)==null?void 0:b.type)==="focus";d=p,N=p.currentTarget,ie(),!o.state.isVisible&&xi(p)&&mt.forEach(function(S){return S(p)}),p.type==="click"&&(o.props.trigger.indexOf("mouseenter")<0||u)&&o.props.hideOnClick!==!1&&o.state.isVisible?I=!0:lt(p),p.type==="click"&&(u=!I),I&&!D&&Se(p)}}function Tt(p){var b=p.target,I=P().contains(b)||h.contains(b);if(!(p.type==="mousemove"&&I)){var D=Ee().concat(h).map(function(S){var G,q=S._tippy,je=(G=q.popperInstance)==null?void 0:G.state;return je?{popperRect:S.getBoundingClientRect(),popperState:je,props:r}:null}).filter(Boolean);Ui(D,p)&&(Te(),Se(p))}}function xt(p){var b=ct(p)||o.props.trigger.indexOf("click")>=0&&u;if(!b){if(o.props.interactive){o.hideWithInteractivity(p);return}Se(p)}}function st(p){o.props.trigger.indexOf("focusin")<0&&p.target!==P()||o.props.interactive&&p.relatedTarget&&h.contains(p.relatedTarget)||Se(p)}function ct(p){return te.isTouch?M()!==p.type.indexOf("touch")>=0:!1}function St(){Dt();var p=o.props,b=p.popperOptions,I=p.placement,D=p.offset,S=p.getReferenceClientRect,G=p.moveTransition,q=_()?Jt(h).arrow:null,je=S?{getBoundingClientRect:S,contextElement:S.contextElement||P()}:e,va={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(_t){var Ve=_t.state;if(_()){var Rl=z(),Nr=Rl.box;["placement","reference-hidden","escaped"].forEach(function(Mt){Mt==="placement"?Nr.setAttribute("data-placement",Ve.placement):Ve.attributes.popper["data-popper-"+Mt]?Nr.setAttribute("data-"+Mt,""):Nr.removeAttribute("data-"+Mt)}),Ve.attributes.popper={}}}},De=[{name:"offset",options:{offset:D}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!G}},va];_()&&q&&De.push({name:"arrow",options:{element:q,padding:3}}),De.push.apply(De,b?.modifiers||[]),o.popperInstance=Ai(je,h,Object.assign({},b,{placement:I,onFirstUpdate:m,modifiers:De}))}function Dt(){o.popperInstance&&(o.popperInstance.destroy(),o.popperInstance=null)}function he(){var p=o.props.appendTo,b,I=P();o.props.interactive&&p===Wr||p==="parent"?b=I.parentNode:b=Kr(p,[I]),b.contains(h)||b.appendChild(h),o.state.isMounted=!0,St(),process.env.NODE_ENV!=="production"&&se(o.props.interactive&&p===W.appendTo&&I.nextElementSibling!==h,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",` `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",` `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Ee(){return gt(h.querySelectorAll("[data-tippy-root]"))}function lt(p){o.clearDelayTimeouts(),p&&H("onTrigger",[o,p]),J();var b=R(!0),I=F(),D=I[0],S=I[1];te.isTouch&&D==="hold"&&S&&(b=S),b?n=setTimeout(function(){o.show()},b):o.show()}function Se(p){if(o.clearDelayTimeouts(),H("onUntrigger",[o,p]),!o.state.isVisible){pe();return}if(!(o.props.trigger.indexOf("mouseenter")>=0&&o.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(p.type)>=0&&u)){var b=R(!1);b?a=setTimeout(function(){o.state.isVisible&&o.hide()},b):i=requestAnimationFrame(function(){o.hide()})}}function ft(){o.state.isEnabled=!0}function Bt(){o.hide(),o.state.isEnabled=!1}function Ut(){clearTimeout(n),clearTimeout(a),cancelAnimationFrame(i)}function Pt(p){if(process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("setProps")),!o.state.isDestroyed){H("onBeforeUpdate",[o,p]),Ct();var b=o.props,I=an(e,Object.assign({},b,Xr(p),{ignoreAttributes:!0}));o.props=I,ke(),b.interactiveDebounce!==I.interactiveDebounce&&(Te(),y=zr(Tt,I.interactiveDebounce)),b.triggerTarget&&!I.triggerTarget?_e(b.triggerTarget).forEach(function(D){D.removeAttribute("aria-expanded")}):I.triggerTarget&&e.removeAttribute("aria-expanded"),ie(),$(),x&&x(b,I),o.popperInstance&&(St(),Ee().forEach(function(D){requestAnimationFrame(D._tippy.popperInstance.forceUpdate)})),H("onAfterUpdate",[o,p])}}function Ft(p){o.setProps({content:p})}function Fl(){process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("show"));var p=o.state.isVisible,b=o.state.isDestroyed,I=!o.state.isEnabled,D=te.isTouch&&!o.props.touch,S=Kt(o.props.duration,0,W.duration);if(!(p||b||I||D)&&!P().hasAttribute("disabled")&&(H("onShow",[o],!1),o.props.onShow(o)!==!1)){if(o.state.isVisible=!0,_()&&(h.style.visibility="visible"),$(),J(),o.state.isMounted||(h.style.transition="none"),_()){var G=z(),q=G.box,je=G.content;Zt([q,je],0)}m=function(){var De;if(!(!o.state.isVisible||f)){if(f=!0,h.offsetHeight,h.style.transition=o.props.moveTransition,_()&&o.props.animation){var br=z(),_t=br.box,Ve=br.content;Zt([_t,Ve],S),Yr([_t,Ve],"visible")}ae(),ie(),Zr(Qt,o),(De=o.popperInstance)==null||De.forceUpdate(),H("onMount",[o]),o.props.animation&&_()&&ve(S,function(){o.state.isShown=!0,H("onShown",[o])})}},he()}}function _l(){process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("hide"));var p=!o.state.isVisible,b=o.state.isDestroyed,I=!o.state.isEnabled,D=Kt(o.props.duration,1,W.duration);if(!(p||b||I)&&(H("onHide",[o],!1),o.props.onHide(o)!==!1)){if(o.state.isVisible=!1,o.state.isShown=!1,f=!1,u=!1,_()&&(h.style.visibility="hidden"),Te(),pe(),$(!0),_()){var S=z(),G=S.box,q=S.content;o.props.animation&&(Zt([G,q],D),Yr([G,q],"hidden"))}ae(),ie(),o.props.animation?_()&&$e(D,o.unmount):o.unmount()}}function Ml(p){process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("hideWithInteractivity")),K().addEventListener("mousemove",y),Zr(mt,y),y(p)}function Hl(){process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("unmount")),o.state.isVisible&&o.hide(),o.state.isMounted&&(Dt(),Ee().forEach(function(p){p._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Qt=Qt.filter(function(p){return p!==o}),o.state.isMounted=!1,H("onHidden",[o]))}function Ll(){process.env.NODE_ENV!=="production"&&se(o.state.isDestroyed,Me("destroy")),!o.state.isDestroyed&&(o.clearDelayTimeouts(),o.unmount(),Ct(),delete e._tippy,o.state.isDestroyed=!0,H("onDestroy",[o]))}}function tt(e,t){t===void 0&&(t={});var r=W.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&($i(e),on(t,r)),_i();var n=Object.assign({},t,{plugins:r}),a=Di(e);if(process.env.NODE_ENV!=="production"){var i=Qe(n.content),u=a.length>1;se(i&&u,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",` `,`1) content: element.innerHTML `,"2) content: () => element.cloneNode(true)"].join(" "))}var s=a.reduce(function(c,f){var d=f&&zi(f,n);return d&&c.push(d),c},[]);return Qe(e)?s[0]:s}tt.defaultProps=W,tt.setDefaultProps=ji,tt.currentInput=te,Object.assign({},Cr,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}}),tt.setDefaultProps({render:cn});const Zi={key:0,fill:"currentColor",height:"1em",version:"1.1",viewBox:"0 0 1024 1024",width:"1em",xmlns:"http://www.w3.org/2000/svg"},Xi={key:1,style:{width:"22px",height:"22px",overflow:"hidden","vertical-align":"middle",fill:"currentcolor"},viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Yi={key:2,style:{width:"1em",height:"1em",overflow:"hidden","vertical-align":"middle",fill:"currentcolor"},viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qi={key:3,fill:"currentColor",height:"1em",version:"1.1",viewBox:"0 0 32 32",width:"1em",xmlns:"http://www.w3.org/2000/svg"},Ji={key:0,d:"M9,14 10.5,12.5 16,18 21.5,12.5 23,14 16,21 z"},Qi={key:1,d:"M21.2,9.3 16,14.6 10.8,9.3 9.3,10.8 14.6,16 9.3,21.2 10.8,22.7 16,17.4 21.2,22.7 22.7,21.2 17.4,16 22.7,10.8 z"},eo={key:2,d:"M55.12,50.88l-8-8-.19-.16a22,22,0,1,0-4.08,4.36l0,0,8,8a3,3,0,1,0,4.24-4.24ZM29,48A18,18,0,1,1,47,30,18,18,0,0,1,29,48Z"},rt=l.defineComponent({__name:"icon",props:{type:{}},setup(e){return(t,r)=>e.type==="down-shape"?(l.openBlock(),l.createElementBlock("svg",Zi,[...r[0]||(r[0]=[l.createElementVNode("path",{d:"M512 768c-6.4 0-13.44-2.56-18.56-8.32l-356.48-384c-8.32-8.96-10.88-23.04-7.04-35.2S144 320 155.52 320h712.96c11.52 0 21.12 8.32 25.6 20.48s1.28 26.24-7.04 35.2l-356.48 384C525.44 765.44 518.4 768 512 768z"},null,-1)])])):e.type==="check"?(l.openBlock(),l.createElementBlock("svg",Xi,[...r[1]||(r[1]=[l.createElementVNode("path",{d:"M704 352l48 48-304 304-176-176 48-48 128 128z"},null,-1)])])):e.type==="up-shape"?(l.openBlock(),l.createElementBlock("svg",Yi,[...r[2]||(r[2]=[l.createElementVNode("path",{d:"M512 704L96 256 187.04 256 512 256 836.96 256 928 256 512 704z"},null,-1)])])):(l.openBlock(),l.createElementBlock("svg",qi,[e.type==="arrow"?(l.openBlock(),l.createElementBlock("path",Ji)):l.createCommentVNode("",!0),e.type==="close"?(l.openBlock(),l.createElementBlock("path",Qi)):l.createCommentVNode("",!0),e.type==="search"?(l.openBlock(),l.createElementBlock("path",eo)):l.createCommentVNode("",!0)]))}});var ln=typeof global=="object"&&global&&global.Object===Object&&global,to=typeof self=="object"&&self&&self.Object===Object&&self,re=ln||to||Function("return this")(),me=re.Symbol,fn=Object.prototype,ro=fn.hasOwnProperty,no=fn.toString,nt=me?me.toStringTag:void 0;function ao(e){var t=ro.call(e,nt),r=e[nt];try{e[nt]=void 0;var n=!0}catch{}var a=no.call(e);return n&&(t?e[nt]=r:delete e[nt]),a}var io=Object.prototype,oo=io.toString;function uo(e){return oo.call(e)}var so="[object Null]",co="[object Undefined]",dn=me?me.toStringTag:void 0;function He(e){return e==null?e===void 0?co:so:dn&&dn in Object(e)?ao(e):uo(e)}function Le(e){return e!=null&&typeof e=="object"}var lo="[object Symbol]";function yt(e){return typeof e=="symbol"||Le(e)&&He(e)==lo}function fo(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var ne=Array.isArray,pn=me?me.prototype:void 0,vn=pn?pn.toString:void 0;function er(e){if(typeof e=="string")return e;if(ne(e))return fo(e,er)+"";if(yt(e))return vn?vn.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var po=/\s/;function vo(e){for(var t=e.length;t--&&po.test(e.charAt(t)););return t}var ho=/^\s+/;function hn(e){return e&&e.slice(0,vo(e)+1).replace(ho,"")}function we(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gn=NaN,go=/^[-+]0x[0-9a-f]+$/i,mo=/^0b[01]+$/i,yo=/^0o[0-7]+$/i,Ao=parseInt;function mn(e){if(typeof e=="number")return e;if(yt(e))return gn;if(we(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=we(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=hn(e);var r=mo.test(e);return r||yo.test(e)?Ao(e.slice(2),r?2:8):go.test(e)?gn:+e}function Eo(e){return e}var bo="[object AsyncFunction]",No="[object Function]",Oo="[object GeneratorFunction]",wo="[object Proxy]";function At(e){if(!we(e))return!1;var t=He(e);return t==No||t==Oo||t==bo||t==wo}var tr=re["__core-js_shared__"],yn=function(){var e=/[^.]+$/.exec(tr&&tr.keys&&tr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Io(e){return!!yn&&yn in e}var Co=Function.prototype,To=Co.toString;function Ie(e){if(e!=null){try{return To.call(e)}catch{}try{return e+""}catch{}}return""}var xo=/[\\^$.*+?()[\]{}|]/g,So=/^\[object .+?Constructor\]$/,Do=Function.prototype,Bo=Object.prototype,Uo=Do.toString,Po=Bo.hasOwnProperty,Fo=RegExp("^"+Uo.call(Po).replace(xo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _o(e){if(!we(e)||Io(e))return!1;var t=At(e)?Fo:So;return t.test(Ie(e))}function Mo(e,t){return e?.[t]}function Re(e,t){var r=Mo(e,t);return _o(r)?r:void 0}var rr=Re(re,"WeakMap");function Ho(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function Lo(e){return e!==e}function Ro(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function An(e,t,r){return t===t?Ro(e,t,r):Ho(e,Lo,r)}var $o=9007199254740991,Go=/^(?:0|[1-9]\d*)$/;function En(e,t){var r=typeof e;return t=t??$o,!!t&&(r=="number"||r!="symbol"&&Go.test(e))&&e>-1&&e%1==0&&e<t}function bn(e,t){return e===t||e!==e&&t!==t}var ko=9007199254740991;function nr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ko}function Nn(e){return e!=null&&nr(e.length)&&!At(e)}var jo=Object.prototype;function Vo(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||jo;return e===r}function Wo(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Ko="[object Arguments]";function On(e){return Le(e)&&He(e)==Ko}var wn=Object.prototype,zo=wn.hasOwnProperty,Zo=wn.propertyIsEnumerable,In=On(function(){return arguments}())?On:function(e){return Le(e)&&zo.call(e,"callee")&&!Zo.call(e,"callee")};function Xo(){return!1}var Cn=typeof L=="object"&&L&&!L.nodeType&&L,Tn=Cn&&typeof module=="object"&&module&&!module.nodeType&&module,Yo=Tn&&Tn.exports===Cn,xn=Yo?re.Buffer:void 0,qo=xn?xn.isBuffer:void 0,ar=qo||Xo,Jo="[object Arguments]",Qo="[object Array]",eu="[object Boolean]",tu="[object Date]",ru="[object Error]",nu="[object Function]",au="[object Map]",iu="[object Number]",ou="[object Object]",uu="[object RegExp]",su="[object Set]",cu="[object String]",lu="[object WeakMap]",fu="[object ArrayBuffer]",du="[object DataView]",pu="[object Float32Array]",vu="[object Float64Array]",hu="[object Int8Array]",gu="[object Int16Array]",mu="[object Int32Array]",yu="[object Uint8Array]",Au="[object Uint8ClampedArray]",Eu="[object Uint16Array]",bu="[object Uint32Array]",B={};B[pu]=B[vu]=B[hu]=B[gu]=B[mu]=B[yu]=B[Au]=B[Eu]=B[bu]=!0,B[Jo]=B[Qo]=B[fu]=B[eu]=B[du]=B[tu]=B[ru]=B[nu]=B[au]=B[iu]=B[ou]=B[uu]=B[su]=B[cu]=B[lu]=!1;function Nu(e){return Le(e)&&nr(e.length)&&!!B[He(e)]}function Ou(e){return function(t){return e(t)}}var Sn=typeof L=="object"&&L&&!L.nodeType&&L,at=Sn&&typeof module=="object"&&module&&!module.nodeType&&module,wu=at&&at.exports===Sn,ir=wu&&ln.process,Dn=function(){try{var e=at&&at.require&&at.require("util").types;return e||ir&&ir.binding&&ir.binding("util")}catch{}}(),Bn=Dn&&Dn.isTypedArray,Un=Bn?Ou(Bn):Nu,Iu=Object.prototype,Cu=Iu.hasOwnProperty;function Tu(e,t){var r=ne(e),n=!r&&In(e),a=!r&&!n&&ar(e),i=!r&&!n&&!a&&Un(e),u=r||n||a||i,s=u?Wo(e.length,String):[],c=s.length;for(var f in e)Cu.call(e,f)&&!(u&&(f=="length"||a&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||En(f,c)))&&s.push(f);return s}function xu(e,t){return function(r){return e(t(r))}}var Su=xu(Object.keys,Object),Du=Object.prototype,Bu=Du.hasOwnProperty;function Uu(e){if(!Vo(e))return Su(e);var t=[];for(var r in Object(e))Bu.call(e,r)&&r!="constructor"&&t.push(r);return t}function or(e){return Nn(e)?Tu(e):Uu(e)}var Pu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fu=/^\w*$/;function ur(e,t){if(ne(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||yt(e)?!0:Fu.test(e)||!Pu.test(e)||t!=null&&e in Object(t)}var it=Re(Object,"create");function _u(){this.__data__=it?it(null):{},this.size=0}function Mu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Hu="__lodash_hash_undefined__",Lu=Object.prototype,Ru=Lu.hasOwnProperty;function $u(e){var t=this.__data__;if(it){var r=t[e];return r===Hu?void 0:r}return Ru.call(t,e)?t[e]:void 0}var Gu=Object.prototype,ku=Gu.hasOwnProperty;function ju(e){var t=this.__data__;return it?t[e]!==void 0:ku.call(t,e)}var Vu="__lodash_hash_undefined__";function Wu(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=it&&t===void 0?Vu:t,this}function Ce(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ce.prototype.clear=_u,Ce.prototype.delete=Mu,Ce.prototype.get=$u,Ce.prototype.has=ju,Ce.prototype.set=Wu;function Ku(){this.__data__=[],this.size=0}function Et(e,t){for(var r=e.length;r--;)if(bn(e[r][0],t))return r;return-1}var zu=Array.prototype,Zu=zu.splice;function Xu(e){var t=this.__data__,r=Et(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Zu.call(t,r,1),--this.size,!0}function Yu(e){var t=this.__data__,r=Et(t,e);return r<0?void 0:t[r][1]}function qu(e){return Et(this.__data__,e)>-1}function Ju(e,t){var r=this.__data__,n=Et(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function ce(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ce.prototype.clear=Ku,ce.prototype.delete=Xu,ce.prototype.get=Yu,ce.prototype.has=qu,ce.prototype.set=Ju;var ot=Re(re,"Map");function Qu(){this.size=0,this.__data__={hash:new Ce,map:new(ot||ce),string:new Ce}}function es(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function bt(e,t){var r=e.__data__;return es(t)?r[typeof t=="string"?"string":"hash"]:r.map}function ts(e){var t=bt(this,e).delete(e);return this.size-=t?1:0,t}function rs(e){return bt(this,e).get(e)}function ns(e){return bt(this,e).has(e)}function as(e,t){var r=bt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function le(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}le.prototype.clear=Qu,le.prototype.delete=ts,le.prototype.get=rs,le.prototype.has=ns,le.prototype.set=as;var is="Expected a function";function sr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(is);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var u=e.apply(t