@dialpad/dialtone-vue 3.93.1 → 3.94.0

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.
Files changed (58) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +25 -0
  3. package/dist/component-documentation.json +1 -1
  4. package/dist/dialtone-vue.cjs +5 -5
  5. package/dist/dialtone-vue.js +2228 -3726
  6. package/dist/directives.cjs +1 -1
  7. package/dist/directives.js +4 -3
  8. package/dist/emoji-2ba641cd.cjs +1 -0
  9. package/dist/{emoji-ee056efb.js → emoji-fa0ee549.js} +1073 -17030
  10. package/dist/emoji.cjs +1 -1
  11. package/dist/emoji.js +31 -29
  12. package/dist/message_input-104c4579.js +3619 -0
  13. package/dist/message_input-4d2df135.cjs +2 -0
  14. package/dist/message_input.cjs +1 -1
  15. package/dist/message_input.js +18 -4
  16. package/dist/style.css +1 -1
  17. package/dist/tooltip-0cdd1500.js +738 -0
  18. package/dist/tooltip-e88ebb8c.cjs +1 -0
  19. package/dist/types/common/storybook_utils.d.ts +1 -1
  20. package/dist/types/common/storybook_utils.d.ts.map +1 -1
  21. package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
  22. package/dist/types/components/button/button.vue.d.ts +1 -1
  23. package/dist/types/components/chip/chip.vue.d.ts +1 -1
  24. package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
  25. package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +1 -1
  26. package/dist/types/components/description_list/description_list.vue.d.ts +98 -0
  27. package/dist/types/components/description_list/description_list.vue.d.ts.map +1 -0
  28. package/dist/types/components/description_list/description_list_constants.d.ts +2 -0
  29. package/dist/types/components/description_list/description_list_constants.d.ts.map +1 -0
  30. package/dist/types/components/description_list/description_list_validators.d.ts +2 -0
  31. package/dist/types/components/description_list/description_list_validators.d.ts.map +1 -0
  32. package/dist/types/components/description_list/index.d.ts +3 -0
  33. package/dist/types/components/description_list/index.d.ts.map +1 -0
  34. package/dist/types/components/icon/icon.vue.d.ts +16 -2
  35. package/dist/types/components/icon/icon.vue.d.ts.map +1 -1
  36. package/dist/types/components/icon/icon_constants.d.ts +0 -2
  37. package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
  38. package/dist/types/components/input/input.vue.d.ts +1 -1
  39. package/dist/types/components/modal/modal.vue.d.ts +1 -1
  40. package/dist/types/components/notice/notice.vue.d.ts +1 -1
  41. package/dist/types/components/radio/radio.vue.d.ts +1 -1
  42. package/dist/types/components/root_layout/root_layout.vue.d.ts +2 -2
  43. package/dist/types/components/scroller/modules/core_scroller.vue.d.ts +1 -1
  44. package/dist/types/components/scroller/modules/scroller_item.vue.d.ts +1 -1
  45. package/dist/types/components/tabs/tab.vue.d.ts +1 -1
  46. package/dist/types/components/toast/toast.vue.d.ts +2 -2
  47. package/dist/types/components/tooltip/tooltip.vue.d.ts +1 -1
  48. package/dist/types/index.d.ts +1 -0
  49. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
  50. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
  51. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +17 -0
  52. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  53. package/package.json +8 -4
  54. package/dist/emoji-125c2250.cjs +0 -1
  55. package/dist/message_input-2f040a4e.cjs +0 -93
  56. package/dist/message_input-97a05856.js +0 -15876
  57. package/dist/tooltip-02b802bc.js +0 -2577
  58. package/dist/tooltip-3390fc3b.cjs +0 -25
