@dialpad/dialtone-vue 2.114.0 → 2.114.2

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.
@@ -1,21 +1,21 @@
1
- "use strict";const Jn=require("vue"),le={ERROR:"error",WARNING:"warning",SUCCESS:"success"},er={LARGE:"lg",EXTRA_LARGE:"xl"},tr={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},nr={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},rr={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},tn=le.ERROR,ir="dt";let or=0,Nt;const ar=typeof setImmediate=="function"?setImmediate:setTimeout;function Et(e=ir){return`${e}${or++}`}function nn(e,t){if(t){const n=sr(t);return e[Math.abs(n)%e.length]}else return e[rn(e.length)]}function sr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function rn(e){return Math.floor(Math.random()*e)}function on(e){return e?e.map(t=>typeof t=="string"?{message:t,type:tn}:t):[]}function an(e){const t=Ot(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function Ot(e){return e?ot(e,le.ERROR)?le.ERROR:ot(e,le.WARNING)?le.WARNING:ot(e,le.SUCCESS)?le.SUCCESS:null:null}function ot(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const ur={name:"html-fragment",functional:!0,props:["html"],render(e,t){return new Jn({name:"Inner",beforeCreate(){this.$createElement=e},template:`<div>${t.props.html}</div>`}).$mount()._vnode.children}},cr=()=>new Promise(e=>{ar(e)}),lr=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join("");function pr(e,t=300){clearTimeout(Nt),Nt=setTimeout(e,t)}function sn(e){const t=e.getBoundingClientRect(),n={top:t.top<0,left:t.left<0,bottom:t.bottom>(window.innerHeight||document.documentElement.clientHeight),right:t.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(r=>r),n.all=Object.values(n).every(r=>r),n}const fr=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,dr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),vr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),un=new RegExp("(?:"+[[fr.source,dr.source].join("+"),vr.source].join("|")+")"),hr=/(?:(?:[;/][^#?<>\s]*)?)/,cn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,ln=new RegExp("\\b"+[un.source,hr.source,cn.source,"(?!\\w)"].join("+")),pn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,fn=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[un.source,cn.source].join("+")+"(?!\\w)");function Tt(e=7,t=15){let n=!0;try{RegExp("(?<=\\W)")}catch{n=!1}return new RegExp(`${n?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const dn=Tt(),vn=new RegExp([ln.source,pn.source,fn.source,dn.source].join("|"),"gi");function mr(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=dn.exec(e))==null?void 0:t[0])===e)}function gr(e){var t,n;return!e||typeof e!="string"?!1:((t=ln.exec(e))==null?void 0:t[0])===e||((n=pn.exec(e))==null?void 0:n[0])===e}function yr(e){var t;return!e||typeof e!="string"?!1:((t=fn.exec(e))==null?void 0:t[0])===e}function hn(e){return e.filter(t=>!!t).join(" ")}function mn(e,t="en-US"){return e.replace(new RegExp("^\\p{CWU}","u"),n=>n.toLocaleUpperCase(t))}const br={getUniqueString:Et,getRandomElement:nn,getRandomInt:rn,formatMessages:on,filterFormattedMessages:an,hasFormattedMessageOfType:ot,getValidationState:Ot,htmlFragment:ur,flushPromises:cr,kebabCaseToPascalCase:lr,debounce:pr,isOutOfViewPort:sn,getPhoneNumberRegex:Tt,linkRegex:vn,isEmailAddress:yr,isPhoneNumber:mr,isURL:gr,safeConcatStrings:hn,capitalizeFirstLetter:mn};function xt(e,t,n,r,o,u,c,l){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),u&&(a._scopeId="data-v-"+u);var f;if(c?(f=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),o&&o.call(this,g),g&&g._registeredComponents&&g._registeredComponents.add(c)},a._ssrRegister=f):o&&(f=l?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var p=a.render;a.render=function(h,b){return f.call(b),p(h,b)}}else{var y=a.beforeCreate;a.beforeCreate=y?[].concat(y,f):[f]}return{exports:e,options:a}}const wr={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return process.env.NODE_ENV!=="test"}},watch:{show:function(e){!e||this.initialized||(this.initialized=!0)}}};var Er=function(){var t=this,n=t._self._c;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear,css:t.isCSSEnabled}},t.$listeners),[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},Or=[],Tr=xt(wr,Er,Or,!1,null,null,null,null);const gn=Tr.exports;var j="top",q="bottom",X="right",B="left",At="auto",We=[j,q,X,B],Se="start",Be="end",xr="clippingParents",yn="viewport",$e="popper",Ar="reference",Mt=We.reduce(function(e,t){return e.concat([t+"-"+Se,t+"-"+Be])},[]),bn=[].concat(We,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Se,t+"-"+Be])},[]),Sr="beforeRead",Dr="read",Cr="afterRead",Rr="beforeMain",Lr="main",_r="afterMain",Pr="beforeWrite",Ir="write",Nr="afterWrite",Mr=[Sr,Dr,Cr,Rr,Lr,_r,Pr,Ir,Nr];function te(e){return e?(e.nodeName||"").toLowerCase():null}function W(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=W(e).Element;return e instanceof t||e instanceof Element}function Y(e){var t=W(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function St(e){if(typeof ShadowRoot>"u")return!1;var t=W(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $r(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},u=t.elements[n];!Y(u)||!te(u)||(Object.assign(u.style,r),Object.keys(o).forEach(function(c){var l=o[c];l===!1?u.removeAttribute(c):u.setAttribute(c,l===!0?"":l)}))})}function kr(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],u=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=c.reduce(function(a,f){return a[f]="",a},{});!Y(o)||!te(o)||(Object.assign(o.style,l),Object.keys(u).forEach(function(a){o.removeAttribute(a)}))})}}const wn={name:"applyStyles",enabled:!0,phase:"write",fn:$r,effect:kr,requires:["computeStyles"]};function ee(e){return e.split("-")[0]}var ge=Math.max,st=Math.min,De=Math.round;function mt(){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 En(){return!/^((?!chrome|android).)*safari/i.test(mt())}function Ce(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,u=1;t&&Y(e)&&(o=e.offsetWidth>0&&De(r.width)/e.offsetWidth||1,u=e.offsetHeight>0&&De(r.height)/e.offsetHeight||1);var c=ye(e)?W(e):window,l=c.visualViewport,a=!En()&&n,f=(r.left+(a&&l?l.offsetLeft:0))/o,p=(r.top+(a&&l?l.offsetTop:0))/u,y=r.width/o,g=r.height/u;return{width:y,height:g,top:p,right:f+y,bottom:p+g,left:f,x:f,y:p}}function Dt(e){var t=Ce(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 On(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&St(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function se(e){return W(e).getComputedStyle(e)}function Vr(e){return["table","td","th"].indexOf(te(e))>=0}function pe(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return te(e)==="html"?e:e.assignedSlot||e.parentNode||(St(e)?e.host:null)||pe(e)}function $t(e){return!Y(e)||se(e).position==="fixed"?null:e.offsetParent}function jr(e){var t=/firefox/i.test(mt()),n=/Trident/i.test(mt());if(n&&Y(e)){var r=se(e);if(r.position==="fixed")return null}var o=ct(e);for(St(o)&&(o=o.host);Y(o)&&["html","body"].indexOf(te(o))<0;){var u=se(o);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return o;o=o.parentNode}return null}function ze(e){for(var t=W(e),n=$t(e);n&&Vr(n)&&se(n).position==="static";)n=$t(n);return n&&(te(n)==="html"||te(n)==="body"&&se(n).position==="static")?t:n||jr(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ke(e,t,n){return ge(e,st(t,n))}function Br(e,t,n){var r=ke(e,t,n);return r>n?n:r}function Tn(){return{top:0,right:0,bottom:0,left:0}}function xn(e){return Object.assign({},Tn(),e)}function An(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ur=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,xn(typeof t!="number"?t:An(t,We))};function Fr(e){var t,n=e.state,r=e.name,o=e.options,u=n.elements.arrow,c=n.modifiersData.popperOffsets,l=ee(n.placement),a=Ct(l),f=[B,X].indexOf(l)>=0,p=f?"height":"width";if(!(!u||!c)){var y=Ur(o.padding,n),g=Dt(u),h=a==="y"?j:B,b=a==="y"?q:X,w=n.rects.reference[p]+n.rects.reference[a]-c[a]-n.rects.popper[p],E=c[a]-n.rects.reference[a],x=ze(u),S=x?a==="y"?x.clientHeight||0:x.clientWidth||0:0,C=w/2-E/2,i=y[h],T=S-g[p]-y[b],d=S/2-g[p]/2+C,D=ke(i,d,T),I=a;n.modifiersData[r]=(t={},t[I]=D,t.centerOffset=D-d,t)}}function Hr(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)||On(t.elements.popper,o)&&(t.elements.arrow=o))}const Wr={name:"arrow",enabled:!0,phase:"main",fn:Fr,effect:Hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:De(n*o)/o||0,y:De(r*o)/o||0}}function kt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,u=e.variation,c=e.offsets,l=e.position,a=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,y=e.isFixed,g=c.x,h=g===void 0?0:g,b=c.y,w=b===void 0?0:b,E=typeof p=="function"?p({x:h,y:w}):{x:h,y:w};h=E.x,w=E.y;var x=c.hasOwnProperty("x"),S=c.hasOwnProperty("y"),C=B,i=j,T=window;if(f){var d=ze(n),D="clientHeight",I="clientWidth";if(d===W(n)&&(d=pe(n),se(d).position!=="static"&&l==="absolute"&&(D="scrollHeight",I="scrollWidth")),d=d,o===j||(o===B||o===X)&&u===Be){i=q;var P=y&&d===T&&T.visualViewport?T.visualViewport.height:d[D];w-=P-r.height,w*=a?1:-1}if(o===B||(o===j||o===q)&&u===Be){C=X;var L=y&&d===T&&T.visualViewport?T.visualViewport.width:d[I];h-=L-r.width,h*=a?1:-1}}var N=Object.assign({position:l},f&&zr),_=p===!0?Yr({x:h,y:w},W(n)):{x:h,y:w};if(h=_.x,w=_.y,a){var R;return Object.assign({},N,(R={},R[i]=S?"0":"",R[C]=x?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+w+"px)":"translate3d("+h+"px, "+w+"px, 0)",R))}return Object.assign({},N,(t={},t[i]=S?w+"px":"",t[C]=x?h+"px":"",t.transform="",t))}function qr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,u=n.adaptive,c=u===void 0?!0:u,l=n.roundOffsets,a=l===void 0?!0:l,f={placement:ee(t.placement),variation:Re(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,kt(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,kt(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Xr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qr,data:{}};var rt={passive:!0};function Kr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,u=o===void 0?!0:o,c=r.resize,l=c===void 0?!0:c,a=W(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&f.forEach(function(p){p.addEventListener("scroll",n.update,rt)}),l&&a.addEventListener("resize",n.update,rt),function(){u&&f.forEach(function(p){p.removeEventListener("scroll",n.update,rt)}),l&&a.removeEventListener("resize",n.update,rt)}}const Gr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Kr,data:{}};var Zr={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e){return e.replace(/left|right|bottom|top/g,function(t){return Zr[t]})}var Qr={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Qr[t]})}function Rt(e){var t=W(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Lt(e){return Ce(pe(e)).left+Rt(e).scrollLeft}function Jr(e,t){var n=W(e),r=pe(e),o=n.visualViewport,u=r.clientWidth,c=r.clientHeight,l=0,a=0;if(o){u=o.width,c=o.height;var f=En();(f||!f&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:u,height:c,x:l+Lt(e),y:a}}function ei(e){var t,n=pe(e),r=Rt(e),o=(t=e.ownerDocument)==null?void 0:t.body,u=ge(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=ge(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Lt(e),a=-r.scrollTop;return se(o||n).direction==="rtl"&&(l+=ge(n.clientWidth,o?o.clientWidth:0)-u),{width:u,height:c,x:l,y:a}}function _t(e){var t=se(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Sn(e){return["html","body","#document"].indexOf(te(e))>=0?e.ownerDocument.body:Y(e)&&_t(e)?e:Sn(ct(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var r=Sn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),u=W(r),c=o?[u].concat(u.visualViewport||[],_t(r)?r:[]):r,l=t.concat(c);return o?l:l.concat(Ve(ct(c)))}function gt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ti(e,t){var n=Ce(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function jt(e,t,n){return t===yn?gt(Jr(e,n)):ye(t)?ti(t,n):gt(ei(pe(e)))}function ni(e){var t=Ve(ct(e)),n=["absolute","fixed"].indexOf(se(e).position)>=0,r=n&&Y(e)?ze(e):e;return ye(r)?t.filter(function(o){return ye(o)&&On(o,r)&&te(o)!=="body"}):[]}function ri(e,t,n,r){var o=t==="clippingParents"?ni(e):[].concat(t),u=[].concat(o,[n]),c=u[0],l=u.reduce(function(a,f){var p=jt(e,f,r);return a.top=ge(p.top,a.top),a.right=st(p.right,a.right),a.bottom=st(p.bottom,a.bottom),a.left=ge(p.left,a.left),a},jt(e,c,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Dn(e){var t=e.reference,n=e.element,r=e.placement,o=r?ee(r):null,u=r?Re(r):null,c=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(o){case j:a={x:c,y:t.y-n.height};break;case q:a={x:c,y:t.y+t.height};break;case X:a={x:t.x+t.width,y:l};break;case B:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var f=o?Ct(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(u){case Se:a[f]=a[f]-(t[p]/2-n[p]/2);break;case Be:a[f]=a[f]+(t[p]/2-n[p]/2);break}}return a}function Ue(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,u=n.strategy,c=u===void 0?e.strategy:u,l=n.boundary,a=l===void 0?xr:l,f=n.rootBoundary,p=f===void 0?yn:f,y=n.elementContext,g=y===void 0?$e:y,h=n.altBoundary,b=h===void 0?!1:h,w=n.padding,E=w===void 0?0:w,x=xn(typeof E!="number"?E:An(E,We)),S=g===$e?Ar:$e,C=e.rects.popper,i=e.elements[b?S:g],T=ri(ye(i)?i:i.contextElement||pe(e.elements.popper),a,p,c),d=Ce(e.elements.reference),D=Dn({reference:d,element:C,strategy:"absolute",placement:o}),I=gt(Object.assign({},C,D)),P=g===$e?I:d,L={top:T.top-P.top+x.top,bottom:P.bottom-T.bottom+x.bottom,left:T.left-P.left+x.left,right:P.right-T.right+x.right},N=e.modifiersData.offset;if(g===$e&&N){var _=N[o];Object.keys(L).forEach(function(R){var U=[X,q].indexOf(R)>=0?1:-1,F=[j,q].indexOf(R)>=0?"y":"x";L[R]+=_[F]*U})}return L}function ii(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,u=n.rootBoundary,c=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,f=a===void 0?bn:a,p=Re(r),y=p?l?Mt:Mt.filter(function(b){return Re(b)===p}):We,g=y.filter(function(b){return f.indexOf(b)>=0});g.length===0&&(g=y);var h=g.reduce(function(b,w){return b[w]=Ue(e,{placement:w,boundary:o,rootBoundary:u,padding:c})[ee(w)],b},{});return Object.keys(h).sort(function(b,w){return h[b]-h[w]})}function oi(e){if(ee(e)===At)return[];var t=at(e);return[Vt(e),t,Vt(t)]}function ai(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,u=o===void 0?!0:o,c=n.altAxis,l=c===void 0?!0:c,a=n.fallbackPlacements,f=n.padding,p=n.boundary,y=n.rootBoundary,g=n.altBoundary,h=n.flipVariations,b=h===void 0?!0:h,w=n.allowedAutoPlacements,E=t.options.placement,x=ee(E),S=x===E,C=a||(S||!b?[at(E)]:oi(E)),i=[E].concat(C).reduce(function(ne,K){return ne.concat(ee(K)===At?ii(t,{placement:K,boundary:p,rootBoundary:y,padding:f,flipVariations:b,allowedAutoPlacements:w}):K)},[]),T=t.rects.reference,d=t.rects.popper,D=new Map,I=!0,P=i[0],L=0;L<i.length;L++){var N=i[L],_=ee(N),R=Re(N)===Se,U=[j,q].indexOf(_)>=0,F=U?"width":"height",$=Ue(t,{placement:N,boundary:p,rootBoundary:y,altBoundary:g,padding:f}),k=U?R?X:B:R?q:j;T[F]>d[F]&&(k=at(k));var M=at(k),G=[];if(u&&G.push($[_]<=0),l&&G.push($[k]<=0,$[M]<=0),G.every(function(ne){return ne})){P=N,I=!1;break}D.set(N,G)}if(I)for(var Z=b?3:1,fe=function(K){var re=i.find(function(be){var ie=D.get(be);if(ie)return ie.slice(0,K).every(function(we){return we})});if(re)return P=re,"break"},Q=Z;Q>0;Q--){var de=fe(Q);if(de==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const si={name:"flip",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"],data:{_skip:!1}};function Bt(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 Ut(e){return[j,X,q,B].some(function(t){return e[t]>=0})}function ui(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,u=t.modifiersData.preventOverflow,c=Ue(t,{elementContext:"reference"}),l=Ue(t,{altBoundary:!0}),a=Bt(c,r),f=Bt(l,o,u),p=Ut(a),y=Ut(f);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":y})}const ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ui};function li(e,t,n){var r=ee(e),o=[B,j].indexOf(r)>=0?-1:1,u=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=u[0],l=u[1];return c=c||0,l=(l||0)*o,[B,X].indexOf(r)>=0?{x:l,y:c}:{x:c,y:l}}function pi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,u=o===void 0?[0,0]:o,c=bn.reduce(function(p,y){return p[y]=li(y,t.rects,u),p},{}),l=c[t.placement],a=l.x,f=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=c}const fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pi};function di(e){var t=e.state,n=e.name;t.modifiersData[n]=Dn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vi={name:"popperOffsets",enabled:!0,phase:"read",fn:di,data:{}};function hi(e){return e==="x"?"y":"x"}function mi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,u=o===void 0?!0:o,c=n.altAxis,l=c===void 0?!1:c,a=n.boundary,f=n.rootBoundary,p=n.altBoundary,y=n.padding,g=n.tether,h=g===void 0?!0:g,b=n.tetherOffset,w=b===void 0?0:b,E=Ue(t,{boundary:a,rootBoundary:f,padding:y,altBoundary:p}),x=ee(t.placement),S=Re(t.placement),C=!S,i=Ct(x),T=hi(i),d=t.modifiersData.popperOffsets,D=t.rects.reference,I=t.rects.popper,P=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,L=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(d){if(u){var R,U=i==="y"?j:B,F=i==="y"?q:X,$=i==="y"?"height":"width",k=d[i],M=k+E[U],G=k-E[F],Z=h?-I[$]/2:0,fe=S===Se?D[$]:I[$],Q=S===Se?-I[$]:-D[$],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Tn(),re=K[U],be=K[F],ie=ke(0,D[$],ne[$]),we=C?D[$]/2-Z-ie-re-L.mainAxis:fe-ie-re-L.mainAxis,ue=C?-D[$]/2+Z+ie+be+L.mainAxis:Q+ie+be+L.mainAxis,Ee=t.elements.arrow&&ze(t.elements.arrow),Ye=Ee?i==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,_e=(R=N==null?void 0:N[i])!=null?R:0,qe=k+we-_e-Ye,Xe=k+ue-_e,Pe=ke(h?st(M,qe):M,k,h?ge(G,Xe):G);d[i]=Pe,_[i]=Pe-k}if(l){var Ie,Ke=i==="x"?j:B,Ge=i==="x"?q:X,oe=d[T],ce=T==="y"?"height":"width",Ne=oe+E[Ke],ve=oe-E[Ge],Me=[j,B].indexOf(x)!==-1,Ze=(Ie=N==null?void 0:N[T])!=null?Ie:0,Qe=Me?Ne:oe-D[ce]-I[ce]-Ze+L.altAxis,Je=Me?oe+D[ce]+I[ce]-Ze-L.altAxis:ve,et=h&&Me?Br(Qe,oe,Je):ke(h?Qe:Ne,oe,h?Je:ve);d[T]=et,_[T]=et-oe}t.modifiersData[r]=_}}const gi={name:"preventOverflow",enabled:!0,phase:"main",fn:mi,requiresIfExists:["offset"]};function yi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bi(e){return e===W(e)||!Y(e)?Rt(e):yi(e)}function wi(e){var t=e.getBoundingClientRect(),n=De(t.width)/e.offsetWidth||1,r=De(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ei(e,t,n){n===void 0&&(n=!1);var r=Y(t),o=Y(t)&&wi(t),u=pe(t),c=Ce(e,o,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!n)&&((te(t)!=="body"||_t(u))&&(l=bi(t)),Y(t)?(a=Ce(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):u&&(a.x=Lt(u))),{x:c.left+l.scrollLeft-a.x,y:c.top+l.scrollTop-a.y,width:c.width,height:c.height}}function Oi(e){var t=new Map,n=new Set,r=[];e.forEach(function(u){t.set(u.name,u)});function o(u){n.add(u.name);var c=[].concat(u.requires||[],u.requiresIfExists||[]);c.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&o(a)}}),r.push(u)}return e.forEach(function(u){n.has(u.name)||o(u)}),r}function Ti(e){var t=Oi(e);return Mr.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ai(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 Ft={placement:"bottom",modifiers:[],strategy:"absolute"};function Ht(){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 Si(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,u=o===void 0?Ft:o;return function(l,a,f){f===void 0&&(f=u);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ft,u),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},y=[],g=!1,h={state:p,setOptions:function(x){var S=typeof x=="function"?x(p.options):x;w(),p.options=Object.assign({},u,p.options,S),p.scrollParents={reference:ye(l)?Ve(l):l.contextElement?Ve(l.contextElement):[],popper:Ve(a)};var C=Ti(Ai([].concat(r,p.options.modifiers)));return p.orderedModifiers=C.filter(function(i){return i.enabled}),b(),h.update()},forceUpdate:function(){if(!g){var x=p.elements,S=x.reference,C=x.popper;if(Ht(S,C)){p.rects={reference:Ei(S,ze(C),p.options.strategy==="fixed"),popper:Dt(C)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(L){return p.modifiersData[L.name]=Object.assign({},L.data)});for(var i=0;i<p.orderedModifiers.length;i++){if(p.reset===!0){p.reset=!1,i=-1;continue}var T=p.orderedModifiers[i],d=T.fn,D=T.options,I=D===void 0?{}:D,P=T.name;typeof d=="function"&&(p=d({state:p,options:I,name:P,instance:h})||p)}}}},update:xi(function(){return new Promise(function(E){h.forceUpdate(),E(p)})}),destroy:function(){w(),g=!0}};if(!Ht(l,a))return h;h.setOptions(f).then(function(E){!g&&f.onFirstUpdate&&f.onFirstUpdate(E)});function b(){p.orderedModifiers.forEach(function(E){var x=E.name,S=E.options,C=S===void 0?{}:S,i=E.effect;if(typeof i=="function"){var T=i({state:p,name:x,instance:h,options:C}),d=function(){};y.push(T||d)}})}function w(){y.forEach(function(E){return E()}),y=[]}return h}}var Di=[Gr,vi,Xr,wn,fi,si,gi,Wr,ci],Ci=Si({defaultModifiers:Di}),Ri="tippy-box",Cn="tippy-content",Li="tippy-backdrop",Rn="tippy-arrow",Ln="tippy-svg-arrow",me={passive:!0,capture:!0},_n=function(){return document.body};function _i(e,t){return{}.hasOwnProperty.call(e,t)}function ft(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Pt(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Pn(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Wt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Pi(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ii(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function zt(e,t){e.indexOf(t)===-1&&e.push(t)}function Ni(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Mi(e){return e.split("-")[0]}function ut(e){return[].slice.call(e)}function Yt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function je(){return document.createElement("div")}function Fe(e){return["Element","Fragment"].some(function(t){return Pt(e,t)})}function $i(e){return Pt(e,"NodeList")}function ki(e){return Pt(e,"MouseEvent")}function Vi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function ji(e){return Fe(e)?[e]:$i(e)?ut(e):Array.isArray(e)?e:ut(document.querySelectorAll(e))}function dt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function qt(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Bi(e){var t,n=Ae(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Ui(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var u=o.popperRect,c=o.popperState,l=o.props,a=l.interactiveBorder,f=Mi(c.placement),p=c.modifiersData.offset;if(!p)return!0;var y=f==="bottom"?p.top.y:0,g=f==="top"?p.bottom.y:0,h=f==="right"?p.left.x:0,b=f==="left"?p.right.x:0,w=u.top-r+y>a,E=r-u.bottom-g>a,x=u.left-n+h>a,S=n-u.right-b>a;return w||E||x||S})}function vt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Xt(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 J={isTouch:!1},Kt=0;function Fi(){J.isTouch||(J.isTouch=!0,window.performance&&document.addEventListener("mousemove",In))}function In(){var e=performance.now();e-Kt<20&&(J.isTouch=!1,document.removeEventListener("mousemove",In)),Kt=e}function Hi(){var e=document.activeElement;if(Vi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Wi(){document.addEventListener("touchstart",Fi,me),window.addEventListener("blur",Hi)}var zi=typeof window<"u"&&typeof document<"u",Yi=zi?!!window.msCrypto:!1;function xe(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 Gt(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function qi(e){return Gt(`
1
+ "use strict";const Jn=require("vue"),le={ERROR:"error",WARNING:"warning",SUCCESS:"success"},er={LARGE:"lg",EXTRA_LARGE:"xl"},tr={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},nr={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},rr={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},tn=le.ERROR,ir="dt";let or=0,Nt;const ar=typeof setImmediate=="function"?setImmediate:setTimeout;function Et(e=ir){return`${e}${or++}`}function nn(e,t){if(t){const n=sr(t);return e[Math.abs(n)%e.length]}else return e[rn(e.length)]}function sr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function rn(e){return Math.floor(Math.random()*e)}function on(e){return e?e.map(t=>typeof t=="string"?{message:t,type:tn}:t):[]}function an(e){const t=Ot(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function Ot(e){return e?ot(e,le.ERROR)?le.ERROR:ot(e,le.WARNING)?le.WARNING:ot(e,le.SUCCESS)?le.SUCCESS:null:null}function ot(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const ur={name:"html-fragment",functional:!0,props:["html"],render(e,t){return new Jn({name:"Inner",beforeCreate(){this.$createElement=e},template:`<div>${t.props.html}</div>`}).$mount()._vnode.children}},cr=()=>new Promise(e=>{ar(e)}),lr=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join("");function pr(e,t=300){clearTimeout(Nt),Nt=setTimeout(e,t)}function sn(e){const t=e.getBoundingClientRect(),n={top:t.top<0,left:t.left<0,bottom:t.bottom>(window.innerHeight||document.documentElement.clientHeight),right:t.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(r=>r),n.all=Object.values(n).every(r=>r),n}const fr=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,dr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),vr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),un=new RegExp("(?:"+[[fr.source,dr.source].join("+"),vr.source].join("|")+")"),hr=/(?:(?:[;/][^#?<>\s]*)?)/,cn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,ln=new RegExp("\\b"+[un.source,hr.source,cn.source,"(?!\\w)"].join("+")),pn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,fn=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[un.source,cn.source].join("+")+"(?!\\w)");function Tt(e=7,t=15){let n=!0;try{RegExp("(?<=\\W)")}catch{n=!1}return new RegExp(`${n?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const dn=Tt(),vn=new RegExp([ln.source,pn.source,fn.source,dn.source].join("|"),"gi");function mr(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=dn.exec(e))==null?void 0:t[0])===e)}function gr(e){var t,n;return!e||typeof e!="string"?!1:((t=ln.exec(e))==null?void 0:t[0])===e||((n=pn.exec(e))==null?void 0:n[0])===e}function yr(e){var t;return!e||typeof e!="string"?!1:((t=fn.exec(e))==null?void 0:t[0])===e}function hn(e){return e.filter(t=>!!t).join(" ")}function mn(e,t="en-US"){return e.replace(new RegExp("^\\p{CWU}","u"),n=>n.toLocaleUpperCase(t))}const br={getUniqueString:Et,getRandomElement:nn,getRandomInt:rn,formatMessages:on,filterFormattedMessages:an,hasFormattedMessageOfType:ot,getValidationState:Ot,htmlFragment:ur,flushPromises:cr,kebabCaseToPascalCase:lr,debounce:pr,isOutOfViewPort:sn,getPhoneNumberRegex:Tt,linkRegex:vn,isEmailAddress:yr,isPhoneNumber:mr,isURL:gr,safeConcatStrings:hn,capitalizeFirstLetter:mn};function xt(e,t,n,r,o,s,c,l){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),s&&(a._scopeId="data-v-"+s);var f;if(c?(f=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),o&&o.call(this,g),g&&g._registeredComponents&&g._registeredComponents.add(c)},a._ssrRegister=f):o&&(f=l?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var p=a.render;a.render=function(h,b){return f.call(b),p(h,b)}}else{var y=a.beforeCreate;a.beforeCreate=y?[].concat(y,f):[f]}return{exports:e,options:a}}const wr={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return process.env.NODE_ENV!=="test"}},watch:{show:function(e){!e||this.initialized||(this.initialized=!0)}}};var Er=function(){var t=this,n=t._self._c;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear,css:t.isCSSEnabled}},t.$listeners),[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},Or=[],Tr=xt(wr,Er,Or,!1,null,null,null,null);const gn=Tr.exports;var j="top",q="bottom",X="right",B="left",At="auto",We=[j,q,X,B],Se="start",Be="end",xr="clippingParents",yn="viewport",$e="popper",Ar="reference",Mt=We.reduce(function(e,t){return e.concat([t+"-"+Se,t+"-"+Be])},[]),bn=[].concat(We,[At]).reduce(function(e,t){return e.concat([t,t+"-"+Se,t+"-"+Be])},[]),Sr="beforeRead",Dr="read",Cr="afterRead",Rr="beforeMain",Lr="main",_r="afterMain",Pr="beforeWrite",Ir="write",Nr="afterWrite",Mr=[Sr,Dr,Cr,Rr,Lr,_r,Pr,Ir,Nr];function te(e){return e?(e.nodeName||"").toLowerCase():null}function W(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ye(e){var t=W(e).Element;return e instanceof t||e instanceof Element}function Y(e){var t=W(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function St(e){if(typeof ShadowRoot>"u")return!1;var t=W(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $r(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!Y(s)||!te(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(c){var l=o[c];l===!1?s.removeAttribute(c):s.setAttribute(c,l===!0?"":l)}))})}function kr(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],s=t.attributes[r]||{},c=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=c.reduce(function(a,f){return a[f]="",a},{});!Y(o)||!te(o)||(Object.assign(o.style,l),Object.keys(s).forEach(function(a){o.removeAttribute(a)}))})}}const wn={name:"applyStyles",enabled:!0,phase:"write",fn:$r,effect:kr,requires:["computeStyles"]};function ee(e){return e.split("-")[0]}var ge=Math.max,st=Math.min,De=Math.round;function mt(){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 En(){return!/^((?!chrome|android).)*safari/i.test(mt())}function Ce(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Y(e)&&(o=e.offsetWidth>0&&De(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&De(r.height)/e.offsetHeight||1);var c=ye(e)?W(e):window,l=c.visualViewport,a=!En()&&n,f=(r.left+(a&&l?l.offsetLeft:0))/o,p=(r.top+(a&&l?l.offsetTop:0))/s,y=r.width/o,g=r.height/s;return{width:y,height:g,top:p,right:f+y,bottom:p+g,left:f,x:f,y:p}}function Dt(e){var t=Ce(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 On(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&St(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function se(e){return W(e).getComputedStyle(e)}function Vr(e){return["table","td","th"].indexOf(te(e))>=0}function pe(e){return((ye(e)?e.ownerDocument:e.document)||window.document).documentElement}function ct(e){return te(e)==="html"?e:e.assignedSlot||e.parentNode||(St(e)?e.host:null)||pe(e)}function $t(e){return!Y(e)||se(e).position==="fixed"?null:e.offsetParent}function jr(e){var t=/firefox/i.test(mt()),n=/Trident/i.test(mt());if(n&&Y(e)){var r=se(e);if(r.position==="fixed")return null}var o=ct(e);for(St(o)&&(o=o.host);Y(o)&&["html","body"].indexOf(te(o))<0;){var s=se(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function ze(e){for(var t=W(e),n=$t(e);n&&Vr(n)&&se(n).position==="static";)n=$t(n);return n&&(te(n)==="html"||te(n)==="body"&&se(n).position==="static")?t:n||jr(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ke(e,t,n){return ge(e,st(t,n))}function Br(e,t,n){var r=ke(e,t,n);return r>n?n:r}function Tn(){return{top:0,right:0,bottom:0,left:0}}function xn(e){return Object.assign({},Tn(),e)}function An(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ur=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,xn(typeof t!="number"?t:An(t,We))};function Fr(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,c=n.modifiersData.popperOffsets,l=ee(n.placement),a=Ct(l),f=[B,X].indexOf(l)>=0,p=f?"height":"width";if(!(!s||!c)){var y=Ur(o.padding,n),g=Dt(s),h=a==="y"?j:B,b=a==="y"?q:X,w=n.rects.reference[p]+n.rects.reference[a]-c[a]-n.rects.popper[p],E=c[a]-n.rects.reference[a],x=ze(s),S=x?a==="y"?x.clientHeight||0:x.clientWidth||0:0,C=w/2-E/2,i=y[h],T=S-g[p]-y[b],d=S/2-g[p]/2+C,D=ke(i,d,T),I=a;n.modifiersData[r]=(t={},t[I]=D,t.centerOffset=D-d,t)}}function Hr(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)||On(t.elements.popper,o)&&(t.elements.arrow=o))}const Wr={name:"arrow",enabled:!0,phase:"main",fn:Fr,effect:Hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:De(n*o)/o||0,y:De(r*o)/o||0}}function kt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,c=e.offsets,l=e.position,a=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,y=e.isFixed,g=c.x,h=g===void 0?0:g,b=c.y,w=b===void 0?0:b,E=typeof p=="function"?p({x:h,y:w}):{x:h,y:w};h=E.x,w=E.y;var x=c.hasOwnProperty("x"),S=c.hasOwnProperty("y"),C=B,i=j,T=window;if(f){var d=ze(n),D="clientHeight",I="clientWidth";if(d===W(n)&&(d=pe(n),se(d).position!=="static"&&l==="absolute"&&(D="scrollHeight",I="scrollWidth")),d=d,o===j||(o===B||o===X)&&s===Be){i=q;var P=y&&d===T&&T.visualViewport?T.visualViewport.height:d[D];w-=P-r.height,w*=a?1:-1}if(o===B||(o===j||o===q)&&s===Be){C=X;var L=y&&d===T&&T.visualViewport?T.visualViewport.width:d[I];h-=L-r.width,h*=a?1:-1}}var N=Object.assign({position:l},f&&zr),_=p===!0?Yr({x:h,y:w},W(n)):{x:h,y:w};if(h=_.x,w=_.y,a){var R;return Object.assign({},N,(R={},R[i]=S?"0":"",R[C]=x?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+w+"px)":"translate3d("+h+"px, "+w+"px, 0)",R))}return Object.assign({},N,(t={},t[i]=S?w+"px":"",t[C]=x?h+"px":"",t.transform="",t))}function qr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,c=s===void 0?!0:s,l=n.roundOffsets,a=l===void 0?!0:l,f={placement:ee(t.placement),variation:Re(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,kt(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,kt(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Xr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qr,data:{}};var rt={passive:!0};function Kr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,c=r.resize,l=c===void 0?!0:c,a=W(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(p){p.addEventListener("scroll",n.update,rt)}),l&&a.addEventListener("resize",n.update,rt),function(){s&&f.forEach(function(p){p.removeEventListener("scroll",n.update,rt)}),l&&a.removeEventListener("resize",n.update,rt)}}const Gr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Kr,data:{}};var Zr={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e){return e.replace(/left|right|bottom|top/g,function(t){return Zr[t]})}var Qr={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Qr[t]})}function Rt(e){var t=W(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Lt(e){return Ce(pe(e)).left+Rt(e).scrollLeft}function Jr(e,t){var n=W(e),r=pe(e),o=n.visualViewport,s=r.clientWidth,c=r.clientHeight,l=0,a=0;if(o){s=o.width,c=o.height;var f=En();(f||!f&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:c,x:l+Lt(e),y:a}}function ei(e){var t,n=pe(e),r=Rt(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=ge(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=ge(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Lt(e),a=-r.scrollTop;return se(o||n).direction==="rtl"&&(l+=ge(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:l,y:a}}function _t(e){var t=se(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Sn(e){return["html","body","#document"].indexOf(te(e))>=0?e.ownerDocument.body:Y(e)&&_t(e)?e:Sn(ct(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var r=Sn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=W(r),c=o?[s].concat(s.visualViewport||[],_t(r)?r:[]):r,l=t.concat(c);return o?l:l.concat(Ve(ct(c)))}function gt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ti(e,t){var n=Ce(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function jt(e,t,n){return t===yn?gt(Jr(e,n)):ye(t)?ti(t,n):gt(ei(pe(e)))}function ni(e){var t=Ve(ct(e)),n=["absolute","fixed"].indexOf(se(e).position)>=0,r=n&&Y(e)?ze(e):e;return ye(r)?t.filter(function(o){return ye(o)&&On(o,r)&&te(o)!=="body"}):[]}function ri(e,t,n,r){var o=t==="clippingParents"?ni(e):[].concat(t),s=[].concat(o,[n]),c=s[0],l=s.reduce(function(a,f){var p=jt(e,f,r);return a.top=ge(p.top,a.top),a.right=st(p.right,a.right),a.bottom=st(p.bottom,a.bottom),a.left=ge(p.left,a.left),a},jt(e,c,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Dn(e){var t=e.reference,n=e.element,r=e.placement,o=r?ee(r):null,s=r?Re(r):null,c=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(o){case j:a={x:c,y:t.y-n.height};break;case q:a={x:c,y:t.y+t.height};break;case X:a={x:t.x+t.width,y:l};break;case B:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var f=o?Ct(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(s){case Se:a[f]=a[f]-(t[p]/2-n[p]/2);break;case Be:a[f]=a[f]+(t[p]/2-n[p]/2);break}}return a}function Ue(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,c=s===void 0?e.strategy:s,l=n.boundary,a=l===void 0?xr:l,f=n.rootBoundary,p=f===void 0?yn:f,y=n.elementContext,g=y===void 0?$e:y,h=n.altBoundary,b=h===void 0?!1:h,w=n.padding,E=w===void 0?0:w,x=xn(typeof E!="number"?E:An(E,We)),S=g===$e?Ar:$e,C=e.rects.popper,i=e.elements[b?S:g],T=ri(ye(i)?i:i.contextElement||pe(e.elements.popper),a,p,c),d=Ce(e.elements.reference),D=Dn({reference:d,element:C,strategy:"absolute",placement:o}),I=gt(Object.assign({},C,D)),P=g===$e?I:d,L={top:T.top-P.top+x.top,bottom:P.bottom-T.bottom+x.bottom,left:T.left-P.left+x.left,right:P.right-T.right+x.right},N=e.modifiersData.offset;if(g===$e&&N){var _=N[o];Object.keys(L).forEach(function(R){var U=[X,q].indexOf(R)>=0?1:-1,F=[j,q].indexOf(R)>=0?"y":"x";L[R]+=_[F]*U})}return L}function ii(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,c=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,f=a===void 0?bn:a,p=Re(r),y=p?l?Mt:Mt.filter(function(b){return Re(b)===p}):We,g=y.filter(function(b){return f.indexOf(b)>=0});g.length===0&&(g=y);var h=g.reduce(function(b,w){return b[w]=Ue(e,{placement:w,boundary:o,rootBoundary:s,padding:c})[ee(w)],b},{});return Object.keys(h).sort(function(b,w){return h[b]-h[w]})}function oi(e){if(ee(e)===At)return[];var t=at(e);return[Vt(e),t,Vt(t)]}function ai(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,l=c===void 0?!0:c,a=n.fallbackPlacements,f=n.padding,p=n.boundary,y=n.rootBoundary,g=n.altBoundary,h=n.flipVariations,b=h===void 0?!0:h,w=n.allowedAutoPlacements,E=t.options.placement,x=ee(E),S=x===E,C=a||(S||!b?[at(E)]:oi(E)),i=[E].concat(C).reduce(function(ne,K){return ne.concat(ee(K)===At?ii(t,{placement:K,boundary:p,rootBoundary:y,padding:f,flipVariations:b,allowedAutoPlacements:w}):K)},[]),T=t.rects.reference,d=t.rects.popper,D=new Map,I=!0,P=i[0],L=0;L<i.length;L++){var N=i[L],_=ee(N),R=Re(N)===Se,U=[j,q].indexOf(_)>=0,F=U?"width":"height",$=Ue(t,{placement:N,boundary:p,rootBoundary:y,altBoundary:g,padding:f}),k=U?R?X:B:R?q:j;T[F]>d[F]&&(k=at(k));var M=at(k),G=[];if(s&&G.push($[_]<=0),l&&G.push($[k]<=0,$[M]<=0),G.every(function(ne){return ne})){P=N,I=!1;break}D.set(N,G)}if(I)for(var Z=b?3:1,fe=function(K){var re=i.find(function(be){var ie=D.get(be);if(ie)return ie.slice(0,K).every(function(we){return we})});if(re)return P=re,"break"},Q=Z;Q>0;Q--){var de=fe(Q);if(de==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const si={name:"flip",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"],data:{_skip:!1}};function Bt(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 Ut(e){return[j,X,q,B].some(function(t){return e[t]>=0})}function ui(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=Ue(t,{elementContext:"reference"}),l=Ue(t,{altBoundary:!0}),a=Bt(c,r),f=Bt(l,o,s),p=Ut(a),y=Ut(f);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":y})}const ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ui};function li(e,t,n){var r=ee(e),o=[B,j].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,c=s[0],l=s[1];return c=c||0,l=(l||0)*o,[B,X].indexOf(r)>=0?{x:l,y:c}:{x:c,y:l}}function pi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,c=bn.reduce(function(p,y){return p[y]=li(y,t.rects,s),p},{}),l=c[t.placement],a=l.x,f=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=c}const fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pi};function di(e){var t=e.state,n=e.name;t.modifiersData[n]=Dn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vi={name:"popperOffsets",enabled:!0,phase:"read",fn:di,data:{}};function hi(e){return e==="x"?"y":"x"}function mi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,c=n.altAxis,l=c===void 0?!1:c,a=n.boundary,f=n.rootBoundary,p=n.altBoundary,y=n.padding,g=n.tether,h=g===void 0?!0:g,b=n.tetherOffset,w=b===void 0?0:b,E=Ue(t,{boundary:a,rootBoundary:f,padding:y,altBoundary:p}),x=ee(t.placement),S=Re(t.placement),C=!S,i=Ct(x),T=hi(i),d=t.modifiersData.popperOffsets,D=t.rects.reference,I=t.rects.popper,P=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,L=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(d){if(s){var R,U=i==="y"?j:B,F=i==="y"?q:X,$=i==="y"?"height":"width",k=d[i],M=k+E[U],G=k-E[F],Z=h?-I[$]/2:0,fe=S===Se?D[$]:I[$],Q=S===Se?-I[$]:-D[$],de=t.elements.arrow,ne=h&&de?Dt(de):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Tn(),re=K[U],be=K[F],ie=ke(0,D[$],ne[$]),we=C?D[$]/2-Z-ie-re-L.mainAxis:fe-ie-re-L.mainAxis,ue=C?-D[$]/2+Z+ie+be+L.mainAxis:Q+ie+be+L.mainAxis,Ee=t.elements.arrow&&ze(t.elements.arrow),Ye=Ee?i==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,_e=(R=N==null?void 0:N[i])!=null?R:0,qe=k+we-_e-Ye,Xe=k+ue-_e,Pe=ke(h?st(M,qe):M,k,h?ge(G,Xe):G);d[i]=Pe,_[i]=Pe-k}if(l){var Ie,Ke=i==="x"?j:B,Ge=i==="x"?q:X,oe=d[T],ce=T==="y"?"height":"width",Ne=oe+E[Ke],ve=oe-E[Ge],Me=[j,B].indexOf(x)!==-1,Ze=(Ie=N==null?void 0:N[T])!=null?Ie:0,Qe=Me?Ne:oe-D[ce]-I[ce]-Ze+L.altAxis,Je=Me?oe+D[ce]+I[ce]-Ze-L.altAxis:ve,et=h&&Me?Br(Qe,oe,Je):ke(h?Qe:Ne,oe,h?Je:ve);d[T]=et,_[T]=et-oe}t.modifiersData[r]=_}}const gi={name:"preventOverflow",enabled:!0,phase:"main",fn:mi,requiresIfExists:["offset"]};function yi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bi(e){return e===W(e)||!Y(e)?Rt(e):yi(e)}function wi(e){var t=e.getBoundingClientRect(),n=De(t.width)/e.offsetWidth||1,r=De(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ei(e,t,n){n===void 0&&(n=!1);var r=Y(t),o=Y(t)&&wi(t),s=pe(t),c=Ce(e,o,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!n)&&((te(t)!=="body"||_t(s))&&(l=bi(t)),Y(t)?(a=Ce(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=Lt(s))),{x:c.left+l.scrollLeft-a.x,y:c.top+l.scrollTop-a.y,width:c.width,height:c.height}}function Oi(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&o(a)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function Ti(e){var t=Oi(e);return Mr.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ai(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 Ft={placement:"bottom",modifiers:[],strategy:"absolute"};function Ht(){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 Si(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?Ft:o;return function(l,a,f){f===void 0&&(f=s);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ft,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},y=[],g=!1,h={state:p,setOptions:function(x){var S=typeof x=="function"?x(p.options):x;w(),p.options=Object.assign({},s,p.options,S),p.scrollParents={reference:ye(l)?Ve(l):l.contextElement?Ve(l.contextElement):[],popper:Ve(a)};var C=Ti(Ai([].concat(r,p.options.modifiers)));return p.orderedModifiers=C.filter(function(i){return i.enabled}),b(),h.update()},forceUpdate:function(){if(!g){var x=p.elements,S=x.reference,C=x.popper;if(Ht(S,C)){p.rects={reference:Ei(S,ze(C),p.options.strategy==="fixed"),popper:Dt(C)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(L){return p.modifiersData[L.name]=Object.assign({},L.data)});for(var i=0;i<p.orderedModifiers.length;i++){if(p.reset===!0){p.reset=!1,i=-1;continue}var T=p.orderedModifiers[i],d=T.fn,D=T.options,I=D===void 0?{}:D,P=T.name;typeof d=="function"&&(p=d({state:p,options:I,name:P,instance:h})||p)}}}},update:xi(function(){return new Promise(function(E){h.forceUpdate(),E(p)})}),destroy:function(){w(),g=!0}};if(!Ht(l,a))return h;h.setOptions(f).then(function(E){!g&&f.onFirstUpdate&&f.onFirstUpdate(E)});function b(){p.orderedModifiers.forEach(function(E){var x=E.name,S=E.options,C=S===void 0?{}:S,i=E.effect;if(typeof i=="function"){var T=i({state:p,name:x,instance:h,options:C}),d=function(){};y.push(T||d)}})}function w(){y.forEach(function(E){return E()}),y=[]}return h}}var Di=[Gr,vi,Xr,wn,fi,si,gi,Wr,ci],Ci=Si({defaultModifiers:Di}),Ri="tippy-box",Cn="tippy-content",Li="tippy-backdrop",Rn="tippy-arrow",Ln="tippy-svg-arrow",me={passive:!0,capture:!0},_n=function(){return document.body};function _i(e,t){return{}.hasOwnProperty.call(e,t)}function ft(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Pt(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Pn(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Wt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Pi(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ii(e){return e.split(/\s+/).filter(Boolean)}function Ae(e){return[].concat(e)}function zt(e,t){e.indexOf(t)===-1&&e.push(t)}function Ni(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Mi(e){return e.split("-")[0]}function ut(e){return[].slice.call(e)}function Yt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function je(){return document.createElement("div")}function Fe(e){return["Element","Fragment"].some(function(t){return Pt(e,t)})}function $i(e){return Pt(e,"NodeList")}function ki(e){return Pt(e,"MouseEvent")}function Vi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function ji(e){return Fe(e)?[e]:$i(e)?ut(e):Array.isArray(e)?e:ut(document.querySelectorAll(e))}function dt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function qt(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Bi(e){var t,n=Ae(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Ui(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var s=o.popperRect,c=o.popperState,l=o.props,a=l.interactiveBorder,f=Mi(c.placement),p=c.modifiersData.offset;if(!p)return!0;var y=f==="bottom"?p.top.y:0,g=f==="top"?p.bottom.y:0,h=f==="right"?p.left.x:0,b=f==="left"?p.right.x:0,w=s.top-r+y>a,E=r-s.bottom-g>a,x=s.left-n+h>a,S=n-s.right-b>a;return w||E||x||S})}function vt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Xt(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 J={isTouch:!1},Kt=0;function Fi(){J.isTouch||(J.isTouch=!0,window.performance&&document.addEventListener("mousemove",In))}function In(){var e=performance.now();e-Kt<20&&(J.isTouch=!1,document.removeEventListener("mousemove",In)),Kt=e}function Hi(){var e=document.activeElement;if(Vi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Wi(){document.addEventListener("touchstart",Fi,me),window.addEventListener("blur",Hi)}var zi=typeof window<"u"&&typeof document<"u",Yi=zi?!!window.msCrypto:!1;function xe(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 Gt(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function qi(e){return Gt(`
2
2
  %ctippy.js
3
3
 
4
4
  %c`+Gt(e)+`
5
5
 
6
6
  %c👷‍ This is a development-only message. It will be removed in production.
7
- `)}function Nn(e){return[qi(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var He;process.env.NODE_ENV!=="production"&&Xi();function Xi(){He=new Set}function ae(e,t){if(e&&!He.has(t)){var n;He.add(t),(n=console).warn.apply(n,Nn(t))}}function yt(e,t){if(e&&!He.has(t)){var n;He.add(t),(n=console).error.apply(n,Nn(t))}}function Ki(e){var t=!e,n=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(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Mn={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},H=Object.assign({appendTo:_n,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},Mn,Gi),Zi=Object.keys(H),Qi=function(t){process.env.NODE_ENV!=="production"&&kn(t,[]);var n=Object.keys(t);n.forEach(function(r){H[r]=t[r]})};function $n(e){var t=e.plugins||[],n=t.reduce(function(r,o){var u=o.name,c=o.defaultValue;if(u){var l;r[u]=e[u]!==void 0?e[u]:(l=H[u])!=null?l:c}return r},{});return Object.assign({},e,n)}function Ji(e,t){var n=t?Object.keys($n(Object.assign({},H,{plugins:t}))):Zi,r=n.reduce(function(o,u){var c=(e.getAttribute("data-tippy-"+u)||"").trim();if(!c)return o;if(u==="content")o[u]=c;else try{o[u]=JSON.parse(c)}catch{o[u]=c}return o},{});return r}function Zt(e,t){var n=Object.assign({},t,{content:Pn(t.content,[e])},t.ignoreAttributes?{}:Ji(e,t.plugins));return n.aria=Object.assign({},H.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}function kn(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=Pi(H,Object.keys(Mn)),u=!_i(o,r);u&&(u=t.filter(function(c){return c.name===r}).length===0),ae(u,["`"+r+"`","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.",`
7
+ `)}function Nn(e){return[qi(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var He;process.env.NODE_ENV!=="production"&&Xi();function Xi(){He=new Set}function ae(e,t){if(e&&!He.has(t)){var n;He.add(t),(n=console).warn.apply(n,Nn(t))}}function yt(e,t){if(e&&!He.has(t)){var n;He.add(t),(n=console).error.apply(n,Nn(t))}}function Ki(e){var t=!e,n=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(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Mn={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},H=Object.assign({appendTo:_n,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},Mn,Gi),Zi=Object.keys(H),Qi=function(t){process.env.NODE_ENV!=="production"&&kn(t,[]);var n=Object.keys(t);n.forEach(function(r){H[r]=t[r]})};function $n(e){var t=e.plugins||[],n=t.reduce(function(r,o){var s=o.name,c=o.defaultValue;if(s){var l;r[s]=e[s]!==void 0?e[s]:(l=H[s])!=null?l:c}return r},{});return Object.assign({},e,n)}function Ji(e,t){var n=t?Object.keys($n(Object.assign({},H,{plugins:t}))):Zi,r=n.reduce(function(o,s){var c=(e.getAttribute("data-tippy-"+s)||"").trim();if(!c)return o;if(s==="content")o[s]=c;else try{o[s]=JSON.parse(c)}catch{o[s]=c}return o},{});return r}function Zt(e,t){var n=Object.assign({},t,{content:Pn(t.content,[e])},t.ignoreAttributes?{}:Ji(e,t.plugins));return n.aria=Object.assign({},H.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}function kn(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=Pi(H,Object.keys(Mn)),s=!_i(o,r);s&&(s=t.filter(function(c){return c.name===r}).length===0),ae(s,["`"+r+"`","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.",`
8
8
 
9
9
  `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
10
- `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var eo=function(){return"innerHTML"};function bt(e,t){e[eo()]=t}function Qt(e){var t=je();return e===!0?t.className=Rn:(t.className=Ln,Fe(e)?t.appendChild(e):bt(t,e)),t}function Jt(e,t){Fe(t.content)?(bt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?bt(e,t.content):e.textContent=t.content)}function wt(e){var t=e.firstElementChild,n=ut(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Cn)}),arrow:n.find(function(r){return r.classList.contains(Rn)||r.classList.contains(Ln)}),backdrop:n.find(function(r){return r.classList.contains(Li)})}}function Vn(e){var t=je(),n=je();n.className=Ri,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=je();r.className=Cn,r.setAttribute("data-state","hidden"),Jt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(u,c){var l=wt(t),a=l.box,f=l.content,p=l.arrow;c.theme?a.setAttribute("data-theme",c.theme):a.removeAttribute("data-theme"),typeof c.animation=="string"?a.setAttribute("data-animation",c.animation):a.removeAttribute("data-animation"),c.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof c.maxWidth=="number"?c.maxWidth+"px":c.maxWidth,c.role?a.setAttribute("role",c.role):a.removeAttribute("role"),(u.content!==c.content||u.allowHTML!==c.allowHTML)&&Jt(f,e.props),c.arrow?p?u.arrow!==c.arrow&&(a.removeChild(p),a.appendChild(Qt(c.arrow))):a.appendChild(Qt(c.arrow)):p&&a.removeChild(p)}return{popper:t,onUpdate:o}}Vn.$$tippy=!0;var to=1,it=[],ht=[];function no(e,t){var n=Zt(e,Object.assign({},H,$n(Yt(t)))),r,o,u,c=!1,l=!1,a=!1,f=!1,p,y,g,h=[],b=Wt(qe,n.interactiveDebounce),w,E=to++,x=null,S=Ni(n.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:E,reference:e,popper:je(),popperInstance:x,props:n,state:C,plugins:S,clearDelayTimeouts:Qe,setProps:Je,setContent:et,show:qn,hide:Xn,hideWithInteractivity:Kn,enable:Me,disable:Ze,unmount:Gn,destroy:Zn};if(!n.render)return process.env.NODE_ENV!=="production"&&yt(!0,"render() function has not been supplied."),i;var T=n.render(i),d=T.popper,D=T.onUpdate;d.setAttribute("data-tippy-root",""),d.id="tippy-"+i.id,i.popper=d,e._tippy=i,d._tippy=i;var I=S.map(function(s){return s.fn(i)}),P=e.hasAttribute("aria-expanded");return Ee(),Z(),k(),M("onCreate",[i]),n.showOnCreate&&Ne(),d.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),d.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&U().addEventListener("mousemove",b)}),i;function L(){var s=i.props.touch;return Array.isArray(s)?s:[s,0]}function N(){return L()[0]==="hold"}function _(){var s;return!!((s=i.props.render)!=null&&s.$$tippy)}function R(){return w||e}function U(){var s=R().parentNode;return s?Bi(s):document}function F(){return wt(d)}function $(s){return i.state.isMounted&&!i.state.isVisible||J.isTouch||p&&p.type==="focus"?0:ft(i.props.delay,s?0:1,H.delay)}function k(s){s===void 0&&(s=!1),d.style.pointerEvents=i.props.interactive&&!s?"":"none",d.style.zIndex=""+i.props.zIndex}function M(s,v,m){if(m===void 0&&(m=!0),I.forEach(function(O){O[s]&&O[s].apply(O,v)}),m){var A;(A=i.props)[s].apply(A,v)}}function G(){var s=i.props.aria;if(s.content){var v="aria-"+s.content,m=d.id,A=Ae(i.props.triggerTarget||e);A.forEach(function(O){var V=O.getAttribute(v);if(i.state.isVisible)O.setAttribute(v,V?V+" "+m:m);else{var z=V&&V.replace(m,"").trim();z?O.setAttribute(v,z):O.removeAttribute(v)}})}}function Z(){if(!(P||!i.props.aria.expanded)){var s=Ae(i.props.triggerTarget||e);s.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===R()?"true":"false"):v.removeAttribute("aria-expanded")})}}function fe(){U().removeEventListener("mousemove",b),it=it.filter(function(s){return s!==b})}function Q(s){if(!(J.isTouch&&(a||s.type==="mousedown"))){var v=s.composedPath&&s.composedPath()[0]||s.target;if(!(i.props.interactive&&Xt(d,v))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,v)})){if(J.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[i,s]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),l=!0,setTimeout(function(){l=!1}),i.state.isMounted||re())}}}function de(){a=!0}function ne(){a=!1}function K(){var s=U();s.addEventListener("mousedown",Q,!0),s.addEventListener("touchend",Q,me),s.addEventListener("touchstart",ne,me),s.addEventListener("touchmove",de,me)}function re(){var s=U();s.removeEventListener("mousedown",Q,!0),s.removeEventListener("touchend",Q,me),s.removeEventListener("touchstart",ne,me),s.removeEventListener("touchmove",de,me)}function be(s,v){we(s,function(){!i.state.isVisible&&d.parentNode&&d.parentNode.contains(d)&&v()})}function ie(s,v){we(s,v)}function we(s,v){var m=F().box;function A(O){O.target===m&&(vt(m,"remove",A),v())}if(s===0)return v();vt(m,"remove",y),vt(m,"add",A),y=A}function ue(s,v,m){m===void 0&&(m=!1);var A=Ae(i.props.triggerTarget||e);A.forEach(function(O){O.addEventListener(s,v,m),h.push({node:O,eventType:s,handler:v,options:m})})}function Ee(){N()&&(ue("touchstart",_e,{passive:!0}),ue("touchend",Xe,{passive:!0})),Ii(i.props.trigger).forEach(function(s){if(s!=="manual")switch(ue(s,_e),s){case"mouseenter":ue("mouseleave",Xe);break;case"focus":ue(Yi?"focusout":"blur",Pe);break;case"focusin":ue("focusout",Pe);break}})}function Ye(){h.forEach(function(s){var v=s.node,m=s.eventType,A=s.handler,O=s.options;v.removeEventListener(m,A,O)}),h=[]}function _e(s){var v,m=!1;if(!(!i.state.isEnabled||Ie(s)||l)){var A=((v=p)==null?void 0:v.type)==="focus";p=s,w=s.currentTarget,Z(),!i.state.isVisible&&ki(s)&&it.forEach(function(O){return O(s)}),s.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||c)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:Ne(s),s.type==="click"&&(c=!m),m&&!A&&ve(s)}}function qe(s){var v=s.target,m=R().contains(v)||d.contains(v);if(!(s.type==="mousemove"&&m)){var A=ce().concat(d).map(function(O){var V,z=O._tippy,Oe=(V=z.popperInstance)==null?void 0:V.state;return Oe?{popperRect:O.getBoundingClientRect(),popperState:Oe,props:n}:null}).filter(Boolean);Ui(A,s)&&(fe(),ve(s))}}function Xe(s){var v=Ie(s)||i.props.trigger.indexOf("click")>=0&&c;if(!v){if(i.props.interactive){i.hideWithInteractivity(s);return}ve(s)}}function Pe(s){i.props.trigger.indexOf("focusin")<0&&s.target!==R()||i.props.interactive&&s.relatedTarget&&d.contains(s.relatedTarget)||ve(s)}function Ie(s){return J.isTouch?N()!==s.type.indexOf("touch")>=0:!1}function Ke(){Ge();var s=i.props,v=s.popperOptions,m=s.placement,A=s.offset,O=s.getReferenceClientRect,V=s.moveTransition,z=_()?wt(d).arrow:null,Oe=O?{getBoundingClientRect:O,contextElement:O.contextElement||R()}:e,It={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(tt){var Te=tt.state;if(_()){var Qn=F(),pt=Qn.box;["placement","reference-hidden","escaped"].forEach(function(nt){nt==="placement"?pt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+nt]?pt.setAttribute("data-"+nt,""):pt.removeAttribute("data-"+nt)}),Te.attributes.popper={}}}},he=[{name:"offset",options:{offset:A}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},It];_()&&z&&he.push({name:"arrow",options:{element:z,padding:3}}),he.push.apply(he,(v==null?void 0:v.modifiers)||[]),i.popperInstance=Ci(Oe,d,Object.assign({},v,{placement:m,onFirstUpdate:g,modifiers:he}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var s=i.props.appendTo,v,m=R();i.props.interactive&&s===_n||s==="parent"?v=m.parentNode:v=Pn(s,[m]),v.contains(d)||v.appendChild(d),i.state.isMounted=!0,Ke(),process.env.NODE_ENV!=="production"&&ae(i.props.interactive&&s===H.appendTo&&m.nextElementSibling!==d,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
10
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var eo=function(){return"innerHTML"};function bt(e,t){e[eo()]=t}function Qt(e){var t=je();return e===!0?t.className=Rn:(t.className=Ln,Fe(e)?t.appendChild(e):bt(t,e)),t}function Jt(e,t){Fe(t.content)?(bt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?bt(e,t.content):e.textContent=t.content)}function wt(e){var t=e.firstElementChild,n=ut(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Cn)}),arrow:n.find(function(r){return r.classList.contains(Rn)||r.classList.contains(Ln)}),backdrop:n.find(function(r){return r.classList.contains(Li)})}}function Vn(e){var t=je(),n=je();n.className=Ri,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=je();r.className=Cn,r.setAttribute("data-state","hidden"),Jt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(s,c){var l=wt(t),a=l.box,f=l.content,p=l.arrow;c.theme?a.setAttribute("data-theme",c.theme):a.removeAttribute("data-theme"),typeof c.animation=="string"?a.setAttribute("data-animation",c.animation):a.removeAttribute("data-animation"),c.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof c.maxWidth=="number"?c.maxWidth+"px":c.maxWidth,c.role?a.setAttribute("role",c.role):a.removeAttribute("role"),(s.content!==c.content||s.allowHTML!==c.allowHTML)&&Jt(f,e.props),c.arrow?p?s.arrow!==c.arrow&&(a.removeChild(p),a.appendChild(Qt(c.arrow))):a.appendChild(Qt(c.arrow)):p&&a.removeChild(p)}return{popper:t,onUpdate:o}}Vn.$$tippy=!0;var to=1,it=[],ht=[];function no(e,t){var n=Zt(e,Object.assign({},H,$n(Yt(t)))),r,o,s,c=!1,l=!1,a=!1,f=!1,p,y,g,h=[],b=Wt(qe,n.interactiveDebounce),w,E=to++,x=null,S=Ni(n.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:E,reference:e,popper:je(),popperInstance:x,props:n,state:C,plugins:S,clearDelayTimeouts:Qe,setProps:Je,setContent:et,show:qn,hide:Xn,hideWithInteractivity:Kn,enable:Me,disable:Ze,unmount:Gn,destroy:Zn};if(!n.render)return process.env.NODE_ENV!=="production"&&yt(!0,"render() function has not been supplied."),i;var T=n.render(i),d=T.popper,D=T.onUpdate;d.setAttribute("data-tippy-root",""),d.id="tippy-"+i.id,i.popper=d,e._tippy=i,d._tippy=i;var I=S.map(function(u){return u.fn(i)}),P=e.hasAttribute("aria-expanded");return Ee(),Z(),k(),M("onCreate",[i]),n.showOnCreate&&Ne(),d.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),d.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&U().addEventListener("mousemove",b)}),i;function L(){var u=i.props.touch;return Array.isArray(u)?u:[u,0]}function N(){return L()[0]==="hold"}function _(){var u;return!!((u=i.props.render)!=null&&u.$$tippy)}function R(){return w||e}function U(){var u=R().parentNode;return u?Bi(u):document}function F(){return wt(d)}function $(u){return i.state.isMounted&&!i.state.isVisible||J.isTouch||p&&p.type==="focus"?0:ft(i.props.delay,u?0:1,H.delay)}function k(u){u===void 0&&(u=!1),d.style.pointerEvents=i.props.interactive&&!u?"":"none",d.style.zIndex=""+i.props.zIndex}function M(u,v,m){if(m===void 0&&(m=!0),I.forEach(function(O){O[u]&&O[u].apply(O,v)}),m){var A;(A=i.props)[u].apply(A,v)}}function G(){var u=i.props.aria;if(u.content){var v="aria-"+u.content,m=d.id,A=Ae(i.props.triggerTarget||e);A.forEach(function(O){var V=O.getAttribute(v);if(i.state.isVisible)O.setAttribute(v,V?V+" "+m:m);else{var z=V&&V.replace(m,"").trim();z?O.setAttribute(v,z):O.removeAttribute(v)}})}}function Z(){if(!(P||!i.props.aria.expanded)){var u=Ae(i.props.triggerTarget||e);u.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===R()?"true":"false"):v.removeAttribute("aria-expanded")})}}function fe(){U().removeEventListener("mousemove",b),it=it.filter(function(u){return u!==b})}function Q(u){if(!(J.isTouch&&(a||u.type==="mousedown"))){var v=u.composedPath&&u.composedPath()[0]||u.target;if(!(i.props.interactive&&Xt(d,v))){if(Ae(i.props.triggerTarget||e).some(function(m){return Xt(m,v)})){if(J.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[i,u]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),l=!0,setTimeout(function(){l=!1}),i.state.isMounted||re())}}}function de(){a=!0}function ne(){a=!1}function K(){var u=U();u.addEventListener("mousedown",Q,!0),u.addEventListener("touchend",Q,me),u.addEventListener("touchstart",ne,me),u.addEventListener("touchmove",de,me)}function re(){var u=U();u.removeEventListener("mousedown",Q,!0),u.removeEventListener("touchend",Q,me),u.removeEventListener("touchstart",ne,me),u.removeEventListener("touchmove",de,me)}function be(u,v){we(u,function(){!i.state.isVisible&&d.parentNode&&d.parentNode.contains(d)&&v()})}function ie(u,v){we(u,v)}function we(u,v){var m=F().box;function A(O){O.target===m&&(vt(m,"remove",A),v())}if(u===0)return v();vt(m,"remove",y),vt(m,"add",A),y=A}function ue(u,v,m){m===void 0&&(m=!1);var A=Ae(i.props.triggerTarget||e);A.forEach(function(O){O.addEventListener(u,v,m),h.push({node:O,eventType:u,handler:v,options:m})})}function Ee(){N()&&(ue("touchstart",_e,{passive:!0}),ue("touchend",Xe,{passive:!0})),Ii(i.props.trigger).forEach(function(u){if(u!=="manual")switch(ue(u,_e),u){case"mouseenter":ue("mouseleave",Xe);break;case"focus":ue(Yi?"focusout":"blur",Pe);break;case"focusin":ue("focusout",Pe);break}})}function Ye(){h.forEach(function(u){var v=u.node,m=u.eventType,A=u.handler,O=u.options;v.removeEventListener(m,A,O)}),h=[]}function _e(u){var v,m=!1;if(!(!i.state.isEnabled||Ie(u)||l)){var A=((v=p)==null?void 0:v.type)==="focus";p=u,w=u.currentTarget,Z(),!i.state.isVisible&&ki(u)&&it.forEach(function(O){return O(u)}),u.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||c)&&i.props.hideOnClick!==!1&&i.state.isVisible?m=!0:Ne(u),u.type==="click"&&(c=!m),m&&!A&&ve(u)}}function qe(u){var v=u.target,m=R().contains(v)||d.contains(v);if(!(u.type==="mousemove"&&m)){var A=ce().concat(d).map(function(O){var V,z=O._tippy,Oe=(V=z.popperInstance)==null?void 0:V.state;return Oe?{popperRect:O.getBoundingClientRect(),popperState:Oe,props:n}:null}).filter(Boolean);Ui(A,u)&&(fe(),ve(u))}}function Xe(u){var v=Ie(u)||i.props.trigger.indexOf("click")>=0&&c;if(!v){if(i.props.interactive){i.hideWithInteractivity(u);return}ve(u)}}function Pe(u){i.props.trigger.indexOf("focusin")<0&&u.target!==R()||i.props.interactive&&u.relatedTarget&&d.contains(u.relatedTarget)||ve(u)}function Ie(u){return J.isTouch?N()!==u.type.indexOf("touch")>=0:!1}function Ke(){Ge();var u=i.props,v=u.popperOptions,m=u.placement,A=u.offset,O=u.getReferenceClientRect,V=u.moveTransition,z=_()?wt(d).arrow:null,Oe=O?{getBoundingClientRect:O,contextElement:O.contextElement||R()}:e,It={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(tt){var Te=tt.state;if(_()){var Qn=F(),pt=Qn.box;["placement","reference-hidden","escaped"].forEach(function(nt){nt==="placement"?pt.setAttribute("data-placement",Te.placement):Te.attributes.popper["data-popper-"+nt]?pt.setAttribute("data-"+nt,""):pt.removeAttribute("data-"+nt)}),Te.attributes.popper={}}}},he=[{name:"offset",options:{offset:A}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!V}},It];_()&&z&&he.push({name:"arrow",options:{element:z,padding:3}}),he.push.apply(he,(v==null?void 0:v.modifiers)||[]),i.popperInstance=Ci(Oe,d,Object.assign({},v,{placement:m,onFirstUpdate:g,modifiers:he}))}function Ge(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var u=i.props.appendTo,v,m=R();i.props.interactive&&u===_n||u==="parent"?v=m.parentNode:v=Pn(u,[m]),v.contains(d)||v.appendChild(d),i.state.isMounted=!0,Ke(),process.env.NODE_ENV!=="production"&&ae(i.props.interactive&&u===H.appendTo&&m.nextElementSibling!==d,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
11
11
 
12
12
  `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
13
13
 
14
14
  `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
15
15
 
16
- `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ce(){return ut(d.querySelectorAll("[data-tippy-root]"))}function Ne(s){i.clearDelayTimeouts(),s&&M("onTrigger",[i,s]),K();var v=$(!0),m=L(),A=m[0],O=m[1];J.isTouch&&A==="hold"&&O&&(v=O),v?r=setTimeout(function(){i.show()},v):i.show()}function ve(s){if(i.clearDelayTimeouts(),M("onUntrigger",[i,s]),!i.state.isVisible){re();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(s.type)>=0&&c)){var v=$(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):u=requestAnimationFrame(function(){i.hide()})}}function Me(){i.state.isEnabled=!0}function Ze(){i.hide(),i.state.isEnabled=!1}function Qe(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(u)}function Je(s){if(process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("setProps")),!i.state.isDestroyed){M("onBeforeUpdate",[i,s]),Ye();var v=i.props,m=Zt(e,Object.assign({},v,Yt(s),{ignoreAttributes:!0}));i.props=m,Ee(),v.interactiveDebounce!==m.interactiveDebounce&&(fe(),b=Wt(qe,m.interactiveDebounce)),v.triggerTarget&&!m.triggerTarget?Ae(v.triggerTarget).forEach(function(A){A.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),Z(),k(),D&&D(v,m),i.popperInstance&&(Ke(),ce().forEach(function(A){requestAnimationFrame(A._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[i,s])}}function et(s){i.setProps({content:s})}function qn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("show"));var s=i.state.isVisible,v=i.state.isDestroyed,m=!i.state.isEnabled,A=J.isTouch&&!i.props.touch,O=ft(i.props.duration,0,H.duration);if(!(s||v||m||A)&&!R().hasAttribute("disabled")&&(M("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,_()&&(d.style.visibility="visible"),k(),K(),i.state.isMounted||(d.style.transition="none"),_()){var V=F(),z=V.box,Oe=V.content;dt([z,Oe],0)}g=function(){var he;if(!(!i.state.isVisible||f)){if(f=!0,d.offsetHeight,d.style.transition=i.props.moveTransition,_()&&i.props.animation){var lt=F(),tt=lt.box,Te=lt.content;dt([tt,Te],O),qt([tt,Te],"visible")}G(),Z(),zt(ht,i),(he=i.popperInstance)==null||he.forceUpdate(),M("onMount",[i]),i.props.animation&&_()&&ie(O,function(){i.state.isShown=!0,M("onShown",[i])})}},oe()}}function Xn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("hide"));var s=!i.state.isVisible,v=i.state.isDestroyed,m=!i.state.isEnabled,A=ft(i.props.duration,1,H.duration);if(!(s||v||m)&&(M("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,f=!1,c=!1,_()&&(d.style.visibility="hidden"),fe(),re(),k(!0),_()){var O=F(),V=O.box,z=O.content;i.props.animation&&(dt([V,z],A),qt([V,z],"hidden"))}G(),Z(),i.props.animation?_()&&be(A,i.unmount):i.unmount()}}function Kn(s){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("hideWithInteractivity")),U().addEventListener("mousemove",b),zt(it,b),b(s)}function Gn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("unmount")),i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(s){s._tippy.unmount()}),d.parentNode&&d.parentNode.removeChild(d),ht=ht.filter(function(s){return s!==i}),i.state.isMounted=!1,M("onHidden",[i]))}function Zn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("destroy")),!i.state.isDestroyed&&(i.clearDelayTimeouts(),i.unmount(),Ye(),delete e._tippy,i.state.isDestroyed=!0,M("onDestroy",[i]))}}function Le(e,t){t===void 0&&(t={});var n=H.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(Ki(e),kn(t,n)),Wi();var r=Object.assign({},t,{plugins:n}),o=ji(e);if(process.env.NODE_ENV!=="production"){var u=Fe(r.content),c=o.length>1;ae(u&&c,["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.",`
16
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ce(){return ut(d.querySelectorAll("[data-tippy-root]"))}function Ne(u){i.clearDelayTimeouts(),u&&M("onTrigger",[i,u]),K();var v=$(!0),m=L(),A=m[0],O=m[1];J.isTouch&&A==="hold"&&O&&(v=O),v?r=setTimeout(function(){i.show()},v):i.show()}function ve(u){if(i.clearDelayTimeouts(),M("onUntrigger",[i,u]),!i.state.isVisible){re();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(u.type)>=0&&c)){var v=$(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):s=requestAnimationFrame(function(){i.hide()})}}function Me(){i.state.isEnabled=!0}function Ze(){i.hide(),i.state.isEnabled=!1}function Qe(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function Je(u){if(process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("setProps")),!i.state.isDestroyed){M("onBeforeUpdate",[i,u]),Ye();var v=i.props,m=Zt(e,Object.assign({},v,Yt(u),{ignoreAttributes:!0}));i.props=m,Ee(),v.interactiveDebounce!==m.interactiveDebounce&&(fe(),b=Wt(qe,m.interactiveDebounce)),v.triggerTarget&&!m.triggerTarget?Ae(v.triggerTarget).forEach(function(A){A.removeAttribute("aria-expanded")}):m.triggerTarget&&e.removeAttribute("aria-expanded"),Z(),k(),D&&D(v,m),i.popperInstance&&(Ke(),ce().forEach(function(A){requestAnimationFrame(A._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[i,u])}}function et(u){i.setProps({content:u})}function qn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("show"));var u=i.state.isVisible,v=i.state.isDestroyed,m=!i.state.isEnabled,A=J.isTouch&&!i.props.touch,O=ft(i.props.duration,0,H.duration);if(!(u||v||m||A)&&!R().hasAttribute("disabled")&&(M("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,_()&&(d.style.visibility="visible"),k(),K(),i.state.isMounted||(d.style.transition="none"),_()){var V=F(),z=V.box,Oe=V.content;dt([z,Oe],0)}g=function(){var he;if(!(!i.state.isVisible||f)){if(f=!0,d.offsetHeight,d.style.transition=i.props.moveTransition,_()&&i.props.animation){var lt=F(),tt=lt.box,Te=lt.content;dt([tt,Te],O),qt([tt,Te],"visible")}G(),Z(),zt(ht,i),(he=i.popperInstance)==null||he.forceUpdate(),M("onMount",[i]),i.props.animation&&_()&&ie(O,function(){i.state.isShown=!0,M("onShown",[i])})}},oe()}}function Xn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("hide"));var u=!i.state.isVisible,v=i.state.isDestroyed,m=!i.state.isEnabled,A=ft(i.props.duration,1,H.duration);if(!(u||v||m)&&(M("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,f=!1,c=!1,_()&&(d.style.visibility="hidden"),fe(),re(),k(!0),_()){var O=F(),V=O.box,z=O.content;i.props.animation&&(dt([V,z],A),qt([V,z],"hidden"))}G(),Z(),i.props.animation?_()&&be(A,i.unmount):i.unmount()}}function Kn(u){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("hideWithInteractivity")),U().addEventListener("mousemove",b),zt(it,b),b(u)}function Gn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("unmount")),i.state.isVisible&&i.hide(),i.state.isMounted&&(Ge(),ce().forEach(function(u){u._tippy.unmount()}),d.parentNode&&d.parentNode.removeChild(d),ht=ht.filter(function(u){return u!==i}),i.state.isMounted=!1,M("onHidden",[i]))}function Zn(){process.env.NODE_ENV!=="production"&&ae(i.state.isDestroyed,xe("destroy")),!i.state.isDestroyed&&(i.clearDelayTimeouts(),i.unmount(),Ye(),delete e._tippy,i.state.isDestroyed=!0,M("onDestroy",[i]))}}function Le(e,t){t===void 0&&(t={});var n=H.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(Ki(e),kn(t,n)),Wi();var r=Object.assign({},t,{plugins:n}),o=ji(e);if(process.env.NODE_ENV!=="production"){var s=Fe(r.content),c=o.length>1;ae(s&&c,["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.",`
17
17
 
18
18
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
19
19
 
20
20
  `,`1) content: element.innerHTML
21
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,f){var p=f&&no(f,r);return p&&a.push(p),a},[]);return Fe(e)?l[0]:l}Le.defaultProps=H;Le.setDefaultProps=Qi;Le.currentInput=J;Object.assign({},wn,{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)}});var ro={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 u(f){return t.props.sticky===!0||t.props.sticky===f}var c=null,l=null;function a(){var f=u("reference")?o().getBoundingClientRect():null,p=u("popper")?r.getBoundingClientRect():null;(f&&en(c,f)||p&&en(l,p))&&t.popperInstance&&t.popperInstance.update(),c=f,l=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function en(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Le.setDefaultProps({render:Vn});const io=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),jn=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bn=[!0,!1,"reference","popper"],Un=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,Le(e,{...t,plugins:[ro],render:()=>so(n)})},Fn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},io(({state:u})=>{n(u.placement)})]}),oo=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},ao=e=>{const t=e==null?void 0:e.children[0];return t||oo(e)},so=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Hn=[...jn],uo=["parent","body"],Wn=300,zn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Yn=[...Bn],co=[!0,!1,"toggle"],lo={name:"DtTooltip",components:{DtLazyShow:gn},props:{id:{type:String,default(){return Et()}},appendTo:{type:[HTMLElement,String],default:"body",validator:e=>uo.includes(e)||e instanceof HTMLElement},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Hn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>Yn.includes(e)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:zn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement,anchor:null}},computed:{isVisible(){return this.isShown&&this.enabled&&(!!this.message.trim()||!!this.$slots.default)},tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},appendToElement(){var e,t;return this.appendTo==="body"?(t=(e=this.anchor)==null?void 0:e.getRootNode())==null?void 0:t.querySelector("body"):this.appendTo},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",appendTo:this.appendToElement,placement:this.placement,sticky:this.sticky,popperOptions:Fn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.anchor=this.externalAnchor?document.body.querySelector(this.externalAnchor):ao(this.$refs.anchor),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Un(this.anchor,this.initOptions())},beforeDestroy(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),Wn):this.triggerShow(e)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},onCreate(e){this.isShown&&e.show()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,onCreate:this.onCreate,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})}}};var po=function(){var t=this,n=t._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[t.externalAnchor?t._e():n("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:t.onEnterAnchor,focusout:t.onLeaveAnchor,mouseenter:t.onEnterAnchor,mouseleave:t.onLeaveAnchor,keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"esc",27,r.key,["Esc","Escape"])?null:t.onLeaveAnchor.apply(null,arguments)}}},[t._t("anchor")],2),n("dt-lazy-show",t._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${t.currentPlacement}`,{[t.TOOLTIP_KIND_MODIFIERS.inverted]:t.inverted},t.contentClass],attrs:{id:t.id,show:t.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:t.transition}},t.tooltipListeners),[t._t("default",function(){return[t._v(" "+t._s(t.message)+" ")]})],2)],1)},fo=[],vo=xt(lo,po,fo,!1,null,null,null,null);const ho=vo.exports;exports.BASE_TIPPY_DIRECTIONS=jn;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=tn;exports.DESCRIPTION_SIZE_MODIFIERS=tr;exports.DESCRIPTION_SIZE_TYPES=er;exports.DtLazyShow=gn;exports.DtTooltip=ho;exports.EVENT_KEYNAMES=rr;exports.LABEL_SIZE_MODIFIERS=nr;exports.TIPPY_STICKY_VALUES=Bn;exports.TOOLTIP_DELAY_MS=Wn;exports.TOOLTIP_DIRECTIONS=Hn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=co;exports.TOOLTIP_KIND_MODIFIERS=zn;exports.TOOLTIP_STICKY_VALUES=Yn;exports.VALIDATION_MESSAGE_TYPES=le;exports.capitalizeFirstLetter=mn;exports.createTippy=Un;exports.filterFormattedMessages=an;exports.formatMessages=on;exports.getPhoneNumberRegex=Tt;exports.getPopperOptions=Fn;exports.getRandomElement=nn;exports.getUniqueString=Et;exports.getValidationState=Ot;exports.isOutOfViewPort=sn;exports.linkRegex=vn;exports.normalizeComponent=xt;exports.safeConcatStrings=hn;exports.tippy=Le;exports.utils=br;
21
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,f){var p=f&&no(f,r);return p&&a.push(p),a},[]);return Fe(e)?l[0]:l}Le.defaultProps=H;Le.setDefaultProps=Qi;Le.currentInput=J;Object.assign({},wn,{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)}});var ro={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 s(f){return t.props.sticky===!0||t.props.sticky===f}var c=null,l=null;function a(){var f=s("reference")?o().getBoundingClientRect():null,p=s("popper")?r.getBoundingClientRect():null;(f&&en(c,f)||p&&en(l,p))&&t.popperInstance&&t.popperInstance.update(),c=f,l=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function en(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Le.setDefaultProps({render:Vn});const io=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),jn=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bn=[!0,!1,"reference","popper"],Un=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,Le(e,{...t,plugins:[ro],render:()=>so(n)})},Fn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},io(({state:s})=>{n(s.placement)})]}),oo=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},ao=e=>{const t=e==null?void 0:e.children[0];return t||oo(e)},so=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Hn=[...jn],uo=["parent","body"],Wn=300,zn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Yn=[...Bn],co=[!0,!1,"toggle"],lo={name:"DtTooltip",components:{DtLazyShow:gn},props:{id:{type:String,default(){return Et()}},appendTo:{type:[HTMLElement,String],default:"body",validator:e=>uo.includes(e)||e instanceof HTMLElement},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Hn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>Yn.includes(e)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:zn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement,anchor:null,isTouchDevice:!1}},computed:{isVisible(){var o,s;const e=!!((o=this.message)!=null&&o.trim()),t=!!((s=this.$slots)!=null&&s.default),n=!this.isTouchDevice;return this.isShown&&this.enabled&&(e||t)&&n},tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},appendToElement(){var e,t;return this.appendTo==="body"?(t=(e=this.anchor)==null?void 0:e.getRootNode())==null?void 0:t.querySelector("body"):this.appendTo},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",appendTo:this.appendToElement,placement:this.placement,sticky:this.sticky,popperOptions:Fn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.anchor=this.externalAnchor?document.body.querySelector(this.externalAnchor):ao(this.$refs.anchor),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Un(this.anchor,this.initOptions())},beforeDestroy(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.isTouchDevice&&!e.relatedTarget||(this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),Wn):this.triggerShow(e),this.isTouchDevice=!1)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},onCreate(e){this.isShown&&e.show()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,onCreate:this.onCreate,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})},onTouchStart(){this.isTouchDevice=!0}}};var po=function(){var t=this,n=t._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[t.externalAnchor?t._e():n("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:t.onEnterAnchor,focusout:t.onLeaveAnchor,mouseenter:t.onEnterAnchor,mouseleave:t.onLeaveAnchor,keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"esc",27,r.key,["Esc","Escape"])?null:t.onLeaveAnchor.apply(null,arguments)},touchstart:t.onTouchStart}},[t._t("anchor")],2),n("dt-lazy-show",t._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${t.currentPlacement}`,{[t.TOOLTIP_KIND_MODIFIERS.inverted]:t.inverted},t.contentClass],attrs:{id:t.id,show:t.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:t.transition}},t.tooltipListeners),[t._t("default",function(){return[t._v(" "+t._s(t.message)+" ")]})],2)],1)},fo=[],vo=xt(lo,po,fo,!1,null,null,null,null);const ho=vo.exports;exports.BASE_TIPPY_DIRECTIONS=jn;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=tn;exports.DESCRIPTION_SIZE_MODIFIERS=tr;exports.DESCRIPTION_SIZE_TYPES=er;exports.DtLazyShow=gn;exports.DtTooltip=ho;exports.EVENT_KEYNAMES=rr;exports.LABEL_SIZE_MODIFIERS=nr;exports.TIPPY_STICKY_VALUES=Bn;exports.TOOLTIP_DELAY_MS=Wn;exports.TOOLTIP_DIRECTIONS=Hn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=co;exports.TOOLTIP_KIND_MODIFIERS=zn;exports.TOOLTIP_STICKY_VALUES=Yn;exports.VALIDATION_MESSAGE_TYPES=le;exports.capitalizeFirstLetter=mn;exports.createTippy=Un;exports.filterFormattedMessages=an;exports.formatMessages=on;exports.getPhoneNumberRegex=Tt;exports.getPopperOptions=Fn;exports.getRandomElement=nn;exports.getUniqueString=Et;exports.getValidationState=Ot;exports.isOutOfViewPort=sn;exports.linkRegex=vn;exports.normalizeComponent=xt;exports.safeConcatStrings=hn;exports.tippy=Le;exports.utils=br;