@@ -1,25 +0,0 @@
1
- "use strict";const A=require("vue"),fe={ERROR:"error",WARNING:"warning",SUCCESS:"success"},sr={LARGE:"lg",EXTRA_LARGE:"xl"},ur={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},cr={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},lr={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"},un=fe.ERROR,pr="dt";let fr=0,jt;const dr=typeof setImmediate=="function"?setImmediate:setTimeout;function St(e=pr){return`${e}${fr++}`}function cn(e,t){if(t){const n=vr(t);return e[Math.abs(n)%e.length]}else return e[ln(e.length)]}function vr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function ln(e){return Math.floor(Math.random()*e)}function pn(e){return e?e.map(t=>typeof t=="string"?{message:t,type:un}:t):[]}function fn(e){const t=Dt(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function Dt(e){return e?ut(e,fe.ERROR)?fe.ERROR:ut(e,fe.WARNING)?fe.WARNING:ut(e,fe.SUCCESS)?fe.SUCCESS:null:null}function ut(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const hr=e=>A.h("div",{innerHTML:e.html}),mr=()=>new Promise(e=>{dr(e)});function dn(e,t={}){return e?e(t).some(n=>n.type===A.Comment||Array.isArray(n.children)&&!n.children.length?!1:n.type!==A.Text||typeof n.children=="string"&&n.children.trim()!==""):!1}const vn=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),gr=e=>e.replace(/\.?([A-Z0-9]+)/g,(t,n)=>"-"+n.toLowerCase()).replace(/^-/,""),hn=e=>{const t=Object.entries(e).filter(([n])=>n.startsWith("on"));return Object.fromEntries(t)};function yr(e,t=300){clearTimeout(jt),jt=setTimeout(e,t)}function mn(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 br=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,wr=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)"),Er=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])"),gn=new RegExp("(?:"+[[br.source,wr.source].join("+"),Er.source].join("|")+")"),Or=/(?:(?:[;/][^#?<>\s]*)?)/,yn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,bn=new RegExp("\\b"+[gn.source,Or.source,yn.source,"(?!\\w)"].join("+")),wn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,En=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[gn.source,yn.source].join("+")+"(?!\\w)");function Lt(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 On=Lt(),xn=new RegExp([bn.source,wn.source,En.source,On.source].join("|"),"gi");function xr(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=On.exec(e))==null?void 0:t[0])===e)}function Tr(e){var t,n;return!e||typeof e!="string"?!1:((t=bn.exec(e))==null?void 0:t[0])===e||((n=wn.exec(e))==null?void 0:n[0])===e}function Ar(e){var t;return!e||typeof e!="string"?!1:((t=En.exec(e))==null?void 0:t[0])===e}function Tn(e){return e.filter(t=>!!t).join(" ")}function An(e,t="en-US"){return e.replace(/^\p{CWU}/u,n=>n.toLocaleUpperCase(t))}const Sr={getUniqueString:St,getRandomElement:cn,getRandomInt:ln,formatMessages:pn,filterFormattedMessages:fn,hasFormattedMessageOfType:ut,getValidationState:Dt,htmlFragment:hr,flushPromises:mr,kebabCaseToPascalCase:vn,extractVueListeners:hn,debounce:yr,isOutOfViewPort:mn,getPhoneNumberRegex:Lt,linkRegex:xn,isEmailAddress:Ar,isPhoneNumber:xr,isURL:Tr,safeConcatStrings:Tn,capitalizeFirstLetter:An},Rt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Dr={name:"DtLazyShow",inheritAttrs:!1,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)}}};function Lr(e,t,n,r,o,a){return A.openBlock(),A.createBlock(A.Transition,A.mergeProps({name:n.transition,appear:n.appear},e.$attrs,{css:a.isCSSEnabled}),{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",A.normalizeProps(A.guardReactiveProps(e.$attrs)),[o.initialized?A.renderSlot(e.$slots,"default",{key:0}):A.createCommentVNode("",!0)],16),[[A.vShow,n.show]])]),_:3},16,["name","appear","css"])}const Sn=Rt(Dr,[["render",Lr]]);var $="top",K="bottom",G="right",U="left",ft="auto",Ye=[$,K,G,U],Re="start",He="end",Rr="clippingParents",Dn="viewport",Be="popper",Cr="reference",Bt=Ye.reduce(function(e,t){return e.concat([t+"-"+Re,t+"-"+He])},[]),Ln=[].concat(Ye,[ft]).reduce(function(e,t){return e.concat([t,t+"-"+Re,t+"-"+He])},[]),Pr="beforeRead",Ir="read",Nr="afterRead",_r="beforeMain",Mr="main",kr="afterMain",Vr="beforeWrite",jr="write",Br="afterWrite",wt=[Pr,Ir,Nr,_r,Mr,kr,Vr,jr,Br];function re(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ee(e){var t=z(e).Element;return e instanceof t||e instanceof Element}function q(e){var t=z(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ct(e){if(typeof ShadowRoot>"u")return!1;var t=z(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]||{},a=t.elements[n];!q(a)||!re(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(l){var c=o[l];c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":c)}))})}function Ur(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],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=l.reduce(function(u,f){return u[f]="",u},{});!q(o)||!re(o)||(Object.assign(o.style,c),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}const Rn={name:"applyStyles",enabled:!0,phase:"write",fn:$r,effect:Ur,requires:["computeStyles"]};function Z(e){return e.split("-")[0]}var we=Math.max,lt=Math.min,Ce=Math.round;function Et(){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 Cn(){return!/^((?!chrome|android).)*safari/i.test(Et())}function Pe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&q(e)&&(o=e.offsetWidth>0&&Ce(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ce(r.height)/e.offsetHeight||1);var l=Ee(e)?z(e):window,c=l.visualViewport,u=!Cn()&&n,f=(r.left+(u&&c?c.offsetLeft:0))/o,p=(r.top+(u&&c?c.offsetTop:0))/a,g=r.width/o,x=r.height/a;return{width:g,height:x,top:p,right:f+g,bottom:p+x,left:f,x:f,y:p}}function Pt(e){var t=Pe(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 Pn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ct(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function J(e){return z(e).getComputedStyle(e)}function Fr(e){return["table","td","th"].indexOf(re(e))>=0}function de(e){return((Ee(e)?e.ownerDocument:e.document)||window.document).documentElement}function dt(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(Ct(e)?e.host:null)||de(e)}function $t(e){return!q(e)||J(e).position==="fixed"?null:e.offsetParent}function Hr(e){var t=/firefox/i.test(Et()),n=/Trident/i.test(Et());if(n&&q(e)){var r=J(e);if(r.position==="fixed")return null}var o=dt(e);for(Ct(o)&&(o=o.host);q(o)&&["html","body"].indexOf(re(o))<0;){var a=J(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Ke(e){for(var t=z(e),n=$t(e);n&&Fr(n)&&J(n).position==="static";)n=$t(n);return n&&(re(n)==="html"||re(n)==="body"&&J(n).position==="static")?t:n||Hr(e)||t}function It(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $e(e,t,n){return we(e,lt(t,n))}function Wr(e,t,n){var r=$e(e,t,n);return r>n?n:r}function In(){return{top:0,right:0,bottom:0,left:0}}function Nn(e){return Object.assign({},In(),e)}function _n(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var qr=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Nn(typeof t!="number"?t:_n(t,Ye))};function zr(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,c=Z(n.placement),u=It(c),f=[U,G].indexOf(c)>=0,p=f?"height":"width";if(!(!a||!l)){var g=qr(o.padding,n),x=Pt(a),m=u==="y"?$:U,w=u==="y"?K:G,y=n.rects.reference[p]+n.rects.reference[u]-l[u]-n.rects.popper[p],b=l[u]-n.rects.reference[u],S=Ke(a),R=S?u==="y"?S.clientHeight||0:S.clientWidth||0:0,P=y/2-b/2,i=g[m],E=R-x[p]-g[w],d=R/2-x[p]/2+P,L=$e(i,d,E),_=u;n.modifiersData[r]=(t={},t[_]=L,t.centerOffset=L-d,t)}}function Yr(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(q(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Pn(t.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}t.elements.arrow=o}}const Kr={name:"arrow",enabled:!0,phase:"main",fn:zr,effect:Yr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ie(e){return e.split("-")[1]}var Gr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ce(n*o)/o||0,y:Ce(r*o)/o||0}}function Ut(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,c=e.position,u=e.gpuAcceleration,f=e.adaptive,p=e.roundOffsets,g=e.isFixed,x=l.x,m=x===void 0?0:x,w=l.y,y=w===void 0?0:w,b=typeof p=="function"?p({x:m,y}):{x:m,y};m=b.x,y=b.y;var S=l.hasOwnProperty("x"),R=l.hasOwnProperty("y"),P=U,i=$,E=window;if(f){var d=Ke(n),L="clientHeight",_="clientWidth";if(d===z(n)&&(d=de(n),J(d).position!=="static"&&c==="absolute"&&(L="scrollHeight",_="scrollWidth")),d=d,o===$||(o===U||o===G)&&a===He){i=K;var M=g&&d===E&&E.visualViewport?E.visualViewport.height:d[L];y-=M-r.height,y*=u?1:-1}if(o===U||(o===$||o===K)&&a===He){P=G;var I=g&&d===E&&E.visualViewport?E.visualViewport.width:d[_];m-=I-r.width,m*=u?1:-1}}var T=Object.assign({position:c},f&&Gr),C=p===!0?Xr({x:m,y},z(n)):{x:m,y};if(m=C.x,y=C.y,u){var N;return Object.assign({},T,(N={},N[i]=R?"0":"",N[P]=S?"0":"",N.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",N))}return Object.assign({},T,(t={},t[i]=R?y+"px":"",t[P]=S?m+"px":"",t.transform="",t))}function Zr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,c=n.roundOffsets,u=c===void 0?!0:c;if(process.env.NODE_ENV!=="production"){var f=J(t.elements.popper).transitionProperty||"";l&&["transform","top","right","bottom","left"].some(function(g){return f.indexOf(g)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
2
-
3
- `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
4
-
5
- `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var p={placement:Z(t.placement),variation:Ie(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,Ut(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ut(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Jr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zr,data:{}};var at={passive:!0};function Qr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,l=r.resize,c=l===void 0?!0:l,u=z(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(p){p.addEventListener("scroll",n.update,at)}),c&&u.addEventListener("resize",n.update,at),function(){a&&f.forEach(function(p){p.removeEventListener("scroll",n.update,at)}),c&&u.removeEventListener("resize",n.update,at)}}const ei={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qr,data:{}};var ti={left:"right",right:"left",bottom:"top",top:"bottom"};function ct(e){return e.replace(/left|right|bottom|top/g,function(t){return ti[t]})}var ni={start:"end",end:"start"};function Ft(e){return e.replace(/start|end/g,function(t){return ni[t]})}function Nt(e){var t=z(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function _t(e){return Pe(de(e)).left+Nt(e).scrollLeft}function ri(e,t){var n=z(e),r=de(e),o=n.visualViewport,a=r.clientWidth,l=r.clientHeight,c=0,u=0;if(o){a=o.width,l=o.height;var f=Cn();(f||!f&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:c+_t(e),y:u}}function ii(e){var t,n=de(e),r=Nt(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=we(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=we(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+_t(e),u=-r.scrollTop;return J(o||n).direction==="rtl"&&(c+=we(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:c,y:u}}function Mt(e){var t=J(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Mn(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:q(e)&&Mt(e)?e:Mn(dt(e))}function Ue(e,t){var n;t===void 0&&(t=[]);var r=Mn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=z(r),l=o?[a].concat(a.visualViewport||[],Mt(r)?r:[]):r,c=t.concat(l);return o?c:c.concat(Ue(dt(l)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oi(e,t){var n=Pe(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 Ht(e,t,n){return t===Dn?Ot(ri(e,n)):Ee(t)?oi(t,n):Ot(ii(de(e)))}function ai(e){var t=Ue(dt(e)),n=["absolute","fixed"].indexOf(J(e).position)>=0,r=n&&q(e)?Ke(e):e;return Ee(r)?t.filter(function(o){return Ee(o)&&Pn(o,r)&&re(o)!=="body"}):[]}function si(e,t,n,r){var o=t==="clippingParents"?ai(e):[].concat(t),a=[].concat(o,[n]),l=a[0],c=a.reduce(function(u,f){var p=Ht(e,f,r);return u.top=we(p.top,u.top),u.right=lt(p.right,u.right),u.bottom=lt(p.bottom,u.bottom),u.left=we(p.left,u.left),u},Ht(e,l,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function kn(e){var t=e.reference,n=e.element,r=e.placement,o=r?Z(r):null,a=r?Ie(r):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case $:u={x:l,y:t.y-n.height};break;case K:u={x:l,y:t.y+t.height};break;case G:u={x:t.x+t.width,y:c};break;case U:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var f=o?It(o):null;if(f!=null){var p=f==="y"?"height":"width";switch(a){case Re:u[f]=u[f]-(t[p]/2-n[p]/2);break;case He:u[f]=u[f]+(t[p]/2-n[p]/2);break}}return u}function We(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,c=n.boundary,u=c===void 0?Rr:c,f=n.rootBoundary,p=f===void 0?Dn:f,g=n.elementContext,x=g===void 0?Be:g,m=n.altBoundary,w=m===void 0?!1:m,y=n.padding,b=y===void 0?0:y,S=Nn(typeof b!="number"?b:_n(b,Ye)),R=x===Be?Cr:Be,P=e.rects.popper,i=e.elements[w?R:x],E=si(Ee(i)?i:i.contextElement||de(e.elements.popper),u,p,l),d=Pe(e.elements.reference),L=kn({reference:d,element:P,strategy:"absolute",placement:o}),_=Ot(Object.assign({},P,L)),M=x===Be?_:d,I={top:E.top-M.top+S.top,bottom:M.bottom-E.bottom+S.bottom,left:E.left-M.left+S.left,right:M.right-E.right+S.right},T=e.modifiersData.offset;if(x===Be&&T){var C=T[o];Object.keys(I).forEach(function(N){var F=[G,K].indexOf(N)>=0?1:-1,H=[$,K].indexOf(N)>=0?"y":"x";I[N]+=C[H]*F})}return I}function ui(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,l=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,f=u===void 0?Ln:u,p=Ie(r),g=p?c?Bt:Bt.filter(function(w){return Ie(w)===p}):Ye,x=g.filter(function(w){return f.indexOf(w)>=0});x.length===0&&(x=g,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var m=x.reduce(function(w,y){return w[y]=We(e,{placement:y,boundary:o,rootBoundary:a,padding:l})[Z(y)],w},{});return Object.keys(m).sort(function(w,y){return m[w]-m[y]})}function ci(e){if(Z(e)===ft)return[];var t=ct(e);return[Ft(e),t,Ft(t)]}function li(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!0:l,u=n.fallbackPlacements,f=n.padding,p=n.boundary,g=n.rootBoundary,x=n.altBoundary,m=n.flipVariations,w=m===void 0?!0:m,y=n.allowedAutoPlacements,b=t.options.placement,S=Z(b),R=S===b,P=u||(R||!w?[ct(b)]:ci(b)),i=[b].concat(P).reduce(function(ie,X){return ie.concat(Z(X)===ft?ui(t,{placement:X,boundary:p,rootBoundary:g,padding:f,flipVariations:w,allowedAutoPlacements:y}):X)},[]),E=t.rects.reference,d=t.rects.popper,L=new Map,_=!0,M=i[0],I=0;I<i.length;I++){var T=i[I],C=Z(T),N=Ie(T)===Re,F=[$,K].indexOf(C)>=0,H=F?"width":"height",V=We(t,{placement:T,boundary:p,rootBoundary:g,altBoundary:x,padding:f}),j=F?N?G:U:N?K:$;E[H]>d[H]&&(j=ct(j));var k=ct(j),Q=[];if(a&&Q.push(V[C]<=0),c&&Q.push(V[j]<=0,V[k]<=0),Q.every(function(ie){return ie})){M=T,_=!1;break}L.set(T,Q)}if(_)for(var ee=w?3:1,ve=function(X){var oe=i.find(function(Oe){var ae=L.get(Oe);if(ae)return ae.slice(0,X).every(function(xe){return xe})});if(oe)return M=oe,"break"},te=ee;te>0;te--){var he=ve(te);if(he==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const pi={name:"flip",enabled:!0,phase:"main",fn:li,requiresIfExists:["offset"],data:{_skip:!1}};function Wt(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 qt(e){return[$,G,K,U].some(function(t){return e[t]>=0})}function fi(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=We(t,{elementContext:"reference"}),c=We(t,{altBoundary:!0}),u=Wt(l,r),f=Wt(c,o,a),p=qt(u),g=qt(f);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}const di={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:fi};function vi(e,t,n){var r=Z(e),o=[U,$].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*o,[U,G].indexOf(r)>=0?{x:c,y:l}:{x:l,y:c}}function hi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,l=Ln.reduce(function(p,g){return p[g]=vi(g,t.rects,a),p},{}),c=l[t.placement],u=c.x,f=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=l}const mi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hi};function gi(e){var t=e.state,n=e.name;t.modifiersData[n]=kn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const yi={name:"popperOffsets",enabled:!0,phase:"read",fn:gi,data:{}};function bi(e){return e==="x"?"y":"x"}function wi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,c=l===void 0?!1:l,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,g=n.padding,x=n.tether,m=x===void 0?!0:x,w=n.tetherOffset,y=w===void 0?0:w,b=We(t,{boundary:u,rootBoundary:f,padding:g,altBoundary:p}),S=Z(t.placement),R=Ie(t.placement),P=!R,i=It(S),E=bi(i),d=t.modifiersData.popperOffsets,L=t.rects.reference,_=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(d){if(a){var N,F=i==="y"?$:U,H=i==="y"?K:G,V=i==="y"?"height":"width",j=d[i],k=j+b[F],Q=j-b[H],ee=m?-_[V]/2:0,ve=R===Re?L[V]:_[V],te=R===Re?-_[V]:-L[V],he=t.elements.arrow,ie=m&&he?Pt(he):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:In(),oe=X[F],Oe=X[H],ae=$e(0,L[V],ie[V]),xe=P?L[V]/2-ee-ae-oe-I.mainAxis:ve-ae-oe-I.mainAxis,ce=P?-L[V]/2+ee+ae+Oe+I.mainAxis:te+ae+Oe+I.mainAxis,Te=t.elements.arrow&&Ke(t.elements.arrow),Ge=Te?i==="y"?Te.clientTop||0:Te.clientLeft||0:0,_e=(N=T==null?void 0:T[i])!=null?N:0,Xe=j+xe-_e-Ge,Ze=j+ce-_e,Me=$e(m?lt(k,Xe):k,j,m?we(Q,Ze):Q);d[i]=Me,C[i]=Me-j}if(c){var ke,Je=i==="x"?$:U,Qe=i==="x"?K:G,se=d[E],le=E==="y"?"height":"width",Ve=se+b[Je],me=se-b[Qe],je=[$,U].indexOf(S)!==-1,et=(ke=T==null?void 0:T[E])!=null?ke:0,tt=je?Ve:se-L[le]-_[le]-et+I.altAxis,nt=je?se+L[le]+_[le]-et-I.altAxis:me,rt=m&&je?Wr(tt,se,nt):$e(m?tt:Ve,se,m?nt:me);d[E]=rt,C[E]=rt-se}t.modifiersData[r]=C}}const Ei={name:"preventOverflow",enabled:!0,phase:"main",fn:wi,requiresIfExists:["offset"]};function Oi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function xi(e){return e===z(e)||!q(e)?Nt(e):Oi(e)}function Ti(e){var t=e.getBoundingClientRect(),n=Ce(t.width)/e.offsetWidth||1,r=Ce(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ai(e,t,n){n===void 0&&(n=!1);var r=q(t),o=q(t)&&Ti(t),a=de(t),l=Pe(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((re(t)!=="body"||Mt(a))&&(c=xi(t)),q(t)?(u=Pe(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=_t(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Si(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&o(u)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function Di(e){var t=Si(e);return wt.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Li(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,a){return o.replace(/%s/,a)},e)}var ye='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Ri='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',zt=["name","enabled","phase","fn","effect","requires","options"];function Ci(e){e.forEach(function(t){[].concat(Object.keys(t),zt).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(pe(ye,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(pe(ye,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":wt.indexOf(t.phase)<0&&console.error(pe(ye,t.name,'"phase"',"either "+wt.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(pe(ye,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(pe(ye,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(pe(ye,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(pe(ye,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+zt.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(r){e.find(function(o){return o.name===r})==null&&console.error(pe(Ri,String(t.name),r,r))})})})}function Pi(e,t){var n=new Set;return e.filter(function(r){var o=t(r);if(!n.has(o))return n.add(o),!0})}function Ii(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 Yt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ni="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Kt={placement:"bottom",modifiers:[],strategy:"absolute"};function Gt(){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 _i(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?Kt:o;return function(c,u,f){f===void 0&&(f=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Kt,a),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],x=!1,m={state:p,setOptions:function(S){var R=typeof S=="function"?S(p.options):S;y(),p.options=Object.assign({},a,p.options,R),p.scrollParents={reference:Ee(c)?Ue(c):c.contextElement?Ue(c.contextElement):[],popper:Ue(u)};var P=Di(Ii([].concat(r,p.options.modifiers)));if(p.orderedModifiers=P.filter(function(T){return T.enabled}),process.env.NODE_ENV!=="production"){var i=Pi([].concat(P,p.options.modifiers),function(T){var C=T.name;return C});if(Ci(i),Z(p.options.placement)===ft){var E=p.orderedModifiers.find(function(T){var C=T.name;return C==="flip"});E||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var d=J(u),L=d.marginTop,_=d.marginRight,M=d.marginBottom,I=d.marginLeft;[L,_,M,I].some(function(T){return parseFloat(T)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return w(),m.update()},forceUpdate:function(){if(!x){var S=p.elements,R=S.reference,P=S.popper;if(!Gt(R,P)){process.env.NODE_ENV!=="production"&&console.error(Yt);return}p.rects={reference:Ai(R,Ke(P),p.options.strategy==="fixed"),popper:Pt(P)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(T){return p.modifiersData[T.name]=Object.assign({},T.data)});for(var i=0,E=0;E<p.orderedModifiers.length;E++){if(process.env.NODE_ENV!=="production"&&(i+=1,i>100)){console.error(Ni);break}if(p.reset===!0){p.reset=!1,E=-1;continue}var d=p.orderedModifiers[E],L=d.fn,_=d.options,M=_===void 0?{}:_,I=d.name;typeof L=="function"&&(p=L({state:p,options:M,name:I,instance:m})||p)}}},update:Li(function(){return new Promise(function(b){m.forceUpdate(),b(p)})}),destroy:function(){y(),x=!0}};if(!Gt(c,u))return process.env.NODE_ENV!=="production"&&console.error(Yt),m;m.setOptions(f).then(function(b){!x&&f.onFirstUpdate&&f.onFirstUpdate(b)});function w(){p.orderedModifiers.forEach(function(b){var S=b.name,R=b.options,P=R===void 0?{}:R,i=b.effect;if(typeof i=="function"){var E=i({state:p,name:S,instance:m,options:P}),d=function(){};g.push(E||d)}})}function y(){g.forEach(function(b){return b()}),g=[]}return m}}var Mi=[ei,yi,Jr,Rn,mi,pi,Ei,Kr,di],ki=_i({defaultModifiers:Mi}),Vi="tippy-box",Vn="tippy-content",ji="tippy-backdrop",jn="tippy-arrow",Bn="tippy-svg-arrow",be={passive:!0,capture:!0},$n=function(){return document.body};function Bi(e,t){return{}.hasOwnProperty.call(e,t)}function mt(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function kt(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Un(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Xt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function $i(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ui(e){return e.split(/\s+/).filter(Boolean)}function Le(e){return[].concat(e)}function Zt(e,t){e.indexOf(t)===-1&&e.push(t)}function Fi(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Hi(e){return e.split("-")[0]}function pt(e){return[].slice.call(e)}function Jt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Fe(){return document.createElement("div")}function qe(e){return["Element","Fragment"].some(function(t){return kt(e,t)})}function Wi(e){return kt(e,"NodeList")}function qi(e){return kt(e,"MouseEvent")}function zi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Yi(e){return qe(e)?[e]:Wi(e)?pt(e):Array.isArray(e)?e:pt(document.querySelectorAll(e))}function gt(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 Ki(e){var t,n=Le(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Gi(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var a=o.popperRect,l=o.popperState,c=o.props,u=c.interactiveBorder,f=Hi(l.placement),p=l.modifiersData.offset;if(!p)return!0;var g=f==="bottom"?p.top.y:0,x=f==="top"?p.bottom.y:0,m=f==="right"?p.left.x:0,w=f==="left"?p.right.x:0,y=a.top-r+g>u,b=r-a.bottom-x>u,S=a.left-n+m>u,R=n-a.right-w>u;return y||b||S||R})}function yt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function en(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 ne={isTouch:!1},tn=0;function Xi(){ne.isTouch||(ne.isTouch=!0,window.performance&&document.addEventListener("mousemove",Fn))}function Fn(){var e=performance.now();e-tn<20&&(ne.isTouch=!1,document.removeEventListener("mousemove",Fn)),tn=e}function Zi(){var e=document.activeElement;if(zi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Ji(){document.addEventListener("touchstart",Xi,be),window.addEventListener("blur",Zi)}var Qi=typeof window<"u"&&typeof document<"u",eo=Qi?!!window.msCrypto:!1;function De(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 nn(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function to(e){return nn(`
6
- %ctippy.js
7
-
8
- %c`+nn(e)+`
9
-
10
- %c👷‍ This is a development-only message. It will be removed in production.
11
- `)}function Hn(e){return[to(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var ze;process.env.NODE_ENV!=="production"&&no();function no(){ze=new Set}function ue(e,t){if(e&&!ze.has(t)){var n;ze.add(t),(n=console).warn.apply(n,Hn(t))}}function xt(e,t){if(e&&!ze.has(t)){var n;ze.add(t),(n=console).error.apply(n,Hn(t))}}function ro(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;xt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),xt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Wn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},io={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},W=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},Wn,io),oo=Object.keys(W),ao=function(t){process.env.NODE_ENV!=="production"&&zn(t,[]);var n=Object.keys(t);n.forEach(function(r){W[r]=t[r]})};function qn(e){var t=e.plugins||[],n=t.reduce(function(r,o){var a=o.name,l=o.defaultValue;if(a){var c;r[a]=e[a]!==void 0?e[a]:(c=W[a])!=null?c:l}return r},{});return Object.assign({},e,n)}function so(e,t){var n=t?Object.keys(qn(Object.assign({},W,{plugins:t}))):oo,r=n.reduce(function(o,a){var l=(e.getAttribute("data-tippy-"+a)||"").trim();if(!l)return o;if(a==="content")o[a]=l;else try{o[a]=JSON.parse(l)}catch{o[a]=l}return o},{});return r}function rn(e,t){var n=Object.assign({},t,{content:Un(t.content,[e])},t.ignoreAttributes?{}:so(e,t.plugins));return n.aria=Object.assign({},W.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 zn(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=$i(W,Object.keys(Wn)),a=!Bi(o,r);a&&(a=t.filter(function(l){return l.name===r}).length===0),ue(a,["`"+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.",`
12
-
13
- `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
14
- `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var uo=function(){return"innerHTML"};function Tt(e,t){e[uo()]=t}function on(e){var t=Fe();return e===!0?t.className=jn:(t.className=Bn,qe(e)?t.appendChild(e):Tt(t,e)),t}function an(e,t){qe(t.content)?(Tt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Tt(e,t.content):e.textContent=t.content)}function At(e){var t=e.firstElementChild,n=pt(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Vn)}),arrow:n.find(function(r){return r.classList.contains(jn)||r.classList.contains(Bn)}),backdrop:n.find(function(r){return r.classList.contains(ji)})}}function Yn(e){var t=Fe(),n=Fe();n.className=Vi,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Fe();r.className=Vn,r.setAttribute("data-state","hidden"),an(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(a,l){var c=At(t),u=c.box,f=c.content,p=c.arrow;l.theme?u.setAttribute("data-theme",l.theme):u.removeAttribute("data-theme"),typeof l.animation=="string"?u.setAttribute("data-animation",l.animation):u.removeAttribute("data-animation"),l.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?u.setAttribute("role",l.role):u.removeAttribute("role"),(a.content!==l.content||a.allowHTML!==l.allowHTML)&&an(f,e.props),l.arrow?p?a.arrow!==l.arrow&&(u.removeChild(p),u.appendChild(on(l.arrow))):u.appendChild(on(l.arrow)):p&&u.removeChild(p)}return{popper:t,onUpdate:o}}Yn.$$tippy=!0;var co=1,st=[],bt=[];function lo(e,t){var n=rn(e,Object.assign({},W,qn(Jt(t)))),r,o,a,l=!1,c=!1,u=!1,f=!1,p,g,x,m=[],w=Xt(Xe,n.interactiveDebounce),y,b=co++,S=null,R=Fi(n.plugins),P={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:b,reference:e,popper:Fe(),popperInstance:S,props:n,state:P,plugins:R,clearDelayTimeouts:tt,setProps:nt,setContent:rt,show:tr,hide:nr,hideWithInteractivity:rr,enable:je,disable:et,unmount:ir,destroy:or};if(!n.render)return process.env.NODE_ENV!=="production"&&xt(!0,"render() function has not been supplied."),i;var E=n.render(i),d=E.popper,L=E.onUpdate;d.setAttribute("data-tippy-root",""),d.id="tippy-"+i.id,i.popper=d,e._tippy=i,d._tippy=i;var _=R.map(function(s){return s.fn(i)}),M=e.hasAttribute("aria-expanded");return Te(),ee(),j(),k("onCreate",[i]),n.showOnCreate&&Ve(),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&&F().addEventListener("mousemove",w)}),i;function I(){var s=i.props.touch;return Array.isArray(s)?s:[s,0]}function T(){return I()[0]==="hold"}function C(){var s;return!!((s=i.props.render)!=null&&s.$$tippy)}function N(){return y||e}function F(){var s=N().parentNode;return s?Ki(s):document}function H(){return At(d)}function V(s){return i.state.isMounted&&!i.state.isVisible||ne.isTouch||p&&p.type==="focus"?0:mt(i.props.delay,s?0:1,W.delay)}function j(s){s===void 0&&(s=!1),d.style.pointerEvents=i.props.interactive&&!s?"":"none",d.style.zIndex=""+i.props.zIndex}function k(s,v,h){if(h===void 0&&(h=!0),_.forEach(function(O){O[s]&&O[s].apply(O,v)}),h){var D;(D=i.props)[s].apply(D,v)}}function Q(){var s=i.props.aria;if(s.content){var v="aria-"+s.content,h=d.id,D=Le(i.props.triggerTarget||e);D.forEach(function(O){var B=O.getAttribute(v);if(i.state.isVisible)O.setAttribute(v,B?B+" "+h:h);else{var Y=B&&B.replace(h,"").trim();Y?O.setAttribute(v,Y):O.removeAttribute(v)}})}}function ee(){if(!(M||!i.props.aria.expanded)){var s=Le(i.props.triggerTarget||e);s.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===N()?"true":"false"):v.removeAttribute("aria-expanded")})}}function ve(){F().removeEventListener("mousemove",w),st=st.filter(function(s){return s!==w})}function te(s){if(!(ne.isTouch&&(u||s.type==="mousedown"))){var v=s.composedPath&&s.composedPath()[0]||s.target;if(!(i.props.interactive&&en(d,v))){if(Le(i.props.triggerTarget||e).some(function(h){return en(h,v)})){if(ne.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else k("onClickOutside",[i,s]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),c=!0,setTimeout(function(){c=!1}),i.state.isMounted||oe())}}}function he(){u=!0}function ie(){u=!1}function X(){var s=F();s.addEventListener("mousedown",te,!0),s.addEventListener("touchend",te,be),s.addEventListener("touchstart",ie,be),s.addEventListener("touchmove",he,be)}function oe(){var s=F();s.removeEventListener("mousedown",te,!0),s.removeEventListener("touchend",te,be),s.removeEventListener("touchstart",ie,be),s.removeEventListener("touchmove",he,be)}function Oe(s,v){xe(s,function(){!i.state.isVisible&&d.parentNode&&d.parentNode.contains(d)&&v()})}function ae(s,v){xe(s,v)}function xe(s,v){var h=H().box;function D(O){O.target===h&&(yt(h,"remove",D),v())}if(s===0)return v();yt(h,"remove",g),yt(h,"add",D),g=D}function ce(s,v,h){h===void 0&&(h=!1);var D=Le(i.props.triggerTarget||e);D.forEach(function(O){O.addEventListener(s,v,h),m.push({node:O,eventType:s,handler:v,options:h})})}function Te(){T()&&(ce("touchstart",_e,{passive:!0}),ce("touchend",Ze,{passive:!0})),Ui(i.props.trigger).forEach(function(s){if(s!=="manual")switch(ce(s,_e),s){case"mouseenter":ce("mouseleave",Ze);break;case"focus":ce(eo?"focusout":"blur",Me);break;case"focusin":ce("focusout",Me);break}})}function Ge(){m.forEach(function(s){var v=s.node,h=s.eventType,D=s.handler,O=s.options;v.removeEventListener(h,D,O)}),m=[]}function _e(s){var v,h=!1;if(!(!i.state.isEnabled||ke(s)||c)){var D=((v=p)==null?void 0:v.type)==="focus";p=s,y=s.currentTarget,ee(),!i.state.isVisible&&qi(s)&&st.forEach(function(O){return O(s)}),s.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||l)&&i.props.hideOnClick!==!1&&i.state.isVisible?h=!0:Ve(s),s.type==="click"&&(l=!h),h&&!D&&me(s)}}function Xe(s){var v=s.target,h=N().contains(v)||d.contains(v);if(!(s.type==="mousemove"&&h)){var D=le().concat(d).map(function(O){var B,Y=O._tippy,Ae=(B=Y.popperInstance)==null?void 0:B.state;return Ae?{popperRect:O.getBoundingClientRect(),popperState:Ae,props:n}:null}).filter(Boolean);Gi(D,s)&&(ve(),me(s))}}function Ze(s){var v=ke(s)||i.props.trigger.indexOf("click")>=0&&l;if(!v){if(i.props.interactive){i.hideWithInteractivity(s);return}me(s)}}function Me(s){i.props.trigger.indexOf("focusin")<0&&s.target!==N()||i.props.interactive&&s.relatedTarget&&d.contains(s.relatedTarget)||me(s)}function ke(s){return ne.isTouch?T()!==s.type.indexOf("touch")>=0:!1}function Je(){Qe();var s=i.props,v=s.popperOptions,h=s.placement,D=s.offset,O=s.getReferenceClientRect,B=s.moveTransition,Y=C()?At(d).arrow:null,Ae=O?{getBoundingClientRect:O,contextElement:O.contextElement||N()}:e,Vt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(it){var Se=it.state;if(C()){var ar=H(),ht=ar.box;["placement","reference-hidden","escaped"].forEach(function(ot){ot==="placement"?ht.setAttribute("data-placement",Se.placement):Se.attributes.popper["data-popper-"+ot]?ht.setAttribute("data-"+ot,""):ht.removeAttribute("data-"+ot)}),Se.attributes.popper={}}}},ge=[{name:"offset",options:{offset:D}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!B}},Vt];C()&&Y&&ge.push({name:"arrow",options:{element:Y,padding:3}}),ge.push.apply(ge,(v==null?void 0:v.modifiers)||[]),i.popperInstance=ki(Ae,d,Object.assign({},v,{placement:h,onFirstUpdate:x,modifiers:ge}))}function Qe(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function se(){var s=i.props.appendTo,v,h=N();i.props.interactive&&s===$n||s==="parent"?v=h.parentNode:v=Un(s,[h]),v.contains(d)||v.appendChild(d),i.state.isMounted=!0,Je(),process.env.NODE_ENV!=="production"&&ue(i.props.interactive&&s===W.appendTo&&h.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.",`
15
-
16
- `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
17
-
18
- `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
19
-
20
- `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function le(){return pt(d.querySelectorAll("[data-tippy-root]"))}function Ve(s){i.clearDelayTimeouts(),s&&k("onTrigger",[i,s]),X();var v=V(!0),h=I(),D=h[0],O=h[1];ne.isTouch&&D==="hold"&&O&&(v=O),v?r=setTimeout(function(){i.show()},v):i.show()}function me(s){if(i.clearDelayTimeouts(),k("onUntrigger",[i,s]),!i.state.isVisible){oe();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(s.type)>=0&&l)){var v=V(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):a=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function et(){i.hide(),i.state.isEnabled=!1}function tt(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(a)}function nt(s){if(process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("setProps")),!i.state.isDestroyed){k("onBeforeUpdate",[i,s]),Ge();var v=i.props,h=rn(e,Object.assign({},v,Jt(s),{ignoreAttributes:!0}));i.props=h,Te(),v.interactiveDebounce!==h.interactiveDebounce&&(ve(),w=Xt(Xe,h.interactiveDebounce)),v.triggerTarget&&!h.triggerTarget?Le(v.triggerTarget).forEach(function(D){D.removeAttribute("aria-expanded")}):h.triggerTarget&&e.removeAttribute("aria-expanded"),ee(),j(),L&&L(v,h),i.popperInstance&&(Je(),le().forEach(function(D){requestAnimationFrame(D._tippy.popperInstance.forceUpdate)})),k("onAfterUpdate",[i,s])}}function rt(s){i.setProps({content:s})}function tr(){process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("show"));var s=i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,D=ne.isTouch&&!i.props.touch,O=mt(i.props.duration,0,W.duration);if(!(s||v||h||D)&&!N().hasAttribute("disabled")&&(k("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,C()&&(d.style.visibility="visible"),j(),X(),i.state.isMounted||(d.style.transition="none"),C()){var B=H(),Y=B.box,Ae=B.content;gt([Y,Ae],0)}x=function(){var ge;if(!(!i.state.isVisible||f)){if(f=!0,d.offsetHeight,d.style.transition=i.props.moveTransition,C()&&i.props.animation){var vt=H(),it=vt.box,Se=vt.content;gt([it,Se],O),Qt([it,Se],"visible")}Q(),ee(),Zt(bt,i),(ge=i.popperInstance)==null||ge.forceUpdate(),k("onMount",[i]),i.props.animation&&C()&&ae(O,function(){i.state.isShown=!0,k("onShown",[i])})}},se()}}function nr(){process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("hide"));var s=!i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,D=mt(i.props.duration,1,W.duration);if(!(s||v||h)&&(k("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,f=!1,l=!1,C()&&(d.style.visibility="hidden"),ve(),oe(),j(!0),C()){var O=H(),B=O.box,Y=O.content;i.props.animation&&(gt([B,Y],D),Qt([B,Y],"hidden"))}Q(),ee(),i.props.animation?C()&&Oe(D,i.unmount):i.unmount()}}function rr(s){process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("hideWithInteractivity")),F().addEventListener("mousemove",w),Zt(st,w),w(s)}function ir(){process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("unmount")),i.state.isVisible&&i.hide(),i.state.isMounted&&(Qe(),le().forEach(function(s){s._tippy.unmount()}),d.parentNode&&d.parentNode.removeChild(d),bt=bt.filter(function(s){return s!==i}),i.state.isMounted=!1,k("onHidden",[i]))}function or(){process.env.NODE_ENV!=="production"&&ue(i.state.isDestroyed,De("destroy")),!i.state.isDestroyed&&(i.clearDelayTimeouts(),i.unmount(),Ge(),delete e._tippy,i.state.isDestroyed=!0,k("onDestroy",[i]))}}function Ne(e,t){t===void 0&&(t={});var n=W.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(ro(e),zn(t,n)),Ji();var r=Object.assign({},t,{plugins:n}),o=Yi(e);if(process.env.NODE_ENV!=="production"){var a=qe(r.content),l=o.length>1;ue(a&&l,["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.",`
21
-
22
- `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
23
-
24
- `,`1) content: element.innerHTML
25
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var c=o.reduce(function(u,f){var p=f&&lo(f,r);return p&&u.push(p),u},[]);return qe(e)?c[0]:c}Ne.defaultProps=W;Ne.setDefaultProps=ao;Ne.currentInput=ne;Object.assign({},Rn,{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 po={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 a(f){return t.props.sticky===!0||t.props.sticky===f}var l=null,c=null;function u(){var f=a("reference")?o().getBoundingClientRect():null,p=a("popper")?r.getBoundingClientRect():null;(f&&sn(l,f)||p&&sn(c,p))&&t.popperInstance&&t.popperInstance.update(),l=f,c=p,t.state.isMounted&&requestAnimationFrame(u)}return{onMount:function(){t.props.sticky&&u()}}}};function sn(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ne.setDefaultProps({render:Yn});const fo=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),vo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Kn=[!0,!1,"reference","popper"],Gn=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,Ne(e,{...t,plugins:[po],render:()=>go(n)})},Xn=({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}},fo(({state:a})=>{n(a.placement)})]}),ho=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},mo=e=>{const t=e==null?void 0:e.children[0];return t||ho(e)},go=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Zn=[...vo],Jn=300,Qn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},er=[...Kn],yo=[!0,!1,"toggle"];const bo={name:"DtTooltip",components:{DtLazyShow:Sn},props:{id:{type:String,default(){return St()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Zn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>er.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"},contentAppear:{type:Boolean,default:!1},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["update:show","shown"],data(){return{TOOLTIP_KIND_MODIFIERS:Qn,hasSlotContent:dn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{isVisible(){return this.isShown&&this.enabled&&(!!this.message.trim()||!!this.$slots.default)},tooltipListeners(){return{"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Xn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}},anchor(){return this.externalAnchor?document.body.querySelector(this.externalAnchor):mo(this.$refs.anchor)}},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.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Gn(this.anchor,this.initOptions()),this.isShown&&this.tip.show()},beforeUnmount(){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),Jn):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()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...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))})}}},wo={"data-qa":"dt-tooltip-container"};function Eo(e,t,n,r,o,a){const l=A.resolveComponent("dt-lazy-show");return A.openBlock(),A.createElementBlock("div",wo,[n.externalAnchor?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("span",{key:0,ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=(...c)=>a.onEnterAnchor&&a.onEnterAnchor(...c)),onFocusout:t[1]||(t[1]=(...c)=>a.onLeaveAnchor&&a.onLeaveAnchor(...c)),onMouseenter:t[2]||(t[2]=(...c)=>a.onEnterAnchor&&a.onEnterAnchor(...c)),onMouseleave:t[3]||(t[3]=(...c)=>a.onLeaveAnchor&&a.onLeaveAnchor(...c)),onKeydown:t[4]||(t[4]=A.withKeys((...c)=>a.onLeaveAnchor&&a.onLeaveAnchor(...c),["esc"]))},[A.renderSlot(e.$slots,"anchor")],544)),A.createVNode(l,A.mergeProps({id:n.id,ref:"content",show:a.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:n.contentAppear,transition:n.transition,class:["d-tooltip",`d-tooltip__arrow-tippy--${o.currentPlacement}`,{[o.TOOLTIP_KIND_MODIFIERS.inverted]:n.inverted},n.contentClass]},A.toHandlers(a.tooltipListeners)),{default:A.withCtx(()=>[A.renderSlot(e.$slots,"default",{},()=>[A.createTextVNode(A.toDisplayString(n.message),1)])]),_:3},16,["id","show","appear","transition","class"])])}const Oo=Rt(bo,[["render",Eo]]);exports.DEFAULT_VALIDATION_MESSAGE_TYPE=un;exports.DESCRIPTION_SIZE_MODIFIERS=ur;exports.DESCRIPTION_SIZE_TYPES=sr;exports.DtLazyShow=Sn;exports.DtTooltip=Oo;exports.EVENT_KEYNAMES=lr;exports.LABEL_SIZE_MODIFIERS=cr;exports.TIPPY_STICKY_VALUES=Kn;exports.TOOLTIP_DELAY_MS=Jn;exports.TOOLTIP_DIRECTIONS=Zn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=yo;exports.TOOLTIP_KIND_MODIFIERS=Qn;exports.TOOLTIP_STICKY_VALUES=er;exports.VALIDATION_MESSAGE_TYPES=fe;exports._export_sfc=Rt;exports.capitalizeFirstLetter=An;exports.createTippy=Gn;exports.extractVueListeners=hn;exports.filterFormattedMessages=fn;exports.formatMessages=pn;exports.getPhoneNumberRegex=Lt;exports.getPopperOptions=Xn;exports.getRandomElement=cn;exports.getUniqueString=St;exports.getValidationState=Dt;exports.hasSlotContent=dn;exports.isOutOfViewPort=mn;exports.kebabCaseToPascalCase=vn;exports.linkRegex=xn;exports.pascalCaseToKebabCase=gr;exports.safeConcatStrings=Tn;exports.tippy=Ne;exports.utils=Sr;